]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
5729bcd7c6299b1a57801d656cda45f534d5073b
[lyx.git] / src / ChangeLog
1
2 2003-11-28  André Pönitz  <poenitz@gmx.net>
3
4         * ParagraphParameters.[Ch]:
5         * ParameterStruct.h: remove space above/below from Paragraph to
6          InsetVSpace
7
8         * BufferView_pimpl.C:
9         * factory.C:
10         * lyxfunc.C:
11         * lyxtext.h:
12         * output_latex.C:
13         * paragraph.C:
14         * paragraph_funcs.C:
15         * rowpainter.[Ch]:
16         * text.C:
17         * text2.C:
18         * text3.C: adjust
19
20 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
21
22         * factory.C: Syntax change for CharStyles
23
24 2003-11-28  André Pönitz  <poenitz@gmx.net>
25
26         * BufferView.[Ch]:
27         * BufferView.[Ch]:
28         * buffer.[Ch]:
29         * buffer.[Ch]: move LyXText member
30
31 2003-11-28  André Pönitz  <poenitz@gmx.net>
32
33         * BufferView.[Ch]: make LyXText * text a private member
34
35         * BufferView_pimpl.C:
36         * cursor.C:
37         * iterators.C:
38         * lyx_cb.C:
39         * lyxfind.C:
40         * lyxtext.h:
41         * rowpainter.[Ch]:
42         * text.C:
43         * text2.C:
44         * undo.C: adjust
45
46         * output_plaintext.C: cleanup
47
48 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
49
50         * buffer.C: 
51         * lyxtextclass.[Ch]: parametrize SGML document header
52
53 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * converter.[Ch]:
56         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
57         getFlavor().
58
59 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
60
61         * text2.C (setFont): rework using PosIterator (no more recursive)
62         (setCharFont): no more needed 
63         (setLayout): no more selection cursors fiddling (done by redoCursor)
64         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
65         destroy remaining ones)
66
67 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
68
69         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
70         * lyxtext.h: ditto
71         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
72         selection cursors
73         * lyxfunc.C: adjust
74         * text3.C: adjust + re-allow multi par depth changes
75         * textcursor.C: simplify a bit
76
77 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
78
79         * src/buffer.C:
80         * src/lyxlayout.C:
81         * src/lyxlayout.h:
82         * src/lyxtext.h:
83         * src/output_docbook.C:
84         * src/output_latex.C:
85         * src/paragraph.C:
86         * src/paragraph.h:
87         * src/sgml.C:
88         * src/sgml.h:
89         * src/text2.C: Introducing a number of tags parametrizing various
90         XML formats that we may want to support
91
92 2003-11-25  André Pönitz  <poenitz@gmx.net>
93
94         * InsetList.[Ch] (begein, end): inline as suggested by profiler
95
96         * lyxtext.h (leftMargin/rightMargin): simplify interface
97
98         * rowpainter.C:
99         * text.C:
100         * text2.C:
101         * text3.C: adjust
102
103 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
104
105         * lyxfunc.C (dispatch): propogate the bibtex databases from the
106         master file to any child files. Fixes bug 546.
107
108 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
109
110         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
111
112 2003-11-24  André Pönitz  <poenitz@gmx.net>
113
114         * rowpainter.C: simplification
115
116         * text2.C (updateCounters): remove call to redoParagraph on 
117         changed labels as this is far too expensive.
118
119 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
120
121         * converter.C (convert): fix a crash: this function gets
122         called with buffer == 0 from importer code.
123
124 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
125
126         * text3.C (cursorPrevious): make sure that we do not compare
127         iterators form different containers.
128         (cursorNext): ditto
129
130         * rowpainter.C (paintSelection): make sure that we do not compare
131         iterators from different containers.
132
133         * text3.C (dispatch): [PRIOR] make sure that we do not compare
134         iterators from different ParagraphList containers.
135         [NEXT] ditto
136
137         * text2.C (LyXText): change order of initialization slightly
138         (operator=): new function. copy all variables except cache_par_
139         (moveUp): make sure that we do not compare iterators from
140         different ParagraphList constainers.
141         (moveDown): ditto
142
143         * text.C (firstPar): new function
144         (lastPar): new function
145         (endPar): new function
146
147         * lyxtext.h: move things around and group public functions, public
148         variables, private functions, private variables
149
150 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
151
152         * factory.C: change call to InsetERT constructor to avoid
153         additional invocation of method status
154         * text2.C (toggleInset): remove redundant update() call
155         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
156         instead of a Bufferview pointer
157
158 2003-11-21  André Pönitz  <poenitz@gmx.net>
159
160         * rowpainter.C: simplification
161
162 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
163
164         * text3.C (dispatch): make possible to extend a word/row selection
165         with the mouse
166
167 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
168
169         * lyxtext.h: x0_,y0_ -> xo_,yo_
170         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
171         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
172         * rowpainter.C (paintRows): paint full paragraphs
173
174 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
175
176         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
177         screen coordinates)
178
179 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
180
181         * lyxtext.h: add x0_, y0_
182         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
183         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
184
185 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
186
187         * text2.C (setCursorIntern): move the x_target update here *
188         * text3.C: change some bv() to true/false in calls to
189         cursorUp/Down/Right/Left
190         * cursor.C: use helper function.
191
192 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
193
194         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
195         * paragraph_funcs.[Ch]: correct comment
196         * rowpainter.C: do not paint selections away from bv->cursor()
197         Fix a long standing selection painting bug.
198         * text3.C: generalize mouse-selection code to LyXTexts other that
199         top one
200         * textcursor.C: do not use y coords if we can use par offsets
201
202 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
203
204         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
205         cursor position after e.g. inset insert)
206
207 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
208
209         * lyxfind.C (replace): adjust to locking removal + some
210         code simplification
211
212 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
213
214         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
215         of the path
216
217 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
218
219         * lyxlayout.[Ch]:
220         * output_docbook.C: XML sanitation: new layout
221         parameters InnerTag and CommandDepth
222
223 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
224
225         * BufferView_pimpl.C:
226         * factory.C:
227         * text3.C: Fix the insertion and modification of button-style
228         insets
229
230 2003-11-13  André Pönitz  <poenitz@gmx.net>
231
232         * InsetList.[Ch]: remove deleteLyXText
233
234         * paragraph.[Ch]: cache beginOfBody position
235
236         * Bidi.C:
237         * text.C:
238         * text2.C:
239         * text3.C: remove superfluous update() calls
240
241         * vspace.C: cleanup
242
243 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
244
245         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
246         * BufferView.C (fitLockedInsetCursor): remove
247         * cursor.[Ch] (getDim): add
248         * text.C (getRowNearY): add faster version
249         * text3.C: remove some update calls
250
251 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
252
253         * LaTeXFeatures.C:
254         * LyXAction.C:
255         * MenuBackend.C:
256         * MenuBackend.h:
257         * dispatchresult.h:
258         * factory.C:
259         * lfuns.h:
260         * lyxfunc.C:
261         * lyxtextclass.C:
262         * lyxtextclass.h:
263         * text3.C: The Character Style /XML short element patch.
264
265 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
266
267         * text3.C:
268         * factory.C: Small step to solving 'unable to insert some insets'
269         problem
270
271 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
272
273         * cursor.[Ch] (updatePos): new function for updating the y
274         position of the tip inset
275         * bufferview_funcs.C (put_selection_at):
276         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
277
278 2003-11-11  André Pönitz  <poenitz@gmx.net>
279
280         * text.C: remove big comment on invalid Paragraph pointers as it is
281         not valid anymore
282
283 2003-11-11  André Pönitz  <poenitz@gmx.net>
284
285         * text_funcs.[Ch]: merge with ...
286
287         * text.C: ... this
288
289         * lyxtext.h:
290         * text2.C:
291         * text3.C: adjust
292
293         * Makefile.am: remove text_funcs.[Ch]
294
295 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
296
297         * cursor.C (getPos): return absolute cached y coord
298
299         * BufferView_pimpl.C (fitCursor): new simplistic code
300         (workAreaDispatch): add a fitCursor call
301
302 2003-11-10  André Pönitz  <poenitz@gmx.net>
303
304         * BufferView.[Ch]:
305         * BufferView_pimpl.[Ch]: merge update() and updateInset()
306
307 2003-11-10  André Pönitz  <poenitz@gmx.net>
308
309         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
310         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
311         indicate that the cursor needs to leave an inset
312
313         * lyxtext.h: remove inset locking
314
315         * cursor.[Ch]: re-implement functionality provided by inset locking
316
317         * BufferView.[Ch]:
318         * BufferView_pimpl.[Ch]:
319         * LyXAction.C:
320         * bufferview_funcs.[Ch]:
321         * factory.C:
322         * funcrequest.[Ch]:
323         * iterators.C:
324         * lyx_cb.C:
325         * lyxfind.C:
326         * lyxfunc.C:
327         * text.C:
328         * text2.C:
329         * text3.C:
330         * undo.C: adjust
331
332 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
333
334         * PosIterator.[Ch]: replace the stack with a vector, add inset
335         accesor
336         * iterators.[C]: adjust
337
338 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
339
340         * lyxfind.C (replaceAll): mark the buffer dirty if something was
341         replaced
342         * paragraph_funcs.C (readParToken): put the correct id in the
343         error item, not the id of the top paragraph
344
345 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
346
347         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
348         * bufferview_funcs.C (put_selection_at): use the above
349
350 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
351
352         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
353
354 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * output_linuxdoc.h:
357         * output_plaintext.h:
358         * output.h:
359         * output_docbook.h: add #include statements
360
361 2003-11-05  José Matos  <jamatos@lyx.org>
362
363         * output_docbook.[Ch]:
364         * output_latex.[Ch]:
365         * output_linuxdoc.[Ch]:
366         * output_plaintext.[Ch]: New files for output formats.
367         * output.[Ch]: New file for helper functions.
368
369         * buffer.[Ch]:
370         * paragraph_funcs.[Ch]: output functions moved to new files.
371
372         * outputparams.h: rename of latexrunparams.h
373
374         * LaTeX.[Ch]:
375         * buffer.[Ch]:
376         * bufferlist.[Ch]:
377         * converter.[Ch]:
378         * exporter.C:
379         * paragraph.[Ch]:
380         * paragraph_funcs.[Ch]:
381         * paragraph_pimpl.[Ch]:
382         * tabular.[Ch]: rename ascii to plaintext
383         and LatexRunParams to OutputParams.
384
385 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
386
387         * iterators.[Ch] (text): require bv argument
388         * undo.C (recordUndo):
389         * lyxfunc.C (dispatch):
390         * bufferview_funcs.C (put_selection_at): adjust
391
392 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
393
394         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
395
396 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
397
398         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
399         nestings
400
401 2003-11-04  André Pönitz  <poenitz@gmx.net>
402
403         * cursor.[Ch]: restructure
404
405         * BufferView.[Ch]:
406         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
407
408         * iterators.[Ch] (asCursor): remove
409
410         * lfuns.h: remove LFUN_INSET_EDIT
411
412         * lyxfunc.C:
413         * tabular.C:
414         * text.C:
415         * text2.C:
416         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
417
418 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
419
420         * lyxfind.[Ch]: complete overhaul
421         * BufferView_pimpl.C:
422         * lyxfunc.C: adjust
423         * paragraph.[Ch] (insert): add
424
425 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
426
427         * BufferView.[Ch]:
428         * lyxtext.h:
429         * text.C: remove dead spellcheck code
430
431 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
432
433         * dispatchresult.h: add a val setter
434
435         * cursor.C (dispatch): use a tempvar for data_[i]
436
437 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
438
439         * PosIterator.[Ch]: compile fix
440
441 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
442
443         * text.C (cursorPar): deactivate the cursor cache
444
445 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
446
447         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
448
449 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
450
451         * text3.C (dispatch): adjust for new DisptchResult semantics.
452
453         * lyxfunc.C (dispatch): handle update when return from
454         Cursor::dispatch, adjust for new DispatchResult semantics.
455
456         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
457         DispatchResult(true) mean to not update. Add class functions for
458         setting dispatched and update, as well as reading.
459
460         * cursor.C (dispatch): don't handle update here
461
462 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
463
464         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
465         * trans_mgr.C: adjust
466
467         * paragraph_funcs.C (readParToken): exception safety
468
469         * lyxvc.h: store the vcs pointer in a scoped_ptr
470         * lyxvc.C: adjust
471
472         * lyxsocket.C (serverCallback): exception safety
473
474         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
475
476         * ispell.C (clone): make it return a auto_ptr
477
478         * factory.C (createInset): exception safety
479         (readInset): exception safety
480
481         * bufferlist.C (newBuffer): exception safety
482
483         * Thesaurus.C (Thesaurus): use initialization for aik_
484
485         * MenuBackend.C (expandToc): exception safety.
486
487 2003-11-03  André Pönitz  <poenitz@gmx.net>
488
489         * buffer.C:
490         * buffer.h:
491         * bufferview_funcs.C: remove getInsetFromId()
492
493         * lyxcursor.[Ch]:
494         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
495
496         * lyxfunc.C:
497         * text2.C:
498         * text3.C: adjust
499
500 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
501
502         * PosIterator.C (distance, advance): new
503         * bufferview_funcs.[Ch] (put_selection_at): new
504         * iterators.[Ch] (lockPath): new
505
506 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
507
508         * iterators.[Ch] (asPosIterator): added
509         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
510         * PosIterator.[Ch]: added
511
512 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
513
514         * text3.C:
515         * lyxfunc.C:
516         * cursor.C (dispatch):
517         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
518
519         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
520         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
521         contructor, add a class function dispatched. Remove operator>=
522
523 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
524
525         * debug.C: only use the default constructor for debugstream
526         (lyxerr) here.
527
528         * main.C (main): include debug.h and setup the lyxerr streambuf
529         here.
530
531 2003-10-31  José Matos  <jamatos@lyx.org>
532
533         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
534
535         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
536         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
537         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
538         * paragraph_pimpl.C (simpleTeXSpecialC):
539         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
540         add LatexRunParams argument.
541
542         * exporter.C (Export): change call accordingly.
543
544         * latexrunparams.h: add new member to take care of the other backends.
545 2003-10-30  José Matos  <jamatos@lyx.org>
546
547         * buffer.C (makeLinuxDocFile, makeDocBookFile):
548         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
549         factorise code for paragraph output.
550         * buffer.[Ch]:
551         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
552         move functions.
553
554 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
555
556         * text3.C (dispatch):
557         * lyxfunc.C (dispatch):
558         * cursor.C (dispatch):
559         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
560
561         * dispatchresult.h: make the dispatch_result_t ctor explicit
562
563 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
564
565         * sgml.[Ch]:
566         * buffer.C: small refactoring of docbook stuff
567
568 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
569
570         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
571         meaning.
572
573 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
574
575         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
576         operator dispatch_result_t, and operators for == != and >=
577
578         * cursor.C (dispatch): adjust for operator dispatch_result_t
579         removal. comment out call to update
580
581         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
582
583 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
584
585         * text3.C:
586         * text2.C:
587         * text.C:
588         * lyxtext.h:
589         * lyxfunc.C:
590         * cursor.C:
591         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
592         (dispatch):
593
594         * dispatchresult.h: new file, DispatchResult broken out of
595         insets/insetbase.h
596
597         * Makefile.am (lyx_SOURCES): add dispatchresult.h
598
599 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
600
601         * text.C (rowBreakPoint): put a hack inside #if 0
602
603 2003-10-28  André Pönitz  <poenitz@gmx.net>
604
605         * lyxtext.h:
606         * metricsinfo.C:
607         * paragraph_funcs.C:
608         * rowpainter.C:
609         * text.C:
610         * text2.C: general cleanup (lots of small stuff)
611
612 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
613
614         * text2.C (cursorEnd): simple fix to the "end key goes to one
615         before the end on last row" bug
616
617 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
618
619         * text.C (backspace): fix the "zombie characters"
620
621 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
622
623         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
624
625 2003-10-27  André Pönitz  <poenitz@gmx.net>
626
627         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
628
629         * factory.C: handle new InsetPagebreak, InsetLine
630
631         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
632         and move handling into new InsetPagebreak, InsetLine
633
634         * BufferView_pimpl.C:
635         * LyXAction.C:
636         * ParagraphParameters.C:
637         * ParameterStruct.h:
638         * lyxfunc.C:
639         * lyxtext.h:
640         * paragraph.C:
641         * paragraph.h:
642         * paragraph_funcs.C:
643         * paragraph_pimpl.C:
644         * rowpainter.C:
645         * text.C:
646         * text2.C:
647         * text3.C: adjust
648
649 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
650
651         * text.C:
652         * lyxrow_funcs.[Ch]:
653         * Bidi.C:
654         * paragraph.C:
655         * lyxtext.h:
656         * rowpainter.C:
657         * text2.C:
658         * text3.C: remove lastPos uses in favour of Row::endpos
659
660 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
661
662         * undo.C (performUndoOrRedo): fix two crashes by setting a
663         cursor by hand and reordering some calls. Use bv->lockInset instead
664         of inset->edit because the latter loses cursor information
665
666 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
667
668         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
669         by Martin
670         (rowBreakPoint): fix width. change point to point + 1.
671         Add a missing check.
672
673 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
674
675         * MenuBackend.C:
676         * lyxfunc.C: fix (at least partly) the problems
677         with the Nav menu and headers inside branch insets
678         reported by Kayvan
679
680 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
681
682         * paragraph.C (getChar): add strong asserts
683
684         * lyxrow_funcs.C (lastPos): remove hideous hack
685
686         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
687         (fill): adjust to that (avoid an infinite loop)
688
689 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
690
691         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
692
693 2003-10-23  André Pönitz  <poenitz@gmx.net>
694
695         * RowList_fwd.h: change list<> to vector<> to gain speed
696         after suggestion from Alfredo
697
698 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
699
700         * lyxtext.h: move the bidi stuff from here...
701         * text.C: and here
702         * text2.C: and here
703         * Bidi.[Ch]: ... to here
704
705 2003-10-23  André Pönitz  <poenitz@gmx.net>
706
707         * lyxtext.h:
708         * text.C (isLastRow, isFirstRow): new functions
709
710         * paragraph.h: new width cache member
711
712         * rowpainter.C: replace RowList::iterator with Row & where possible
713
714         * lyxfunc.C: replace several view()->text with a single call
715
716         * toc.C: fix 'unused' warning
717
718 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
719
720         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
721         when woring with stream::pos_type
722         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
723
724 2003-10-22  André Pönitz  <poenitz@gmx.net>
725
726         * lyxtext.h:
727         * text.C: use Row & instead of RowList::iterator
728
729         * lyxrow.h: rename end() to endpos()
730
731         * rowpainter.C:
732         * text.C:
733         * text2.C: adjust
734
735 2003-10-22  Angus Leeming  <leeming@lyx.org>
736
737         * buffer.[Ch] (fully_loaded): new member function, returning true
738         only when the file has been loaded fully.
739         Used to prevent the premature generation of previews and by the
740         citation inset to prevent computation of the natbib-style label.
741
742         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
743         templates are all set up.
744
745         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
746
747 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
748
749         * text.C: fixed an "oops" in the "is a bit silly"
750         bug fix
751
752 2003-10-21  André Pönitz  <poenitz@gmx.net>
753
754         * FuncStatus.[Ch]: small stuff, whitespace
755
756         * lyxfont.[Ch]: operator<<() for debug reasons
757
758         * lyxfunc.C:
759         * lyxrow_funcs.C:
760         * lyxtext.h: whitespace, spelling
761
762         * paragraph.C: naming of variables
763
764         * text.C:
765         * text2.C: small stuff
766
767
768 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
769
770         * text.C: (1) finish off the inset display() work;
771         (2) fix the "is a bit silly" bug (accessing char
772         past end of par).
773
774 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
775
776         * text.C: re-introduce display() for insets, fixing the
777         various bugs (stretch of line above, math inset
778         positioning, ...)
779
780 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * text.C (rightMargin): remove spurious semicolon
783
784         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
785         1415)
786
787 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
788
789         * text3.C: fix one crash due to wrong cursor def
790
791 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
792
793         * vc-backend.C (scanMaster): make the regex static
794
795         * LaTeX.C (scanAuxFile): make the regexs static
796
797         * text3.C (doInsertInset, dispatch, dispatch):
798         * text2.C (cursorUp, cursorDown):
799         * text.C (selectNextWordToSpellcheck):
800         * BufferView_pimpl.C (dispatch):
801         * lyxfunc.C (dispatch):  localDispatch -> dispatch
802
803 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
804
805         * lyxsocket.C: include <cerrno>
806
807 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
808
809         * lyxfunc.C (dispatch): remove textcache stuff
810
811         * bufferlist.C (release): remove textcache stuff
812         (closeAll): ditto
813
814         * TextCache.C: delete file
815         * TextCache.h: delete file
816
817         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
818
819         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
820         delete of the bv_->text.
821         (resizeCurrentBuffer): remove texcache stuff
822         (workAreaResize): ditto
823
824 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
825
826         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
827         action.
828
829 2003-10-16  André Pönitz  <poenitz@gmx.net>
830
831         * lyxrow.[Ch]:
832         * paragraph.h:
833         * rowpainter.C:
834         * text.C:
835         * text2.C:
836         * text3.C: speed up by storing y positions per paragraph plus per-row
837         offset instead of having a 'full' y position in the row.
838
839 2003-10-15  André Pönitz  <poenitz@gmx.net>
840
841         * iterators.[Ch]:
842         * iterators.[Ch]:
843         * undo.[Ch]: make undo aware of inner insets
844
845 2003-10-14  Angus Leeming  <leeming@lyx.org>
846
847         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
848         static member functions LyX::ref() and LyX::cref.
849         (lastfiles): new accessor functions for the new lastfiles_ member var.
850         (addLyXView, views_): add a new LyXView to the list of views_.
851         (updateInset): loop over all LyXViews to call their own updateInset
852         member function, returning a pointer to the Buffer owning the inset.
853
854         * BufferView_pimpl.C (loadLyXFile):
855         * MenuBackend.C (expandLastfiles):
856         * bufferlist.C (MenuWrite, QuitLyX):
857         lastfiles is no longer a global variable.
858         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
859
860         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
861         static function. Access through LyX::cref().emergencyCleanup().
862
863 2003-10-14  André Pönitz  <poenitz@gmx.net>
864
865         * iterators.[Ch]: new direct access to innermost LyXText and Inset
866
867         * undo.[Ch]: restoring part of 'undo in insets'
868
869         * Makefile.am:
870         * undo_funcs.[Ch]: merge with undo.[Ch]
871
872         * tabular.C: small cleansing stuff
873
874 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
875
876         * paragraph_funcs.C (readParToken): report unknown insets as error
877         boxes. Use the outer paragraph as location (also for unknown
878         tokens).
879
880         * factory.C (readInset): do not abort on reading an unknown inset.
881         Eat it and return 0.
882
883 2003-10-13  Angus Leeming  <leeming@lyx.org>
884
885         * lyx_main.C (LyX): remove call to setDisplayTranslator().
886
887         * lyxrc.C: displayTranslator is now a function,
888         declared in GraphicsTypes.h.
889
890 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
891
892         * format.C: new placeholder $$a to pass the socket address.
893
894         * bufferlist.[Ch]: new function getBufferFromTmp.
895
896         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
897           files in the temporary dir.
898
899 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
900
901         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
902
903         * Makefile.am: add lyxsocket.[Ch].
904
905         * lyx_main.C (error_handler): handle SIGPIPE.
906
907 2003-10-13  André Pönitz  <poenitz@gmx.net>
908
909         * BufferView_pimpl.C:
910         * lyxtext.h:
911         * text.C:
912         * text2.C:
913         * text3.C:
914         * undo_funcs.[Ch]: use paroffset_type instead of
915           ParagraphList::iterators to prevent multiple conversion
916           (and get a more robust interface)
917
918 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
919
920         * lyxfunc.C (dispatch): RESULT -> dispatch_result
921         * lyxtext.h: ditto
922         * text3.C (dispatch): ditto
923
924 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
925
926         * LaTeX.C (handleFoundFile): move the static to smaller scope,
927         move the onlyfile, use onlyfile instead of foundfile in a couple
928         of places.
929
930         * DepTable.C (update): flush the error stream a bit more
931
932 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
933
934         * lyxserver.C (callback): adjust
935
936         * lyxfunc.C (getStatus): add a missing brace in commented code
937         (ensureBufferClean): reindent
938         (dispatch): delete version taking a string
939
940 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
941
942         * LaTeX.C (deplog): move found file handlig from here...
943         (handleFoundFile): .. to new function here.
944         (deplog): make sure to discover several files mentioned on the
945         same log line.
946
947 2003-10-10  André Pönitz  <poenitz@gmx.net>
948
949         * lyxfunc.C:
950         * lyxtext.h:
951         * tabular.C:
952         * text.C:
953         * text2.C:
954         * text3.C: fix some of the tabular crashes
955
956 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
957
958         * MenuBackend.C (binding): put debug message into Debug::KBMAP
959
960         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
961
962 2003-10-09  André Pönitz  <poenitz@gmx.net>
963
964         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
965
966         * BufferView.C:
967         * BufferView_pimpl.C:
968         * bufferview_funcs.C:
969         * lyx_cb.C:
970         * lyxcursor.C:
971         * lyxfind.C:
972         * lyxfunc.C:
973         * lyxtext.h:
974         * text.C:
975         * text2.C:
976         * text3.C:
977         * text_funcs.[Ch]:
978         * textcursor.[Ch]:
979         * undo_funcs.C: adjust
980
981 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
982
983         * text2.C (incrementItemDepth): new function, use a backtracking
984         algorithm to discover the correct item depth.
985         (resetEnumCounterIfNeeded): new function, use a backtracking
986         algorithm to discover if counter reset is needed.
987         (setCounter): use them. Simplify a bit. Add different labels for
988         different item depths for itemize.
989
990         * paragraph.C (Paragraph): remove initialization of enumdepth
991         (operator=): ditto
992
993         * paragraph.h: get rid of enumdepth, and use itemdepth both for
994         enumerate and itemize. Change the type of itemdepth to signed char.
995
996 2003-10-08  André Pönitz  <poenitz@gmx.net>
997
998         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
999           thing assignable.
1000         * text.C:
1001         * text2.C: adjust
1002
1003         * tabular.[Ch]: fix crash after 'row-insert'
1004
1005 2003-10-08  Angus Leeming  <leeming@lyx.org>
1006
1007         Fix doxygen warnings.
1008
1009         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
1010         Remove CutAndPaste:: prefix from header file declaration.
1011
1012         * LColor.h (fill): remove LColor:: prefix from declaration.
1013
1014         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
1015         use lyx::depth_type rather than Paragraph::depth_type so that
1016         header file and .C file match.
1017
1018         * converter.h (intToFormat): remove Converters:: prefix from declaration.
1019
1020         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
1021         * aspell.C: \file aspell_local.C -> \file aspell.C
1022         * gettext.C: \file gettext.C -> \file src/gettext.C
1023         * gettext.h: \file gettext.h -> \file src/gettext.h
1024         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
1025         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
1026         * text.C: \file text.C -> \file src/text.C
1027
1028         * toc.C: move comment so that doxygen is not confused.
1029
1030 2003-10-07  Angus Leeming  <leeming@lyx.org>
1031
1032         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
1033
1034 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1035
1036         * aspell.C:
1037         * aspell_local.h: add forgotten std::string's.
1038
1039 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1040
1041         * LaTeXFeatures.C:
1042         * LyXAction.C:
1043         * factory.C:
1044         * lfuns.h:
1045         * lyxfunc.C:
1046         * text3.C: The Box patch. Fancybox support, minipage, parbox
1047
1048 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
1049
1050         * CutAndPaste.h:
1051         * DepTable.h:
1052         * FloatList.h:
1053         * LaTeXFeatures.h:
1054         * ParagraphParameters.h:
1055         * TextCache.h:
1056         * Thesaurus.h:
1057         * bufferlist.h:
1058         * exporter.h:
1059         * importer.h:
1060         * lastfiles.h:
1061         * lyxfind.h:
1062         * lyxfont.h:
1063         * lyxlex.h:
1064         * lyxtextclasslist.h:
1065         * messages.h:
1066         * paragraph.h:
1067         * paragraph_pimpl.C:
1068         * textcursor.h: add <string> and other small fixes to make Lars'
1069         std::string patch compile with STLport.
1070
1071 2003-10-06  Angus Leeming  <leeming@lyx.org>
1072
1073         * LColor.h: Add missing #include <string>.
1074
1075 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1076
1077         * All most all file in all subdirs: Make <string> be the prefered
1078         way of getting to std::string, add using declarations.
1079
1080 2003-10-06  André Pönitz  <poenitz@gmx.net>
1081
1082         * metricsinfo.C: initialize LyXFont before changing attribute.
1083         (fixes the 'math in \emph is upright' bug)
1084
1085 2003-10-06  André Pönitz  <poenitz@gmx.net>
1086
1087         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
1088
1089 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
1090
1091         * graph.C:
1092         * paragraph_pimpl.C: Small fixes to build using STLport
1093
1094 2003-10-02  André Pönitz  <poenitz@gmx.net>
1095
1096         * lyxfunc.C:
1097         * text3.C: move handling of LFUN_DEPTH *; fix #1360
1098
1099 2003-10-01  André Pönitz  <poenitz@gmx.net>
1100
1101         * factory.C: assert early
1102
1103 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1104
1105         * lyx_main.C: remove the global debug object
1106
1107         * debug.h: adjust for new debugstream
1108
1109         * debug.C: adjust for new debugstream and keep the global debug
1110         object here.
1111
1112 2003-09-22  Angus Leeming  <leeming@lyx.org>
1113
1114         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
1115         of g++ which otherwise complain that the scoped_ptr destructor can't delete
1116         an incomplete class LyXFont.
1117
1118 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
1119
1120         * factory.C: bug fix in branches
1121
1122 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1123
1124         * lyxfunc.C (processKeySym): adjust
1125         (dispatch): adjust
1126         (dispatch): change arg name from ev to func, adjust
1127         (sendDispatchMessage): ditto
1128
1129         * lyx_main.C (defaultKeyBindings): adjust keybindings
1130         (deadKeyBindings): ditto
1131
1132         * kbsequence.C (addkey): return a FuncRequest
1133
1134         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
1135
1136         * kbmap.C (bind): take a FuncRequest as arg, adjust
1137         (read): adjust
1138         (lookup): adjust
1139         (defkey): change to take a FuncRequest as arg, adjust
1140         (findbinding): take a FuncRequest as arg, adjust.
1141
1142         * funcrequest.h (operator=): added
1143
1144         * funcrequest.C (FuncRequest): default kb_action changed from
1145         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
1146
1147         * buffer.C (dispatch): simplify
1148         (dispatch): adjust to take a FuncRequest as arg, adjust
1149
1150         * boost.C (assertion_failed): change assertion message slightly
1151
1152         * ToolbarBackend.C (read): simplify
1153
1154         * MenuBackend.C (binding): adjust call to findbinding, add a
1155         message if no binding is found.
1156         (read): simplify
1157         (expandToc): correct by adding a empty FuncRequest
1158
1159         * LyXAction.C: include <boost/assert.hpp>
1160         (isPseudoAction): delete function
1161         (LookupFunc): change name to...
1162         (lookupFunc): this. change return type to FuncRequest.
1163         (getActionName): take kb_action as arg, simplify
1164         (funcHasFlag): add an assert, simplify.
1165
1166 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1167
1168         * toc.C (action): return a FuncRequest, simplify
1169
1170         * lyxfunc.C (processKeySym): adjust
1171         (getStatus): delete version that takes an int.
1172         (getStatus): adjust
1173         (dispatch): delete version that takes action as int
1174         (dispatch): adjust
1175         (sendDispatchMessage): simplify and adjust
1176
1177         * funcrequest.C (getArg): take unsigned int as arg
1178
1179         * ToolbarBackend.C (read): adjust
1180         (add): delete version that takes func as a string.
1181         (getIton): take a FuncRequest as arg
1182
1183         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
1184         action.
1185
1186         * MenuBackend.C (MenuItem): add a new construct that only takes a
1187         Kind, simplify the constructor use for submenus.
1188         (add): adjust
1189         (expandLastfiles): adjust
1190         (expandDocuments): adjust
1191         (expandFormats): adjust
1192         (expandFloatListInsert): adjust
1193         (expandFloatInsert): adjust
1194         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
1195
1196         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
1197         Remove class variables lyx_pseudo_map and lyx_arg_map
1198
1199         * LyXAction.C (searchActionArg): delete function
1200         (getPseudoAction): delete function
1201         (retrieveActionArg): delete function
1202         (LookupFunc): make it return kb_action, simplify.
1203         (getActionName): simplify
1204
1205         * factory.C (createInset): fix new bug
1206
1207 2003-09-19  Angus Leeming  <leeming@lyx.org>
1208
1209         * CutAndPaste.C (pasteSelection): remove fudge used to set the
1210         masterFilename_ parameter in the include inset.
1211
1212         * factory.C (createInset): changes due to the changes to InsetInclude.
1213
1214 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1215
1216         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
1217
1218 2003-09-18  Angus Leeming  <leeming@lyx.org>
1219
1220         * buffer.C:
1221         * BufferView.C: pass the buffer when calling Inset::getLabelList,
1222         Inset::fillWithBibKeys.
1223         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
1224
1225 2003-09-18  Angus Leeming  <leeming@lyx.org>
1226
1227         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
1228         variables.
1229         (ctor): pass and store a 'Buffer const &'
1230         (buffer): new member function.
1231
1232         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
1233         '*this' to the LaTeXFeatures ctor.
1234
1235 2003-09-18  Angus Leeming  <leeming@lyx.org>
1236
1237         * LColor.h:
1238         * lyxfont.C:
1239         * lyxfont.h:
1240         * lyxtext.h:
1241         * text.C: rename EnumLColor as LColor_color.
1242
1243 2003-09-18  Angus Leeming  <leeming@lyx.org>
1244
1245         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
1246         remove #include "insets/insetbase.h" from cursor.h.
1247
1248 2003-09-18  Angus Leeming  <leeming@lyx.org>
1249
1250         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
1251         InsetOld_code to remove #include "inset.h".
1252
1253         * iterators.C: add #include "insets/inset.h"
1254
1255 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
1256
1257         * BufferView.C: remove more locking stuff that apparently doesn't
1258         do anything sensible.
1259
1260 2003-09-16  André Pönitz  <poenitz@gmx.net>
1261
1262         * paragraph.[Ch]:
1263         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
1264           performance boost.
1265
1266 2003-09-16  Angus Leeming  <leeming@lyx.org>
1267
1268         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
1269
1270         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
1271         arg/return type.
1272
1273         * paragraph.h: remove #include "lyxfont.h". Forward declare
1274         LyXFont_size.
1275
1276 2003-09-16  Angus Leeming  <leeming@lyx.org>
1277
1278         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
1279         of support/textutils.h.
1280         (isWord): move the contents of support/textutils.h's IsWordChar here.
1281
1282         * buffer.C:
1283         * lyxfind.C:
1284         * rowpainter.C:
1285         * text.C:
1286         * text2.C: add #include "paragraph.h".
1287
1288         * rowpainter.C:
1289         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
1290
1291 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1292
1293         * main.C:
1294         * lyx_main.C:
1295         * lyx_cb.C:
1296         * buffer.C:
1297         * LaTeX.C: use namespace alias for lyx::support::os
1298
1299 2003-09-16  Angus Leeming  <leeming@lyx.org>
1300
1301         * bufferparams.C:
1302         * bufferview_funcs.C:
1303         * factory.C:
1304         * lyxfunc.C:
1305         * paragraph_pimpl.C:
1306         * rowpainter.C:
1307         * text.C: add #include "LColor.h".
1308
1309 2003-09-16  Angus Leeming  <leeming@lyx.org>
1310
1311         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
1312         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
1313         return LyXFont &.
1314         Store the FontBits::color variable as an int rather than as an
1315         LColor::colorso that we can move LColor.h out of the lyxfont.h header
1316         file.
1317
1318         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
1319         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
1320         string calls together.
1321
1322         * lyxrc.C: add #include "LColor.h".
1323
1324 2003-09-15  Angus Leeming  <leeming@lyx.org>
1325
1326         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
1327         a cow_ptr.
1328
1329 2003-09-15  Angus Leeming  <leeming@lyx.org>
1330
1331         * LColor.h: add an EnumLColor wrapper for LColor::color.
1332
1333         * lyxfont.[Ch] (color, setColor, realColor):
1334         * lyxtext.h, text.C (backgroundColor):
1335         pass EnumLColor args to/from the functions, rather than LColor::color
1336         ones.
1337
1338         * lyxfont.h:
1339         * lyxtext.h: forward declare EnumLColor.
1340
1341         * lyx_main.C: add #include "LColor.h".
1342
1343 2003-09-15  Angus Leeming  <leeming@lyx.org>
1344
1345         * .cvsignore: add lyx-gtk.
1346
1347 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1348
1349         * Chktex.C
1350         * LaTeX.C
1351         * LaTeXFeatures.C
1352         * ParagraphParameters.C
1353         * Spacing.C
1354         * buffer.C
1355         * bufferparams.C
1356         * bufferview_funcs.C
1357         * chset.C
1358         * counters.C
1359         * funcrequest.C
1360         * lyxfont.C
1361         * lyxgluelength.C
1362         * lyxlength.C
1363         * paragraph.C
1364         * paragraph_funcs.C
1365         * text3.C
1366         * vc-backend.C: remove usage of STRCONV
1367
1368 2003-09-15  Angus Leeming  <leeming@lyx.org>
1369
1370         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
1371         explicitly define the color passed to the painter.
1372
1373 2003-09-15  Angus Leeming  <leeming@lyx.org>
1374
1375         * bufferparams.C (BufferParams): reorder member initializers to avoid
1376         compiler warning.
1377
1378 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
1379
1380         * CutAndPaste.C (pasteSelection): remove an outdated #warning
1381         * text.C (updateRowPositions): remove an unusual nop
1382
1383 2003-09-12  André Pönitz  <poenitz@gmx.net>
1384
1385         * BufferView_pimpl.C:
1386         * Bullet.C:
1387         * layout.h:
1388         * lyxfunc.C:
1389         * lyxlayout.[Ch]:
1390         * lyxtextclass.C:
1391         * rowpainter.C:
1392         * text.C:
1393         * text2.C:
1394         * Counters.[Ch]: finish the 'automatic counters' job
1395
1396 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1397
1398         * aspell.C: include <boost/assert.cpp> (compile fix)
1399
1400 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
1401
1402         * boost.C (assertion_failed): use lyx::support::abort instead of
1403         assert.
1404
1405 2003-09-10  Angus Leeming  <leeming@lyx.org>
1406
1407         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
1408         with their _fwd progeny.
1409
1410 2003-09-09  Angus Leeming  <leeming@lyx.org>
1411
1412         134 files throughtout the source tree: replace 'using namespace abc;'
1413         directives with the appropriate 'using abc::xyz;' declarations.
1414
1415 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
1416
1417         * boost.C (emergencyCleanup): moved here from LAssert.c
1418         (assertion_failed): new function, called by BOOST_ASSERT
1419
1420         * several files: change Assert to BOOST_ASSERT
1421
1422 2003-09-09  Angus Leeming  <leeming@lyx.org>
1423
1424         * buffer.[Ch]: Add an Impl class and move Buffer's member
1425         variables into it. As a result move several header files out of
1426         buffer.h.
1427
1428         Add header files to lots of .C files all over the tree as a result.
1429
1430 2003-09-09  Angus Leeming  <leeming@lyx.org>
1431
1432         * buffer.[Ch]: make Buffer's member variables private. Add
1433         accessor functions.
1434
1435         Lots of changes all over the tree as a result.
1436
1437 2003-09-08  Angus Leeming  <leeming@lyx.org>
1438
1439         * graph.C: #include <config.h>.
1440
1441 2003-09-08  Angus Leeming  <leeming@lyx.org>
1442
1443         * BranchList.C:
1444         * BufferView.C:
1445         * BufferView_pimpl.C:
1446         * CutAndPaste.C:
1447         * DepTable.C:
1448         * LaTeX.C:
1449         * LaTeXFeatures.C:
1450         * LyXAction.C:
1451         * MenuBackend.C:
1452         * TextCache.C:
1453         * aspell.C:
1454         * buffer.C:
1455         * bufferlist.C:
1456         * changes.C:
1457         * chset.C:
1458         * converter.C:
1459         * counters.C:
1460         * debug.C:
1461         * graph.C:
1462         * ispell.C:
1463         * lyx_cb.C:
1464         * lyxfind.C:
1465         * lyxfunc.C:
1466         * lyxlex_pimpl.C:
1467         * lyxrc.C:
1468         * lyxrow.C:
1469         * paragraph.C:
1470         * rowpainter.C:
1471         * texrow.C:
1472         * text.C:
1473         * text2.C:
1474         * toc.C: remove redundant using directives.
1475
1476 2003-09-07  Angus Leeming  <leeming@lyx.org>
1477
1478         * LaTeXFeatures.h: remove #include "support/types.h".
1479         * ToolbarBackend.h: remove #include <algorithm>.
1480         * changes.h: remove #include <ctime>.
1481         * debug.h: remove #include <iosfwd>.
1482         * graph.h: remove #include "support/std_string.h".
1483         * lyx_main.h: remove #include <csignal>.
1484         * lyxlex_pimpl.h: remove #include <fstream>.
1485         * sgml.h: remove #include <algorithm>, <utility>.
1486         * toc.h: remove #include "support/std_ostream.h".
1487         Add #include <iosfwd>.
1488
1489 2003-09-07  Angus Leeming  <leeming@lyx.org>
1490
1491         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
1492
1493         * converter.h: forward declare LatexRunParams.
1494         * encoding.h: remove #include "lyxrc.h".
1495         * lyxtext.h: remove #include "LColor.h".
1496         * lyxtextclass.h: remove #include "support/types.h".
1497         * trans.h: remove #include "tex-accent.h".
1498         * trans_mgr.h: remove #include "tex-accent.h".
1499         * insets/inset.h: remove #include "support/types.h", <vector>.
1500         * insets/insetcollapsable.h: remove #include "LColor.h".
1501         * insets/insetinclude.h: remove #include "dimension.h".
1502         * insets/insetlatexaccent.h: remove #include "dimension.h".
1503         * insets/insetoptarg.h:: remove #include "insettext.h".
1504         * insets/insettext.h: remove #include "dimension.h",
1505         <boost/shared_ptr.hpp>
1506
1507         * insets/renderers.h: add #include "dimension.h".
1508         * insets/updatableinset.h: add #include "support/types.h".
1509
1510         * many .C files: Associated changes.
1511
1512 2003-09-06  Angus Leeming  <leeming@lyx.org>
1513
1514         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
1515         one, inside testInvariant.
1516
1517         * PrinterParams.C: new file.
1518         * PrinterParams.[Ch]: move the function bodies out of line.
1519
1520 2003-09-06  Angus Leeming  <leeming@lyx.org>
1521
1522         * ParagraphParameters.h: forward declare ParameterStruct rather than
1523         including its header file.
1524         (depth): moved out-of-line.
1525
1526 2003-09-06  Angus Leeming  <leeming@lyx.org>
1527
1528         * BufferView_pimpl.h:
1529         * kbmap.h:
1530         * kbsequence.h:
1531         * lyxfunc.h: forward declare LyXKeySym rather than
1532         #include "frontends/LyXKeySym.h".
1533
1534         * BufferView_pimpl.C:
1535         * kbmap.C:
1536         * kbsequence.C:
1537         * lyxfunc.C: associated changes.
1538
1539 2003-09-06  Angus Leeming  <leeming@lyx.org>
1540
1541         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1542         As a result, can remove the #include "insets/inset.h" from BufferView.h
1543
1544 2003-09-06  Angus Leeming  <leeming@lyx.org>
1545
1546         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
1547         As a result, can remove the #include "insets/inset.h" from BufferView.h
1548
1549 2003-09-06  Angus Leeming  <leeming@lyx.org>
1550
1551         * buffer_funcs.C:
1552         * buffer.h:
1553         * bufferlist.C:
1554         * BufferView.C:
1555         * bufferview_funcs.C:
1556         * BufferView_pimpl.C:
1557         * CutAndPaste.C:
1558         * lyx_cb.C:
1559         * lyxfunc.C:
1560         * paragraph.h:
1561         * ParagraphParameters.C:
1562         * tabular.C:
1563         * text3.C:
1564         * toc.C:
1565         * undo_funcs.C:
1566         * frontends/controllers/ControlDocument.C:
1567         * insets/insetcaption.C: rearrange the #includes into some sort of
1568         coherent order.
1569
1570         * buffer.h: remove #includes ErrorList.h, undo.h
1571
1572 2003-09-06  Angus Leeming  <leeming@lyx.org>
1573
1574         * support/types.h: add a 'depth_type' typedef, used to store the
1575         nesting depth of a paragraph.
1576
1577         * paragraph.h:
1578         * ParameterStruct.h: use this lyx::depth_type typedef rather than
1579         defining explicitly.
1580
1581         * buffer.h:
1582         * paragraph_funcs.h:
1583         * ParagraphParameters.h:
1584         * sgml.h: use lyx::depth_type rather than Paragraph or
1585         ParameterStruct's depth_type.
1586
1587         * buffer.h
1588         * paragraph_funcs.h: no need to #include paragraph.h anymore.
1589
1590         * BufferView.C:
1591         * BufferView_pimpl.C:
1592         * CutAndPaste.C:
1593         * ParagraphParameters.C:
1594         * buffer_funcs.C:
1595         * bufferlist.C:
1596         * bufferview_funcs.C:
1597         * lyx_cb.C:
1598         * lyxfunc.C:
1599         * tabular.C:
1600         * text3.C:
1601         * toc.C:
1602         * undo_funcs.C:
1603         * frontends/LyXView.C:
1604         * frontends/controllers/ControlDocument.C:
1605         * frontends/controllers/ControlErrorList.C:
1606         * insets/insetbibitem.C:
1607         * insets/insetbranch.C:
1608         * insets/insetcaption.C:
1609         * insets/insetcollapsable.C:
1610         * insets/insetenv.C:
1611         * insets/insetert.C:
1612         * insets/insetfloat.C:
1613         * insets/insetfoot.C:
1614         * insets/insetfootlike.C:
1615         * insets/insetnewline.C:
1616         * insets/insetquotes.C:
1617         * insets/insettabular.C:
1618         * insets/insettext.C:
1619         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
1620
1621         * frontends/controllers/ControlChanges.C: #include "changes.h".
1622
1623 2003-09-06  Angus Leeming  <leeming@lyx.org>
1624
1625         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
1626         than #including paragraph.h.
1627
1628         * ParagraphList.h:
1629         * RowList.h: deleted. Superfluous.
1630
1631         * CutAndPaste.h:
1632         * iterators.h:
1633         * lyxcursor.h:
1634         * lyxtext.h:
1635         * text_funcs.h:
1636         * undo.h:
1637         * undo_funcs.h:
1638         * insets/inset.h:
1639         * insets/insettext.h: use ParagraphList_fwd.h rather than
1640         ParagraphList.h.
1641
1642         * paragraph.h: don't forward declare ParagraphList.
1643
1644         * buffer.h:
1645         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
1646         rather than ParagraphList.h. paragraph.h is still needed for the
1647         Paragraph::depth_type parameters.
1648
1649         * textcursor.h: enable it to compile stand-alone in light of the
1650         above changes.
1651
1652         * bufferview_funcs.C:
1653         * iterators.C:
1654         * lyxfunc.C:
1655         * lyxrow_funcs.C:
1656         * paragraph.C:
1657         * rowpainter.C:
1658         * text.C:
1659         * text2.C:
1660         * text3.C:
1661         * text_funcs.C:
1662         * textcursor.C:
1663         * undo.C:
1664         * frontends/controllers/ControlParagraph.C:
1665         * frontends/controllers/ControlTabular.C:
1666         * insets/insetmarginal.C:
1667         * insets/insetminipage.C:
1668         * insets/insetnote.C:
1669         * insets/insetoptarg.C: add header files needed to compile again.
1670
1671 2003-09-06  Angus Leeming  <leeming@lyx.org>
1672
1673         * RowList_fwd.h: new file, forward-declaring Row rather than
1674         #including lyxrow.h.
1675
1676         * lyxrow_funcs.h:
1677         * lyxtext.h:
1678         * paragraph.h:
1679         * insets/insettext.h: use it instead of RowList.h
1680
1681         * bufferview_funcs.C:
1682         * lyxfunc.C:
1683         * lyxrow_funcs.C:
1684         * paragraph.C:
1685         * rowpainter.C:
1686         * text.C:
1687         * text2.C:
1688         * text3.C: #include "RowList.h".
1689
1690 2003-09-05  Angus Leeming  <leeming@lyx.org>
1691
1692         * factory.C (createInset):
1693         * vspace.C (c-tor): replace sscanf call with an istringstream.
1694         * ispell.C: re-add missing HP/UX headers.
1695         * lyxserver.C: re-add missing  os2 headers.
1696
1697 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1698
1699         * BranchList.C:
1700         * graph.C:
1701         * ispell.C:
1702         * lastfiles.C:
1703         * lyx_cb.C:
1704         * lyxserver.C:
1705         * texrow.C:
1706         * text3.C: re-add missing system headers, needed for 2.95.2.
1707
1708 2003-09-05  Angus Leeming  <leeming@lyx.org>
1709
1710         Changes most place everywhere due to the removal of using directives
1711         from support/std_sstream.h.
1712
1713 2003-09-05  Angus Leeming  <leeming@lyx.org>
1714
1715         Replace LString.h with support/std_string.h,
1716         Lsstream.h with support/std_sstream.h,
1717         support/LIstream.h with support/std_istream.h,
1718         support/LOstream.h with support/std_ostream.h.
1719
1720         Changes resulting throughout the tree.
1721
1722 2003-09-05  Angus Leeming  <leeming@lyx.org>
1723
1724         * sgml.h: ensure that the header file can be compiled stand-alone.
1725         * *.C: strip out redundant #includes. (320 in total.)
1726
1727 2003-09-04  Angus Leeming  <leeming@lyx.org>
1728
1729         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1730         here (from getPackages).
1731
1732         * debug.[Ch]: add a new EXTERNAL tag.
1733
1734 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1735
1736         * text2.C (cursorEnd): simplify
1737         (setCursor): adjust
1738         (getColumnNearX): adjust
1739
1740         * text.C (computeBidiTables): adjust
1741         (fill): adjust
1742
1743         * rowpainter.C (paintChars): adjust
1744         (paintSelection): adjust
1745         (paintChangeBar): adjust
1746         (paintText): adjust
1747
1748         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1749         lastPos instead.
1750         (numberOfSeparators): adjust
1751
1752 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1753
1754         * LyXAction.C:
1755         * box.[Ch]:
1756         * lfuns.h:
1757         * lyxfunc.C:
1758         * text3.C: Restricts the mouse click functionality
1759         of insets like bibtex, include, toc and floatlist to the visible
1760         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1761         up the dialogs. Cursor has to be in front of the inset (i.e.
1762         start of row) for this to function.
1763
1764 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1765
1766         * bufferview_funcs.C (currentState): output row information
1767
1768 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1769
1770         * bufferview_funcs.C (currentState): output paragraph position
1771
1772 2003-09-04  Angus Leeming  <leeming@lyx.org>
1773
1774         * FloatList.h: move out #include "Floating.h".
1775         * LaTeX.h: move out #include "DepTable.h".
1776         * LyXAction.h: move out #include "funcrequest.h".
1777         * buffer.h: move out #include "author.h", "iterators.h".
1778         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1779         * lyx_main.h: move out #include "errorlist.h".
1780         * lyxfunc.h: move out #include "FuncStatus.h".
1781         * lyxtext: move out #include "lyxcursor.h".
1782         * paragraph_pimpl.h: move out #include "counters.h".
1783
1784 2003-09-03  Angus Leeming  <leeming@lyx.org>
1785
1786         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1787         preamble_snippets list, enabling us to add snippets to the preamble
1788         only if the snippet was not there already.
1789
1790 2003-09-04  Angus Leeming  <leeming@lyx.org>
1791
1792         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1793
1794 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1795
1796         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1797         update
1798
1799 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1800
1801         * BranchList.C: point fix, earlier forgotten
1802
1803 2003-09-02  Angus Leeming  <leeming@lyx.org>
1804
1805         * box.C (contains): renamed from 'contained' after a fantastic
1806         amount of hot air.
1807
1808 2003-09-02  John Levon  <levon@movementarian.org>
1809
1810         * BufferView.C:
1811         * lyxcursor.h:
1812         * lyxcursor.C:
1813         * lyxfunc.C:
1814         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1815
1816 2003-09-02  John Levon  <levon@movementarian.org>
1817
1818         * text2.C: simplification of cursorEnd(), including partial
1819         fix for bug 1376
1820
1821 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1822
1823         * buffer.C (readFile): add a space
1824
1825 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1826
1827         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1828
1829 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1830
1831         * buffer.C (readFile): new function, take a filename and a
1832         ParagraphList::iterator
1833         (readFile): adjust
1834         (readFile): adjust, make it private. don't use setStream, make
1835         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1836         always contain the filename.
1837
1838         * BufferView.C (insertLyXFile): simplify and make it work for
1839         gzipped files.
1840
1841 2003-08-30  John Levon  <levon@movementarian.org>
1842
1843         * Makefile.am: fix dist (from Kayvan)
1844
1845 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1846
1847         * most files: change to use const Buffer refs
1848
1849 2003-08-27  André Pönitz  <poenitz@gmx.net>
1850
1851         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1852         on top of ownerPar().
1853
1854 2003-08-27  John Levon  <levon@movementarian.org>
1855
1856         * funcrequest.C: properly initialise POD members
1857
1858 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1859
1860         * lyxtext.h (top_y): move top_y from here
1861         * text.C:
1862         * text2.C:
1863         * text3.C:
1864         * BufferView.[Ch]:
1865         * BufferView_pimpl.[Ch]: to here
1866         * frontends/screen.C:
1867         * insets/insettabular.C:
1868         * insets/insettext.C: adjust
1869         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1870
1871 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1872
1873         * BufferView.[Ch]:
1874         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1875
1876 2003-08-26  André Pönitz  <poenitz@gmx.net>
1877
1878         * paragraph_func.[Ch] (outerPar): new function
1879
1880         * paragraph.C:
1881         * paragraph_funcs.C:
1882         * paragraph_funcs.h:
1883         * paragraph_pimpl.C:
1884         * text2.C: remove Inset::par_owner
1885
1886 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1887
1888         * lyxrow_funcs.C:
1889         * lyxtext.h:
1890         * text.C:
1891         * text2.C: eliminates the needFullRow/display() stuff
1892         altogether, putting the logic in metrics/draw in the insets.
1893
1894 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1895
1896         * text2.C (redoParagraphInternal, redoParagraphs):
1897         * text.C (redoParagraph): add a call to updateRowPositions at the
1898         end of each 'metrics-like' call. Remove all others.
1899         (getRow): remove the 'y-computing' version.
1900         (getRowNearY): do not compute nor return the real y. Solve the
1901         'y < 0' problem and simplify.
1902
1903 2003-08-22  Angus Leeming  <leeming@lyx.org>
1904
1905         * *.[Ch]: clean-up of licence and author blurbs.
1906         Also move config.h out of a few .h files and into a few .C files.
1907
1908 2003-08-22  André Pönitz  <poenitz@gmx.net>
1909
1910         * lyxrow.[Ch]: add x_ and *fill_ members
1911
1912         * lyxtext.h:
1913         * text.C:
1914         * rowpainter.C:
1915         * text2.C: adjust/remove prepareToPrint() calls
1916
1917 2003-08-22  André Pönitz  <poenitz@gmx.net>
1918
1919         * lyxrow.[Ch]: add  end_ member
1920
1921         * lyxrow_funcs.C: use LyXRow::end_
1922
1923         * lyxtext.h (singleWidth): add LyXFont parameter
1924
1925         * rowpainter.C:
1926         * text2.C: adjust LyXText::singleWidth() calls
1927
1928         * text.C (redoParagraph): simplify row breaking logic
1929
1930
1931 2003-08-19  André Pönitz  <poenitz@gmx.net>
1932
1933         * funcrequest.C: initialize button_ member
1934
1935         * text3.C:
1936         * rowpainter.[Ch]: interface consolidation
1937
1938 2003-08-18  André Pönitz  <poenitz@gmx.net>
1939
1940         * BufferView.C:
1941         * BufferView_pimpl.C:
1942         * lyxfind.C:
1943         * paragraph_funcs.C:
1944         * rowpainter.C:
1945         * text3.C: remove LyXScreen::draw() and fitCursor calls
1946
1947         * BranchList.h: remove spurious semicolons
1948
1949         * MenuBackend.C: fix branchlist related crash
1950
1951 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1952
1953         * BranchList.[Ch]:
1954         * InsetList.[Ch]:
1955         * LColor.[Ch]:
1956         * LyXAction.C:
1957         * Makefile.am:
1958         * MenuBackend.[Ch]:
1959         * bufferparams.[Ch]:
1960         * factory.C:
1961         * lfuns.h:
1962         * lyxfunc.C:
1963         * text3.C: implements the 'branch inset'
1964         idea. This allows the output of various versions of a document
1965         from a single source version, selectively outputing or suppressing
1966         output of parts of the text.
1967         This implementation contains a 'branch list editor' in a separate
1968         tab of the document settings dialog. Branches are user definable
1969         and have a "display colour" to distinguish them on-screen.
1970
1971         ColorHandler was somewhat cleaned up.
1972         (1) make possible a dynamically growing LColor list by allowing
1973         the graphic context cache to grow along (vector);
1974         (2) eliminate an IMHO unnecessary step in colour allocation.
1975
1976 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1977
1978         * BufferView_pimpl.C: compile fix
1979
1980 2003-08-15  André Pönitz  <poenitz@gmx.net>
1981
1982         * rowpainter.C: remove extra metrics calls
1983
1984         * lyxtext.h: merge the two constructors into a single one,
1985           pass reference to owner's par list
1986
1987         * BufferView_pimpl.C:
1988         * text.C:
1989         * text2.C: adjust
1990
1991 2003-08-15  André Pönitz  <poenitz@gmx.net>
1992
1993         * lyxrow_funcs.[Ch]:
1994         * lyxtext.h:
1995         * paragraph.h:
1996         * paragraph_funcs.C:
1997         * rowpainter.C:
1998         * text.C:
1999         * text2.C:
2000         * text3.C:
2001         * text_funcs.C: split LyXText::rowlist_ into individual
2002         Paragraph::rows_ chunks
2003
2004         * BufferView.[Ch]:
2005         * BufferView_pimpl.[Ch]:
2006         * lyxfind.C:
2007         * lyxtext.h:
2008         * text3.C: remove toggleSelection()
2009
2010 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
2011
2012         * bufferlist.C: beautify two alerts (shorter text of buttons)
2013         * buffer.C: Remove redundant ' ' from message
2014         * tabular.h:
2015         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
2016         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
2017         rename VALIGN_CENTER to VALIGN_MIDDLE
2018
2019 2003-08-11  André Pönitz  <poenitz@gmx.net>
2020
2021         * lyxtext.h (getPar):
2022         * text.C: new function
2023
2024 2003-08-11  André Pönitz  <poenitz@gmx.net>
2025
2026         * Makefile.am:
2027         * tracer.[Ch]: remove unneeded files
2028
2029         * InsetList.[Ch]: remove resizeInsetsLyXText()
2030
2031         * lyxtext.h:
2032         * text.C:
2033         * text2.C:
2034         * text3.C: merge insertParagraphs() and appendParagraph()
2035         remove breakAgain(), update()
2036
2037         * BufferView_pimpl.[Ch]:
2038         * bufferview_funcs.[Ch]:
2039         * lyxfunc.C:
2040         * paragraph.[Ch]:
2041         * rowpainter.C:
2042         * tabular.C: adjust after text & InsetList changes.
2043
2044 2003-08-08  André Pönitz  <poenitz@gmx.net>
2045
2046         * text.C (insertChar, backspace): replace rowlist fiddling
2047         with rebreak of full par
2048
2049         * lyxtext.h:
2050         * text.C (breakAgainOneRow, redoHeightOfParagraph,
2051         checkParagraph, updateInset): removed
2052
2053 2003-08-07  André Pönitz  <poenitz@gmx.net>
2054
2055         * paragraph.C:
2056         * text3.C: merge some LFUN handlers, remove dead code
2057
2058 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2059
2060         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
2061
2062 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
2063
2064         * text2.C (DEPM): fix part of bug 1255 and 1256
2065
2066 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2067
2068         * BufferView_pimpl.C (workAreaDispatch): change to use
2069         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
2070         that are no mouse related.
2071
2072 2003-08-05  André Pönitz  <poenitz@gmx.net>
2073
2074         * BufferView.[Ch]:
2075         * BufferView_pimpl.[Ch]:
2076         * bufferview_funcs.C:
2077         * text2.C:
2078         * text3.C: rip out "deep update"
2079
2080         * textcursor.[Ch] (last_sel_cursor): remove unused member
2081
2082 2003-08-04  André Pönitz  <poenitz@gmx.net>
2083
2084         * BufferView.[Ch]:
2085         * BufferView_pimpl.[Ch]:
2086         * ParagraphParameters.C:
2087         * bufferview_funcs.C:
2088         * lyx_cb.C:
2089         * lyxfind.C:
2090         * lyxfunc.C:
2091         * text.C:
2092         * text2.C:
2093         * text3.C: replace "complicated" BufferView::update(...) calls with
2094         simpler ones.
2095
2096         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2097
2098 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
2099
2100         * Makefile.am (lyx_SOURCES): add paper.h
2101
2102 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2103
2104         * Makefile.am: move things around so that both lyx-qt and
2105         lyx-xforms can be built (according to --with-frontend). Then lyx
2106         is a symbolic link to lyx-[firstfrontend]
2107
2108 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
2109
2110         * Always use std::endl with lyxerr
2111
2112 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
2113
2114         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
2115
2116 2003-08-01  André Pönitz  <poenitz@gmx.net>
2117
2118         * BufferView.[Ch]:
2119         * BufferView_pimpl.[Ch]:
2120         * lyxfunc.C:
2121         * text3.C: merge BufferView::repaint() and BufferView::update()
2122
2123 2003-08-01  José Matos  <jamatos@lyx.org>
2124
2125         * buffer.[Ch]: file_format is no longer a buffer data element.
2126
2127 2003-08-01  André Pönitz  <poenitz@gmx.net>
2128
2129         * BufferView.C:
2130         * lyxtext.h:
2131         * text.C:
2132         * text2.C: make redoParagraph more independent of current cursor
2133
2134         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
2135         * text.C:
2136         * text2.C: remove unneeded members
2137
2138 2003-07-30  André Pönitz  <poenitz@gmx.net>
2139
2140         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
2141
2142         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
2143           create a single function...
2144
2145         * paragraph_funcs.C (moveItem): ... here.
2146
2147         * text.C:
2148           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
2149
2150 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
2151
2152         * LColor.[Ch]: Add comment and greyedout logical colors.
2153
2154 2003-07-30  André Pönitz  <poenitz@gmx.net>
2155
2156         * tabular.C: don't use Assert too heavily. This crashes where it
2157           shouldn't
2158
2159 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
2160
2161         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
2162         is disabled (bug 1232)
2163
2164 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2165
2166         * factory.C: limited 'arg' scope
2167
2168 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2169
2170         * factory.C: fixed Note submenu issues
2171
2172 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
2173
2174         * factory.C: submenu for Note/Comment/Greyedout
2175
2176 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
2177
2178         * lyx_main.C (LyX):
2179         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
2180
2181 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
2182
2183         * LaTeXFeatures.C:
2184         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
2185         greyedout. Patch provided by Jürgen Spitzmüller.
2186
2187 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * kbmap.C (read): fix error message when reading bind files
2190
2191 2003-07-29  Angus Leeming  <leeming@lyx.org>
2192
2193         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
2194         certainly does not do what it purports to do. I am doing it, and
2195         us, a favour by killing it.
2196
2197 2003-07-28  José Matos  <jamatos@lyx.org>
2198
2199         * buffer.C (readBody, do_writeFile):
2200         * paragraph.C(readParagraph): \end_document replaces \the_end.
2201
2202 2003-07-29  André Pönitz  <poenitz@gmx.net>
2203
2204         * BufferView.[Ch]:
2205         * BufferView_pimpl.[Ch]:
2206         * lyxfunc.C:
2207         * text2.C:
2208         * text3.C:
2209         * textcursor.[Ch]: remove toggleToggle & Co
2210
2211 2003-07-28  José Matos  <jamatos@fep.up.pt>
2212
2213         * buffer.C (readParagraph):
2214         * params_func (readParToken, readParagraph):
2215         * paragraph.C (write): \layout -> \begin_layout.
2216
2217 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2218
2219         * lyxlex_pimpl.C (setFile): clean up slightly.
2220
2221         * bufferparams.h: add compressed var
2222
2223         * buffer_funcs.C (readFile): adjust for LyXLex change
2224         (newFile): ditto + simplify
2225
2226         * buffer.C (writeFile): handle writing of compressed files
2227
2228         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
2229         Check if the file is compressed and set a bufferparm if so.
2230
2231         * Makefile.am (lyx_LDADD): remove explicit -lz
2232
2233 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
2236         makeDocBookFile): put the real LyX version in the first line of
2237         the file
2238
2239         * version.h:
2240         * version.C.in: remove lyx_docversion
2241
2242         * tabular.C (write_attribute): add a template-based version to
2243         write enums properly
2244
2245 2003-07-28  André Pönitz  <poenitz@gmx.net>
2246
2247         * lyxtext.h:
2248         * text.C:
2249         * text2.C:
2250         * text3.C: use doubles again for x-coordinates. They are needed.
2251
2252 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2253
2254         * messages.C (getLocaleDir): use lyx_localedir()
2255
2256         * lyxlex_pimpl.C (setFile): compress stuff
2257
2258         * buffer.C (writeFile): add some compression stuff
2259         (do_writeFile): new func, dont call expliti close... will this
2260         breake anything?
2261
2262         * Makefile.am (lyx_LDADD): add -lz
2263
2264 2003-07-28  José Matos  <jamatos@fep.up.pt>
2265
2266         * buffer.C: increment file format.
2267         * paragraph_funcs (readParagraph, readParToken):
2268         * paragraph.C (readParagraph): add \end_layout.
2269
2270 2003-07-27  Angus Leeming  <leeming@lyx.org>
2271
2272         * Makefile.am: remove special casing for configure-time setting of
2273         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
2274
2275         * lyx_main.C (init): remove all Jean-Marc's magic setting of
2276         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
2277
2278 2003-07-26  André Pönitz  <poenitz@gmx.net>
2279
2280         * paragraph_func.[Ch]:
2281         * paragraph.C (realizeFont): inline it whereever it is used
2282
2283         * rowpainter.C:
2284         * text.C:
2285         * text2.C:
2286         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
2287
2288
2289 2003-07-26  André Pönitz  <poenitz@gmx.net>
2290
2291         *       lyxtext.h:
2292         * text.C:
2293         * text2.C: get rid of LyXText::need_break_row
2294
2295 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2296
2297         * toc.[Ch]: put namespace toc inside namespace lyx
2298
2299         * MenuBackend.C (expandToc2): adjust for lyx::toc
2300         (expandToc): ditto
2301
2302         * lyxfunc.C (dispatch): adjust for lyx::find
2303
2304         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
2305         lyx::find instead. Reorganize a bit.
2306         (LyXReplace): rename to replace
2307         (LyXFind): rename to find
2308
2309         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
2310         (dispatch): ditto
2311
2312 2003-07-26  André Pönitz  <poenitz@gmx.net>
2313
2314         * text.C (setHeightOfRow): restrict scope of temporary variable
2315
2316         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
2317           code (never has been used?)
2318
2319 2003-07-27  Asger Alstrup  <alstrup@local>
2320
2321         * text.C (fill): Optimise algorithm to exploit that we can reuse
2322         the LyXFont for many characters.
2323         (setHeightOfRow): Same thing.
2324         (rowBreakPoint): Same thing.
2325
2326 2003-07-26  Asger Alstrup  <alstrup@local>
2327
2328         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
2329
2330         * text.C (singleWidth): Spurious font copying in hot-spot
2331         singleWidth avoided. Reorder tests for arabic for efficiency.
2332
2333         * text.C (fill): handle empty paragraphs better.
2334
2335 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2336
2337         * ispell.C:
2338         * encoding.h: add includes
2339
2340         * lyxrc.C: remove reading of bind files
2341
2342         * lyx_main.C (init): setup bindings and menus only if we have a
2343         gui.
2344
2345         * kbmap.C (read): new method. Do the actual reading of bind
2346         files.
2347
2348         * converter.C (dvipdfm_options):
2349         * bufferparams.C:
2350         * lyxrc.C (read):
2351         (output): adapt PAPER_* enums.
2352
2353         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
2354
2355         * bufferparams.h: remove paper-related enums from there
2356
2357         * paper.h: New file. A trivial header file to hold paper-related
2358         enums. It should later expand to contain many paper-related
2359         horrors access.
2360
2361         * lyxrc.C: declare extern displayTranslator
2362
2363 2003-07-27  José Matos  <jamatos@fep.up.pt>
2364
2365         * tabular.[Ch] (linuxdoc): add support for tables and figures
2366         (linuxdoc).
2367
2368 2003-07-27  José Matos  <jamatos@fep.up.pt>
2369
2370         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
2371         consistency in both functions.
2372         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
2373
2374 2003-07-26  Asger Alstrup  <alstrup@local>
2375
2376         * rowpainter.C (paintRows): Change algorithm to work directly on
2377         the insets rather than asking every character in the document
2378         whether its an inset.
2379
2380 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
2381
2382         * buffer.C (openFileWrite): factorize some code
2383
2384 2003-07-26  Angus Leeming  <leeming@lyx.org>
2385
2386         * lyx_cb.C:
2387         * lyx_main.[Ch]: replace occurances of system_tempdir with
2388         os::getTmpDir().
2389
2390 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2391
2392         * rename Inset to InsetOld
2393
2394 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
2395
2396         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
2397         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
2398         which I think is a bit clearer. EDIT is gone, since it was
2399         premature optimisation, and broken for mathed anyway.
2400         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
2401         with cursor positioning in insets as well (math insets still do not
2402         work, but that's a different story anyway.) It mysteriously
2403         crashes sometimes with undo in the first paragraph, but I'm fairly
2404         confident that this is a compiler bug.
2405
2406 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2407
2408         * paragraph.C (Paragraph): adjust for new clone return type
2409         (operator==): ditto
2410         (copyIntoMinibuffer): ditto
2411
2412 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
2413
2414         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
2415         by not having a special case, and always doing a full rebreak of
2416         the document after undo.
2417
2418 2003-07-23  Angus Leeming  <leeming@lyx.org>
2419
2420         * factory.C (createInset): InsetExternal::setParams now takes a
2421         Buffer const * arg.
2422
2423 2003-07-23  Angus Leeming  <leeming@lyx.org>
2424
2425         * factory.C (createInset): changed interface to the external and
2426         graphics mailers' string2params functions.
2427
2428 2003-07-23  Angus Leeming  <leeming@lyx.org>
2429
2430         * factory.C (createInset): pass a
2431         Buffer const * parameter to InsetExternalMailer's string2params.
2432
2433 2003-07-22  John Levon  <levon@movementarian.org>
2434
2435         * Thesaurus.h: include the right aiksaurus header
2436
2437 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2438
2439         * MenuBackend.C (expand): check menu shortcuts unconditionally
2440
2441 2003-07-21  Angus Leeming  <leeming@lyx.org>
2442
2443         * factory.C (createInset): pass a
2444         buffer_path parameter to InsetGraphicsMailer's string2params.
2445
2446 2003-07-21  Angus Leeming  <leeming@lyx.org>
2447
2448         * BufferView_pimpl.C (buffer):
2449         * buffer.C (d-tor):
2450         * lyx_main.C (LyX):
2451         * lyxfunc.C (dispatch):
2452         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
2453         rather than the grfx shortcut.
2454
2455 2003-07-21  André Pönitz  <poenitz@gmx.net>
2456
2457         * rowpainter.C: remove unused variables
2458
2459         * tabular_funcs.C:
2460         * tabular_funcs.h: move to tabular.C
2461         * Makefile.am: adjust
2462
2463         * tabular.[Ch]: basic optical cleaning
2464
2465         * author.h: pass references, not values
2466
2467 2003-07-18  André Pönitz  <poenitz@gmx.net>
2468
2469         * lyxtext.h:
2470         * metricsinfo.C:
2471         * metricsinfo.h:
2472         * rowpainter.C:
2473         * text.C:
2474         * text2.C:
2475         * text3.C: two-phase drawing for InsetText and InsetTabular
2476         some float -> int changes.
2477
2478 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2479
2480         * lyx_main.C: fix the fix
2481
2482 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
2483
2484         * lyx_main.C: fix a crash in batch mode if no files specified
2485         * converter.C: ws
2486
2487 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
2488
2489         * format.[Ch] (papersize): moved to BufferParams
2490         * converter.[Ch] (dvips_options): moved to BufferParams
2491         (dvipdfm_options): moved to anon namespace
2492         * bufferparams.[Ch]: added above functions.
2493
2494 2003-07-17  André Pönitz  <poenitz@gmx.net>
2495
2496         * lyxtext.h:
2497         * rowpainter.C:
2498         * text2.C: don't call inset->update() anymore
2499
2500         * metricsinfo.[Ch]: add convenience constructor
2501
2502 2003-07-16  André Pönitz  <poenitz@gmx.net>
2503
2504         * lyxcursor.[Ch]:
2505         * lyxfunc.[Ch]:
2506         * text.C:
2507         * text2.C: replace the LyXCursor::irow_ member with
2508          on-demand computation of the value
2509
2510 2003-07-16  John Levon  <levon@movementarian.org>
2511
2512         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
2513
2514 2003-07-15  André Pönitz  <poenitz@gmx.net>
2515
2516         * text.C:
2517         * text2.C: remove no more needed refresh_row
2518
2519 2003-07-15  André Pönitz  <poenitz@gmx.net>
2520
2521         * lyxtext.h:
2522         * rowpainter.C:
2523         * text2.C:
2524         * text3.C: refresh_status tristate -> need_update bool
2525
2526 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
2527
2528         * lyxtext.h (init): remove reinit argument (act as if always true)
2529         * text2.C: adjust to that
2530
2531 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2532
2533         * bufferview_funcs.[Ch]: introduce function replaceSelection()
2534         * text3.C: use it to delete selections in some cases
2535         (bugs 441, 673, 702, 954).
2536
2537 2003-07-14  André Pönitz  <poenitz@gmx.net>
2538
2539         * rowpainter.[Ch]: reduce interface
2540
2541 2003-07-14  André Pönitz  <poenitz@gmx.net>
2542
2543         * BufferView_pimpl.C:
2544         * text2.C: adjust after removing unused BufferView * argument
2545
2546 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
2547
2548         * text2.C (init): fix a crash fired on resize
2549
2550 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
2551
2552         * buffer.[Ch]: added new closing signal
2553         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
2554         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
2555         BufferView::Pimpl via the closing the signal
2556
2557 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
2558
2559         * buffer.[Ch]: take out all bv-related from buffer
2560         * BufferView.C:
2561         * BufferView_pimpl.[Ch]: connect to new signals
2562         * CutAndPaste.C: removed useless asserts
2563         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
2564         * lyxvc.[Ch]:
2565         * vc-backend.[Ch]:
2566         * lyxfunc.C: moved view-related funciontality from vc here
2567         * paragraph.C: removed outdated comments
2568         * text.C: ws
2569
2570 2003-07-10  André Pönitz  <poenitz@gmx.net>
2571
2572         * BufferView_pimpl.C:
2573         * tabular.h:
2574         * tabular_funcs.C:
2575         * text.C:
2576         * text2.C: remove InsetText::InnerCache, clean up consequences
2577
2578 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
2579
2580         * ispell.C: fix two typos in error messages
2581
2582 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
2583
2584         * Extend Note inset to other forms of annotation like Comment
2585         and Greyedout. Right button click gives dialog.
2586
2587         Files modified or added (+):
2588
2589         * insetnote.[Ch]
2590         * FormNote.[Ch]      +
2591         * ControlNote.[Ch]   +
2592         * form_note.fd       +
2593         * Makefile.am in frontends/xforms, frontends/xforms/forms,
2594         frontends/controllers
2595         * xforms/Dialogs.C
2596         * factory.C
2597
2598 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2599
2600         * aspell.C: add missing namespace lyx::support
2601
2602 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
2603
2604         * BufferView.[Ch] (newFile): Add
2605         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
2606         * LaTeX.[Ch] (message): added this signal and use it
2607         * buffer.[Ch] (busy, message): added these signals and use them
2608         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
2609         * converter.C:
2610         * exporter.C:
2611         * format.C:
2612         * importer.C: use buffer signals instead of direct bv calling
2613         * lyx_cb.[Ch] (ShowMessage): removed
2614         * lyx_main.C:
2615         * lyxfunc.C:
2616         * paragraph_funcs.C:
2617         * text2.C: use buffer signals
2618
2619 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2620
2621         * introduce namespace lyx::graphics
2622
2623 2003-07-02  André Pönitz  <poenitz@gmx.net>
2624
2625         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
2626
2627 2003-07-01  André Pönitz  <poenitz@gmx.net>
2628
2629         * text.C:
2630         * text2.C:
2631         * text3.C:
2632         * text_funcs.[Ch]:
2633         * textcursor.h:
2634         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
2635           text*.C to text_func.C
2636
2637 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2638
2639         * introduce namespace lyx::support
2640
2641 2003-06-30  André Pönitz  <poenitz@gmx.net>
2642
2643         * Chktex.C:
2644         * funcrequest.C:
2645         * lyxtext.h:
2646         * text.C: re-enable --with-included-string
2647
2648 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2649
2650         * textcursor.C: add <config.h>
2651
2652         * text.C (getWord): remove const from word_location arg
2653
2654         * lyxvc.C (getLogFile): fix const type order
2655
2656         * lyxtext.h: remove const from word_location arg, add arg name
2657
2658         * lyxlayout.h: currect type on labeltype.
2659
2660         * importer.C: correct \file
2661
2662         * converter.C (intToFormat): use std:: on ret val, ws changes
2663
2664         * bufferlist.h: correct \file
2665
2666         * buffer.C (makeLinuxDocFile): fix const type order
2667         (makeDocBookFile): ditto
2668         (fillWithBibKeys): use std:: on stdlib args.
2669
2670         * CutAndPaste.C: fix authors.
2671         (availableSelections): use std:: on return vector
2672
2673 2003-06-27  André Pönitz  <poenitz@gmx.net>
2674
2675         * BufferView_pimpl.C:
2676         * bufferview_funcs.C:
2677         * lyxcursor.C:
2678         * lyxcursor.h:
2679         * lyxfunc.C:
2680         * lyxtext.h:
2681         * rowpainter.C:
2682         * text.C:
2683         * text2.C:
2684         * text3.C: remove LyXCursor::row_ member
2685
2686         * lyxtext.h:
2687         * text.C: rename fullRebreak() to partialRebreak() and implement
2688           a fullRebreak() that really bereks fully
2689
2690         * textcursor.h: new struct for cursor-related data
2691
2692 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2693
2694         * lyx_main.C (LyX): get full path of document loaded on the
2695         command line
2696
2697 2003-06-26  André Pönitz  <poenitz@gmx.net>
2698
2699         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2700           remove unused/broken operator>,<,>=.
2701
2702         *       text.C: remove only use of broken operator<= in an Assert().
2703
2704 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2705
2706         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2707         moved errorlist_.clear to showErrorList
2708
2709 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2710
2711         * converter.C (scanLog, runLaTeX):
2712         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2713         move the bv->showErrorList call to the callers
2714         * lyxfunc.C: i.e. here...
2715         * text2.C: and here
2716         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2717         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2718         namespace, the second to...
2719         * buffer_funcs (BufferFormat, parseErrors): added
2720         * errorlist.C (ErrorList(TeXErrors const &)): removed
2721
2722 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2723
2724         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2725
2726 2003-06-24  "Garst R. Reese" <reese@isn.net>
2727
2728         * debug.C: fix typo
2729
2730 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2731
2732         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2733
2734         * version.C.in: change docversion to 1.4
2735
2736 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2737
2738         * buffer.C: fix a bug just introduced
2739
2740 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2741
2742         * buffer.[Ch]: added the parseError signal and use it, removed
2743         sgmlError
2744         * BufferView.[Ch] (addError): moved to ...
2745         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2746         to the Buffer::parseError signal to catch (guess what) parse errors
2747         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2748
2749 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2750
2751         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2752         ability to create a buffer and to return an existing one from
2753         the list. Moved these functions to...
2754         * buffer_funcs.[Ch]: added
2755         * BufferView.[Ch] (loadLyXFile): added
2756         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2757         job removed from bufferlist::loadLyXFile.
2758         * buffer.C (setReadOnly): make it work without view
2759         (i.e added an if (users))
2760
2761 2003-06-19  Angus Leeming  <leeming@lyx.org>
2762
2763         * lfuns.h:
2764         * LyXAction.C (init):
2765         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2766         with LFUN_DIALOG_SHOW <name> <data>.
2767
2768 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2769
2770         * CutAndPaste.C (availableSelections): small compilation fix for
2771         ancient (gcc 2.9x) compilers
2772
2773 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2774
2775         * text3.C (cursorNext): add tmp var
2776
2777         * text2.C (updateCounters): for function calling out of for clause
2778         (replaceSelectionWithString): ditto
2779         (insertStringAsParagraphs): ditto
2780         (getColumnNearX): add tmp var
2781         (setCursorFromCoordinates): add tmp var
2782         (cursorDownParagraph): add tmp var
2783         (deleteEmptyParagraphMechanism): add tmp var
2784
2785         * text.C (insertChar): add tmp var
2786
2787         * rowpainter.C (paintDepthBar): add tmp var
2788
2789         * CutAndPaste.C (availableSelections): potentially check all
2790         paragraphs in a cut to fill the shown strings.
2791
2792 2003-06-18  André Pönitz  <poenitz@gmx.net>
2793
2794         * kbmap.[Ch]: use vector<> instead of list<>
2795
2796 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2797
2798         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2799         pasteSelection with index
2800
2801         * text2.C (pasteSelection): modify, call pasteSelection with index
2802
2803         * paragraph.C (asString): reimplement version with no interval to
2804         call the one with interval.
2805
2806         * lyxtext.h: add index arg to pasteSelection
2807
2808         * MenuBackend.C (MenuItem): handle PasteRecent
2809         (Menu::read::Menutags): add md_pasterecent
2810         (read): handle it
2811         (expandPasteRecent): new function
2812         (expand): use it
2813
2814         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2815
2816         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2817         the limited stack
2818         (availableSelections): new function
2819
2820 2003-06-17  Angus Leeming  <leeming@lyx.org>
2821
2822         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2823
2824 2003-06-17  Angus Leeming  <leeming@lyx.org>
2825
2826         * lfuns.h:
2827         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2828
2829         * lyxfunc.C (dispatch): invoke it.
2830
2831 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2832
2833         * iterators.C (operator++, ParPosition): reintroduce some
2834         const_cast for the benefit of older compilers.
2835
2836 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2837
2838         * text3.C (dispatch): do not modify clipboard when doing
2839         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2840         LFUN_DELETE_SKIP on a selection selection
2841
2842 2003-06-16  André Pönitz  <poenitz@gmx.net>
2843
2844         * BufferView.C:
2845         * buffer.C:
2846         * buffer.h:
2847         * paragraph.C:
2848         * tabular.[Ch]: IU of clone() and getLabelList();
2849
2850 2003-06-13  André Pönitz  <poenitz@gmx.net>
2851
2852         * tabular.h: compactification
2853
2854 2003-06-12  André Pönitz  <poenitz@gmx.net>
2855
2856         * tabular.C:
2857         * tabular.h:
2858         * tabular_funcs.h: some renaming plus whitespace
2859
2860 2003-06-12  André Pönitz  <poenitz@gmx.net>
2861
2862         * BufferView.C:
2863         * BufferView_pimpl.C:
2864         * CutAndPaste.C:
2865         * buffer.C:
2866         * iterators.[Ch]:
2867         * lyxfunc.C:
2868         * text.C:
2869         * toc.C: Return a Paragraph & for ParIterator::operator*()
2870
2871 2003-06-11  John Levon  <levon@movementarian.org>
2872
2873         * lyx_main.C:
2874         * ToolbarBackend.h:
2875         * ToolbarBackend.C: add "Toolbars" section and
2876         put the flags there
2877
2878 2003-06-10  Angus Leeming  <leeming@lyx.org>
2879
2880         * lfuns.h:
2881         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2882
2883         * lyxfunc.C (dispatch): invoke it.
2884
2885 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * main.C: protect <ios> with HAVE_IOS
2888         (main): protect sync_with_stdio with HAVE_IOS
2889
2890 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2891
2892         * text2.C (cutSelection): adjust
2893         (pasteSelection): adjust
2894
2895         * messages.C: handle get of empty string
2896
2897         * main.C (main): use sync_with_stdio(false)
2898
2899         * lyxfunc.C (dispatch): adjust
2900
2901         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2902         (WriteAs): remove unneeded BufferView arg.
2903
2904         * bufferparams.h: use correct types on papersize, papersize2 and
2905         paperpackage.
2906
2907         * bufferparams.C (readToken): adjust for type
2908         (writeLaTeX): add missing cases to switch.
2909
2910         * bufferlist.C (quitWriteBuffer): adjust
2911         (close): adjust
2912
2913         * buffer.C (asciiParagraph): remove some commented code.
2914
2915         * CutAndPaste.C: remove current_view extern variable.
2916         (cutSelection): add BufferParams arg.
2917         (eraseSelection): add BufferParams arg.
2918         (pasteSelection): add Buffer const & arg
2919
2920 2003-06-07  John Levon  <levon@movementarian.org>
2921
2922         * buffer.C:
2923         * paragraph_funcs.C:
2924         * paragraph_pimpl.C:
2925         * text.C:
2926         * text2.C:
2927         * paragraph.h:
2928         * paragraph.C: allow InsetERT to freely space lines,
2929         and some consolidation of code
2930
2931 2003-06-06  José Matos  <jamatos@fep.up.pt>
2932
2933         * buffer.C (makeDocBookFile): fix bug #821
2934
2935 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2936
2937         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2938
2939 2003-06-04  Angus Leeming  <leeming@lyx.org>
2940
2941         * buffer.C: bump format to 224.
2942
2943 2003-06-05  André Pönitz  <poenitz@gmx.net>
2944
2945         * text2.C (redoParagraphs): remove two const_cast<>
2946
2947 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2948
2949         * ParagraphList.h: remove last remnants of NO_STD_LIST
2950
2951 2003-06-03  Angus Leeming  <leeming@lyx.org>
2952
2953         * factory.C (createInset): small change to the way InsetExternal's params
2954         are set.
2955
2956 2003-06-04  André Pönitz  <poenitz@gmx.net>
2957
2958         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2959
2960         * paragraph_pimpl.h:
2961         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2962
2963         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2964
2965         * undo_funcs.C: make some simple cases of undo work again
2966
2967 2003-06-03  John Levon  <levon@movementarian.org>
2968
2969         * ispell.C: HPUX doesn't have sys/select.h
2970         (from Albert Chin)
2971
2972 2003-06-03  John Levon  <levon@movementarian.org>
2973
2974         * CutAndPaste.C: update tabular and include inset
2975         buffer references
2976
2977         * buffer.h:
2978         * paragraph.h:
2979         * paragraph.C: remove owningBuffer(), don't pass Buffer
2980         to clone()
2981
2982         * factory.C: insetGraphicsParams changed
2983
2984 2003-06-02  John Levon  <levon@movementarian.org>
2985
2986         * LyXAction.C:
2987         * factory.C:
2988         * lfuns.h:
2989         * lyxfunc.C:
2990         * text3.C: remove insetparent
2991
2992 2003-06-02  John Levon  <levon@movementarian.org>
2993
2994         * buffer.h:
2995         * buffer.C: fix inset_iterator.end(), move out of line
2996         (bug 1149)
2997
2998 2003-06-01  John Levon  <levon@movementarian.org>
2999
3000         * text3.C: use a proper cut/paste when doing inset
3001         insert (from Jürgen Spitzmüller)
3002
3003 2003-06-01  John Levon  <levon@movementarian.org>
3004
3005         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
3006
3007 2003-05-30  André Pönitz  <poenitz@gmx.net>
3008
3009         * rowpainter.C: unify second drawing phase
3010
3011 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * trans_mgr.C: remove one case of current_view
3014
3015         * text2.C (cursorBottom): delete NO_STD_LIST stuff
3016
3017         * paragraph_funcs.h: remove paragraph.h include
3018
3019         * paragraph.h: delete NO_STD_LIST stuff
3020
3021         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
3022
3023         * buffer.h: remove paragraph.h include
3024
3025         * ParagraphList.C: delete file
3026
3027         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
3028
3029         * toc.C (getTocList): adjust
3030
3031         * paragraph_pimpl.C (validate): adjust
3032
3033         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
3034
3035         * paragraph.C (Paragraph): adjust
3036         (getPositionOfInset): use const_iterator, adjust
3037         (bibitem): use const_iterator, adjust
3038         (setInsetOwner): adjust
3039
3040         * iterators.C (operator++): adjust
3041
3042         * InsetList.[Ch]: Replace selfmade iterator with standard
3043         vector::iterator also introduce const_iterator. Remove getPos,
3044         getInset and setInset from InsetTable. Adjust accordingly.
3045
3046         * BufferView.C (lockInset): adjust
3047         (ChangeInsets): adjust
3048
3049         * tabular.[Ch]: delete commented same_id functions
3050
3051 2003-05-28  John Levon  <levon@movementarian.org>
3052
3053         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
3054
3055 2003-05-28  André Pönitz  <poenitz@gmx.net>
3056
3057         * metricsinfo.[Ch]: remove 'fullredraw' member
3058
3059 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
3060
3061         * lyxtextclass.C (operator): remove caching.
3062
3063 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3064
3065         * text3.C: adjust
3066
3067         * text2.C (cursorBottom): adjust
3068         (setCounter): use ParagraphList::find, adjust
3069
3070         * text.C (workWidth): use ParagraphList::find, adjust
3071
3072         * lyxcursor.C (LyXCursor): adjust
3073
3074         * buffer.C (inset_iterator): adjust
3075
3076         * ParagraphList.h: make iterator(value_type) private, make
3077         ParagraphList a friend of iterator.
3078
3079         * ParagraphList.C (find): new function
3080
3081         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3082
3083 2003-05-27  André Pönitz  <poenitz@gmx.net>
3084
3085         * dimension.[Ch]: a -> asc, d -> des, w -> wid
3086
3087 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3088
3089         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
3090
3091 2003-05-26  John Levon  <levon@movementarian.org>
3092
3093         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
3094
3095 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3096
3097         * remove same_id from function signatures, adjust.
3098
3099 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3100
3101         * undo_funcs.C (createUndo): use the id functions directly, adjust.
3102
3103         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
3104
3105         * paragraph.C (Paragraph): get rid of same_ids parameter
3106
3107         * ParagraphList.C (insert): adjust
3108         (push_back): adjust
3109
3110 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3111
3112         * paragraph_funcs.C (breakParagraph): adjust
3113         (breakParagraphConservative): adjust
3114
3115         * buffer.C (readParagraph): adjust
3116
3117         * ParagraphList.C (insert): take a reference instead of a pointer
3118         (insert): adjust
3119
3120         * paragraph.[Ch] (id): new function
3121
3122         * bufferlist.C (newFile): adjust
3123
3124         * ParagraphList.C (ParagraphList): adjust
3125         (assign): adjust
3126         (push_back): take a reference instead of a pointer.
3127
3128         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
3129
3130         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
3131         instead.
3132
3133         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
3134         set else use old code.
3135
3136         * ParagraphList.C: remove all NO_NEXT code and only compile this
3137         code of NO_STD_LIST is set.
3138
3139 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3140
3141         * BufferView_pimpl.C:
3142         * TextCache.C:
3143         * TextCache.h:
3144         * bufferlist.C:
3145         * errorlist.h:
3146         * format.C:
3147         * format.h:
3148         * graph.C:
3149         * lyxfunc.C:
3150         * lyxrc.C:
3151         * graphics/GraphicsConverter.C:
3152         * graphics/PreviewLoader.C: header adjustment
3153
3154 2003-05-23  Angus Leeming  <leeming@lyx.org>
3155
3156         * LaTeXFeatures.[Ch] (useBabel): new method.
3157         * bufferparams.C (writeLaTeX): use it.
3158
3159 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * ParagraphList.h (set): remove unused function.
3162
3163 2003-05-23  André Pönitz  <poenitz@gmx.net>
3164
3165         * BufferView.C:
3166         * BufferView_pimpl.C:
3167         * buffer.C:
3168         * buffer.h:
3169         * lyxfunc.C:
3170         * undo_funcs.C: setUndo reworked
3171
3172         * iterators.[Ch]: add access to topmost ParagraphList
3173
3174         * lyxtext.[Ch] (workWidth): add a const
3175
3176 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
3177
3178         * texrow.[Ch] (increasePos): remove function
3179         * exporter.C (export): removed unused var and outdated comment
3180
3181 2003-05-23  Angus Leeming  <leeming@lyx.org>
3182
3183         * latexrunparams.h: rename fragile as moving_arg.
3184         * paragraph.C (simpleTeXOnePar): ditto.
3185         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
3186
3187 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3188
3189         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
3190         (createUndo): ditto
3191         (textUndoOrRedo): comment out a currently unused var.
3192
3193         * paragraph.h (NO_NEXT): enable NO_NEXT
3194
3195         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
3196
3197         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
3198
3199         * exporter.C (Export): adjust for removeAutoInsets removal.
3200
3201         * buffer.C (runChktex): adjust for removeAutoInsets removal.
3202
3203         * LyXAction.C (init): remove LFUN_REMOVEERRORS
3204
3205         * BufferView.[Ch] (removeAutoInsets): delete function
3206
3207 2003-05-22  Angus Leeming  <leeming@lyx.org>
3208
3209         * latexrunparams.h: add a free_spacing variable.
3210
3211         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
3212         to pass moving_arg, as the data is stored in runparams.fragile.
3213
3214         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
3215         to Inset::latexOptional or to simpleTeXOnePar.
3216
3217         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
3218         free_spacing arg to Inset::latexOptional.
3219
3220         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3221         free_spacing arg.
3222
3223 2003-05-22  Angus Leeming  <leeming@lyx.org>
3224
3225         * latexrunparams.h: add fragile and use_babel variables.
3226
3227         * bufferparams.[Ch] (writeLaTeX): return use_babel.
3228         * buffer.C (makeLaTeXFile): store this returned value in
3229         runparams.use_babel, thus passing it to the inset::latex methods.
3230
3231         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
3232         simpleTeXSpecialChars as it is now stored in runparams.fragile.
3233
3234         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
3235         longer has a fragile arg, as it is stored in runparams.fragile.
3236
3237         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
3238         moving_arg parameter as the data is stored in runparams.fragile.
3239
3240         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
3241         a fragile parameter as the data is stored in runparams.fragile.
3242
3243 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
3246
3247 2003-05-22  Angus Leeming  <leeming@lyx.org>
3248
3249         * latexrunparams.h: add a 'bool nice' which defaults to false.
3250
3251         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
3252         now encapsulated within runparams.
3253
3254         * bufferlist.C (updateIncludedTeXfiles):
3255         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
3256
3257 2003-05-22  Angus Leeming  <leeming@lyx.org>
3258
3259         * latexrunparams.h: new file containing struct LatexRunParams.
3260         * Makefile.am: add new file.
3261
3262         * LaTeX.[Ch] (c-tor, run):
3263         * buffer.[Ch] (makeLaTeXFile):
3264         * bufferlist.[Ch] (updateIncludedTeXfiles):
3265         * converter.C (convert, scanLog):
3266         * converter.[Ch] (runLaTeX):
3267         * exporter.C (Export):
3268         * paragraph.[Ch] (simpleTeXOnePar):
3269         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
3270         * paragraph_funcs.[Ch] (latexParagraphs):
3271         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
3272         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
3273         pass around a LatexRunParams parameter.
3274
3275 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * paragraph.[Ch]: remove unused constructor
3278
3279         * ParagraphList.C (erase): new function, taking two iterators
3280
3281 2003-05-22  André Pönitz  <poenitz@gmx.net>
3282
3283         * undo_funcs.C: remove duplicated code
3284
3285         * iterator.[Ch]: operator=
3286
3287 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3288
3289         * tabular.C (SetMultiColumn): ws changes
3290
3291         * rowpainter.C (paintFirst): get rid of a ->previous
3292
3293         * lyx_cb.C (getPossibleLabel): parlist simplification
3294
3295         * BufferView.C (ChangeInsets): simplify slightly.
3296
3297 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3298
3299         * LyXAction.C: new lfun space-insert, kill protected-space-insert
3300         * lfuns.h: new LFUN_SPACE
3301         * lyxfunc.C: protected space has a new lfun
3302         * paragraph_funcs.C: read new space insets
3303         * text3.C:
3304         * factory.C: handle new space insets
3305
3306 2003-05-22  André Pönitz  <poenitz@gmx.net>
3307
3308         * BufferView.C:
3309         * BufferView_pimpl.C:
3310         * buffer.[Ch]:
3311         * lyxfunc.C:
3312         * undo_funcs.C: return a ParIterator from getParFromID.
3313
3314         * iterators.[Ch]: add two const's
3315
3316 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3317
3318         * toc.C (getTocList): adjust
3319
3320         * iterators.[Ch]: rework for parlist
3321
3322         * buffer.C (par_iterator_begin): adjust
3323         (par_iterator_end): adjust
3324
3325         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
3326
3327         * BufferView.C (removeAutoInsets): adjust
3328         (ChangeInsets): adjust
3329
3330 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
3331
3332         * text.C (top_y): fix bug 1110
3333
3334 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
3335
3336         * errorlist.[Ch]: added
3337         * buffer.C:
3338         * BufferView.[Ch]:
3339         * BufferView_pimpl.C:
3340         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
3341         instead
3342
3343 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3344
3345         * Makefile.am: ensure that lyx is relinked upon changes to the
3346         various "convenience" libs.
3347
3348 2003-05-20  Angus Leeming  <leeming@lyx.org>
3349
3350         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
3351         files are compiled in alphabetical order again.
3352
3353         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
3354
3355 2003-05-19  Angus Leeming  <leeming@lyx.org>
3356
3357         * gettext.[Ch]: remove "char const * _(char const *)".
3358
3359 2003-05-19  André Pönitz  <poenitz@gmx.net>
3360
3361         * dimension.[Ch]: promote from mathed/dimension.[Ch]
3362
3363         * Makefile.am:
3364         * BufferView.C:
3365         * DepTable.h:
3366         * LaTeXFeatures.C:
3367         * buffer.C:
3368         * lyxfont.C:
3369         * lyxlex.h:
3370         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
3371
3372 2003-05-19  André Pönitz  <poenitz@gmx.net>
3373
3374         * buffer.C:
3375         * lyxlayout.[Ch]:
3376         * lyxtextclass.[Ch]:
3377         * paragraph.C:
3378         * paragraph_funcs.[Ch]:
3379         * text2.C:
3380         * text3.C: more insetenv work
3381
3382 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
3383
3384         * ParagraphParameters.C (params2string): small bug fixed
3385
3386 2003-05-16  André Pönitz  <poenitz@gmx.net>
3387
3388         * debug.C:
3389         * bufferview_funcs.C: patch from Kornel Benko to prevent
3390           crash when _(...) is called twice in a statement
3391
3392 2003-05-16  André Pönitz  <poenitz@gmx.net>
3393
3394         * BufferView.C:
3395         * lyxfunc.C:
3396         * text.C:
3397         * text2.C:
3398         * text3.C:
3399         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
3400
3401 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
3402
3403         * lyx_main.C (init): remove spurious static_cast
3404
3405 2003-05-14  André Pönitz  <poenitz@gmx.net>
3406
3407         * BufferView.C: fix format string
3408
3409 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
3410
3411         * BufferView.[Ch] (insertErrors): removed
3412         * BufferView.[Ch] (showErrorList): added
3413         * buffer.C (runChkTeX):
3414         * converter.C (scanLog): call showErrorList instead of inserterrors
3415
3416 2003-05-13  André Pönitz  <poenitz@gmx.net>
3417
3418         * BufferView_pimpl.C:
3419         * buffer.C:
3420         * bufferview_func.C:
3421         * MenuBackend.C:
3422         * lyxfunc.C:
3423         * lyxrc.C:
3424         * tex-accent.C:
3425         * text3.C:
3426         * toc.C:
3427         * tabular_funcs.h: tostr() from its own header
3428
3429         * ParagraphParameters.C:
3430         * ToolbarBackend.C:
3431         * bufferparams.C:
3432         * format.C:
3433         * lyxlex_pimpl.C:
3434         * text3.C: STRCONV()
3435
3436 2003-05-12  André Pönitz  <poenitz@gmx.net>
3437
3438         * BufferView.C:
3439         * BufferView_pimpl.C:
3440         * CutAndPaste.C:
3441         * LaTeX.C:
3442         * LaTeXFeatures.C:
3443         * ParagraphParameters.C:
3444         * buffer.C:
3445         * bufferlist.C:
3446         * bufferparams.C:
3447         * bufferview_funcs.C:
3448         * converter.C:
3449         * counters.C:
3450         * debug.C:
3451         * exporter.C:
3452         * format.C:
3453         * importer.C:
3454         * lyx_cb.C:
3455         * lyx_main.C:
3456         * lyxfont.C:
3457         * lyxfunc.C:
3458         * lyxvc.C:
3459         * paragraph.C:
3460         * paragraph_funcs.C:
3461         * tabular.C:
3462         * tabular_funcs.C:
3463         * text2.C:
3464         * text3.C:  boost::format -> bformat  all over the place
3465
3466
3467 2003-05-09  André Pönitz  <poenitz@gmx.net>
3468
3469         * LColor.[Ch]: Pimpl the #include <map> away
3470
3471 2003-05-09  John Levon  <levon@movementarian.org>
3472
3473         * bufferlist.C: never remove emergency saves
3474
3475 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3476
3477         * Makefile.am: better lib building
3478
3479 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3480
3481         * texrow.[Ch]: remove dependency on Paragraph and just store a id
3482         instead.
3483         * paragraph_pimpl.C (simpleTeXBlanks): adjust
3484         (simpleTeXSpecialChars): adjust
3485         (simpleTeXSpecialChars): adjust
3486         * paragraph.C (simpleTeXOnePar): adjust
3487         * buffer.C (makeLaTeXFile): adjust
3488
3489         * Makefile.am (BOOST_LIBS): allow boost as system lib.
3490
3491         * text2.C (changeDepth): parlist cleanup
3492         (getColumnNearX): ditto
3493
3494         * rowpainter.C (getLabelFont): parlist cleanup
3495
3496         * bufferlist.C (newFile): parlist cleanup
3497
3498         * CutAndPaste.C (eraseSelection): parlist cleanup
3499
3500         * BufferView_pimpl.C (trackChanges): parlist cleanup
3501         (dispatch): ditto
3502
3503         * BufferView.C (lockInset): parlist cleanup.
3504         (ChangeInsets): ditto
3505
3506 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3507
3508         * CutAndPaste.h: Update file header.
3509
3510         * CutAndPaste.C: Update file header.
3511         Store the parts cut out of the Document in a limited_stack.
3512         (copySelection): adjust
3513         (pasteSelection): new function, takes the index in the limited stack.
3514         (nrOfParagraphs): adjust
3515         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
3516         simplify error inset insertion.
3517         (checkPastePossible): adjust
3518
3519 2003-05-06  John Levon  <levon@movementarian.org>
3520
3521         * text2.C: don't cast wrap inset to float
3522
3523 2003-05-05  André Pönitz  <poenitz@gmx.net>
3524
3525         * iterator.C:
3526         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
3527
3528         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
3529           few naked Paragraph *.
3530
3531 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
3532
3533         * bufferparams.C: Output warning if a document with missing
3534         TeX document class is loaded
3535         * exporter.C: Disable TeX exports if the document class is missing
3536         * lyxtextclass.C:
3537         * lyxtextclass.h:
3538         * lyxtextclasslist.C: Handle new textclass.lst format; new method
3539         isTeXClassAvailable()
3540
3541 2003-05-03  John Levon  <levon@movementarian.org>
3542
3543         * BufferView.h:
3544         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
3545         explicit cursor show/hide
3546
3547         * BufferView_pimpl.h:
3548         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
3549         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
3550
3551         * lyxfunc.C: hide cursor before dispatching.
3552
3553         * lyx_cb.C:
3554         * lyxfind.C:
3555         * text.C:
3556         * text3.C: remove explicit cursor hides
3557
3558 2003-05-02  André Pönitz  <poenitz@gmx.net>
3559
3560         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
3561
3562         * undo_funcs.C:
3563         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
3564           linked lists
3565
3566         * text2.C: tiny whitespace
3567
3568 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * undo_funcs.C: almost only ws changes.
3571
3572         * ParagraphList.C (splice): just return if pl is empty.
3573
3574 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3575
3576         * ParagraphList.C (splice): new function.
3577
3578         * CutAndPaste.C (pasteSelection): use it
3579
3580 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3581
3582         * CutAndPaste.C (pasteSelection): remove the last next and
3583         previous from this file.
3584
3585 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3586
3587         * CutAndPaste.C (pasteSelection): more clean up, user proper
3588         ParagraphList functions for pasteing.
3589
3590         * ParagraphList.C (insert): new function, three arg insert
3591
3592 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3593
3594         * ParagraphList.C (insert): new function, three arg insert
3595
3596         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
3597         not on paragraphs.
3598
3599 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3600
3601         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
3602
3603 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * CutAndPaste.C (pasteSelection): remove some unneeded code.
3606
3607 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
3610         (copySelection): clean up a bit.
3611         (pasteSelection): use make_pair
3612
3613         * ParagraphList.C (ParagraphList): implement copy constructor
3614         (operator=): implement, base on copy constructor.
3615         (assign): new func
3616
3617         * paragraph.C (erase): return a bool
3618
3619         * paragraph_pimpl.C (erasePos): remove function, move contents...
3620         (erase): ... here. Return a bool.
3621         (erase): call erase instead of erasePos.
3622
3623 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
3624
3625         * ParagraphList.h: define PitPosPair
3626         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
3627         ParagraphList, fix a bug on pasting multiple pars
3628         * text2.C: change interface to C&P
3629
3630 2003-04-30  André Pönitz  <poenitz@gmx.net>
3631
3632         * undo_func.C: revert part of yesterday's patch 2
3633
3634 2003-04-30  John Levon  <levon@movementarian.org>
3635
3636         * LColor.C: s/tabular/table/
3637
3638 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * text3.C (dispatch): do not convert iterator -> pointer
3641         * undo_funcs.C (setCursorParUndo): ditto
3642         * text_funcs.C (transposeChars): ditto
3643
3644         * text2.C (setLayout): ws changes only
3645
3646         * text.C (breakParagraph): do not convert iterator -> pointer
3647         (insertChar): ditto
3648         (acceptChange): ditto
3649         (rejectChange): ditto
3650         (changeCase): ditto
3651         (Delete): ditto
3652         (backspace): ditto
3653
3654         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3655         pointer
3656
3657 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3658
3659         * text3.C (gotoInset): YABG (yet another bad getChar)
3660
3661 2003-04-29  André Pönitz  <poenitz@gmx.net>
3662
3663         * paragraph.h: make operator= private unimplemented as long as
3664           it is unusable
3665
3666         * ParagraphList.C: whitespace
3667
3668         * paragraph.[Ch]:
3669         * paragraph_pimpl.[Ch]:
3670         * paragraph_funcs.C:
3671         * CutAndPaste.C:
3672         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3673
3674         * text2.C:
3675           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3676
3677 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3678
3679         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3680         * paragraph.[Ch] (erase):
3681         * paragraph_pimpl.[Ch] (erase): change return type and value
3682         * text2.C (cutSelection): some rework
3683
3684 2003-04-28  John Levon  <levon@movementarian.org>
3685
3686         * bufferlist.C: changes for unsaved changes dialog
3687
3688 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3689
3690         * bufferlist.C (newFile): set language (messages_) for new
3691         documents also.
3692
3693         * buffer.C (readFile): ws changes only.
3694
3695 2003-04-28  André Pönitz  <poenitz@gmx.net>
3696
3697         * undo_funcs.C:
3698         * lyxfunc.C:
3699         * buffer.[Ch]:
3700         * BufferView_pimpl.C:
3701         * BufferView.C: getParFromID related ParagraphList::iterator changes
3702
3703 2003-04-28  André Pönitz  <poenitz@gmx.net>
3704
3705         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3706           Changes
3707
3708 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * messages.C: remove one more localedir class variable.
3711
3712 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * messages.C (getLocaleDir): singleton generation function
3715         (Pimpl): use it.
3716         (Messages): add a default constructor.
3717
3718         * main.C (main): do not setup localedir here, do not call
3719         gettext_init.
3720
3721         * gettext.C (_): use it.
3722         (gettext_init): delete funciton
3723
3724 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3725
3726         * gettext.C (getLyXMessages): new singleton generating function.
3727
3728         * buffer.C (updateDocLang): adjust
3729
3730         * Makefile.am (messages.o): add target
3731         (main.o): remove target
3732
3733 2003-04-27  John Levon  <levon@movementarian.org>
3734
3735         * bufferlist.C:
3736         * lyx_cb.C:
3737         * lyxfunc.C:
3738         * lyxvc.C: specify cancel button in Alert::prompt
3739
3740 2003-04-26  John Levon  <levon@movementarian.org>
3741
3742         * text3.C:
3743         * lyxfunc.C:
3744         * lfuns.h:
3745         * LyXAction.C: add LFUN_INSET_SETTINGS
3746
3747         * lyxfunc.C: don't enable tabular-feature when there's
3748         just any locking inset
3749
3750 2003-04-26  John Levon  <levon@movementarian.org>
3751
3752         * bufferlist.C: re-add Cancel to buffer close question
3753
3754         * lyxfunc.C: fix import UI a bit
3755
3756 2003-04-25  John Levon  <levon@movementarian.org>
3757
3758         * gettext.C: remove the broken asserts for now
3759
3760 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3761
3762         * messages.C: make case where setlocale cannot comply work better.
3763
3764         * buffer.C (updateDocLang): new function
3765         (changeLanguage): use it
3766         (readFile): use it
3767
3768         * text2.C (setCounter): use B_ a bit.
3769
3770         * lyxlayout.C (Read): be sure to trim the label strings.
3771
3772         * messages.C (Messages): fix typo in comment
3773
3774         * buffer.C (readFile): set message_ after file is loaded.
3775         (makeDocBookFile): remove double return
3776         (changeLanguage): reset message_ upon language change.
3777         (B_): new func, use this to get translated buffer strings.
3778
3779         * main.C: add myself and Jean Marc as authors.
3780
3781 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3782
3783         * messages.[hC]: pimplify Messages, and three different pimpls to be
3784         used in different circumstances.
3785
3786         * gettext.[Ch]: change for use with new message code.
3787
3788 2003-04-24 André Pönitz <poenitz@gmx.net>
3789
3790         * factory.C: support for eqref
3791
3792 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * messages.[Ch]: add missing char
3795
3796         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3797
3798         * messages.[Ch]: New files
3799
3800 2003-04-18  John Levon  <levon@movementarian.org>
3801
3802         * BufferView.h:
3803         * BufferView.C:
3804         * BufferView_pimpl.C:
3805         * lfuns.h:
3806         * LyXAction.C:
3807         * lyxtext.h:
3808         * text2.C: remove layout-copy/paste (bug 778)
3809
3810 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3811
3812         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3813
3814 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3815
3816         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3817         if they succeed. Act accordingly.
3818
3819 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3820
3821         * text2.C (setCharFont): adjust
3822         (setCounter): adjust
3823         (insertStringAsLines): adjust
3824
3825         * text.C (leftMargin): adjust
3826         (setHeightOfRow): adjust
3827
3828         * rowpainter.C (paintFirst): adjust
3829         (paintLast): adjust
3830
3831         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3832         (outerHook): ditto
3833         (isFirstInSequence): ditto
3834         (getEndLabel): ditto
3835         (outerFont): adjust
3836
3837         * paragraph.C (getParLanguage): comment out some hard stuff.
3838
3839         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3840         (sgmlError): ditto
3841         (simpleDocBookOnePar): ditto
3842         (makeDocBookFile): use ParagraphList::iterator
3843
3844         * CutAndPaste.C (pasteSelection): adjust
3845
3846 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3847
3848         * text2.C (getFont): adjust
3849         (getLayoutFont): adjust
3850         (getLabelFont): adjust
3851
3852         * paragraph_funcs.C (TeXOnePar): adjust
3853
3854         * buffer.C (simpleLinuxDocOnePar): adjust
3855         (simpleDocBookOnePar): adjust
3856
3857         * CutAndPaste.C (pasteSelection): adjust
3858
3859         * BufferView.C (getEncoding): adjust
3860
3861         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3862
3863 2003-04-16  John Levon  <levon@movementarian.org>
3864
3865         * lyxfind.C: use parlist stuff for search/changes
3866
3867 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3870
3871         * text2.C (deleteEmptyParagraphMechanism): adjust
3872
3873         * text2.[Ch] (ownerParagraph): delete func (both of them
3874
3875 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3878
3879 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * ParagraphList.C: prepare for NO_NEXT
3882
3883 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3884
3885         * text2.C (getFont): adjust
3886         (getLayoutFont): adjust
3887         (getLabelFont): adjust
3888
3889         * paragraph.C (getFont): adjust
3890         (getLabelFont): adjust
3891         (getLayoutFont): adjust
3892
3893         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3894
3895 2003-04-15  John Levon  <levon@movementarian.org>
3896
3897         From Angus Leeming
3898
3899         * lyx_main.C: handle Include in .ui files
3900
3901 2003-04-15  John Levon  <levon@movementarian.org>
3902
3903         * MenuBackend.C: make the doc files length shorter
3904
3905         * ToolbarBackend.h:
3906         * ToolbarBackend.C: handle toolbar placement flags,
3907         Minibuffer
3908
3909 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3910
3911         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3912         adjust
3913
3914         * paragraph_funcs.C (TeXOnePar): adjust
3915
3916         * paragraph.C (getLabelFont): add outerfont arg, adjust
3917         (getLayoutFont): ditto
3918         (simpleTeXOnePar): adjust
3919
3920         * paragraph_pimpl.C (realizeFont): delete func
3921
3922 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3923
3924         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3925         row argument, constify cur argument.
3926
3927 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3928
3929         * text2.C (getFont): adjust
3930         (getLayoutFont): adjust
3931         (getLabelFont): adjust
3932
3933         * paragraph_funcs.C (TeXOnePar): adjust
3934         (outerFont): new func...
3935         (realizeFont): ...moved out from here, changed this to facilitate
3936         transition
3937
3938         * paragraph.C (getFont): take outerfont as arg, adjust
3939         (simpleTeXOnePar): add outerfont arg, adjust
3940
3941         * buffer.C (simpleLinuxDocOnePar): adjust
3942         (simpleDocBookOnePar): adjust
3943
3944         * CutAndPaste.C (pasteSelection): adjust
3945
3946         * BufferView.C (getEncoding): adjust
3947
3948 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3949
3950         * text2.C (setCharFont): adjust
3951         (setCounter): adjust
3952
3953         * text.C (leftMargin): adjust
3954         (setHeightOfRow): adjust
3955
3956         * rowpainter.C (paintFirst): adjust
3957         (paintLast): adjust
3958
3959         * paragraph_pimpl.C (realizeFont): adjust
3960
3961         * paragraph.C (isFirstInSequence): move from here...
3962         * paragraph_funcs.C (isFirstInSequence): ...to here
3963
3964         * paragraph.C (outerHook): move from here...
3965         * paragraph_funcs.C (outerHook): ...to here
3966
3967         * paragraph.C (depthHook): move from here...
3968         * paragraph_funcs.C (depthHook): ...to here
3969
3970         * paragraph.C (getEndLabel): move from here...
3971         * paragraph_funcs.C (getEndLabel): ...to here
3972
3973         * text2.C (realizeFont): move from here...
3974         * paragraph_funcs.C (realizeFont): ...to here
3975
3976 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3979
3980 2003-04-14  Angus Leeming  <leeming@lyx.org>
3981
3982         * LColor.[Ch]: scrap LColor mathcursor.
3983
3984 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3985
3986         * lyxlex.[Ch] (text): delete function
3987         * trans.C (Load): adjust
3988         * paragraph_funcs.C (readParToken): adjust
3989
3990 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3993         vector<char> instead of a char[].
3994
3995         * lyxlex_pimpl.C (getString): adjust
3996         (next): adjust
3997         (lex): use getString
3998         (eatLine): adjust
3999         (nextToken): adjust
4000
4001         * lyxlex.C (text): use pimpl_->getString()
4002         (getBool): ditto
4003         (findToken): ditto
4004
4005 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
4008         (makeFontEntriesLayoutSpecific): temp var for par.size()
4009         (setLayout): temp var for ownerParagraphs().end()
4010         (fullRebreak): temp var for rows().end()
4011         (selectionAsString): temp var for boost::next(startpit), realize
4012         that the while really is a regular for loop.
4013         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
4014         setCursor in one place.
4015         (setParagraph): temp vr for ownerParagraphs().end()
4016         (updateCounters): make the while loop a for loop
4017         (cutSelection): temp var for ownerParagraphs().end()
4018         (updateInset): make the do {} while() a regular for loop
4019         (getCursorX): use temp vars
4020         (setCurrentFont): use temp vars
4021         (getColumnNearX): use temp vars
4022
4023 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4024
4025         * text.C (transformChar): use temp var for getChar
4026         (computeBidiTables): use temp var for row->par()
4027         (fill): move temp vars for row->par() and pit->layout() earlier in
4028         the function.
4029         (labelFill): use temp var for row->par()
4030         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
4031         asc and desc, realize that pit never changes and that firstpit is
4032         just a duplicate and not needed. Exchange rit->par() with pit in a
4033         lot of places.
4034         (breakAgain): use a temp var for boost::next(rit)
4035         (breakAgainOneRow): ditto
4036         (breakParagraph): use a temp var for rows().begin()
4037         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
4038         (cursorRightOneWord): use temp var for cursor.par() and
4039         cursor.pos(), remove usage of tmpcursor.
4040         (cursorLeftOneWord): use temp var for cursor.par() and
4041         cursor.pos() only set cur at end of function.
4042
4043 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4044
4045         * text.C, text2.C: exchange all usage of Paragraph::next with
4046         boost::next(ParagraphList::iterator)
4047
4048         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
4049
4050         * text2.C (cursorTop): simplify implementation
4051         (cursorBottom): ditto
4052         (setParagraph): use ParagraphList::iterator
4053         (setCurrentFont): adjust
4054         (getColumnNearX): adjust
4055         (cursorRight): adjust
4056         (cursorLeft): remove usage of Paragraph::previous
4057         (cursorUpParagraph): ditto
4058         (deleteEmptyParagraphMechanism): slight cleanup
4059
4060         * text.C (isBoundary): take a Paragraph const & instead of a
4061         pointer as arg.
4062         (addressBreakPoint): ditto
4063         (leftMargin): remove usage of Paragraph::previous.
4064         (setHeightOfRow): ditto
4065         (cursorLeftOneWord): ditto
4066         (selectNextWordToSpellcheck): ditto
4067         (Delete): ditto
4068         (backspace): ditto
4069         (breakParagraph): remove one usage of Paragraph::next
4070         (redoParagraph): ditto
4071         (acceptChange): ditto
4072         (insertChar): adjust
4073         (rowBreakPoint): adjust
4074
4075         * bufferview_funcs.C (toggleAndShow): adjust
4076
4077 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
4078
4079         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
4080         methods to access it.
4081         * lyxtext.h:
4082         * text.C: Added updateRowPositions to compute all row positions.
4083         Make top_y and getRowNearY() to use the cached y position
4084
4085 2003-04-11  John Levon  <levon@movementarian.org>
4086
4087         * text.C (rowBreakPoint): reintroduce the labelEnd
4088         checks, code copied from the row fill stuff. Deep voodoo.
4089
4090         * text.C (fill): add a comment and debugging for the
4091         next poor soul.
4092
4093 2003-04-11  John Levon  <levon@movementarian.org>
4094
4095         * text.C: make sure fullrow insets get wrapped to the next line,
4096         even when they're in a manual label
4097
4098 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4099
4100         * text2.C (insertParagraph): make it take ParagraphList::iterator
4101         as arg.
4102         (setLayout): make it return ParagraphList::iterator
4103         (redoParagraphs): ditto
4104         (setCounter): ditto
4105         (checkParagraph): ditto
4106
4107         * text.C (getRow): make getrow take ParagraphList::iterator as arg
4108
4109         * text2.C: adjust several funcs.
4110         (realizeFont): take a ParagraphList::iterator as arg.
4111         (getLayoutFont): ditto
4112         (getLabelFont): ditto
4113         (setCharFont): ditto
4114
4115         * text.C: adjust several funcs.
4116
4117 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4118
4119         * text.C (selectNextWordToSpellcheck): don't accidentally
4120         skip insets
4121
4122 2003-04-10  John Levon  <levon@movementarian.org>
4123
4124         * ToolbarBackend.C (getIcon): special handling for
4125         LFUN_MATH_DELIM
4126
4127 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
4128
4129         * text2.C (cursorRight): a getChar assert fixed
4130
4131 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4132
4133         * text2.C (getFont): change to take a ParagraphList::iterator
4134         instead of Paragraph*
4135         Adjust several functions.
4136
4137         * text.C (transformChar): change to take a ParagraphList::iterator
4138         instead of Paragraph*
4139         (singleWidth): ditto
4140         Adjust several functions.
4141
4142         * rowpainter.C: adjust several functions
4143         * rowpainter.h:store a ParagraphList::iterator and not a
4144         Paragraph&.
4145
4146
4147 2003-04-09  John Levon  <levon@movementarian.org>
4148
4149         * lyxfunc.C:
4150         * lfuns.h:
4151         * LyXAction.h:
4152         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
4153         and the "help" bits as well
4154
4155 2003-04-09  John Levon  <levon@movementarian.org>
4156
4157         * ToolbarBackend.h:
4158         * ToolbarBackend.C: allow multiple toolbars
4159
4160 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4161
4162         * undo_funcs.C (setCursorParUndo): adjust
4163
4164         * text_funcs.C (transposeChars): adjust
4165
4166         * text3.C (gotoNextInset): adjust
4167         (dispatch): adjust
4168
4169         * text2.C (setLayout): adjust
4170         (changeDepth): adjust
4171         (setFont): adjust
4172         (redoParagraphs): adjust
4173         (selectionAsString): adjust
4174         (setParagraph): adjust
4175         (insertInset): adjust
4176         (cutSelection): adjust
4177         (copySelection): adjust
4178         (pasteSelection): adjust
4179         (insertStringAsLines): adjust
4180         (updateInset): adjust
4181         (setCursor): change to take a ParagraphList::iterator parameter
4182         (setCursorIntern): change to take a ParagraphList::iterator parameter
4183         (setCurrentFont): adjust
4184         (cursorLeft): adjust
4185         (cursorRight): adjust
4186         (deleteEmptyParagraphMechanism): adjust
4187
4188         * text.C (breakParagraph): adjust
4189         (insertChar): adjust
4190         (acceptChange): adjust
4191         (rejectChange): adjust
4192         (selectNextWordToSpellcheck): adjust
4193         (changeCase): adjust
4194         (Delete): adjust
4195         (backspace): adjust
4196
4197         * lyxfind.C (SearchForward): adjust
4198         (SearchBackward): adjust
4199         (nextChange): adjust
4200
4201         * lyxcursor.C (par): adjust
4202
4203         * lyxcursor.h: store a ParagraphList::iterator instead of a
4204         Paragraph*
4205
4206         * lyx_cb.C (getPossibleLabel): adjust
4207
4208         * bufferview_funcs.C (toggleAndShow): adjust
4209
4210         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
4211         (dispatch): adjust
4212
4213         * BufferView.C (removeAutoInsets): adjust
4214         (lockedInsetStoreUndo): adjust
4215
4216 2003-04-09  John Levon  <levon@movementarian.org>
4217
4218         * ToolbarBackend.C: try icon without argument
4219         if with argument fails
4220
4221 2003-04-08  John Levon  <levon@movementarian.org>
4222
4223         * ToolbarBackend.h:
4224         * ToolbarBackend.C: add getIcon(), handle tooltip,
4225         and change from "Icon" to "Item".
4226
4227 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4228
4229         * BufferView.C (lockInset): another bad getchar crunched
4230
4231 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
4232
4233         * text2.C (changeDepth): do not setUndo on test_only (make undo work
4234         again)
4235
4236 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
4237
4238         * lyxfind.C (searchForward, searchBackwards): bug 782
4239
4240 2003-04-07  John Levon  <levon@movementarian.org>
4241
4242         * paragraph.C: remove dead comment
4243
4244         * text.C: remove troublesome depth-fiddling code
4245         in leftMargin() and rightMargin() (bug 1017)
4246
4247         * text.C: fix breaking of rows in nested lists
4248         (bug 1004)
4249
4250         * text2.C (updateCounters): fix up depth values
4251         (bug 1013)
4252
4253 2003-04-07  John Levon  <levon@movementarian.org>
4254
4255         * BufferView_pimpl.C: clear message when doc finishes resizing,
4256         and after a mouse event
4257
4258         * lyxfunc.C: clear message after exiting inset
4259
4260 2003-04-07  John Levon  <levon@movementarian.org>
4261
4262         * bufferview_funcs.C: show math status not outside
4263         status in the statusbar
4264
4265 2003-04-07  John Levon  <levon@movementarian.org>
4266
4267         * lyxfunc.C: note status changed after a depth change
4268
4269 2003-04-04  Angus Leeming  <leeming@lyx.org>
4270
4271         * LaTeX.h: move AuxInfo operator==, != out of line.
4272         Remove LaTeX virtual destructor; nothing derives from it.
4273         Move operator()() out of public area and rename it startscript().
4274         Change protected for private.
4275
4276 2003-04-04  Angus Leeming  <leeming@lyx.org>
4277
4278         * lyxfunc.C:
4279         * text2.C: remove unneeded #includes.
4280
4281 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4282
4283         * text2.C (dEPM): fix the heigth of the next row
4284
4285 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
4286
4287         * text.C: squashed an invalid getChar requester + some ws changes
4288
4289 2003-04-03  John Levon  <levon@movementarian.org>
4290
4291         * bufferview_funcs.h:
4292         * bufferview_funcs.C:
4293         * lyxfunc.C:
4294         * lyxtext.h:
4295         * text2.C: make getStatus work for the env depth lfuns
4296
4297 2003-04-03  John Levon  <levon@movementarian.org>
4298
4299         * bufferview_funcs.h:
4300         * bufferview_funcs.C:
4301         * lyxfunc.C:
4302         * lyxtext.h:
4303         * text2.C: parlistize decDepth(), by merging it with incDepth()
4304
4305 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4306
4307         * lyxrow.h: store a ParagraphList::iterator instead of a
4308         Paragraph* and adjust other class functions to suit.
4309
4310         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
4311         above.
4312
4313 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * text2.C (setCursor): do not anchor to cursor row for the time being
4316
4317 2003-04-02  John Levon  <levon@movementarian.org>
4318
4319         * LyXAction.C:
4320         * lfuns.h:
4321         * lyx_main.C:
4322         * lyxtext.h:
4323         * text.C:
4324         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
4325
4326 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * paragraph.h: make ParagraphList and ParagraphList::iterator
4329         friends of Paragraph.
4330
4331         * buffer.C (makeLinuxDocFile): move towards ParagraphList
4332
4333         * ParagraphList.C: Use the private next_ and previous_ from
4334         Paragraph.
4335
4336 2003-04-01  John Levon  <levon@movementarian.org>
4337
4338         * ToolbarBackend.h:
4339         * ToolbarBackend.C:
4340         * Makefile.am: rename, remove defaults gunk
4341
4342         * MenuBackend.h:
4343         * MenuBackend.C: remove defaults gunk
4344
4345         * Languages.h:
4346         * Languages.C: remove defaults gunk
4347
4348         * lyx_main.h:
4349         * lyx_main.C: error out if files couldn't be found.
4350
4351 2003-04-02  John Levon  <levon@movementarian.org>
4352
4353         * text2.C: make incDepth() use parlist
4354
4355 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4356
4357         * undo_funcs.C (firstUndoParagraph): adjust
4358
4359         * text3.C (gotoInset): adjust
4360         (dispatch): adjust, and rewrite loop.
4361
4362         * text2.C (init): adjust, and rewrite loop.
4363         (redoParagraphs): adjust
4364         (updateInset): adjust, and rewrite loop.
4365         (deleteEmptyParagraphMechanism): adjust
4366
4367         * tabular.C (LyXTabular): adjust
4368         (SetMultiColumn): adjust
4369         (TeXRow): adjust
4370
4371         * lyxtext.[Ch] (ownerParagraph): delete function
4372         (ownerParagraphs): new function returns a ParagraphList.
4373
4374         * BufferView.C (removeAutoInsets): adjust
4375         (insertErrors): adjust
4376         (setCursorFromRow): adjust
4377
4378 2003-04-01  Angus Leeming  <leeming@lyx.org>
4379
4380         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
4381         in the frontends.
4382
4383 2003-04-02  John Levon  <levon@movementarian.org>
4384
4385         * lyxtext.h:
4386         * text.C:
4387         * Makefile.am:
4388         * text_funcs.h:
4389         * text_funcs.C: make transposeChars a free function
4390
4391         * lyxrow_funcs.C: remove wrong comment
4392
4393 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4394
4395         * lyxtext.h: adjust
4396         * rowpainter.C: adjust
4397         * text.C: adjust
4398         * text2.C: adjust
4399         * text3.C: adjust
4400
4401         * lyxrow_funcs. [Ch]: new files
4402
4403         * lyxrow.[Ch]: remove next and previous pointers
4404         (next,previous): remove accessor functions
4405         (isParEnd): move to lyxrow_funcs
4406         (lastPos): move to lyxrow_funcs
4407         (nextRowIsAllInset): move to lyxrow_funcs
4408         (lastPrintablePos): move to lyxrow_funcs
4409         (numberOfSeparators): move to lyxrow_funcs
4410         (numberOfHfills): move to lyxrow_funcs
4411         (numberOfLabelHfills): move to lyxrow_funcs
4412         (hfillExpansion): move to lyxrow_funcs
4413
4414         * lyxfunc.C: adjust
4415
4416         * bufferview_funcs.C (toggleAndShow): adjust
4417
4418         * RowList.h: Remove class RowList from file leave just a
4419         std::list<Row>.
4420
4421         * RowList.C: delete file
4422
4423         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
4424         and lyxrow_funcs.h
4425
4426 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * text3.C (cursorPrevious): adjust
4429         (cursorNext): adjust
4430         (dispatch): adjust
4431
4432         * text2.C (redoHeightOfParagraph): adjust
4433         (redoDrawingOfParagraph): adjust
4434         (setCursor): adjust
4435
4436         * text.C (breakParagraph): adjust
4437         (insertChar): adjust
4438         (backspace): adjust
4439
4440         * rowpainter.C (RowPainter): adjust
4441         (leftMargin): simplify and adjust
4442         (most rowpainter functions): adjust.
4443
4444         * rowpainter.h: store the row as RowList::iterator not as Row*
4445
4446         * lyxcursor.C (row): taka RowList::iterator as arg
4447         (irow): ditto
4448
4449         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
4450         of Row*.
4451
4452 2003-04-01  Angus Leeming  <leeming@lyx.org>
4453
4454         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
4455         stuff like bool Bool.
4456
4457 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
4458
4459         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
4460         rewrite a loop
4461
4462 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
4465         RowList::iterator.
4466
4467         * lyxtext.h (rows): drop one version and leve a const variant that
4468         returns a RowList::iterator.
4469
4470 2003-03-31  Angus Leeming  <leeming@lyx.org>
4471
4472         * text.C (fill): ensure that the signature is the same as that in the
4473         header file.
4474
4475 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4476
4477         * text2.C (redoParagraphs): adjust
4478         (updateCounters): adjust
4479         (checkParagraph): adjust
4480         (getColumnNearX): adjust and reformat a bit.
4481
4482         * text.C (top_y): adjust
4483         (workWidth): adjust
4484         (leftMargin): adjust
4485         (prepareToPrint): adjust
4486         (getRow): adjust
4487         (getRowNearY): adjust
4488
4489         * lyxtext.h: make rowlist_ mutable.
4490
4491         * RowList.h: add const_iterator
4492         * RowList.C: adjust for RowList::const_iterator.
4493
4494         * text2.C (getCursorX): make it take a RowList::iterator as arg,
4495         adjust.
4496
4497 2003-03-31  John Levon  <levon@movementarian.org>
4498
4499         * lyxrc.h:
4500         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
4501
4502         * lyx_main.C: set default fonts from using lyx_gui funcs
4503
4504         * exporter.C: pdf_mode moved from lyxrc
4505
4506         * lyx_cb.C:
4507         * lyxfunc.C: changes from above
4508
4509 2003-03-31  John Levon  <levon@movementarian.org>
4510
4511         * lyx_main.C: fix to the last fix
4512
4513 2003-03-31  John Levon  <levon@movementarian.org>
4514
4515         * bufferlist.C: "Load original" -> "Load Original"
4516
4517         * converter.C:
4518         * exporter.C:
4519         * importer.C:
4520         * lyx_main.C:
4521         * format.C: more Alert cleanups
4522
4523 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * text2.C (removeParagraph): make it take a RowList::iterator as
4526         arg, adjust.
4527         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
4528         (postRowPaint): make it take a RowList::iterator as arg, adjust.
4529
4530         * text.C (anchor_row): make it take a RowList::iterator as arg,
4531         adjust.
4532         (computeBidiTables): make it take a const reference to Row instead
4533         of Row pointer, adjust.
4534         (leftMargin): make it take a RowList::iterator as arg, adjust.
4535         (rowBreakPoint): adjust
4536         (breakAgainOneRow): make it take a RowList::iterator as arg,
4537         adjust.
4538         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
4539
4540         * bufferview_funcs.C (toggleAndShow): adjust
4541
4542 2003-03-30  John Levon  <levon@movementarian.org>
4543
4544         * Makefile.am:
4545         * BoostFormat.h:
4546         * boost-inst.C: moved to support
4547
4548         * several files: changes as a result
4549
4550 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
4551
4552         * text2.C (LyXText): adjust.
4553         (init): adjust
4554         (removeRow): make it take a RowList::iterator as arg, adjust.
4555         (fullRebreak): adjust
4556         (deleteEmptyParagraphMechanism): adjust
4557         (clearPaint): adjust
4558         (postPaint): adjust
4559
4560         * text.C (top_y): adjust
4561         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
4562         (breakAgain): make it take a RowList::iterator as arg, adjust.
4563         (breakParagraph): adjust
4564         (insertChar): adjust
4565         (backspace): adjust
4566
4567         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
4568         need_break_row, and refresh_row.
4569
4570         * text3.C (dispatch): adjust
4571
4572         * text2.C (checkParagraph): adjust
4573         (setCursor): adjust
4574         (setCursorFromCoordinates): adjust
4575
4576         * text.C (top_y): adjust
4577         (workWidth): adjust
4578         (getRow): make it return a RowList::iterator, adjust
4579         (getRowNearY): make it return a RowList::iterator, adjust
4580
4581         * text2.C (init): adjust
4582         (insertRow): remove function
4583         (insertParagraph): adjust
4584         (redoParagraphs): adjust
4585         (fullRebreak): adjust
4586         (updateCounters): adjust
4587
4588         * text.C (top_y): rewrite to use RowList iterators.
4589         (top_y): adjust
4590         (setHeightOfRow): rewrite to sue RowList iterators.
4591         (appendParagraph): adjust
4592         (breakAgain): adjust
4593         (breakAgainOneRow): adjust
4594         (breakParagraph): adjust
4595         (getRow): adjust
4596         (getRowNearY): adjust, and remove commented code.
4597
4598         * lyxtext.h (firstRow): delete function
4599         (lastRow): delete function
4600         (rows): new function (const and non-const versions.)
4601         (insertRow): delete function
4602
4603         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
4604
4605 2003-03-29  John Levon  <levon@movementarian.org>
4606
4607         * BufferView_pimpl.C: always update scrollbar top
4608         because pasting text when we're anchored could mean we
4609         miss an update altogether
4610
4611 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * text2.C (init): use rowlist_.end() and not 0.
4614         (insertRow): change to take a RowList::iterator as arg, adjust
4615         for this.
4616         (insertParagraph): change to take a RowList::iterator as arg,
4617         adjust for this.
4618         (redoParagraphs): remove some debug msgs.
4619
4620         * text.C (appendParagraph): change to take a RowList::iterator
4621         arg, adjust for this.
4622         (breakAgain): add an assert
4623         (breakAgainOneRow): ditto
4624
4625 2003-03-29  John Levon  <levon@movementarian.org>
4626
4627         * text2.C: do not clear selection after inc/decDepth
4628         (bug 550)
4629
4630 2003-03-29  John Levon  <levon@movementarian.org>
4631
4632         * BufferView.C:
4633         * buffer.C: fix broken strerrors according to Lars
4634
4635 2003-03-29  John Levon  <levon@movementarian.org>
4636
4637         * converters.C: more Alert cleanups
4638
4639 2003-03-29  John Levon  <levon@movementarian.org>
4640
4641         * bufferview_funcs.C: remove pointless Alert
4642
4643         * buffer.C: fix confusing error message when
4644         a template is chmoded 000
4645
4646 2003-03-29  John Levon  <levon@movementarian.org>
4647
4648         * BufferView.C:
4649         * BufferView.h:
4650         * BufferView_pimpl.C: Alert fixes
4651
4652         * Makefile.am:
4653         * tabular.C:
4654         * tabular-old.C: remove unused table compat reading
4655
4656 2003-03-29  John Levon  <levon@movementarian.org>
4657
4658         * BufferView.C:
4659         * buffer.C:
4660         * lyx_cb.h:
4661         * lyx_cb.C: more Alert cleanups
4662
4663         * lyxfunc.C: don't allow chktex if not latex document
4664
4665 2003-03-29  John Levon  <levon@movementarian.org>
4666
4667         * lyx_cb.C:
4668         * BufferView.C:
4669         * buffer.C: warnings pushed down from support/,
4670         kill err_alert
4671
4672 2003-03-29  John Levon  <levon@movementarian.org>
4673
4674         * lyxfunc.C: safety check for C-r (revert)
4675
4676 2003-03-29  John Levon  <levon@movementarian.org>
4677
4678         * bufferlist.h:
4679         * bufferlist.C: several UI fixes using Alert::prompt.
4680         Fix the pointless looping quit code. Fix stupid revert
4681         behaviour (bug 938)
4682
4683         * lyxvc.h:
4684         * lyxvc.C:
4685         * lyx_cb.C: use Alert::prompt
4686
4687         * lyx_main.C: remove a silly question
4688
4689         * lyxfunc.C: remove a couple of silly questions,
4690         use Alert::prompt
4691
4692 2003-03-28  John Levon  <levon@movementarian.org>
4693
4694         * text2.C: fix bug 974 (End on empty par)
4695
4696 2003-03-28  John Levon  <levon@movementarian.org>
4697
4698         * BufferView_pimpl.C:
4699         * LyXAction.C:
4700         * lfuns.h: remove do-nothing math greek lfuns
4701
4702 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4703
4704         * lyxgluelength.h (isValidGlueLength): add default arg on
4705         parameter 2. Remove default arg from friend in class.
4706
4707         * lyxlength.h (isValidLength): add default arg on parameter 2.
4708         Remove default arg from friend in class.
4709
4710         * text2.C (LyXText): adjust, initialize refresh_row.
4711         (init): adjust
4712         (removeRow): adjust
4713         (insertRow): adjust
4714         (insertParagraph): adjst
4715         (redoParagraphs): adjust
4716         (fullRebreak): adjust
4717         (updateCounters): adjust
4718         (deleteEmptyParagraphMechanism): first attempt at fixing a
4719         crashing bug.
4720
4721         * text.C (top_y): adjust
4722         (setHeightOfRow): adjust
4723         (getRow): adjust
4724         (getRowNearY): adjust
4725
4726         * lyxtext.h: include RowList.h
4727         (~LyXText): not needed anymore, deleted.
4728         (firstRow): modify for RowList
4729         (lastRow): new function
4730         Delete firstrow and lastrow class variables, add a Rowlist
4731         rowlist_ class variable.
4732
4733         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4734         paragraph is empty.
4735
4736         * RowList.C (insert): fix case where it == begin().
4737
4738 2003-03-26  Angus Leeming  <leeming@lyx.org>
4739
4740         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4741         the thesaurus dialog.
4742
4743 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4744
4745         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4746
4747         * RowList.[Ch]: new files
4748
4749         * ParagraphList.C (erase): handle the case where it == begin
4750         correctly.
4751
4752 2003-03-25  John Levon  <levon@movementarian.org>
4753
4754         * Makefile.am:
4755         * aspell_local.h:
4756         * aspell.C: add new aspell support
4757
4758         * lyxrc.h:
4759         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4760         have it accessible.
4761
4762 2003-03-25  Angus Leeming  <leeming@lyx.org>
4763
4764         * lfuns.h:
4765         * LyXAction.C (init): new LFUN_INSET_INSERT.
4766
4767         * BufferView_pimpl.C (dispatch): split out part of the
4768         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4769
4770         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4771         LFUN_INSET_APPLY.
4772
4773 2003-03-25  Angus Leeming  <leeming@lyx.org>
4774
4775         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4776
4777 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4778
4779         * text2.C:
4780         * text3.C: remove useless row->height(0)
4781
4782 2003-03-25  John Levon  <levon@movementarian.org>
4783
4784         * lyxtext.h:
4785         * text2.C:
4786         * text3.C: rename the refreshing stuff to better names
4787
4788 2003-03-24  John Levon  <levon@movementarian.org>
4789
4790         * BufferView_pimpl.h:
4791         * BufferView_pimpl.C: update layout choice on a mouse
4792         press/release
4793
4794 2003-03-23  John Levon  <levon@movementarian.org>
4795
4796         * Makefile.am: fix commandtags.h reference
4797
4798 2003-03-22  John Levon  <levon@movementarian.org>
4799
4800         * BufferView_pimpl.C:
4801         * lyxtext.h:
4802         * rowpainter.C:
4803         * rowpainter.h:
4804         * text.C:
4805         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4806
4807 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4808
4809         * lyxtext.h:
4810         * text.C: take the rtl methods out of line
4811
4812 2003-03-21 André Pönitz <poenitz@gmx.net>
4813
4814         * metricsinfo.[Ch]: new files containing structures to be passed around
4815         during the two-phase-drawing...
4816
4817 2003-03-21 André Pönitz <poenitz@gmx.net>
4818
4819         * lyxtextclass.C: read 'environment' tag.
4820
4821 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4822
4823         * text2.C (removeRow): fix bug 964
4824
4825 2003-03-20  John Levon  <levon@movementarian.org>
4826
4827         * rowpainter.C:
4828         * text.C:
4829         * text2.C: paint cleanups. Inset::update() dropped font
4830         parameter
4831
4832 2003-03-19  John Levon  <levon@movementarian.org>
4833
4834         * lyxfunc.C: only fitcursor/markDirty if available()
4835
4836 2003-03-19  John Levon  <levon@movementarian.org>
4837
4838         * commandtags.h: rename to ...
4839
4840         * lfuns.h: ... this, and renumber / cleanup
4841
4842 2003-03-19  John Levon  <levon@movementarian.org>
4843
4844         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4845         fit the cursor after an lfun
4846
4847         * BufferView.h:
4848         * BufferView.C:
4849         * BufferView_pimpl.h:
4850         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4851
4852         * LyXAction.C: layout-character should have ReadOnly
4853
4854         * ParagraphParameters.C:
4855         * buffer.C:
4856         * bufferview_funcs.C:
4857         * lyx_cb.C:
4858         * lyxfind.C:
4859         * lyxtext.h:
4860         * text.C:
4861         * text2.C:
4862         * text3.C:
4863         * undo_funcs.C: changes from above
4864
4865 2003-03-18  John Levon  <levon@movementarian.org>
4866
4867         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4868         remove it from update()
4869
4870         * lyxfunc.C: update layout choice after an lfun
4871
4872         * text3.C: remove extra updateLayoutChoice()s
4873
4874 2003-03-18  John Levon  <levon@movementarian.org>
4875
4876         * text.C: top_y change means full repaint, fix
4877         a drawing bug with cursor movement
4878
4879 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * lyxtext.h:
4882         * text.C:
4883         * text2.C: anchor row on setCursor
4884
4885 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * lyxtext.h: remove almost all mutable keywords
4888         * text.C:
4889         * text2.C:
4890         * text3.C: remove const keywords accordingly
4891
4892 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4893
4894         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4895         anon namespace
4896         (TeXEnvironment): ditto
4897         (TeXOnePar): ditto
4898
4899 2003-03-17  John Levon  <levon@movementarian.org>
4900
4901         * text.C (rowBreakPoint): remove attempt to fix displayed
4902         math insets inside a manual label
4903
4904 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4905
4906         * lyxtext.h: remove BufferView* as first arg from almost all class
4907         functions.
4908         * other files: adjust.
4909
4910 2003-03-17  John Levon  <levon@movementarian.org>
4911
4912         * lyxtext.h:
4913         * undo_funcs.C:
4914         * text2.C: more paint cleanups
4915
4916         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4917
4918         * rowpainter.h:
4919         * rowpainter.C: remove "smart" background painting code
4920
4921 2003-03-16  John Levon  <levon@movementarian.org>
4922
4923         * lyxtext.h:
4924         * text.C:
4925         * text2.C:
4926         * text3.C: add helper functions for setting refresh_row/y
4927
4928 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4929
4930         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4931         newline inset which *can* get inserted in the pass_thru layouts.
4932         This is primarily for literate documents.
4933
4934 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4935
4936         * buffer.C: increment LYX_FORMAT to 223
4937
4938 2003-03-14 André Pönitz <poenitz@gmx.net>
4939
4940         * textclass.h: prepare for environment handling, ws changes
4941         * lyxlayout.C: read latexheader and latexfooter tags
4942
4943 2003-03-14  John Levon  <levon@movementarian.org>
4944
4945         * text2.C: rewrite ::status() a bit
4946
4947 2003-03-13  John Levon  <levon@movementarian.org>
4948
4949         * lyxtext.h: add some docs
4950
4951 2003-03-13  John Levon  <levon@movementarian.org>
4952
4953         * lyxtext.h:
4954         * text.C:
4955         * text2.C:
4956         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4957
4958 2003-03-13  John Levon  <levon@movementarian.org>
4959
4960         * text3.C: fix appendix redrawing
4961
4962 2003-03-13  John Levon  <levon@movementarian.org>
4963
4964         * text.C (setHeightOfRow):
4965         * rowpainter.h:
4966         * rowpainter.C: make appendix mark have the text
4967           "Appendix" so the user knows what it is
4968
4969         * LColor.h:
4970         * LColor.C: s/appendixline/appendix/ from above
4971
4972 2003-03-13  John Levon  <levon@movementarian.org>
4973
4974         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4975
4976         * text.C: fix a getChar(pos) bug properly
4977
4978 2003-03-13  Angus Leeming  <leeming@lyx.org>
4979
4980         * commandtags.h:
4981         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4982         Probably only temporary. Let's see how things pan out.
4983
4984         * BufferView.C (unlockInset):
4985         * BufferView_pimpl.C (fitCursor):
4986         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4987
4988         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4989         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4990
4991         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4992         new functions that convert ParagraphParameters to and from a string.
4993
4994         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4995         BufferView::Pimpl's dispatch.
4996         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4997
4998 2003-03-13 André Pönitz <poenitz@gmx.net>
4999
5000         * lyxfunc.C:
5001         * text3.C:
5002         * factory.C: make it aware of InsetEnv
5003
5004 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * text2.C (setCursor): never ask for one past last
5007         (setCursor): add some debugging messages.
5008
5009         * text.C (singleWidth): never ask for one past last
5010         (singleWidth): ditto
5011         (leftMargin): ditto
5012         (rightMargin): ditto
5013         (rowBreakPoint): ditto
5014         (setHeightOfRow): ditto
5015         (prepareToPrint): ditto
5016
5017         * rowpainter.C (paintBackground): never ask for one past last
5018         (paintText): never ask for one past last
5019
5020         * paragraph_pimpl.C (getChar): make the assert stricter, never
5021         allow the one past last pos to be taken
5022
5023         * paragraph.C (getChar): ws changes only
5024
5025         * lyxrow.C (nextRowIsAllInset): never ask for one past last
5026         (numberOfSeparators): ditto
5027         (numberOfHfills): ditto
5028
5029 2003-03-12  John Levon  <levon@movementarian.org>
5030
5031         * author.h:
5032         * author.C:
5033         * bufferparams.h:
5034         * bufferparams.C:
5035         * paragraph_funcs.C: fix per-buffer authorlists
5036
5037 2003-03-12  John Levon  <levon@movementarian.org>
5038
5039         * text.C: fix newline in right address
5040
5041 2003-03-12  Angus Leeming  <leeming@lyx.org>
5042
5043         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
5044         duplicate those in LyXFunc::dispatch.
5045
5046         * commandtags.h:
5047         * LyXAction.C:
5048         * ToolbarDefaults.C:
5049         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
5050         Add LFUN_FONTFREE_UPDATE.
5051
5052         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
5053         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
5054
5055         * bufferview_func.[Ch]: several new functions to facilliate
5056         transfer of data to and from the character dialog.
5057
5058 2003-03-12  John Levon  <levon@movementarian.org>
5059
5060         * buffer.C:
5061         * paragraph.h:
5062         * paragraph.C:
5063         * paragraph_funcs.C:
5064         * paragraph_pimpl.C:
5065         * sgml.C:
5066         * tabular.C:
5067         * text.C:
5068         * text3.C: remove META_NEWLINE in favour of an inset
5069
5070         * rowpainter.h:
5071         * rowpainter.C: remove paintNewline (done by inset)
5072
5073 2003-03-12  John Levon  <levon@movementarian.org>
5074
5075         * paragraph_pimpl.C: complain about bad getChar()s
5076         for a while at least
5077
5078 2003-03-12  John Levon  <levon@movementarian.org>
5079
5080         * buffer.h:
5081         * buffer.C: move paragraph read into a separate function,
5082         a little renaming to reflect that.
5083
5084         * bufferparams.h:
5085         * bufferparams.C: remove the author_ids map, not necessary now
5086
5087         * factory.h:
5088         * factory.C: moved Buffer::readInset to here
5089
5090         * paragraph_funcs.h:
5091         * paragraph_funcs.C: readParagraph free function moved from
5092         buffer.C
5093
5094         * tabular.C: name change
5095
5096 2003-03-12  John Levon  <levon@movementarian.org>
5097
5098         * buffer.C:
5099         * ParagraphParameters.C: move par params input to
5100         a read() method
5101
5102         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
5103         behave like a normal read from the stream wrt reading
5104         a line vs. a \\token
5105
5106 2003-03-12  John Levon  <levon@movementarian.org>
5107
5108         * paragraph.C:
5109         * ParagraphParameters.h:
5110         * ParagraphParameters.C: move output code to a
5111         ::write() method
5112
5113 2003-03-12  John Levon  <levon@movementarian.org>
5114
5115         * BufferView.C (insertLyXFile):
5116         * buffer.h:
5117         * buffer.C:
5118         * tabular.C: use a parlist iterator for creating the
5119           document.
5120
5121 2003-03-12  John Levon  <levon@movementarian.org>
5122
5123         * buffer.C: make current_change static local not
5124           static file-scope
5125
5126 2003-03-12  John Levon  <levon@movementarian.org>
5127
5128         * buffer.C: fix insertStringAsLines for change tracking
5129
5130 2003-03-12  John Levon  <levon@movementarian.org>
5131
5132         * BufferView.C:
5133         * tabular.C:
5134         * buffer.h:
5135         * buffer.C:
5136         * bufferparams.h:
5137         * bufferparams.C: move author list into params. Rename some
5138           functions. Move the header reading into a separate token
5139           loop. Move the header token reading into BufferParams.
5140
5141 2003-03-12  John Levon  <levon@movementarian.org>
5142
5143         * changes.C: put debug inside lyxerr.debugging() checks
5144
5145 2003-03-11 André Pönitz <poenitz@gmx.net>
5146
5147         * factory.C: make it aware of InsetHFill
5148
5149 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5150
5151         * buffer.C (latexParagraphs): move function from here...
5152         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
5153         args.
5154
5155 2003-03-10  Angus Leeming  <leeming@lyx.org>
5156
5157         * LyXAction.C (init): fix bug in poplating array with multiple entries
5158         with the same LFUN (spotted by JMarc).
5159
5160 2003-03-10  John Levon  <levon@movementarian.org>
5161
5162         * text.C:
5163         * text2.C: move getColumnNearX() near its
5164         only call site
5165
5166 2003-03-10  John Levon  <levon@movementarian.org>
5167
5168         * text.C: fix break before a minipage
5169
5170 2003-03-10  John Levon  <levon@movementarian.org>
5171
5172         * text.C: fix the last commit
5173
5174 2003-03-09  John Levon  <levon@movementarian.org>
5175
5176         * lyxtext.h:
5177         * text.C:
5178         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
5179         bug 365 (don't break before insets unless needed). Don't
5180         return a value > last under any circumstances.
5181
5182 2003-03-09  Angus Leeming  <leeming@lyx.org>
5183
5184         * BufferView_pimpl.C (trackChanges, dispatch): call
5185         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
5186
5187 2003-03-09  Angus Leeming  <leeming@lyx.org>
5188
5189         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
5190         than Dialogs::showAboutlyx().
5191
5192 2003-03-09  Angus Leeming  <leeming@lyx.org>
5193
5194         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
5195         than Dialogs::showTabularCreate().
5196
5197 2003-03-09  John Levon  <levon@movementarian.org>
5198
5199         * lyxtext.h:
5200         * text.C:
5201         * text2.C: 3rd arg to nextBreakPoint was always the same.
5202           Use references.
5203
5204 2003-03-08  John Levon  <levon@movementarian.org>
5205
5206         * lyxrow.C:
5207         * paragraph.C:
5208         * paragraph.h:
5209         * rowpainter.C:
5210         * text.C:
5211         * text2.C: Remove the "main" bit from the "main body"
5212           notion.
5213
5214 2003-03-08  John Levon  <levon@movementarian.org>
5215
5216         * text.C (leftMargin): The left margin of an empty
5217         manual label paragraph should not include the label width
5218         string length.
5219
5220         * text.C (prepareToPrint): don't attempt to measure hfills
5221         for empty manual label paragraphs - the answer should be 0
5222
5223 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5224
5225         * CutAndPaste.C: remove commented code and reindent.
5226
5227 2003-03-08  John Levon  <levon@movementarian.org>
5228
5229         * lyxfunc.h:
5230         * lyxfunc.C: move reloadBuffer()
5231
5232         * BufferView.h:
5233         * BufferView.C: to here
5234
5235         * lyxvc.C: add comment
5236
5237         * vc-backend.h:
5238         * vc-backend.C: call bv->reload() to avoid
5239           getStatus() check on MENURELOAD
5240
5241 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
5242
5243         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
5244         to an old format .dep file.
5245
5246 2003-03-07  Angus Leeming  <leeming@lyx.org>
5247
5248         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
5249         when the LFUN_MOUSE_RELEASE should have been handled by
5250         inset->localDispatch.
5251
5252 2003-03-07  Angus Leeming  <leeming@lyx.org>
5253
5254         * BufferView_pimpl.C (dispatch):
5255         * LyXAction.C (init):
5256         * ToolbarDefaults.C (init):
5257         * commandtags.h:
5258         * lyxfunc.C (getStatus):
5259         remove LFUN_INSET_GRAPHICS.
5260
5261         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
5262
5263 2003-03-07  Angus Leeming  <leeming@lyx.org>
5264
5265         * commandtags.h:
5266         * LyXAction.C (init):
5267         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
5268
5269         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
5270
5271         * commandtags.h:
5272         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
5273
5274         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
5275         localDispatch method LFUN_INSET_DIALOG_UPDATE.
5276
5277 2003-03-07  Angus Leeming  <leeming@lyx.org>
5278
5279         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
5280         remove "ert".
5281
5282 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5283
5284         * ParagraphList.C (front): new function
5285         (back): implement
5286
5287 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
5288
5289         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
5290         and top_row_offset_. removed var first_y.
5291         * text.C (top_y):
5292         * text2.C (LyXText, removeRow):
5293         * text3.C:
5294         * BufferView_pimpl.C:
5295         use these methods instead of using first_y
5296
5297 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5298
5299         * text2.C (pasteSelection): adjust for checkPastePossible
5300
5301         * CutAndPaste.C: remove Paragraph * buf and replace with
5302         ParagraphList paragraphs.
5303         (DeleteBuffer): delete
5304         (cutSelection): change the tc type to textclass_type
5305         (copySelection): change the tc type to textclass_type
5306         (copySelection): adjust for ParagraphList
5307         (pasteSelection): change the tc type to textclass_type
5308         (pasteSelection): adjust for Paragraphlist
5309         (nrOfParagraphs): simplify for ParagraphList
5310         (checkPastePossible): simplify for ParagraphList
5311         (checkPastePossible): remove unused arg
5312
5313         * ParagraphList.C (insert): handle the case where there are no
5314         paragraphs yet.
5315
5316         * CutAndPaste.h: make CutAndPaste a namespace.
5317
5318         * text3.C (dispatch): adjust
5319
5320         * text.C (breakParagraph): add a ParagraphList as arg
5321
5322         * paragraph_funcs.C (breakParagraph): change to take a
5323         BufferParams and a ParagraphList as args.
5324         (breakParagraphConservative): ditto
5325         (mergeParagraph): ditto
5326         (TeXDeeper): add a ParagraphList arg
5327         (TeXEnvironment): ditto
5328         (TeXOnePar): ditto
5329
5330         * buffer.C (readLyXformat2): adjust
5331         (insertStringAsLines): adjust
5332         (latexParagraphs): adjust
5333
5334         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
5335         (cutSelection): adjust
5336         (pasteSelection): adjust
5337
5338         * BufferView_pimpl.C (insertInset): adjust
5339
5340 2003-03-05  Angus Leeming  <leeming@lyx.org>
5341
5342         * commandtags.h:
5343         * LyXAction.C (init):
5344         * BufferView_pimpl.C (dispatch):
5345         * lyxfunc.C (getStatus):
5346         remove LFUN_CHILD_INSERT.
5347
5348         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
5349
5350 2003-03-05  Angus Leeming  <leeming@lyx.org>
5351
5352         * commandtags.h:
5353         * LyXAction.C (init):
5354         * src/factory.C (createInset):
5355         * lyxfunc.C (getStatus):
5356         * text3.C (dispatch):
5357         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
5358
5359         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
5360
5361 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5362
5363         * ParagraphList.C (insert): handle insert right before end()
5364         (erase): fix cases where it can be first or last paragraph.
5365
5366 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * paragraph_funcs.C (TeXEnvironment): remove all usage of
5369         Paragraph::next and Paragraph::previous
5370         (TeXOnePar): ditto
5371
5372         * text.C (breakParagraph): adjust
5373
5374         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
5375         BufferParams& as arg.
5376         (breakParagraph): use ParagraphList::insert
5377         (breakParagraphConservative): take a Buffer* instead of a
5378         BufferParams& as arg.
5379         (breakParagraphConservative): use ParagraphList::insert.
5380
5381         * buffer.C (insertStringAsLines): un-const it
5382         (insertStringAsLines): adjust
5383
5384         * ParagraphList.C (insert): new function
5385
5386         * CutAndPaste.C (pasteSelection): adjust
5387
5388         * text.C (backspace): adjust
5389
5390         * tabular.C (SetMultiColumn): adjust
5391
5392         * CutAndPaste.C (cutSelection): adjust
5393         (pasteSelection): adjust
5394
5395         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
5396         Buffer const * as arg
5397
5398         * ParagraphList.C (erase): new function
5399         * paragraph_funcs.C (mergeParagraph): use it
5400         (mergeParagraph): make it take a Buffer* instead of a
5401         BufferParams* as arg
5402
5403         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
5404         as arg
5405         (breakParagraphConservative): ditto
5406
5407         * paragraph.h: remove the breakParagraph friend
5408
5409         * paragraph.C (eraseIntern): new function
5410         (setChange): new function
5411
5412         * paragraph_funcs.C (mergeParagraph): make it take a
5413         ParagraphList::iterator instead of a Paragraph *, adjust
5414         accordingly.
5415
5416         * paragraph.h: move an #endif so that the change tracking stuff
5417         also works in the NO_NEXT case.
5418
5419 2003-03-04  Angus Leeming  <leeming@lyx.org>
5420
5421         * commandtags.h:
5422         * LyXAction.C: new LFUN_INSET_MODIFY.
5423
5424         * BufferView_pimpl.C (dispatch): if an inset is found to be open
5425         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
5426
5427 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5428
5429         * several files: ws changes only
5430
5431         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
5432         (TeXEnvironment): ditto
5433         (TeXDeeper): ditto
5434
5435         * buffer.C (makeLaTeXFile): adjust
5436         (latexParagraphs): make it take ParagraphList::iterator as args
5437
5438 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5439
5440         * buffer.C (latexParagraphs): adjust
5441
5442         * paragraph.C (TeXOnePar): move function...
5443         (optArgInset): move function...
5444         (TeXEnvironment): move function...
5445         * paragraph_pimpl.C (TeXDeeper): move function...
5446         * paragraph_funcs.C: ...here
5447
5448         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
5449
5450 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5451
5452         * buffer.C (readInset): remove compability code for old Figure and
5453         InsetInfo insets
5454
5455 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5456
5457         * buffer.C: ws changes
5458         (readInset):
5459
5460         * BufferView_pimpl.C: ditto
5461         * author.C: ditto
5462         * buffer.h: ditto
5463         * bufferlist.h: ditto
5464         * changes.h: ditto
5465         * lyxfunc.C: ditto
5466
5467 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
5468
5469         * converter.[Ch]: split into itself +
5470         * graph.[Ch]
5471         * format.[Ch]
5472         * Makefile.am: += graph.[Ch] + format.[Ch]
5473         * MenuBackend.C
5474         * buffer.C
5475         * exporter.C
5476         * importer.C
5477         * lyx_main.C
5478         * lyxfunc.C
5479         * lyxrc.C: added #include "format.h"
5480
5481 2003-02-27  Angus Leeming  <leeming@lyx.org>
5482
5483         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
5484           a label.
5485
5486         * factory.C (createInset): add "label" to the factory.
5487
5488         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
5489           string and do no more.
5490
5491 2003-02-27  Angus Leeming  <leeming@lyx.org>
5492
5493         * commandtags.h:
5494         * LyXAction.C (init):
5495         * factory.C (createInset):
5496         * BufferView_pimpl.C (dispatch):
5497           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
5498
5499         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
5500
5501         * lyxfunc.C (dispatch):
5502         * text3.C (dispatch): pass name to params2string.
5503
5504 2003-02-26  Angus Leeming  <leeming@lyx.org>
5505
5506         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
5507           blocks together.
5508           Rearrange the ~includes. Strip out the unnecessary ones.
5509
5510         * factory.C (createInset): reformat.
5511           create new insets for the various LFUN_XYZ_APPLY lfuns.
5512
5513 2003-02-26  John Levon  <levon@movementarian.org>
5514
5515         * lyxrow.h:
5516         * lyxrow.C: add isParStart,isParEnd helpers
5517
5518         * paragraph.h: make isInserted/DeletedText take refs
5519
5520         * paragraph_funcs.h:
5521         * paragraph_funcs.C: remove #if 0'd code
5522
5523         * lyxtext.h:
5524         * text3.C:
5525         * text2.C:
5526         * text.C: use lyxrow helpers above.
5527           Move draw and paint routines to RowPainter.
5528           Make several methods use refs not pointers.
5529           Make backgroundColor() const.
5530           Add markChangeInDraw(), isInInset().
5531           Merge changeRegionCase into changeCase.
5532           Make workWidth() shouldn't-happen code into an Assert.
5533
5534         * rowpainter.h:
5535         * rowpainter.C: new class for painting a row.
5536
5537         * vspace.h:
5538         * vspace.C: make inPixels take a ref
5539
5540 2003-02-26  Angus Leeming  <leeming@lyx.org>
5541
5542         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
5543         LFUN_REF_APPLY.
5544
5545 2003-02-25  John Levon  <levon@movementarian.org>
5546
5547         * ispell.C: give the forked command a more accurate name
5548
5549 2003-02-22  John Levon  <levon@movementarian.org>
5550
5551         * toc.h:
5552         * toc.C: make TocItem store an id not a Paragraph *
5553           (bug #913)
5554
5555 2003-02-21  Angus Leeming  <leeming@lyx.org>
5556
5557         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
5558           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
5559           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
5560           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
5561           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
5562           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
5563
5564         * BufferView_pimpl.C (dispatch):
5565         * LyXAction.C (init):
5566         * factory.C (createInset):
5567         * lyxfunc.C (getStatus, dispatch):
5568         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
5569
5570 2003-02-21  Angus Leeming  <leeming@lyx.org>
5571
5572         * BufferView_pimpl.C (MenuInsertLyXFile):
5573         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
5574         * lyxfunc.C (menuNew, open, doImport):
5575           no longer pass a LyXView & to fileDlg.
5576
5577 2003-02-21  Angus Leeming  <leeming@lyx.org>
5578
5579         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
5580         * LyXAction.C: change, BIBKEY to BIBITEM.
5581         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
5582         Change InsetBibKey to InsetBibitem.
5583         Change BIBKEY_CODE to BIBITEM_CODE.
5584         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5585         * factory.C: replace insetbib.h with insetbibitem.h.
5586         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5587         * paragraph.C: replace insetbib.h with insetbibitem.h.
5588         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
5589         Change bibkey() to bibitem().
5590         * text.C: remove insetbib.h.
5591         * text2.C: replace insetbib.h with insetbibitem.h.
5592         change bibkey() to bibitem().
5593         * text3.C: remove insetbib.h.
5594         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
5595
5596 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5597
5598         * lyxrc.C (output): enclose user email in quotes (in case there are
5599         several words)
5600
5601 2003-02-18  John Levon  <levon@movementarian.org>
5602
5603         * buffer.h: add std::
5604
5605 2003-02-17  John Levon  <levon@movementarian.org>
5606
5607         * SpellBase.h:
5608         * ispell.h:
5609         * ispell.C:
5610         * pspell.h:
5611         * pspell.C: reworking. Especially in ispell, a large
5612           number of clean ups and bug fixes.
5613
5614         * lyxfunc.C: fix revert to behave sensibly
5615
5616 2003-02-17 André Pönitz <poenitz@gmx.net>
5617
5618         * LyXAction.C:
5619         * commandtags.h: new LFUN_INSERT_BIBKEY
5620
5621         * layout.h:
5622         * lyxlayout.C:
5623         * buffer.C:
5624         * factory.C:
5625         * text.C:
5626         * text2.C:
5627         * text3.C:
5628         * paragraph.[Ch]:
5629         * paragraph_func.C: remove special bibkey handling
5630
5631 2003-02-17  John Levon  <levon@movementarian.org>
5632
5633         * text.C (Delete): fix case where delete at the end of
5634           the very first paragraph would not merge the pars
5635
5636 2003-02-17  John Levon  <levon@movementarian.org>
5637
5638         * lyxrow.C: fix lastPrintablePos()
5639
5640 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5641
5642         * bufferparams.C (writeLaTeX): add a std:here
5643
5644         * buffer.C: and remove a using directive there
5645
5646 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5647
5648         * buffer.C (makeLaTeXFile): move the code that generates the
5649           preamble...
5650
5651         * bufferparams.C (writeLaTeX): ... in this new method
5652
5653         * LaTeXFeatures.C (getEncodingSet): make const
5654           (getLanguages): make const
5655
5656         * MenuBackend.C (binding): returns the binding associated to this
5657           action
5658           (add): sets the status of each item by calling getStatus. Adds
5659           some intelligence.
5660           (read): add support for OptSubMenu
5661           (expand): remove extra separator at the end of expanded menu
5662
5663 2003-02-15  John Levon  <levon@movementarian.org>
5664
5665         * BufferView.C:
5666         * BufferView_pimpl.C:
5667         * bufferlist.h:
5668         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5669           inset code that had no actual effect. Remove unneeded status
5670           code.
5671
5672 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5673
5674         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5675           in preamble
5676
5677 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5678
5679         * text.C (drawLengthMarker): also draw an arrow marker for
5680           symbolic lengths (medskip...)
5681
5682 2003-02-14  John Levon  <levon@movementarian.org>
5683
5684         * tabular.h:
5685         * tabular.C: better method names
5686
5687 2003-02-14  John Levon  <levon@movementarian.org>
5688
5689         * BufferView_pimpl.C:
5690         * bufferlist.C:
5691         * buffer.C:
5692         * converter.C:
5693         * lyx_cb.C:
5694         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5695           it's a more accurate name. Remove some pointless uses.
5696
5697 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5698
5699         * text2.C (LyXText): change order of initilizers to shut off
5700           warnings
5701
5702 2003-02-14  John Levon  <levon@movementarian.org>
5703
5704         * buffer.C: use ParIterator for getParFromID()
5705
5706         * paragraph.h:
5707         * paragraph.C:
5708         * paragraph_pimpl.h:
5709         * paragraph_pimpl.C: remove unused getParFromID()
5710
5711 2003-02-14  John Levon  <levon@movementarian.org>
5712
5713         * buffer.C: remove some very old #if 0'd parse code
5714
5715 2003-02-13  John Levon  <levon@movementarian.org>
5716
5717         * text.h:
5718         * text.C:
5719         * text2.C: move hfillExpansion(), numberOfSeparators(),
5720           rowLast(), rowLastPrintable(), numberofHfills(),
5721           numberOfLabelHfills() ...
5722
5723         * lyxrow.h:
5724         * lyxrow.C: ... to member functions here.
5725
5726         * paragraph.h:
5727         * paragraph.C:
5728         * lyxtext.h:
5729         * text.C: remove LyXText::beginningOfMainBody(), and call
5730           p->beginningOfMainBody() directly. Move the check for
5731           LABEL_MANUAL into the latter.
5732
5733         * text.h:
5734         * text.C:
5735         * text2.C:
5736         * vspace.C:
5737         * BufferView.h:
5738         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5739
5740         * text.h:
5741         * text.C:
5742         * text2.C:
5743         * text3.C:
5744         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5745           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5746
5747 2003-02-13  John Levon  <levon@movementarian.org>
5748
5749         * CutAndPaste.C: remove debug
5750
5751 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5752
5753         * paragraph.C (asString): remove two unused variables
5754
5755         * lyxtextclass.C (readTitleType):
5756           (Read):
5757           (LyXTextClass): handle new members titletype_ and titlename_
5758
5759         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5760
5761 2003-02-09  John Levon  <levon@movementarian.org>
5762
5763         * buffer.h:
5764         * buffer.C: replace hand-coded list with a map for the dep clean
5765
5766 2003-02-08  John Levon  <levon@movementarian.org>
5767
5768         * LaTeX.C: consolidate code into showRunMessage() helper
5769
5770 2003-02-08  John Levon  <levon@movementarian.org>
5771
5772         * lyxfind.C:
5773         * lyxtext.h:
5774         * text2.C:
5775         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5776           and pass the size in explicitly
5777
5778         * BufferView_pimpl.h:
5779         * BufferView_pimpl.C:
5780         * BufferView.h:
5781         * BufferView.C: add getCurrentChange()
5782
5783         * BufferView_pimpl.h:
5784         * BufferView_pimpl.C: handle change lfuns
5785
5786         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5787           for changes. Mark pasted paragraphs as new.
5788
5789         * support/lyxtime.h:
5790         * support/lyxtime.C:
5791         * DepTable.C: abstract time_t as lyx::time_type
5792
5793         * LColor.h:
5794         * LColor.C: add colours for new text, deleted text, changebars
5795
5796         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5797           package use "usenames" option.
5798
5799         * commandtags.h:
5800         * lyxfunc.C:
5801         * LyXAction.C: add change lfuns
5802
5803         * Makefile.am:
5804         * author.h:
5805         * author.C: author handling
5806
5807         * buffer.h:
5808         * buffer.C: add a per-buffer author list, with first entry as
5809           current author. Handle new .lyx tokens for change tracking. Output
5810           author list to .lyx file. Output dvipost stuff to .tex preamble.
5811           Bump lyx format to 222.
5812
5813         * bufferlist.h:
5814         * bufferlist.C: add setCurrentAuthor() to reset current author details
5815           in all buffers.
5816
5817         * bufferparams.h:
5818         * bufferparams.C: add param for tracking
5819
5820         * bufferview_funcs.C: output change info in minibuffer
5821
5822         * Makefile.am:
5823         * changes.h:
5824         * changes.C: add change-tracking structure
5825
5826         * debug.h:
5827         * debug.C: add CHANGES debug flag
5828
5829         * lyxfind.h:
5830         * lyxfind.C: add code for finding the next change piece
5831
5832         * lyxrc.h:
5833         * lyxrc.C: add user_name and user_email
5834
5835         * lyxrow.h:
5836         * lyxrow.C: add a metric for the top of the text line
5837
5838         * lyxtext.h:
5839         * text.C: implement accept/rejectChange()
5840
5841         * lyxtext.h:
5842         * text.C: paint changebars. Paint new/deleted text in the chosen
5843         colours. Strike through deleted text.
5844
5845         * paragraph.h:
5846         * paragraph.C:
5847         * paragraph_pimpl.h:
5848         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5849           in the current change to the insert functions. Rework erase to
5850           mark text as deleted, adding an eraseIntern() and a range-based
5851           erase(). Implement per-paragraph change lookup and
5852           accept/reject.
5853
5854         * paragraph_funcs.C: Fixup paste for change tracking.
5855
5856         * tabular.C: mark added row/columns as new.
5857
5858         * text.C: fix rowLast() to never return -1. Don't allow
5859           spellchecking of deleted text. Track transpose changes. Don't
5860           allow paragraph break or merge where appropriate.
5861
5862         * text2.C: leave cursor at end of selection after a cut.
5863
5864 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5865
5866         * text.C (getLengthMarkerHeight):
5867         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5868         visible on screen too.
5869
5870 2003-02-07  John Levon  <levon@movementarian.org>
5871
5872         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5873
5874 2003-02-05  Angus Leeming  <leeming@lyx.org>
5875
5876         * lyxserver.C (read_ready): revert my patch of 11 September last year
5877         as it sends PC cpu through the roof. Presumably this means that
5878         the lyxserver will no longer run on an Alpha...
5879
5880 2003-01-30  Angus Leeming  <leeming@lyx.org>
5881
5882         * factory.C (createInset): create an InsetCommandParam of type "index"
5883         and use it to 'do the right thing'.
5884
5885         * text2.C (getStringToIndex): ensure that cursor position is always
5886         reset to the reset_cursor position.
5887
5888 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5889
5890         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5891         disabled.
5892
5893 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5894
5895         * bufferview.C:
5896         * lyxcb.C:
5897         * lyxfunc.C: Output messages with identical spelling, punctuation,
5898         and spaces
5899
5900 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5901
5902         * MenuBackend.C (expandFormats): List only viewable export formats
5903         in "View" menu
5904
5905         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5906         message
5907
5908         * lyxfunc.C (getStatus): Make sure that formats other than
5909         "fax" can also be disabled
5910
5911 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5912
5913         * text3.C (dispatch): put the lfuns that insert insets in 3
5914         groups, and call doInsertInset with appropriate arguments.
5915         (doInsertInset): new function, that creates an inset and inserts
5916         it according to some boolean parameters.
5917
5918 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * buffer.C (readFile): remember to pass on 'par' when calling
5921         readFile recursively.
5922
5923 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5924
5925         * MenuBackend.C (expandFormats): add "..." to import formats.
5926
5927 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5928
5929         * paragraph.C (asString): Remove XForms RTL hacks.
5930
5931 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5932         * buffer.C: fix typo
5933
5934 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5935
5936         * Makefile.am (LIBS): delete var
5937         (lyx_LDADD): add @LIBS@ here instead.
5938
5939 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5940
5941         * Clarify the meaning of "wheel mouse jump"
5942
5943 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5944
5945         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5946         tabular in a float
5947
5948 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5949
5950         * importer.C (Loaders): do not preallocate 3 elements in the
5951         vector, since one ends up with 6 elements otherwise
5952
5953 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5954
5955         * DepTable.C (write): write the file name as last element of the
5956         .dep file (because it may contain spaces)
5957         (read): read info in the right order
5958
5959 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5960
5961         * paragraph_pimpl.C (simpleTeXBlanks):
5962         (simpleTeXSpecialChars):
5963         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5964
5965         * tabular.C (latex): add some missing case statements. Reindent.
5966
5967         * MenuBackend.C (expandToc): remove unused variable.
5968
5969 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5970
5971         * LColor.C:
5972         * LaTeX.C:
5973         * LyXAction.C:
5974         * MenuBackend.C:
5975         * buffer.C:
5976         * exporter.C:
5977         * lyxfunc.C:
5978         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5979         and the like.
5980
5981 2003-01-05  John Levon  <levon@movementarian.org>
5982
5983         * BufferView.h:
5984         * BufferView.C: add getEncoding()
5985
5986         * kbsequence.h:
5987         * kbsequence.C: do not store last keypress
5988
5989         * lyxfunc.h:
5990         * lyxfunc.C: store last keypress here instead. Pass encoding
5991           to getISOEncoded()
5992
5993 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5994
5995         * lyx_main.C (init): remove annoying error message when following
5996         symbolic links (bug #780)
5997
5998 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5999
6000         * text.C (insertChar):
6001         * lyxrc.C (getDescription): remove extra spaces
6002
6003 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6004
6005         * lyxrc.C (getDescription): remove extra spaces
6006
6007 2002-12-20  John Levon  <levon@movementarian.org>
6008
6009         * text3.C: hack fix for page up/down across tall rows
6010
6011 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6012
6013         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
6014         not been invoked
6015
6016 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6017
6018         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
6019         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
6020         thesaurus is not compiled in
6021
6022 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
6023
6024         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
6025
6026 2002-12-16  Angus Leeming  <leeming@lyx.org>
6027
6028         * lyxrc.[Ch]:
6029         * lyx_main.C (init): remove override_x_deadkeys stuff.
6030
6031 2002-12-12  John Levon  <levon@movementarian.org>
6032
6033         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
6034           insert. Only remove shift modifier under strict
6035           circumstances.
6036
6037 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6038
6039         * MenuBackend.C (expandToc): fix crash.
6040
6041 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6042
6043         * MenuBackend.C (expandToc): gettext on float names.
6044
6045 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6046
6047         * lyxlength.[Ch]: set default unit to UNIT_NONE,
6048         implement bool empty() [bug 490]
6049
6050 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
6053
6054 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * several files: ws changes
6057
6058 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6059
6060         * text2.C (setCounter): clean up a bit, use boost.format.
6061         (updateCounters): initialize par upon declaration.
6062
6063         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
6064         if the layout exists. We do not just store the layout any more.
6065         (SwitchLayoutsBetweenClasses): use boost.format
6066
6067 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6068
6069         * converter.C (convert): if from and to files are the same, use a
6070         temporary files as intermediary
6071
6072 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6073
6074         * commandtags.h:
6075         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
6076
6077 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6078
6079         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
6080
6081 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6082
6083         * tabular.C (asciiPrintCell): use string(size, char) instead of
6084         explicit loop.
6085
6086         * sgml.C (openTag): fix order of arguments to string constructor
6087         (closeTag): ditto
6088
6089         * lyxfunc.C (dispatch): use boost.format
6090
6091         * lots of files: change "c" -> 'c'
6092
6093 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6094
6095         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
6096
6097 2002-11-25  Angus Leeming  <leeming@lyx.org>
6098
6099         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
6100
6101         * lyx_main.C (init): compile fix.
6102
6103 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6104
6105         * lyx_cb.C (start): boost.formatify
6106         do not include <iostream>
6107
6108         * lengthcommon.C: ws only
6109
6110         * boost-inst.C,BoostFormat.h: add more explict instantations
6111
6112 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * lots of files: handle USE_BOOST_FORMAT
6115
6116 2002-11-21  John Levon  <levon@movementarian.org>
6117
6118         * pspell.C: fix compile
6119
6120 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6121
6122         * lyxfunc.C (dispatch): use boost::format
6123         (open): ditto
6124         (doImport): ditto
6125
6126         * lyxfont.C (stateText): use boost::format
6127
6128         * lyx_main.C (LyX): use boost::format
6129         (init): ditto
6130         (queryUserLyXDir): ditto
6131         (readRcFile): ditto
6132         (parse_dbg): ditto
6133         (typedef boost::function): use the recommened syntax.
6134
6135         * importer.C (Import): use boost::format
6136
6137         * debug.C (showLevel): use boost::format
6138
6139         * converter.C (view): use boost::format
6140         (convert): ditto
6141         (move): ditto
6142         (scanLog): ditto
6143
6144         * bufferview_funcs.C (currentState): use boost::format
6145
6146         * bufferlist.C (emergencyWrite): use boost::format
6147
6148         * buffer.C (readLyXformat2): use boost::format
6149         (parseSingleLyXformat2Token): ditto
6150
6151         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
6152
6153         * LaTeX.C (run): use boost::format
6154
6155         * Chktex.C (scanLogFile): use boost::format
6156
6157         * BufferView_pimpl.C (savePosition): use boost::format
6158         (restorePosition): ditto
6159         (MenuInsertLyXFile): ditto
6160
6161         * BoostFormat.h: help file for explicit instation.
6162
6163 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
6164
6165         * tabular.C (latex): Support for block alignment in fixed width
6166         columns.
6167
6168 2002-11-17  John Levon  <levon@movementarian.org>
6169
6170         * BufferView_pimpl.C:
6171         * lyx_cb.C:
6172         * lyxfunc.C: split filedialog into open/save
6173
6174 2002-11-08  Juergen Vigna  <jug@sad.it>
6175
6176         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
6177         by my last patch (hopefully).
6178
6179 2002-11-08  John Levon  <levon@movementarian.org>
6180
6181         * iterators.h:
6182         * iterators.C:
6183         * buffer.h:
6184         * buffer.C:
6185         * paragraph.h:
6186         * paragraph.C:
6187         * toc.h:
6188         * toc.C: ParConstIterator, and use it (from Lars)
6189
6190 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
6191
6192         * lyxtextclass.[Ch]: revise and add doxygen comments
6193
6194 2002-11-07  John Levon  <levon@movementarian.org>
6195
6196         * text.C: fix progress value for spellchecker
6197
6198         * toc.C: fix navigate menu for insetwrap inside minipage
6199
6200         * paragraph_funcs.C: added FIXME for suspect code
6201
6202 2002-11-07  John Levon  <levon@movementarian.org>
6203
6204         * BufferView_pimpl.C: fix redrawing of insets
6205           on buffer switch
6206
6207 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6208
6209         * text2.C (updateCounters): fix bug 668
6210
6211 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
6212
6213         * text3.C (dispatch): Do not make the buffer dirty when moving the
6214         cursor.
6215
6216 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * vc-backend.C: STRCONV
6219         (scanMaster): ditto
6220
6221         * text2.C (setCounter): STRCONV
6222
6223         * paragraph.C (asString): STRCONV
6224
6225         * lyxlength.C (asString): STRCONV
6226         (asLatexString): ditto
6227
6228         * lyxgluelength.C (asString): STRCONV
6229         (asLatexString): ditto
6230
6231         * lyxfunc.C (dispatch): STRCONV
6232         (open): ditto
6233
6234         * lyxfont.C (stateText): STRCONV
6235
6236         * importer.C (Import): STRCONV
6237
6238         * counters.C (labelItem): STRCONV
6239         (numberLabel): ditto
6240         (numberLabel): remove unused ostringstream o
6241
6242         * chset.C: STRCONV
6243         (loadFile): ditto
6244
6245         * bufferview_funcs.C (currentState): STRCONV
6246
6247         * buffer.C (readFile): STRCONV
6248         (asciiParagraph): ditto
6249         (makeLaTeXFile): ditto
6250
6251         * Spacing.C (writeEnvirBegin): STRCONV
6252
6253         * LaTeXFeatures.C (getLanguages): STRCONV
6254         (getPackages): ditto
6255         (getMacros): ditto
6256         (getBabelOptions): ditto
6257         (getTClassPreamble): ditto
6258         (getLyXSGMLEntities): ditto
6259         (getIncludedFiles): ditto
6260
6261         * LaTeX.C: STRCONV
6262         (run): ditto
6263         (scanAuxFile): ditto
6264         (deplog): ditto
6265
6266         * LString.h: add the STRCONV macros
6267
6268         * BufferView_pimpl.C (savePosition): STRCONV
6269         (restorePosition): ditto
6270         (MenuInsertLyXFile): ditto
6271
6272         * vc-backend.C (scanMaster): change from submatch[...] to
6273         submatch.str(...)
6274
6275         * funcrequest.C: include config.h
6276
6277         * factory.C: include config.h
6278
6279         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
6280
6281         * box.C: include config.h
6282
6283         * LaTeX.C (scanAuxFile): change from submatch[...] to
6284         submatch.str(...)
6285         (deplog): ditto
6286
6287 2002-10-25  Angus Leeming  <leeming@lyx.org>
6288
6289         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
6290
6291         * ispell.[Ch] (setError): new method.
6292         * ispell.C (c-tor): move out child process into new class LaunchIspell.
6293         Use setError() insetead of goto END.
6294
6295         * lyx_cb.C (AutoSave): move out child process into new class
6296         AutoSaveBuffer.
6297
6298 2002-10-30  John Levon  <levon@movementarian.org>
6299
6300         * text3.C: make start appendix undoable
6301
6302 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
6303
6304         * lyxlength.C (inPixels): Fix returned value.
6305
6306         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
6307         environment.
6308
6309 2002-10-24  Angus Leeming  <leeming@lyx.org>
6310
6311         * lyxgluelength.h: no need to forward declare BufferParams
6312         or BufferView, so don't.
6313
6314 2002-10-21  John Levon  <levon@movementarian.org>
6315
6316         * BufferView.C: menuUndo ->undo, redo
6317
6318         * BufferView.h: document, remove dead, make some methods private
6319
6320         * paragraph_funcs.h:
6321         * paragraph_funcs.C:
6322         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
6323
6324         * buffer.h:
6325         * buffer.C:
6326         * sgml.h:
6327         * sgml.C: move sgml open/close tag into sgml.C
6328
6329         * bufferview_funcs.h: unused prototype
6330
6331         * lyxfunc.h:
6332         * lyxfunc.C: remove unused
6333
6334         * lyxtext.h:
6335         * text.C: remove unused
6336
6337 2002-10-21  John Levon  <levon@movementarian.org>
6338
6339         * BufferView.h:
6340         * BufferView.C:
6341         * BufferView_pimpl.h:
6342         * BufferView_pimpl.C: fix mouse wheel handling based on
6343           patch from Darren Freeman
6344
6345 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
6346
6347         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
6348
6349 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
6350
6351         * lyxlength.C (inPixels): Fix hanfling of negative length.
6352         Fix LyXLength::MU case.
6353
6354 2002-10-16  John Levon  <levon@movementarian.org>
6355
6356         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
6357
6358 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6359
6360         * converter.C (view): add support for $$i (file name) and $$p
6361         (file path) for the viewer command. If $$i is not specified, then
6362         it is appended to the command (for compatibility with old syntax)
6363
6364 2002-10-14  Juergen Vigna  <jug@sad.it>
6365
6366         * undo_funcs.C (textHandleUndo): alter the order in which the
6367         new undopar is added to the LyXText, as we have to set first
6368         the right prev/next and then add it as otherwise the rebuild of
6369         LyXText is not correct. Also reset the cursor to the right paragraph,
6370         with this IMO we could remove the hack in "redoParagraphs()".
6371
6372 2002-10-09  Angus Leeming  <leeming@lyx.org>
6373
6374         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
6375         to turn off an optimisation if a new inset is to be inserted.
6376
6377 2002-10-11 André Pönitz <poenitz@gmx.net>
6378
6379         * lyxtext.h: make some functions public to allow access
6380         from inset/lyxtext for handling LFUN_PRIOR/NEXT
6381
6382 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6383
6384         * text3.C (dispatch): when changing layout, avoid an infinite loop
6385         [bug #652]
6386
6387 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6388
6389         * lyxrc.C (read): treat a viewer or converter command of "none" as
6390         if it were empty.
6391
6392         * MenuBackend.C (expandFormats): for an update, also allow the
6393         formats that are not viewable
6394
6395         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
6396         script if it is newer than the lyxrc.defaults in user directory
6397
6398 2002-10-07 André Pönitz <poenitz@gmx.net>
6399
6400         * text.C: Vitaly Lipatov's small i18n fix
6401
6402 2002-09-25  Angus Leeming  <leeming@lyx.org>
6403
6404         * ispell.h: doxygen fix.
6405
6406 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
6407
6408         * buffer.h (readFile): Add a new argument to the method, to allow
6409         reading of old-format templates.
6410
6411 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
6412
6413         * toc.C (getTocList): Get TOC from InsetWrap.
6414
6415 2002-09-16  John Levon  <levon@movementarian.org>
6416
6417         * lyxfunc.C: check tabular for cut/copy too
6418
6419 2002-09-12  John Levon  <levon@movementarian.org>
6420
6421         * LyXAction.C: tidy
6422
6423         * factory.h:
6424         * factory.C: add header
6425
6426         * paragraph_funcs.h:
6427         * paragraph_funcs.C: cleanup
6428
6429 2002-09-11  John Levon  <levon@movementarian.org>
6430
6431         * PrinterParams.h: odd/even default to true
6432
6433 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
6434
6435         * PrinterParams.h: update printer parameters for new xforms dialog
6436
6437 2002-09-11  Angus Leeming  <leeming@lyx.org>
6438
6439         * lyxserver.C (read_ready): re-write to make it more transparent
6440         and to make it work in coherent fashion under Tru64 Unix.
6441
6442 2002-09-11  André Pönitz <poenitz@gmx.net>
6443
6444         * commandtags.h:
6445         * LyXAction.C:
6446         * text3.C: implement LFUN_WORDSEL
6447
6448 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
6451         make floatlist_ a boost::shared_ptr<FloatList>
6452
6453         * lyxtextclass.C: include FloatList.h
6454         (LyXTextClass): initialize floatlist_
6455         (TextClassTags): add TC_NOFLOAT
6456         (Read): match "nofloat" to TC_NOFLOAT and use it.
6457         (readFloat): modify call to floatlist_
6458         (floats): ditto
6459         (floats): ditto
6460
6461         * FloatList.[Ch] (FloatList): remove commented out float
6462         initialization.
6463         (erase): new function
6464
6465 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6466
6467         * MenuBackend.C (expandToc): fix crash when there is no document
6468         open
6469
6470 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
6471
6472         * many files: Add insetwrap.
6473
6474 2002-09-09  John Levon  <levon@movementarian.org>
6475
6476         * text2.C: remove confusing and awkward depth wraparound
6477
6478 2002-09-09  John Levon  <levon@movementarian.org>
6479
6480         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
6481
6482         * buffer.h:
6483         * buffer.C: remove getIncludeonlyList()
6484
6485         * paragraph.C:
6486         * lyxfunc.C: remove headers
6487
6488 2002-09-09  Juergen Vigna  <jug@sad.it>
6489
6490         * text.C (getColumnNearX): fix form Michael this is most
6491         probably a cut&paste bug.
6492
6493 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
6496
6497         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
6498         references, ws changes.
6499
6500         * text2.C (init): update counters after init
6501         (insertParagraph): no need to set counter on idividual paragraphs.
6502         (setCounter): access the counters object in the textclass object
6503         on in the buffer object.
6504         (updateCounters): ditto
6505
6506         * lyxtextclass.C: include counters.h, add variable ctrs_ as
6507         shared_ptr<Counters> to avoid loading counters.h in all
6508         compilation units.
6509         (LyXTextClass): initialize ctrs_
6510         (TextClassTags): add TC_COUNTER, and ...
6511         (Read): use it here.
6512         (CounterTags): new tags
6513         (readCounter): new function
6514         (counters): new funtion
6515         (defaultLayoutName): return a const reference
6516
6517         * counters.C (Counters): remove contructor
6518         (newCounter): remove a couple of unneeded statements.
6519         (newCounter): simplify a bit.
6520         (numberLabel): some small formatting changes.
6521
6522         * buffer.[Ch]: remove all traces of counters, move the Counters
6523         object to the LyXTextClass.
6524
6525 2002-09-06  Alain Castera  <castera@in2p3.fr>
6526
6527         * tabular.C: uses \tabularnewline; uses >{...} construct from array
6528         package to set the horizontal alignment on fixed width columns.
6529
6530         * lyx_sty.C:
6531         * lyx_sty.h: added tabularnewline macro def.
6532
6533         * LaTeXFeatures.C: added NeedTabularnewline macro feature
6534
6535 2002-09-06  John Levon  <levon@movementarian.org>
6536
6537         * LyXAction.C: tooltips for sub/superscript
6538
6539         * MenuBackend.C: a bit more verbose
6540
6541         * lyxfunc.C: tiny clean
6542
6543         * undo_funcs.C: document undo_frozen
6544
6545 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
6546
6547         * counters.C (Counters): add missing algorithm counter.
6548
6549         * text2.C (setCounter): lookup the counter with layouts latexname
6550         instead of by section number.
6551         (setCounter): use a hackish way to lookup the correct enum
6552         counter.
6553         a float name->type change
6554         reset enum couners with counter name directly instead of depth value.
6555
6556         * counters.C (Counters): remove the push_backs, change to use the
6557         float type not the float name.
6558         (labelItem): remove unused string, float name->type change
6559
6560         * counters.h: don't include vector, loose the enums and sects vectors
6561
6562 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6563
6564         * lyxtextclass.C (TextClassTags): add TC_FLOAT
6565         (Read): add float->TC_FLOAT to textclassTags
6566         (Read): and handle it in the switch
6567         (readFloat): new function
6568
6569         * FloatList.C (FloatList): comment out the hardcoded float
6570         definitions.
6571
6572         * lyxlayout.h: ws change.
6573
6574 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
6575
6576         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
6577
6578 2002-09-03  Angus Leeming  <leeming@lyx.org>
6579
6580         * BufferView_pimpl.h: qualified name is not allowed in member
6581         declaration: WorkArea & Pimpl::workarea() const;
6582
6583         * factory.C: added using std::endl directive.
6584
6585         * text3.C: added using std::find and std::vector directives.
6586
6587 2002-08-29  André Pönitz <poenitz@gmx.net>
6588
6589         * lyxtext.h:
6590         * text2.C: remove unused member number_of_rows
6591
6592         * Makefile.am:
6593         * BufferView2.C: remove file, move contents to...
6594         * BufferView.C: ... here
6595
6596         * BufferView_pimpl.C:
6597         * factory.C: move more inset creation to factory
6598
6599         * vspace.C: avoid direct usage of LyXText, ws changes
6600
6601         * BufferView.[Ch]:
6602                 don't provide direct access to WorkArea, use two simple
6603                 acessors haveSelction() and workHeight() instead
6604
6605
6606 2002-08-29  John Levon  <levon@movementarian.org>
6607
6608         * BufferView_pimpl.C (dispatch): do not continue when
6609           no buffer
6610
6611 2002-08-28  André Pönitz <poenitz@gmx.net>
6612
6613         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
6614
6615         * BufferView.h:
6616         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
6617
6618 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
6619
6620         * buffer.C: increment LYX_FORMAT to 221
6621
6622         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
6623         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
6624
6625         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
6626
6627         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
6628
6629 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6630
6631         * factory.C (createInset): use LyXTextClass::floats
6632
6633         * MenuBackend.C (expandFloatListInsert):
6634         (expandFloatInsert):
6635         (expandToc):
6636
6637         * text2.C (setCounter):
6638
6639         * LaTeXFeatures.C (useFloat):
6640         (getFloatDefinitions):
6641
6642         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
6643
6644         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
6645         floatlist_, with accessor floats().
6646
6647         * FloatList.h: remove global FloatList
6648
6649 2002-08-26  André Pönitz <poenitz@gmx.net>
6650
6651         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6652
6653         * BufferView.h:
6654         * BufferView2.C:
6655         * BufferView_pimpl.C:
6656         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6657
6658 2002-08-25  John Levon  <levon@movementarian.org>
6659
6660         * LyXAction.C: fix margin note description
6661
6662 2002-08-24  John Levon  <levon@movementarian.org>
6663
6664         * buffer.C:
6665         * bufferlist.C:
6666         * bufferview_funcs.C:
6667         * lyxfont.C:
6668         * undo_funcs.C: cleanups
6669
6670         * lyxfunc.C: disable CUT/COPY when no selection
6671
6672 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6673
6674         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6675         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6676
6677         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6678         Add backward compatibility to "mono", "gray" and "no".
6679
6680 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6681
6682         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6683         (and file_format >= 200).
6684
6685 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6686
6687         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6688
6689 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6690
6691         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6692
6693 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6694
6695         * BufferView_pimpl.C:
6696         * LyXAction.C:
6697         * buffer.C:
6698         * commandtags.h:
6699         * lyxfunc.C:
6700         * paragraph.[Ch]:
6701         * text2.C:
6702         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6703         inset and code to make it  work with the paragraph code. The inset
6704         can be anywhere in the paragraph, but will only do the expected
6705         thing in LaTeX if the layout file contains the parameter line
6706                         OptionalArgs    1
6707         (or more generally, a nonzero value) for that layout.
6708
6709 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6710
6711         * paragraph.h: remove the declaration of undefined counters class
6712         function.
6713
6714 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6715
6716         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6717         Dr. Richard Hawkins.
6718
6719 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6720
6721         * paragraph_funcs.h: remove some unneeded includes
6722
6723         * text.C (backspace): pasteParagraph now in global scipe
6724
6725         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6726         (pasteSelection): ditto
6727
6728         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6729         * paragraph_funcs.C (pasteParagraph): ... here
6730
6731 2002-08-20  André Pönitz <poenitz@gmx.net>
6732
6733         * commandtags.h: new LFUNs for swapping/copying table row/colums
6734
6735         * LyXAction.C:
6736         * lyxfunc.C: support for new lfuns
6737
6738 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6739
6740         * tabular.C:
6741         * buffer.[Ch]: remove NO_COMPABILITY stuff
6742
6743 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6744
6745         * boost.C (throw_exception): new file, with helper function for
6746         boost compiled without exceptions.
6747
6748         * paragraph.h:
6749         * lyxlength.C:
6750         * buffer.C:
6751         * ParameterStruct.h:
6752         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6753
6754         * bufferlist.C (emergencyWriteAll): use boost bind
6755
6756         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6757
6758         * text.C: include paragraph_funcs.h
6759         (breakParagraph): breakParagraph is now in global scope
6760
6761         * paragraph_funcs.[Ch]: new files
6762
6763         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6764         global scope
6765
6766         * buffer.C: include paragraph_funcs.h
6767         (insertStringAsLines): breakParagraph is now in global scope
6768
6769         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6770         paragraph_funcs.C
6771
6772         * CutAndPaste.C: include paragraph_funcs.h
6773         (cutSelection): breakParagraphConservative is now in global scope
6774         (pasteSelection): ditto
6775
6776         * buffer.h: declare oprator== and operator!= for
6777         Buffer::inset_iterator
6778
6779         * bufferlist.C (emergencyWrite): don't use fmt(...)
6780
6781         * text3.C: add using std::endl
6782
6783         * BufferView.C (moveCursorUpdate): remove default arg
6784
6785 2002-08-20  André Pönitz <poenitz@gmx.net>
6786
6787         * buffer.[Ch]: move inline functions to .C
6788
6789         * BufferView2.C:
6790         * BufferView_pimpl.C:
6791         * text.C:
6792         * buffer.[Ch]: use improved inset_iterator
6793
6794         * buffer.C:
6795         * paragraph.[Ch]: write one paragraph at a time
6796
6797 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6798
6799         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6800         style if style is not specified.
6801
6802 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6803
6804         * text2.C (setCounter): when searching for right label for a
6805         caption, make sure to recurse to parent insets (so that a caption
6806         in a minipage in a figure float works) (bug #568)
6807
6808 2002-08-20  André Pönitz <poenitz@gmx.net>
6809
6810         * text3.C: new file for LyXText::dispatch() and helpers
6811
6812         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6813
6814         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6815
6816 2002-08-19  André Pönitz <poenitz@gmx.net>
6817
6818         * lyxtext.h:
6819         * text.C: new LyXText::dispatch()
6820
6821         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6822
6823 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6824
6825         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6826
6827         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6828         Hebrew text.
6829
6830 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6831
6832         * Makefile.am: use $(variables) instead of @substitutions@
6833
6834 2002-08-15  André Pönitz <poenitz@gmx.net>
6835
6836         * lyxfunc.C:
6837         * BufferView_pimpl.C: streamlining mathed <-> outer world
6838         interaction
6839
6840         * commandtags.h:
6841         * LyXAction.C: remove unused LFUN_MATH
6842
6843 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6844
6845         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6846
6847 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * paragraph.C (Paragraph): reformat a bit
6850         (cutIntoMinibuffer): use builtin InsetList function instad of
6851         doing it manually.
6852         (getInset): ditto
6853
6854         * buffer.C: include boost/bind.hpp, add using std::for_each
6855         (writeFileAscii): use ParagraphList iterators
6856         (validate): use for_each for validate traversal of paragraphs
6857         (getBibkeyList): use ParagraphList iterators
6858         (resizeInsets): use for_each to resizeInsetsLyXText for all
6859         paragraphs.
6860         (getParFromID): use ParagraphList iterators
6861
6862         * BufferView2.C (lockInset): use paragraph list and iterators
6863
6864 2002-08-14  John Levon  <levon@movementarian.org>
6865
6866         * lyxserver.C: remove spurious xforms include
6867
6868 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6869
6870         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6871
6872 2002-08-13  André Pönitz <poenitz@gmx.net>
6873
6874         * LyXAction.[Ch]:
6875         * lyxfunc.C: further cleaning
6876
6877 2002-08-13  André Pönitz <poenitz@gmx.net>
6878
6879         * funcrequest.h: new constructor
6880
6881         * funcrequest.C: move stuff here from .h
6882
6883         * Makefile.am:
6884         * BufferView_pimpl.C:
6885         * LyXAction.C:
6886         * toc.C:
6887         * lyxfunc.C: subsequent changes
6888
6889         * lyxfunc.h: new view() member function
6890
6891         * lyxfunc.C: subsequent changes
6892
6893 2002-08-13  Angus Leeming  <leeming@lyx.org>
6894
6895         * BufferView2.C:
6896         * BufferView_pimpl.C:
6897         * buffer.C:
6898         * converter.C:
6899         * importer.C:
6900         * lyxfunc.C:
6901         * lyxvc.C:
6902         * toc.C:
6903         * vc-backend.C:
6904         changes due to the changed LyXView interface that now returns references
6905         to member variables not pointers.
6906
6907 2002-08-13  Angus Leeming  <leeming@lyx.org>
6908
6909         * WordLangTuple (word, lang_code): return references to strings,
6910         not strings.
6911
6912         * BufferView.h:
6913         * SpellBase.h:
6914         * lyxtext.h: forward-declare WordLangTuple.
6915
6916         * BufferView2.C:
6917         * ispell.C:
6918         * pspell.C:
6919         * text.C: #include "WordLangTuple.h".
6920
6921         * lyxtext.h:
6922         * text.C: (selectNextWordToSpellcheck): constify return type.
6923
6924 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6925
6926         * buffer.C:
6927         * buffer.h:
6928         * lyxtext.h:
6929         * paragraph.C:
6930         * paragraph_pimpl.h:
6931         * text.C:
6932         * text2.C:
6933         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6934         suggested by Angus.
6935         Made updateCounter always count from start of buffer, and removed
6936         second argument (par).
6937         Reverted floats number display to '#'. Perhaps I'll try again when the
6938         code base is sanitized a bit.
6939
6940 2002-08-12  Angus Leeming  <leeming@lyx.org>
6941
6942         * buffer.[Ch] (getLabelList): constify.
6943
6944 2002-08-07  André Pönitz <poenitz@gmx.net>
6945
6946         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6947
6948         * funcrequest.h: extension to keep mouse (x,y) position
6949
6950 2002-08-12  Juergen Vigna  <jug@sad.it>
6951
6952         * BufferView2.C (insertErrors): forbid undo when inserting error
6953         insets.
6954
6955         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6956
6957 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * ParagraphList.[Ch]: new files
6960
6961         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6962
6963         * BufferView2.C (lockInset): ParagraphList changes
6964         * toc.C: ditto
6965         * text2.C: ditto
6966         * bufferlist.C: ditto
6967         * buffer.h: ditto
6968         * buffer.C: ditto
6969
6970 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6971
6972         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6973         unused class variable counter_,
6974
6975         * paragraph.[Ch] (getFirstCounter): delete unused function
6976
6977         * counters.C: include LAssert.h
6978         (reset): add a new function with no arg, change other version to
6979         not have def. arg and to not allow empty arg.
6980
6981         * text2.C (setCounter): remove empty arg from call to Counters::reset
6982
6983 2002-08-11  John Levon  <levon@movementarian.org>
6984
6985         * Makefile.am: add WordLangTuple.h
6986
6987 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6988
6989         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6990         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6991
6992         * insets/insettext.C: InsetList changes
6993
6994         * graphics/GraphicsSupport.C (operator()): InsetList changes
6995
6996         * toc.C (getTocList): InsetList changes
6997
6998         * paragraph_pimpl.[Ch]: InsetList changes
6999
7000         * paragraph.[Ch]: InsetList changes
7001
7002         * buffer.C (inset_iterator): InsetList changes
7003         (setParagraph): ditto
7004         * buffer.h (inset_iterator): ditto
7005         * iterators.C (operator++): ditto
7006         * iterators.h: ditto
7007
7008         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
7009
7010         * InsetList.[Ch]: new files, most InsetList handling moved out of
7011         paragraph.C.
7012
7013         * BufferView2.C (removeAutoInsets): InsetList changes
7014         (lockInset): ditto
7015         (ChangeInsets): ditto
7016
7017 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7018
7019         * paragraph_pimpl.h (empty): new function
7020
7021         * paragraph.[Ch] (empty): new function
7022
7023         * other files: use the new Paragraph::empty function
7024
7025 2002-08-09  John Levon  <levon@movementarian.org>
7026
7027         * lyxtext.h: remove unused refresh_height
7028
7029 2002-08-09  John Levon  <levon@movementarian.org>
7030
7031         * Makefile.am:
7032         * sgml.h:
7033         * sgml.C:
7034         * buffer.C:
7035         * paragraph.h:
7036         * paragraph.C: move sgml char escaping out of paragraph
7037
7038         * paragraph.h:
7039         * paragraph.C: remove id setter
7040
7041         * buffer.C:
7042         * paragraph.C:
7043         * paragraph_pimpl.C: remove dead tex_code_break_column
7044
7045         * bufferview_funcs.C: small cleanup
7046
7047         * lyxfunc.C: remove dead proto
7048
7049         * lyxtext.h: make some stuff private. Remove some dead stuff.
7050
7051         * lyxgluelength.C: make as[LyX]String() readable
7052
7053 2002-08-08  John Levon  <levon@movementarian.org>
7054
7055         * LyXAction.h:
7056         * LyXAction.C:
7057         * MenuBackend.C:
7058         * ToolbarDefaults.C:
7059         * lyxfunc.C:
7060         * lyxrc.C:
7061         * toc.C: lyxaction cleanup
7062
7063 2002-08-08  John Levon  <levon@movementarian.org>
7064
7065         * BufferView2.C: small cleanup
7066
7067         * lyxfind.h:
7068         * lyxfind.C: move unnecessary header into the .C
7069
7070 2002-08-08  John Levon  <levon@movementarian.org>
7071
7072         * funcrequest.h: just tedious nonsense
7073
7074         * lyx_main.h:
7075         * lyx_main.C: cleanups
7076
7077         * buffer.C:
7078         * vspace.C: remove dead header lyx_main.h
7079
7080 2002-08-07  Angus Leeming  <leeming@lyx.org>
7081
7082         * Paragraph.[Ch]:
7083         * paragraph_pimpl.h:
7084         Forward declare class Counters in paragraph.h by moving the ctrs member
7085         variable into Paragraph::Pimpl.
7086         (counters): new method, returning a reference to pimpl_->ctrs.
7087
7088         * text2.C: ensuing changes.
7089
7090 2002-08-07  John Levon  <levon@movementarian.org>
7091
7092         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
7093
7094         * BufferView_pimpl.C: announce X selection on double/triple
7095           click
7096
7097         * lyx_main.C: use correct bool in batch dispatch
7098
7099         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
7100
7101 2002-08-07  André Pönitz <poenitz@gmx.net>
7102
7103         * funcrequest.h: new class to wrap a kb_action and its argument
7104
7105         * BufferView.[Ch]:
7106         * BufferView_pimpl[Ch]:
7107         * LaTeX.C:
7108         * LyXAction.[Ch]:
7109         * lyxfunc.[Ch]:
7110         * lyxrc.C: subsequent changes
7111
7112
7113 2002-08-07  John Levon  <levon@movementarian.org>
7114
7115         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
7116           document options change.
7117
7118 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
7119
7120         * counters.[Ch]
7121         * text2.C
7122         * paragraph.[Ch]
7123         * makefile.am: move counters functionality over from
7124         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
7125
7126 2002-08-06  John Levon  <levon@movementarian.org>
7127
7128         * WordLangTuple.h: new file for word + language code tuple
7129
7130         * SpellBase.h:
7131         * pspell.h:
7132         * pspell.C:
7133         * ispell.h:
7134         * ispell.C:
7135         * lyxtext.h:
7136         * text.C:
7137         * text2.C:
7138         * BufferView.h:
7139         * BufferView2.C: use WordLangTuple
7140
7141         * layout.h:
7142         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
7143
7144 2002-08-06  John Levon  <levon@movementarian.org>
7145
7146         * lyx_main.C: fix cmdline batch handling
7147
7148 2002-08-06  André Pönitz <poenitz@gmx.net>
7149
7150         * lyxrc.C: set default for show_banner to true
7151
7152 2002-08-06  John Levon  <levon@movementarian.org>
7153
7154         * pspell.C: fix a crash, and allow new aspell to work
7155
7156 2002-08-06  John Levon  <levon@movementarian.org>
7157
7158         * lyxfunc.C:
7159         * kbmap.C: small cleanup
7160
7161         * vspace.h:
7162         * vspace.C: add const
7163
7164 2002-08-05  John Levon  <levon@movementarian.org>
7165
7166         * LyXAction.C: back to tabular-insert
7167
7168 2002-08-04  John Levon  <levon@movementarian.org>
7169
7170         * BufferView.h:
7171         * BufferView.C: cosmetic change
7172
7173         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
7174
7175         * bufferlist.C:
7176         * buffer.h:
7177         * buffer.C:
7178         * lyxcb.h:
7179         * lyxcb.C:
7180         * lyxserver.C:
7181         * lyxvc.C:
7182         * vc-backend.C:
7183         * BufferView2.C: purge all "Lyx" not "LyX" strings
7184
7185         * lyxcursor.h:
7186         * lyxcursor.C: attempt to add some documentation
7187
7188         * lyxfunc.C:
7189         * commandtags.h:
7190         * LyXAction.C:
7191         * ToolbarDefaults.C:
7192         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
7193           merge with LFUN_TABULAR_INSERT
7194
7195         * Makefile.am:
7196         * SpellBase.h:
7197         * ispell.h:
7198         * ispell.C:
7199         * pspell.h:
7200         * pspell.C: split up i/pspell implementations into separate
7201           files, many cleanups
7202
7203         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
7204
7205         * text2.C: some cleanup
7206
7207         * lyxfunc.C: don't check for isp_command == "none" any more, it
7208           didn't make any sense
7209
7210 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
7211
7212         * counters.[Ch]
7213         * text2.C
7214         * paragraph.[Ch]
7215         * makefile.am: move counters functionality over
7216         from text2.C/paragraph.[Ch] to counters.[Ch], and
7217         make proper C++.
7218 2002-08-02  John Levon  <levon@movementarian.org>
7219
7220         * buffer.C: s/lyxconvert/lyx2lyx/
7221
7222 2002-08-02  Angus Leeming  <leeming@lyx.org>
7223
7224         * lyxlex.C: revert John's change as it breaks reading of the user
7225         preamble.
7226
7227 2002-08-02  Angus Leeming  <leeming@lyx.org>
7228
7229         * importer.C (Import):
7230         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
7231         changes due to LyXView::view() now returning a boost::shared_ptr.
7232
7233 2002-08-02  John Levon  <levon@movementarian.org>
7234
7235         * lyxlex.C: small cleanup
7236
7237 2002-08-02  John Levon  <levon@movementarian.org>
7238
7239         * text2.C (status): small cleanup, no logic change
7240
7241 2002-08-01  John Levon  <levon@movementarian.org>
7242
7243         * buffer.h:
7244         * buffer.C (writeFile): don't output alerts, caller
7245           handles this
7246
7247         * bufferlist.C:
7248         * lyx_cb.C: from above
7249
7250         * lyxfunc.C: allow to open non-existent files
7251
7252 2002-07-31  John Levon  <levon@movementarian.org>
7253
7254         * lyxserver.C: don't let incidental errors get
7255           in the way (errno)
7256
7257 2002-07-30  John Levon  <levon@movementarian.org>
7258
7259         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
7260
7261 2002-07-30  John Levon  <levon@movementarian.org>
7262
7263         * lyxserver.h:
7264         * lyxserver.C: remove I/O callback too
7265
7266 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7267
7268         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
7269         log.
7270
7271 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7272
7273         * many files: strip,frontStrip -> trim,ltrim,rtrim
7274
7275 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * PrinterParams.h: remove extern containsOnly, and include
7278         support/lstrings.h instead.
7279
7280         * LaTeX.C (scanAuxFile): modify because of strip changes
7281         (deplog): ditto
7282         * buffer.C (makeLaTeXFile): ditto
7283         * bufferparams.C (writeFile): ditt
7284         * lyxfont.C (stateText): ditto
7285         * lyxserver.C (read_ready): ditto
7286         * vc-backend.C (scanMaster): ditto
7287
7288         * BufferView_pimpl.h: ws changes
7289
7290         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
7291
7292 2002-07-26  André Pönitz <poenitz@gmx.net>
7293
7294         * kb_sequence.C: remove unnedred usings
7295
7296 2002-07-26  Juergen Vigna  <jug@sad.it>
7297
7298         * lyxfind.C (LyXReplace): we have to check better if the returned
7299         text is not of theLockingInset()->getLockingInset().
7300
7301 2002-07-25  Juergen Vigna  <jug@sad.it>
7302
7303         * lyxfind.C (LyXReplace): don't replace if we don't get the
7304         right LyXText.
7305
7306         * undo_funcs.C (createUndo): remove debugging code.
7307
7308 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
7309
7310         * buffer.C (parseSingleLyXformat2Token): Use default placement
7311         when reading old floats.
7312
7313         * FloatList.C (FloatList): Change the default placement of figure
7314         and tables to "tbp".
7315
7316 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
7317
7318         * MenuBackend.C: using std::max
7319
7320 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7321
7322         * MenuBackend.C (expandToc):
7323         (expandToc2): code moved from xforms menu frontend. It is now
7324         generic and TOCs are transparent to menu frontends.
7325
7326 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7327
7328         * toc.C (getTocList): protect against buf=0
7329
7330         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
7331         Menu as first parameter. Now, this calls itself recursively to
7332         expand a whole tree (this will be useful for TOC handling)
7333         (expandFloatInsert): remove 'wide' version of floats
7334
7335         * MenuBackend.h (submenuname): returns the name of the submenu.
7336         (submenu): returns the submenu itself, provided it has been
7337         created by MenuBackend::expand
7338
7339 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7340
7341         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
7342         insets which have noFontChange == true. (bug #172)
7343
7344 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7345
7346         * BufferView_pimpl.C: add connection objects and use them...
7347         (Pimpl): here.
7348
7349 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7350
7351         * MenuBackend.C (expandLastfiles):
7352         (expandDocuments):
7353         (expandFormats):
7354         (expandFloatListInsert):
7355         (expandFloatInsert):
7356         (expand): split expand in parts
7357
7358 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7359
7360         * lyx_gui.C: use lyx_gui::exit()
7361
7362 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7363
7364         * LyXAction.C: show the failing pseudo action
7365
7366 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
7367
7368         * buffer.C (readFile): Run the lyxconvert script in order to read
7369         old files.
7370
7371 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7372
7373         * LyXAction.C:
7374         * commandtags.h:
7375         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
7376
7377 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
7378
7379         * LyXAction.C:
7380         * commandtags.h:
7381         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
7382
7383 2002-07-22  Herbert Voss  <voss@lyx.org>
7384
7385         * lengthcommon.C:
7386         * lyxlength.[Ch]: add support for the vertical lengths
7387
7388 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
7389
7390         * toc.[Ch]: std:: fixes
7391
7392 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7393
7394         * lyxrc.C: do not include lyx_main.h
7395
7396         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
7397         for layouts
7398
7399         * lyxrc.C:
7400         * encoding.C:
7401         * bufferlist.C:
7402         * BufferView2.C: include "lyxlex.h"
7403
7404         * tabular.h:
7405         * bufferparams.h: do not #include "lyxlex.h"
7406
7407         * lyxtextclasslist.C (Add): remove method
7408         (classlist): renamed to classlist_
7409
7410         * paragraph_pimpl.C:
7411         * paragraph.C:
7412         * text2.C:
7413         * CutAndPaste.C:
7414         * bufferview_funcs.C:
7415         * bufferlist.C:
7416         * text.C:
7417         * LaTeXFeatures.C:
7418         * buffer.C:
7419         * toc.C (getTocList): use BufferParams::getLyXTextClass
7420
7421         * toc.C (getTocList): use InsetFloat::addToToc
7422
7423         * toc.[Ch]: new files, containing helper functions to handle table
7424         of contents
7425
7426         * lyxfunc.C (dispatch): no need to remove spaces around command
7427         given as a string
7428         (getStatus): handle LFUN_SEQUENCE by returning the status of the
7429         first command of the sequence; it is not very clever, but I do not
7430         have a better idea, actually
7431
7432         * LyXAction.C (LookupFunc): make sure to remove space at the
7433         beginning and end of the command
7434
7435 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7436
7437         * MenuBackend.C (getMenubar): new method: return the menubar of
7438         this menu set
7439         (read): treat differently reading of menu and menubar (in
7440         particular, the menubar has no name now)
7441         (Menu::menubar): remove
7442
7443         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
7444         saving is finished
7445
7446 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7447
7448         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
7449         a bibitem inset in a RTL paragraph.
7450
7451 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
7452
7453         * paragraph_pimpl.C: constify
7454
7455         * BufferView_pimpl.C:
7456         * LaTeX.C:
7457         * lyxfunc.C: fix dispatch in a nicer way
7458
7459 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7460
7461         * lyxfunc.C (dispatch):
7462         * BufferView_pimpl.C:
7463         * BufferView_pimpl.h:
7464         * BufferView.C:
7465         * BufferView.h: rename Dispatch() to dispatch()
7466
7467         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
7468
7469         * lyxlayout.C (Read): honor DependsOn tag
7470
7471         * lyxlayout.[Ch] (depends_on): new method
7472
7473         * version.C.in: update lyx_docversion
7474
7475         * LaTeXFeatures.C (getMacros): only define \LyX when needed
7476
7477         * paragraph.C (validate): remove from here...
7478         * paragraph_pimpl.C (validate): ... and move here
7479         (isTextAt): make it const
7480
7481         * buffer.C (getLists): ws cleanup
7482
7483 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
7484
7485         * language.C (read): Use iso8859-1 encoding in latex_lang
7486         (this prevents LyX from crashing when using iso10646-1 encoding).
7487
7488 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7489
7490         * text2.C (toggleInset): if cursor is inside an inset, close the
7491         inset and leave cursor _after_ it
7492
7493 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * lyxfunc.C: move minibuffer completion handling out of here
7496
7497 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
7498
7499         * BufferView_pimpl.C:
7500         * LaTeX.C: fix dispatch calls
7501
7502 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
7503
7504         * text.C (drawChars): Fix Arabic text rendering.
7505
7506 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
7507
7508         * LyXAction.C:
7509         * commandtags.h:
7510         * lyxfunc.C: remove message-push/pop
7511
7512         * lyxserver.C:
7513         * lyxfunc.h:
7514         * lyxfunc.C: rationalise some code by removing verboseDispatch
7515           in favour of a bool argument to dispatch()
7516
7517 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7518
7519         * lyx_main.C (init): make sure to read symlinks as absolute paths
7520
7521 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7522
7523         * lyxfunc.h:
7524         * lyxfunc.C: no need for commandshortcut to be a member
7525
7526 2002-07-15  André Pönitz <poenitz@gmx.net>
7527
7528         * converter.C: add support for $$s (scripts from lib/scripts dir)
7529         * lyx_main.C: white space
7530
7531 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7532
7533         * bufferlist.C:
7534         * lyxrc.h:
7535         * lyxrc.C: remove second exit confirmation
7536
7537 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
7538
7539         * BufferView.h:
7540         * BufferView.C:
7541         * BufferView2.C:
7542         * BufferView_pimpl.h:
7543         * BufferView_pimpl.C:
7544         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
7545
7546 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7547
7548         * MenuBackend.C (expand): add numeric shortcuts to document menu
7549
7550         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
7551
7552 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7553
7554         * lyxfont.C (setLyXFamily):
7555         (setLyXSeries):
7556         (setLyXShape):
7557         (setLyXSize):
7558         (setLyXMisc):
7559         (lyxRead):
7560         * debug.C (value):
7561         * buffer.C (asciiParagraph): use ascii_lowercase
7562
7563 2002-07-15  Mike Fabian  <mfabian@suse.de>
7564
7565         * lyxlex_pimpl.C (search_kw):
7566         * lyxlex.C (getLongString):
7567         * converter.h (operator<):
7568         * converter.C (operator<):
7569         * buffer.C (parseSingleLyXformat2Token):
7570         (asciiParagraph):
7571         * ToolbarDefaults.C (read):
7572         * MenuBackend.C (checkShortcuts):
7573         (read):
7574         * LColor.C (getFromGUIName):
7575         (getFromLyXName): use the compare_ascii_no_case instead of
7576         compare_no_case, because in turkish, 'i' is not the lowercase
7577         version of 'I', and thus turkish locale breaks parsing of tags.
7578
7579 2002-07-16  Angus Leeming  <leeming@lyx.org>
7580
7581         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
7582         now takes a Buffer const & argument.
7583
7584 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
7585
7586         * BufferView.C (resize): check there's a buffer to resize
7587
7588 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
7589
7590         * lyxfunc.C: remove dead code
7591
7592         * lyxserver.h:
7593         * lyxserver.C: use lyx_guii::set_read_callback
7594
7595 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7596
7597         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
7598         an inset in a RTL paragraph.
7599
7600 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * lyxfunc.C: repaint after a font size update
7603
7604 2002-07-15  André Pönitz <poenitz@gmx.net>
7605
7606         * lyxlength.C: inBP should be able to return negative values
7607
7608 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7609
7610         * lyxfunc.C: use lyx_gui::update_fonts()
7611
7612 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
7613
7614         * lyxfunc.C: use lyx_gui::update_color()
7615
7616 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7617
7618         * bufferlist.C:
7619         * lyxfunc.h:
7620         * lyxfunc.C:
7621         * lyxrc.h:
7622         * lyxrc.C: remove file->new asks for name option, and let
7623           buffer-new take an argument
7624
7625 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
7626
7627         * BufferView_pimpl.C: remove unneeded extra repaint()
7628
7629 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
7630
7631         * LyXAction.C: allow command-sequence with NoBuffer
7632
7633         * lyxfunc.C: don't insist on trailing ';' for command-sequence
7634
7635 2002-07-10  Angus Leeming  <leeming@lyx.org>
7636
7637         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
7638
7639 2002-07-09  Angus Leeming  <leeming@lyx.org>
7640
7641         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
7642
7643 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7644
7645         * lengthcommon.h: whitespace
7646
7647         * lyxfunc.C: update scrollbar after goto paragraph
7648
7649         * lyxtext.h: factor out page break drawing, and fix it so
7650           page break/added space paints as selected nicely
7651
7652 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7653
7654         * BufferView_pimpl.C: add FIXMEs, clean up a little
7655
7656 2002-07-09  André Pönitz <poenitz@gmx.net>
7657
7658         * lyxfont.[Ch]: support for wasy symbols
7659
7660 2002-07-08  André Pönitz <poenitz@gmx.net>
7661
7662         * BufferView_pimpl.C: apply John's patch for #93.
7663
7664 2002-07-05  Angus Leeming  <leeming@lyx.org>
7665
7666         * BufferView_pimpl.C (buffer): generate previews if desired.
7667
7668         * LColor.h: add "preview" to the color enum.
7669
7670         * LColor.C (LColor): add a corresponding entry to the items array.
7671
7672         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7673         with this buffer.
7674
7675 2002-07-05  Angus Leeming  <leeming@lyx.org>
7676
7677         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7678         The body of the code is now in the method that is passed an ostream &
7679         rather than a file name.
7680         Pass an additional only_preamble parameter, useful for the forthcoming
7681         preview stuff.
7682
7683 2002-07-03  André Pönitz <poenitz@gmx.net>
7684
7685         * lyxfunc.C: simplify getStatus() a bit for math stuff
7686
7687 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7688
7689         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7690
7691 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7692
7693         * text.C (changeRegionCase): do not change case of all the
7694         document when region ends at paragraph end (bug #461)
7695
7696 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7697
7698         * paragraph.C (startTeXParParams):
7699         (endTeXParParams): add \protect when necessary
7700
7701 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7702
7703         * BufferView_pimpl.C (workAreaExpose): remove warning
7704
7705 2002-06-27  Angus Leeming  <leeming@lyx.org>
7706
7707         * Makefile.am: add lyxlayout_ptr_fwd.h.
7708
7709 2002-06-26  André Pönitz <poenitz@gmx.net>
7710
7711         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7712
7713 2002-06-25  Angus Leeming  <leeming@lyx.org>
7714
7715         * lyxfunc.C (dispatch): Comment out the call to
7716         grfx::GCache::changeDisplay. The method no longer exists now that the
7717         pixmap generation part of the graphics loader has been moved into
7718         InsetGraphics.
7719
7720 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7721
7722         * text2.C: layout as layout
7723
7724         * text.C: layout as layout
7725
7726         * tabular.C (OldFormatRead): layout as layout
7727
7728         * paragraph_pimpl.C (TeXDeeper): layout as layout
7729         (realizeFont): layout as layout
7730
7731         * paragraph.C (writeFile): layout as layout
7732         (validate): layout as layout
7733         (getFont): layout as layout
7734         (getLabelFont): layout as layout
7735         (getLayoutFont): layout as layout
7736         (breakParagraph): layout as layout
7737         (stripLeadingSpaces): layout as layout
7738         (getEndLabel): layout as layout
7739         (getMaxDepthAfter): layout as layout
7740         (applyLayout): layout as layout
7741         (TeXOnePar): layout as layout
7742         (simpleTeXOnePar): layout as layout
7743         (TeXEnvironment): layout as layout
7744         (layout): layout as layout
7745         (layout): layout as layout
7746
7747         * lyxtextclass.C (compare_name): new functor to work with
7748         shared_ptr, layout as layout
7749         (Read): layout as layout
7750         (hasLayout): layout as layout
7751         (operator): layout as layout
7752         (delete_layout): layout as layout
7753         (defaultLayout): layout as layout
7754
7755         * lyxlayout_ptr_fwd.h: new file
7756
7757         * lyxlayout.C (Read): layout as layout
7758
7759         * lyx_cb.C (MenuInsertLabel): layout as layout
7760
7761         * bufferlist.C (newFile): layout as layout
7762
7763         * buffer.C (readLyXformat2): layout as layout
7764         (parseSingleLyXformat2Token): layout as layout
7765         (insertStringAsLines): layout as layout
7766         (asciiParagraph): layout as layout
7767         (latexParagraphs): layout as layout
7768         (makeLinuxDocFile): layout as layout
7769         (simpleLinuxDocOnePar): layout as layout
7770         (makeDocBookFile): layout as layout
7771         (simpleDocBookOnePar): layout as layout
7772         (getLists): layout as layout
7773
7774         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7775
7776         * CutAndPaste.C (cutSelection): layout as layout
7777         (pasteSelection): layout as layout
7778         (SwitchLayoutsBetweenClasses): layout as layout
7779
7780         * BufferView_pimpl.C (Dispatch): layout as layout
7781         (smartQuote): layout as layout
7782
7783         * BufferView2.C (unlockInset): layout as layout
7784
7785 2002-06-24  André Pönitz <poenitz@gmx.net>
7786
7787         * lyxfunc.C: fix #487
7788
7789 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7790
7791         * lyxrc.h:
7792         * lyxrc.C:
7793         * lyxfunc.C: remove display_shortcuts, show_banner
7794
7795 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7796
7797         * Buffer_pimpl.C: oops, update on resize
7798
7799 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7800
7801         * buffer.C:
7802         * converter.C:
7803         * exporter.C:
7804         * lyxfunc.C:
7805         * BufferView.h:
7806         * BufferView.C: use repaint()
7807
7808         * BufferView_pimpl.h:
7809         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7810           as it's a clearer description. Remove superfluous
7811           redraws.
7812
7813 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7814
7815         * text.C: fix bug 488. Not ideal, but getting
7816           getWord() to work properly for the insets that
7817           matter is more difficult ...
7818
7819 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7820
7821         * BufferView_pimpl.C:
7822         * LyXAction.C:
7823         * commandtags.h:
7824         * lyxfunc.C: remove the six million index lyxfuncs to just
7825           one, and DTRT (bug 458)
7826
7827 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7828
7829         * BufferView.h:
7830         * BufferView.C:
7831         * BufferView_pimpl.h:
7832         * BufferView_pimpl.C: clean up resize() stuff,
7833           and unnecessary updateScreen()s
7834
7835 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7836
7837         * BufferView.h:
7838         * BufferView.C:
7839         * BufferView_pimpl.h:
7840         * BufferView_pimpl.C:
7841         * lyxfind.h:
7842         * lyxfind.C:
7843         * minibuffer.C: remove focus management of workarea,
7844           not needed. Use screen's greyOut()
7845
7846 2002-06-17  Herbert Voss  <voss@lyx.org>
7847
7848         * converter.C: (convert) do not post a message, when converting
7849         fails, let the calling function decide what to do in this case
7850
7851 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7852
7853         * lyxfunc.C: tidy up a little
7854
7855 2002-06-16    <alstrup@diku.dk>
7856
7857         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7858         Got rid of FORMS_H_LOCATION include. Now we are
7859         GUII.
7860
7861 2002-06-15  LyX Development team  <lyx@rilke>
7862
7863         * buffer.[Ch] (sgmlOpenTag):
7864         (sgmlCloseTag): Added support for avoiding pernicious mixed
7865         content. Return number of lines written.
7866
7867         (makeLinuxDocFile):
7868         (makeDocBookFile): Fixed calls to sgml*Tag.
7869         Simple white space clean.
7870
7871         (simpleDocBookOnePar): Simple white space clean.
7872
7873         * tabular.[Ch] (docBook): Renamed to docbook and got another
7874         argument to related with the pernicious mixed content.
7875
7876         (docbookRow): Fixed calls for docbook inset method.
7877
7878 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7879
7880         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7881         so it's X11 independent.
7882
7883         * kb*.[Ch]: ditto.
7884
7885         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7886
7887 2002-06-15  Lyx Development team  <lyx@electronia>
7888
7889         * intl.h: Renamed getTrans to getTransManager.
7890
7891 2002-06-14  Angus Leeming  <leeming@lyx.org>
7892
7893         * Makefile.am: nuke forgotten stl_string_fwd.h.
7894
7895 2002-06-12  Angus Leeming  <leeming@lyx.org>
7896
7897         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7898
7899 2002-06-13  Angus Leeming  <leeming@lyx.org>
7900
7901         * LaTeX.C:
7902         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7903
7904 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7905
7906         * kbmap.C (getiso): add support for cyrillic and greek
7907
7908 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7909
7910         * BufferView.h:
7911         * BufferView.C:
7912         * BufferView_pimpl.h:
7913         * BufferView_pimpl.C: move bogus scrolling logic
7914           to xforms
7915
7916 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7917
7918         * lyxfunc.C:
7919         * BufferView_pimpl.C: view->resize() change
7920
7921 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7922
7923         * BufferView_pimpl.C: topCursorVisible
7924           prototype change
7925
7926 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7927
7928         * Makefile.am:
7929         * lyx_gui.h:
7930         * lyx_gui.C: move to frontends/
7931
7932         * main.C:
7933         * lyx_main.h:
7934         * lyx_main.C: changes from above
7935
7936 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7937
7938         * intl.C:
7939         * intl.h:
7940         * kbmap.C:
7941         * kbsequence.C:
7942         * lyx_cb.C:
7943         * lyx_main.C: minor tidy
7944
7945 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7946
7947         * BufferView_pimpl.h:
7948         * BufferView_pimpl.C:
7949         * BufferView.h:
7950         * BufferView.C: make painter() const,
7951           remove dead code
7952
7953         * BufferView2.C: use screen() accessor
7954
7955         * lyx_main.h:
7956         * lyx_main.C: some minor cleanup
7957
7958 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7959
7960         * BufferView_pimpl.h:
7961         * BufferView_pimpl.C: remove enter/leaveView,
7962           use workHeight()
7963
7964 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7965
7966         * BufferView.h:
7967         * BufferView.C:
7968         * BufferView2.C:
7969         * BufferView_pimpl.h:
7970         * BufferView_pimpl.C: only construct screen once,
7971           rename
7972
7973         * lyxrc.C: remove pointless comment
7974
7975 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7976
7977         * BufferView.h:
7978         * BufferView.C: remove active() and belowMouse()
7979
7980         * BufferView_pimpl.h:
7981         * BufferView_pimpl.C: use workarea() not workarea_,
7982           and make it use a scoped_ptr instead
7983
7984 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7985
7986         * lyx_gui.C: add debug message on BadWindow
7987
7988 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7989
7990         * sp_spell.C: fdopen is not part of the C++ standard.
7991
7992         * paragraph.C (InsetIterator): use >= instead of ==
7993
7994 2002-06-07  Angus Leeming  <leeming@lyx.org>
7995
7996         Fixes needed to compile with Compaq cxx 6.5.
7997         * BufferView_pimpl.C:
7998         * DepTable.C:
7999         * buffer.C:
8000         * converter.C:
8001         * encoding.C:
8002         * lyx_gui.C:
8003         * lyx_main.C:
8004         * lyxtextclasslist.C:
8005         * minibuffer.C:
8006         * sp_spell.C:
8007         * tabular_funcs.C:
8008         * vc-backend.C:
8009         all c-library variables have been moved into namespace std. Wrap
8010         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
8011
8012         * lyxlength.C:
8013         * tabular-old.C:
8014         * tabular.C:
8015         Add a using std::abs declaration.
8016
8017         * kbmap.h (modifier_pair):
8018         * paragraph.h (InsetTable, InsetList):
8019         * lyxfont.h (FontBits):
8020         type definition made public.
8021
8022         * bufferlist.C (emergencyWriteAll): the compiler complains that
8023         there is more than one possible lyx::class_fun template to choose from.
8024         I re-named the void specialisation as lyx::void_class_fun.
8025
8026         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
8027
8028         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
8029         the compiler is is unable to find tostr in write_attribute.
8030
8031 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8032
8033         * buffer.C (sgmlError): hide #warning
8034
8035 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8036
8037         * xtl/*: get rid of xtl, which is not in use anyway
8038
8039         * LyXAction.C (init):
8040         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
8041         were unimplemented xtl experimentation
8042
8043 2002-06-04  André Pönitz <poenitz@gmx.net>
8044
8045         * lyxfunc.C: disable array operation on simple formulae
8046
8047 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
8048
8049         * converter.C: constify a bit
8050
8051 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
8052
8053         * lyx_gui.C: check xforms version correctly
8054
8055 2002-04-30  Herbert Voss  <voss@lyx.org>
8056
8057         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
8058         "keep" option
8059
8060 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
8061
8062         * lyxvc.C: fix bug 416 (make sure buffer is saved before
8063           attempt to register it with a VCS)
8064
8065 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8066
8067         * lyx_main.C (init): honor variables LYX_DIR_13x and
8068         LYX_USERDIR_13x
8069
8070 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8071
8072         * buffer.h:
8073         * buffer.C:
8074         * lyx_main.C: fix a crash on bad command line,
8075           and give a useful exit status on error
8076
8077         * lyxfunc.C (doImport): allow -i lyx to work
8078
8079 2002-03-30  André Pönitz <poenitz@gmx.net>
8080
8081         * lyxfunc.C: mathed font changes
8082
8083 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
8084
8085         * LaTeX.C:
8086         * importer.h:
8087         * importer.C:
8088         * lyx_sty.h:
8089         * lyx_sty.C:
8090         * lyxlex.C:
8091         * lyxrow.h:
8092         * lyxtext.h:
8093         * paragraph.h:
8094         * paragraph.C:
8095         * texrow.h:
8096         * texrow.C:
8097         * text.C:
8098         * trans_mgr.h: srcdocs, and some minor cleanups
8099
8100 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8101
8102         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
8103         call getFont all the time)
8104
8105 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8106
8107         * switch from SigC signals to boost::signals
8108
8109 2002-05-29  André Pönitz <poenitz@gmx.net>
8110
8111         * paragraph_pimpl.C (getChar): don't call size() too often...
8112
8113 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8114
8115         * paragraph_pimpl.C (insertChar): do not try to update tables when
8116         appending (pos == size())
8117
8118         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
8119         in order to reduce drastically the number of comparisons needed to
8120         parse a large document
8121
8122 2002-05-29  André Pönitz <poenitz@gmx.net>
8123
8124         * text.C:
8125         * text2.C:
8126         * lyxtextclass.C:
8127         * sp_pspell.h:
8128         * textclasslist.[Ch]:
8129         * sp_ispell.h: whitespace change
8130
8131 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8132
8133         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
8134         lyxaction directly now.
8135
8136 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
8137
8138         * trans.C:
8139         * lyxfont.C:
8140         * lyxvc.C: remove unused headers
8141
8142 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8143
8144         * Makefile.am:
8145         * buffer.h:
8146         * undostack.h:
8147         * undostack.C:
8148         * undo_funcs.h:
8149         * undo_funcs.C: some cleanups. Use shared_ptr
8150           and a template for the undo stacks.
8151
8152 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
8153
8154         * BufferView_pimpl.h:
8155         * BufferView_pimpl.C:
8156         * kbmap.h:
8157         * kbmap.C:
8158         * kbsequence.h:
8159         * kbsequence.C:
8160         * lyxfunc.h:
8161         * lyxfunc.C:
8162         * text2.C: use key_state/mouse_state
8163
8164 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8165
8166         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
8167         and LSubstring
8168
8169         * chset.C: change include order
8170         (loadFile): use boost regex and get rid of LRegex and LSubstring
8171
8172         * Makefile.am (BOOST_LIBS): new variable
8173         (lyx_LDADD): use it
8174
8175         * LaTeX.C: change include order.
8176         (scanAuxFile): use boost regex and get rid of LRegex and
8177         LSubstring
8178         (deplog): ditto
8179
8180 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8181
8182         * ColorHandler.h:
8183         * ColorHandler.C:
8184         * FontInfo.h:
8185         * FontInfo.C: moved to frontends/xforms/
8186
8187         * FontLoader.h:
8188         * FontLoader.C: moved into frontends for GUIIzation
8189
8190         * Makefile.am:
8191         * lyx_gui.C:
8192         * lyxfont.C:
8193         * lyxfunc.C: changes from above
8194
8195 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
8196
8197         * LColor.C: remove spurious X include
8198
8199         * BufferView_pimpl.C:
8200         * Makefile.am:
8201         * font.h:
8202         * font.C:
8203         * text.C:
8204         * text2.C: move font metrics to frontends/
8205
8206 2002-05-24  Juergen Vigna  <jug@sad.it>
8207
8208         * undo_funcs.C (textHandleUndo): fix the cursor selection after
8209         setting the undo_cursor.
8210
8211         * ParagraphParameters.h: include local includes first.
8212
8213 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8214
8215         * BufferView_pimpl.C:
8216         * BufferView_pimpl.h:
8217         * Makefile.am:
8218         * WorkArea.h:
8219         * WorkArea.C:
8220         * screen.C: move WorkArea into frontends/
8221
8222         * lyxscreen.h:
8223         * screen.C:
8224         * text.C:
8225         * BufferView.C:
8226         * BufferView2.C: move LyXScreen into frontends/
8227
8228         * lyxlookup.h:
8229         * lyxlookup.C:
8230         * lyx_gui.C: move lyxlookup into frontends/xforms/
8231
8232 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * BufferView2.C:
8235         * BufferView_pimpl.C:
8236         * FontLoader.C:
8237         * LyXView.h:
8238         * LyXView.C:
8239         * Makefile.am:
8240         * WorkArea.C:
8241         * XFormsView.h:
8242         * XFormsView.C:
8243         * buffer.C:
8244         * bufferlist.C:
8245         * bufferview_funcs.C:
8246         * converter.C:
8247         * importer.C:
8248         * lyx_cb.C:
8249         * lyx_gui.C:
8250         * lyx_main.C:
8251         * lyx_find.C:
8252         * lyxfunc.C:
8253         * lyxvc.C:
8254         * minibuffer.C:
8255         * text.C:
8256         * text2.C:
8257         * trans.C:
8258         * vc-backend.C: move LyX/XFormsView into frontends/
8259
8260 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
8261
8262         * Makefile.am:
8263         * PainterBase.C:
8264         * PainterBase.h:
8265         * Painter.C:
8266         * Painter.h:
8267         * WorkArea.C:
8268         * WorkArea.h:
8269         * screen.C:
8270         * tabular.C:
8271         * text.C:
8272         * text2.C: move Painter to frontends/
8273
8274 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8275
8276         * buffer.C: comment out some some code that depend upon lyx_format
8277         < 220
8278
8279         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
8280         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
8281
8282         * buffer.h (NO_COMPABILITY): turn off compability
8283
8284         * ColorHandler.C: include scoped_array.hpp
8285
8286         * font.C: Use more specific smart_ptr header.
8287         * Painter.C: ditto
8288         * gettext.C: ditto
8289         * ShareContainer.h: ditto
8290         * lyx_main.h: ditto
8291         * kbmap.h: ditto
8292         * FontInfo.h: ditto
8293         * BufferView_pimpl.h: ditto
8294         * ColorHandler.h: ditto
8295
8296         * kbmap.C (defkey): change call to shared_ptr::reset
8297
8298 2002-05-21  Juergen Vigna  <jug@sad.it>
8299
8300         * buffer.C (insertErtContents): fix to insert ert asis if it is
8301         non empty. Skip it completely if it contains only whitespaces.
8302
8303 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
8304
8305         * BufferView_pimpl.C:
8306         * BufferView2.C: clear selection on paste (bug 393)
8307
8308 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8309
8310         * DepTable.C: include ctime
8311
8312 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
8313
8314         * buffer.C (latexParagraphs): Add new argument (moving_arg).
8315
8316 2002-05-14  Juergen Vigna  <jug@sad.it>
8317
8318         * text.C (breakParagraph): fixed function to honor the keepempty
8319         layout in the right maner and also to permit the right breaking
8320         algorithm on empty or non empyt keepempty paragraphs.
8321
8322         * paragraph.C (breakParagraph): we have to check also if the par
8323         is really empty (!size()) for isempty otherwise we do the wrong
8324         paragraph break.
8325
8326 2002-05-10  Juergen Vigna  <jug@sad.it>
8327
8328         * buffer.[Ch] : The following are only changes to the ert
8329         compatibility read reading old LaTeX layout and font stuff and
8330         convert it to ERTInsets.
8331
8332         * buffer.h: added isErtInset().
8333
8334         * buffer.C (struct ErtComp): add a fromlayout bool to check
8335         if we're inside a LaTeX layout.
8336         (isErtInset): new helper function.
8337         (insertErtContents): look for other ert insets before this one
8338         and insert the contents there, so that we don't have subsequent
8339         ERT insets with nothing between them. This way we create only one
8340         inset with multiple paragraphs. Also check if we don't insert only
8341         spaces ' ' as they are ignored anyway afterwards in the .tex file
8342         so if we have only spaces we will ignore this latex part in the
8343         new file.
8344         (parseSingleLyXformat2Token \\layout): better compatibility when
8345         reading layout-latex stuff.
8346         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
8347         language tag.
8348         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
8349         stuff after reading the inset only get the information back from
8350         the stack.
8351
8352 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
8353
8354         * buffer.C (makeLaTeXFile): Put language options after loading babel.
8355
8356         * LaTeXFeatures.C (getBabelOptions): New method.
8357
8358 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8359
8360         * BufferView_pimpl.C (Dispatch): work around missing argument for
8361         'layout'
8362
8363 2002-05-08  Juergen Vigna  <jug@sad.it>
8364
8365         * text.C (leftMargin): handle paragraph leftindent.
8366
8367         * paragraph.C (writeFile): write the new \\leftindent tag.
8368         (validate): handle leftindent code.
8369         (TeXEnvironment): handle paragraphleftindent code again.
8370
8371         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
8372
8373         * buffer.C (parseSingleLyXformat2Token): added compatibility code
8374         for paragrap_extra indent code and new token \\leftindent.
8375         (latexParagraphs): handle the leftindent as environment.
8376
8377         * ParameterStruct.h: added leftindent support.
8378
8379         * ParagraphParameters.C (leftIndent): added support functions for
8380         the paragraph left indent.
8381
8382         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
8383         more appropriate.
8384
8385 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
8386
8387         * paragraph.C (isRightToLeftPar): Return false for a paragraph
8388         inside insetERT.
8389
8390         * text.C (computeBidiTables): No bidi in insetERT.
8391
8392         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
8393         in RTL documents.
8394
8395 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8396
8397         * version.C.in: pre 5
8398
8399 2002-05-02  José Matos  <jamatos@fep.up.pt>
8400         * buffer.C (makeDocBookFile): white space changes, add newline to
8401         command styles.
8402         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
8403
8404         * tabular.C (docBook): fix typo.
8405
8406 2002-05-03  Juergen Vigna  <jug@sad.it>
8407
8408         * screen.C (drawFromTo): recalculate the rowpointer if we had a
8409         change in LyXText as we can not be sure it was not freed.
8410         (drawOneRow): remove unused code.
8411
8412         * text.C (drawInset): redo the calculation of the need_break_row as
8413         it could have a row which was already freed.
8414         (draw): look at the return value of drawInset and return false if
8415         it also returned false.
8416         (paintRowText): look at the return value of draw and return false if
8417         it also returned false.
8418
8419         * lyxtext.h: added bool return type to drawInset() and draw() so that
8420         if we have a change in the row so that the rowbreak has to be redone
8421         we abort drawing as it will be called again.
8422
8423 2002-05-02  Juergen Vigna  <jug@sad.it>
8424
8425         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
8426         a change in the maintext also if we're inside an inset.
8427         (Dispatch): set the cursor again after a break line and after the
8428         screen has been updated as it could be we're in a different row.
8429
8430         * text2.C (fixCursorAfterDelete): check to make sure we don't request
8431         to set the cursor behind the pargraph with > size().
8432         (setCursor): check also for the same paragraph when checking where
8433         to put the cursor if we have a NFR inset.
8434
8435         * buffer.C (parseSingleLyXformat2Token): move the compatibility
8436         parts of layout read further up as it still was in the wrong
8437         position.
8438
8439 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8440
8441         * screen.C (drawFromTo): change sine fullRebreak always return
8442         true.
8443
8444         * buffer.C (parseSingleLyXformat2Token): reindent some
8445
8446         * BufferView_pimpl.C (update): change since fullRebreak always
8447         return true.
8448         (Dispatch): git rid of the last hardcoded "Standard"s.
8449
8450 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8451
8452         * text2.[Ch] (fullRebreak): make it return void now that we always
8453         returned true.
8454
8455 2002-04-30  Juergen Vigna  <jug@sad.it>
8456
8457         * buffer.C (parseSingleLyXformat2Token): reset the font before the
8458         ert compatibility check for "latex" layout.
8459
8460 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
8461
8462         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
8463         minipages: use col% instead of p%, and also use the current font.
8464         (makeLaTeXFile): Fix use babel condition.
8465         (parseSingleLyXformat2Token): Correct font when reading old floats.
8466
8467 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
8468
8469         * BufferView_pimpl.C (Dispatch): Check that float type exists when
8470         inserting list of floats.
8471
8472 2002-04-25  Herbert Voss  <voss@lyx.org>
8473
8474         * MenuBackend.C (expand): don't add the graphics extensions to the
8475         export menu
8476
8477 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8478
8479         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
8480         non-existing layout, do not complain if it was the default layout
8481         of the original class (bug #342)
8482
8483 2002-04-24  Juergen Vigna  <jug@sad.it>
8484
8485         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
8486         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
8487
8488 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
8489
8490         * buffer.C (getBibkeyList): If using \bibliography, return the
8491         option field with the reference itself. Enables us to provide natbib
8492         support when using \bibliography.
8493
8494 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
8495
8496         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
8497
8498         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
8499         natbib is provided by the LaTeX class.
8500
8501 2002-04-23  Juergen Vigna  <jug@sad.it>
8502
8503         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
8504         Wakeup functions.
8505
8506         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
8507
8508 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8509
8510         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
8511
8512         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
8513         ensuremath around textordmasculine, textordfeminine and
8514         textdegree.
8515
8516 2002-04-19  Juergen Vigna  <jug@sad.it>
8517
8518         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
8519         reinitializing the buffer otherwise row-dimensions may be wrong.
8520         (update): reset also the selection cursors if they do exits otherwise
8521         their x/y positions may be wrong.
8522
8523         * text2.C (cursorDown): don't enter the inset if we came from a row
8524         above and are one row over the inset.
8525
8526         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
8527         really leaving an inset.
8528
8529 2002-04-18  Juergen Vigna  <jug@sad.it>
8530
8531         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
8532         of the selected paragraph does not have the selected layout also if
8533         the last one had!
8534
8535         * text2.C (setLayout): fixed bug which did not change last selected
8536         paragraph.
8537
8538         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
8539         changed the read and substituted \\end_float with \\end_inset!
8540
8541         * BufferView_pimpl.C (cursorPrevious):
8542         (cursorNext): fixed to make it work with rows heigher than the work
8543         area without moving the cursor only the draw of the row.
8544         (workAreaMotionNotify): fix jumping over high rows.
8545
8546 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8547
8548         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
8549         Ressler.
8550
8551 2002-04-16  Juergen Vigna  <jug@sad.it>
8552
8553         * text2.C (setCursor): set also the irow().
8554         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
8555         (cursorUp):
8556         (cursorDown): support for locking an inset if the x_fix value goes
8557         inside it. That way I can transverse insets too with cursor up/down.
8558
8559         * lyxrow.h: added irow helper function same as other (i) functions.
8560
8561         * BufferView_pimpl.C (cursorPrevious):
8562         (cursorNext): fixed for insets!
8563
8564 2002-04-15  Juergen Vigna  <jug@sad.it>
8565
8566         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
8567         position otherwise it is wrong in some cases.
8568
8569         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
8570         inside the inset before the call.
8571
8572 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
8573
8574         * buffer.[Ch] (getBibkeyList): make it const.
8575
8576 2002-04-12  Juergen Vigna  <jug@sad.it>
8577
8578         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
8579
8580         * text2.C (getCursorX): new helper function
8581         (setCursor): compute also ix_
8582         (setCursorFromCoordinates): set also ix.
8583
8584         * lyxcursor.h: added ix_ and helper functions.
8585
8586         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
8587
8588         * buffer.C (insertStringAsLines): dont break paragraph if the this
8589         paragraph is inside an inset which does not permit it!
8590
8591         * text.C (breakParagraph): honor keepempty flag and break the paragraph
8592         also with no chars on this paragraph.
8593         (paintRowText): only paint stuff if it's inside the workarea!
8594
8595         * paragraph.C (breakParagraph): honor keepempty flag and break the
8596         paragraph always below not above.
8597
8598         * BufferView2.C (unlockInset): update the paragraph layout on inset
8599         unlock as we changed paragraph in such a case.
8600
8601         * lyxfind.C (LyXFind): clear the former selection if not found!
8602
8603         * text2.C (insertInset): freeze Undo after setUndo so that it is not
8604         again called in insertChar().
8605
8606         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
8607         an inset which uses the whole row!
8608         (rightMargin): ditto.
8609         (insertChar): force a rebreak if we inserted an inset!
8610
8611 2002-03-28  Herbert Voss  <voss@lyx.org>
8612
8613         * lyxlength.[Ch]: add inBP() to get the right PS-point
8614         units (BigPoint). With inPixels we have rounding errors
8615
8616 2002-04-11  Juergen Vigna  <jug@sad.it>
8617
8618         * text2.C (setCursorFromCoordinates): set iy to the right value.
8619         (setCursor): add check if row->previous exists!
8620
8621         * buffer.C (parseSingleLyXformat2Token): reset font after read of
8622         an old float_type as this was the case in the old code!
8623
8624         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
8625
8626         * BufferView2.C (showLockedInsetCursor): use iy
8627         (fitLockedInsetCursor): ditto
8628
8629         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
8630         locked insets as there we have the right value now.
8631
8632         * lyxcursor.C: added iy_ variable and iy functions to set to the
8633         baseline of cursor-y of the locked inset.
8634
8635         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
8636         (setCursor): fixed for insets which need a full row.
8637
8638         * text.C (rowLastPrintable): don't ignore the last space when before
8639         an inset which needs a full row.
8640         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
8641         as last character of a row when before a inset which needs a full row.
8642
8643 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8644
8645         * version.C.in: update date
8646
8647         * text2.C (fullRebreak): try to always return true and see what
8648         happens...
8649
8650 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8651
8652         * MenuBackend.C (expand): use Floating::listName
8653
8654         * FloatList.C (FloatList): add listName argument to the built-in
8655         floats
8656
8657         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8658         text associated with the float.
8659
8660 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8661
8662         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8663
8664 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8665
8666         * ShareContainer.h: add a couple of missing typenames.
8667
8668 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8669
8670         * lyxrc.C (getDescription): use _() correctly rather than N_().
8671
8672 2002-03-28  Herbert Voss  <voss@lyx.org>
8673
8674         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8675         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8676
8677 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8678
8679         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8680         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8681
8682 2002-03-29  Juergen Vigna  <jug@sad.it>
8683
8684         * lyxfunc.C (dispatch): add a missing fitCursor call.
8685
8686         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8687         it was scrolled by a cursor move, so return the bool status.
8688
8689         * BufferView.C (fitCursor): return the bool flag also to the outside
8690         world as this is needed.
8691
8692         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8693
8694         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8695         call the edit() as it is not needed (and wrong) IMO.
8696         (workAreaButtonPress): set the screen_first variable before evt.
8697         unlock the inset as this may change screen_first and then we have
8698         a wrong y position for the click!
8699
8700 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8701
8702         * MenuBackend.C (expand): another translation that I missed
8703
8704 2002-03-28  Juergen Vigna  <jug@sad.it>
8705
8706         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8707
8708         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8709
8710 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8711
8712         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8713
8714         * MenuBackend.C (expand): fix export/view/update when there is no
8715         document open.
8716
8717 2002-03-27  Herbert Voss  <voss@lyx.org>
8718
8719         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8720         and text%
8721
8722 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8723
8724         * bufferview_funcs.C (currentState): only show paragraph number
8725         for is DEVEL_VERSION is set.
8726
8727         * lyxfunc.C (dispatch): put warning in INFO channel
8728
8729         * MenuBackend.C (expand): translate the name of floats
8730
8731         * FloatList.C (FloatList): mark the float names for translation
8732
8733         * converter.C (convert): use LibScriptSearch
8734
8735 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8736
8737         * MenuBackend.C (defaults): fix default menu (we might as well get
8738         rid of it...)
8739
8740 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8741
8742         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8743         directory.
8744
8745 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8746
8747         * lyxvc.C: reorder includes.
8748
8749 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8750
8751         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8752           properly
8753
8754 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8755
8756         * CutAndPaste.C: change layouts earlier on paste
8757           to avoid crashing when calling getFont()
8758
8759 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8760
8761         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8762         irritating #error.
8763
8764 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8765
8766         * WorkArea.C: remove 'Pending' debug message.
8767
8768         * most files: ws cleanup
8769
8770         * buffer.[Ch]: ws changes
8771
8772         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8773
8774 2002-03-21  Juergen Vigna  <jug@sad.it>
8775
8776         * tabular.C (SetMultiColumn): collapse also the contents of the
8777         cells and set the last border right. Added a Buffer const * param.
8778
8779 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8780
8781         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8782         linking or not.
8783
8784 2002-03-19  Juergen Vigna  <jug@sad.it>
8785
8786         * text2.C (clearSelection): reset also xsel_cache.
8787
8788         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8789         where it needs to be called (John tells us to do so too :)
8790         (selectionLost): reset sel_cache.
8791
8792         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8793
8794 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8795
8796         * text2.C (setCursorIntern): put debuging code in INSETS channel
8797
8798 2002-03-19  André Pönitz <poenitz@gmx.net>
8799
8800         * lyxfunc.C: tiny whitespace change
8801
8802 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8803
8804         * ToolbarDefaults.C (init):
8805         * LyXAction.C (init):
8806         * commandtags.h:
8807         * BufferView_pimpl.C (Dispatch):
8808         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8809
8810 2002-03-19  Allan Rae  <rae@lyx.org>
8811
8812         * exporter.C (Export): removeAutoInsets before doing anything else.
8813         While I've just introduced a dependency on BufferView this really is
8814         the best place to clean the buffer otherwise you need to cleanup in
8815         a dozen places before calling export or cleanup in a dozen functions
8816         that export calls.
8817
8818         * converter.C (runLaTeX):
8819         (scanLog): Better handling of removeAutoInsets and screen updates.
8820
8821         * lyxfunc.C (dispatch): small whitespace changes
8822
8823 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8824
8825         * WorkArea.C (C_WorkAreaEvent): return a value.
8826         (event_cb): return 1 if we handled the event, 0 otherwise.
8827
8828         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8829
8830 2002-03-18  Juergen Vigna  <jug@sad.it>
8831
8832         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8833         (GetAdditionalWidth): ditto.
8834         (RightLine): ditto.
8835         (LeftLine): ditto.
8836
8837         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8838         inset if we're there actually (probably not used right now but this
8839         is the direction to go for unifying code).
8840         (paste): disable code to clear the selection.
8841
8842         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8843         inside an InsetText and move the check further up as it is in the
8844         wrong place.
8845
8846         * text2.C (pasteSelection): set a selection over the pasted text.
8847
8848 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8849
8850         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8851         and libgraphics to build on Cygwin.
8852
8853 2002-03-15  Juergen Vigna  <jug@sad.it>
8854
8855         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8856         inserting an Inset into the paragraph. I know this is not the best
8857         fix but we already use current_view in CutAndPaste so we will remove
8858         all of it's using at the same time.
8859
8860         * buffer.C (sgmlError): deactivated function till it is rewritten in
8861         the right mode, now it can create problems.
8862
8863         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8864         before accessing it.
8865
8866 2002-03-14  Juergen Vigna  <jug@sad.it>
8867
8868         * undo_funcs.C (textHandleUndo): do the right thing when updating
8869         the inset after the undo/redo.
8870
8871         * text2.C (setCursor): just some testcode for #44 not ready yet.
8872
8873         * undo_funcs.C (textHandleUndo): set the next() and previous()
8874         pointers of the paragraph to 0 before deleting otherwise we have
8875         problems with the Paragraph::[destructor].
8876
8877         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8878         on a paragraph insertion.
8879
8880 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8881
8882         * buffer.C (asciiParagraph): use += operator for char append to
8883         string.
8884
8885         * paragraph.C (getFontSettings): compare >= not just >
8886         (highestFontInRange): ditto
8887         (setFont): ditto
8888
8889 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8890
8891         * paragraph.C: change several algorithm to be more appripriate for
8892         the problem domain. This is lookip in FontList and in the InsetList.
8893
8894 2002-03-13  André Pönitz <poenitz@gmx.net>
8895
8896         * commandtags.h:
8897         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8898
8899 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8900
8901         * commandtags.h:
8902         * LyXAction.C:
8903         * lyxfunc.C:
8904         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8905
8906 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8907
8908         * Painter.C (display): anon helper function, adjust code for this
8909         change.
8910         (pixmap): remove function.
8911
8912         * Painter.h: remove private display variable.
8913
8914         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8915
8916 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8917
8918         * WorkArea.[Ch]: remove figinset_canvas cruft.
8919
8920 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8921
8922         * lyxtextclass.C (operator): add one item cache optimization.
8923
8924         * bufferlist.h: doxy changes
8925
8926         * bufferlist.C: ws changes
8927
8928         * DepTable.[Ch] (ext_exist): place const in the right spot.
8929
8930         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8931         call resizeInsets.
8932         (workAreaExpose): call resizeInsets when the with BufferView changes.
8933         (Dispatch): adjust for protectedBlank removal
8934         (specialChar): call updateInset if the insert went ok.
8935
8936         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8937         specialChar instead.
8938
8939         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8940
8941         * BufferView.h: doxy change
8942
8943         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8944
8945         * lyxtextclass.C (operator[]): remove non-const version
8946         (defaultLayout): remove non-const version
8947
8948 2002-03-12  Juergen Vigna  <jug@sad.it>
8949
8950         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8951         did resize the LyXText too.
8952
8953         * buffer.C (readLyXformat2): set layout information on newly allocated
8954         paragraphs.
8955
8956         * tabular.C (OldFormatRead): set layout information on the paragraph.
8957
8958 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8959
8960         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8961
8962 2002-03-11  Juergen Vigna  <jug@sad.it>
8963
8964         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8965         plainly wrong.
8966         (resizeCurrentBuffer): force also the insets to resize themselfes.
8967         (moveCursorUpdate): fixed up for InsetText.
8968
8969 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8970
8971         * commandtags.h:
8972         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8973         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8974         value of Dialogs::tooltipsEnabled().
8975         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8976
8977 2002-03-08  Juergen Vigna  <jug@sad.it>
8978
8979         * BufferView_pimpl.C (updateInset): update inset inside inset also
8980         if it isn't inside theLockingInset().
8981
8982 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8983
8984         * buffer.C (asciiParagraph): redo some of the word and line length
8985         handling.
8986         (getLists): look for Caption instead of caption.
8987
8988 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8989
8990         * buffer.C (Buffer): initialize niceFile to true
8991         (makeLaTeXFile):
8992         (makeLinuxDocFile):
8993         (makeDocBookFile): make sure niceFile is true on exit
8994
8995 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8996
8997         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8998
8999 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
9000
9001         * LyXSendto.C: remove.
9002         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
9003         * lyx_gui.C: remove now-redundant comment.
9004         * ColorHandler.h: remove forward declaration of class WorkArea.
9005         * lyxfunc.C: remove #include "WorkArea.h".
9006
9007 2002-03-07  Juergen Vigna  <jug@sad.it>
9008
9009         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
9010         got moved away with the DEPM and also set the inset_owner always
9011         right which before could have been omitted.
9012
9013 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9014
9015         * buffer.C (parseSingleLyXformat2Token): use default layout is the
9016         wanted layout is not found.
9017
9018 2002-03-07  Juergen Vigna  <jug@sad.it>
9019
9020         * CutAndPaste.C (cutSelection): another layout settings forgotten.
9021
9022 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9023
9024         * paragraph.C (breakParagraph): use default layout not layout of
9025         prev paragraph.
9026         (Paragraph): clear ParagraphParameters.
9027
9028 2002-03-06  Juergen Vigna  <jug@sad.it>
9029
9030         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
9031         otherwise it would not be a valid lenght. Fixed a special case in
9032         the minipage compatibility read where we end the document with a
9033         minipage.
9034
9035         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
9036         was set as it could be 0 for InsetTexts first entry.
9037
9038 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9039
9040         * paragraph.C (writeFile): if layout is empty write out
9041         defaultLayoutName().
9042
9043         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
9044         file without named layout we set layout to defaultLayoutName().
9045
9046 2002-03-06  Juergen Vigna  <jug@sad.it>
9047
9048         * CutAndPaste.C (copySelection): set layout for new paragraph.
9049
9050         * text.C (prepareToPrint): leave ERT inset left aligned
9051         (leftMargin): don't indent paragraphs inside ERT insets
9052
9053 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9054
9055         * paragraph.C (breakParagraph): dont call clear do the work manually
9056
9057         * paragraph.[Ch] (clear): remove function
9058
9059 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9060
9061         * paragraph.C (Paragraph): dont call clear, the work has already
9062         been done.
9063
9064         * lyxtextclass.C (operator): assert if n is empty
9065
9066         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
9067         work manually instead.
9068
9069 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9070
9071         * BufferView_pimpl.C: protect selectionLost against text == 0
9072
9073 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9074
9075         * text.C (breakParagraph): fix a setting layout to '0' problem.
9076
9077 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9078
9079         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
9080         final location of file, for the included files, and graphics.
9081
9082 2002-03-05  Juergen Vigna  <jug@sad.it>
9083
9084         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
9085
9086 2002-03-04  Juergen Vigna  <jug@sad.it>
9087
9088         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
9089
9090         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
9091         last column of multicolumn cells.
9092         (SetWidthOfMulticolCell): recalculate NMC and real columns.
9093
9094 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
9095
9096         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
9097         file if it doesn't go to a temporary file.
9098
9099         * buffer.C (sgmlOpenTag):
9100         (sgmlCloseTag):  remove extra newline insertion.
9101
9102 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9103
9104         * text.C (getRowNearY): comment out debug msg
9105
9106 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9107
9108         * text2.C: first -> first_y
9109
9110         * text.C (getRowNearY): add some attemts at a possible
9111         optimization, not working.
9112
9113         * tabular.[Ch]: add BufferParams to several function so that newly
9114         created paragraph can be initialized to he default layotu for the
9115         buffers textclass.
9116
9117         * tabular-old.C (ReadOld): add buf->params to call of Init
9118
9119         * screen.C: rename text->first to text->first_y
9120
9121         * paragraph.C (breakParagraph): always set layout in the broken
9122         paragraph
9123
9124         * lyxtextclass.C (Read): remove lowercase
9125         (hasLayout): ditto
9126         (operator): ditto
9127         (delete_layout): ditto
9128
9129         * lyxtext.h: rename first -> first_y
9130
9131         * lyxlayout.C (Read): remove lowercase
9132         (name): ditto
9133         (setName): ditto
9134         (obsoleted_by): ditto
9135
9136         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
9137
9138         * buffer.C (insertErtContents): add params are to InsetERT
9139         (parseSingleLyXformat2Token): add code to check if a paragraphs
9140         layout really exist.
9141         (parseSingleLyXformat2Token): add params to several inset
9142         constructors
9143         (asciiParagraph): remove lowercase, do the layout comparisons with
9144         no_case
9145
9146         * BufferView_pimpl.C (cursorNext): first -> first_y
9147         (resizeCurrentBuffer): first -> first_y
9148         (updateScrollbar): first -> first_y
9149         (scrollCB): first -> first_y
9150         (workAreaMotionNotify): first -> first_y
9151         (workAreaButtonPress): first -> first_y
9152         (checkInsetHit): first -> first_y
9153         (cursorPrevious): first -> first_y
9154         (cursorNext): first -> first_y
9155         (Dispatch): add buffer_->params to severl inset contructors
9156
9157 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9158
9159         * lyxlayout.C (Read): remove some debug info that I forgot.
9160
9161         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
9162         clean up the code slightly.
9163         (makeLinuxDocFile): ditto
9164         (makeDocBookFile): ditto
9165
9166         * text2.C: layout as string
9167
9168         * text.C: layout as string
9169
9170         * paragraph_pimpl.C: layout as string
9171
9172         * paragraph.[Ch]: layout as string
9173
9174         * lyxtextclasslist.[Ch]: layout as string
9175
9176         * lyxtextclass.[Ch]: layout as string
9177
9178         * lyxtext.h: layout as string
9179
9180         * lyxlayout.[Ch]: layout as string
9181
9182         * lyx_cb.C: layout as string
9183
9184         * bufferview_funcs.C: layout as string
9185
9186         * bufferparams.C: layout as string
9187
9188         * buffer.C: layout as string
9189
9190         * LyXView.[Ch]: layout as string
9191
9192         * LaTeXFeatures.[Ch]: layout as string
9193
9194         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
9195
9196         * BufferView_pimpl.C: change current_layout to string, remove
9197         lyx::layout_type.
9198         (Dispatch):
9199         (smartQuote):
9200         (insertInset):
9201         (workAreaButtonRelease): layout as string
9202
9203         * BufferView2.C (unlockInset): adjust
9204
9205         * vspace.C (asLatexCommand): use an explict temp variable.
9206
9207 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
9208
9209         * Makefile.am: use FRONTEND_*
9210
9211 2002-03-01  Juergen Vigna  <jug@sad.it>
9212
9213         * tabular.C (SetWidthOfMulticolCell): changed to something better
9214         I hope but still work in progress.
9215         (recalculateMulticolumnsOfColumn): renamed function from
9216         recalculateMulticolCells as it is more appropriate now.
9217         (SetWidthOfCell): calculate multicols better.
9218
9219 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
9222
9223         * lyxfunc.C (processKeySym): print sequence also if it is
9224         `deleted' (complete)
9225
9226         * kbsequence.C (print): print sequence even if it is deleted
9227         (complete would be a better word, actually).
9228
9229         * lyxfunc.C (dispatch): print complete options after a prefix key
9230
9231         * vspace.C (asLatexCommand): rewrite in a slightly different form.
9232
9233 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
9234
9235         * text2.C (setCharFont): eliminate setCharFont code duplication.
9236
9237 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9238
9239         * BufferView_pimpl.C (Dispatch): remove bogus handling of
9240         LFUN_TABULAR_FEATURE (bug #177)
9241
9242 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
9243
9244         * Makefile.am: remove figure.h
9245
9246 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
9247
9248         * Bufferview_pimpl.C:
9249         * CutAndPasteC:
9250         * LaTeX.C:
9251         * LyXSendto.C:
9252         * buffer.C:
9253         * bufferlist.C:
9254         * converter.C:
9255         * language.C:
9256         * lyxfunc.C:
9257         * lyxvc.C:
9258         * paragraph.C:
9259         * text.C:
9260         * text2.C: remove #include "lyx_gui_misc.h".
9261
9262         * LaTeX.C: added #include <cstdio>
9263
9264 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9265
9266         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
9267         that the paragraph following this one can have.
9268
9269         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
9270
9271         * vspace.C (asLatexCommand): fix bogus gcc warning
9272
9273         * Makefile.am (lyx_SOURCES): remove vms_defines.h
9274
9275 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
9276
9277         * text2.C (setLayout): get rid of redundant code
9278
9279 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
9280
9281         * text2.C (incDepth): make sure depth cannot be increased beyond
9282         reasonable values.
9283
9284 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
9285
9286         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
9287         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
9288
9289         * PainterBase.h (image):
9290         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
9291         a LyXImage const *.
9292
9293 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * BufferView.C:
9296         * BufferView.h:
9297         * BufferView_pimpl.C:
9298         * BufferView_pimpl.h:
9299         * LaTeXFeatures.C:
9300         * LyXAction.C:
9301         * LyXView.C:
9302         * Makefile.am:
9303         * UpdateList.h:
9304         * UpdateList.C:
9305         * buffer.C:
9306         * figure.h:
9307         * figureForm.C:
9308         * figureForm.h:
9309         * figure_form.C:
9310         * figure_form.h:
9311         * lyx_cb.C:
9312         * lyx_gui.C:
9313         * lyx_gui_misc.C:
9314         * lyxfunc.C:
9315         * sp_base.h:
9316         * sp_ispell.h:
9317         * sp_pspell.h:
9318         * sp_spell.C: remove fig inset, and the crap house of
9319           cards that follows it
9320
9321 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
9322
9323         * Makefile.am:
9324         * lyxserver.C:
9325         * os2_defines.h:
9326         * os2_errortable.h:
9327         * nt_defines.h: move .h into support/
9328
9329         * vms_defines.h: remove
9330
9331         * WorkArea.C: add space in debug output
9332
9333         * text2.C:
9334         * paragraph.C:
9335         * buffer.C: add WITH_WARNINGS
9336
9337         * vc-backend.h:
9338         * vc-backend.C:
9339         * bufferlist.C: s/retrive/retrieve/, add docs
9340
9341         * vspace.h:
9342         * vspace.C:
9343         * kbmap.h:
9344         * lyxlength.h:
9345         * lyxgluelength.h:
9346         * length_common.h:
9347         * chset.h:
9348         * chset.C: add docs
9349
9350         * lyxgui.C: add ID to X error handler
9351
9352         * lyxtestclass.c: fix typo
9353
9354 2002-02-26  Juergen Vigna  <jug@sad.it>
9355
9356         * tabular_funcs.C (write_attribute): changed so that some default
9357         attributes are not written at all.
9358         (getTokenValue): set default values before trying to read the
9359         value so we have the return value always set as default if we don't
9360         find the token we search for.
9361
9362         * tabular.C (Write): write bools as bools not as strings!
9363
9364 2002-02-22  Juergen Vigna  <jug@sad.it>
9365
9366         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
9367         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
9368
9369         * text.C (leftMargin): don't add an indent for paragraphs inside
9370         tabular cells (fix #208).
9371
9372 2002-02-21  José Matos  <jamatos@fep.up.pt>
9373
9374         * tabular.C (docBook): fixed support for long tables.
9375
9376 2002-02-20  Juergen Vigna  <jug@sad.it>
9377
9378         * text2.C (getFont): get the drawing font of the Inset if this
9379         paragraph is inside an inset (only important for InsetERT for now).
9380
9381         * buffer.C (insertErtContents): use new lanugage params in ERT
9382         constructor.
9383
9384         * CutAndPaste.C: commenting out seemingly uneeded code.
9385
9386 2002-02-19  Allan Rae  <rae@lyx.org>
9387
9388         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
9389         Iterators might be simple to use but they also get invalidated.
9390         (removeAutoInsets): renamed saved cursor tracking variables and added
9391         some comments to clarify what everything does.
9392
9393 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
9394
9395         * Chktex.C:
9396         * LaTeX.C:
9397         * LyXSendto.C:
9398         * converter.C:
9399         * lyx_cb.C:
9400         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
9401         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
9402
9403         * lyxfunc.C:
9404         * vc-backend.h: remove #include "support/syscall.h"
9405
9406         * LaTeX.C:
9407         * LyXSendto.C:
9408         * converter.C: rearrange #includes in Lars' approved fashion.
9409
9410         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
9411         forward declare class Timeout in the header file.
9412
9413         * XFormsView.C: changes due to the above.
9414
9415         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
9416         similar to LyXView.
9417
9418         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
9419         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
9420
9421 2002-02-18  José Matos  <jamatos@fep.up.pt>
9422
9423         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
9424         insets contents.
9425
9426 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9427
9428         * a lot of small ws changes
9429         * add a lot of using std::XXX
9430         * use std construcs some places where approp.
9431         * use some exisint stuff from lyxfunctional where approp.
9432         * Make file changes to use partial linking (lets test this now...)
9433
9434 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9435
9436         * Chktex.C:
9437         * buffer.C:
9438         remove #include "support/syscontr.h" as it's redundant. Always has been.
9439
9440         * Chktex.C:
9441         * LaTeX.C:
9442         * LyXSendto.C:
9443         * converter.C:
9444         * lyx_cb.C:
9445         * vc-backend.C:
9446         change Systemcalls::System to Systemcalls::Wait and
9447         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
9448         No change of functionality, just reflects the stripped down Systemcalls
9449         class.
9450
9451 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
9452
9453         * debug.[Ch]: add a GRAPHICS type to the enum.
9454
9455 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9456
9457         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
9458
9459         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
9460         there is an inset.
9461
9462 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9463
9464         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
9465         match the changes below.
9466
9467         * text2.C (toggleInset): if there is not editable inset at cursor
9468         position, try to see if cursor is _inside_ a collapsable inset
9469         and close it.
9470
9471 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
9474         document menu has a nice checkbox
9475
9476 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9477
9478         * lyxlength.C (asLatexString): change PW to output as percent of
9479         \textwidth.
9480
9481         * lengthcommon.C: change '%' to 't%'
9482
9483         * lyxfunc.C (dispatch): a few comments from Martin
9484
9485 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
9486
9487         * WorkArea.h:
9488         * WorkArea.C:
9489         * BufferView_pimpl.h:
9490         * BufferView_pimpl.C: clear our selection when X tells us we've lost
9491           the X selection.
9492
9493 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * vspace.C (inPixels): fix compiler warning
9496
9497 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9498
9499         * lyxfunc.C (getStatus): fix status message for disabled commands.
9500
9501 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
9502
9503         * BufferView_pimpl.C: fix crash on close buffer
9504         during selection (#227)
9505
9506 2002-01-27  Herbert Voss  <voss@lyx.org>
9507
9508         * buffer.C: link old Figure to new graphic inset
9509
9510 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9511
9512         * FontLoader.C (getFontinfo): Change the latex font names in order
9513         to match the names of type1inst.
9514
9515 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9516
9517         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
9518
9519         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
9520         (extchanged): ditto
9521         (ext_exist): ditto
9522         (remove_files_with_extension): ditto
9523         (remove_file): ditto
9524         (write): ditto
9525
9526         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
9527         document is smaller than the work area height. Do not initialize
9528         static variables to 0.
9529
9530 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * lyx_gui.C (init): give the toolbar tooltips a normal font.
9533
9534         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
9535         LFUN_LAYOUT_PARAGRAPHS.
9536
9537         * tabular.C (GetCellFromInset): new method. Finds an inset in a
9538         tabular. It is possible to provide a possible cell, which will
9539         typically be the actcell from the corresponding insettabular
9540
9541         * lyxfunc.C (getStatus): small cleanup; disable
9542         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
9543         true
9544
9545 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9546
9547         * tabular.C (Validate): remove broken optimization (fixes bug #201)
9548
9549         * paragraph.C (startTeXParParams):
9550         (endTeXParParams): new methods. The LaTeX code to
9551         start/end paragraph formatting
9552         (simpleTeXOnePar): call startTeXParParams also when paragraph is
9553         empty (fixes bug #200)
9554
9555         * vspace.C (inPixels): adapt to the change below
9556         (inPixels): [later] more cleanups (remove unused variables)
9557
9558         * lyxlength.C (inPixels): change to use a width and a height as
9559         parameter.
9560
9561 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9562
9563         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
9564         Replaced with \paperwidth
9565
9566         * DepTable.C (insert): add std:: qualifier
9567
9568 2002-01-18  Allan Rae  <rae@lyx.org>
9569
9570         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
9571         updated also?
9572
9573         * text.C (drawInset): Turned out I didn't know enough about how
9574         rebreaking worked.  This fixes most of the redraw problems.  I see
9575         an occasional cursor trail when a line is broken now and the cursor
9576         placement can seem out by a few pixels also after a rebreak.
9577
9578 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9579
9580         * buffer.C (parseSingleLyXformat2Token): update because minipage
9581         width is now a LyXLength
9582
9583         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
9584
9585         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
9586         math insets
9587
9588 2002-01-17  Juergen Vigna  <jug@sad.it>
9589
9590         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
9591
9592         * BufferView2.C (lockInset): call edit() so that theLockingInset()
9593         is set correctly and the inset is updated correctly.
9594
9595 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9596
9597         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
9598         the beginning of the loop.
9599
9600 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
9601
9602         * lyxrc.C: improve help for use_scalable_fonts
9603
9604 2002-01-17  Allan Rae  <rae@lyx.org>
9605
9606         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
9607
9608 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9609
9610         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
9611         make sure to set their inset_owner to the right value (bug #171)
9612
9613 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
9614
9615         * DepTable.h
9616         * DepTable.C: Implement mtime checking to reduce time spent doing
9617         CRCs.
9618
9619 2002-01-16  Juergen Vigna  <jug@sad.it>
9620
9621         * tabular.C (GetAdditionalHeight): one of error fixed.
9622
9623         * lyxrc.C (output): small fix in writing use_pspell.
9624
9625 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
9626
9627         * sp_base.h: #include LString.h
9628
9629 2002-01-16  Allan Rae  <rae@lyx.org>
9630
9631         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
9632         Can someone check this please?
9633
9634         * text.C (drawInset): It was possible that p.row would be removed by
9635         breakAgainOneRow upsetting a few other settings.  There may be another
9636         small tweak possible by setting need_break_row = 0 when p.row has been
9637         removed but I don't know enough about the logic here.
9638
9639 2002-01-15  Allan Rae  <rae@lyx.org>
9640
9641         * text.C (insertChar): removed conditional truism.
9642
9643         * BufferView2.C (removeAutoInsets): More tweaks.
9644         cur_par_prev could be a stray pointer.  Check for trailing empty line
9645         in case last line was cur_par and only had an error inset on it.
9646
9647 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9648
9649         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9650         absolute
9651
9652         * vc-backend.C (most methods):
9653         * exporter.C (Export):
9654         * converter.C (convert):
9655         (runLaTeX):
9656         * LyXSendto.C (SendtoApplyCB):
9657         * lyxfunc.C (dispatch):
9658         (menuNew):
9659         (open):
9660         (doImport):
9661         * lyx_cb.C (AutoSave):
9662         (InsertAsciiFile):
9663         * BufferView_pimpl.C (MenuInsertLyXFile):
9664         * buffer.C (runChktex): use Buffer::filePath().
9665
9666         * buffer.h: rename filename to filename_; rename filepath to
9667         filepath_ and make it private
9668         (filePath): new method
9669
9670         * buffer.C (writeFile): use fileName()
9671         (getLatexName):
9672
9673         * lyx_main.C (init): fix starting  of LyX when the binary is a
9674         link from so,ewhere else.
9675
9676         * minibuffer.C: include <cctype> for isprint
9677
9678 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9679
9680         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9681         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9682         name clash with InsetCollapsable's width function.
9683
9684 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9685
9686         * lastfiles.C: include <iterator>
9687
9688 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9689
9690         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9691         std::count.
9692
9693         * buffer.C (makeLaTeXFile): ditto.
9694         Also make loop operation more transparent.
9695
9696 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9697
9698         * ToolbarDefaults.C: remove trailing comma closing namespace.
9699
9700         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9701
9702         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9703         as in WorkArea.
9704
9705         * trans.C (Load): comment out unused variable, allowed.
9706
9707 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9708
9709         * minibuffer.[Ch] (append_char): new method to recieve input from the
9710         drop-down completion browser. If a key was pressed, then recieve this
9711         char and append it to the existing string.
9712         (peek_event): modify the positioning data passed to the completion
9713         browser so that it can be placed above the minibuffer rather than below.
9714 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9715
9716         * LyXAction.C (init): alloe error-next for readonly documents.
9717
9718         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9719         count.
9720
9721 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9722
9723         * bufferlist.C (readFile): create the buffer _after_ checking that
9724         the file exists.
9725
9726         * lyxfunc.C (verboseDispatch): fix handling of arguments
9727
9728         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9729
9730         * lyxrc.C: use string::erase() instead of initializing to "".
9731
9732
9733 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * BufferView_pimpl.h:
9736         * BufferView_pimpl.C:
9737         * WorkArea.h:
9738         * WorkArea.C:
9739         * text2.C: tell X when we have made a selection for copying
9740
9741 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9742
9743         * BufferView_pimpl.C (MenuInsertLyXFile):
9744         * lyxfunc.C (menuNew):
9745         (open):
9746         (doImport): add shortcuts to directory buttons
9747
9748         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9749         open a float)
9750
9751         * lyxfunc.C (setStatusMessage):
9752         (getStatusMessage): new methods
9753         (getStatus):use setStatusMessage instead of setErrorMessage
9754         (dispatch): when function is disabled, set error message here
9755         [instead of in getStatus previously]
9756
9757         * BufferView_pimpl.C (workAreaButtonRelease): update
9758         toolbar/menubar here too.
9759
9760 2002-01-13  Allan Rae  <rae@lyx.org>
9761
9762         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9763         Now seems indestructible.  Remaining task is to audit all other
9764         code affected by deleteEmptyParagraphMechanism.  One small quirk
9765         left is that an empty document with an error in the preamble can
9766         be made to report an error but no error box appears.  I don't know
9767         where it goes.
9768         (removeAutoInsets): Improved comments.
9769
9770 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9771
9772         * Thesaurus.h:
9773         * Thesaurus.C: update for Aiksaurus 0.14
9774
9775 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9776
9777         * text2.C (firstParagraph): removed member function, all uses
9778         replaces with ownerParagraph
9779         (redoParagraphs): here
9780         (updateInset): here
9781         (toggleAppendix): here
9782         * BufferView2.C (insertErrors): here
9783         (setCursorFromRow): here
9784
9785 2002-01-13  Allan Rae  <rae@lyx.org>
9786
9787         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9788         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9789         There is still a way to segfault this although you may have to do this
9790         multiple times: Have an InsetERT with an unknown command in it.
9791         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9792         <down-arrow>, <Enter> again, View->DVI, BANG!
9793
9794         * text2.C (setCursor):
9795         (deleteEmptyParagraphMechanism):
9796         * lyxtext.h (setCursor):
9797         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9798         Making use of the return value may help fix other bugs.
9799
9800 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9801
9802         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9803
9804         * LyXView.C (updateMenubar): call MenuBar::update here
9805         (updateToolbar): but not here
9806         (showState): do not update toolbar/menubar
9807
9808         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9809         should need to care about that.
9810
9811         * lyxfunc.C (verboseDispatch): simplify a bit
9812         (getStatus): have a version which takes a pseudoaction, and
9813         another which requires a (kb_action,string).
9814
9815         * LyXAction.C (retrieveActionArg): make it work also when action
9816         is not a pseudo-action.
9817         (getActionName): simplify a bit
9818         (helpText):
9819
9820 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9821
9822         * lyxfunc.C (verboseDispatch): new families of methods with
9823         several ways to specify a command and a bool to indicate whether
9824         the command name and shortcut should be displayed in minibuffer
9825         (eventually, we could extend that to a finer bitmask like
9826         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9827         (dispatch): the pristine dispatch command which just, well,
9828         dispatchs! Note it still sets its result to minibuffer; I'm not
9829         sure we want that.
9830
9831         * lyxfunc.h: remove setHintMessage
9832
9833         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9834
9835 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9836
9837         * BufferView_pimpl.C (specialChar): delete new inset if we have
9838         not been able to insert it.
9839
9840         * kbmap.C: revert to using int instead of kb_action, since all we
9841         are dealing with is pseudo-actions.
9842
9843         * LyXAction.C (searchActionArg): change to return int instead of
9844         kb_action, since the result is a pseudoaction.
9845
9846 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9847
9848         * buffer.C (insertErtContents): Fix (partially) the font bug.
9849
9850 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9851
9852         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9853         as the other one is broken on my machine!
9854
9855 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9856
9857         * commandtags.h:
9858         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9859
9860 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9861
9862         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9863         reflect their actual use. Provide compatibility code for older lyxrc
9864         files.
9865
9866         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9867         FL_NORMAL_STYLE.
9868         change names of popup font variables in line with the changes to lyxrc.C
9869
9870 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9871
9872         * buffer.C (asciiParagraph): avoid outputing a word twice after
9873         an inset.
9874
9875         * lyxrc.C (getDescription): document that document_path and
9876         template_path can be empty.
9877
9878 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9879
9880         * LaTeXFeatures.C (getMacros):
9881         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9882
9883         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9884
9885         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9886         getPackages.
9887         (getPackages): rename feature "floats" to "float". Use an array to
9888         iterate over 'simple' features (i.e. just a \usepackage). Add
9889         handling of "amsmath" (renamed from "amsstyle").
9890
9891 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9892
9893         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9894         features list.
9895
9896 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9897
9898         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9899         FuncStaus::FuncStatus & FuncStaus::some_method().
9900
9901 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9902
9903         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9904         of the func_satus stuff. Edited and massaged in various ways by
9905         JMarc.
9906
9907         * lyxfunc.C (getStatus): use FuncStatus
9908
9909 2002-01-08  Juergen Vigna  <jug@sad.it>
9910
9911         * text.C (nextBreakPoint): use function Inset::isChar().
9912
9913         * paragraph.C (TeXOnePar): use function
9914         Inset::forceDefaultParagraphs.
9915
9916         * buffer.C (latexParagraphs): use function
9917         Inset::forceDefaultParagraphs.
9918
9919 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9920
9921         * lyx_gui.C (init): set the style of the menu popups to
9922         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9923
9924 2002-01-07  Juergen Vigna  <jug@sad.it>
9925
9926         * text.C (setHeightOfRow): small fix
9927         (prepareToPrint): don't look at alignment if we don't have the place
9928         for doing it.
9929
9930 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9931
9932         * box.C: New file. Move the Box methods and functions out of box.h,
9933         following Lars' suggestion.
9934
9935 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9936
9937         * box.h: #include "support/LOstream.h", needed for inlined function.
9938
9939         * lyxtextclass.C:
9940         * lyxtextclasslist.C: added some using std declarations.
9941
9942 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * box.h: make signed dimensions to allow insets wider than
9945           the screen (bug #162)
9946
9947         * BufferView_pimpl.C: add some insetHit debug
9948
9949 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * vc-backend.C: add FIXME
9952
9953 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9954
9955         * lyxfunc.C (getStatus): enable code for showing math font status
9956         in toolbar/menu.
9957
9958 2002-01-07  Juergen Vigna  <jug@sad.it>
9959
9960         * text.C (nextBreakPoint): removed debug output not needed anymore.
9961
9962 2002-01-06  Juergen Vigna  <jug@sad.it>
9963
9964         * text.C (nextBreakPoint): fixed up this function we had this bug
9965         since ever but now hopefully we break row better.
9966         (insertChar): we have to check if an inset is the next char as it
9967         could now happen that a large inset is causing a break.
9968
9969 2002-01-05  Juergen Vigna  <jug@sad.it>
9970
9971         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9972         if it doesn't like to be drawed.
9973
9974 2002-01-04  Juergen Vigna  <jug@sad.it>
9975
9976         * BufferView2.C (lockInset): forgot to set a cursor.
9977
9978         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9979
9980 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9981
9982         * FormMathsPanel.C:
9983         * FormMathsPanel.h
9984         * MathsSymbols.C:
9985         * form_maths_panel.C:
9986         * form_maths_panel.h:
9987         * form_maths_panel.fd: implemented sub- and super- buttons in math
9988         panel.
9989
9990         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9991         (or ^ space) to be used as in TeX (req'd by André).
9992
9993         * lyxfunc.C: Allow ^ and _ again to be used both as
9994         super/subscript (mathed) and as themselves (in text).
9995
9996 2002-01-03  Allan Rae  <rae@lyx.org>
9997
9998         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9999         "LyX" or the filename of the current buffer if it has one.  This is a
10000         modified form of John Levon's patch.
10001
10002         * XFormsView.C (setWindowTitle): also set icon title.
10003
10004         * LyXView.h (setWindowTitle): signature changed.
10005         * XFormsView.h (setWindowTitle): ditto.
10006
10007 2002-01-02  Juergen Vigna  <jug@sad.it>
10008
10009         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
10010
10011 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10012
10013         * screen.C (topCursorVisible): introduce a temp var for
10014         text->cursor.row(), handle the case where this row is null. (kindo
10015         hachish)
10016
10017         * text2.C (setCursor): add a couple of asserts.
10018
10019         * paragraph.h (inset_iterator): add -> operator
10020
10021         * paragraph.[Ch] (autoDeleteInsets): remove member function
10022
10023         * BufferView2.C (removeAutoInsets): rewrite to handle the old
10024         cursor pos correctly and handle inset deletion by itself.
10025         (insertErrors): move iterator declaration out of for expression
10026
10027         * lyxtextclass.C: add <algorithm>
10028
10029         * Makefile.am: added the new files to sources, removed layout.C
10030
10031         * layout.C: removed file
10032
10033         * layout.h: remove LYX_DUMMY_LAYOUT
10034
10035         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
10036         layout.
10037
10038         * lyxlayout.[Ch]:
10039         * lyxtextclass.[Ch]:
10040         * lyxtextclasslist.[Ch]: new files
10041
10042         * include order changes to a lot of files, also changes because of
10043         the six new files.
10044
10045 2001-12-27  Juergen Vigna  <jug@sad.it>
10046
10047         * buffer.C (asciiParagraph): more fixes.
10048
10049         * tabular.C (ascii): make ascii export support export of only the
10050         data separated by a column-delimiter.
10051         (ascii): better support for ascii export.
10052
10053         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
10054
10055 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10056
10057         * tabular_funcs.C: use a "using std::getline" instead of the
10058         previous fix from Angus (necessary for cxx + lyxstring)
10059
10060 2001-12-24  Juergen Vigna  <jug@sad.it>
10061
10062         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
10063
10064         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
10065         problems. First check a minipage also if we have some ert-contents
10066         (not only on par->size(), second set the right depth of the paragraph
10067         on the relink to the root-paragraph-list!
10068
10069         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
10070         which then did not anymore update the main paragraphs on undo/redo!
10071
10072 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10073
10074         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
10075         code. Support all font-changing funcs (even those which are not in
10076         menu currently). Support for reporting font settings in
10077         mathed (disabled until Andre provides a function on mathed's side).
10078
10079         * func_status.h (toggle): small helper function to set toggle
10080         state on a flag.
10081
10082 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
10083
10084         * tabular_funcs.C: getline -> std::getline
10085
10086 2001-12-21  Juergen Vigna  <jug@sad.it>
10087
10088         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
10089         accessed and could be 0 (I couldn't generate this but it seems
10090         Michael could!).
10091
10092 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10093
10094         * tabular_funcs.C: add LIstream.h, move write_attribute to..
10095         * tabular_funcs.h: here and include iosfwd
10096
10097 2001-12-20  Juergen Vigna  <jug@sad.it>
10098
10099         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
10100         inside inset but undo_par was.
10101
10102 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10103
10104         * Thesaurus.C: always include <config.h> in sources.
10105
10106         * Painter.h:
10107         * lyxlookup.h:
10108         * box.h: do not include <config.h> in header files
10109
10110         * text.C (paintLastRow): remove unused variable
10111
10112         * text.C (transformChar):
10113         (insertChar):
10114         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
10115
10116         * Painter.C (text):
10117         * font.C (width): rewrite to use uppercase() instead of
10118         islower/toupper.
10119
10120         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
10121
10122 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * lyxfind.C: clean up of find failure position change
10125
10126 2001-12-20  Juergen Vigna  <jug@sad.it>
10127
10128         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
10129
10130         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
10131         (TeXRow): added to LaTeX a single tabular row.
10132         (TeXLongtableHeaderFooter): added to output LT-h/f data.
10133         (Latex): simplified and finally good LT-h/f support.
10134         (various_functions): just small adaptions for LT-h/f support.
10135
10136         * tabular_funcs.[hC]: added and moved here all not classfunctions
10137         of LyXTabular.
10138
10139 2001-12-19  Juergen Vigna  <jug@sad.it>
10140
10141         * tabular.[Ch]: better support for longtabular options (not finished
10142         yet!)
10143
10144 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10145
10146         * text.C (paintLastRow): use the label font instead of the font of
10147         the last character to compute the size of *_BOX. This makes more
10148         sense and avoids a crash with empty paragraphs.
10149         Use Painter::rectangle to draw EMPTY_BOX.
10150
10151 2001-12-19  Juergen Vigna  <jug@sad.it>
10152
10153         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
10154         the paragraphs if the replaced paragraph is not the first one!
10155         Tried to delete not used paragraphs but does not work yet so for
10156         now it's inside #ifdef's and by default off!
10157
10158 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10159
10160         * MenuBackend.C: include "lyx_main.h" instead of declaring
10161         lastfiles (actually was declared as LastFiles* instead of a
10162         scoped_ptr).
10163
10164 2001-12-17  Juergen Vigna  <jug@sad.it>
10165
10166         * tabular.C (AppendColumn): applied John's fix
10167
10168 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * BufferView.h:
10171         * BufferView.C:
10172         * BufferView_pimpl.h:
10173         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
10174
10175         * Makefile.am:
10176         * box.h: new start of class for above
10177
10178         * lyxfunc.C: ignore space-only minibuffer dispatches.
10179           Show the command name when it doesn't exist
10180
10181         * minibuffer.C: don't add empty lines to the history
10182
10183         * minibuffer.C: add a space on dropdown completion
10184
10185 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * text.C: fix line above/below drawing in insets
10188
10189 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10190
10191         * lyxlength.C (LyXLength): Initialize private variables.
10192
10193 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
10194
10195         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
10196         when inserting error insets.
10197
10198 2001-12-13  Juergen Vigna  <jug@sad.it>
10199
10200         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
10201         actually sometimes the before-paragraph.
10202         (setUndo): don't clear the redostack if we're not actually undoing!
10203
10204 2001-12-06  Juergen Vigna  <jug@sad.it>
10205
10206         * undo_funcs.C (textHandleUndo): well after John's hint I got here
10207         and fixed redoing of main paragraph, so we can use it now ;)
10208
10209         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
10210
10211 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10212
10213         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
10214         Juergen's request
10215
10216 2001-12-13  André Pönitz <poenitz@gmx.net>
10217
10218         * undostack.[Ch]:
10219         * undo_func.C: minor cleanup
10220
10221 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
10224         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
10225         font in urw-fonts package which is marked as -urw-fontspecific and
10226         does not work (incidentally, changing the encoding in the
10227         fonts.dir of this package to -adobe-fontspecific fixes the
10228         problem).
10229
10230         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
10231         is a crash when undoing first paragraph (Juergen, please take a
10232         look). THis does not mean the undo fix is wrong, just that it
10233         uncovers problems.
10234
10235         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
10236         the (Paragraph*) version when needed instead of duplicating the
10237         code.
10238
10239         * text.C (workWidth): use Inset::parOwner to find out where the
10240         inset has been inserted. This is a huge performance gain for large
10241         documents with lots of insets. If Inset::parOwner is not set, fall
10242         back on the brute force method
10243
10244         * paragraph_pimpl.C (insertInset):
10245         * paragraph.C (Paragraph):
10246         (cutIntoMinibuffer): set parOwner of insets when
10247         inserting/removing them
10248
10249         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10250
10251 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
10252
10253         * commandtags.h:
10254         * LyXAction.C:
10255         * lyx_main.C:
10256         * lyxfunc.C:
10257         * mathed/formulabase.C:
10258         * mathed/math_cursor.[Ch]:
10259         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
10260
10261
10262 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10263
10264         * lyxlength.[Ch] (operator!=): new function
10265
10266 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10267
10268         * text.C (workWidth): use Inset::parOwner to find out where the
10269         inset has been inserted. This is a huge performance gain for large
10270         documents with lots of insets. If Inset::parOwner is not set, fall
10271         back on the brute force method
10272
10273         * paragraph_pimpl.C (insertInset):
10274         * paragraph.C (Paragraph):
10275         (cutIntoMinibuffer): set parOwner of insets when
10276         inserting/removing them
10277
10278         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
10279
10280 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10281
10282         * tabular-old.C (getTokenValue):
10283         * tabular.C (getTokenValue):
10284         (write_attribute): new versions for LyXLength
10285         (everywhere): adjust the use of widths
10286
10287         * tabular.h: change the type of widths from string to LyXLength
10288
10289 2001-12-11  Ben Stanley <bds02@uow.edu.au>
10290
10291         * paragraph.C: fixed missing line number count when exporting
10292         Environments to LaTeX file
10293
10294         * buffer.C: added informational message for checking line numbers.
10295
10296 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * text2.C (deleteEmptyParagraphMechanism): if there is only one
10299         paragraph, do the 'double space' part, but not the 'empty
10300         paragraph' one.
10301
10302         * text.C (workWidth): small optimization
10303         (getLengthMarkerHeight): use minimal size for negative lengths.
10304
10305 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
10306
10307         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
10308
10309         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
10310
10311 2001-12-11  André Pönitz <poenitz@gmx.net>
10312
10313         * FontLoader.C:
10314         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
10315
10316 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * text2.C: keep selection on a setFont()
10319
10320 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * lyx_cb.C: another bv->text misuse, from insert label
10323
10324 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10325
10326         * kbsequence.h:
10327         * kbsequence.C: re-instate nmodifier mask
10328
10329 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
10330
10331         * lyx_main.h: make lyxGUI private.
10332
10333 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * lyxfind.C: place the cursor correctly on failed search
10336
10337 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10338
10339         * text.C (getLengthMarkerHeight): for small heights, the arrows
10340         are not always on top/bottom of the text
10341         (drawLengthMarker): smaller arrows; take the left margin in
10342         account; draw also vfills.
10343         (paintFirstRow):
10344         (paintLastRow): remove special code for vfill and standard spaces,
10345         since everything is handled in drawLengthMarker now.
10346
10347 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10348
10349         * buffer.C (insertErtContents): try to handle font and language
10350         interaction a bit better.g
10351
10352         * ColorHandler.C (updateColor): change the hash to cover the whole
10353         LColor enum, ws cleanup
10354         (getGCLinepars): ditto
10355         (getGCLinepars): only lookup in the linecache once.
10356
10357 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
10358
10359         * iterators.C (operator++): Make the iterator more robust
10360
10361         * BufferView2.C (removeAutoInsets): Use paragraph iterators
10362         (John's patch)
10363         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
10364
10365 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * lyxtext.h:
10368         * text.C: better added space drawing
10369
10370 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * LyXView.C:
10373         * BufferView2.C: fix layout combo update on inset unlock
10374
10375 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10376
10377         * Makefile.am: don't compile unused files
10378
10379 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10380
10381         * lyxfunc.C:
10382         * commandtags.h:
10383         * LyXAction.C: remove old LFUN_LAYOUTNO
10384
10385 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * paragraph_pimpl.h:
10388         * paragraph_pimpl.C: isTextAt() doesn't need font param
10389
10390 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * lyxlex.h:
10393         * lyxlex.C: little cleanup
10394
10395 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * BufferView_pimpl.C: fix insertAscii for insets
10398
10399 2001-12-05  Juergen Vigna  <jug@sad.it>
10400
10401         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
10402         set the right font on the "multi" paragraph paste!
10403
10404 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10405
10406         * trans_decl.h:
10407         * trans_mgr.[Ch]:
10408         * trans.[Ch]:
10409         * lyxgluelength.C:
10410         * lyxlength.C: remove out-commented code.
10411
10412         * BufferView_pimpl:
10413         * CutAndPaste.C:
10414         * DepTable.C:
10415         * buffer.C:
10416         * chset.C:
10417         * lastfiles.C:
10418         * lyxlex.C:
10419         * lyxlex_pimpl.C:
10420         * lyxserver.C:
10421         * screen.C:
10422         * tabular-old.C:
10423         * tabular.C:
10424         * text.C:
10425         * trans_mgr.C:
10426         * vc-backend.C: change "while(" to "while ("
10427
10428         * lyxlength.[Ch]: add zero function to check if length is zero or
10429         not
10430         * lyxgluelength.C: use it
10431
10432 2001-12-05  Allan Rae  <rae@lyx.org>
10433
10434         * lyxlength.C: Attempted a fix for the abs(int) header selection.
10435         Works for 2.95.3, from what I understand of Garst's reports this should
10436         work for other g++ versions.  We're screwed if the abs(int) definition
10437         changed between bugfix releases of gcc.
10438
10439 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * text.C: fix chapter label offset !
10442
10443 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * lyxtext.h:
10446         * text.C: fix hfill at end of line, clean up
10447
10448 2001-12-04  Juergen Vigna  <jug@sad.it>
10449
10450         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
10451         that we force an update of the inset and it's owners if neccessary.
10452
10453 2001-12-03  Juergen Vigna  <jug@sad.it>
10454
10455         * text.C (rowLast): simplified code
10456
10457 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * lyxfunc.C: fix show options on timeout
10460
10461 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10462
10463         * screen.C (topCursorVisible): scroll half a page when the cursor
10464         reached top of bottom of screen
10465
10466 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
10467
10468         * minibuffer.C: deactivate on loss of focus
10469
10470 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10471
10472         * vspace.[Ch] (operator!=): add operator.
10473
10474 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
10475
10476         * BufferView_pimpl.C: refuse to open an inset when
10477         there's a selection.
10478
10479 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
10480
10481         * BufferView_pimpl.C: allow to click on RHS of full row insets
10482
10483 2001-11-30  Juergen Vigna  <jug@sad.it>
10484
10485         * tabular.C (LyXTabular): add a same_id to set the same id's in the
10486         insets for undo reasons.
10487
10488 2001-11-28  André Pönitz <poenitz@gmx.net>
10489
10490         * vspace.[Ch]: cosmetical changes
10491
10492 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * LyXAction.h:
10495         * LyXAction.C:
10496         * lyxfunc.h:
10497         * lyxfunc.C:
10498         * kbmap.h:
10499         * kbmap.C:
10500         * lyxrc.C:
10501         * kbsequence.h:
10502         * kbsequence.C: part re-write of old kb code
10503
10504         * Painter.C:
10505         * WorkArea.C: remove Lgb_bug_find_hack
10506
10507 2001-11-30  José Matos <jamatos@fep.up.pt>
10508
10509         * buffer.C (makeDocBookFile): add a comment to point a hack.
10510         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
10511         Fixed a double write of labels.
10512
10513 2001-11-29 Ben Stanley <bds02@uow.edu.au>
10514
10515         * LaTeX.C:
10516         * LaTeX.h Fixed bug in LaTeX class where it would not
10517         re-run latex if no depfiles were changed, but the .dvi was removed.
10518
10519 2001-11-28  André Pönitz <poenitz@gmx.net>
10520
10521         * all the files from the change on 2001/11/26:
10522         use lyx::layout_type instead of LyXTextClass::size_type
10523         use lyx::textclass_type instead of LyXTextClassList::size_type
10524
10525 2001-11-29  Juergen Vigna  <jug@sad.it>
10526
10527         * text.C: added support for paragraph::isFreeSpacing()
10528
10529         * buffer.C: same as above
10530
10531         * paragraph.h: inserted isFreeSpacing() function to enable
10532         FreeSpacing inside InsetERT.
10533
10534         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
10535         of the paragraph's in the cut/copy buffer to 0!
10536
10537         * text2.C (removeRow): remove the assert as it can!
10538
10539         * lyxtext.h: added helper function firstRow returning firstrow and
10540         made firstrow private again.
10541
10542         * BufferView2.C (lockInset): don't relock if we're already locked!
10543
10544         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
10545         the only paragraph.
10546         (removeRow): added Assert::(firstrow)
10547
10548         * debug.C: forgot to add INSETTEXT here.
10549
10550 2001-11-28  Juergen Vigna  <jug@sad.it>
10551
10552         * sp_spell.C (initialize): changed error text to more general
10553         spellchecker command use (not only ispell!)
10554
10555         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
10556
10557         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
10558
10559 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * vspace.C: initialise lyxgluelength on failure
10562
10563 2001-11-28  Allan Rae  <rae@lyx.org>
10564
10565         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
10566         declaration & definition that looks like a function declaration.
10567
10568 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10569
10570         * BufferView2.C (copy):
10571         (copyEnvironment): do not clear the selection when doing a copy.
10572
10573         * text.C (paintFirstRow): compilation fix
10574
10575 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
10576
10577         * tabular.C (Latex): correct line count when writing latex.
10578
10579 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * paragraph_pimpl.h:
10582         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
10583           bug a bit
10584
10585 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
10586
10587         * text.C:
10588         * LColor.h:
10589         * LColor.C: change vfillline->added_space
10590
10591         * text.C: add markers and text for added space
10592
10593         * vspace.C: fix comment
10594
10595 2001-11-28  André Pönitz <poenitz@gmx.net>
10596
10597         * paragraph.C: whitespace changes
10598         * all the other files from the change on 2001/11/26:
10599         change *::pos_type into lyx::pos_type
10600
10601 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10602
10603         * buffer.C (parseSingleLyXformat2Token): Set the language to the
10604         language of the document when inserting error insets.
10605
10606 2001-11-26  André Pönitz <poenitz@gmx.net>
10607
10608         * BufferView_pimpl.[Ch]:
10609         *       CutAndPaste.C:
10610         * buffer.[Ch]:
10611         * lyxcursor.[Ch]:
10612         * lyxfind.C:
10613         * lyxfunc.C:
10614         * lyxrow.[Ch]:
10615         * paragraph.[Ch]:
10616         * paragraph_pimpl.[Ch]:
10617         * sp_spell.C:
10618         * text.C:
10619         * text2.C: reduce header dependencies, introduce type for positions
10620
10621 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10622
10623         * <various>: change to use Alert.h
10624
10625 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
10628         when encountering an unknown token.
10629         (readLyXformat2): Show an error message if there were unknown tokens.
10630
10631 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
10632
10633         * BufferView2.C:
10634         * BufferView_pimpl.C:
10635         * buffer.C:
10636         * paragraph.h:
10637         * text.C:
10638         * text2.C: use par->isInset()
10639
10640 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * paragraph_pimpl.h:
10643         * paragraph_pimpl.C: cleanup
10644
10645 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10646
10647         * text2.C (removeRow):
10648         * text.C (setHeightOfRow): remove useless (and costly) call to
10649         getRow.
10650
10651 2001-11-20  Allan Rae  <rae@lyx.org>
10652
10653         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10654         Now need Inset*::checkInsertChar() to return true for appropriate
10655         cases so that the characters in the minibuffer will actually be
10656         inserted.
10657
10658 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10659
10660         * text.C: change the order of the includes.
10661         (workWidth): initialize it at once.
10662         (workWidth): make maxw unsigned
10663         (setHeightOfRow): remove unused variable (inset)
10664         (selectSelectedWord): remove unused variable (inset)
10665         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10666
10667 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10668
10669         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10670         server is not running.
10671         (openConnection):
10672         (closeConnection): add debug info when server is disabled.
10673
10674         * ColorHandler.C (getGCForeground): send debug message to GUI
10675         channel.
10676
10677         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10678
10679         * kbmap.C (bind): modify because return conventions of
10680         kb_sequence::parse have changed.
10681
10682         * kbsequence.C (parse): only ignore spaces and not any stupid
10683         control character. This avoids tests like s[i] <= ' ', which are
10684         guaranteed to fail with 8bit characters and signed chars.
10685         Change return code to string::npos when there have been no error
10686         (0 was a bad idea when error is at first character)
10687
10688 2001-11-14  José Matos  <jamatos@fep.up.pt>
10689
10690         * buffer.h:
10691         * buffer.C (simpleDocBookOnePar): removed unused argument.
10692
10693 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10694
10695         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10696         insets which are part of a word. Paragraph::isLetter takes care of
10697         that now. Use Paragraph::isInset to identify insets.
10698         (selectSelectedWord): do not test for hyphenation break.
10699
10700         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10701         that protected spaces are considered as spaces.
10702
10703         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10704         Inset::isLetter.
10705
10706 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * lyxserver.h:
10709         * lyxserver.C: fix it. and small cleanup.
10710
10711 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10712
10713         * BufferView_pimpl.C: use inline helpers
10714
10715         * LaTeXFeatures.h:
10716         * LaTeXFeatures.C: fix typos
10717
10718         * Spacing.h:
10719         * Spacing.C: move spacing_string into class
10720
10721         * ToolbarDefaults.C: move stuff into namespace anon
10722
10723         * layout.h: update enum
10724
10725         * lyxfunc.C: use better debug
10726
10727         * minibuffer.h: fix typo
10728
10729         * debug.h:
10730         * debug.C:
10731         * WorkArea.C: add and use Debug::WORKAREA
10732
10733         * lyxtext.h:
10734         * text.C:
10735         * text2.C: code re-organisation, inline helpers
10736
10737 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10738
10739         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10740         std::vector.empty().
10741
10742 2001-11-09  Allan Rae  <rae@lyx.org>
10743
10744         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10745         '\n's after tables.  Tabular and ERT inset work now makes this no
10746         longer necessary.
10747
10748 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10749
10750         * minibuffer.h:
10751         * minibuffer.C: fix crash, improve drop-down completion
10752
10753 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10754
10755         * lyxserver.h:
10756         * lyxserver.C: invalidate fd's when doing endPipe()
10757
10758 2001-11-08  José Matos  <jamatos@fep.up.pt>
10759
10760         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10761         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10762
10763         * paragraph.h:
10764         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10765
10766 2001-11-07  José Matos  <jamatos@fep.up.pt>
10767
10768         * buffer.h:
10769         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10770         const qualifier.
10771
10772         * buffer.C (sgmlOpenTag):
10773         * buffer.C (sgmlCloseTag): removed debug info.
10774
10775         * buffer.h (sgmlOpenTag):
10776         * buffer.h (sgmlCloseTag): made public.
10777
10778 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10779
10780         * buffer.C (saveParamsAsDefaults):
10781         * lyx_cb.C (MenuLayoutSave): remove
10782
10783         * LyXAction.C (init):
10784         * commandtags.h:
10785         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10786
10787 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10788
10789         * buffer.C (setPaperStuff): removed from here...
10790
10791         * bufferparams.C (setPaperStuff): ... and moved there.
10792
10793 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10794
10795         * minibuffer.h:
10796         * minibuffer.C:
10797         * XFormsView.C: add support for drop-down completion
10798
10799 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10800
10801         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10802         commands.
10803
10804 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10805
10806         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10807         disabled.
10808
10809 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10810
10811         * lyx_main.C: change ref to known bugs
10812
10813 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10814
10815         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10816         to work around older babel problems.
10817
10818 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10819
10820         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10821
10822 2001-10-24  Juergen Vigna  <jug@sad.it>
10823
10824         * tabular-old.C (ReadOld): below variable changes reflected.
10825
10826         * tabular.[Ch]: added ltType struct for longtable header/footer
10827         defines and changed all instances where they are used. Added
10828         future support for double top/bottom rows.
10829
10830 2001-10-24  José Matos  <jamatos@fep.up.pt>
10831
10832         * buffer.h (docbookHandleCaption):
10833         * buffer.C (docbookHandleCaption): removed unused function.
10834         (makeDocBookFile): moved docbook supported version to v4.1.
10835
10836 2001-10-24  José Matos  <jamatos@fep.up.pt>
10837
10838         * tabular.h:
10839         * tabular.C (docbookRow): new function to export docbook code of a row.
10840         (DocBook): now honors the longtable flags.
10841
10842 2001-10-23  José Matos  <jamatos@fep.up.pt>
10843
10844         * LaTeXFeatures.h:
10845         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10846         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10847
10848         * buffer.C (makeLinuxDocFile):
10849         (makeDocBookFile): reworked the preamble, more clean, and with
10850         support for lyx defined entities. Changed the document declaration
10851         to be more XML friendly.
10852
10853         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10854         if we need to output XML that should be done with a filter.
10855
10856 2001-10-22  Juergen Vigna  <jug@sad.it>
10857
10858         * sp_pspell.h (class PSpell): add alive function needed in the
10859         controller to see if the spellchecker could be started.
10860
10861 2001-10-22  Juergen Vigna  <jug@sad.it>
10862
10863         * buffer.C (insertStringAsLines): modify the font for inserting
10864         chars in certain conditions by calling checkInsertChar(font).
10865
10866 2001-10-19  Juergen Vigna  <jug@sad.it>
10867
10868         * text.C (workWidth): use getRow instead of wrong algorithm.
10869         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10870
10871 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10872
10873         * lyxserver.h:
10874         * lyxserver.C:
10875         * lyx_main.h:
10876         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10877
10878 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10879
10880         * text.C (workWidth): do not search for the exact row when
10881         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10882         optimization for big documents.
10883
10884 2001-10-18  Juergen Vigna  <jug@sad.it>
10885
10886         * text.C (workWidth): new function with added Inset * parameter.
10887
10888 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10889
10890         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10891
10892         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10893         change return type of getColumnNearX.
10894
10895
10896         * text.C (changeRegionCase): use uppercase/lowercase instead of
10897         toupper/tolower.
10898         (leftMargin):
10899         (rightMargin): simplify code by factoring out the uses of
10900         textclasslist.
10901         (labelFill):
10902         (numberOfHfills):
10903         (setHeightOfRow):
10904         (appendParagraph): use Paragraph::size_type
10905
10906 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10907
10908         * vspace.C (asLatexString): add a missing break
10909
10910 2001-10-15  Herbert Voss  <voss@perce.de>
10911
10912         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10913
10914 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10915
10916         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10917         is not available.
10918
10919 2001-10-10  André Pönitz <poenitz@gmx.net>
10920
10921         * lyxfunc.C: removed greek_kb_flag.
10922
10923 2001-10-10  Herbert Voss  <voss@perce.de>
10924
10925         * lyx_main.C: delete global string help_lyxdir.
10926
10927 2001-10-09  Herbert Voss  <voss@perce.de>
10928
10929         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10930
10931         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10932
10933         * lyx_main.C: added global string help_lyxdir.
10934
10935         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10936
10937 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10938
10939         * lyxrc.C (set_font_norm_type): support iso8859-4
10940
10941 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10942
10943         * LaTeX.C (deplog): add another regex for MikTeX
10944
10945 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10946
10947         * lyxrc.C (set_font_norm_type): support iso8859-3
10948
10949 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10950
10951         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10952
10953         * LaTeXFeatures.C: remove special case of french and index
10954
10955         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10956         before \begin{document}). This solves several incompatibilities.
10957
10958 2001-10-03  Garst Reese  <reese@isn.net>
10959
10960         * lyx_cb.C: change CheckTex error msg.
10961
10962 2001-10-03  José Matos  <jamatos@fep.up.pt>
10963
10964         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10965
10966 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10967
10968         * .cvsignore: update
10969
10970         * lyx_main.C (commandLineVersionInfo): use new style version info.
10971
10972         * buffer.C (writeFile):
10973         (makeLaTeXFile):
10974         (makeLinuxDocFile):
10975         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10976
10977         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10978
10979         * version.h: update to use stuff in version.C
10980
10981         * version.C.in: new file. Contains version information determined
10982         at compile time. This is a merging of version.h and
10983         version_info.h.in.
10984
10985 2001-10-03  Juergen Vigna  <jug@sad.it>
10986
10987         * BufferView_pimpl.C (update): don't change "dirty" status in
10988         updateInset call.
10989
10990 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10991
10992         * WorkArea.C (c-tor): re-position version string slightly.
10993
10994 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10995
10996         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10997         revert to previous code.
10998
10999         WorkArea.[Ch]: (show, destroySplash): methods removed.
11000
11001         WorkArea.C: rework code so that it's an amalgam of the codes before and
11002         after the splash screen was moved to WorkArea.
11003
11004 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11005
11006         * lyxrc.C (read):
11007         * vspace.C (inPixels):
11008         (lyx_advance):
11009         * kbmap.C (bind):
11010         * buffer.C (insertStringAsLines):
11011         (asciiParagraph): fix types to be large enough
11012
11013         * lyxlex_pimpl.h: change member status from short to int
11014
11015         * layout.h: fix type of endlabeltype
11016
11017         * kbmap.C (bind):
11018         * kbsequence.C (parse): change return type to string::size_type
11019
11020         * LaTeX.C (updateBibtexDependencies): comment out unneeded
11021         variable
11022
11023         * Bullet.C (bulletSize):
11024         (bulletEntry): do not use short ints as parameters
11025
11026         * BufferView2.C (insertLyXFile): change a char to an int.
11027
11028         * WorkArea.C (WorkArea): remove unneeded floats in computation
11029
11030 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
11031
11032         * buffer.C (asciiParagraph): Treat '\\' as other chars.
11033
11034         * paragraph.C (asString): Do not ignore newline/hfill chars when
11035         copying to the clipboard.
11036
11037 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
11038
11039         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
11040         after a multi-line inset.
11041
11042 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
11043
11044         * paragraph.C (validate): Set NeedLyXFootnoteCode
11045
11046 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11047
11048         * lyxfont.C (LyXSizeNames): changed increase-error to increase
11049         and decrease-error to decrease.
11050
11051 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11052
11053         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
11054         it more readable (should be equivalent)
11055
11056 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
11057
11058         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
11059
11060 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11061
11062         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
11063         of a cursor (row, etc.) after a character has been deleted
11064         (deleteEmptyParagraphMechanism): call the method above on _all_
11065         cursors held by the LyXText when a double space has been
11066         detected/deleted.
11067
11068 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
11069
11070         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
11071         pixmap.
11072         (resizeCurrentBuff): remove code to destroy the old splash dialog.
11073
11074         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
11075         background. Use greyOut() and the new show() methods to toggle between
11076         the foreground and background. Add code to remove the splash after
11077         its initial showing.
11078
11079         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
11080         (create_forms): no longer call Dialogs::showSplash.
11081
11082 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11083
11084         * .cvsignore: add version_info.h
11085
11086 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11087
11088         * version_info.h.in: new file
11089
11090         * Makefile.am: add version_info.h.in
11091
11092         * lyx_main.C (commandLineVersionInfo): use version_info defined in
11093         version_info.h instead of VERSION_INFO
11094
11095 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
11096
11097         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
11098         The ERT inset now returns string().
11099
11100 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
11101
11102         * lyxtext.h, text.C (selectNextWord): renamed as
11103         selectNextWordToSpellcheck.
11104
11105         * text.C (selectNextWordToSpellcheck): Modified to not select
11106         words inside an ERT inset.
11107
11108 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11109
11110         * lyx_cb.C (MenuLayoutSave): change a bit the question
11111
11112         * sp_base.h: include <sys/types.h>
11113
11114 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
11115
11116         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
11117
11118 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
11119
11120         * several files: fix typos in user-visible strings
11121
11122 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11123
11124         * text2.C (pasteSelection): do not set the selection, since it
11125         will be cleared later. Actually, the intent was to fix the way the
11126         selection was set, but I figured rmoving the code was just as good.
11127
11128 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
11129
11130         * FontLoader.C (available): Check if font is available without
11131         loading the font.
11132
11133 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
11134
11135         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
11136
11137 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
11138
11139         * lyxrc.[Ch]: added display_graphics variable and associated code.
11140
11141 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11142
11143         * bufferparams.C (hasClassDefaults): new method. Returns true if
11144         the buffer parameters correspond to known class defaults
11145
11146 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
11147
11148         * XFormsView.C (show): set minimum size to the main window.
11149
11150 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11151
11152         * text2.C (copySelection):
11153         (cutSelection):
11154         * lyxfind.C (LyXReplace):
11155         * BufferView_pimpl.C (Dispatch): pass the correct flag to
11156         LyXText::selectionAsString.
11157
11158         * paragraph.C (asString): add "label" argument to the second form
11159
11160         * text2.C (selectionAsString): add "label" argument and pass it to
11161         Paragraph::asString.
11162
11163 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11164
11165         * lyx_main.C (commandLineHelp): remove version information
11166
11167 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
11168
11169         * lyx_main.C: add -version commandline option
11170
11171 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11172
11173         * paragraph.h: make the optional constructor arg required instead.
11174         some modifications to other files because of this.
11175
11176         * minibuffer.C (C_MiniBuffer_peek_event): make it static
11177
11178         * lyxserver.C (C_LyXComm_callback): make it static
11179
11180         * lyx_main.C (error_handler): make it static
11181
11182         * lyx_gui.C (LyX_XErrHandler): make it static
11183
11184         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
11185
11186         * WorkArea.C: make the extern "C" methods static.
11187
11188         * Makefile.am (lyx_LDADD): simplify
11189
11190 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11191
11192         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
11193         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
11194
11195         * LyXAction.C (init):
11196         * lyxfunc.C (dispatch): associated code removal.
11197
11198 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11199
11200         * lyxfont.h (isSymbolFont): shut off warning
11201
11202         * text.C (setHeightOfRow):
11203         (getVisibleRow): fix crash with empty paragraphs which have a
11204         bottom line
11205
11206 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
11207
11208         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
11209         code.
11210
11211 2001-09-04  José Matos  <jamatos@fep.up.pt>
11212         * buffer.C
11213         * buffer.h
11214         * tabular.C (docbook): rename docBook method to docbook.
11215
11216 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11217
11218         * Makefile.am: add dependencies to main.o.
11219
11220 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
11221
11222         * FontLoader.C (available): Return false if !lyxrc.use_gui
11223
11224 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
11225
11226         * FontInfo.C (query):
11227         * converter.C (view):
11228         * importer.C (Import):
11229         * exporter.C (Export): Can not -> cannot.
11230
11231 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
11232
11233         * BufferView_pimpl.C: allow to create index inset even if
11234           string is empty
11235
11236 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
11237
11238         * buffer.C (getLists): replace boost::tie code with an explicit pair
11239         as boost::tie can break some compilers.
11240
11241         * iterators.h: Added a std:: declaration to the return type of
11242         ParIterator::size.
11243
11244 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
11245
11246         * lyxrc.C: add help for view_dvi_paper_option, default to safe
11247           case.
11248
11249 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
11250
11251         * iterators.[Ch]: New files. Provide paragraph iterators.
11252
11253         * buffer.C (changeLanguage): Use paragraph iterators.
11254         (isMultiLingual): ditto
11255
11256         * BufferView2.C (ChangeInsets): Use paragraph iterators.
11257
11258 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
11259
11260         * FontLoader.C: Support for cmr font.
11261
11262 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
11263
11264         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
11265         (available): New method.
11266
11267         * FontInfo.C (getFontname): Use scalable fonts even when
11268         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
11269         found.
11270
11271 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11272
11273         * converter.C (Formats::view): reverted! Incorrect fix.
11274
11275 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
11276
11277         * converter.C (Formats::view): only output the -paper option
11278         if the dvi viewer is xdvi, thereby fixing bug #233429.
11279
11280 2001-08-23  Herbert Voss  <voss@perce>
11281
11282         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
11283
11284 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11285
11286         * Spacing.h (Spacing): Set space to Default on in the default
11287         constructor.
11288
11289 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * vc-backend.h (RCS::versionString): add RCS to version
11292         (CVS::versionString): add CVS to version
11293
11294         * vc-backend.C (scanMaster): do not add CVS to version.
11295         (scanMaster): do not add RCS to version
11296
11297         * lyxvc.C (versionString): new method
11298
11299         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
11300
11301 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11302
11303         * Spacing.C (set): initialize fval
11304
11305 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
11306
11307         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
11308         " or \.
11309
11310 2001-08-16  Juergen Vigna  <jug@sad.it>
11311
11312         * lyxfunc.C (dispatch): implemented the new FINISHED states.
11313
11314 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11315
11316         * BufferView_pimpl.C:
11317         * figureForm.C:
11318         * lyxtext.h:
11319         * text2.C: setParagraph takes linespacing now
11320
11321 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
11322
11323         * LyxAction.C: add internal LFUN_CITATION_INSERT
11324
11325         * LyXView.C: actually apply fix
11326
11327         * bufferlist.C: fix open non-existent file
11328
11329         * lyxfind.C: fix indentation
11330
11331         * lyxfunc.C: remove unneeded assert, fix typo
11332
11333 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * MenuBackend.C: use "Floatname List"
11336
11337 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
11338
11339         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
11340         when converting LaTeX layout to insetERT.
11341         Generate a non-collapsed float when reading old float
11342
11343 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11344
11345         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
11346         ERT insets.
11347
11348 2001-08-13  Juergen Vigna  <jug@sad.it>
11349
11350         * text.C (fill): return 0 instead of 20 as this seems to be the more
11351         correct value.
11352
11353 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
11354
11355         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
11356         lyxrc.font_norm.
11357
11358 2001-08-13  Juergen Vigna  <jug@sad.it>
11359
11360         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
11361         casesensitive off.
11362         (SearchBackward): comment out the unlocking of the inset_owner this
11363         should not be needed!
11364
11365 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
11366
11367         * Many files: Remove inherit_language, and add latex_language
11368
11369         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
11370         collapsible insets.
11371
11372 2001-08-10  Juergen Vigna  <jug@sad.it>
11373
11374         * text.C (prepareToPrint): fixed hfill-width in draw!
11375
11376         * BufferView2.C (selectLastWord): save the selection cursor as this
11377         now is cleared in the function LyXText::clearSelection!
11378
11379 2001-08-08  Juergen Vigna  <jug@sad.it>
11380
11381         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
11382         BACKSPACE type functions.
11383
11384         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
11385         is only cutted from the document but not put in the cut-buffer, where
11386         still the old stuff should be.
11387
11388         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
11389
11390         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
11391
11392         * tabular.C (SetWidthOfCell): fixed special case where the width
11393         was not updated!
11394         (LeftLine): handle '|' in align_special.
11395         (RightLine): ditto
11396         (LeftAlreadyDrawed): ditto
11397         (SetWidthOfCell): ditto
11398
11399 2001-08-07  Juergen Vigna  <jug@sad.it>
11400
11401         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
11402
11403 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11404
11405         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
11406         * lyxlex.[hC]: ditto
11407
11408 2001-08-06  Juergen Vigna  <jug@sad.it>
11409
11410         * text.C (getVisibleRow): fix up row clearing a bit.
11411
11412 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * minibuffer.C: make sure the X server sees the changes in the input.
11415
11416 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * paragraph.C (getFont): split into...
11419         (getLabelFont): this
11420         (getLayoutFont): and this
11421         * paragraph_pimpl.C (realizeFont): calling this
11422
11423         * text2.C (getFont): split into...
11424         (getLayoutFont): this
11425         (getLabelFont): and this
11426         (realizeFont): all three calling this
11427
11428         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
11429         files where used.
11430
11431 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11432
11433         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
11434
11435 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
11436
11437         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
11438         layouts from the Quote inset insertion.
11439
11440 2001-08-03  Juergen Vigna  <jug@sad.it>
11441
11442         * BufferView_pimpl.C (update): do the fitCursor only at the end!
11443
11444         * screen.C (drawFromTo): don't call fitcursor here and do the loop
11445         only if status not is already CHANGED_IN_DRAW (second level).
11446
11447         * text.C (draw): don't set the need_break_row when inside an
11448         InsetText LyXText.
11449
11450 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * buffer.C (parseSingleLyXformat2Token): handle more latex
11453         conversion cases.
11454
11455         * bufferview_funcs.[hC]: change function names to
11456         begin with small char, adjust other files.
11457
11458 2001-08-02  André Pönitz <poenitz@gmx.net>
11459
11460         * lyxfunc.C:
11461         BufferView_pimpl.C: remove broken special code for math-greek
11462
11463 2001-08-02  Juergen Vigna  <jug@sad.it>
11464
11465         * BufferView_pimpl.C (update): redone this function so that we
11466         update the text again if there was a CHANGE_IN_DRAW.
11467
11468         * screen.C (cursorToggle): removed LyXText parameter and recoded.
11469         (drawFromTo): added a new internal bool which is used by draw() and
11470         redraw() function.
11471         (general): some cursor drawing problems fixed.
11472
11473 2001-08-01  Juergen Vigna  <jug@sad.it>
11474
11475         * lyxfind.C (LyXFind): fixed
11476         (SearchForward): ditto
11477         (SearchBackward): ditto
11478
11479         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
11480         spurius drawing of the cursor in the main area.
11481
11482         * text2.C (status): small fix which could lead to a segfault!
11483         (clearSelection): remove unneeded BufferView param.
11484
11485 2001-08-01  André Pönitz <poenitz@gmx.net>
11486
11487         * lyxfunc.C: small change due to changed mathed interface
11488
11489 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11490
11491         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
11492
11493 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
11494
11495         * lyxfunc.c: fail gracefully if file doesn't exist
11496
11497         * LyXSendto.C:
11498         * buffer.C:
11499         * lyxfunc.C:
11500         * BufferView_pimpl.C: IsDirWriteable() proto changed
11501
11502         * LyXView.C: fix updateWindowTitle() to store the last title
11503
11504 2001-07-31  Juergen Vigna  <jug@sad.it>
11505
11506         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
11507         the font (wrong since using of Paragraph::highestFontInRange).
11508
11509         * paragraph.C (highestFontInRange): added a default_size parameter.
11510
11511         * text.C (getVisibleRow): minor clear row changes (still not perfect).
11512         (setHeightOfRow): reformat
11513
11514 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11515
11516         * converter.[hC] + affected files: move to (inital-char)lowercase
11517         function names.
11518
11519         * ParagraphParameters.C (ParagraphParameters): remove commented code
11520
11521         * PainterBase.[Ch]: remove commented code
11522
11523         * LaTeXFeatures.h: add "bool floats" for float.sty
11524
11525         * LaTeXFeatures.C (LaTeXFeatures): init floats
11526         (require): handle float
11527         (getPackages): do it with floats
11528
11529 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11530
11531         * BufferView_pimpl.C (Dispatch): improve handling of
11532         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
11533
11534         * commandtags.h: #include lyxfont.h here temporarily to avoid
11535         keybinding bug.
11536
11537         * bufferlist.h: include LString.h here.
11538
11539 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11540
11541         * text2.C (getStringToIndex): new method.
11542
11543 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
11544
11545         * *: Reduced header file dependencies all over.
11546
11547 2001-07-30  Baruch Even  <baruch@lyx.org>
11548
11549         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
11550
11551 2001-07-29  Baruch Even  <baruch@lyx.org>
11552
11553         * buffer.C (readInset): Changed GRAPHICS to Graphics.
11554
11555 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11556
11557         * ParameterStruct.h (endif): add a default constructor to make
11558         sure that all variables is initialized.
11559
11560         * ParagraphParameters.C (ParagraphParameters): adjust
11561
11562 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11563
11564         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
11565         index; also, check that there is something to index, and that it
11566         does not span over several paragraphs.
11567         (doubleClick): use WHOLE_WORD_STRICT for double click.
11568
11569         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
11570
11571         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
11572         scheme.
11573
11574 2001-07-26  Baruch Even  <baruch@lyx.org>
11575
11576         * buffer.C (readInset): Changed to call up InsetGraphics when reading
11577         an InsetFig figure, backwards compatible reading of old figure code.
11578
11579 2001-07-27  Juergen Vigna  <jug@sad.it>
11580
11581         * text2.C: font.realize function adaption.
11582
11583         * text.C (draw): add a warnings lyxerr text if needed.
11584
11585         * layout.C: font.realize function adaption.
11586
11587         * language.C: add inherit_language and implement it's handlings
11588
11589         * bufferview_funcs.C (StyleReset): remove language parameter from
11590         font creation (should be language_inherit now).
11591
11592         * bufferparams.C (writeFile): handle ignore_language.
11593
11594         * paragraph.C (getFontSettings): the language has to be resolved
11595         otherwise we have problems in LyXFont!
11596
11597         * lyxfont.C (lyxWriteChanges): added document_language parameter
11598         (update): removed unneeded language parameter
11599
11600         * paragraph.C (validate): fixed wrong output of color-package when
11601         using interface colors for certain fonts in certain environments,
11602         which should not seen as that on the final output.
11603
11604 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
11605
11606         * BufferView_pimpl.C:
11607         * Thesaurus.h:
11608         * Thesaurus.C:
11609         * Makefile.am:
11610         * commandtags.h:
11611         * LyXAction.C: add thesaurus support
11612
11613         * lyxfind.h:
11614         * lyxfind.C: add "once" parameter, for thesaurus, to not
11615           move to the next match
11616
11617 2001-07-26  Juergen Vigna  <jug@sad.it>
11618
11619         * lyxfont.C (realize): honor ignore_language too!
11620         (resolved): ditto.
11621
11622         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
11623
11624         * text.C (draw): one place more for ignore_language to not draw
11625         itself!
11626
11627 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
11628
11629         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
11630
11631 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * buffer.C (parseSingleLyXformat2Token): a more general fix for
11634         the minipage conversion problem.
11635
11636 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * buffer.C (parseSingleLyXformat2Token): check minipage if we
11639         insert an inset.
11640
11641 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11642
11643         * BufferView.h: don't forward declare WorkArea
11644
11645         * BufferView.C: don't include WorkArea.h
11646
11647 2001-07-25  André Pönitz <poenitz@gmx.net>
11648
11649         * commandtags.h:
11650         * LyXAction.C:
11651         * lyxfunc.C:  new LFUN 'math-space'
11652
11653         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11654
11655 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11656
11657         * text2.C (toggleInset): call open/close
11658
11659 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11660
11661         * lyxfunc.C (dispatch): add debug for the disabled case
11662
11663         * font.C (buttonText): make similar to rectText
11664
11665         * buffer.C (readInset): comment out parsing of insetlist and
11666         insttheorem
11667
11668         * PainterBase.C (rectText): small correction
11669
11670         * BufferView_pimpl.C: comment out insettheorem and insetlist
11671         * LyXAction.C: ditto
11672         * commandtags.h: ditto
11673
11674 2001-07-24  Juergen Vigna  <jug@sad.it>
11675
11676         * text.C (draw): honor the ignore_language.
11677
11678         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11679
11680 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11681
11682         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11683         char inset.
11684
11685 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11686
11687         * lyxtext.h: remove unused (and unimplemented) methods
11688
11689 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11690
11691         * text.C (getVisibleRow): honor background color
11692
11693         * PainterBase.h:
11694         * Painter.h: remove default color argument for fillRectangle
11695
11696         * text.C (backgroundColor): new method
11697
11698 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11699
11700         * text.C (getVisibleRow): adjust
11701
11702         * font.[Ch] (rectText): new method, metrics
11703         (buttonText): new method, metrics
11704
11705         * PainterBase.[hC]: make rectText and buttonText always draw and take
11706         fewer paramteres.
11707
11708 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11709
11710         * ToolbarDefaults.C (read):
11711         * MenuBackend.C (read): allow escaping in all strings
11712
11713         * BufferView_pimpl.C (insertAndEditInset): new method.
11714         (Dispatch): use insertAndEditInset whenever appropriate.
11715
11716         * BufferView_pimpl.C (insertNote): removed
11717
11718         * BufferView_pimpl.C (smartQuote): new method, moved from
11719         BufferView; if an insetquote cannot be inserted, insert a '"'
11720         character instead.
11721
11722         * BufferView2.C: remove insertCorrectQuote();
11723
11724         * lyxfunc.C (getStatus): Add support for all remaingin
11725         inset-insert lfuns.
11726
11727         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11728
11729         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11730         command (necessary to pass " as parameter of self-insert.
11731
11732         * text.C (selectWordWhenUnderCursor):
11733         (selectWord): add word_location parameter
11734         (selectWordWhenUnderCursor): same + remove special code for word
11735         boundary.
11736         (selectNextWord): use kind() to guess type of insetspecialchar,
11737         not latex().
11738
11739         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11740         (insertErtContents): create ert insets as collapsed.
11741         (readInset): better compatibility code for Info inset.
11742
11743 2001-07-20  Juergen Vigna  <jug@sad.it>
11744
11745         * lyxfunc.C (dispatch): use always LyXFind now!
11746
11747         * text2.C (init): add a reinit flag so that the LyXText can be
11748         reinited instead of deleted and reallocated (used in InsetText).
11749
11750         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11751
11752         * text.C: ditto
11753
11754         * text2.C: ditto
11755
11756 2001-07-18  Juergen Vigna  <jug@sad.it>
11757
11758         * text.C (selectNextWord): handle insets inside inset by calling
11759         always the bv->text functions so that we can go up the_locking_inset!
11760
11761         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11762         in strange locations when inside an inset!
11763
11764         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11765         handling to include insets.
11766
11767         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11768
11769 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11770
11771         * LyXAction.C (init):
11772         * commandtags.h:
11773         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11774         LIGATURE_BREAK, since the name is so stupid.
11775
11776 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11777
11778         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11779         InsetInfos.
11780
11781         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11782
11783         * sp_form.[Ch]: remove.
11784
11785         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11786
11787         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11788         InsetInfo.
11789
11790         * src/buffer.C (readInset): ditto.
11791
11792 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11793
11794         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11795         menuSeparator(), endOfSentenceDot(), ldots() and
11796         hyphenationPoint(), which are therefore removed.
11797         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11798
11799         * LyXAction.C (init):
11800         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11801
11802         * paragraph.C (getWord): removed.
11803
11804         * BufferView_pimpl.C (Dispatch): use last word or selection for
11805         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11806
11807         * lyx_main.C (queryUserLyXDir): do not ask before creating
11808         user_dir, except if it has been named explicitely.
11809
11810 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11811
11812         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11813         a document of zero size.
11814
11815 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11816
11817         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11818         approriately in the c-tor and in require().
11819         (getPackages): output the appropriate LaTeX for natbib support.
11820
11821         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11822         variables "use_natbib" and "use_numerical_citations" when reading the
11823         LyX file.
11824         (readInset): read the various natbib cite commands.
11825         (validate): white-space change.
11826
11827         * bufferparams.[Ch]: new variables "bool use_natbib" and
11828         "bool use_numerical_citations".
11829         (writeFile): output them in the LyX file.
11830
11831 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11832
11833         * lyxfunc.C (getStatus): add support for all the inset insertion
11834         commands.
11835
11836         * text2.C (insertInset):
11837         * paragraph.C (insetAllowed):
11838         * BufferView_pimpl.C (insertInset): update to take in account the
11839         renaming of insertInsetAllowed
11840
11841         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11842
11843         * text2.C (getInset): new method. returns inset at cursor position.
11844
11845         * BufferView_pimpl.C (Dispatch): changes because of this.
11846
11847         * LyXAction.C (init): rename open-stuff to inset-toggle.
11848
11849         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11850
11851         * text2.C (toggleInset): renamed from openStuff; use
11852         Inset::open().
11853
11854 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11855
11856         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11857
11858         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11859
11860 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11861
11862         * buffer.C (readLyXformat2): Add filename to the error dialog
11863
11864 2001-07-18  Juergen Vigna  <jug@sad.it>
11865
11866         * tabular.C (GetCellNumber): put an assert here instead of the check!
11867
11868 2001-07-17  Juergen Vigna  <jug@sad.it>
11869
11870         * BufferView_pimpl.C (toggleSelection): adapted too.
11871
11872         * text.C (selectNextWord): adapted for use with insets.
11873         (selectSelectedWord): ditto
11874
11875 2001-07-17  Juergen Vigna  <jug@sad.it>
11876
11877         * sp_spell.C (PSpell): fix initialitation order.
11878
11879 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * paragraph.C: spacing
11882
11883 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11884
11885         * sp_spell.C: repair language selection for pspell
11886
11887 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11888
11889         * lyxfunc.h: change more methods to begin with lower char.
11890
11891 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11892
11893         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11894         for unknown layouts.
11895
11896 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11897
11898         * buffer.C (readLyXformat2): Generate an error dialog if there are
11899         unknown layouts.
11900
11901 2001-07-16  Juergen Vigna  <jug@sad.it>
11902
11903         * sp_spell.C: always compile ISpell part.
11904
11905         * lyxrc.C: added use_pspell entry and it's handling.
11906
11907 2001-07-13  Juergen Vigna  <jug@sad.it>
11908
11909         * sp_spell.C: removed double includes.
11910
11911 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11912
11913         Consistent use of Lsstream.h:
11914         * Lsstream.h: added using std::stringstream for consistencies sake.
11915
11916         * buffer.C: removed using std::stringstream
11917
11918         * lyxfont.C (stateText):
11919         * paragraph.C (asString):
11920         * text.C (selectNextWord, selectSelectedWord):
11921         * text2.C (setCounter):
11922         * vspace.C (asString, asLatexString):
11923         std::ostringstream -> ostringstream.
11924
11925 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11926
11927         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11928         * commandtags.h: add LFUN_HELP_ABOUTLYX
11929         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11930
11931 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11932
11933         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11934         cursorToggle()
11935         * lyx_gui_misc.C: remove spellchecker
11936         * lyxfunc.C: showSpellchecker
11937         * sp_base.h: added
11938         * sp_ispell.h: added
11939         * sp_pspell.h: added
11940         * sp_spell.C: added
11941         * sp_form.[Ch]: removed
11942         * spellchecker.[Ch]: removed
11943
11944 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11945
11946         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11947         is set.
11948         (simpleTeXSpecialChars): Simply print the input character without
11949         any special translation if pass_thru is set.
11950
11951         * layout.h: Added bool pass_thru to layout class for being able to
11952         implement pass through of a paragraph for Literate Programming.
11953
11954         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11955         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11956         * layout.C (Read): add "passthru" to list of layout tags and add
11957         code to set the pass_thru boolean when it is read.
11958
11959 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11960
11961         * trans_decl.h: remove allowed from KmodInfo
11962
11963         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11964         remove allowed code
11965         (Load): adjust
11966
11967         * paragraph_pimpl.C (erase): use boost::prior
11968
11969         * Painter.C (text): use data() instead of c_str() when length is
11970         also provided.
11971         * WorkArea.C (putClipboard): ditto
11972         * font.h (width): ditto
11973
11974         * BufferView2.C: use it-> instead of (*it). for iterators
11975         * texrow.C: ditto
11976         * paragraph_pimpl.C: ditto
11977         * paragraph.C: ditto
11978         * minibuffer.C: ditto
11979         * language.C: ditto
11980         * kbmap.C: ditto
11981         * encoding.C: ditto
11982         * counters.C: ditto
11983         * converter.C: ditto
11984         * chset.C: ditto
11985         * Variables.C: ditto
11986         * TextCache.C: ditto
11987         * MenuBackend.C: ditto
11988         * LyXAction.C: ditto
11989         * LColor.C: ditto
11990         * FloatList.C: ditto
11991         * DepTable.C: ditto
11992         * ColorHandler.C (LyXColorHandler): ditto
11993
11994 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11995
11996         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11997
11998         * text2.C (openStuff): reintroduce this method (which had been
11999         nuked in NEW_INSETS frenzy).
12000
12001         * lyxfunc.C (Dispatch): when an action has not been handled, use
12002         its name in the error message, not its number.
12003
12004         * paragraph.C (inInset): change method name to begin with lowercase.
12005
12006         * undo_funcs.C:
12007         * text2.C: updates because of this.
12008
12009 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12010
12011         * ToolbarDefaults.C (add): add spaces in error message
12012
12013 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12014
12015         * buffer.C (readLyXformat2): initialize the ert comp. variables.
12016         (readLyXformat2): rename return_par to first_par, use lyxlex's
12017         pushToken and remove the manual push handling.
12018         (parseSingleLyXformat2Token): add another ert comp. variable:
12019         in_tabular, rename return_par to first_par. handle newlines better
12020
12021 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12022
12023         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
12024
12025 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * text2.C (getParFromID): removed
12028
12029         * buffer.C (getParFromID): new method moved form lyxtext.
12030         * BufferView2.C (insertErrors): adjust
12031         (setCursorFromRow): adjust
12032         * BufferView_pimpl.C (restorePosition): adjust
12033         * lyxfunc.C (Dispatch): adjust
12034         * undo_funcs.C (textUndo): adjust
12035         (textRedo): adjust
12036         (textHandleUndo): adjust
12037         (textHandleUndo): adjust
12038
12039 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12040
12041         * buffer.C: up' the LYX_FORMAT
12042
12043         * lyxfont.h: turn NO_LATEX on as default
12044
12045         * buffer.C (insertErtContents): new methods of tex style compability.
12046         (parseSingleLyXformat2Token): use it several places.
12047         * tabular.C (OldFormatRead): and here
12048
12049 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12050
12051         * text2.C: remove some commented code.
12052         reindent file.
12053
12054         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
12055         * trans.C: changes because of the above.
12056
12057 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * text2.C (setCounter): Fix counters bug with bibliography layout.
12060
12061 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12062
12063         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
12064         own member functions
12065         (simpleTeXSpecialChars): ditto
12066
12067 2001-07-06  Juergen Vigna  <jug@sad.it>
12068
12069         * a lot of files: changed the access to LyXText::status and the
12070         call of undo-functions.
12071
12072         * undo.[Ch]: added a inset_id to the undo informations.
12073
12074         * undo_funcs.[Ch]: added and moved here all undo functions.
12075
12076         * lyxtext.h: give the status enum a weight, made status_ a private
12077         variable and made accessor functions for it, removed the whole bunch
12078         of undo-functions as they are now in their own file, make some
12079         functions publically available. Added function ownerParagraph with
12080         int parameter.
12081
12082         * paragraph.[Ch]: added "bool same_ids" to the constructor,
12083         made InInset() a const function, added getParFromID() function.
12084
12085         * buffer.[Ch]: added const version for inset_iterator functions,
12086         added getInsetFromID() function.
12087
12088         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
12089         changed undo functions for new version.
12090
12091 2001-07-05  Juergen Vigna  <jug@sad.it>
12092
12093         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
12094         unknow mechanism does not call the proper constructor but only this
12095         one also if I request the other!?
12096
12097 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
12100
12101         * text2.C (LyXText): use initialization lists.
12102
12103         * lyxtext.h (Selection): initialize set_ and mark_
12104         (init): remove method
12105
12106 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
12107
12108         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
12109
12110 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12111
12112         * screen.[Ch]: change method names to begin with lowercase
12113
12114         * BufferView_pimpl.C (updateScrollbar): simplify further and
12115         hopefully make it a bit faster.
12116
12117 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12118
12119         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
12120         calling directly xforms functions.
12121
12122         * Painter.C (Painter):
12123         * lyx_cb.C (MenuWrite):
12124         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
12125         fl_display.
12126
12127         * lyx_gui.C: remove bogus guiruntime extern declaration.
12128
12129 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
12132         in NEW_INSETS
12133         (redoDrawingOfParagraph): ditto
12134         (redoParagraphs): ditto
12135         (cutSelection): don't create a object for CutAndPaste use the
12136         static method directly
12137         (pasteSelection): ditto
12138
12139         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
12140         LyXview (+ rename)
12141
12142 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12143
12144         * modifications to some other files because of this.
12145
12146         * Makefile.am (lyx_SOURCES): add XFormsView
12147
12148         * XFormsView.[Ch]: new files
12149
12150         * LyXView.[Ch]: make LyXView a base class for the gui handling for
12151         the main window. Move the gui dependent stuff to XFormsView
12152
12153 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12154
12155         * tabular.C (GetCellInset): update cur_cell also in the row/col
12156         version of this function.
12157
12158         * lyxfunc.C: no need to include figure_form.h here.
12159
12160         * FontLoader.h:
12161         * lyxfunc.h:
12162         * lyxscreen.h:
12163         * text2.C:
12164         * lyxvc.C: no need to include forms.h here.
12165
12166 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12167
12168         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
12169
12170         * lyxfunc.C (Dispatch):
12171         * Spacing.C (set):
12172         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
12173         constructor argument.
12174
12175 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * paragraph.C (Paragraph): dont't clear, and just set layout.
12178         (makeSameLayout): use params's copy contructor.
12179
12180         * ParagraphParameters.[Ch] (makeSame): delete method
12181
12182 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * Variables.[Ch]: fix indentation, rename set to isSet
12185
12186 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12187
12188         * lyxfunc.C (Dispatch): fix typo
12189
12190 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12191
12192         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
12193         upper_bound.
12194
12195         * bufferlist.C: include assert.h for emergencyWrite().
12196
12197 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
12200           give up at last (bug #425202) !
12201
12202 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
12203
12204         * lyx_gui_misc.C:
12205         * sp_form.h:
12206         * sp_form.C:
12207         * spellchecker.h:
12208         * spellchecker.C: strip spellchecker options and bring up
12209           preferences tab instead
12210
12211 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12212
12213         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
12214         the istringstream constructor
12215
12216 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12217
12218         * paragraph.C (getLayout): fix return value
12219
12220         * paragraph.h: do not declare getLayout as inline.
12221
12222         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
12223
12224 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12225
12226         * lyxcursor.h (operator<): new func
12227         (operator>): new func
12228         (operator>=): new func
12229         (operator<=): new func
12230
12231         * text.C (changeCase): use selection.start and selection.end
12232         (changeRegionCase): require from to be <= to. Require par to be a
12233         valid paragraph.
12234
12235         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
12236
12237 2001-06-27  Juergen Vigna  <jug@sad.it>
12238
12239         * text.C (cursorLeftOneWord): changed to return the cursor and added
12240         overlay with BufferView * parameter which calls this one.
12241         (getWord): added
12242         (selectWord): use new getWord function.
12243         (changeCase): renamed from changeWordCase as and extended to work
12244         also on selections.
12245
12246         * lyxtext.h: added enum word_location
12247
12248         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
12249         changeCase as this operates now also on selections.
12250
12251 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
12252
12253         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
12254
12255         * many files: send debug output to Debug::INFO instead of
12256         Debug::ANY.
12257
12258         * converter.C (View):
12259         (Convert):
12260         (Move): send debug output to Debug::FILES instead of console.
12261
12262 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
12263
12264         * lyxfunc.C (getStatus): use func_status
12265
12266         * func_status.h: new header, describing the results of
12267         LyXFunc::getStatus;
12268
12269         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
12270         LFUN_MATH_HALIGN.
12271
12272 2001-06-25  The LyX Project  <jug@sad.it>
12273
12274         * buffer.C (sgmlOpenTag):
12275         (sgmlCloseTag):
12276         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
12277
12278 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12279
12280         * text2.C: remove some dead code
12281
12282         * tabular.C (GetCellInset): store the last cell checked (gotten)
12283
12284         * tabular.h: add the helper for the speedup
12285
12286         * lyxtext.h: remove some dead code
12287
12288 2001-06-26  The LyX Project  <Asger>
12289
12290         * paragraph.C: Change export to LaTeX of alignment to
12291         \begin{center} and family for better roundtrip work with reLyX.
12292
12293         * Tune the math drawing a bit.
12294
12295 2001-06-25  The LyX Project  <Asger>
12296
12297         * LColor.C (LColor): New color for math background. New color
12298         for buttons.
12299
12300 2001-06-25  The LyX Project  <jug@sad.it>
12301
12302         * lyxfunc.C (MenuNew): remove extra check for .lyx file
12303
12304         * lyxfunc.C (Open):
12305         * bufferlist.C (newFile): do not restrict to files ending with
12306         .lyx
12307
12308         * BufferView_pimpl.C (MenuInsertLyXFile):
12309
12310 2001-06-24  The LyX Project  <jug@sad.it>
12311
12312         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
12313         of compare_no_case
12314
12315 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12316
12317         * lyxtext.h: rename most methods to begin with a small char.
12318         Lots of changes because of this.
12319
12320         * paragraph.C (Paragraph): do not call fitToSize
12321         (erase): call Pimpl::erase
12322         (insertChar): call Pimpl::insertChar
12323         (insertInset): call Pipl::insertInset
12324         (breakParagraph): do not call fitToSize
12325         (breakParagraphConservative): do not call fitToSize
12326         (fitToSize): remove method
12327
12328         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
12329
12330 2001-06-24  The LyX Project  <Asger>
12331
12332         * Fix Qt compilation^2
12333
12334 2001-06-24  The LyX Project  <jug@sad.it>
12335
12336         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
12337         depthHook(getDepth()-1).
12338
12339         * paragraph.h:
12340         * ParagraphParameters.h:
12341         * ParameterStruct.h: change type of depth to unsigned int ==
12342         depth_type. Many adaptations to other files before of that.
12343
12344 2001-06-24  The LyX Project  <Asger>
12345
12346         * Fix Qt compilation.
12347
12348 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12349
12350         * paragraph.h: renamed several methods to begin with small letter.
12351         several changes to many parts of the code because of this.
12352
12353 2001-06-23  The LyX Project  <jug@sad.it>
12354
12355         * text2.C (InsertStringAsLines): renamed from InsertStringA;
12356         rewritten to discard all double spaces when KeepEmpty is off
12357         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
12358         to only handle newlines but not fiddle with spaces and friends.
12359
12360         * lyxfunc.C (MenuNew): when doing 'new from template', use
12361         template_path as default directory
12362
12363 2001-06-23  The LyX Project  <Asger>
12364
12365         * Clean-up of header file includes all over
12366         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
12367
12368 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12369
12370         * paragraph.h: renamed from lyxparagraph.h
12371
12372 2001-06-23  Asger  <lyx@violet.home.sad.it>
12373
12374         * Buffer.h: Removed Buffer::resize
12375         * BufferList.h: Removed BufferList::resize
12376         * LyXView.h: Added LyXView::resize. This way, we will only reflow
12377         the document lazily when we change the width, or the font settings.
12378
12379 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
12382
12383 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * buffer.h: remove out of date comment
12386
12387 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
12388
12389         * lyxscreen.h:
12390         * screen.C: fix "theoretical" GC leak
12391
12392 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12393
12394         * LaTeX.C (scanAuxFile):
12395         (deplog): remove trailing \r when reading stream (useful under
12396         win32)
12397
12398 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
12399
12400         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
12401         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
12402         and BufferView::theLockingInset(Inset*), so should use them and not
12403         access bv_->text->the_locking_inset directly.
12404
12405         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
12406
12407 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * Makefile.am:
12410         * tex-defs.h: remove old unused file
12411
12412 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
12413
12414         * BufferView_pimpl.C: fix typo, remove minibuffer message
12415           when buffer has loaded
12416
12417 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * lyxfunc.C (Dispatch): use stringstream
12420         (MenuNew): use stringstream
12421         (Open): use stringstream
12422
12423         * importer.C (Import): use stringstream
12424
12425         * bufferview_funcs.C (CurrentState): use stringstream
12426
12427         * LaTeX.C (run): use stringstream
12428
12429         * BufferView_pimpl.C (savePosition): use stringstream
12430         (restorePosition): use stringstream
12431         (MenuInsertLyXFile): use stringstream
12432
12433 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
12434
12435         * BufferView.C:
12436         * Bullet.C:
12437         * ColorHandler.C:
12438         * FontInfo.C:
12439         * FontLoader.C:
12440         * LColor.C:
12441         * LaTeXFeatures.C:
12442         * Painter.C:
12443         * gettext.C:
12444         * lyx_gui_misc.C:
12445         * lyxserver.C:
12446         * vspace.C: removed // -*- C++ -*- as first line.
12447
12448         * lyxfind.h:
12449         * version.h: added // -*- C++ -*- as first line.
12450
12451 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12452
12453         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
12454
12455         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
12456         of string
12457
12458 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12459
12460         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
12461         of floats.
12462
12463 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12464
12465         * gettext.C: include LString.h even when --disable-nls is on.
12466
12467 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
12468
12469         * converter.h (Get): changed argument type from int to
12470         FormatList::size_type to avoid unnecessary conversion.
12471
12472         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
12473         before using it.
12474
12475 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12476
12477         * gettext.h: include LString.h even when --disable-nls is on.
12478
12479 2001-06-07  Juergen Vigna  <jug@sad.it>
12480
12481         * text.C (BreakAgain): subst spaces with tabs.
12482
12483         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
12484         (resizeInsetsLyXText): set force on resizeLyXText.
12485
12486 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12487
12488         * gettext.h (gettext_init):
12489         (locale_init): use a real definition instead of a macro
12490
12491 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * Bufferview_pimpl.C:
12494         * LColor.h:
12495         * LColor.C: further lcolor tidies
12496
12497 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12498
12499         * BufferView_pimpl.C (updateScrollbar): simplify.
12500
12501         * BufferView2.C: don't include insets/insetinfo.h, change
12502         prototype for insertInset and call the Pimpl version. let
12503         updateInset call Pimpl version.
12504
12505         * BufferView.h: move inset_slept to BufferView::Pimpl, move
12506         gotoInset to BufferView::Pimpl
12507
12508 2001-06-01  Juergen Vigna  <jug@sad.it>
12509
12510         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
12511         inside a LockingInset (is the update needed at all?).
12512
12513 2001-05-31  Juergen Vigna  <jug@sad.it>
12514
12515         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
12516         here not the old one otherwise how should we compare it afterwards
12517         if it's the same!
12518
12519 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12520
12521         * lyxfont.C:
12522         * tabular.C:
12523         * tabular-old.C:
12524         * FontInfo.C: bring C functions into global namespace when
12525         necessary
12526
12527 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * LString.h: make sure config.h has been loaded before LString.h.
12530
12531         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
12532         (one for each char read by EatLine!).
12533
12534         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
12535         variables.
12536
12537 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * paragraph.C (BreakParagraph): set the inset_owner in the new par
12540         to the same as the par we break from
12541
12542 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12543
12544         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
12545
12546         * MenuBackend.C (expand): also create menu entries for wide
12547         versions of the floats.
12548
12549         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
12550
12551         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
12552
12553         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
12554         frontends/Makefile.am
12555
12556         * text2.C: adjust
12557         * text.C: adjust
12558
12559
12560         * tabular.C (getTokenValue): add std::
12561
12562         * tabular-old.C (getTokenValue): add std::
12563         (getTokenValue): ditto
12564         (getTokenValue): ditto
12565
12566         * screen.C (ToggleSelection): adjust
12567
12568         * lyxtext.h: put selection cursors inside a Selection struct.
12569
12570         * lyxfunc.C (moveCursorUpdate): adjust
12571
12572         * lyxfont.C (latexWriteStartChanges): add std::
12573
12574         * lyxfind.C: adjust
12575
12576         * font.h: delete with(char const *, LyXFont const &)
12577
12578         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
12579
12580         * FontInfo.C (getFontname): add std::
12581
12582         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
12583         (workAreaButtonPress): adjust
12584         (tripleClick): adjust
12585         (update): adjust
12586         (moveCursorUpdate): adjust
12587         (Dispatch): adjust
12588
12589         * BufferView2.C (gotoInset): adjust
12590
12591 2001-05-30  Juergen Vigna  <jug@sad.it>
12592
12593         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
12594         to check pspell I add this as default as I now have new pspell
12595         libraries and they seem to use this.
12596
12597 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12598
12599         * text2.C (CutSelection): make the cursor valid before the call to
12600         ClearSelection.
12601
12602 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * kbsequence.C (parse): de-uglify a bit the parsing code, which
12605         relied on 0 terminated strings and other horrors. Bug found due to
12606         the new assert in lyxstring!
12607
12608         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
12609         KP_ keys.
12610
12611 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12612
12613         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
12614         to latinkeys.bind.
12615
12616         * lyxfunc.C (processKeySym): change method of getting to the
12617         self-insert char.
12618
12619         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
12620         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
12621         * BufferView_pimpl.[Ch]: here as private methods.
12622
12623 2001-05-28  Juergen Vigna  <jug@sad.it>
12624
12625         * text.C (SetHeightOfRow): added the update() call again as it is
12626         needed to initialize inset dimensions!
12627
12628 2001-05-16  Juergen Vigna  <jug@sad.it>
12629
12630         * text2.C (SetCharFont): Add new function with BufferView * and
12631         bool toggleall parameters for setting insets internal fonts.
12632         (SetFont): Freeze the undo as we may change fonts in Insets and
12633         all this change should be inside only one Undo!
12634
12635         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
12636         setting font's in insets as for them we have the SetFont function!
12637
12638 2001-05-15  Juergen Vigna  <jug@sad.it>
12639
12640         * text2.C (ClearSelection): to be sure we REALLY don't have any
12641         selection anymore!
12642
12643         * tabular.C (TeXCellPreamble): fixed the left border problem for
12644         multicolumn cells.
12645
12646 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
12647
12648         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12649         dependancy file
12650
12651 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12652
12653         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12654         LFUN_BREAKPARAGRAPH.
12655
12656         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12657         help test to "internal only", similar for LFUN_INSERT_URL
12658
12659         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12660         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12661         auto_region_delete and deadkeys.
12662
12663 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * LColor.h:
12666         * LColor.C: remove some dead entries, tidy a little
12667
12668 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12669
12670         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12671         commented code.
12672         (Dispatch): implement LFUN_ESCAPE
12673
12674         * commandtags.h: add LFUN_ESCAPE
12675
12676         * LyXAction.C (init): add entry for LFUN_ESCAPE
12677
12678         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12679         Remove commented code.
12680         (insertNote): moved here
12681         (open_new_inset): moved here
12682
12683         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12684         BufferView_pimpl
12685
12686 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12687
12688         * kbmap.C (findbinding): clean it up and make it work correctly.
12689
12690         * lyx_main.C (init): do not pass argc and argv as parameters
12691
12692 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12693
12694         * buffer.C: fix path for OS/2 & Win32
12695
12696         * lyx_gui.C:
12697         * lyx_main:
12698         * lyx_main.C: Added os:: class.
12699
12700         * os2_defines.h: update
12701
12702 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12705         better by trying again with reduced state.
12706
12707 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12708
12709         * lyxrc.C (read): print error about invalid key sequence only when
12710         debugging (because not all latinX keysyms are known to some X
12711         servers)
12712
12713         * kbsequence.C (getiso): add a few std:: qualifiers
12714         (getiso): comment out extra return statement.
12715
12716 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12717
12718         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12719         handling.
12720         (Dispatch): enhance the accent inset a bit. (not perfect)
12721
12722 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12725
12726 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12727
12728         * bufferlist.C (emergencyWrite): fix assert() call
12729
12730 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12731
12732         * text.C (InsertChar): Added trivial patch to only send the "you
12733         can not do multiple spaces this way" message once during a
12734         session.
12735
12736 2001-05-08  Baruch Even  <baruch@lyx.org>
12737
12738         * Makefile.am: Changed order of libraries to get LyX to link properly
12739         with the gnome frontend.
12740
12741 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12742
12743         * LaTeXFeatures.h: add a std:: qualifier
12744
12745 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12746
12747         * paragraph.C (String): use stringstream
12748
12749 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * paragraph.C (writeFile): remove footflag arg
12752
12753         * buffer.C (makeLaTeXFile): use stringstream
12754         (latexParagraphs): remove footnot gurba
12755
12756         * LaTeXFeatures.C (getPackages): use stringstream
12757         (getMacros): likewise
12758         (getTClassPreamble): likewise
12759         (getFloatDefinitions): new method
12760
12761         * paragraph.C (writeFile): reindent
12762         (Erase): reindent
12763
12764         * WorkArea.h: revert the xpos + etc changes.
12765
12766         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12767
12768         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12769
12770         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12771         (pasteSelection): likewise
12772         * text2.C (CreateUndo): likewise
12773
12774 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * minibuffer.C (peek_event): temporarily reduce the functionality
12777         of the minibuffer (to allow args on lfuns)
12778
12779         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12780         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12781
12782         * buffer.C (readInset): add compability reading of old float
12783         lists, add reading of new style float list.
12784         (readInset): avoid reevaluation of inscmd.getCmdName()
12785         (getLists): reindent
12786
12787         * MenuBackend.C (MenuItem): implement parsing of
12788         md_floatlistinsert and md_floatinsert.
12789         (expand::LastFiles): move initalizaton of iterators out of loop,
12790         avoid reevaluation.
12791         (expand::Documents): introduce typdedef vector<string> Strings,
12792         and use it.
12793         (expand::ExportFormats): introduce typedef vector<Format const *>
12794         Formats, and use it.
12795         (expand): implement FloatListInsert and FloatInsert.
12796
12797         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12798         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12799         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12800
12801         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12802         handling.
12803         (Dispatch::LFUN_FLOAT_LIST): implement
12804
12805 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12806
12807         * LaTeX.C (run): Fix problem with --export code.
12808
12809 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12810
12811         * BufferView.[Ch] (workarea): removed.
12812         (getClipboard) new method; wrapper for workarea()->getClipboard()
12813
12814         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12815         bug.
12816
12817         * WorkArea.h (width, height, xpos, ypos): These methods all
12818         returned the dimensions of the work_area sub-area of WorkArea,
12819         resulting in a position error if the WorkArea were resized. Now
12820         return the dimensions of the entire WorkArea.
12821
12822         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12823
12824 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * LaTeX.C (deplog): correct the syntax of regex reg1
12827
12828 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12829
12830         * undo.C: remove !NEW_INSETS cruft
12831
12832 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * text2.C: remove !NEW_INSETS cruft
12835
12836         * text.C: remove !NEW_INSETS cruft
12837
12838         * tabular.C: remove !NEW_INSETS cruft
12839
12840         * spellchecker.C: remove !NEW_INSETS cruft
12841
12842         * lyxtext.h: remove !NEW_INSETS cruft
12843
12844         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12845
12846         * lyxfunc.C: remove !NEW_INSETS cruft
12847
12848         * lyxfind.C: remove !NEW_INSETS cruft
12849
12850         * lyx_cb.C: remove !NEW_INSETS cruft
12851
12852         * figureForm.C: remove  !NEW_INSETS cruft
12853
12854         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12855
12856         * buffer.[Ch]: remove !NEW_INSETS cruft
12857
12858         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12859
12860         * CutAndPaste.C: remove !NEW_INSETS cruft
12861
12862         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12863
12864         * BufferView2.C: remove !NEW_INSETS cruft
12865
12866         * BufferView.h: remove !NEW_INSETS cruft
12867
12868 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12869
12870         * Lsstream.h: include LString.h before the sstream headers to
12871         fix problem with gcc 2.95.3 and lyxstring
12872
12873 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12874
12875         * lyx_main.C: add using directives when needed for C functions
12876         declared in std:: namespace.
12877
12878 2001-04-27  Juergen Vigna  <jug@sad.it>
12879
12880         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12881         (SetHeightOfRow): comment out the update call should not be needed!
12882
12883 2001-04-13  Juergen Vigna  <jug@sad.it>
12884
12885         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12886         (LyXTabular): tried to minimize operator= operations (and realized
12887         hopfully Lars wish).
12888
12889 2001-04-27  Juergen Vigna  <jug@sad.it>
12890
12891         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12892
12893 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12894
12895         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12896
12897         * buffer.C (readInset): hack to make listof algorithm work
12898
12899         * BufferView_pimpl.C: hack to make listof algorithm work
12900
12901 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * LyXAction.C: removed all !NEW_INSETS cruft
12904         (init): moved lfun_item in method
12905
12906         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12907
12908 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12909
12910         * BufferView2.C (theLockingInset): white space.
12911
12912 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * minibuffer.C: include <iostream>
12915
12916         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12917
12918         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12919
12920         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12921
12922         * text.[Ch] (TransposeChars): new method
12923
12924 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * call message directly through LyXView instead of through LyXFunc
12927         * BufferView2.C: adjust
12928         * BufferView_pimpl.C: adjust
12929         * FontLoader.C: adjust
12930         * buffer.C: adjust
12931         * bufferview_funcs.C: adjust
12932         * converter.C: adjust
12933         * figureForm.C: adjust
12934         * importer.C: adjust
12935         * lyx_cb.C: adjust
12936         * lyx_gui_misc.C: adjust
12937         * lyxfunc.C: adjust
12938         * lyxvc.C: adjust
12939         * text2.C: adjust
12940         + more files in subdirs
12941
12942         * lyxparagraph.h (size): move up int file
12943         (GetLayout): ditto
12944
12945         * adjust all uses of Assert to lyx::Assert.
12946
12947         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12948         lyxfunctional in namespace lyx
12949         * layout.C (hasLayout): ditto
12950         (GetLayout): ditto
12951         (GetLayout): ditto
12952         (delete_layout): ditto
12953         (NumberOfClass): ditto
12954         * converter.C (GetFormat): ditto
12955         (GetNumber): ditto
12956         (Add): ditto
12957         (Delete): ditto
12958         (SetViewer): ditto
12959         * bufferlist.C (getFileNames): ditto
12960         (emergencyWriteAll): ditto
12961         (exists): ditto
12962         (getBuffer): ditto
12963         * MenuBackend.C (hasSubmenu): ditto
12964         (hasMenu): ditto
12965         (getMenu): ditto
12966         * BufferView_pimpl.C (getInsetByCode): ditto
12967
12968 2001-04-18  Juergen Vigna  <jug@sad.it>
12969
12970         * vspace.C (asLatexString): fixed the 100% problem.
12971
12972 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12973
12974         * lyxfunc.C (Dispatch):
12975         * minibuffer.C:
12976         * minibuffer.h: add a few std:: qualifiers
12977
12978 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * minibuffer.[Ch]: reimplement so that commands is initiated and
12981         run from lyxfunc, simplified som handling, and made the completion
12982         and history code for complete. wip.
12983
12984         * lyxfunc.C (processKeySym): call message
12985         (miniDispatch): new temporary method
12986         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12987         (LFUN_MESSAGE): implement
12988         (LFUN_MESSAGE_PUSH): implement
12989         (LFUN_MESSAGE_POP): implement
12990         (initMiniBuffer): the initial/defualt minibuffer message.
12991
12992         * lyxfont.[Ch]: inline some more getters
12993
12994         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12995
12996         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12997
12998         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12999         (AutoSave): use LFUN_MESSAGE
13000         (Reconfigure): ditto
13001
13002         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
13003
13004         * figureForm.C: use LFUN_MESSAGE
13005
13006         * converter.C (runLaTeX): use LFUN_MESSAGE
13007
13008         * bufferview_funcs.C: use LFUN_MESSAGE
13009         (Melt): ditto
13010         (changeDepth): ditto
13011
13012         * bufferparams.h: use boost::
13013
13014         * bufferlist.h: inherit privately from noncopyable
13015
13016         * bufferlist.C (loadLyXFile): remove some commented code.
13017
13018         * buffer.C (runChktex): use LFUN_MESSAGE
13019
13020         * ShareContainer.h: inherit privately from noncopyable
13021
13022         * ParagraphParameters.[hC] (depth): inline it.
13023
13024         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
13025         methods.
13026         (message): new method
13027         (messagePush): ditto
13028         (messagePop): ditto
13029         (show): init minibuffer
13030         (showState): direct call
13031
13032         * LaTeX.[Ch]: inherit privately from noncopyable
13033         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
13034         instead of WriteStatus.
13035
13036         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
13037
13038         * BufferView_pimpl.C (buffer): don't init minibuffer
13039         (workAreaButtonPress): use LFUN_MESSAGE
13040         (workAreaButtonRelease): ditto
13041         (savePosition): ditto
13042         (restorePosition): ditto
13043         (MenuInsertLyXFile): ditto
13044         (workAreaExpose): don't init minibuffer
13045         (update): remove commented code, simplify
13046
13047         * BufferView2.C (openStuff): use LFUN_MESSAGE
13048         (toggleFloat): ditto
13049         (menuUndo): ditto
13050         (menuRedo): ditto
13051         (copyEnvironment): ditto
13052         (pasteEnvironment): ditto
13053         (copy): ditto
13054         (cut): ditto
13055         (paste): ditto
13056         (gotoInset): ditto
13057         (updateInset): remove some commented code
13058
13059         * lastfiles.h: inherit privately from noncopyable
13060         * layout.h: ditto
13061         * lyx_gui.h: ditto
13062         * lyx_main.h: ditto
13063         * lyxlex.h: ditto
13064         * lyxlex_pimpl.h: ditto
13065
13066         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
13067         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
13068         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13069
13070         * LyXAction.h: inherit privately from noncopyable, add methods
13071         func_begin, func_end, returning iterators to the func map.
13072
13073         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
13074         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
13075         (func_begin): new method
13076         (func_end): new method
13077
13078         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
13079         and not)
13080         (copySelection): ditto
13081         (pasteSelection): ditto
13082
13083         * BufferView.C: whitespace change
13084         * BufferView.h: inherit privately from noncopyable
13085
13086 2001-04-16  Allan Rae  <rae@lyx.org>
13087
13088         * tabular-old.C (l_getline):
13089         * spellchecker.C (sc_check_word):
13090         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
13091         an unrecognised preprocessor directive.  So ensure they're wrapped.
13092
13093 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
13094
13095         * src/exporter.C (Export): Give an error message when path to file
13096         contains spaces.
13097
13098 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
13099
13100         * LaTeX.C (deplog): Always check that foundfile exists.
13101
13102 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13103
13104         * lyx_main.h:
13105         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
13106
13107 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13108
13109         * tabular.[Ch] (getLabelList): implement new method
13110
13111         * minibuffer.h: comment ouf setTiimer
13112
13113         * minibuffer.C (ExecutingCB): constify res
13114         (peek_event): constify s
13115         (Set): constify ntext
13116         (Init): constify nicename
13117
13118         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
13119
13120         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
13121         (savePosition): use two params to Minibuffer::Set
13122         (restorePosition): ditto
13123
13124 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13125
13126         * lyx_main.C: include language.h
13127
13128         * Makefile.am (lyx_main.o): add language.h
13129
13130 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13131
13132         * exporter.C:
13133         * paragraph.C:
13134         * screen.C:
13135         * tabular.C:
13136         * CutAndPaste.C: include gettext.h
13137
13138         * lyxfont.h: remove old hack with ON and OFF.
13139
13140         * lyxparagraph.h:
13141         * lyxfont.h: do not include language.h...
13142
13143         * BufferView2.C:
13144         * LaTeXFeatures.C:
13145         * Painter.C:
13146         * bufferview_funcs.C:
13147         * font.C:
13148         * lyxfont.C:
13149         * text.C:
13150         * text2.C:
13151         * trans_mgr.C:
13152         * paragraph.C: ... but do it here instead
13153
13154 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13155
13156         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
13157
13158         * tabular.C: small reformat
13159
13160         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
13161         NEW_INSETS version
13162         (GetChar): ditto
13163         (BreakParagraph): ditto
13164         (SetOnlyLayout): ditto
13165         (SetLayout): ditto
13166
13167         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
13168         with one arg less.
13169
13170         * lastfiles.C: removed most using decl, add std:: where needed
13171
13172         * buffer.C: ws changes
13173
13174         * MenuBackend.C (class compare_format): put into anon namespace
13175         (expand): constify label, names, action, action2
13176         (expand):
13177
13178         * text.C (SingleWidth): constify font
13179         (IsBoundary): constify rtl2
13180         (GetVisibleRow): constify ww
13181
13182         * LaTeX.C (deplog): constify logfile
13183
13184         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
13185         start_x, end_x
13186         (workAreaExpose): constify widthChange, heightChange
13187
13188         * lyxrow.C (par): moved
13189         (height): moved
13190         (next): moved
13191         * lyxrow.h: as inlines here
13192
13193         * lyxfont.h (shape): moved from lyxfont.C
13194         (emph): moved from lyxfont.C
13195
13196         * lyxfont.C (LyXFont): use initialization list for all
13197         constructors
13198         (shape): move to lyxfont.h as inline
13199         (emph): move to lyxfont.h as inline
13200
13201
13202 2001-04-04  Juergen Vigna  <jug@sad.it>
13203
13204         * vspace.C: had to include stdio.h for use of sscanf
13205
13206 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
13207
13208         * BufferView.h:
13209         * BufferView_pimpl.h: remove xforms cruft. Both classes are
13210         independent of xforms.
13211
13212 2001-04-02  Juergen Vigna  <jug@sad.it>
13213
13214         * spellchecker.C: fixed namespace placing!
13215
13216 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
13219         the LyXParagraph * is 0.
13220
13221 2001-03-29  Juergen Vigna  <jug@sad.it>
13222
13223         * vspace.C: added support for %, c%, p%, l%.
13224         (stringFromUnit): added helper function.
13225         (asLatexString): changed to give right results for the %-values.
13226
13227         * buffer.C: convert the widthp in a width%.
13228
13229 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
13230
13231         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
13232         figureForm.[Ch].
13233
13234         * figureForm.[Ch]: stripped the FD_from_figure manipulation
13235         code out of lux_cb.[Ch], ready for its (imminent?) removal.
13236
13237         * lyx_cb.[Ch]: see above.
13238
13239         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
13240         form1.[Ch].
13241
13242         * form1.[Ch]:
13243         * lyx.[Ch]: replaced by figure_form.[Ch].
13244
13245         * lyx_gui.C:
13246         * lyx_gui_misc.C:
13247         * lyxfunc.C: changed headers associated with above changes.
13248
13249 2001-03-27  Juergen Vigna  <jug@sad.it>
13250
13251         * BufferView_pimpl.C: set the temporary cursor right!
13252
13253 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
13254
13255         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
13256
13257 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
13258
13259         * LString.h: removed "using std::getline"!
13260
13261         * BufferView_pimpl.C (Dispatch): changes due to changes in
13262         InsetInclude::Params.
13263
13264         * buffer.C (tag_name): removed redundant break statements as they were
13265         producing lots of warnings with my compiler.
13266
13267 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13268
13269         * LString.h: add "using std::getline" when using the real <string>.
13270
13271 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
13272
13273         * buffer.C: removed bitset usage.
13274         PAR_TAG moved to an anonymous name space.
13275         (tag_name): new funtion, also in the anonymous namespace.
13276         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
13277         (makeDocBookFile): clean code. Completed transition from string arrays
13278         to string vectors.
13279         (SimpleDocBookOnePar): code clean.
13280
13281 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13282
13283         * tabular.C: add some comments.
13284
13285 2001-03-22  Juergen Vigna  <jug@sad.it>
13286
13287         * buffer.C (parseSingleLyXformat2Token): redone the minipage
13288         compatibility read a bit and fixed bug with minipage in different
13289         depth.
13290
13291 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
13292
13293         * buffer.C (pop_tag): removed.
13294         (push_tag): removed.
13295         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
13296         array replaced with vector. Added support for CDATA sections.
13297         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
13298         at any nest level.
13299         (makeDocBookFile): XML conformant declaration of CDATA section,
13300         fixed bug related to <emphasis> in the first paragraph char.
13301         (sgmlOpenTag): exclude empty tags.
13302         (sgmlCloseTag): ditto.
13303
13304         * buffer.h (pop_tag): removed.
13305         (push_tag): removed.
13306
13307 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
13308
13309         * language.h (Languages): added size_type and size().
13310
13311 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13312
13313         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
13314         response on compability reading of minipages. One probliem is that
13315         the old usage of minipages was «flertydig»
13316
13317         * several files here and in subdirs: don't use static at file
13318         scope use anon namespaces instead.
13319
13320 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
13321
13322         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
13323         LaTeX output. This is necessary for Literate document
13324         processing.
13325
13326 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13327
13328         * buffer.C: insert hfill when needed.
13329
13330         * tabular.C (l_getline): use string::erase, small whitespace change.
13331
13332         * BufferView_pimpl.C: try the anon namespace.
13333         * WorkArea.C: ditto
13334
13335 2001-03-16  Juergen Vigna  <jug@sad.it>
13336
13337         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
13338         otherwise it won't open options-dialogs.
13339
13340         * buffer.C: honor pextraWidth(p) on converting minipages.
13341
13342         * tabular.C (l_getline): changed the functions to strip trailing \r.
13343
13344 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
13345
13346         * BufferView_pimpl.C:
13347         * minibuffer..C: added "using SigC::slot" declaration.
13348
13349 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13350
13351         * lyxlex_pimpl.h: noncopyable is in namespace boost.
13352
13353         * text2.C: ditto
13354
13355         * text.C: ditto
13356
13357         * paragraph.C: ditto
13358
13359         * lyxtext.h: NO_PEXTRA
13360
13361         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
13362
13363         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
13364         * ParameterStruct.h: ditto
13365         * ParagraphParameters.h: ditto
13366         * lyxparagraph.h: ditto
13367
13368 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13369
13370         * buffer.C: add compability for minipage alignment.
13371         (latexParagraphs): remove unwanted pextra check.
13372
13373         * several files: remove CXX_WORKING_NAMESPACES
13374
13375         * buffer.C (pop_tag): tie is in namespace boost
13376
13377         * BufferView.h: noncopyable is in namespace boost
13378         * lyxlex.h: ditto
13379         * lyx_main.h: ditto
13380         * lyx_gui.h: ditto
13381         * layout.h: ditto
13382         * lastfiles.h: ditto
13383         * bufferlist.h: ditto
13384         * ShareContainer.h: ditto
13385         * LyXView.h: ditto
13386         * LyXAction.h: ditto
13387         * LaTeX.h: ditto
13388
13389 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13390
13391         * Merging changes from BRANCH_MVC back into HEAD.
13392
13393         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
13394
13395 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
13396
13397         * BufferView_pimpl.C: change from intl.C
13398
13399         * combox.h:
13400         * combox.C:
13401         * Makefile.am: move combox.*
13402
13403         * form1.h:
13404         * form1.C:
13405         * lyx_gui.C:
13406         * intl.h:
13407         * intl.C: remove dialog (covered by prefs)
13408
13409 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
13410
13411         * lyxfunc.C (Dispatch): removed redundant break statement.
13412
13413 2001-03-14  Juergen Vigna  <jug@sad.it>
13414
13415         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
13416
13417 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13418
13419         * buffer.C: add hack to fix compability reading of minipages.
13420
13421 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
13422
13423         * buffer.C (getLists): Cleanup.
13424
13425 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13426
13427         * lyxfont.C (update): don't honor toggleall on font size.
13428
13429 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
13430
13431         * bmtable.c:
13432         * bmtable.h:
13433         * Makefile.am: moved to frontends/xforms/
13434
13435         * lyx_gui_misc.C:
13436         * lyxfunc.C:
13437         * BufferView_pimpl.C: changes for moved mathpanel
13438
13439 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13440
13441         * gettext.h: fix gettext_init() in --disable-nls
13442
13443 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13444
13445         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
13446
13447 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
13448
13449         * lyx.C:
13450         * lyx.h: strip external form
13451
13452 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13453
13454         * BufferView_pimpl.C: add comment, destroySplash()
13455
13456 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
13457
13458         * BufferView_pimpl.C:
13459         * LyXAction.C:
13460         * buffer.C:
13461         * commandtags.h:
13462         * lyxfunc.C: use re-worked insetinclude
13463
13464 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13465
13466         * buffer.C: add using std::stringstream.
13467
13468         * lyx_cb.C: readd using std::ios.
13469
13470         * buffer.C: add using std::map.
13471
13472         * BufferView_pimpl.C: add using std::vector.
13473
13474         * ShareContainer.h: add std:: to swap.
13475
13476         * buffer.h: add some typedefs
13477         * buffer.C (getLists): use them
13478         (getLists): renamed from getTocList.
13479         add a counter for the different float types and use it in the
13480         generated string.
13481         (getLists): use the same counter for the NEW_INSETS and the "non"
13482         NEW_INSETS
13483
13484         * lyx_cb.h: remove unused items, includes, using etc.
13485
13486         * ShareContainer.h: remove some commented code, add more comments
13487         and "documentation".
13488
13489 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13490
13491         * buffer.C (getTocList): make the list also when NEW_INSETS is
13492         defined.
13493
13494         * buffer.h: remove TocType
13495
13496         * buffer.C (getTocList): change to return a map<string,
13497         vector<TocItem> >, implement for dynamic number of list.
13498
13499         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
13500         * text2.C (PasteSelection): adjust
13501         * CutAndPaste.C (pasteSelection): adjust
13502
13503         * FloatList.C (FloatList): update from the new_insets branch.
13504         * Floating.[Ch]: ditto
13505         * LaTeXFeatures.C: ditto
13506         * buffer.C: ditto
13507         * lyxlex_pimpl.C: ditto
13508
13509         * paragraph.C (Last): remove when NEW_INSETS is defined.
13510
13511         * other file: changes because of the above.
13512
13513 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13514
13515         * lyxparagraph.h: rename next to next_, previous to previous_,
13516         make them private for NEW_INSETS. Rename Next() to next(),
13517         Previous() to previous().
13518
13519         * other files: changes because of the above.
13520
13521 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
13522
13523         * BufferView.h:
13524         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
13525         problem.
13526
13527 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13528
13529         * main.C (main): pass lyx_localedir to gettext_init().
13530
13531         * gettext.h: remove locale_init and gettext_init macros
13532
13533         * gettext.C (locale_init): new function
13534         (gettext_init): new function
13535
13536         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
13537         setlocale().
13538
13539 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
13540
13541         * Moved credits to frontends:
13542         * credits.[Ch]: removed
13543         * credits_form.[Ch]: removed
13544         * lyx_gui_misc.C: remove credits stuff
13545         * Makefile.am:
13546
13547 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13548
13549         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
13550
13551         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
13552         unneeded destructor.
13553
13554         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
13555         a standalone pointer again.
13556
13557         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
13558
13559 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
13560
13561         * Makefile.am:
13562         * filedlg.h:
13563         * filedlg.C:
13564         * LyXAction.C:
13565         * ToolbarDefaults.C:
13566         * bufferlist.C:
13567         * commandtags.h:
13568         * form1.C:
13569         * form1.h:
13570         * lyx_cb.C:
13571         * lyx_cb.h:
13572         * lyxfunc.h:
13573         * lyxfunc.C:
13574         * BufferView_pimpl.C: use new file dialog in GUII
13575
13576         * lyx_cb.h:
13577         * lyx_cb.C: remove LayoutsCB to Toolbar
13578
13579 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13580
13581         * ShareContainer.h (get): add std:: qualifier
13582
13583 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13584
13585         * ShareContainer.h: define a proper ShareContainer::value_type
13586         type (and use typename to please compaq cxx)
13587
13588 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13589
13590         * lyxparagraph.h: move serveral local vars to
13591         ParameterStruct/ParagraphParameters., use ShareContainer in
13592         FontTable., make vars in FontTable private and add getter and
13593         setter.
13594
13595         * paragraph.C: changes because of the above.
13596
13597         * lyxfont.h: remove copy constructor and copy assignment. (the
13598         default ones is ok), move number inside FontBits. move inlines to
13599         lyxfont.C
13600
13601         * lyxfont.C: add number to initializaton of statics, move several
13602         inlines here. constify several local vars. some whitespace
13603         cleanup. Dont hide outerscope variables.
13604
13605         * Spacing.h: add two new constructors to match the set methods.
13606
13607         * ShareContainer.h: new file, will perhaps be moved to support
13608
13609         * ParameterStruct.h: new file
13610
13611         * ParagraphParameters.h: new file
13612
13613         * ParagraphParameters.C: new file
13614
13615         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
13616         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
13617
13618         * BufferView_pimpl.C: ParagraphParameter changes.
13619         * buffer.C: Likewise.
13620         * bufferview_funcs.C: Likewise.
13621         * text.C: Likewise.
13622         * text2.C: Likewise.
13623
13624 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13625
13626         * lyxfind.C (LyXReplace): do not redefine default argument in
13627         implementation.
13628         (IsStringInText): ditto
13629         (SearchForward): ditto
13630         (SearchBackward): ditto
13631
13632 2001-03-06  Juergen Vigna  <jug@sad.it>
13633
13634         * lyxfind.C (IsStringInText): put parentes around expressions.
13635
13636 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
13637
13638         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
13639
13640 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
13643
13644         * stl_string_fwd.h: add comment
13645
13646         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
13647
13648         * tabular.h:
13649         * tabular.C: remove unused DocBook methods
13650
13651         * intl.C:
13652         * language.C:
13653         * paragraph.C:
13654         * buffer.C:
13655         killed DO_USE_DEFAULT_LANGUAGE
13656
13657 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13658
13659         * lyx_gui.C: do not include language.h.
13660
13661         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13662         arguments in function implementation.
13663
13664 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13665
13666         * BufferView_pimpl.C: add <ctime>
13667
13668 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13669
13670         * BufferView_pimpl.C: add using std::find_if
13671
13672 2001-02-27  José Matos  <jamatos@fep.up.pt>
13673
13674         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13675         by OnlyPath.
13676
13677 2001-02-11  José Matos  <jamatos@fep.up.pt>
13678
13679         * buffer.C (makeDocBookFile): command styles now have a parameter as
13680         "title" by default.
13681
13682 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13683
13684         * layout_forms.[Ch]: removed
13685         * lyx_cb.[Ch]: out character
13686         * lyx_gui.C: out character
13687         * lyx_gui_misc.C: out character
13688         * bufferview_funcs.C: : out character,
13689         added toggleall as parameter in ToggleAndShow
13690
13691 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13692
13693         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13694
13695         * text2.C (SetCurrentFont): Disable number property at boundary.
13696
13697 2001-02-26  Juergen Vigna  <jug@sad.it>
13698
13699         * lyxfunc.C (getStatus): added a string argument override function so
13700         that this is correctly called from LyXFunc::Dispatch if it contains a
13701         do_not_use_argument which is used!
13702         (Dispatch): added check for "custom" export and call appropriate func.
13703
13704 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13705
13706         * lyxrc.C: Add language_command_local, language_use_babel and
13707         language_global_options.
13708
13709         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13710
13711         * buffer.C (makeLaTeXFile): Use language_use_babel and
13712         language_global_options.
13713
13714 2001-02-23  Juergen Vigna  <jug@sad.it>
13715
13716         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13717         which works with LyXText and putted it inside BufferView. Here now we
13718         only call for that part the BufferView::Dispatch() function.
13719
13720         * BufferView.C (Dispatch): added.
13721
13722         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13723         functions which needs to use a LyXText over from LyXFunc.
13724         (MenuInsertLyXFile): added
13725         (getInsetByCode): added
13726         (moveCursorUpdate): added
13727         (static TEXT): added
13728
13729 2001-02-22  Juergen Vigna  <jug@sad.it>
13730
13731         * BufferView_pimpl.C (update): call a status update to see if LyXText
13732         needs it.
13733
13734 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13735
13736         * vc-backend.C (revert): implement for CVS
13737         (getLog): implement for CVS
13738
13739 2001-02-20  Juergen Vigna  <jug@sad.it>
13740
13741         * text2.C (ClearSelection): added BufferView param for inset_owner call
13742
13743         * lyxfunc.C (TEXT): added this function and use it instead of
13744         directly owner->view()-text of getLyXText().
13745
13746 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13747
13748         * src/layout_forms.C: out preamble
13749         * src/layout_forms.h: out preamble
13750         * src/lyx_cb.C: out preamble
13751         * src/lyx_cb.h: out preamble
13752         * src/lyx_gui.C: out preamble
13753         * src/lyx_gui_misc.C: out preamble
13754         * src/lyxfunc.C: connect with guii preamble
13755
13756 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13759
13760 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13761
13762         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13763         whether to run bibtex.
13764
13765 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13766
13767         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13768
13769 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13770
13771         * Makefile.am (lyx_SOURCES): removed bibforms.h
13772
13773         * vspace.h: doxygen
13774
13775         * text.C (GetVisibleRow): make several local vars const
13776
13777         * tabular.C: small cleanup.
13778
13779         * lyxserver.C (callback): use compare instead of strncmp
13780
13781         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13782         inlines to after class or to paragraph.C
13783
13784         * lyxfont.h: remove friend operator!=
13785
13786         * converter.h: move friend bool operator< to non friend and after
13787         class def.
13788
13789         * combox.h: small cleanup
13790
13791         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13792         to inlines after class def.
13793
13794         * buffer.C (pop_tag): use string operations instead of strcmp
13795
13796         * bmtable.c: doxygen, small cleanup
13797
13798         * LaTeX.h: remove friend operator==
13799
13800 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13801
13802         * screen.C:
13803         * lyxrc.[Ch]:
13804         * lyxfunc.C:
13805         * lyxfont.[Ch]:
13806         * lyx_cb.C:
13807         * intl.[Ch]:
13808         * commandtags.h:
13809         * buffer.C:
13810         * WorkArea.[Ch]:
13811         * LyXAction.C:
13812         * BufferView_pimpl.C:
13813         * BufferView.[Ch]: remove cruft
13814
13815 2001-02-14  Juergen Vigna  <jug@sad.it>
13816
13817         * lyxfunc.C: removed #if 0 unused code
13818
13819         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13820
13821         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13822
13823         * text2.C (SetSelection): added a BufferView * parameter
13824
13825 2001-02-13  Juergen Vigna  <jug@sad.it>
13826
13827         * lyxfunc.C (Dispatch): fixed protected blank problem.
13828         * BufferView2.C (protectedBlank): added LyxText * parameter.
13829
13830         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13831         (AppendColumn): same as above for column_info.
13832
13833         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13834         (moveCursorUpdate): use a LyXText param for support of InsetText.
13835
13836         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13837         (tripleClick): ditto
13838
13839         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13840
13841         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13842
13843         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13844
13845         * text2.C (SetSelection): set correct update status if inset_owner
13846         (ToggleFree): ditto
13847
13848 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13849
13850         * tabular.C: remove some commented code.
13851
13852 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13853
13854         * BufferView_pimpl.C: call hideSplash()
13855
13856         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13857
13858         * include_form.h:
13859         * bibforms.h: remove
13860
13861         * lyxfunc.C:
13862         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13863           add LFUN_CHILD_CREATE
13864
13865         * counters.h: fix tiny typo
13866
13867         * lyx_cb.C:
13868         * lyx.h:
13869         * lyx_gui.C:
13870         * lyx.C: move splash to frontends/xforms/
13871
13872         * lyx_gui_misc.C: move Include and Bibform to frontends
13873
13874         * lyxvc.h: clarify comment
13875
13876         * vspace.C: tiny housekeeping
13877
13878 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13879
13880         * text.C (PrepareToPrint): RTL Fix.
13881
13882         * paragraph.C (GetUChar): New method.
13883         (String):  Use GetUChar.
13884
13885         * buffer.C (asciiParagraph): Use GetUChar.
13886
13887 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13888
13889         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13890
13891 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13892
13893         * buffer.h:
13894         * buffer.C: rename to getLogName(), handle
13895           build log / latex log nicely
13896
13897 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13898
13899         * MenuBackend.C:
13900         * MenuBackend.h: remove support for reference menuitem type.
13901
13902 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13903
13904         * BufferView_pimpl.C: housekeeping
13905         * BufferView_pimpl.h:
13906         * LyXView.h:
13907         * Makefile.am:
13908         * Timeout.C:
13909         * Timeout.h:
13910         * minibuffer.h: move Timeout GUI-I
13911
13912 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13913
13914         * lyxrc.C (read): Update converters data-structures.
13915
13916 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13917
13918         * LaTeX.h (operator!=): add operator != for Aux_Info
13919
13920 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13921
13922         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13923
13924         * LaTeXLog.C: deleted, useful code moved to Buffer
13925
13926         * buffer.h:
13927         * buffer.C: new function getLatexLogName()
13928
13929         * lyx_gui_misc.C:
13930         * lyx_gui.C:
13931         * lyxvc.C:
13932         * lyxvc.h:
13933         * lyxfunc.C: use frontends for LaTeX and VC logs
13934
13935 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13936
13937         * LaTeX.h: yet another std:: that Allan forgot.
13938
13939         * Variables.C (set): renamed from isset(), because this clashes
13940         with some HP-UX macros (grr).
13941
13942 2001-02-06  Allan Rae  <rae@lyx.org>
13943
13944         * LaTeX.h: Another bug fix.  Missing std:: this time.
13945
13946 2001-02-04  Allan Rae  <rae@lyx.org>
13947
13948         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13949         floats problem. I've left it commented out because it's not quite
13950         correct.  It should also test that the current object is a table or
13951         figure inset.  But I haven't gotten around to figuring out how to do
13952         that.  I *think* it'll be something like: "table" == inset.type()
13953
13954         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13955         bool.
13956
13957 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13958
13959         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13960         all the citation/databases/styles in the auxilary file.
13961         (run): Rerun latex if there was a babel language error.
13962
13963 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13964
13965         * text.C (Backspace): Preserve the font when changing newline char
13966         with a space.
13967         (BreakParagraph): If the cursor is before a space, delete the space.
13968
13969         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13970
13971 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13972
13973         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13974         new argument (code).
13975         (ChangeCitationsIfUnique): New method.
13976
13977         * paragraph.C (GetPositionOfInset): Handle bibkey.
13978
13979 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13980
13981         * BufferView_pimpl.h: change type of Position::par_pos to
13982         LyXParagraph::size_type.
13983
13984 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13985
13986         * BufferView_pimpl.C (savePosition, restorePosition): Write
13987         messages to minibuffer.
13988
13989 2001-01-28  José Matos  <jamatos@fep.up.pt>
13990
13991         * buffer.C (makeDocBookFile): adds support for document language.
13992         A silly restriction on the name of LatexCommand types where removed.
13993         Added support for CDATA sections, allows to chars unescaped, used
13994         among others in code, to avoid escape < and >.
13995
13996 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13997
13998         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13999         saved positions instrad of a stack. Furthermore, a position is
14000         stored using paragraph id/paragraph position.
14001
14002         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
14003         Remove LFUN_REF_BACK.
14004
14005 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
14006
14007         * converter.C (dvipdfm_options): New method.
14008
14009 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14010
14011         * vspace.C (isValidLength): Fix for empty input string.
14012
14013 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14014
14015         * LyXAction.C (init): change description of LFUN_FIGURE to
14016         "Insert Graphics"
14017
14018 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14019
14020         * LaTeX.C: add using directive
14021
14022 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14023
14024         * MenuBackend.C (expand): Fix the sorting of the formats.
14025
14026 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
14027
14028         * lyx_main.C: tiny error message fix
14029
14030 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14031
14032         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
14033         calling fl_initialize(). This fixes the problem with ',' as
14034         decimal separator in text files.
14035
14036 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
14037
14038         * trans.C (process): Fix the keymap bug.
14039
14040 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
14041
14042         * LaTeX.C (scanAuxFiles): New method. Provides support for
14043         multiple bibliographies (when using the bibtopic/bibunits pacakges).
14044         (scanLogFile) Scan for "run BibTeX" messages.
14045
14046         * buffer.C (makeLaTeXFile): Do not load the ae package when using
14047         OT1 font encoding. Also, load the aecompl package if the ae
14048         package is loaded.
14049
14050         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
14051
14052 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14053
14054         * texrow.C (increasePos): turn two error messages into debug
14055         messages.
14056
14057 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
14058
14059         * LaTeX.C (scanAux): Handle the \@input macro.
14060         (runBibTeX): Use scanAux().
14061
14062         * language.C (latex_options_): New field.
14063
14064         * LaTeXFeatures.C (getMacros): Add language macros.
14065
14066         * buffer.C (makeLaTeXFile): Small fix.
14067
14068 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
14071
14072         * text2.C: add a using directive.
14073
14074 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
14075
14076         * BufferView2.C:
14077         * lyx_gui_misc.h:
14078         * lyxfr1.C:
14079         * lyxfunc.C: kill LyXBell.
14080
14081 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
14082
14083         * text.C (IsBoundary): Remove the error message
14084
14085         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
14086
14087         * lyxrc.C (setDefaults): Correct initialization value for
14088         font_norm_type.
14089
14090 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
14091
14092         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
14093         gotoError().
14094
14095         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
14096         and GotoNextNote().
14097
14098         * src/LyXAction.C: Added reference-next.
14099
14100         * text.C (InsertChar): Use contains instead of strchr.
14101
14102         * lyx_cb.C (MenuInsertLabel): Enable default value code.
14103
14104 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
14105
14106         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
14107         alignment commands (when needed).
14108
14109         * text.C (InsertChar): Add ':' to number separator chars.