]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
rowlist4
[lyx.git] / src / ChangeLog
1 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * text2.C (LyXText): adjust.
4         (init): adjust
5         (removeRow): make it take a RowList::iterator as arg, adjust.
6         (fullRebreak): adjust
7         (deleteEmptyParagraphMechanism): adjust
8         (clearPaint): adjust
9         (postPaint): adjust
10
11         * text.C (top_y): adjust
12         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
13         (breakAgain): make it take a RowList::iterator as arg, adjust.
14         (breakParagraph): adjust
15         (insertChar): adjust
16         (backspace): adjust
17
18         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
19         need_break_row, and refresh_row.
20
21         * text3.C (dispatch): adjust
22
23         * text2.C (checkParagraph): adjust
24         (setCursor): adjust
25         (setCursorFromCoordinates): adjust
26
27         * text.C (top_y): adjust
28         (workWidth): adjust
29         (getRow): make it return a RowList::iterator, adjust
30         (getRowNearY): make it return a RowList::iterator, adjust
31
32         * text2.C (init): adjust
33         (insertRow): remove function
34         (insertParagraph): adjust
35         (redoParagraphs): adjust
36         (fullRebreak): adjust
37         (updateCounters): adjust
38
39         * text.C (top_y): rewrite to use RowList iterators.
40         (top_y): adjust
41         (setHeightOfRow): rewrite to sue RowList iterators.
42         (appendParagraph): adjust
43         (breakAgain): adjust
44         (breakAgainOneRow): adjust
45         (breakParagraph): adjust
46         (getRow): adjust
47         (getRowNearY): adjust, and remove commented code.
48
49         * lyxtext.h (firstRow): delete function
50         (lastRow): delete function
51         (rows): new function (const and non-const versions.)
52         (insertRow): delete function
53
54         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
55
56 2003-03-29  John Levon  <levon@movementarian.org>
57
58         * BufferView_pimpl.C: always update scrollbar top
59         because pasting text when we're anchored could mean we
60         miss an update altogether
61
62 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
63
64         * text2.C (init): use rowlist_.end() and not 0.
65         (insertRow): change to take a RowList::iterator as arg, adjust
66         for this.
67         (insertParagraph): change to take a RowList::iterator as arg,
68         adjust for this.
69         (redoParagraphs): remove some debug msgs.
70
71         * text.C (appendParagraph): change to take a RowList::iterator
72         arg, adjust for this.
73         (breakAgain): add an assert
74         (breakAgainOneRow): ditto
75
76 2003-03-29  John Levon  <levon@movementarian.org>
77
78         * text2.C: do not clear selection after inc/decDepth
79         (bug 550)
80
81 2003-03-29  John Levon  <levon@movementarian.org>
82
83         * BufferView.C:
84         * buffer.C: fix broken strerrors according to Lars
85
86 2003-03-29  John Levon  <levon@movementarian.org>
87
88         * converters.C: more Alert cleanups
89
90 2003-03-29  John Levon  <levon@movementarian.org>
91
92         * bufferview_funcs.C: remove pointless Alert
93
94         * buffer.C: fix confusing error message when
95         a template is chmoded 000
96
97 2003-03-29  John Levon  <levon@movementarian.org>
98
99         * BufferView.C:
100         * BufferView.h:
101         * BufferView_pimpl.C: Alert fixes
102
103         * Makefile.am:
104         * tabular.C:
105         * tabular-old.C: remove unused table compat reading
106
107 2003-03-29  John Levon  <levon@movementarian.org>
108
109         * BufferView.C:
110         * buffer.C:
111         * lyx_cb.h:
112         * lyx_cb.C: more Alert cleanups
113
114         * lyxfunc.C: don't allow chktex if not latex document
115
116 2003-03-29  John Levon  <levon@movementarian.org>
117
118         * lyx_cb.C:
119         * BufferView.C:
120         * buffer.C: warnings pushed down from support/,
121         kill err_alert
122
123 2003-03-29  John Levon  <levon@movementarian.org>
124
125         * lyxfunc.C: safety check for C-r (revert)
126
127 2003-03-29  John Levon  <levon@movementarian.org>
128
129         * bufferlist.h:
130         * bufferlist.C: several UI fixes using Alert::prompt.
131         Fix the pointless looping quit code. Fix stupid revert
132         behaviour (bug 938)
133
134         * lyxvc.h:
135         * lyxvc.C:
136         * lyx_cb.C: use Alert::prompt
137
138         * lyx_main.C: remove a silly question
139
140         * lyxfunc.C: remove a couple of silly questions,
141         use Alert::prompt
142
143 2003-03-28  John Levon  <levon@movementarian.org>
144
145         * text2.C: fix bug 974 (End on empty par)
146
147 2003-03-28  John Levon  <levon@movementarian.org>
148
149         * BufferView_pimpl.C:
150         * LyXAction.C:
151         * lfuns.h: remove do-nothing math greek lfuns
152
153 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
154
155         * lyxgluelength.h (isValidGlueLength): add default arg on
156         parameter 2. Remove default arg from friend in class.
157
158         * lyxlength.h (isValidLength): add default arg on parameter 2.
159         Remove default arg from friend in class.
160
161         * text2.C (LyXText): adjust, initialize refresh_row.
162         (init): adjust
163         (removeRow): adjust
164         (insertRow): adjust
165         (insertParagraph): adjst
166         (redoParagraphs): adjust
167         (fullRebreak): adjust
168         (updateCounters): adjust
169         (deleteEmptyParagraphMechanism): first attempt at fixing a
170         crashing bug.
171
172         * text.C (top_y): adjust
173         (setHeightOfRow): adjust
174         (getRow): adjust
175         (getRowNearY): adjust
176
177         * lyxtext.h: include RowList.h
178         (~LyXText): not needed anymore, deleted.
179         (firstRow): modify for RowList
180         (lastRow): new function
181         Delete firstrow and lastrow class variables, add a Rowlist
182         rowlist_ class variable.
183
184         * lyxrow.C (lastPos): use empty() and not !size() to check if a
185         paragraph is empty.
186
187         * RowList.C (insert): fix case where it == begin().
188
189 2003-03-26  Angus Leeming  <leeming@lyx.org>
190
191         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
192         the thesaurus dialog.
193
194 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
195
196         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
197
198         * RowList.[Ch]: new files
199
200         * ParagraphList.C (erase): handle the case where it == begin
201         correctly.
202
203 2003-03-25  John Levon  <levon@movementarian.org>
204
205         * Makefile.am:
206         * aspell_local.h:
207         * aspell.C: add new aspell support
208
209         * lyxrc.h:
210         * lyxrc.C: Make use_pspell be use_spell_lib. Always
211         have it accessible.
212
213 2003-03-25  Angus Leeming  <leeming@lyx.org>
214
215         * lfuns.h:
216         * LyXAction.C (init): new LFUN_INSET_INSERT.
217
218         * BufferView_pimpl.C (dispatch): split out part of the
219         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
220
221         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
222         LFUN_INSET_APPLY.
223
224 2003-03-25  Angus Leeming  <leeming@lyx.org>
225
226         * lyxfunc.C (dispatch): changes to the Dialogs interface.
227
228 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
229
230         * text2.C:
231         * text3.C: remove useless row->height(0)
232
233 2003-03-25  John Levon  <levon@movementarian.org>
234
235         * lyxtext.h:
236         * text2.C:
237         * text3.C: rename the refreshing stuff to better names
238
239 2003-03-24  John Levon  <levon@movementarian.org>
240
241         * BufferView_pimpl.h:
242         * BufferView_pimpl.C: update layout choice on a mouse
243         press/release
244
245 2003-03-23  John Levon  <levon@movementarian.org>
246
247         * Makefile.am: fix commandtags.h reference
248
249 2003-03-22  John Levon  <levon@movementarian.org>
250
251         * BufferView_pimpl.C:
252         * lyxtext.h:
253         * rowpainter.C:
254         * rowpainter.h:
255         * text.C:
256         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
257
258 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
259
260         * lyxtext.h:
261         * text.C: take the rtl methods out of line
262
263 2003-03-21 André Pönitz <poenitz@gmx.net>
264
265         * metricsinfo.[Ch]: new files containing structures to be passed around
266         during the two-phase-drawing...
267
268 2003-03-21 André Pönitz <poenitz@gmx.net>
269
270         * lyxtextclass.C: read 'environment' tag.
271
272 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
273
274         * text2.C (removeRow): fix bug 964
275
276 2003-03-20  John Levon  <levon@movementarian.org>
277
278         * rowpainter.C:
279         * text.C:
280         * text2.C: paint cleanups. Inset::update() dropped font
281         parameter
282
283 2003-03-19  John Levon  <levon@movementarian.org>
284
285         * lyxfunc.C: only fitcursor/markDirty if available()
286
287 2003-03-19  John Levon  <levon@movementarian.org>
288
289         * commandtags.h: rename to ...
290
291         * lfuns.h: ... this, and renumber / cleanup
292
293 2003-03-19  John Levon  <levon@movementarian.org>
294
295         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
296         fit the cursor after an lfun
297
298         * BufferView.h:
299         * BufferView.C:
300         * BufferView_pimpl.h:
301         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
302
303         * LyXAction.C: layout-character should have ReadOnly
304
305         * ParagraphParameters.C:
306         * buffer.C:
307         * bufferview_funcs.C:
308         * lyx_cb.C:
309         * lyxfind.C:
310         * lyxtext.h:
311         * text.C:
312         * text2.C:
313         * text3.C:
314         * undo_funcs.C: changes from above
315
316 2003-03-18  John Levon  <levon@movementarian.org>
317
318         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
319         remove it from update()
320
321         * lyxfunc.C: update layout choice after an lfun
322
323         * text3.C: remove extra updateLayoutChoice()s
324
325 2003-03-18  John Levon  <levon@movementarian.org>
326
327         * text.C: top_y change means full repaint, fix
328         a drawing bug with cursor movement
329
330 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
331
332         * lyxtext.h:
333         * text.C:
334         * text2.C: anchor row on setCursor
335
336 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
337
338         * lyxtext.h: remove almost all mutable keywords
339         * text.C:
340         * text2.C:
341         * text3.C: remove const keywords accordingly
342
343 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
344
345         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
346         anon namespace
347         (TeXEnvironment): ditto
348         (TeXOnePar): ditto
349
350 2003-03-17  John Levon  <levon@movementarian.org>
351
352         * text.C (rowBreakPoint): remove attempt to fix displayed
353         math insets inside a manual label
354
355 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
356
357         * lyxtext.h: remove BufferView* as first arg from almost all class
358         functions.
359         * other files: adjust.
360
361 2003-03-17  John Levon  <levon@movementarian.org>
362
363         * lyxtext.h:
364         * undo_funcs.C:
365         * text2.C: more paint cleanups
366
367         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
368
369         * rowpainter.h:
370         * rowpainter.C: remove "smart" background painting code
371
372 2003-03-16  John Levon  <levon@movementarian.org>
373
374         * lyxtext.h:
375         * text.C:
376         * text2.C:
377         * text3.C: add helper functions for setting refresh_row/y
378
379 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
380
381         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
382         newline inset which *can* get inserted in the pass_thru layouts.
383         This is primarily for literate documents.
384
385 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
386
387         * buffer.C: increment LYX_FORMAT to 223
388
389 2003-03-14 André Pönitz <poenitz@gmx.net>
390
391         * textclass.h: prepare for environment handling, ws changes
392         * lyxlayout.C: read latexheader and latexfooter tags
393
394 2003-03-14  John Levon  <levon@movementarian.org>
395
396         * text2.C: rewrite ::status() a bit
397
398 2003-03-13  John Levon  <levon@movementarian.org>
399
400         * lyxtext.h: add some docs
401
402 2003-03-13  John Levon  <levon@movementarian.org>
403
404         * lyxtext.h:
405         * text.C:
406         * text2.C:
407         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
408
409 2003-03-13  John Levon  <levon@movementarian.org>
410
411         * text3.C: fix appendix redrawing
412
413 2003-03-13  John Levon  <levon@movementarian.org>
414
415         * text.C (setHeightOfRow):
416         * rowpainter.h:
417         * rowpainter.C: make appendix mark have the text
418           "Appendix" so the user knows what it is
419
420         * LColor.h:
421         * LColor.C: s/appendixline/appendix/ from above
422
423 2003-03-13  John Levon  <levon@movementarian.org>
424
425         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
426
427         * text.C: fix a getChar(pos) bug properly
428
429 2003-03-13  Angus Leeming  <leeming@lyx.org>
430
431         * commandtags.h:
432         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
433         Probably only temporary. Let's see how things pan out.
434
435         * BufferView.C (unlockInset):
436         * BufferView_pimpl.C (fitCursor):
437         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
438
439         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
440         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
441
442         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
443         new functions that convert ParagraphParameters to and from a string.
444
445         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
446         BufferView::Pimpl's dispatch.
447         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
448
449 2003-03-13 André Pönitz <poenitz@gmx.net>
450
451         * lyxfunc.C:
452         * text3.C:
453         * factory.C: make it aware of InsetEnv
454
455 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
456
457         * text2.C (setCursor): never ask for one past last
458         (setCursor): add some debugging messages.
459
460         * text.C (singleWidth): never ask for one past last
461         (singleWidth): ditto
462         (leftMargin): ditto
463         (rightMargin): ditto
464         (rowBreakPoint): ditto
465         (setHeightOfRow): ditto
466         (prepareToPrint): ditto
467
468         * rowpainter.C (paintBackground): never ask for one past last
469         (paintText): never ask for one past last
470
471         * paragraph_pimpl.C (getChar): make the assert stricter, never
472         allow the one past last pos to be taken
473
474         * paragraph.C (getChar): ws changes only
475
476         * lyxrow.C (nextRowIsAllInset): never ask for one past last
477         (numberOfSeparators): ditto
478         (numberOfHfills): ditto
479
480 2003-03-12  John Levon  <levon@movementarian.org>
481
482         * author.h:
483         * author.C:
484         * bufferparams.h:
485         * bufferparams.C:
486         * paragraph_funcs.C: fix per-buffer authorlists
487
488 2003-03-12  John Levon  <levon@movementarian.org>
489
490         * text.C: fix newline in right address
491
492 2003-03-12  Angus Leeming  <leeming@lyx.org>
493
494         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
495         duplicate those in LyXFunc::dispatch.
496
497         * commandtags.h:
498         * LyXAction.C:
499         * ToolbarDefaults.C:
500         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
501         Add LFUN_FONTFREE_UPDATE.
502
503         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
504         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
505
506         * bufferview_func.[Ch]: several new functions to facilliate
507         transfer of data to and from the character dialog.
508
509 2003-03-12  John Levon  <levon@movementarian.org>
510
511         * buffer.C:
512         * paragraph.h:
513         * paragraph.C:
514         * paragraph_funcs.C:
515         * paragraph_pimpl.C:
516         * sgml.C:
517         * tabular.C:
518         * text.C:
519         * text3.C: remove META_NEWLINE in favour of an inset
520
521         * rowpainter.h:
522         * rowpainter.C: remove paintNewline (done by inset)
523
524 2003-03-12  John Levon  <levon@movementarian.org>
525
526         * paragraph_pimpl.C: complain about bad getChar()s
527         for a while at least
528
529 2003-03-12  John Levon  <levon@movementarian.org>
530
531         * buffer.h:
532         * buffer.C: move paragraph read into a separate function,
533         a little renaming to reflect that.
534
535         * bufferparams.h:
536         * bufferparams.C: remove the author_ids map, not necessary now
537
538         * factory.h:
539         * factory.C: moved Buffer::readInset to here
540
541         * paragraph_funcs.h:
542         * paragraph_funcs.C: readParagraph free function moved from
543         buffer.C
544
545         * tabular.C: name change
546
547 2003-03-12  John Levon  <levon@movementarian.org>
548
549         * buffer.C:
550         * ParagraphParameters.C: move par params input to
551         a read() method
552
553         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
554         behave like a normal read from the stream wrt reading
555         a line vs. a \\token
556
557 2003-03-12  John Levon  <levon@movementarian.org>
558
559         * paragraph.C:
560         * ParagraphParameters.h:
561         * ParagraphParameters.C: move output code to a
562         ::write() method
563
564 2003-03-12  John Levon  <levon@movementarian.org>
565
566         * BufferView.C (insertLyXFile):
567         * buffer.h:
568         * buffer.C:
569         * tabular.C: use a parlist iterator for creating the
570           document.
571
572 2003-03-12  John Levon  <levon@movementarian.org>
573
574         * buffer.C: make current_change static local not
575           static file-scope
576
577 2003-03-12  John Levon  <levon@movementarian.org>
578
579         * buffer.C: fix insertStringAsLines for change tracking
580
581 2003-03-12  John Levon  <levon@movementarian.org>
582
583         * BufferView.C:
584         * tabular.C:
585         * buffer.h:
586         * buffer.C:
587         * bufferparams.h:
588         * bufferparams.C: move author list into params. Rename some
589           functions. Move the header reading into a separate token
590           loop. Move the header token reading into BufferParams.
591
592 2003-03-12  John Levon  <levon@movementarian.org>
593
594         * changes.C: put debug inside lyxerr.debugging() checks
595
596 2003-03-11 André Pönitz <poenitz@gmx.net>
597
598         * factory.C: make it aware of InsetHFill
599
600 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
601
602         * buffer.C (latexParagraphs): move function from here...
603         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
604         args.
605
606 2003-03-10  Angus Leeming  <leeming@lyx.org>
607
608         * LyXAction.C (init): fix bug in poplating array with multiple entries
609         with the same LFUN (spotted by JMarc).
610
611 2003-03-10  John Levon  <levon@movementarian.org>
612
613         * text.C:
614         * text2.C: move getColumnNearX() near its
615         only call site
616
617 2003-03-10  John Levon  <levon@movementarian.org>
618
619         * text.C: fix break before a minipage
620
621 2003-03-10  John Levon  <levon@movementarian.org>
622
623         * text.C: fix the last commit
624
625 2003-03-09  John Levon  <levon@movementarian.org>
626
627         * lyxtext.h:
628         * text.C:
629         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
630         bug 365 (don't break before insets unless needed). Don't
631         return a value > last under any circumstances.
632
633 2003-03-09  Angus Leeming  <leeming@lyx.org>
634
635         * BufferView_pimpl.C (trackChanges, dispatch): call
636         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
637
638 2003-03-09  Angus Leeming  <leeming@lyx.org>
639
640         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
641         than Dialogs::showAboutlyx().
642
643 2003-03-09  Angus Leeming  <leeming@lyx.org>
644
645         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
646         than Dialogs::showTabularCreate().
647
648 2003-03-09  John Levon  <levon@movementarian.org>
649
650         * lyxtext.h:
651         * text.C:
652         * text2.C: 3rd arg to nextBreakPoint was always the same.
653           Use references.
654
655 2003-03-08  John Levon  <levon@movementarian.org>
656
657         * lyxrow.C:
658         * paragraph.C:
659         * paragraph.h:
660         * rowpainter.C:
661         * text.C:
662         * text2.C: Remove the "main" bit from the "main body"
663           notion.
664
665 2003-03-08  John Levon  <levon@movementarian.org>
666
667         * text.C (leftMargin): The left margin of an empty
668         manual label paragraph should not include the label width
669         string length.
670
671         * text.C (prepareToPrint): don't attempt to measure hfills
672         for empty manual label paragraphs - the answer should be 0
673
674 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
675
676         * CutAndPaste.C: remove commented code and reindent.
677
678 2003-03-08  John Levon  <levon@movementarian.org>
679
680         * lyxfunc.h:
681         * lyxfunc.C: move reloadBuffer()
682
683         * BufferView.h:
684         * BufferView.C: to here
685
686         * lyxvc.C: add comment
687
688         * vc-backend.h:
689         * vc-backend.C: call bv->reload() to avoid
690           getStatus() check on MENURELOAD
691
692 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
693
694         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
695         to an old format .dep file.
696
697 2003-03-07  Angus Leeming  <leeming@lyx.org>
698
699         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
700         when the LFUN_MOUSE_RELEASE should have been handled by
701         inset->localDispatch.
702
703 2003-03-07  Angus Leeming  <leeming@lyx.org>
704
705         * BufferView_pimpl.C (dispatch):
706         * LyXAction.C (init):
707         * ToolbarDefaults.C (init):
708         * commandtags.h:
709         * lyxfunc.C (getStatus):
710         remove LFUN_INSET_GRAPHICS.
711
712         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
713
714 2003-03-07  Angus Leeming  <leeming@lyx.org>
715
716         * commandtags.h:
717         * LyXAction.C (init):
718         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
719
720         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
721
722         * commandtags.h:
723         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
724
725         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
726         localDispatch method LFUN_INSET_DIALOG_UPDATE.
727
728 2003-03-07  Angus Leeming  <leeming@lyx.org>
729
730         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
731         remove "ert".
732
733 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
734
735         * ParagraphList.C (front): new function
736         (back): implement
737
738 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
739
740         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
741         and top_row_offset_. removed var first_y.
742         * text.C (top_y):
743         * text2.C (LyXText, removeRow):
744         * text3.C:
745         * BufferView_pimpl.C:
746         use these methods instead of using first_y
747
748 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
749
750         * text2.C (pasteSelection): adjust for checkPastePossible
751
752         * CutAndPaste.C: remove Paragraph * buf and replace with
753         ParagraphList paragraphs.
754         (DeleteBuffer): delete
755         (cutSelection): change the tc type to textclass_type
756         (copySelection): change the tc type to textclass_type
757         (copySelection): adjust for ParagraphList
758         (pasteSelection): change the tc type to textclass_type
759         (pasteSelection): adjust for Paragraphlist
760         (nrOfParagraphs): simplify for ParagraphList
761         (checkPastePossible): simplify for ParagraphList
762         (checkPastePossible): remove unused arg
763
764         * ParagraphList.C (insert): handle the case where there are no
765         paragraphs yet.
766
767         * CutAndPaste.h: make CutAndPaste a namespace.
768
769         * text3.C (dispatch): adjust
770
771         * text.C (breakParagraph): add a ParagraphList as arg
772
773         * paragraph_funcs.C (breakParagraph): change to take a
774         BufferParams and a ParagraphList as args.
775         (breakParagraphConservative): ditto
776         (mergeParagraph): ditto
777         (TeXDeeper): add a ParagraphList arg
778         (TeXEnvironment): ditto
779         (TeXOnePar): ditto
780
781         * buffer.C (readLyXformat2): adjust
782         (insertStringAsLines): adjust
783         (latexParagraphs): adjust
784
785         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
786         (cutSelection): adjust
787         (pasteSelection): adjust
788
789         * BufferView_pimpl.C (insertInset): adjust
790
791 2003-03-05  Angus Leeming  <leeming@lyx.org>
792
793         * commandtags.h:
794         * LyXAction.C (init):
795         * BufferView_pimpl.C (dispatch):
796         * lyxfunc.C (getStatus):
797         remove LFUN_CHILD_INSERT.
798
799         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
800
801 2003-03-05  Angus Leeming  <leeming@lyx.org>
802
803         * commandtags.h:
804         * LyXAction.C (init):
805         * src/factory.C (createInset):
806         * lyxfunc.C (getStatus):
807         * text3.C (dispatch):
808         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
809
810         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
811
812 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
813
814         * ParagraphList.C (insert): handle insert right before end()
815         (erase): fix cases where it can be first or last paragraph.
816
817 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
818
819         * paragraph_funcs.C (TeXEnvironment): remove all usage of
820         Paragraph::next and Paragraph::previous
821         (TeXOnePar): ditto
822
823         * text.C (breakParagraph): adjust
824
825         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
826         BufferParams& as arg.
827         (breakParagraph): use ParagraphList::insert
828         (breakParagraphConservative): take a Buffer* instead of a
829         BufferParams& as arg.
830         (breakParagraphConservative): use ParagraphList::insert.
831
832         * buffer.C (insertStringAsLines): un-const it
833         (insertStringAsLines): adjust
834
835         * ParagraphList.C (insert): new function
836
837         * CutAndPaste.C (pasteSelection): adjust
838
839         * text.C (backspace): adjust
840
841         * tabular.C (SetMultiColumn): adjust
842
843         * CutAndPaste.C (cutSelection): adjust
844         (pasteSelection): adjust
845
846         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
847         Buffer const * as arg
848
849         * ParagraphList.C (erase): new function
850         * paragraph_funcs.C (mergeParagraph): use it
851         (mergeParagraph): make it take a Buffer* instead of a
852         BufferParams* as arg
853
854         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
855         as arg
856         (breakParagraphConservative): ditto
857
858         * paragraph.h: remove the breakParagraph friend
859
860         * paragraph.C (eraseIntern): new function
861         (setChange): new function
862
863         * paragraph_funcs.C (mergeParagraph): make it take a
864         ParagraphList::iterator instead of a Paragraph *, adjust
865         accordingly.
866
867         * paragraph.h: move an #endif so that the change tracking stuff
868         also works in the NO_NEXT case.
869
870 2003-03-04  Angus Leeming  <leeming@lyx.org>
871
872         * commandtags.h:
873         * LyXAction.C: new LFUN_INSET_MODIFY.
874
875         * BufferView_pimpl.C (dispatch): if an inset is found to be open
876         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
877
878 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
879
880         * several files: ws changes only
881
882         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
883         (TeXEnvironment): ditto
884         (TeXDeeper): ditto
885
886         * buffer.C (makeLaTeXFile): adjust
887         (latexParagraphs): make it take ParagraphList::iterator as args
888
889 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
890
891         * buffer.C (latexParagraphs): adjust
892
893         * paragraph.C (TeXOnePar): move function...
894         (optArgInset): move function...
895         (TeXEnvironment): move function...
896         * paragraph_pimpl.C (TeXDeeper): move function...
897         * paragraph_funcs.C: ...here
898
899         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
900
901 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
902
903         * buffer.C (readInset): remove compability code for old Figure and
904         InsetInfo insets
905
906 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
907
908         * buffer.C: ws changes
909         (readInset):
910
911         * BufferView_pimpl.C: ditto
912         * author.C: ditto
913         * buffer.h: ditto
914         * bufferlist.h: ditto
915         * changes.h: ditto
916         * lyxfunc.C: ditto
917
918 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
919
920         * converter.[Ch]: split into itself +
921         * graph.[Ch]
922         * format.[Ch]
923         * Makefile.am: += graph.[Ch] + format.[Ch]
924         * MenuBackend.C
925         * buffer.C
926         * exporter.C
927         * importer.C
928         * lyx_main.C
929         * lyxfunc.C
930         * lyxrc.C: added #include "format.h"
931
932 2003-02-27  Angus Leeming  <leeming@lyx.org>
933
934         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
935           a label.
936
937         * factory.C (createInset): add "label" to the factory.
938
939         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
940           string and do no more.
941
942 2003-02-27  Angus Leeming  <leeming@lyx.org>
943
944         * commandtags.h:
945         * LyXAction.C (init):
946         * factory.C (createInset):
947         * BufferView_pimpl.C (dispatch):
948           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
949
950         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
951
952         * lyxfunc.C (dispatch):
953         * text3.C (dispatch): pass name to params2string.
954
955 2003-02-26  Angus Leeming  <leeming@lyx.org>
956
957         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
958           blocks together.
959           Rearrange the ~includes. Strip out the unnecessary ones.
960
961         * factory.C (createInset): reformat.
962           create new insets for the various LFUN_XYZ_APPLY lfuns.
963
964 2003-02-26  John Levon  <levon@movementarian.org>
965
966         * lyxrow.h:
967         * lyxrow.C: add isParStart,isParEnd helpers
968
969         * paragraph.h: make isInserted/DeletedText take refs
970
971         * paragraph_funcs.h:
972         * paragraph_funcs.C: remove #if 0'd code
973
974         * lyxtext.h:
975         * text3.C:
976         * text2.C:
977         * text.C: use lyxrow helpers above.
978           Move draw and paint routines to RowPainter.
979           Make several methods use refs not pointers.
980           Make backgroundColor() const.
981           Add markChangeInDraw(), isInInset().
982           Merge changeRegionCase into changeCase.
983           Make workWidth() shouldn't-happen code into an Assert.
984
985         * rowpainter.h:
986         * rowpainter.C: new class for painting a row.
987
988         * vspace.h:
989         * vspace.C: make inPixels take a ref
990
991 2003-02-26  Angus Leeming  <leeming@lyx.org>
992
993         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
994         LFUN_REF_APPLY.
995
996 2003-02-25  John Levon  <levon@movementarian.org>
997
998         * ispell.C: give the forked command a more accurate name
999
1000 2003-02-22  John Levon  <levon@movementarian.org>
1001
1002         * toc.h:
1003         * toc.C: make TocItem store an id not a Paragraph *
1004           (bug #913)
1005
1006 2003-02-21  Angus Leeming  <leeming@lyx.org>
1007
1008         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1009           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1010           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1011           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1012           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1013           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1014
1015         * BufferView_pimpl.C (dispatch):
1016         * LyXAction.C (init):
1017         * factory.C (createInset):
1018         * lyxfunc.C (getStatus, dispatch):
1019         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1020
1021 2003-02-21  Angus Leeming  <leeming@lyx.org>
1022
1023         * BufferView_pimpl.C (MenuInsertLyXFile):
1024         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1025         * lyxfunc.C (menuNew, open, doImport):
1026           no longer pass a LyXView & to fileDlg.
1027
1028 2003-02-21  Angus Leeming  <leeming@lyx.org>
1029
1030         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1031         * LyXAction.C: change, BIBKEY to BIBITEM.
1032         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1033         Change InsetBibKey to InsetBibitem.
1034         Change BIBKEY_CODE to BIBITEM_CODE.
1035         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1036         * factory.C: replace insetbib.h with insetbibitem.h.
1037         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1038         * paragraph.C: replace insetbib.h with insetbibitem.h.
1039         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1040         Change bibkey() to bibitem().
1041         * text.C: remove insetbib.h.
1042         * text2.C: replace insetbib.h with insetbibitem.h.
1043         change bibkey() to bibitem().
1044         * text3.C: remove insetbib.h.
1045         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1046
1047 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1048
1049         * lyxrc.C (output): enclose user email in quotes (in case there are
1050         several words)
1051
1052 2003-02-18  John Levon  <levon@movementarian.org>
1053
1054         * buffer.h: add std::
1055
1056 2003-02-17  John Levon  <levon@movementarian.org>
1057
1058         * SpellBase.h:
1059         * ispell.h:
1060         * ispell.C:
1061         * pspell.h:
1062         * pspell.C: reworking. Especially in ispell, a large
1063           number of clean ups and bug fixes.
1064
1065         * lyxfunc.C: fix revert to behave sensibly
1066
1067 2003-02-17 André Pönitz <poenitz@gmx.net>
1068
1069         * LyXAction.C:
1070         * commandtags.h: new LFUN_INSERT_BIBKEY
1071
1072         * layout.h:
1073         * lyxlayout.C:
1074         * buffer.C:
1075         * factory.C:
1076         * text.C:
1077         * text2.C:
1078         * text3.C:
1079         * paragraph.[Ch]:
1080         * paragraph_func.C: remove special bibkey handling
1081
1082 2003-02-17  John Levon  <levon@movementarian.org>
1083
1084         * text.C (Delete): fix case where delete at the end of
1085           the very first paragraph would not merge the pars
1086
1087 2003-02-17  John Levon  <levon@movementarian.org>
1088
1089         * lyxrow.C: fix lastPrintablePos()
1090
1091 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1092
1093         * bufferparams.C (writeLaTeX): add a std:here
1094
1095         * buffer.C: and remove a using directive there
1096
1097 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1098
1099         * buffer.C (makeLaTeXFile): move the code that generates the
1100           preamble...
1101
1102         * bufferparams.C (writeLaTeX): ... in this new method
1103
1104         * LaTeXFeatures.C (getEncodingSet): make const
1105           (getLanguages): make const
1106
1107         * MenuBackend.C (binding): returns the binding associated to this
1108           action
1109           (add): sets the status of each item by calling getStatus. Adds
1110           some intelligence.
1111           (read): add support for OptSubMenu
1112           (expand): remove extra separator at the end of expanded menu
1113
1114 2003-02-15  John Levon  <levon@movementarian.org>
1115
1116         * BufferView.C:
1117         * BufferView_pimpl.C:
1118         * bufferlist.h:
1119         * bufferlist.C: remove pointless BufferStorage bloat. Remove
1120           inset code that had no actual effect. Remove unneeded status
1121           code.
1122
1123 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1124
1125         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1126           in preamble
1127
1128 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
1129
1130         * text.C (drawLengthMarker): also draw an arrow marker for
1131           symbolic lengths (medskip...)
1132
1133 2003-02-14  John Levon  <levon@movementarian.org>
1134
1135         * tabular.h:
1136         * tabular.C: better method names
1137
1138 2003-02-14  John Levon  <levon@movementarian.org>
1139
1140         * BufferView_pimpl.C:
1141         * bufferlist.C:
1142         * buffer.C:
1143         * converter.C:
1144         * lyx_cb.C:
1145         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1146           it's a more accurate name. Remove some pointless uses.
1147
1148 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1149
1150         * text2.C (LyXText): change order of initilizers to shut off
1151           warnings
1152
1153 2003-02-14  John Levon  <levon@movementarian.org>
1154
1155         * buffer.C: use ParIterator for getParFromID()
1156
1157         * paragraph.h:
1158         * paragraph.C:
1159         * paragraph_pimpl.h:
1160         * paragraph_pimpl.C: remove unused getParFromID()
1161
1162 2003-02-14  John Levon  <levon@movementarian.org>
1163
1164         * buffer.C: remove some very old #if 0'd parse code
1165
1166 2003-02-13  John Levon  <levon@movementarian.org>
1167
1168         * text.h:
1169         * text.C:
1170         * text2.C: move hfillExpansion(), numberOfSeparators(),
1171           rowLast(), rowLastPrintable(), numberofHfills(),
1172           numberOfLabelHfills() ...
1173
1174         * lyxrow.h:
1175         * lyxrow.C: ... to member functions here.
1176
1177         * paragraph.h:
1178         * paragraph.C:
1179         * lyxtext.h:
1180         * text.C: remove LyXText::beginningOfMainBody(), and call
1181           p->beginningOfMainBody() directly. Move the check for
1182           LABEL_MANUAL into the latter.
1183
1184         * text.h:
1185         * text.C:
1186         * text2.C:
1187         * vspace.C:
1188         * BufferView.h:
1189         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1190
1191         * text.h:
1192         * text.C:
1193         * text2.C:
1194         * text3.C:
1195         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1196           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1197
1198 2003-02-13  John Levon  <levon@movementarian.org>
1199
1200         * CutAndPaste.C: remove debug
1201
1202 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1203
1204         * paragraph.C (asString): remove two unused variables
1205
1206         * lyxtextclass.C (readTitleType):
1207           (Read):
1208           (LyXTextClass): handle new members titletype_ and titlename_
1209
1210         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1211
1212 2003-02-09  John Levon  <levon@movementarian.org>
1213
1214         * buffer.h:
1215         * buffer.C: replace hand-coded list with a map for the dep clean
1216
1217 2003-02-08  John Levon  <levon@movementarian.org>
1218
1219         * LaTeX.C: consolidate code into showRunMessage() helper
1220
1221 2003-02-08  John Levon  <levon@movementarian.org>
1222
1223         * lyxfind.C:
1224         * lyxtext.h:
1225         * text2.C:
1226         * BufferView.C: change setSelectionOverString() to setSelectionRange()
1227           and pass the size in explicitly
1228
1229         * BufferView_pimpl.h:
1230         * BufferView_pimpl.C:
1231         * BufferView.h:
1232         * BufferView.C: add getCurrentChange()
1233
1234         * BufferView_pimpl.h:
1235         * BufferView_pimpl.C: handle change lfuns
1236
1237         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1238           for changes. Mark pasted paragraphs as new.
1239
1240         * support/lyxtime.h:
1241         * support/lyxtime.C:
1242         * DepTable.C: abstract time_t as lyx::time_type
1243
1244         * LColor.h:
1245         * LColor.C: add colours for new text, deleted text, changebars
1246
1247         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1248           package use "usenames" option.
1249
1250         * commandtags.h:
1251         * lyxfunc.C:
1252         * LyXAction.C: add change lfuns
1253
1254         * Makefile.am:
1255         * author.h:
1256         * author.C: author handling
1257
1258         * buffer.h:
1259         * buffer.C: add a per-buffer author list, with first entry as
1260           current author. Handle new .lyx tokens for change tracking. Output
1261           author list to .lyx file. Output dvipost stuff to .tex preamble.
1262           Bump lyx format to 222.
1263
1264         * bufferlist.h:
1265         * bufferlist.C: add setCurrentAuthor() to reset current author details
1266           in all buffers.
1267
1268         * bufferparams.h:
1269         * bufferparams.C: add param for tracking
1270
1271         * bufferview_funcs.C: output change info in minibuffer
1272
1273         * Makefile.am:
1274         * changes.h:
1275         * changes.C: add change-tracking structure
1276
1277         * debug.h:
1278         * debug.C: add CHANGES debug flag
1279
1280         * lyxfind.h:
1281         * lyxfind.C: add code for finding the next change piece
1282
1283         * lyxrc.h:
1284         * lyxrc.C: add user_name and user_email
1285
1286         * lyxrow.h:
1287         * lyxrow.C: add a metric for the top of the text line
1288
1289         * lyxtext.h:
1290         * text.C: implement accept/rejectChange()
1291
1292         * lyxtext.h:
1293         * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1294           Strike through deleted text.
1295
1296         * paragraph.h:
1297         * paragraph.C:
1298         * paragraph_pimpl.h:
1299         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1300           to the insert functions. Rework erase to mark text as deleted, adding
1301           an eraseIntern() and a range-based erase(). Implement
1302           per-paragraph change lookup and accept/reject.
1303
1304         * paragraph_funcs.C: Fixup paste for change tracking.
1305
1306         * tabular.C: mark added row/columns as new.
1307
1308         * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1309           text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1310
1311         * text2.C: leave cursor at end of selection after a cut.
1312
1313 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1314
1315         * text.C (getLengthMarkerHeight):
1316         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1317         visible on screen too.
1318
1319 2003-02-07  John Levon  <levon@movementarian.org>
1320
1321         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1322
1323 2003-02-05  Angus Leeming  <leeming@lyx.org>
1324
1325         * lyxserver.C (read_ready): revert my patch of 11 September last year
1326         as it sends PC cpu through the roof. Presumably this means that
1327         the lyxserver will no longer run on an Alpha...
1328
1329 2003-01-30  Angus Leeming  <leeming@lyx.org>
1330
1331         * factory.C (createInset): create an InsetCommandParam of type "index"
1332         and use it to 'do the right thing'.
1333
1334         * text2.C (getStringToIndex): ensure that cursor position is always
1335         reset to the reset_cursor position.
1336
1337 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1338
1339         * lyxfunc.C (getStatus): "buffer-export custom" should never be
1340         disabled.
1341
1342 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
1343
1344         * bufferview.C:
1345         * lyxcb.C:
1346         * lyxfunc.C: Output messages with identical spelling, punctuation,
1347         and spaces
1348
1349 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
1350
1351         * MenuBackend.C (expandFormats): List only viewable export formats
1352         in "View" menu
1353
1354         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1355         message
1356
1357         * lyxfunc.C (getStatus): Make sure that formats other than
1358         "fax" can also be disabled
1359
1360 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1361
1362         * text3.C (dispatch): put the lfuns that insert insets in 3
1363         groups, and call doInsertInset with appropriate arguments.
1364         (doInsertInset): new function, that creates an inset and inserts
1365         it according to some boolean parameters.
1366
1367 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1368
1369         * buffer.C (readFile): remember to pass on 'par' when calling
1370         readFile recursively.
1371
1372 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1373
1374         * MenuBackend.C (expandFormats): add "..." to import formats.
1375
1376 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
1377
1378         * paragraph.C (asString): Remove XForms RTL hacks.
1379
1380 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
1381         * buffer.C: fix typo
1382
1383 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
1384
1385         * Makefile.am (LIBS): delete var
1386         (lyx_LDADD): add @LIBS@ here instead.
1387
1388 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
1389
1390         * Clarify the meaning of "wheel mouse jump"
1391
1392 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1393
1394         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1395         tabular in a float
1396
1397 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1398
1399         * importer.C (Loaders): do not preallocate 3 elements in the
1400         vector, since one ends up with 6 elements otherwise
1401
1402 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1403
1404         * DepTable.C (write): write the file name as last element of the
1405         .dep file (because it may contain spaces)
1406         (read): read info in the right order
1407
1408 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1409
1410         * paragraph_pimpl.C (simpleTeXBlanks):
1411         (simpleTeXSpecialChars):
1412         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1413
1414         * tabular.C (latex): add some missing case statements. Reindent.
1415
1416         * MenuBackend.C (expandToc): remove unused variable.
1417
1418 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
1419
1420         * LColor.C:
1421         * LaTeX.C:
1422         * LyXAction.C:
1423         * MenuBackend.C:
1424         * buffer.C:
1425         * exporter.C:
1426         * lyxfunc.C:
1427         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1428         and the like.
1429
1430 2003-01-05  John Levon  <levon@movementarian.org>
1431
1432         * BufferView.h:
1433         * BufferView.C: add getEncoding()
1434
1435         * kbsequence.h:
1436         * kbsequence.C: do not store last keypress
1437
1438         * lyxfunc.h:
1439         * lyxfunc.C: store last keypress here instead. Pass encoding
1440           to getISOEncoded()
1441
1442 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1443
1444         * lyx_main.C (init): remove annoying error message when following
1445         symbolic links (bug #780)
1446
1447 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1448
1449         * text.C (insertChar):
1450         * lyxrc.C (getDescription): remove extra spaces
1451
1452 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1453
1454         * lyxrc.C (getDescription): remove extra spaces
1455
1456 2002-12-20  John Levon  <levon@movementarian.org>
1457
1458         * text3.C: hack fix for page up/down across tall rows
1459
1460 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1461
1462         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1463         not been invoked
1464
1465 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1466
1467         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1468         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1469         thesaurus is not compiled in
1470
1471 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
1472
1473         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
1474
1475 2002-12-16  Angus Leeming  <leeming@lyx.org>
1476
1477         * lyxrc.[Ch]:
1478         * lyx_main.C (init): remove override_x_deadkeys stuff.
1479
1480 2002-12-12  John Levon  <levon@movementarian.org>
1481
1482         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1483           insert. Only remove shift modifier under strict
1484           circumstances.
1485
1486 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1487
1488         * MenuBackend.C (expandToc): fix crash.
1489
1490 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1491
1492         * MenuBackend.C (expandToc): gettext on float names.
1493
1494 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1495
1496         * lyxlength.[Ch]: set default unit to UNIT_NONE,
1497         implement bool empty() [bug 490]
1498
1499 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1500
1501         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1502
1503 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1504
1505         * several files: ws changes
1506
1507 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1508
1509         * text2.C (setCounter): clean up a bit, use boost.format.
1510         (updateCounters): initialize par upon declaration.
1511
1512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1513         if the layout exists. We do not just store the layout any more.
1514         (SwitchLayoutsBetweenClasses): use boost.format
1515
1516 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1517
1518         * converter.C (convert): if from and to files are the same, use a
1519         temporary files as intermediary
1520
1521 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1522
1523         * commandtags.h:
1524         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1525
1526 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
1527
1528         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1529
1530 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1531
1532         * tabular.C (asciiPrintCell): use string(size, char) instead of
1533         explicit loop.
1534
1535         * sgml.C (openTag): fix order of arguments to string constructor
1536         (closeTag): ditto
1537
1538         * lyxfunc.C (dispatch): use boost.format
1539
1540         * lots of files: change "c" -> 'c'
1541
1542 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
1543
1544         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1545
1546 2002-11-25  Angus Leeming  <leeming@lyx.org>
1547
1548         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1549
1550         * lyx_main.C (init): compile fix.
1551
1552 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1553
1554         * lyx_cb.C (start): boost.formatify
1555         do not include <iostream>
1556
1557         * lengthcommon.C: ws only
1558
1559         * boost-inst.C,BoostFormat.h: add more explict instantations
1560
1561 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1562
1563         * lots of files: handle USE_BOOST_FORMAT
1564
1565 2002-11-21  John Levon  <levon@movementarian.org>
1566
1567         * pspell.C: fix compile
1568
1569 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1570
1571         * lyxfunc.C (dispatch): use boost::format
1572         (open): ditto
1573         (doImport): ditto
1574
1575         * lyxfont.C (stateText): use boost::format
1576
1577         * lyx_main.C (LyX): use boost::format
1578         (init): ditto
1579         (queryUserLyXDir): ditto
1580         (readRcFile): ditto
1581         (parse_dbg): ditto
1582         (typedef boost::function): use the recommened syntax.
1583
1584         * importer.C (Import): use boost::format
1585
1586         * debug.C (showLevel): use boost::format
1587
1588         * converter.C (view): use boost::format
1589         (convert): ditto
1590         (move): ditto
1591         (scanLog): ditto
1592
1593         * bufferview_funcs.C (currentState): use boost::format
1594
1595         * bufferlist.C (emergencyWrite): use boost::format
1596
1597         * buffer.C (readLyXformat2): use boost::format
1598         (parseSingleLyXformat2Token): ditto
1599
1600         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1601
1602         * LaTeX.C (run): use boost::format
1603
1604         * Chktex.C (scanLogFile): use boost::format
1605
1606         * BufferView_pimpl.C (savePosition): use boost::format
1607         (restorePosition): ditto
1608         (MenuInsertLyXFile): ditto
1609
1610         * BoostFormat.h: help file for explicit instation.
1611
1612 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
1613
1614         * tabular.C (latex): Support for block alignment in fixed width
1615         columns.
1616
1617 2002-11-17  John Levon  <levon@movementarian.org>
1618
1619         * BufferView_pimpl.C:
1620         * lyx_cb.C:
1621         * lyxfunc.C: split filedialog into open/save
1622
1623 2002-11-08  Juergen Vigna  <jug@sad.it>
1624
1625         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1626         by my last patch (hopefully).
1627
1628 2002-11-08  John Levon  <levon@movementarian.org>
1629
1630         * iterators.h:
1631         * iterators.C:
1632         * buffer.h:
1633         * buffer.C:
1634         * paragraph.h:
1635         * paragraph.C:
1636         * toc.h:
1637         * toc.C: ParConstIterator, and use it (from Lars)
1638
1639 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
1640
1641         * lyxtextclass.[Ch]: revise and add doxygen comments
1642
1643 2002-11-07  John Levon  <levon@movementarian.org>
1644
1645         * text.C: fix progress value for spellchecker
1646
1647         * toc.C: fix navigate menu for insetwrap inside minipage
1648
1649         * paragraph_funcs.C: added FIXME for suspect code
1650
1651 2002-11-07  John Levon  <levon@movementarian.org>
1652
1653         * BufferView_pimpl.C: fix redrawing of insets
1654           on buffer switch
1655
1656 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1657
1658         * text2.C (updateCounters): fix bug 668
1659
1660 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
1661
1662         * text3.C (dispatch): Do not make the buffer dirty when moving the
1663         cursor.
1664
1665 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1666
1667         * vc-backend.C: STRCONV
1668         (scanMaster): ditto
1669
1670         * text2.C (setCounter): STRCONV
1671
1672         * paragraph.C (asString): STRCONV
1673
1674         * lyxlength.C (asString): STRCONV
1675         (asLatexString): ditto
1676
1677         * lyxgluelength.C (asString): STRCONV
1678         (asLatexString): ditto
1679
1680         * lyxfunc.C (dispatch): STRCONV
1681         (open): ditto
1682
1683         * lyxfont.C (stateText): STRCONV
1684
1685         * importer.C (Import): STRCONV
1686
1687         * counters.C (labelItem): STRCONV
1688         (numberLabel): ditto
1689         (numberLabel): remove unused ostringstream o
1690
1691         * chset.C: STRCONV
1692         (loadFile): ditto
1693
1694         * bufferview_funcs.C (currentState): STRCONV
1695
1696         * buffer.C (readFile): STRCONV
1697         (asciiParagraph): ditto
1698         (makeLaTeXFile): ditto
1699
1700         * Spacing.C (writeEnvirBegin): STRCONV
1701
1702         * LaTeXFeatures.C (getLanguages): STRCONV
1703         (getPackages): ditto
1704         (getMacros): ditto
1705         (getBabelOptions): ditto
1706         (getTClassPreamble): ditto
1707         (getLyXSGMLEntities): ditto
1708         (getIncludedFiles): ditto
1709
1710         * LaTeX.C: STRCONV
1711         (run): ditto
1712         (scanAuxFile): ditto
1713         (deplog): ditto
1714
1715         * LString.h: add the STRCONV macros
1716
1717         * BufferView_pimpl.C (savePosition): STRCONV
1718         (restorePosition): ditto
1719         (MenuInsertLyXFile): ditto
1720
1721         * vc-backend.C (scanMaster): change from submatch[...] to
1722         submatch.str(...)
1723
1724         * funcrequest.C: include config.h
1725
1726         * factory.C: include config.h
1727
1728         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1729
1730         * box.C: include config.h
1731
1732         * LaTeX.C (scanAuxFile): change from submatch[...] to
1733         submatch.str(...)
1734         (deplog): ditto
1735
1736 2002-10-25  Angus Leeming  <leeming@lyx.org>
1737
1738         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1739
1740         * ispell.[Ch] (setError): new method.
1741         * ispell.C (c-tor): move out child process into new class LaunchIspell.
1742         Use setError() insetead of goto END.
1743
1744         * lyx_cb.C (AutoSave): move out child process into new class
1745         AutoSaveBuffer.
1746
1747 2002-10-30  John Levon  <levon@movementarian.org>
1748
1749         * text3.C: make start appendix undoable
1750
1751 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
1752
1753         * lyxlength.C (inPixels): Fix returned value.
1754
1755         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1756         environment.
1757
1758 2002-10-24  Angus Leeming  <leeming@lyx.org>
1759
1760         * lyxgluelength.h: no need to forward declare BufferParams
1761         or BufferView, so don't.
1762
1763 2002-10-21  John Levon  <levon@movementarian.org>
1764
1765         * BufferView.C: menuUndo ->undo, redo
1766
1767         * BufferView.h: document, remove dead, make some methods private
1768
1769         * paragraph_funcs.h:
1770         * paragraph_funcs.C:
1771         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1772
1773         * buffer.h:
1774         * buffer.C:
1775         * sgml.h:
1776         * sgml.C: move sgml open/close tag into sgml.C
1777
1778         * bufferview_funcs.h: unused prototype
1779
1780         * lyxfunc.h:
1781         * lyxfunc.C: remove unused
1782
1783         * lyxtext.h:
1784         * text.C: remove unused
1785
1786 2002-10-21  John Levon  <levon@movementarian.org>
1787
1788         * BufferView.h:
1789         * BufferView.C:
1790         * BufferView_pimpl.h:
1791         * BufferView_pimpl.C: fix mouse wheel handling based on
1792           patch from Darren Freeman
1793
1794 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
1795
1796         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1797
1798 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
1799
1800         * lyxlength.C (inPixels): Fix hanfling of negative length.
1801         Fix LyXLength::MU case.
1802
1803 2002-10-16  John Levon  <levon@movementarian.org>
1804
1805         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1806
1807 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1808
1809         * converter.C (view): add support for $$i (file name) and $$p
1810         (file path) for the viewer command. If $$i is not specified, then
1811         it is appended to the command (for compatibility with old syntax)
1812
1813 2002-10-14  Juergen Vigna  <jug@sad.it>
1814
1815         * undo_funcs.C (textHandleUndo): alter the order in which the
1816         new undopar is added to the LyXText, as we have to set first
1817         the right prev/next and then add it as otherwise the rebuild of
1818         LyXText is not correct. Also reset the cursor to the right paragraph,
1819         with this IMO we could remove the hack in "redoParagraphs()".
1820
1821 2002-10-09  Angus Leeming  <leeming@lyx.org>
1822
1823         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1824         to turn off an optimisation if a new inset is to be inserted.
1825
1826 2002-10-11 André Pönitz <poenitz@gmx.net>
1827
1828         * lyxtext.h: make some functions public to allow access
1829         from inset/lyxtext for handling LFUN_PRIOR/NEXT
1830
1831 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1832
1833         * text3.C (dispatch): when changing layout, avoid an infinite loop
1834         [bug #652]
1835
1836 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1837
1838         * lyxrc.C (read): treat a viewer or converter command of "none" as
1839         if it were empty.
1840
1841         * MenuBackend.C (expandFormats): for an update, also allow the
1842         formats that are not viewable
1843
1844         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1845         script if it is newer than the lyxrc.defaults in user directory
1846
1847 2002-10-07 André Pönitz <poenitz@gmx.net>
1848
1849         * text.C: Vitaly Lipatov's small i18n fix
1850
1851 2002-09-25  Angus Leeming  <leeming@lyx.org>
1852
1853         * ispell.h: doxygen fix.
1854
1855 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
1856
1857         * buffer.h (readFile): Add a new argument to the method, to allow
1858         reading of old-format templates.
1859
1860 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
1861
1862         * toc.C (getTocList): Get TOC from InsetWrap.
1863
1864 2002-09-16  John Levon  <levon@movementarian.org>
1865
1866         * lyxfunc.C: check tabular for cut/copy too
1867
1868 2002-09-12  John Levon  <levon@movementarian.org>
1869
1870         * LyXAction.C: tidy
1871
1872         * factory.h:
1873         * factory.C: add header
1874
1875         * paragraph_funcs.h:
1876         * paragraph_funcs.C: cleanup
1877
1878 2002-09-11  John Levon  <levon@movementarian.org>
1879
1880         * PrinterParams.h: odd/even default to true
1881
1882 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
1883
1884         * PrinterParams.h: update printer parameters for new xforms dialog
1885
1886 2002-09-11  Angus Leeming  <leeming@lyx.org>
1887
1888         * lyxserver.C (read_ready): re-write to make it more transparent
1889         and to make it work in coherent fashion under Tru64 Unix.
1890
1891 2002-09-11  André Pönitz <poenitz@gmx.net>
1892
1893         * commandtags.h:
1894         * LyXAction.C:
1895         * text3.C: implement LFUN_WORDSEL
1896
1897 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1898
1899         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1900         make floatlist_ a boost::shared_ptr<FloatList>
1901
1902         * lyxtextclass.C: include FloatList.h
1903         (LyXTextClass): initialize floatlist_
1904         (TextClassTags): add TC_NOFLOAT
1905         (Read): match "nofloat" to TC_NOFLOAT and use it.
1906         (readFloat): modify call to floatlist_
1907         (floats): ditto
1908         (floats): ditto
1909
1910         * FloatList.[Ch] (FloatList): remove commented out float
1911         initialization.
1912         (erase): new function
1913
1914 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1915
1916         * MenuBackend.C (expandToc): fix crash when there is no document
1917         open
1918
1919 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
1920
1921         * many files: Add insetwrap.
1922
1923 2002-09-09  John Levon  <levon@movementarian.org>
1924
1925         * text2.C: remove confusing and awkward depth wraparound
1926
1927 2002-09-09  John Levon  <levon@movementarian.org>
1928
1929         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1930
1931         * buffer.h:
1932         * buffer.C: remove getIncludeonlyList()
1933
1934         * paragraph.C:
1935         * lyxfunc.C: remove headers
1936
1937 2002-09-09  Juergen Vigna  <jug@sad.it>
1938
1939         * text.C (getColumnNearX): fix form Michael this is most
1940         probably a cut&paste bug.
1941
1942 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1943
1944         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1945
1946         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1947         references, ws changes.
1948
1949         * text2.C (init): update counters after init
1950         (insertParagraph): no need to set counter on idividual paragraphs.
1951         (setCounter): access the counters object in the textclass object
1952         on in the buffer object.
1953         (updateCounters): ditto
1954
1955         * lyxtextclass.C: include counters.h, add variable ctrs_ as
1956         shared_ptr<Counters> to avoid loading counters.h in all
1957         compilation units.
1958         (LyXTextClass): initialize ctrs_
1959         (TextClassTags): add TC_COUNTER, and ...
1960         (Read): use it here.
1961         (CounterTags): new tags
1962         (readCounter): new function
1963         (counters): new funtion
1964         (defaultLayoutName): return a const reference
1965
1966         * counters.C (Counters): remove contructor
1967         (newCounter): remove a couple of unneeded statements.
1968         (newCounter): simplify a bit.
1969         (numberLabel): some small formatting changes.
1970
1971         * buffer.[Ch]: remove all traces of counters, move the Counters
1972         object to the LyXTextClass.
1973
1974 2002-09-06  Alain Castera  <castera@in2p3.fr>
1975
1976         * tabular.C: uses \tabularnewline; uses >{...} construct from array
1977         package to set the horizontal alignment on fixed width columns.
1978
1979         * lyx_sty.C:
1980         * lyx_sty.h: added tabularnewline macro def.
1981
1982         * LaTeXFeatures.C: added NeedTabularnewline macro feature
1983
1984 2002-09-06  John Levon  <levon@movementarian.org>
1985
1986         * LyXAction.C: tooltips for sub/superscript
1987
1988         * MenuBackend.C: a bit more verbose
1989
1990         * lyxfunc.C: tiny clean
1991
1992         * undo_funcs.C: document undo_frozen
1993
1994 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1995
1996         * counters.C (Counters): add missing algorithm counter.
1997
1998         * text2.C (setCounter): lookup the counter with layouts latexname
1999         instead of by section number.
2000         (setCounter): use a hackish way to lookup the correct enum
2001         counter.
2002         a float name->type change
2003         reset enum couners with counter name directly instead of depth value.
2004
2005         * counters.C (Counters): remove the push_backs, change to use the
2006         float type not the float name.
2007         (labelItem): remove unused string, float name->type change
2008
2009         * counters.h: don't include vector, loose the enums and sects vectors
2010
2011 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2012
2013         * lyxtextclass.C (TextClassTags): add TC_FLOAT
2014         (Read): add float->TC_FLOAT to textclassTags
2015         (Read): and handle it in the switch
2016         (readFloat): new function
2017
2018         * FloatList.C (FloatList): comment out the hardcoded float
2019         definitions.
2020
2021         * lyxlayout.h: ws change.
2022
2023 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
2024
2025         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2026
2027 2002-09-03  Angus Leeming  <leeming@lyx.org>
2028
2029         * BufferView_pimpl.h: qualified name is not allowed in member
2030         declaration: WorkArea & Pimpl::workarea() const;
2031
2032         * factory.C: added using std::endl directive.
2033
2034         * text3.C: added using std::find and std::vector directives.
2035
2036 2002-08-29  André Pönitz <poenitz@gmx.net>
2037
2038         * lyxtext.h:
2039         * text2.C: remove unused member number_of_rows
2040
2041         * Makefile.am:
2042         * BufferView2.C: remove file, move contents to...
2043         * BufferView.C: ... here
2044
2045         * BufferView_pimpl.C:
2046         * factory.C: move more inset creation to factory
2047
2048         * vspace.C: avoid direct usage of LyXText, ws changes
2049
2050         * BufferView.[Ch]:
2051                 don't provide direct access to WorkArea, use two simple
2052                 acessors haveSelction() and workHeight() instead
2053
2054
2055 2002-08-29  John Levon  <levon@movementarian.org>
2056
2057         * BufferView_pimpl.C (dispatch): do not continue when
2058           no buffer
2059
2060 2002-08-28  André Pönitz <poenitz@gmx.net>
2061
2062         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2063
2064         * BufferView.h:
2065         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2066
2067 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
2068
2069         * buffer.C: increment LYX_FORMAT to 221
2070
2071         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2072         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2073
2074         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2075
2076         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2077
2078 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2079
2080         * factory.C (createInset): use LyXTextClass::floats
2081
2082         * MenuBackend.C (expandFloatListInsert):
2083         (expandFloatInsert):
2084         (expandToc):
2085
2086         * text2.C (setCounter):
2087
2088         * LaTeXFeatures.C (useFloat):
2089         (getFloatDefinitions):
2090
2091         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2092
2093         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2094         floatlist_, with accessor floats().
2095
2096         * FloatList.h: remove global FloatList
2097
2098 2002-08-26  André Pönitz <poenitz@gmx.net>
2099
2100         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2101
2102         * BufferView.h:
2103         * BufferView2.C:
2104         * BufferView_pimpl.C:
2105         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2106
2107 2002-08-25  John Levon  <levon@movementarian.org>
2108
2109         * LyXAction.C: fix margin note description
2110
2111 2002-08-24  John Levon  <levon@movementarian.org>
2112
2113         * buffer.C:
2114         * bufferlist.C:
2115         * bufferview_funcs.C:
2116         * lyxfont.C:
2117         * undo_funcs.C: cleanups
2118
2119         * lyxfunc.C: disable CUT/COPY when no selection
2120
2121 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
2122
2123         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2124         in "enum UNIT"; e.g. PTW for Percent of TextWidth
2125
2126         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2127         Add backward compatibility to "mono", "gray" and "no".
2128
2129 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
2130
2131         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2132         (and file_format >= 200).
2133
2134 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2135
2136         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2137
2138 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2139
2140         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2141
2142 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
2143
2144         * BufferView_pimpl.C:
2145         * LyXAction.C:
2146         * buffer.C:
2147         * commandtags.h:
2148         * lyxfunc.C:
2149         * paragraph.[Ch]:
2150         * text2.C:
2151         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2152         inset and code to make it  work with the paragraph code. The inset
2153         can be anywhere in the paragraph, but will only do the expected
2154         thing in LaTeX if the layout file contains the parameter line
2155                         OptionalArgs    1
2156         (or more generally, a nonzero value) for that layout.
2157
2158 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2159
2160         * paragraph.h: remove the declaration of undefined counters class
2161         function.
2162
2163 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
2164
2165         * text2.C (setCounter):  fixed enumeration mis-count as reported by
2166         Dr. Richard Hawkins.
2167
2168 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2169
2170         * paragraph_funcs.h: remove some unneeded includes
2171
2172         * text.C (backspace): pasteParagraph now in global scipe
2173
2174         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2175         (pasteSelection): ditto
2176
2177         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2178         * paragraph_funcs.C (pasteParagraph): ... here
2179
2180 2002-08-20  André Pönitz <poenitz@gmx.net>
2181
2182         * commandtags.h: new LFUNs for swapping/copying table row/colums
2183
2184         * LyXAction.C:
2185         * lyxfunc.C: support for new lfuns
2186
2187 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2188
2189         * tabular.C:
2190         * buffer.[Ch]: remove NO_COMPABILITY stuff
2191
2192 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
2193
2194         * boost.C (throw_exception): new file, with helper function for
2195         boost compiled without exceptions.
2196
2197         * paragraph.h:
2198         * lyxlength.C:
2199         * buffer.C:
2200         * ParameterStruct.h:
2201         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2202
2203         * bufferlist.C (emergencyWriteAll): use boost bind
2204
2205         * BufferView_pimpl.C (moveCursorUpdate): remove inline
2206
2207         * text.C: include paragraph_funcs.h
2208         (breakParagraph): breakParagraph is now in global scope
2209
2210         * paragraph_funcs.[Ch]: new files
2211
2212         * paragraph.C (breakParagraph,breakParagraphConservative): move to
2213         global scope
2214
2215         * buffer.C: include paragraph_funcs.h
2216         (insertStringAsLines): breakParagraph is now in global scope
2217
2218         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2219         paragraph_funcs.C
2220
2221         * CutAndPaste.C: include paragraph_funcs.h
2222         (cutSelection): breakParagraphConservative is now in global scope
2223         (pasteSelection): ditto
2224
2225         * buffer.h: declare oprator== and operator!= for
2226         Buffer::inset_iterator
2227
2228         * bufferlist.C (emergencyWrite): don't use fmt(...)
2229
2230         * text3.C: add using std::endl
2231
2232         * BufferView.C (moveCursorUpdate): remove default arg
2233
2234 2002-08-20  André Pönitz <poenitz@gmx.net>
2235
2236         * buffer.[Ch]: move inline functions to .C
2237
2238         * BufferView2.C:
2239         * BufferView_pimpl.C:
2240         * text.C:
2241         * buffer.[Ch]: use improved inset_iterator
2242
2243         * buffer.C:
2244         * paragraph.[Ch]: write one paragraph at a time
2245
2246 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
2247
2248         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2249         style if style is not specified.
2250
2251 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2252
2253         * text2.C (setCounter): when searching for right label for a
2254         caption, make sure to recurse to parent insets (so that a caption
2255         in a minipage in a figure float works) (bug #568)
2256
2257 2002-08-20  André Pönitz <poenitz@gmx.net>
2258
2259         * text3.C: new file for LyXText::dispatch() and helpers
2260
2261         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2262
2263         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2264
2265 2002-08-19  André Pönitz <poenitz@gmx.net>
2266
2267         * lyxtext.h:
2268         * text.C: new LyXText::dispatch()
2269
2270         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2271
2272 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
2273
2274         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2275
2276         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2277         Hebrew text.
2278
2279 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2280
2281         * Makefile.am: use $(variables) instead of @substitutions@
2282
2283 2002-08-15  André Pönitz <poenitz@gmx.net>
2284
2285         * lyxfunc.C:
2286         * BufferView_pimpl.C: streamlining mathed <-> outer world
2287         interaction
2288
2289         * commandtags.h:
2290         * LyXAction.C: remove unused LFUN_MATH
2291
2292 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2293
2294         * paragraph.[Ch]: add some NO_NEXT ifdefs.
2295
2296 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2297
2298         * paragraph.C (Paragraph): reformat a bit
2299         (cutIntoMinibuffer): use builtin InsetList function instad of
2300         doing it manually.
2301         (getInset): ditto
2302
2303         * buffer.C: include boost/bind.hpp, add using std::for_each
2304         (writeFileAscii): use ParagraphList iterators
2305         (validate): use for_each for validate traversal of paragraphs
2306         (getBibkeyList): use ParagraphList iterators
2307         (resizeInsets): use for_each to resizeInsetsLyXText for all
2308         paragraphs.
2309         (getParFromID): use ParagraphList iterators
2310
2311         * BufferView2.C (lockInset): use paragraph list and iterators
2312
2313 2002-08-14  John Levon  <levon@movementarian.org>
2314
2315         * lyxserver.C: remove spurious xforms include
2316
2317 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2318
2319         * lyxfunc.C (getStatus): disable math-extern outside of math mode
2320
2321 2002-08-13  André Pönitz <poenitz@gmx.net>
2322
2323         * LyXAction.[Ch]:
2324         * lyxfunc.C: further cleaning
2325
2326 2002-08-13  André Pönitz <poenitz@gmx.net>
2327
2328         * funcrequest.h: new constructor
2329
2330         * funcrequest.C: move stuff here from .h
2331
2332         * Makefile.am:
2333         * BufferView_pimpl.C:
2334         * LyXAction.C:
2335         * toc.C:
2336         * lyxfunc.C: subsequent changes
2337
2338         * lyxfunc.h: new view() member function
2339
2340         * lyxfunc.C: subsequent changes
2341
2342 2002-08-13  Angus Leeming  <leeming@lyx.org>
2343
2344         * BufferView2.C:
2345         * BufferView_pimpl.C:
2346         * buffer.C:
2347         * converter.C:
2348         * importer.C:
2349         * lyxfunc.C:
2350         * lyxvc.C:
2351         * toc.C:
2352         * vc-backend.C:
2353         changes due to the changed LyXView interface that now returns references
2354         to member variables not pointers.
2355
2356 2002-08-13  Angus Leeming  <leeming@lyx.org>
2357
2358         * WordLangTuple (word, lang_code): return references to strings,
2359         not strings.
2360
2361         * BufferView.h:
2362         * SpellBase.h:
2363         * lyxtext.h: forward-declare WordLangTuple.
2364
2365         * BufferView2.C:
2366         * ispell.C:
2367         * pspell.C:
2368         * text.C: #include "WordLangTuple.h".
2369
2370         * lyxtext.h:
2371         * text.C: (selectNextWordToSpellcheck): constify return type.
2372
2373 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
2374
2375         * buffer.C:
2376         * buffer.h:
2377         * lyxtext.h:
2378         * paragraph.C:
2379         * paragraph_pimpl.h:
2380         * text.C:
2381         * text2.C:
2382         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2383         suggested by Angus.
2384         Made updateCounter always count from start of buffer, and removed
2385         second argument (par).
2386         Reverted floats number display to '#'. Perhaps I'll try again when the
2387         code base is sanitized a bit.
2388
2389 2002-08-12  Angus Leeming  <leeming@lyx.org>
2390
2391         * buffer.[Ch] (getLabelList): constify.
2392
2393 2002-08-07  André Pönitz <poenitz@gmx.net>
2394
2395         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2396
2397         * funcrequest.h: extension to keep mouse (x,y) position
2398
2399 2002-08-12  Juergen Vigna  <jug@sad.it>
2400
2401         * BufferView2.C (insertErrors): forbid undo when inserting error
2402         insets.
2403
2404         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2405
2406 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
2407
2408         * ParagraphList.[Ch]: new files
2409
2410         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2411
2412         * BufferView2.C (lockInset): ParagraphList changes
2413         * toc.C: ditto
2414         * text2.C: ditto
2415         * bufferlist.C: ditto
2416         * buffer.h: ditto
2417         * buffer.C: ditto
2418
2419 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2420
2421         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2422         unused class variable counter_,
2423
2424         * paragraph.[Ch] (getFirstCounter): delete unused function
2425
2426         * counters.C: include LAssert.h
2427         (reset): add a new function with no arg, change other version to
2428         not have def. arg and to not allow empty arg.
2429
2430         * text2.C (setCounter): remove empty arg from call to Counters::reset
2431
2432 2002-08-11  John Levon  <levon@movementarian.org>
2433
2434         * Makefile.am: add WordLangTuple.h
2435
2436 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2437
2438         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2439         lyxfunc.C lyxlex_pimpl.C: ws changes only.
2440
2441         * insets/insettext.C: InsetList changes
2442
2443         * graphics/GraphicsSupport.C (operator()): InsetList changes
2444
2445         * toc.C (getTocList): InsetList changes
2446
2447         * paragraph_pimpl.[Ch]: InsetList changes
2448
2449         * paragraph.[Ch]: InsetList changes
2450
2451         * buffer.C (inset_iterator): InsetList changes
2452         (setParagraph): ditto
2453         * buffer.h (inset_iterator): ditto
2454         * iterators.C (operator++): ditto
2455         * iterators.h: ditto
2456
2457         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2458
2459         * InsetList.[Ch]: new files, most InsetList handling moved out of
2460         paragraph.C.
2461
2462         * BufferView2.C (removeAutoInsets): InsetList changes
2463         (lockInset): ditto
2464         (ChangeInsets): ditto
2465
2466 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2467
2468         * paragraph_pimpl.h (empty): new function
2469
2470         * paragraph.[Ch] (empty): new function
2471
2472         * other files: use the new Paragraph::empty function
2473
2474 2002-08-09  John Levon  <levon@movementarian.org>
2475
2476         * lyxtext.h: remove unused refresh_height
2477
2478 2002-08-09  John Levon  <levon@movementarian.org>
2479
2480         * Makefile.am:
2481         * sgml.h:
2482         * sgml.C:
2483         * buffer.C:
2484         * paragraph.h:
2485         * paragraph.C: move sgml char escaping out of paragraph
2486
2487         * paragraph.h:
2488         * paragraph.C: remove id setter
2489
2490         * buffer.C:
2491         * paragraph.C:
2492         * paragraph_pimpl.C: remove dead tex_code_break_column
2493
2494         * bufferview_funcs.C: small cleanup
2495
2496         * lyxfunc.C: remove dead proto
2497
2498         * lyxtext.h: make some stuff private. Remove some dead stuff.
2499
2500         * lyxgluelength.C: make as[LyX]String() readable
2501
2502 2002-08-08  John Levon  <levon@movementarian.org>
2503
2504         * LyXAction.h:
2505         * LyXAction.C:
2506         * MenuBackend.C:
2507         * ToolbarDefaults.C:
2508         * lyxfunc.C:
2509         * lyxrc.C:
2510         * toc.C: lyxaction cleanup
2511
2512 2002-08-08  John Levon  <levon@movementarian.org>
2513
2514         * BufferView2.C: small cleanup
2515
2516         * lyxfind.h:
2517         * lyxfind.C: move unnecessary header into the .C
2518
2519 2002-08-08  John Levon  <levon@movementarian.org>
2520
2521         * funcrequest.h: just tedious nonsense
2522
2523         * lyx_main.h:
2524         * lyx_main.C: cleanups
2525
2526         * buffer.C:
2527         * vspace.C: remove dead header lyx_main.h
2528
2529 2002-08-07  Angus Leeming  <leeming@lyx.org>
2530
2531         * Paragraph.[Ch]:
2532         * paragraph_pimpl.h:
2533         Forward declare class Counters in paragraph.h by moving the ctrs member
2534         variable into Paragraph::Pimpl.
2535         (counters): new method, returning a reference to pimpl_->ctrs.
2536
2537         * text2.C: ensuing changes.
2538
2539 2002-08-07  John Levon  <levon@movementarian.org>
2540
2541         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2542
2543         * BufferView_pimpl.C: announce X selection on double/triple
2544           click
2545
2546         * lyx_main.C: use correct bool in batch dispatch
2547
2548         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2549
2550 2002-08-07  André Pönitz <poenitz@gmx.net>
2551
2552         * funcrequest.h: new class to wrap a kb_action and its argument
2553
2554         * BufferView.[Ch]:
2555         * BufferView_pimpl[Ch]:
2556         * LaTeX.C:
2557         * LyXAction.[Ch]:
2558         * lyxfunc.[Ch]:
2559         * lyxrc.C: subsequent changes
2560
2561
2562 2002-08-07  John Levon  <levon@movementarian.org>
2563
2564         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2565           document options change.
2566
2567 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
2568
2569         * counters.[Ch]
2570         * text2.C
2571         * paragraph.[Ch]
2572         * makefile.am: move counters functionality over from
2573         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2574
2575 2002-08-06  John Levon  <levon@movementarian.org>
2576
2577         * WordLangTuple.h: new file for word + language code tuple
2578
2579         * SpellBase.h:
2580         * pspell.h:
2581         * pspell.C:
2582         * ispell.h:
2583         * ispell.C:
2584         * lyxtext.h:
2585         * text.C:
2586         * text2.C:
2587         * BufferView.h:
2588         * BufferView2.C: use WordLangTuple
2589
2590         * layout.h:
2591         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2592
2593 2002-08-06  John Levon  <levon@movementarian.org>
2594
2595         * lyx_main.C: fix cmdline batch handling
2596
2597 2002-08-06  André Pönitz <poenitz@gmx.net>
2598
2599         * lyxrc.C: set default for show_banner to true
2600
2601 2002-08-06  John Levon  <levon@movementarian.org>
2602
2603         * pspell.C: fix a crash, and allow new aspell to work
2604
2605 2002-08-06  John Levon  <levon@movementarian.org>
2606
2607         * lyxfunc.C:
2608         * kbmap.C: small cleanup
2609
2610         * vspace.h:
2611         * vspace.C: add const
2612
2613 2002-08-05  John Levon  <levon@movementarian.org>
2614
2615         * LyXAction.C: back to tabular-insert
2616
2617 2002-08-04  John Levon  <levon@movementarian.org>
2618
2619         * BufferView.h:
2620         * BufferView.C: cosmetic change
2621
2622         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2623
2624         * bufferlist.C:
2625         * buffer.h:
2626         * buffer.C:
2627         * lyxcb.h:
2628         * lyxcb.C:
2629         * lyxserver.C:
2630         * lyxvc.C:
2631         * vc-backend.C:
2632         * BufferView2.C: purge all "Lyx" not "LyX" strings
2633
2634         * lyxcursor.h:
2635         * lyxcursor.C: attempt to add some documentation
2636
2637         * lyxfunc.C:
2638         * commandtags.h:
2639         * LyXAction.C:
2640         * ToolbarDefaults.C:
2641         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2642           merge with LFUN_TABULAR_INSERT
2643
2644         * Makefile.am:
2645         * SpellBase.h:
2646         * ispell.h:
2647         * ispell.C:
2648         * pspell.h:
2649         * pspell.C: split up i/pspell implementations into separate
2650           files, many cleanups
2651
2652         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2653
2654         * text2.C: some cleanup
2655
2656         * lyxfunc.C: don't check for isp_command == "none" any more, it
2657           didn't make any sense
2658
2659 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
2660
2661         * counters.[Ch]
2662         * text2.C
2663         * paragraph.[Ch]
2664         * makefile.am: move counters functionality over
2665         from text2.C/paragraph.[Ch] to counters.[Ch], and
2666         make proper C++.
2667 2002-08-02  John Levon  <levon@movementarian.org>
2668
2669         * buffer.C: s/lyxconvert/lyx2lyx/
2670
2671 2002-08-02  Angus Leeming  <leeming@lyx.org>
2672
2673         * lyxlex.C: revert John's change as it breaks reading of the user
2674         preamble.
2675
2676 2002-08-02  Angus Leeming  <leeming@lyx.org>
2677
2678         * importer.C (Import):
2679         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2680         changes due to LyXView::view() now returning a boost::shared_ptr.
2681
2682 2002-08-02  John Levon  <levon@movementarian.org>
2683
2684         * lyxlex.C: small cleanup
2685
2686 2002-08-02  John Levon  <levon@movementarian.org>
2687
2688         * text2.C (status): small cleanup, no logic change
2689
2690 2002-08-01  John Levon  <levon@movementarian.org>
2691
2692         * buffer.h:
2693         * buffer.C (writeFile): don't output alerts, caller
2694           handles this
2695
2696         * bufferlist.C:
2697         * lyx_cb.C: from above
2698
2699         * lyxfunc.C: allow to open non-existent files
2700
2701 2002-07-31  John Levon  <levon@movementarian.org>
2702
2703         * lyxserver.C: don't let incidental errors get
2704           in the way (errno)
2705
2706 2002-07-30  John Levon  <levon@movementarian.org>
2707
2708         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2709
2710 2002-07-30  John Levon  <levon@movementarian.org>
2711
2712         * lyxserver.h:
2713         * lyxserver.C: remove I/O callback too
2714
2715 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2716
2717         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2718         log.
2719
2720 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * many files: strip,frontStrip -> trim,ltrim,rtrim
2723
2724 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2725
2726         * PrinterParams.h: remove extern containsOnly, and include
2727         support/lstrings.h instead.
2728
2729         * LaTeX.C (scanAuxFile): modify because of strip changes
2730         (deplog): ditto
2731         * buffer.C (makeLaTeXFile): ditto
2732         * bufferparams.C (writeFile): ditt
2733         * lyxfont.C (stateText): ditto
2734         * lyxserver.C (read_ready): ditto
2735         * vc-backend.C (scanMaster): ditto
2736
2737         * BufferView_pimpl.h: ws changes
2738
2739         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2740
2741 2002-07-26  André Pönitz <poenitz@gmx.net>
2742
2743         * kb_sequence.C: remove unnedred usings
2744
2745 2002-07-26  Juergen Vigna  <jug@sad.it>
2746
2747         * lyxfind.C (LyXReplace): we have to check better if the returned
2748         text is not of theLockingInset()->getLockingInset().
2749
2750 2002-07-25  Juergen Vigna  <jug@sad.it>
2751
2752         * lyxfind.C (LyXReplace): don't replace if we don't get the
2753         right LyXText.
2754
2755         * undo_funcs.C (createUndo): remove debugging code.
2756
2757 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
2758
2759         * buffer.C (parseSingleLyXformat2Token): Use default placement
2760         when reading old floats.
2761
2762         * FloatList.C (FloatList): Change the default placement of figure
2763         and tables to "tbp".
2764
2765 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
2766
2767         * MenuBackend.C: using std::max
2768
2769 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2770
2771         * MenuBackend.C (expandToc):
2772         (expandToc2): code moved from xforms menu frontend. It is now
2773         generic and TOCs are transparent to menu frontends.
2774
2775 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2776
2777         * toc.C (getTocList): protect against buf=0
2778
2779         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2780         Menu as first parameter. Now, this calls itself recursively to
2781         expand a whole tree (this will be useful for TOC handling)
2782         (expandFloatInsert): remove 'wide' version of floats
2783
2784         * MenuBackend.h (submenuname): returns the name of the submenu.
2785         (submenu): returns the submenu itself, provided it has been
2786         created by MenuBackend::expand
2787
2788 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2789
2790         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2791         insets which have noFontChange == true. (bug #172)
2792
2793 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2794
2795         * BufferView_pimpl.C: add connection objects and use them...
2796         (Pimpl): here.
2797
2798 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2799
2800         * MenuBackend.C (expandLastfiles):
2801         (expandDocuments):
2802         (expandFormats):
2803         (expandFloatListInsert):
2804         (expandFloatInsert):
2805         (expand): split expand in parts
2806
2807 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2808
2809         * lyx_gui.C: use lyx_gui::exit()
2810
2811 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2812
2813         * LyXAction.C: show the failing pseudo action
2814
2815 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
2816
2817         * buffer.C (readFile): Run the lyxconvert script in order to read
2818         old files.
2819
2820 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2821
2822         * LyXAction.C:
2823         * commandtags.h:
2824         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2825
2826 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
2827
2828         * LyXAction.C:
2829         * commandtags.h:
2830         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2831
2832 2002-07-22  Herbert Voss  <voss@lyx.org>
2833
2834         * lengthcommon.C:
2835         * lyxlength.[Ch]: add support for the vertical lengths
2836
2837 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
2838
2839         * toc.[Ch]: std:: fixes
2840
2841 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2842
2843         * lyxrc.C: do not include lyx_main.h
2844
2845         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2846         for layouts
2847
2848         * lyxrc.C:
2849         * encoding.C:
2850         * bufferlist.C:
2851         * BufferView2.C: include "lyxlex.h"
2852
2853         * tabular.h:
2854         * bufferparams.h: do not #include "lyxlex.h"
2855
2856         * lyxtextclasslist.C (Add): remove method
2857         (classlist): renamed to classlist_
2858
2859         * paragraph_pimpl.C:
2860         * paragraph.C:
2861         * text2.C:
2862         * CutAndPaste.C:
2863         * bufferview_funcs.C:
2864         * bufferlist.C:
2865         * text.C:
2866         * LaTeXFeatures.C:
2867         * buffer.C:
2868         * toc.C (getTocList): use BufferParams::getLyXTextClass
2869
2870         * toc.C (getTocList): use InsetFloat::addToToc
2871
2872         * toc.[Ch]: new files, containing helper functions to handle table
2873         of contents
2874
2875         * lyxfunc.C (dispatch): no need to remove spaces around command
2876         given as a string
2877         (getStatus): handle LFUN_SEQUENCE by returning the status of the
2878         first command of the sequence; it is not very clever, but I do not
2879         have a better idea, actually
2880
2881         * LyXAction.C (LookupFunc): make sure to remove space at the
2882         beginning and end of the command
2883
2884 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2885
2886         * MenuBackend.C (getMenubar): new method: return the menubar of
2887         this menu set
2888         (read): treat differently reading of menu and menubar (in
2889         particular, the menubar has no name now)
2890         (Menu::menubar): remove
2891
2892         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2893         saving is finished
2894
2895 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
2896
2897         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2898         a bibitem inset in a RTL paragraph.
2899
2900 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
2901
2902         * paragraph_pimpl.C: constify
2903
2904         * BufferView_pimpl.C:
2905         * LaTeX.C:
2906         * lyxfunc.C: fix dispatch in a nicer way
2907
2908 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2909
2910         * lyxfunc.C (dispatch):
2911         * BufferView_pimpl.C:
2912         * BufferView_pimpl.h:
2913         * BufferView.C:
2914         * BufferView.h: rename Dispatch() to dispatch()
2915
2916         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2917
2918         * lyxlayout.C (Read): honor DependsOn tag
2919
2920         * lyxlayout.[Ch] (depends_on): new method
2921
2922         * version.C.in: update lyx_docversion
2923
2924         * LaTeXFeatures.C (getMacros): only define \LyX when needed
2925
2926         * paragraph.C (validate): remove from here...
2927         * paragraph_pimpl.C (validate): ... and move here
2928         (isTextAt): make it const
2929
2930         * buffer.C (getLists): ws cleanup
2931
2932 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
2933
2934         * language.C (read): Use iso8859-1 encoding in latex_lang
2935         (this prevents LyX from crashing when using iso10646-1 encoding).
2936
2937 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2938
2939         * text2.C (toggleInset): if cursor is inside an inset, close the
2940         inset and leave cursor _after_ it
2941
2942 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
2943
2944         * lyxfunc.C: move minibuffer completion handling out of here
2945
2946 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
2947
2948         * BufferView_pimpl.C:
2949         * LaTeX.C: fix dispatch calls
2950
2951 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
2952
2953         * text.C (drawChars): Fix Arabic text rendering.
2954
2955 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
2956
2957         * LyXAction.C:
2958         * commandtags.h:
2959         * lyxfunc.C: remove message-push/pop
2960
2961         * lyxserver.C:
2962         * lyxfunc.h:
2963         * lyxfunc.C: rationalise some code by removing verboseDispatch
2964           in favour of a bool argument to dispatch()
2965
2966 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2967
2968         * lyx_main.C (init): make sure to read symlinks as absolute paths
2969
2970 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2971
2972         * lyxfunc.h:
2973         * lyxfunc.C: no need for commandshortcut to be a member
2974
2975 2002-07-15  André Pönitz <poenitz@gmx.net>
2976
2977         * converter.C: add support for $$s (scripts from lib/scripts dir)
2978         * lyx_main.C: white space
2979
2980 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2981
2982         * bufferlist.C:
2983         * lyxrc.h:
2984         * lyxrc.C: remove second exit confirmation
2985
2986 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
2987
2988         * BufferView.h:
2989         * BufferView.C:
2990         * BufferView2.C:
2991         * BufferView_pimpl.h:
2992         * BufferView_pimpl.C:
2993         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2994
2995 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2996
2997         * MenuBackend.C (expand): add numeric shortcuts to document menu
2998
2999         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3000
3001 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3002
3003         * lyxfont.C (setLyXFamily):
3004         (setLyXSeries):
3005         (setLyXShape):
3006         (setLyXSize):
3007         (setLyXMisc):
3008         (lyxRead):
3009         * debug.C (value):
3010         * buffer.C (asciiParagraph): use ascii_lowercase
3011
3012 2002-07-15  Mike Fabian  <mfabian@suse.de>
3013
3014         * lyxlex_pimpl.C (search_kw):
3015         * lyxlex.C (getLongString):
3016         * converter.h (operator<):
3017         * converter.C (operator<):
3018         * buffer.C (parseSingleLyXformat2Token):
3019         (asciiParagraph):
3020         * ToolbarDefaults.C (read):
3021         * MenuBackend.C (checkShortcuts):
3022         (read):
3023         * LColor.C (getFromGUIName):
3024         (getFromLyXName): use the compare_ascii_no_case instead of
3025         compare_no_case, because in turkish, 'i' is not the lowercase
3026         version of 'I', and thus turkish locale breaks parsing of tags.
3027
3028 2002-07-16  Angus Leeming  <leeming@lyx.org>
3029
3030         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3031         now takes a Buffer const & argument.
3032
3033 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
3034
3035         * BufferView.C (resize): check there's a buffer to resize
3036
3037 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
3038
3039         * lyxfunc.C: remove dead code
3040
3041         * lyxserver.h:
3042         * lyxserver.C: use lyx_guii::set_read_callback
3043
3044 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
3045
3046         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3047         an inset in a RTL paragraph.
3048
3049 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
3050
3051         * lyxfunc.C: repaint after a font size update
3052
3053 2002-07-15  André Pönitz <poenitz@gmx.net>
3054
3055         * lyxlength.C: inBP should be able to return negative values
3056
3057 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
3058
3059         * lyxfunc.C: use lyx_gui::update_fonts()
3060
3061 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
3062
3063         * lyxfunc.C: use lyx_gui::update_color()
3064
3065 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
3066
3067         * bufferlist.C:
3068         * lyxfunc.h:
3069         * lyxfunc.C:
3070         * lyxrc.h:
3071         * lyxrc.C: remove file->new asks for name option, and let
3072           buffer-new take an argument
3073
3074 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
3075
3076         * BufferView_pimpl.C: remove unneeded extra repaint()
3077
3078 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
3079
3080         * LyXAction.C: allow command-sequence with NoBuffer
3081
3082         * lyxfunc.C: don't insist on trailing ';' for command-sequence
3083
3084 2002-07-10  Angus Leeming  <leeming@lyx.org>
3085
3086         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3087
3088 2002-07-09  Angus Leeming  <leeming@lyx.org>
3089
3090         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3091
3092 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
3093
3094         * lengthcommon.h: whitespace
3095
3096         * lyxfunc.C: update scrollbar after goto paragraph
3097
3098         * lyxtext.h: factor out page break drawing, and fix it so
3099           page break/added space paints as selected nicely
3100
3101 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
3102
3103         * BufferView_pimpl.C: add FIXMEs, clean up a little
3104
3105 2002-07-09  André Pönitz <poenitz@gmx.net>
3106
3107         * lyxfont.[Ch]: support for wasy symbols
3108
3109 2002-07-08  André Pönitz <poenitz@gmx.net>
3110
3111         * BufferView_pimpl.C: apply John's patch for #93.
3112
3113 2002-07-05  Angus Leeming  <leeming@lyx.org>
3114
3115         * BufferView_pimpl.C (buffer): generate previews if desired.
3116
3117         * LColor.h: add "preview" to the color enum.
3118
3119         * LColor.C (LColor): add a corresponding entry to the items array.
3120
3121         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3122         with this buffer.
3123
3124 2002-07-05  Angus Leeming  <leeming@lyx.org>
3125
3126         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3127         The body of the code is now in the method that is passed an ostream &
3128         rather than a file name.
3129         Pass an additional only_preamble parameter, useful for the forthcoming
3130         preview stuff.
3131
3132 2002-07-03  André Pönitz <poenitz@gmx.net>
3133
3134         * lyxfunc.C: simplify getStatus() a bit for math stuff
3135
3136 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3137
3138         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3139
3140 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3141
3142         * text.C (changeRegionCase): do not change case of all the
3143         document when region ends at paragraph end (bug #461)
3144
3145 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3146
3147         * paragraph.C (startTeXParParams):
3148         (endTeXParParams): add \protect when necessary
3149
3150 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3151
3152         * BufferView_pimpl.C (workAreaExpose): remove warning
3153
3154 2002-06-27  Angus Leeming  <leeming@lyx.org>
3155
3156         * Makefile.am: add lyxlayout_ptr_fwd.h.
3157
3158 2002-06-26  André Pönitz <poenitz@gmx.net>
3159
3160         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3161
3162 2002-06-25  Angus Leeming  <leeming@lyx.org>
3163
3164         * lyxfunc.C (dispatch): Comment out the call to
3165         grfx::GCache::changeDisplay. The method no longer exists now that the
3166         pixmap generation part of the graphics loader has been moved into
3167         InsetGraphics.
3168
3169 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3170
3171         * text2.C: layout as layout
3172
3173         * text.C: layout as layout
3174
3175         * tabular.C (OldFormatRead): layout as layout
3176
3177         * paragraph_pimpl.C (TeXDeeper): layout as layout
3178         (realizeFont): layout as layout
3179
3180         * paragraph.C (writeFile): layout as layout
3181         (validate): layout as layout
3182         (getFont): layout as layout
3183         (getLabelFont): layout as layout
3184         (getLayoutFont): layout as layout
3185         (breakParagraph): layout as layout
3186         (stripLeadingSpaces): layout as layout
3187         (getEndLabel): layout as layout
3188         (getMaxDepthAfter): layout as layout
3189         (applyLayout): layout as layout
3190         (TeXOnePar): layout as layout
3191         (simpleTeXOnePar): layout as layout
3192         (TeXEnvironment): layout as layout
3193         (layout): layout as layout
3194         (layout): layout as layout
3195
3196         * lyxtextclass.C (compare_name): new functor to work with
3197         shared_ptr, layout as layout
3198         (Read): layout as layout
3199         (hasLayout): layout as layout
3200         (operator): layout as layout
3201         (delete_layout): layout as layout
3202         (defaultLayout): layout as layout
3203
3204         * lyxlayout_ptr_fwd.h: new file
3205
3206         * lyxlayout.C (Read): layout as layout
3207
3208         * lyx_cb.C (MenuInsertLabel): layout as layout
3209
3210         * bufferlist.C (newFile): layout as layout
3211
3212         * buffer.C (readLyXformat2): layout as layout
3213         (parseSingleLyXformat2Token): layout as layout
3214         (insertStringAsLines): layout as layout
3215         (asciiParagraph): layout as layout
3216         (latexParagraphs): layout as layout
3217         (makeLinuxDocFile): layout as layout
3218         (simpleLinuxDocOnePar): layout as layout
3219         (makeDocBookFile): layout as layout
3220         (simpleDocBookOnePar): layout as layout
3221         (getLists): layout as layout
3222
3223         * LaTeXFeatures.C (getTClassPreamble): layout as layout
3224
3225         * CutAndPaste.C (cutSelection): layout as layout
3226         (pasteSelection): layout as layout
3227         (SwitchLayoutsBetweenClasses): layout as layout
3228
3229         * BufferView_pimpl.C (Dispatch): layout as layout
3230         (smartQuote): layout as layout
3231
3232         * BufferView2.C (unlockInset): layout as layout
3233
3234 2002-06-24  André Pönitz <poenitz@gmx.net>
3235
3236         * lyxfunc.C: fix #487
3237
3238 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
3239
3240         * lyxrc.h:
3241         * lyxrc.C:
3242         * lyxfunc.C: remove display_shortcuts, show_banner
3243
3244 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
3245
3246         * Buffer_pimpl.C: oops, update on resize
3247
3248 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
3249
3250         * buffer.C:
3251         * converter.C:
3252         * exporter.C:
3253         * lyxfunc.C:
3254         * BufferView.h:
3255         * BufferView.C: use repaint()
3256
3257         * BufferView_pimpl.h:
3258         * BufferView_pimpl.C: s/updateScreen()/repaint()/
3259           as it's a clearer description. Remove superfluous
3260           redraws.
3261
3262 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
3263
3264         * text.C: fix bug 488. Not ideal, but getting
3265           getWord() to work properly for the insets that
3266           matter is more difficult ...
3267
3268 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
3269
3270         * BufferView_pimpl.C:
3271         * LyXAction.C:
3272         * commandtags.h:
3273         * lyxfunc.C: remove the six million index lyxfuncs to just
3274           one, and DTRT (bug 458)
3275
3276 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
3277
3278         * BufferView.h:
3279         * BufferView.C:
3280         * BufferView_pimpl.h:
3281         * BufferView_pimpl.C: clean up resize() stuff,
3282           and unnecessary updateScreen()s
3283
3284 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
3285
3286         * BufferView.h:
3287         * BufferView.C:
3288         * BufferView_pimpl.h:
3289         * BufferView_pimpl.C:
3290         * lyxfind.h:
3291         * lyxfind.C:
3292         * minibuffer.C: remove focus management of workarea,
3293           not needed. Use screen's greyOut()
3294
3295 2002-06-17  Herbert Voss  <voss@lyx.org>
3296
3297         * converter.C: (convert) do not post a message, when converting
3298         fails, let the calling function decide what to do in this case
3299
3300 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
3301
3302         * lyxfunc.C: tidy up a little
3303
3304 2002-06-16    <alstrup@diku.dk>
3305
3306         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3307         Got rid of FORMS_H_LOCATION include. Now we are
3308         GUII.
3309
3310 2002-06-15  LyX Development team  <lyx@rilke>
3311
3312         * buffer.[Ch] (sgmlOpenTag):
3313         (sgmlCloseTag): Added support for avoiding pernicious mixed
3314         content. Return number of lines written.
3315
3316         (makeLinuxDocFile):
3317         (makeDocBookFile): Fixed calls to sgml*Tag.
3318         Simple white space clean.
3319
3320         (simpleDocBookOnePar): Simple white space clean.
3321
3322         * tabular.[Ch] (docBook): Renamed to docbook and got another
3323         argument to related with the pernicious mixed content.
3324
3325         (docbookRow): Fixed calls for docbook inset method.
3326
3327 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
3328
3329         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3330         so it's X11 independent.
3331
3332         * kb*.[Ch]: ditto.
3333
3334         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3335
3336 2002-06-15  Lyx Development team  <lyx@electronia>
3337
3338         * intl.h: Renamed getTrans to getTransManager.
3339
3340 2002-06-14  Angus Leeming  <leeming@lyx.org>
3341
3342         * Makefile.am: nuke forgotten stl_string_fwd.h.
3343
3344 2002-06-12  Angus Leeming  <leeming@lyx.org>
3345
3346         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3347
3348 2002-06-13  Angus Leeming  <leeming@lyx.org>
3349
3350         * LaTeX.C:
3351         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3352
3353 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
3354
3355         * kbmap.C (getiso): add support for cyrillic and greek
3356
3357 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3358
3359         * BufferView.h:
3360         * BufferView.C:
3361         * BufferView_pimpl.h:
3362         * BufferView_pimpl.C: move bogus scrolling logic
3363           to xforms
3364
3365 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3366
3367         * lyxfunc.C:
3368         * BufferView_pimpl.C: view->resize() change
3369
3370 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3371
3372         * BufferView_pimpl.C: topCursorVisible
3373           prototype change
3374
3375 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3376
3377         * Makefile.am:
3378         * lyx_gui.h:
3379         * lyx_gui.C: move to frontends/
3380
3381         * main.C:
3382         * lyx_main.h:
3383         * lyx_main.C: changes from above
3384
3385 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3386
3387         * intl.C:
3388         * intl.h:
3389         * kbmap.C:
3390         * kbsequence.C:
3391         * lyx_cb.C:
3392         * lyx_main.C: minor tidy
3393
3394 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3395
3396         * BufferView_pimpl.h:
3397         * BufferView_pimpl.C:
3398         * BufferView.h:
3399         * BufferView.C: make painter() const,
3400           remove dead code
3401
3402         * BufferView2.C: use screen() accessor
3403
3404         * lyx_main.h:
3405         * lyx_main.C: some minor cleanup
3406
3407 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3408
3409         * BufferView_pimpl.h:
3410         * BufferView_pimpl.C: remove enter/leaveView,
3411           use workHeight()
3412
3413 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
3414
3415         * BufferView.h:
3416         * BufferView.C:
3417         * BufferView2.C:
3418         * BufferView_pimpl.h:
3419         * BufferView_pimpl.C: only construct screen once,
3420           rename
3421
3422         * lyxrc.C: remove pointless comment
3423
3424 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
3425
3426         * BufferView.h:
3427         * BufferView.C: remove active() and belowMouse()
3428
3429         * BufferView_pimpl.h:
3430         * BufferView_pimpl.C: use workarea() not workarea_,
3431           and make it use a scoped_ptr instead
3432
3433 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
3434
3435         * lyx_gui.C: add debug message on BadWindow
3436
3437 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3438
3439         * sp_spell.C: fdopen is not part of the C++ standard.
3440
3441         * paragraph.C (InsetIterator): use >= instead of ==
3442
3443 2002-06-07  Angus Leeming  <leeming@lyx.org>
3444
3445         Fixes needed to compile with Compaq cxx 6.5.
3446         * BufferView_pimpl.C:
3447         * DepTable.C:
3448         * buffer.C:
3449         * converter.C:
3450         * encoding.C:
3451         * lyx_gui.C:
3452         * lyx_main.C:
3453         * lyxtextclasslist.C:
3454         * minibuffer.C:
3455         * sp_spell.C:
3456         * tabular_funcs.C:
3457         * vc-backend.C:
3458         all c-library variables have been moved into namespace std. Wrap
3459         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3460
3461         * lyxlength.C:
3462         * tabular-old.C:
3463         * tabular.C:
3464         Add a using std::abs declaration.
3465
3466         * kbmap.h (modifier_pair):
3467         * paragraph.h (InsetTable, InsetList):
3468         * lyxfont.h (FontBits):
3469         type definition made public.
3470
3471         * bufferlist.C (emergencyWriteAll): the compiler complains that
3472         there is more than one possible lyx::class_fun template to choose from.
3473         I re-named the void specialisation as lyx::void_class_fun.
3474
3475         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3476
3477         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3478         the compiler is is unable to find tostr in write_attribute.
3479
3480 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3481
3482         * buffer.C (sgmlError): hide #warning
3483
3484 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3485
3486         * xtl/*: get rid of xtl, which is not in use anyway
3487
3488         * LyXAction.C (init):
3489         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3490         were unimplemented xtl experimentation
3491
3492 2002-06-04  André Pönitz <poenitz@gmx.net>
3493
3494         * lyxfunc.C: disable array operation on simple formulae
3495
3496 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
3497
3498         * converter.C: constify a bit
3499
3500 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
3501
3502         * lyx_gui.C: check xforms version correctly
3503
3504 2002-04-30  Herbert Voss  <voss@lyx.org>
3505
3506         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3507         "keep" option
3508
3509 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
3510
3511         * lyxvc.C: fix bug 416 (make sure buffer is saved before
3512           attempt to register it with a VCS)
3513
3514 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3515
3516         * lyx_main.C (init): honor variables LYX_DIR_13x and
3517         LYX_USERDIR_13x
3518
3519 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
3520
3521         * buffer.h:
3522         * buffer.C:
3523         * lyx_main.C: fix a crash on bad command line,
3524           and give a useful exit status on error
3525
3526         * lyxfunc.C (doImport): allow -i lyx to work
3527
3528 2002-03-30  André Pönitz <poenitz@gmx.net>
3529
3530         * lyxfunc.C: mathed font changes
3531
3532 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
3533
3534         * LaTeX.C:
3535         * importer.h:
3536         * importer.C:
3537         * lyx_sty.h:
3538         * lyx_sty.C:
3539         * lyxlex.C:
3540         * lyxrow.h:
3541         * lyxtext.h:
3542         * paragraph.h:
3543         * paragraph.C:
3544         * texrow.h:
3545         * texrow.C:
3546         * text.C:
3547         * trans_mgr.h: srcdocs, and some minor cleanups
3548
3549 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3550
3551         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3552         call getFont all the time)
3553
3554 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3555
3556         * switch from SigC signals to boost::signals
3557
3558 2002-05-29  André Pönitz <poenitz@gmx.net>
3559
3560         * paragraph_pimpl.C (getChar): don't call size() too often...
3561
3562 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3563
3564         * paragraph_pimpl.C (insertChar): do not try to update tables when
3565         appending (pos == size())
3566
3567         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3568         in order to reduce drastically the number of comparisons needed to
3569         parse a large document
3570
3571 2002-05-29  André Pönitz <poenitz@gmx.net>
3572
3573         * text.C:
3574         * text2.C:
3575         * lyxtextclass.C:
3576         * sp_pspell.h:
3577         * textclasslist.[Ch]:
3578         * sp_ispell.h: whitespace change
3579
3580 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3581
3582         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3583         lyxaction directly now.
3584
3585 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
3586
3587         * trans.C:
3588         * lyxfont.C:
3589         * lyxvc.C: remove unused headers
3590
3591 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
3592
3593         * Makefile.am:
3594         * buffer.h:
3595         * undostack.h:
3596         * undostack.C:
3597         * undo_funcs.h:
3598         * undo_funcs.C: some cleanups. Use shared_ptr
3599           and a template for the undo stacks.
3600
3601 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
3602
3603         * BufferView_pimpl.h:
3604         * BufferView_pimpl.C:
3605         * kbmap.h:
3606         * kbmap.C:
3607         * kbsequence.h:
3608         * kbsequence.C:
3609         * lyxfunc.h:
3610         * lyxfunc.C:
3611         * text2.C: use key_state/mouse_state
3612
3613 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3614
3615         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3616         and LSubstring
3617
3618         * chset.C: change include order
3619         (loadFile): use boost regex and get rid of LRegex and LSubstring
3620
3621         * Makefile.am (BOOST_LIBS): new variable
3622         (lyx_LDADD): use it
3623
3624         * LaTeX.C: change include order.
3625         (scanAuxFile): use boost regex and get rid of LRegex and
3626         LSubstring
3627         (deplog): ditto
3628
3629 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3630
3631         * ColorHandler.h:
3632         * ColorHandler.C:
3633         * FontInfo.h:
3634         * FontInfo.C: moved to frontends/xforms/
3635
3636         * FontLoader.h:
3637         * FontLoader.C: moved into frontends for GUIIzation
3638
3639         * Makefile.am:
3640         * lyx_gui.C:
3641         * lyxfont.C:
3642         * lyxfunc.C: changes from above
3643
3644 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
3645
3646         * LColor.C: remove spurious X include
3647
3648         * BufferView_pimpl.C:
3649         * Makefile.am:
3650         * font.h:
3651         * font.C:
3652         * text.C:
3653         * text2.C: move font metrics to frontends/
3654
3655 2002-05-24  Juergen Vigna  <jug@sad.it>
3656
3657         * undo_funcs.C (textHandleUndo): fix the cursor selection after
3658         setting the undo_cursor.
3659
3660         * ParagraphParameters.h: include local includes first.
3661
3662 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3663
3664         * BufferView_pimpl.C:
3665         * BufferView_pimpl.h:
3666         * Makefile.am:
3667         * WorkArea.h:
3668         * WorkArea.C:
3669         * screen.C: move WorkArea into frontends/
3670
3671         * lyxscreen.h:
3672         * screen.C:
3673         * text.C:
3674         * BufferView.C:
3675         * BufferView2.C: move LyXScreen into frontends/
3676
3677         * lyxlookup.h:
3678         * lyxlookup.C:
3679         * lyx_gui.C: move lyxlookup into frontends/xforms/
3680
3681 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3682
3683         * BufferView2.C:
3684         * BufferView_pimpl.C:
3685         * FontLoader.C:
3686         * LyXView.h:
3687         * LyXView.C:
3688         * Makefile.am:
3689         * WorkArea.C:
3690         * XFormsView.h:
3691         * XFormsView.C:
3692         * buffer.C:
3693         * bufferlist.C:
3694         * bufferview_funcs.C:
3695         * converter.C:
3696         * importer.C:
3697         * lyx_cb.C:
3698         * lyx_gui.C:
3699         * lyx_main.C:
3700         * lyx_find.C:
3701         * lyxfunc.C:
3702         * lyxvc.C:
3703         * minibuffer.C:
3704         * text.C:
3705         * text2.C:
3706         * trans.C:
3707         * vc-backend.C: move LyX/XFormsView into frontends/
3708
3709 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
3710
3711         * Makefile.am:
3712         * PainterBase.C:
3713         * PainterBase.h:
3714         * Painter.C:
3715         * Painter.h:
3716         * WorkArea.C:
3717         * WorkArea.h:
3718         * screen.C:
3719         * tabular.C:
3720         * text.C:
3721         * text2.C: move Painter to frontends/
3722
3723 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3724
3725         * buffer.C: comment out some some code that depend upon lyx_format
3726         < 220
3727
3728         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3729         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3730
3731         * buffer.h (NO_COMPABILITY): turn off compability
3732
3733         * ColorHandler.C: include scoped_array.hpp
3734
3735         * font.C: Use more specific smart_ptr header.
3736         * Painter.C: ditto
3737         * gettext.C: ditto
3738         * ShareContainer.h: ditto
3739         * lyx_main.h: ditto
3740         * kbmap.h: ditto
3741         * FontInfo.h: ditto
3742         * BufferView_pimpl.h: ditto
3743         * ColorHandler.h: ditto
3744
3745         * kbmap.C (defkey): change call to shared_ptr::reset
3746
3747 2002-05-21  Juergen Vigna  <jug@sad.it>
3748
3749         * buffer.C (insertErtContents): fix to insert ert asis if it is
3750         non empty. Skip it completely if it contains only whitespaces.
3751
3752 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
3753
3754         * BufferView_pimpl.C:
3755         * BufferView2.C: clear selection on paste (bug 393)
3756
3757 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3758
3759         * DepTable.C: include ctime
3760
3761 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
3762
3763         * buffer.C (latexParagraphs): Add new argument (moving_arg).
3764
3765 2002-05-14  Juergen Vigna  <jug@sad.it>
3766
3767         * text.C (breakParagraph): fixed function to honor the keepempty
3768         layout in the right maner and also to permit the right breaking
3769         algorithm on empty or non empyt keepempty paragraphs.
3770
3771         * paragraph.C (breakParagraph): we have to check also if the par
3772         is really empty (!size()) for isempty otherwise we do the wrong
3773         paragraph break.
3774
3775 2002-05-10  Juergen Vigna  <jug@sad.it>
3776
3777         * buffer.[Ch] : The following are only changes to the ert
3778         compatibility read reading old LaTeX layout and font stuff and
3779         convert it to ERTInsets.
3780
3781         * buffer.h: added isErtInset().
3782
3783         * buffer.C (struct ErtComp): add a fromlayout bool to check
3784         if we're inside a LaTeX layout.
3785         (isErtInset): new helper function.
3786         (insertErtContents): look for other ert insets before this one
3787         and insert the contents there, so that we don't have subsequent
3788         ERT insets with nothing between them. This way we create only one
3789         inset with multiple paragraphs. Also check if we don't insert only
3790         spaces ' ' as they are ignored anyway afterwards in the .tex file
3791         so if we have only spaces we will ignore this latex part in the
3792         new file.
3793         (parseSingleLyXformat2Token \\layout): better compatibility when
3794         reading layout-latex stuff.
3795         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3796         language tag.
3797         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3798         stuff after reading the inset only get the information back from
3799         the stack.
3800
3801 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
3802
3803         * buffer.C (makeLaTeXFile): Put language options after loading babel.
3804
3805         * LaTeXFeatures.C (getBabelOptions): New method.
3806
3807 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3808
3809         * BufferView_pimpl.C (Dispatch): work around missing argument for
3810         'layout'
3811
3812 2002-05-08  Juergen Vigna  <jug@sad.it>
3813
3814         * text.C (leftMargin): handle paragraph leftindent.
3815
3816         * paragraph.C (writeFile): write the new \\leftindent tag.
3817         (validate): handle leftindent code.
3818         (TeXEnvironment): handle paragraphleftindent code again.
3819
3820         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3821
3822         * buffer.C (parseSingleLyXformat2Token): added compatibility code
3823         for paragrap_extra indent code and new token \\leftindent.
3824         (latexParagraphs): handle the leftindent as environment.
3825
3826         * ParameterStruct.h: added leftindent support.
3827
3828         * ParagraphParameters.C (leftIndent): added support functions for
3829         the paragraph left indent.
3830
3831         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3832         more appropriate.
3833
3834 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
3835
3836         * paragraph.C (isRightToLeftPar): Return false for a paragraph
3837         inside insetERT.
3838
3839         * text.C (computeBidiTables): No bidi in insetERT.
3840
3841         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3842         in RTL documents.
3843
3844 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3845
3846         * version.C.in: pre 5
3847
3848 2002-05-02  José Matos  <jamatos@fep.up.pt>
3849         * buffer.C (makeDocBookFile): white space changes, add newline to
3850         command styles.
3851         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3852
3853         * tabular.C (docBook): fix typo.
3854
3855 2002-05-03  Juergen Vigna  <jug@sad.it>
3856
3857         * screen.C (drawFromTo): recalculate the rowpointer if we had a
3858         change in LyXText as we can not be sure it was not freed.
3859         (drawOneRow): remove unused code.
3860
3861         * text.C (drawInset): redo the calculation of the need_break_row as
3862         it could have a row which was already freed.
3863         (draw): look at the return value of drawInset and return false if
3864         it also returned false.
3865         (paintRowText): look at the return value of draw and return false if
3866         it also returned false.
3867
3868         * lyxtext.h: added bool return type to drawInset() and draw() so that
3869         if we have a change in the row so that the rowbreak has to be redone
3870         we abort drawing as it will be called again.
3871
3872 2002-05-02  Juergen Vigna  <jug@sad.it>
3873
3874         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3875         a change in the maintext also if we're inside an inset.
3876         (Dispatch): set the cursor again after a break line and after the
3877         screen has been updated as it could be we're in a different row.
3878
3879         * text2.C (fixCursorAfterDelete): check to make sure we don't request
3880         to set the cursor behind the pargraph with > size().
3881         (setCursor): check also for the same paragraph when checking where
3882         to put the cursor if we have a NFR inset.
3883
3884         * buffer.C (parseSingleLyXformat2Token): move the compatibility
3885         parts of layout read further up as it still was in the wrong
3886         position.
3887
3888 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3889
3890         * screen.C (drawFromTo): change sine fullRebreak always return
3891         true.
3892
3893         * buffer.C (parseSingleLyXformat2Token): reindent some
3894
3895         * BufferView_pimpl.C (update): change since fullRebreak always
3896         return true.
3897         (Dispatch): git rid of the last hardcoded "Standard"s.
3898
3899 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3900
3901         * text2.[Ch] (fullRebreak): make it return void now that we always
3902         returned true.
3903
3904 2002-04-30  Juergen Vigna  <jug@sad.it>
3905
3906         * buffer.C (parseSingleLyXformat2Token): reset the font before the
3907         ert compatibility check for "latex" layout.
3908
3909 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
3910
3911         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3912         minipages: use col% instead of p%, and also use the current font.
3913         (makeLaTeXFile): Fix use babel condition.
3914         (parseSingleLyXformat2Token): Correct font when reading old floats.
3915
3916 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
3917
3918         * BufferView_pimpl.C (Dispatch): Check that float type exists when
3919         inserting list of floats.
3920
3921 2002-04-25  Herbert Voss  <voss@lyx.org>
3922
3923         * MenuBackend.C (expand): don't add the graphics extensions to the
3924         export menu
3925
3926 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3927
3928         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3929         non-existing layout, do not complain if it was the default layout
3930         of the original class (bug #342)
3931
3932 2002-04-24  Juergen Vigna  <jug@sad.it>
3933
3934         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3935         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3936
3937 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
3938
3939         * buffer.C (getBibkeyList): If using \bibliography, return the
3940         option field with the reference itself. Enables us to provide natbib
3941         support when using \bibliography.
3942
3943 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
3944
3945         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3946
3947         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3948         natbib is provided by the LaTeX class.
3949
3950 2002-04-23  Juergen Vigna  <jug@sad.it>
3951
3952         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3953         Wakeup functions.
3954
3955         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3956
3957 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3958
3959         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3960
3961         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3962         ensuremath around textordmasculine, textordfeminine and
3963         textdegree.
3964
3965 2002-04-19  Juergen Vigna  <jug@sad.it>
3966
3967         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3968         reinitializing the buffer otherwise row-dimensions may be wrong.
3969         (update): reset also the selection cursors if they do exits otherwise
3970         their x/y positions may be wrong.
3971
3972         * text2.C (cursorDown): don't enter the inset if we came from a row
3973         above and are one row over the inset.
3974
3975         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3976         really leaving an inset.
3977
3978 2002-04-18  Juergen Vigna  <jug@sad.it>
3979
3980         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3981         of the selected paragraph does not have the selected layout also if
3982         the last one had!
3983
3984         * text2.C (setLayout): fixed bug which did not change last selected
3985         paragraph.
3986
3987         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3988         changed the read and substituted \\end_float with \\end_inset!
3989
3990         * BufferView_pimpl.C (cursorPrevious):
3991         (cursorNext): fixed to make it work with rows heigher than the work
3992         area without moving the cursor only the draw of the row.
3993         (workAreaMotionNotify): fix jumping over high rows.
3994
3995 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3996
3997         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3998         Ressler.
3999
4000 2002-04-16  Juergen Vigna  <jug@sad.it>
4001
4002         * text2.C (setCursor): set also the irow().
4003         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4004         (cursorUp):
4005         (cursorDown): support for locking an inset if the x_fix value goes
4006         inside it. That way I can transverse insets too with cursor up/down.
4007
4008         * lyxrow.h: added irow helper function same as other (i) functions.
4009
4010         * BufferView_pimpl.C (cursorPrevious):
4011         (cursorNext): fixed for insets!
4012
4013 2002-04-15  Juergen Vigna  <jug@sad.it>
4014
4015         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4016         position otherwise it is wrong in some cases.
4017
4018         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4019         inside the inset before the call.
4020
4021 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
4022
4023         * buffer.[Ch] (getBibkeyList): make it const.
4024
4025 2002-04-12  Juergen Vigna  <jug@sad.it>
4026
4027         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4028
4029         * text2.C (getCursorX): new helper function
4030         (setCursor): compute also ix_
4031         (setCursorFromCoordinates): set also ix.
4032
4033         * lyxcursor.h: added ix_ and helper functions.
4034
4035         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4036
4037         * buffer.C (insertStringAsLines): dont break paragraph if the this
4038         paragraph is inside an inset which does not permit it!
4039
4040         * text.C (breakParagraph): honor keepempty flag and break the paragraph
4041         also with no chars on this paragraph.
4042         (paintRowText): only paint stuff if it's inside the workarea!
4043
4044         * paragraph.C (breakParagraph): honor keepempty flag and break the
4045         paragraph always below not above.
4046
4047         * BufferView2.C (unlockInset): update the paragraph layout on inset
4048         unlock as we changed paragraph in such a case.
4049
4050         * lyxfind.C (LyXFind): clear the former selection if not found!
4051
4052         * text2.C (insertInset): freeze Undo after setUndo so that it is not
4053         again called in insertChar().
4054
4055         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4056         an inset which uses the whole row!
4057         (rightMargin): ditto.
4058         (insertChar): force a rebreak if we inserted an inset!
4059
4060 2002-03-28  Herbert Voss  <voss@lyx.org>
4061
4062         * lyxlength.[Ch]: add inBP() to get the right PS-point
4063         units (BigPoint). With inPixels we have rounding errors
4064
4065 2002-04-11  Juergen Vigna  <jug@sad.it>
4066
4067         * text2.C (setCursorFromCoordinates): set iy to the right value.
4068         (setCursor): add check if row->previous exists!
4069
4070         * buffer.C (parseSingleLyXformat2Token): reset font after read of
4071         an old float_type as this was the case in the old code!
4072
4073         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4074
4075         * BufferView2.C (showLockedInsetCursor): use iy
4076         (fitLockedInsetCursor): ditto
4077
4078         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4079         locked insets as there we have the right value now.
4080
4081         * lyxcursor.C: added iy_ variable and iy functions to set to the
4082         baseline of cursor-y of the locked inset.
4083
4084         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4085         (setCursor): fixed for insets which need a full row.
4086
4087         * text.C (rowLastPrintable): don't ignore the last space when before
4088         an inset which needs a full row.
4089         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4090         as last character of a row when before a inset which needs a full row.
4091
4092 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4093
4094         * version.C.in: update date
4095
4096         * text2.C (fullRebreak): try to always return true and see what
4097         happens...
4098
4099 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4100
4101         * MenuBackend.C (expand): use Floating::listName
4102
4103         * FloatList.C (FloatList): add listName argument to the built-in
4104         floats
4105
4106         * Floating.[Ch]: add listName member, which is the 'List of XXX'
4107         text associated with the float.
4108
4109 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4110
4111         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4112
4113 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4114
4115         * ShareContainer.h: add a couple of missing typenames.
4116
4117 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
4118
4119         * lyxrc.C (getDescription): use _() correctly rather than N_().
4120
4121 2002-03-28  Herbert Voss  <voss@lyx.org>
4122
4123         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4124         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4125
4126 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4127
4128         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4129         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4130
4131 2002-03-29  Juergen Vigna  <jug@sad.it>
4132
4133         * lyxfunc.C (dispatch): add a missing fitCursor call.
4134
4135         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4136         it was scrolled by a cursor move, so return the bool status.
4137
4138         * BufferView.C (fitCursor): return the bool flag also to the outside
4139         world as this is needed.
4140
4141         * screen.C (toggleToggle): don't subtract the offset if it's positive.
4142
4143         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4144         call the edit() as it is not needed (and wrong) IMO.
4145         (workAreaButtonPress): set the screen_first variable before evt.
4146         unlock the inset as this may change screen_first and then we have
4147         a wrong y position for the click!
4148
4149 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4150
4151         * MenuBackend.C (expand): another translation that I missed
4152
4153 2002-03-28  Juergen Vigna  <jug@sad.it>
4154
4155         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4156
4157         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4158
4159 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4160
4161         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4162
4163         * MenuBackend.C (expand): fix export/view/update when there is no
4164         document open.
4165
4166 2002-03-27  Herbert Voss  <voss@lyx.org>
4167
4168         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4169         and text%
4170
4171 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4172
4173         * bufferview_funcs.C (currentState): only show paragraph number
4174         for is DEVEL_VERSION is set.
4175
4176         * lyxfunc.C (dispatch): put warning in INFO channel
4177
4178         * MenuBackend.C (expand): translate the name of floats
4179
4180         * FloatList.C (FloatList): mark the float names for translation
4181
4182         * converter.C (convert): use LibScriptSearch
4183
4184 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4185
4186         * MenuBackend.C (defaults): fix default menu (we might as well get
4187         rid of it...)
4188
4189 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4190
4191         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4192         directory.
4193
4194 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4195
4196         * lyxvc.C: reorder includes.
4197
4198 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
4199
4200         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4201           properly
4202
4203 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
4204
4205         * CutAndPaste.C: change layouts earlier on paste
4206           to avoid crashing when calling getFont()
4207
4208 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
4209
4210         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4211         irritating #error.
4212
4213 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4214
4215         * WorkArea.C: remove 'Pending' debug message.
4216
4217         * most files: ws cleanup
4218
4219         * buffer.[Ch]: ws changes
4220
4221         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4222
4223 2002-03-21  Juergen Vigna  <jug@sad.it>
4224
4225         * tabular.C (SetMultiColumn): collapse also the contents of the
4226         cells and set the last border right. Added a Buffer const * param.
4227
4228 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4229
4230         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4231         linking or not.
4232
4233 2002-03-19  Juergen Vigna  <jug@sad.it>
4234
4235         * text2.C (clearSelection): reset also xsel_cache.
4236
4237         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4238         where it needs to be called (John tells us to do so too :)
4239         (selectionLost): reset sel_cache.
4240
4241         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4242
4243 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4244
4245         * text2.C (setCursorIntern): put debuging code in INSETS channel
4246
4247 2002-03-19  André Pönitz <poenitz@gmx.net>
4248
4249         * lyxfunc.C: tiny whitespace change
4250
4251 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4252
4253         * ToolbarDefaults.C (init):
4254         * LyXAction.C (init):
4255         * commandtags.h:
4256         * BufferView_pimpl.C (Dispatch):
4257         * lyxfunc.C (dispatch): remove LFUN_DEPTH
4258
4259 2002-03-19  Allan Rae  <rae@lyx.org>
4260
4261         * exporter.C (Export): removeAutoInsets before doing anything else.
4262         While I've just introduced a dependency on BufferView this really is
4263         the best place to clean the buffer otherwise you need to cleanup in
4264         a dozen places before calling export or cleanup in a dozen functions
4265         that export calls.
4266
4267         * converter.C (runLaTeX):
4268         (scanLog): Better handling of removeAutoInsets and screen updates.
4269
4270         * lyxfunc.C (dispatch): small whitespace changes
4271
4272 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4273
4274         * WorkArea.C (C_WorkAreaEvent): return a value.
4275         (event_cb): return 1 if we handled the event, 0 otherwise.
4276
4277         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4278
4279 2002-03-18  Juergen Vigna  <jug@sad.it>
4280
4281         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4282         (GetAdditionalWidth): ditto.
4283         (RightLine): ditto.
4284         (LeftLine): ditto.
4285
4286         * BufferView2.C (copy): use getLyXText() so that we do it inside an
4287         inset if we're there actually (probably not used right now but this
4288         is the direction to go for unifying code).
4289         (paste): disable code to clear the selection.
4290
4291         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4292         inside an InsetText and move the check further up as it is in the
4293         wrong place.
4294
4295         * text2.C (pasteSelection): set a selection over the pasted text.
4296
4297 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
4298
4299         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4300         and libgraphics to build on Cygwin.
4301
4302 2002-03-15  Juergen Vigna  <jug@sad.it>
4303
4304         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4305         inserting an Inset into the paragraph. I know this is not the best
4306         fix but we already use current_view in CutAndPaste so we will remove
4307         all of it's using at the same time.
4308
4309         * buffer.C (sgmlError): deactivated function till it is rewritten in
4310         the right mode, now it can create problems.
4311
4312         * paragraph.C (isLineSeparator): check if getInset returns != 0,
4313         before accessing it.
4314
4315 2002-03-14  Juergen Vigna  <jug@sad.it>
4316
4317         * undo_funcs.C (textHandleUndo): do the right thing when updating
4318         the inset after the undo/redo.
4319
4320         * text2.C (setCursor): just some testcode for #44 not ready yet.
4321
4322         * undo_funcs.C (textHandleUndo): set the next() and previous()
4323         pointers of the paragraph to 0 before deleting otherwise we have
4324         problems with the Paragraph::[destructor].
4325
4326         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4327         on a paragraph insertion.
4328
4329 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4330
4331         * buffer.C (asciiParagraph): use += operator for char append to
4332         string.
4333
4334         * paragraph.C (getFontSettings): compare >= not just >
4335         (highestFontInRange): ditto
4336         (setFont): ditto
4337
4338 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4339
4340         * paragraph.C: change several algorithm to be more appripriate for
4341         the problem domain. This is lookip in FontList and in the InsetList.
4342
4343 2002-03-13  André Pönitz <poenitz@gmx.net>
4344
4345         * commandtags.h:
4346         * LyXAction.C: remove unused LFUN_MATH_MACROARG
4347
4348 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
4349
4350         * commandtags.h:
4351         * LyXAction.C:
4352         * lyxfunc.C:
4353         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4354
4355 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4356
4357         * Painter.C (display): anon helper function, adjust code for this
4358         change.
4359         (pixmap): remove function.
4360
4361         * Painter.h: remove private display variable.
4362
4363         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4364
4365 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
4366
4367         * WorkArea.[Ch]: remove figinset_canvas cruft.
4368
4369 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4370
4371         * lyxtextclass.C (operator): add one item cache optimization.
4372
4373         * bufferlist.h: doxy changes
4374
4375         * bufferlist.C: ws changes
4376
4377         * DepTable.[Ch] (ext_exist): place const in the right spot.
4378
4379         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4380         call resizeInsets.
4381         (workAreaExpose): call resizeInsets when the with BufferView changes.
4382         (Dispatch): adjust for protectedBlank removal
4383         (specialChar): call updateInset if the insert went ok.
4384
4385         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4386         specialChar instead.
4387
4388         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4389
4390         * BufferView.h: doxy change
4391
4392         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4393
4394         * lyxtextclass.C (operator[]): remove non-const version
4395         (defaultLayout): remove non-const version
4396
4397 2002-03-12  Juergen Vigna  <jug@sad.it>
4398
4399         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4400         did resize the LyXText too.
4401
4402         * buffer.C (readLyXformat2): set layout information on newly allocated
4403         paragraphs.
4404
4405         * tabular.C (OldFormatRead): set layout information on the paragraph.
4406
4407 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4408
4409         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4410
4411 2002-03-11  Juergen Vigna  <jug@sad.it>
4412
4413         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4414         plainly wrong.
4415         (resizeCurrentBuffer): force also the insets to resize themselfes.
4416         (moveCursorUpdate): fixed up for InsetText.
4417
4418 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
4419
4420         * commandtags.h:
4421         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4422         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4423         value of Dialogs::tooltipsEnabled().
4424         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4425
4426 2002-03-08  Juergen Vigna  <jug@sad.it>
4427
4428         * BufferView_pimpl.C (updateInset): update inset inside inset also
4429         if it isn't inside theLockingInset().
4430
4431 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4432
4433         * buffer.C (asciiParagraph): redo some of the word and line length
4434         handling.
4435         (getLists): look for Caption instead of caption.
4436
4437 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4438
4439         * buffer.C (Buffer): initialize niceFile to true
4440         (makeLaTeXFile):
4441         (makeLinuxDocFile):
4442         (makeDocBookFile): make sure niceFile is true on exit
4443
4444 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4445
4446         * buffer.C (makeLaTeXFile): escape ~ in \input@path
4447
4448 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
4449
4450         * LyXSendto.C: remove.
4451         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4452         * lyx_gui.C: remove now-redundant comment.
4453         * ColorHandler.h: remove forward declaration of class WorkArea.
4454         * lyxfunc.C: remove #include "WorkArea.h".
4455
4456 2002-03-07  Juergen Vigna  <jug@sad.it>
4457
4458         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4459         got moved away with the DEPM and also set the inset_owner always
4460         right which before could have been omitted.
4461
4462 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4463
4464         * buffer.C (parseSingleLyXformat2Token): use default layout is the
4465         wanted layout is not found.
4466
4467 2002-03-07  Juergen Vigna  <jug@sad.it>
4468
4469         * CutAndPaste.C (cutSelection): another layout settings forgotten.
4470
4471 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4472
4473         * paragraph.C (breakParagraph): use default layout not layout of
4474         prev paragraph.
4475         (Paragraph): clear ParagraphParameters.
4476
4477 2002-03-06  Juergen Vigna  <jug@sad.it>
4478
4479         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4480         otherwise it would not be a valid lenght. Fixed a special case in
4481         the minipage compatibility read where we end the document with a
4482         minipage.
4483
4484         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4485         was set as it could be 0 for InsetTexts first entry.
4486
4487 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4488
4489         * paragraph.C (writeFile): if layout is empty write out
4490         defaultLayoutName().
4491
4492         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4493         file without named layout we set layout to defaultLayoutName().
4494
4495 2002-03-06  Juergen Vigna  <jug@sad.it>
4496
4497         * CutAndPaste.C (copySelection): set layout for new paragraph.
4498
4499         * text.C (prepareToPrint): leave ERT inset left aligned
4500         (leftMargin): don't indent paragraphs inside ERT insets
4501
4502 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4503
4504         * paragraph.C (breakParagraph): dont call clear do the work manually
4505
4506         * paragraph.[Ch] (clear): remove function
4507
4508 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4509
4510         * paragraph.C (Paragraph): dont call clear, the work has already
4511         been done.
4512
4513         * lyxtextclass.C (operator): assert if n is empty
4514
4515         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4516         work manually instead.
4517
4518 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
4519
4520         * BufferView_pimpl.C: protect selectionLost against text == 0
4521
4522 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4523
4524         * text.C (breakParagraph): fix a setting layout to '0' problem.
4525
4526 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4527
4528         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4529         final location of file, for the included files, and graphics.
4530
4531 2002-03-05  Juergen Vigna  <jug@sad.it>
4532
4533         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4534
4535 2002-03-04  Juergen Vigna  <jug@sad.it>
4536
4537         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4538
4539         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4540         last column of multicolumn cells.
4541         (SetWidthOfMulticolCell): recalculate NMC and real columns.
4542
4543 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
4544
4545         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4546         file if it doesn't go to a temporary file.
4547
4548         * buffer.C (sgmlOpenTag):
4549         (sgmlCloseTag):  remove extra newline insertion.
4550
4551 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4552
4553         * text.C (getRowNearY): comment out debug msg
4554
4555 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4556
4557         * text2.C: first -> first_y
4558
4559         * text.C (getRowNearY): add some attemts at a possible
4560         optimization, not working.
4561
4562         * tabular.[Ch]: add BufferParams to several function so that newly
4563         created paragraph can be initialized to he default layotu for the
4564         buffers textclass.
4565
4566         * tabular-old.C (ReadOld): add buf->params to call of Init
4567
4568         * screen.C: rename text->first to text->first_y
4569
4570         * paragraph.C (breakParagraph): always set layout in the broken
4571         paragraph
4572
4573         * lyxtextclass.C (Read): remove lowercase
4574         (hasLayout): ditto
4575         (operator): ditto
4576         (delete_layout): ditto
4577
4578         * lyxtext.h: rename first -> first_y
4579
4580         * lyxlayout.C (Read): remove lowercase
4581         (name): ditto
4582         (setName): ditto
4583         (obsoleted_by): ditto
4584
4585         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4586
4587         * buffer.C (insertErtContents): add params are to InsetERT
4588         (parseSingleLyXformat2Token): add code to check if a paragraphs
4589         layout really exist.
4590         (parseSingleLyXformat2Token): add params to several inset
4591         constructors
4592         (asciiParagraph): remove lowercase, do the layout comparisons with
4593         no_case
4594
4595         * BufferView_pimpl.C (cursorNext): first -> first_y
4596         (resizeCurrentBuffer): first -> first_y
4597         (updateScrollbar): first -> first_y
4598         (scrollCB): first -> first_y
4599         (workAreaMotionNotify): first -> first_y
4600         (workAreaButtonPress): first -> first_y
4601         (checkInsetHit): first -> first_y
4602         (cursorPrevious): first -> first_y
4603         (cursorNext): first -> first_y
4604         (Dispatch): add buffer_->params to severl inset contructors
4605
4606 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4607
4608         * lyxlayout.C (Read): remove some debug info that I forgot.
4609
4610         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4611         clean up the code slightly.
4612         (makeLinuxDocFile): ditto
4613         (makeDocBookFile): ditto
4614
4615         * text2.C: layout as string
4616
4617         * text.C: layout as string
4618
4619         * paragraph_pimpl.C: layout as string
4620
4621         * paragraph.[Ch]: layout as string
4622
4623         * lyxtextclasslist.[Ch]: layout as string
4624
4625         * lyxtextclass.[Ch]: layout as string
4626
4627         * lyxtext.h: layout as string
4628
4629         * lyxlayout.[Ch]: layout as string
4630
4631         * lyx_cb.C: layout as string
4632
4633         * bufferview_funcs.C: layout as string
4634
4635         * bufferparams.C: layout as string
4636
4637         * buffer.C: layout as string
4638
4639         * LyXView.[Ch]: layout as string
4640
4641         * LaTeXFeatures.[Ch]: layout as string
4642
4643         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4644
4645         * BufferView_pimpl.C: change current_layout to string, remove
4646         lyx::layout_type.
4647         (Dispatch):
4648         (smartQuote):
4649         (insertInset):
4650         (workAreaButtonRelease): layout as string
4651
4652         * BufferView2.C (unlockInset): adjust
4653
4654         * vspace.C (asLatexCommand): use an explict temp variable.
4655
4656 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
4657
4658         * Makefile.am: use FRONTEND_*
4659
4660 2002-03-01  Juergen Vigna  <jug@sad.it>
4661
4662         * tabular.C (SetWidthOfMulticolCell): changed to something better
4663         I hope but still work in progress.
4664         (recalculateMulticolumnsOfColumn): renamed function from
4665         recalculateMulticolCells as it is more appropriate now.
4666         (SetWidthOfCell): calculate multicols better.
4667
4668 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4669
4670         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4671
4672         * lyxfunc.C (processKeySym): print sequence also if it is
4673         `deleted' (complete)
4674
4675         * kbsequence.C (print): print sequence even if it is deleted
4676         (complete would be a better word, actually).
4677
4678         * lyxfunc.C (dispatch): print complete options after a prefix key
4679
4680         * vspace.C (asLatexCommand): rewrite in a slightly different form.
4681
4682 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
4683
4684         * text2.C (setCharFont): eliminate setCharFont code duplication.
4685
4686 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4687
4688         * BufferView_pimpl.C (Dispatch): remove bogus handling of
4689         LFUN_TABULAR_FEATURE (bug #177)
4690
4691 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
4692
4693         * Makefile.am: remove figure.h
4694
4695 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
4696
4697         * Bufferview_pimpl.C:
4698         * CutAndPasteC:
4699         * LaTeX.C:
4700         * LyXSendto.C:
4701         * buffer.C:
4702         * bufferlist.C:
4703         * converter.C:
4704         * language.C:
4705         * lyxfunc.C:
4706         * lyxvc.C:
4707         * paragraph.C:
4708         * text.C:
4709         * text2.C: remove #include "lyx_gui_misc.h".
4710
4711         * LaTeX.C: added #include <cstdio>
4712
4713 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4714
4715         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4716         that the paragraph following this one can have.
4717
4718         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4719
4720         * vspace.C (asLatexCommand): fix bogus gcc warning
4721
4722         * Makefile.am (lyx_SOURCES): remove vms_defines.h
4723
4724 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
4725
4726         * text2.C (setLayout): get rid of redundant code
4727
4728 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
4729
4730         * text2.C (incDepth): make sure depth cannot be increased beyond
4731         reasonable values.
4732
4733 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
4734
4735         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4736         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4737
4738         * PainterBase.h (image):
4739         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4740         a LyXImage const *.
4741
4742 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
4743
4744         * BufferView.C:
4745         * BufferView.h:
4746         * BufferView_pimpl.C:
4747         * BufferView_pimpl.h:
4748         * LaTeXFeatures.C:
4749         * LyXAction.C:
4750         * LyXView.C:
4751         * Makefile.am:
4752         * UpdateList.h:
4753         * UpdateList.C:
4754         * buffer.C:
4755         * figure.h:
4756         * figureForm.C:
4757         * figureForm.h:
4758         * figure_form.C:
4759         * figure_form.h:
4760         * lyx_cb.C:
4761         * lyx_gui.C:
4762         * lyx_gui_misc.C:
4763         * lyxfunc.C:
4764         * sp_base.h:
4765         * sp_ispell.h:
4766         * sp_pspell.h:
4767         * sp_spell.C: remove fig inset, and the crap house of
4768           cards that follows it
4769
4770 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
4771
4772         * Makefile.am:
4773         * lyxserver.C:
4774         * os2_defines.h:
4775         * os2_errortable.h:
4776         * nt_defines.h: move .h into support/
4777
4778         * vms_defines.h: remove
4779
4780         * WorkArea.C: add space in debug output
4781
4782         * text2.C:
4783         * paragraph.C:
4784         * buffer.C: add WITH_WARNINGS
4785
4786         * vc-backend.h:
4787         * vc-backend.C:
4788         * bufferlist.C: s/retrive/retrieve/, add docs
4789
4790         * vspace.h:
4791         * vspace.C:
4792         * kbmap.h:
4793         * lyxlength.h:
4794         * lyxgluelength.h:
4795         * length_common.h:
4796         * chset.h:
4797         * chset.C: add docs
4798
4799         * lyxgui.C: add ID to X error handler
4800
4801         * lyxtestclass.c: fix typo
4802
4803 2002-02-26  Juergen Vigna  <jug@sad.it>
4804
4805         * tabular_funcs.C (write_attribute): changed so that some default
4806         attributes are not written at all.
4807         (getTokenValue): set default values before trying to read the
4808         value so we have the return value always set as default if we don't
4809         find the token we search for.
4810
4811         * tabular.C (Write): write bools as bools not as strings!
4812
4813 2002-02-22  Juergen Vigna  <jug@sad.it>
4814
4815         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4816         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4817
4818         * text.C (leftMargin): don't add an indent for paragraphs inside
4819         tabular cells (fix #208).
4820
4821 2002-02-21  José Matos  <jamatos@fep.up.pt>
4822
4823         * tabular.C (docBook): fixed support for long tables.
4824
4825 2002-02-20  Juergen Vigna  <jug@sad.it>
4826
4827         * text2.C (getFont): get the drawing font of the Inset if this
4828         paragraph is inside an inset (only important for InsetERT for now).
4829
4830         * buffer.C (insertErtContents): use new lanugage params in ERT
4831         constructor.
4832
4833         * CutAndPaste.C: commenting out seemingly uneeded code.
4834
4835 2002-02-19  Allan Rae  <rae@lyx.org>
4836
4837         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4838         Iterators might be simple to use but they also get invalidated.
4839         (removeAutoInsets): renamed saved cursor tracking variables and added
4840         some comments to clarify what everything does.
4841
4842 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
4843
4844         * Chktex.C:
4845         * LaTeX.C:
4846         * LyXSendto.C:
4847         * converter.C:
4848         * lyx_cb.C:
4849         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4850         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4851
4852         * lyxfunc.C:
4853         * vc-backend.h: remove #include "support/syscall.h"
4854
4855         * LaTeX.C:
4856         * LyXSendto.C:
4857         * converter.C: rearrange #includes in Lars' approved fashion.
4858
4859         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4860         forward declare class Timeout in the header file.
4861
4862         * XFormsView.C: changes due to the above.
4863
4864         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4865         similar to LyXView.
4866
4867         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4868         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4869
4870 2002-02-18  José Matos  <jamatos@fep.up.pt>
4871
4872         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4873         insets contents.
4874
4875 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
4876
4877         * a lot of small ws changes
4878         * add a lot of using std::XXX
4879         * use std construcs some places where approp.
4880         * use some exisint stuff from lyxfunctional where approp.
4881         * Make file changes to use partial linking (lets test this now...)
4882
4883 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
4884
4885         * Chktex.C:
4886         * buffer.C:
4887         remove #include "support/syscontr.h" as it's redundant. Always has been.
4888
4889         * Chktex.C:
4890         * LaTeX.C:
4891         * LyXSendto.C:
4892         * converter.C:
4893         * lyx_cb.C:
4894         * vc-backend.C:
4895         change Systemcalls::System to Systemcalls::Wait and
4896         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4897         No change of functionality, just reflects the stripped down Systemcalls
4898         class.
4899
4900 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
4901
4902         * debug.[Ch]: add a GRAPHICS type to the enum.
4903
4904 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4905
4906         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4907
4908         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4909         there is an inset.
4910
4911 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4912
4913         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4914         match the changes below.
4915
4916         * text2.C (toggleInset): if there is not editable inset at cursor
4917         position, try to see if cursor is _inside_ a collapsable inset
4918         and close it.
4919
4920 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4921
4922         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4923         document menu has a nice checkbox
4924
4925 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4926
4927         * lyxlength.C (asLatexString): change PW to output as percent of
4928         \textwidth.
4929
4930         * lengthcommon.C: change '%' to 't%'
4931
4932         * lyxfunc.C (dispatch): a few comments from Martin
4933
4934 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
4935
4936         * WorkArea.h:
4937         * WorkArea.C:
4938         * BufferView_pimpl.h:
4939         * BufferView_pimpl.C: clear our selection when X tells us we've lost
4940           the X selection.
4941
4942 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4943
4944         * vspace.C (inPixels): fix compiler warning
4945
4946 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4947
4948         * lyxfunc.C (getStatus): fix status message for disabled commands.
4949
4950 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
4951
4952         * BufferView_pimpl.C: fix crash on close buffer
4953         during selection (#227)
4954
4955 2002-01-27  Herbert Voss  <voss@lyx.org>
4956
4957         * buffer.C: link old Figure to new graphic inset
4958
4959 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
4960
4961         * FontLoader.C (getFontinfo): Change the latex font names in order
4962         to match the names of type1inst.
4963
4964 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4965
4966         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4967
4968         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4969         (extchanged): ditto
4970         (ext_exist): ditto
4971         (remove_files_with_extension): ditto
4972         (remove_file): ditto
4973         (write): ditto
4974
4975         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4976         document is smaller than the work area height. Do not initialize
4977         static variables to 0.
4978
4979 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4980
4981         * lyx_gui.C (init): give the toolbar tooltips a normal font.
4982
4983         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4984         LFUN_LAYOUT_PARAGRAPHS.
4985
4986         * tabular.C (GetCellFromInset): new method. Finds an inset in a
4987         tabular. It is possible to provide a possible cell, which will
4988         typically be the actcell from the corresponding insettabular
4989
4990         * lyxfunc.C (getStatus): small cleanup; disable
4991         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4992         true
4993
4994 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4995
4996         * tabular.C (Validate): remove broken optimization (fixes bug #201)
4997
4998         * paragraph.C (startTeXParParams):
4999         (endTeXParParams): new methods. The LaTeX code to
5000         start/end paragraph formatting
5001         (simpleTeXOnePar): call startTeXParParams also when paragraph is
5002         empty (fixes bug #200)
5003
5004         * vspace.C (inPixels): adapt to the change below
5005         (inPixels): [later] more cleanups (remove unused variables)
5006
5007         * lyxlength.C (inPixels): change to use a width and a height as
5008         parameter.
5009
5010 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5011
5012         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5013         Replaced with \paperwidth
5014
5015         * DepTable.C (insert): add std:: qualifier
5016
5017 2002-01-18  Allan Rae  <rae@lyx.org>
5018
5019         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
5020         updated also?
5021
5022         * text.C (drawInset): Turned out I didn't know enough about how
5023         rebreaking worked.  This fixes most of the redraw problems.  I see
5024         an occasional cursor trail when a line is broken now and the cursor
5025         placement can seem out by a few pixels also after a rebreak.
5026
5027 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5028
5029         * buffer.C (parseSingleLyXformat2Token): update because minipage
5030         width is now a LyXLength
5031
5032         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5033
5034         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5035         math insets
5036
5037 2002-01-17  Juergen Vigna  <jug@sad.it>
5038
5039         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5040
5041         * BufferView2.C (lockInset): call edit() so that theLockingInset()
5042         is set correctly and the inset is updated correctly.
5043
5044 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5045
5046         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5047         the beginning of the loop.
5048
5049 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
5050
5051         * lyxrc.C: improve help for use_scalable_fonts
5052
5053 2002-01-17  Allan Rae  <rae@lyx.org>
5054
5055         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5056
5057 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5058
5059         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5060         make sure to set their inset_owner to the right value (bug #171)
5061
5062 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
5063
5064         * DepTable.h
5065         * DepTable.C: Implement mtime checking to reduce time spent doing
5066         CRCs.
5067
5068 2002-01-16  Juergen Vigna  <jug@sad.it>
5069
5070         * tabular.C (GetAdditionalHeight): one of error fixed.
5071
5072         * lyxrc.C (output): small fix in writing use_pspell.
5073
5074 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
5075
5076         * sp_base.h: #include LString.h
5077
5078 2002-01-16  Allan Rae  <rae@lyx.org>
5079
5080         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
5081         Can someone check this please?
5082
5083         * text.C (drawInset): It was possible that p.row would be removed by
5084         breakAgainOneRow upsetting a few other settings.  There may be another
5085         small tweak possible by setting need_break_row = 0 when p.row has been
5086         removed but I don't know enough about the logic here.
5087
5088 2002-01-15  Allan Rae  <rae@lyx.org>
5089
5090         * text.C (insertChar): removed conditional truism.
5091
5092         * BufferView2.C (removeAutoInsets): More tweaks.
5093         cur_par_prev could be a stray pointer.  Check for trailing empty line
5094         in case last line was cur_par and only had an error inset on it.
5095
5096 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5097
5098         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5099         absolute
5100
5101         * vc-backend.C (most methods):
5102         * exporter.C (Export):
5103         * converter.C (convert):
5104         (runLaTeX):
5105         * LyXSendto.C (SendtoApplyCB):
5106         * lyxfunc.C (dispatch):
5107         (menuNew):
5108         (open):
5109         (doImport):
5110         * lyx_cb.C (AutoSave):
5111         (InsertAsciiFile):
5112         * BufferView_pimpl.C (MenuInsertLyXFile):
5113         * buffer.C (runChktex): use Buffer::filePath().
5114
5115         * buffer.h: rename filename to filename_; rename filepath to
5116         filepath_ and make it private
5117         (filePath): new method
5118
5119         * buffer.C (writeFile): use fileName()
5120         (getLatexName):
5121
5122         * lyx_main.C (init): fix starting  of LyX when the binary is a
5123         link from so,ewhere else.
5124
5125         * minibuffer.C: include <cctype> for isprint
5126
5127 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5128
5129         * buffer.C (parseSingleLyXformat2Token): changes associated with the
5130         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5131         name clash with InsetCollapsable's width function.
5132
5133 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5134
5135         * lastfiles.C: include <iterator>
5136
5137 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5138
5139         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5140         std::count.
5141
5142         * buffer.C (makeLaTeXFile): ditto.
5143         Also make loop operation more transparent.
5144
5145 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
5146
5147         * ToolbarDefaults.C: remove trailing comma closing namespace.
5148
5149         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5150
5151         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5152         as in WorkArea.
5153
5154         * trans.C (Load): comment out unused variable, allowed.
5155
5156 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
5157
5158         * minibuffer.[Ch] (append_char): new method to recieve input from the
5159         drop-down completion browser. If a key was pressed, then recieve this
5160         char and append it to the existing string.
5161         (peek_event): modify the positioning data passed to the completion
5162         browser so that it can be placed above the minibuffer rather than below.
5163 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5164
5165         * LyXAction.C (init): alloe error-next for readonly documents.
5166
5167         * BufferView2.C (ChangeRefsIfUnique): use standard version of
5168         count.
5169
5170 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5171
5172         * bufferlist.C (readFile): create the buffer _after_ checking that
5173         the file exists.
5174
5175         * lyxfunc.C (verboseDispatch): fix handling of arguments
5176
5177         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5178
5179         * lyxrc.C: use string::erase() instead of initializing to "".
5180
5181
5182 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5183
5184         * BufferView_pimpl.h:
5185         * BufferView_pimpl.C:
5186         * WorkArea.h:
5187         * WorkArea.C:
5188         * text2.C: tell X when we have made a selection for copying
5189
5190 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5191
5192         * BufferView_pimpl.C (MenuInsertLyXFile):
5193         * lyxfunc.C (menuNew):
5194         (open):
5195         (doImport): add shortcuts to directory buttons
5196
5197         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5198         open a float)
5199
5200         * lyxfunc.C (setStatusMessage):
5201         (getStatusMessage): new methods
5202         (getStatus):use setStatusMessage instead of setErrorMessage
5203         (dispatch): when function is disabled, set error message here
5204         [instead of in getStatus previously]
5205
5206         * BufferView_pimpl.C (workAreaButtonRelease): update
5207         toolbar/menubar here too.
5208
5209 2002-01-13  Allan Rae  <rae@lyx.org>
5210
5211         * BufferView2.C (removeAutoInsets): finished off earlier fix.
5212         Now seems indestructible.  Remaining task is to audit all other
5213         code affected by deleteEmptyParagraphMechanism.  One small quirk
5214         left is that an empty document with an error in the preamble can
5215         be made to report an error but no error box appears.  I don't know
5216         where it goes.
5217         (removeAutoInsets): Improved comments.
5218
5219 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
5220
5221         * Thesaurus.h:
5222         * Thesaurus.C: update for Aiksaurus 0.14
5223
5224 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5225
5226         * text2.C (firstParagraph): removed member function, all uses
5227         replaces with ownerParagraph
5228         (redoParagraphs): here
5229         (updateInset): here
5230         (toggleAppendix): here
5231         * BufferView2.C (insertErrors): here
5232         (setCursorFromRow): here
5233
5234 2002-01-13  Allan Rae  <rae@lyx.org>
5235
5236         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5237         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5238         There is still a way to segfault this although you may have to do this
5239         multiple times: Have an InsetERT with an unknown command in it.
5240         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5241         <down-arrow>, <Enter> again, View->DVI, BANG!
5242
5243         * text2.C (setCursor):
5244         (deleteEmptyParagraphMechanism):
5245         * lyxtext.h (setCursor):
5246         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5247         Making use of the return value may help fix other bugs.
5248
5249 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5250
5251         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5252
5253         * LyXView.C (updateMenubar): call MenuBar::update here
5254         (updateToolbar): but not here
5255         (showState): do not update toolbar/menubar
5256
5257         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5258         should need to care about that.
5259
5260         * lyxfunc.C (verboseDispatch): simplify a bit
5261         (getStatus): have a version which takes a pseudoaction, and
5262         another which requires a (kb_action,string).
5263
5264         * LyXAction.C (retrieveActionArg): make it work also when action
5265         is not a pseudo-action.
5266         (getActionName): simplify a bit
5267         (helpText):
5268
5269 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5270
5271         * lyxfunc.C (verboseDispatch): new families of methods with
5272         several ways to specify a command and a bool to indicate whether
5273         the command name and shortcut should be displayed in minibuffer
5274         (eventually, we could extend that to a finer bitmask like
5275         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5276         (dispatch): the pristine dispatch command which just, well,
5277         dispatchs! Note it still sets its result to minibuffer; I'm not
5278         sure we want that.
5279
5280         * lyxfunc.h: remove setHintMessage
5281
5282         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5283
5284 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5285
5286         * BufferView_pimpl.C (specialChar): delete new inset if we have
5287         not been able to insert it.
5288
5289         * kbmap.C: revert to using int instead of kb_action, since all we
5290         are dealing with is pseudo-actions.
5291
5292         * LyXAction.C (searchActionArg): change to return int instead of
5293         kb_action, since the result is a pseudoaction.
5294
5295 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
5296
5297         * buffer.C (insertErtContents): Fix (partially) the font bug.
5298
5299 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
5300
5301         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5302         as the other one is broken on my machine!
5303
5304 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
5305
5306         * commandtags.h:
5307         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5308
5309 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
5310
5311         * lyxrc.[Ch]: change names and descriptions of popup font variables to
5312         reflect their actual use. Provide compatibility code for older lyxrc
5313         files.
5314
5315         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5316         FL_NORMAL_STYLE.
5317         change names of popup font variables in line with the changes to lyxrc.C
5318
5319 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5320
5321         * buffer.C (asciiParagraph): avoid outputing a word twice after
5322         an inset.
5323
5324         * lyxrc.C (getDescription): document that document_path and
5325         template_path can be empty.
5326
5327 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5328
5329         * LaTeXFeatures.C (getMacros):
5330         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5331
5332         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5333
5334         * LaTeXFeatures.C (useFloat): require "float" here instead of in
5335         getPackages.
5336         (getPackages): rename feature "floats" to "float". Use an array to
5337         iterate over 'simple' features (i.e. just a \usepackage). Add
5338         handling of "amsmath" (renamed from "amsstyle").
5339
5340 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
5341
5342         * LaTeXFeatures.C (require): Prevent duplicate entries in the
5343         features list.
5344
5345 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
5346
5347         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5348         FuncStaus::FuncStatus & FuncStaus::some_method().
5349
5350 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
5351
5352         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5353         of the func_satus stuff. Edited and massaged in various ways by
5354         JMarc.
5355
5356         * lyxfunc.C (getStatus): use FuncStatus
5357
5358 2002-01-08  Juergen Vigna  <jug@sad.it>
5359
5360         * text.C (nextBreakPoint): use function Inset::isChar().
5361
5362         * paragraph.C (TeXOnePar): use function
5363         Inset::forceDefaultParagraphs.
5364
5365         * buffer.C (latexParagraphs): use function
5366         Inset::forceDefaultParagraphs.
5367
5368 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5369
5370         * lyx_gui.C (init): set the style of the menu popups to
5371         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5372
5373 2002-01-07  Juergen Vigna  <jug@sad.it>
5374
5375         * text.C (setHeightOfRow): small fix
5376         (prepareToPrint): don't look at alignment if we don't have the place
5377         for doing it.
5378
5379 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5380
5381         * box.C: New file. Move the Box methods and functions out of box.h,
5382         following Lars' suggestion.
5383
5384 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
5385
5386         * box.h: #include "support/LOstream.h", needed for inlined function.
5387
5388         * lyxtextclass.C:
5389         * lyxtextclasslist.C: added some using std declarations.
5390
5391 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
5392
5393         * box.h: make signed dimensions to allow insets wider than
5394           the screen (bug #162)
5395
5396         * BufferView_pimpl.C: add some insetHit debug
5397
5398 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
5399
5400         * vc-backend.C: add FIXME
5401
5402 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5403
5404         * lyxfunc.C (getStatus): enable code for showing math font status
5405         in toolbar/menu.
5406
5407 2002-01-07  Juergen Vigna  <jug@sad.it>
5408
5409         * text.C (nextBreakPoint): removed debug output not needed anymore.
5410
5411 2002-01-06  Juergen Vigna  <jug@sad.it>
5412
5413         * text.C (nextBreakPoint): fixed up this function we had this bug
5414         since ever but now hopefully we break row better.
5415         (insertChar): we have to check if an inset is the next char as it
5416         could now happen that a large inset is causing a break.
5417
5418 2002-01-05  Juergen Vigna  <jug@sad.it>
5419
5420         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5421         if it doesn't like to be drawed.
5422
5423 2002-01-04  Juergen Vigna  <jug@sad.it>
5424
5425         * BufferView2.C (lockInset): forgot to set a cursor.
5426
5427         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5428
5429 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
5430
5431         * FormMathsPanel.C:
5432         * FormMathsPanel.h
5433         * MathsSymbols.C:
5434         * form_maths_panel.C:
5435         * form_maths_panel.h:
5436         * form_maths_panel.fd: implemented sub- and super- buttons in math
5437         panel.
5438
5439         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5440         (or ^ space) to be used as in TeX (req'd by André).
5441
5442         * lyxfunc.C: Allow ^ and _ again to be used both as
5443         super/subscript (mathed) and as themselves (in text).
5444
5445 2002-01-03  Allan Rae  <rae@lyx.org>
5446
5447         * LyXView.C (updateWindowTitle): Setup a short icon title of either
5448         "LyX" or the filename of the current buffer if it has one.  This is a
5449         modified form of John Levon's patch.
5450
5451         * XFormsView.C (setWindowTitle): also set icon title.
5452
5453         * LyXView.h (setWindowTitle): signature changed.
5454         * XFormsView.h (setWindowTitle): ditto.
5455
5456 2002-01-02  Juergen Vigna  <jug@sad.it>
5457
5458         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5459
5460 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5461
5462         * screen.C (topCursorVisible): introduce a temp var for
5463         text->cursor.row(), handle the case where this row is null. (kindo
5464         hachish)
5465
5466         * text2.C (setCursor): add a couple of asserts.
5467
5468         * paragraph.h (inset_iterator): add -> operator
5469
5470         * paragraph.[Ch] (autoDeleteInsets): remove member function
5471
5472         * BufferView2.C (removeAutoInsets): rewrite to handle the old
5473         cursor pos correctly and handle inset deletion by itself.
5474         (insertErrors): move iterator declaration out of for expression
5475
5476         * lyxtextclass.C: add <algorithm>
5477
5478         * Makefile.am: added the new files to sources, removed layout.C
5479
5480         * layout.C: removed file
5481
5482         * layout.h: remove LYX_DUMMY_LAYOUT
5483
5484         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5485         layout.
5486
5487         * lyxlayout.[Ch]:
5488         * lyxtextclass.[Ch]:
5489         * lyxtextclasslist.[Ch]: new files
5490
5491         * include order changes to a lot of files, also changes because of
5492         the six new files.
5493
5494 2001-12-27  Juergen Vigna  <jug@sad.it>
5495
5496         * buffer.C (asciiParagraph): more fixes.
5497
5498         * tabular.C (ascii): make ascii export support export of only the
5499         data separated by a column-delimiter.
5500         (ascii): better support for ascii export.
5501
5502         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5503
5504 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5505
5506         * tabular_funcs.C: use a "using std::getline" instead of the
5507         previous fix from Angus (necessary for cxx + lyxstring)
5508
5509 2001-12-24  Juergen Vigna  <jug@sad.it>
5510
5511         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5512
5513         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5514         problems. First check a minipage also if we have some ert-contents
5515         (not only on par->size(), second set the right depth of the paragraph
5516         on the relink to the root-paragraph-list!
5517
5518         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5519         which then did not anymore update the main paragraphs on undo/redo!
5520
5521 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5522
5523         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5524         code. Support all font-changing funcs (even those which are not in
5525         menu currently). Support for reporting font settings in
5526         mathed (disabled until Andre provides a function on mathed's side).
5527
5528         * func_status.h (toggle): small helper function to set toggle
5529         state on a flag.
5530
5531 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
5532
5533         * tabular_funcs.C: getline -> std::getline
5534
5535 2001-12-21  Juergen Vigna  <jug@sad.it>
5536
5537         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5538         accessed and could be 0 (I couldn't generate this but it seems
5539         Michael could!).
5540
5541 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5542
5543         * tabular_funcs.C: add LIstream.h, move write_attribute to..
5544         * tabular_funcs.h: here and include iosfwd
5545
5546 2001-12-20  Juergen Vigna  <jug@sad.it>
5547
5548         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5549         inside inset but undo_par was.
5550
5551 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5552
5553         * Thesaurus.C: always include <config.h> in sources.
5554
5555         * Painter.h:
5556         * lyxlookup.h:
5557         * box.h: do not include <config.h> in header files
5558
5559         * text.C (paintLastRow): remove unused variable
5560
5561         * text.C (transformChar):
5562         (insertChar):
5563         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5564
5565         * Painter.C (text):
5566         * font.C (width): rewrite to use uppercase() instead of
5567         islower/toupper.
5568
5569         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5570
5571 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
5572
5573         * lyxfind.C: clean up of find failure position change
5574
5575 2001-12-20  Juergen Vigna  <jug@sad.it>
5576
5577         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5578
5579         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5580         (TeXRow): added to LaTeX a single tabular row.
5581         (TeXLongtableHeaderFooter): added to output LT-h/f data.
5582         (Latex): simplified and finally good LT-h/f support.
5583         (various_functions): just small adaptions for LT-h/f support.
5584
5585         * tabular_funcs.[hC]: added and moved here all not classfunctions
5586         of LyXTabular.
5587
5588 2001-12-19  Juergen Vigna  <jug@sad.it>
5589
5590         * tabular.[Ch]: better support for longtabular options (not finished
5591         yet!)
5592
5593 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5594
5595         * text.C (paintLastRow): use the label font instead of the font of
5596         the last character to compute the size of *_BOX. This makes more
5597         sense and avoids a crash with empty paragraphs.
5598         Use Painter::rectangle to draw EMPTY_BOX.
5599
5600 2001-12-19  Juergen Vigna  <jug@sad.it>
5601
5602         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5603         the paragraphs if the replaced paragraph is not the first one!
5604         Tried to delete not used paragraphs but does not work yet so for
5605         now it's inside #ifdef's and by default off!
5606
5607 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5608
5609         * MenuBackend.C: include "lyx_main.h" instead of declaring
5610         lastfiles (actually was declared as LastFiles* instead of a
5611         scoped_ptr).
5612
5613 2001-12-17  Juergen Vigna  <jug@sad.it>
5614
5615         * tabular.C (AppendColumn): applied John's fix
5616
5617 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
5618
5619         * BufferView.h:
5620         * BufferView.C:
5621         * BufferView_pimpl.h:
5622         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5623
5624         * Makefile.am:
5625         * box.h: new start of class for above
5626
5627         * lyxfunc.C: ignore space-only minibuffer dispatches.
5628           Show the command name when it doesn't exist
5629
5630         * minibuffer.C: don't add empty lines to the history
5631
5632         * minibuffer.C: add a space on dropdown completion
5633
5634 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
5635
5636         * text.C: fix line above/below drawing in insets
5637
5638 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5639
5640         * lyxlength.C (LyXLength): Initialize private variables.
5641
5642 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
5643
5644         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5645         when inserting error insets.
5646
5647 2001-12-13  Juergen Vigna  <jug@sad.it>
5648
5649         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5650         actually sometimes the before-paragraph.
5651         (setUndo): don't clear the redostack if we're not actually undoing!
5652
5653 2001-12-06  Juergen Vigna  <jug@sad.it>
5654
5655         * undo_funcs.C (textHandleUndo): well after John's hint I got here
5656         and fixed redoing of main paragraph, so we can use it now ;)
5657
5658         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5659
5660 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5661
5662         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5663         Juergen's request
5664
5665 2001-12-13  André Pönitz <poenitz@gmx.net>
5666
5667         * undostack.[Ch]:
5668         * undo_func.C: minor cleanup
5669
5670 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5671
5672         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5673         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5674         font in urw-fonts package which is marked as -urw-fontspecific and
5675         does not work (incidentally, changing the encoding in the
5676         fonts.dir of this package to -adobe-fontspecific fixes the
5677         problem).
5678
5679         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5680         is a crash when undoing first paragraph (Juergen, please take a
5681         look). THis does not mean the undo fix is wrong, just that it
5682         uncovers problems.
5683
5684         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5685         the (Paragraph*) version when needed instead of duplicating the
5686         code.
5687
5688         * text.C (workWidth): use Inset::parOwner to find out where the
5689         inset has been inserted. This is a huge performance gain for large
5690         documents with lots of insets. If Inset::parOwner is not set, fall
5691         back on the brute force method
5692
5693         * paragraph_pimpl.C (insertInset):
5694         * paragraph.C (Paragraph):
5695         (cutIntoMinibuffer): set parOwner of insets when
5696         inserting/removing them
5697
5698         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5699
5700 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
5701
5702         * commandtags.h:
5703         * LyXAction.C:
5704         * lyx_main.C:
5705         * lyxfunc.C:
5706         * mathed/formulabase.C:
5707         * mathed/math_cursor.[Ch]:
5708         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5709
5710
5711 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5712
5713         * lyxlength.[Ch] (operator!=): new function
5714
5715 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5716
5717         * text.C (workWidth): use Inset::parOwner to find out where the
5718         inset has been inserted. This is a huge performance gain for large
5719         documents with lots of insets. If Inset::parOwner is not set, fall
5720         back on the brute force method
5721
5722         * paragraph_pimpl.C (insertInset):
5723         * paragraph.C (Paragraph):
5724         (cutIntoMinibuffer): set parOwner of insets when
5725         inserting/removing them
5726
5727         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5728
5729 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5730
5731         * tabular-old.C (getTokenValue):
5732         * tabular.C (getTokenValue):
5733         (write_attribute): new versions for LyXLength
5734         (everywhere): adjust the use of widths
5735
5736         * tabular.h: change the type of widths from string to LyXLength
5737
5738 2001-12-11  Ben Stanley <bds02@uow.edu.au>
5739
5740         * paragraph.C: fixed missing line number count when exporting
5741         Environments to LaTeX file
5742
5743         * buffer.C: added informational message for checking line numbers.
5744
5745 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5746
5747         * text2.C (deleteEmptyParagraphMechanism): if there is only one
5748         paragraph, do the 'double space' part, but not the 'empty
5749         paragraph' one.
5750
5751         * text.C (workWidth): small optimization
5752         (getLengthMarkerHeight): use minimal size for negative lengths.
5753
5754 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
5755
5756         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5757
5758         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5759
5760 2001-12-11  André Pönitz <poenitz@gmx.net>
5761
5762         * FontLoader.C:
5763         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5764
5765 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5766
5767         * text2.C: keep selection on a setFont()
5768
5769 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5770
5771         * lyx_cb.C: another bv->text misuse, from insert label
5772
5773 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
5774
5775         * kbsequence.h:
5776         * kbsequence.C: re-instate nmodifier mask
5777
5778 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
5779
5780         * lyx_main.h: make lyxGUI private.
5781
5782 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
5783
5784         * lyxfind.C: place the cursor correctly on failed search
5785
5786 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5787
5788         * text.C (getLengthMarkerHeight): for small heights, the arrows
5789         are not always on top/bottom of the text
5790         (drawLengthMarker): smaller arrows; take the left margin in
5791         account; draw also vfills.
5792         (paintFirstRow):
5793         (paintLastRow): remove special code for vfill and standard spaces,
5794         since everything is handled in drawLengthMarker now.
5795
5796 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5797
5798         * buffer.C (insertErtContents): try to handle font and language
5799         interaction a bit better.g
5800
5801         * ColorHandler.C (updateColor): change the hash to cover the whole
5802         LColor enum, ws cleanup
5803         (getGCLinepars): ditto
5804         (getGCLinepars): only lookup in the linecache once.
5805
5806 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
5807
5808         * iterators.C (operator++): Make the iterator more robust
5809
5810         * BufferView2.C (removeAutoInsets): Use paragraph iterators
5811         (John's patch)
5812         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5813
5814 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5815
5816         * lyxtext.h:
5817         * text.C: better added space drawing
5818
5819 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5820
5821         * LyXView.C:
5822         * BufferView2.C: fix layout combo update on inset unlock
5823
5824 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5825
5826         * Makefile.am: don't compile unused files
5827
5828 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5829
5830         * lyxfunc.C:
5831         * commandtags.h:
5832         * LyXAction.C: remove old LFUN_LAYOUTNO
5833
5834 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5835
5836         * paragraph_pimpl.h:
5837         * paragraph_pimpl.C: isTextAt() doesn't need font param
5838
5839 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5840
5841         * lyxlex.h:
5842         * lyxlex.C: little cleanup
5843
5844 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
5845
5846         * BufferView_pimpl.C: fix insertAscii for insets
5847
5848 2001-12-05  Juergen Vigna  <jug@sad.it>
5849
5850         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5851         set the right font on the "multi" paragraph paste!
5852
5853 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5854
5855         * trans_decl.h:
5856         * trans_mgr.[Ch]:
5857         * trans.[Ch]:
5858         * lyxgluelength.C:
5859         * lyxlength.C: remove out-commented code.
5860
5861         * BufferView_pimpl:
5862         * CutAndPaste.C:
5863         * DepTable.C:
5864         * buffer.C:
5865         * chset.C:
5866         * lastfiles.C:
5867         * lyxlex.C:
5868         * lyxlex_pimpl.C:
5869         * lyxserver.C:
5870         * screen.C:
5871         * tabular-old.C:
5872         * tabular.C:
5873         * text.C:
5874         * trans_mgr.C:
5875         * vc-backend.C: change "while(" to "while ("
5876
5877         * lyxlength.[Ch]: add zero function to check if length is zero or
5878         not
5879         * lyxgluelength.C: use it
5880
5881 2001-12-05  Allan Rae  <rae@lyx.org>
5882
5883         * lyxlength.C: Attempted a fix for the abs(int) header selection.
5884         Works for 2.95.3, from what I understand of Garst's reports this should
5885         work for other g++ versions.  We're screwed if the abs(int) definition
5886         changed between bugfix releases of gcc.
5887
5888 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
5889
5890         * text.C: fix chapter label offset !
5891
5892 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
5893
5894         * lyxtext.h:
5895         * text.C: fix hfill at end of line, clean up
5896
5897 2001-12-04  Juergen Vigna  <jug@sad.it>
5898
5899         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5900         that we force an update of the inset and it's owners if neccessary.
5901
5902 2001-12-03  Juergen Vigna  <jug@sad.it>
5903
5904         * text.C (rowLast): simplified code
5905
5906 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
5907
5908         * lyxfunc.C: fix show options on timeout
5909
5910 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5911
5912         * screen.C (topCursorVisible): scroll half a page when the cursor
5913         reached top of bottom of screen
5914
5915 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
5916
5917         * minibuffer.C: deactivate on loss of focus
5918
5919 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5920
5921         * vspace.[Ch] (operator!=): add operator.
5922
5923 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
5924
5925         * BufferView_pimpl.C: refuse to open an inset when
5926         there's a selection.
5927
5928 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
5929
5930         * BufferView_pimpl.C: allow to click on RHS of full row insets
5931
5932 2001-11-30  Juergen Vigna  <jug@sad.it>
5933
5934         * tabular.C (LyXTabular): add a same_id to set the same id's in the
5935         insets for undo reasons.
5936
5937 2001-11-28  André Pönitz <poenitz@gmx.net>
5938
5939         * vspace.[Ch]: cosmetical changes
5940
5941 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
5942
5943         * LyXAction.h:
5944         * LyXAction.C:
5945         * lyxfunc.h:
5946         * lyxfunc.C:
5947         * kbmap.h:
5948         * kbmap.C:
5949         * lyxrc.C:
5950         * kbsequence.h:
5951         * kbsequence.C: part re-write of old kb code
5952
5953         * Painter.C:
5954         * WorkArea.C: remove Lgb_bug_find_hack
5955
5956 2001-11-30  José Matos <jamatos@fep.up.pt>
5957
5958         * buffer.C (makeDocBookFile): add a comment to point a hack.
5959         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5960         Fixed a double write of labels.
5961
5962 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5963
5964         * LaTeX.C:
5965         * LaTeX.h Fixed bug in LaTeX class where it would not
5966         re-run latex if no depfiles were changed, but the .dvi was removed.
5967
5968 2001-11-28  André Pönitz <poenitz@gmx.net>
5969
5970         * all the files from the change on 2001/11/26:
5971         use lyx::layout_type instead of LyXTextClass::size_type
5972         use lyx::textclass_type instead of LyXTextClassList::size_type
5973
5974 2001-11-29  Juergen Vigna  <jug@sad.it>
5975
5976         * text.C: added support for paragraph::isFreeSpacing()
5977
5978         * buffer.C: same as above
5979
5980         * paragraph.h: inserted isFreeSpacing() function to enable
5981         FreeSpacing inside InsetERT.
5982
5983         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5984         of the paragraph's in the cut/copy buffer to 0!
5985
5986         * text2.C (removeRow): remove the assert as it can!
5987
5988         * lyxtext.h: added helper function firstRow returning firstrow and
5989         made firstrow private again.
5990
5991         * BufferView2.C (lockInset): don't relock if we're already locked!
5992
5993         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5994         the only paragraph.
5995         (removeRow): added Assert::(firstrow)
5996
5997         * debug.C: forgot to add INSETTEXT here.
5998
5999 2001-11-28  Juergen Vigna  <jug@sad.it>
6000
6001         * sp_spell.C (initialize): changed error text to more general
6002         spellchecker command use (not only ispell!)
6003
6004         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6005
6006         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6007
6008 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
6009
6010         * vspace.C: initialise lyxgluelength on failure
6011
6012 2001-11-28  Allan Rae  <rae@lyx.org>
6013
6014         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6015         declaration & definition that looks like a function declaration.
6016
6017 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6018
6019         * BufferView2.C (copy):
6020         (copyEnvironment): do not clear the selection when doing a copy.
6021
6022         * text.C (paintFirstRow): compilation fix
6023
6024 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
6025
6026         * tabular.C (Latex): correct line count when writing latex.
6027
6028 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
6029
6030         * paragraph_pimpl.h:
6031         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6032           bug a bit
6033
6034 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
6035
6036         * text.C:
6037         * LColor.h:
6038         * LColor.C: change vfillline->added_space
6039
6040         * text.C: add markers and text for added space
6041
6042         * vspace.C: fix comment
6043
6044 2001-11-28  André Pönitz <poenitz@gmx.net>
6045
6046         * paragraph.C: whitespace changes
6047         * all the other files from the change on 2001/11/26:
6048         change *::pos_type into lyx::pos_type
6049
6050 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
6051
6052         * buffer.C (parseSingleLyXformat2Token): Set the language to the
6053         language of the document when inserting error insets.
6054
6055 2001-11-26  André Pönitz <poenitz@gmx.net>
6056
6057         * BufferView_pimpl.[Ch]:
6058         *       CutAndPaste.C:
6059         * buffer.[Ch]:
6060         * lyxcursor.[Ch]:
6061         * lyxfind.C:
6062         * lyxfunc.C:
6063         * lyxrow.[Ch]:
6064         * paragraph.[Ch]:
6065         * paragraph_pimpl.[Ch]:
6066         * sp_spell.C:
6067         * text.C:
6068         * text2.C: reduce header dependencies, introduce type for positions
6069
6070 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
6071
6072         * <various>: change to use Alert.h
6073
6074 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
6075
6076         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6077         when encountering an unknown token.
6078         (readLyXformat2): Show an error message if there were unknown tokens.
6079
6080 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
6081
6082         * BufferView2.C:
6083         * BufferView_pimpl.C:
6084         * buffer.C:
6085         * paragraph.h:
6086         * text.C:
6087         * text2.C: use par->isInset()
6088
6089 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
6090
6091         * paragraph_pimpl.h:
6092         * paragraph_pimpl.C: cleanup
6093
6094 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6095
6096         * text2.C (removeRow):
6097         * text.C (setHeightOfRow): remove useless (and costly) call to
6098         getRow.
6099
6100 2001-11-20  Allan Rae  <rae@lyx.org>
6101
6102         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6103         Now need Inset*::checkInsertChar() to return true for appropriate
6104         cases so that the characters in the minibuffer will actually be
6105         inserted.
6106
6107 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6108
6109         * text.C: change the order of the includes.
6110         (workWidth): initialize it at once.
6111         (workWidth): make maxw unsigned
6112         (setHeightOfRow): remove unused variable (inset)
6113         (selectSelectedWord): remove unused variable (inset)
6114         (paintRowText): fix drawing of hfill characters, and clean up a bit.
6115
6116 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6117
6118         * lyxserver.C (emergencyCleanup): do not try to close pipes if
6119         server is not running.
6120         (openConnection):
6121         (closeConnection): add debug info when server is disabled.
6122
6123         * ColorHandler.C (getGCForeground): send debug message to GUI
6124         channel.
6125
6126         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6127
6128         * kbmap.C (bind): modify because return conventions of
6129         kb_sequence::parse have changed.
6130
6131         * kbsequence.C (parse): only ignore spaces and not any stupid
6132         control character. This avoids tests like s[i] <= ' ', which are
6133         guaranteed to fail with 8bit characters and signed chars.
6134         Change return code to string::npos when there have been no error
6135         (0 was a bad idea when error is at first character)
6136
6137 2001-11-14  José Matos  <jamatos@fep.up.pt>
6138
6139         * buffer.h:
6140         * buffer.C (simpleDocBookOnePar): removed unused argument.
6141
6142 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6143
6144         * text.C (selectNextWordToSpellcheck): do not test explicitely for
6145         insets which are part of a word. Paragraph::isLetter takes care of
6146         that now. Use Paragraph::isInset to identify insets.
6147         (selectSelectedWord): do not test for hyphenation break.
6148
6149         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6150         that protected spaces are considered as spaces.
6151
6152         * paragraph.C (isLetter): cleanup the code for ispell extras; use
6153         Inset::isLetter.
6154
6155 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
6156
6157         * lyxserver.h:
6158         * lyxserver.C: fix it. and small cleanup.
6159
6160 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
6161
6162         * BufferView_pimpl.C: use inline helpers
6163
6164         * LaTeXFeatures.h:
6165         * LaTeXFeatures.C: fix typos
6166
6167         * Spacing.h:
6168         * Spacing.C: move spacing_string into class
6169
6170         * ToolbarDefaults.C: move stuff into namespace anon
6171
6172         * layout.h: update enum
6173
6174         * lyxfunc.C: use better debug
6175
6176         * minibuffer.h: fix typo
6177
6178         * debug.h:
6179         * debug.C:
6180         * WorkArea.C: add and use Debug::WORKAREA
6181
6182         * lyxtext.h:
6183         * text.C:
6184         * text2.C: code re-organisation, inline helpers
6185
6186 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
6187
6188         * Layout.C: replaced a few cases of std::vector.size() == 0 with
6189         std::vector.empty().
6190
6191 2001-11-09  Allan Rae  <rae@lyx.org>
6192
6193         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6194         '\n's after tables.  Tabular and ERT inset work now makes this no
6195         longer necessary.
6196
6197 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
6198
6199         * minibuffer.h:
6200         * minibuffer.C: fix crash, improve drop-down completion
6201
6202 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
6203
6204         * lyxserver.h:
6205         * lyxserver.C: invalidate fd's when doing endPipe()
6206
6207 2001-11-08  José Matos  <jamatos@fep.up.pt>
6208
6209         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6210         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6211
6212         * paragraph.h:
6213         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6214
6215 2001-11-07  José Matos  <jamatos@fep.up.pt>
6216
6217         * buffer.h:
6218         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6219         const qualifier.
6220
6221         * buffer.C (sgmlOpenTag):
6222         * buffer.C (sgmlCloseTag): removed debug info.
6223
6224         * buffer.h (sgmlOpenTag):
6225         * buffer.h (sgmlCloseTag): made public.
6226
6227 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6228
6229         * buffer.C (saveParamsAsDefaults):
6230         * lyx_cb.C (MenuLayoutSave): remove
6231
6232         * LyXAction.C (init):
6233         * commandtags.h:
6234         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6235
6236 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6237
6238         * buffer.C (setPaperStuff): removed from here...
6239
6240         * bufferparams.C (setPaperStuff): ... and moved there.
6241
6242 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
6243
6244         * minibuffer.h:
6245         * minibuffer.C:
6246         * XFormsView.C: add support for drop-down completion
6247
6248 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
6249
6250         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6251         commands.
6252
6253 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6254
6255         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6256         disabled.
6257
6258 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
6259
6260         * lyx_main.C: change ref to known bugs
6261
6262 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
6263
6264         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6265         to work around older babel problems.
6266
6267 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
6268
6269         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6270
6271 2001-10-24  Juergen Vigna  <jug@sad.it>
6272
6273         * tabular-old.C (ReadOld): below variable changes reflected.
6274
6275         * tabular.[Ch]: added ltType struct for longtable header/footer
6276         defines and changed all instances where they are used. Added
6277         future support for double top/bottom rows.
6278
6279 2001-10-24  José Matos  <jamatos@fep.up.pt>
6280
6281         * buffer.h (docbookHandleCaption):
6282         * buffer.C (docbookHandleCaption): removed unused function.
6283         (makeDocBookFile): moved docbook supported version to v4.1.
6284
6285 2001-10-24  José Matos  <jamatos@fep.up.pt>
6286
6287         * tabular.h:
6288         * tabular.C (docbookRow): new function to export docbook code of a row.
6289         (DocBook): now honors the longtable flags.
6290
6291 2001-10-23  José Matos  <jamatos@fep.up.pt>
6292
6293         * LaTeXFeatures.h:
6294         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6295         of the lyx defined sgml entities used in a docbook/linuxdoc document.
6296
6297         * buffer.C (makeLinuxDocFile):
6298         (makeDocBookFile): reworked the preamble, more clean, and with
6299         support for lyx defined entities. Changed the document declaration
6300         to be more XML friendly.
6301
6302         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6303         if we need to output XML that should be done with a filter.
6304
6305 2001-10-22  Juergen Vigna  <jug@sad.it>
6306
6307         * sp_pspell.h (class PSpell): add alive function needed in the
6308         controller to see if the spellchecker could be started.
6309
6310 2001-10-22  Juergen Vigna  <jug@sad.it>
6311
6312         * buffer.C (insertStringAsLines): modify the font for inserting
6313         chars in certain conditions by calling checkInsertChar(font).
6314
6315 2001-10-19  Juergen Vigna  <jug@sad.it>
6316
6317         * text.C (workWidth): use getRow instead of wrong algorithm.
6318         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6319
6320 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
6321
6322         * lyxserver.h:
6323         * lyxserver.C:
6324         * lyx_main.h:
6325         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6326
6327 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6328
6329         * text.C (workWidth): do not search for the exact row when
6330         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6331         optimization for big documents.
6332
6333 2001-10-18  Juergen Vigna  <jug@sad.it>
6334
6335         * text.C (workWidth): new function with added Inset * parameter.
6336
6337 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6338
6339         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6340
6341         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6342         change return type of getColumnNearX.
6343
6344
6345         * text.C (changeRegionCase): use uppercase/lowercase instead of
6346         toupper/tolower.
6347         (leftMargin):
6348         (rightMargin): simplify code by factoring out the uses of
6349         textclasslist.
6350         (labelFill):
6351         (numberOfHfills):
6352         (setHeightOfRow):
6353         (appendParagraph): use Paragraph::size_type
6354
6355 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6356
6357         * vspace.C (asLatexString): add a missing break
6358
6359 2001-10-15  Herbert Voss  <voss@perce.de>
6360
6361         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6362
6363 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6364
6365         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6366         is not available.
6367
6368 2001-10-10  André Pönitz <poenitz@gmx.net>
6369
6370         * lyxfunc.C: removed greek_kb_flag.
6371
6372 2001-10-10  Herbert Voss  <voss@perce.de>
6373
6374         * lyx_main.C: delete global string help_lyxdir.
6375
6376 2001-10-09  Herbert Voss  <voss@perce.de>
6377
6378         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6379
6380         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6381
6382         * lyx_main.C: added global string help_lyxdir.
6383
6384         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6385
6386 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6387
6388         * lyxrc.C (set_font_norm_type): support iso8859-4
6389
6390 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
6391
6392         * LaTeX.C (deplog): add another regex for MikTeX
6393
6394 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6395
6396         * lyxrc.C (set_font_norm_type): support iso8859-3
6397
6398 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6399
6400         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6401
6402         * LaTeXFeatures.C: remove special case of french and index
6403
6404         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6405         before \begin{document}). This solves several incompatibilities.
6406
6407 2001-10-03  Garst Reese  <reese@isn.net>
6408
6409         * lyx_cb.C: change CheckTex error msg.
6410
6411 2001-10-03  José Matos  <jamatos@fep.up.pt>
6412
6413         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6414
6415 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6416
6417         * .cvsignore: update
6418
6419         * lyx_main.C (commandLineVersionInfo): use new style version info.
6420
6421         * buffer.C (writeFile):
6422         (makeLaTeXFile):
6423         (makeLinuxDocFile):
6424         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6425
6426         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6427
6428         * version.h: update to use stuff in version.C
6429
6430         * version.C.in: new file. Contains version information determined
6431         at compile time. This is a merging of version.h and
6432         version_info.h.in.
6433
6434 2001-10-03  Juergen Vigna  <jug@sad.it>
6435
6436         * BufferView_pimpl.C (update): don't change "dirty" status in
6437         updateInset call.
6438
6439 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
6440
6441         * WorkArea.C (c-tor): re-position version string slightly.
6442
6443 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
6444
6445         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6446         revert to previous code.
6447
6448         WorkArea.[Ch]: (show, destroySplash): methods removed.
6449
6450         WorkArea.C: rework code so that it's an amalgam of the codes before and
6451         after the splash screen was moved to WorkArea.
6452
6453 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6454
6455         * lyxrc.C (read):
6456         * vspace.C (inPixels):
6457         (lyx_advance):
6458         * kbmap.C (bind):
6459         * buffer.C (insertStringAsLines):
6460         (asciiParagraph): fix types to be large enough
6461
6462         * lyxlex_pimpl.h: change member status from short to int
6463
6464         * layout.h: fix type of endlabeltype
6465
6466         * kbmap.C (bind):
6467         * kbsequence.C (parse): change return type to string::size_type
6468
6469         * LaTeX.C (updateBibtexDependencies): comment out unneeded
6470         variable
6471
6472         * Bullet.C (bulletSize):
6473         (bulletEntry): do not use short ints as parameters
6474
6475         * BufferView2.C (insertLyXFile): change a char to an int.
6476
6477         * WorkArea.C (WorkArea): remove unneeded floats in computation
6478
6479 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
6480
6481         * buffer.C (asciiParagraph): Treat '\\' as other chars.
6482
6483         * paragraph.C (asString): Do not ignore newline/hfill chars when
6484         copying to the clipboard.
6485
6486 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
6487
6488         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6489         after a multi-line inset.
6490
6491 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
6492
6493         * paragraph.C (validate): Set NeedLyXFootnoteCode
6494
6495 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
6496
6497         * lyxfont.C (LyXSizeNames): changed increase-error to increase
6498         and decrease-error to decrease.
6499
6500 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6501
6502         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6503         it more readable (should be equivalent)
6504
6505 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6506
6507         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6508
6509 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6510
6511         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6512         of a cursor (row, etc.) after a character has been deleted
6513         (deleteEmptyParagraphMechanism): call the method above on _all_
6514         cursors held by the LyXText when a double space has been
6515         detected/deleted.
6516
6517 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
6518
6519         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6520         pixmap.
6521         (resizeCurrentBuff): remove code to destroy the old splash dialog.
6522
6523         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6524         background. Use greyOut() and the new show() methods to toggle between
6525         the foreground and background. Add code to remove the splash after
6526         its initial showing.
6527
6528         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6529         (create_forms): no longer call Dialogs::showSplash.
6530
6531 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6532
6533         * .cvsignore: add version_info.h
6534
6535 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6536
6537         * version_info.h.in: new file
6538
6539         * Makefile.am: add version_info.h.in
6540
6541         * lyx_main.C (commandLineVersionInfo): use version_info defined in
6542         version_info.h instead of VERSION_INFO
6543
6544 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
6545
6546         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6547         The ERT inset now returns string().
6548
6549 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
6550
6551         * lyxtext.h, text.C (selectNextWord): renamed as
6552         selectNextWordToSpellcheck.
6553
6554         * text.C (selectNextWordToSpellcheck): Modified to not select
6555         words inside an ERT inset.
6556
6557 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6558
6559         * lyx_cb.C (MenuLayoutSave): change a bit the question
6560
6561         * sp_base.h: include <sys/types.h>
6562
6563 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
6564
6565         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6566
6567 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
6568
6569         * several files: fix typos in user-visible strings
6570
6571 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6572
6573         * text2.C (pasteSelection): do not set the selection, since it
6574         will be cleared later. Actually, the intent was to fix the way the
6575         selection was set, but I figured rmoving the code was just as good.
6576
6577 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
6578
6579         * FontLoader.C (available): Check if font is available without
6580         loading the font.
6581
6582 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6583
6584         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6585
6586 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
6587
6588         * lyxrc.[Ch]: added display_graphics variable and associated code.
6589
6590 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6591
6592         * bufferparams.C (hasClassDefaults): new method. Returns true if
6593         the buffer parameters correspond to known class defaults
6594
6595 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
6596
6597         * XFormsView.C (show): set minimum size to the main window.
6598
6599 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6600
6601         * text2.C (copySelection):
6602         (cutSelection):
6603         * lyxfind.C (LyXReplace):
6604         * BufferView_pimpl.C (Dispatch): pass the correct flag to
6605         LyXText::selectionAsString.
6606
6607         * paragraph.C (asString): add "label" argument to the second form
6608
6609         * text2.C (selectionAsString): add "label" argument and pass it to
6610         Paragraph::asString.
6611
6612 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6613
6614         * lyx_main.C (commandLineHelp): remove version information
6615
6616 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
6617
6618         * lyx_main.C: add -version commandline option
6619
6620 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6621
6622         * paragraph.h: make the optional constructor arg required instead.
6623         some modifications to other files because of this.
6624
6625         * minibuffer.C (C_MiniBuffer_peek_event): make it static
6626
6627         * lyxserver.C (C_LyXComm_callback): make it static
6628
6629         * lyx_main.C (error_handler): make it static
6630
6631         * lyx_gui.C (LyX_XErrHandler): make it static
6632
6633         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6634
6635         * WorkArea.C: make the extern "C" methods static.
6636
6637         * Makefile.am (lyx_LDADD): simplify
6638
6639 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6640
6641         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6642         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6643
6644         * LyXAction.C (init):
6645         * lyxfunc.C (dispatch): associated code removal.
6646
6647 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6648
6649         * lyxfont.h (isSymbolFont): shut off warning
6650
6651         * text.C (setHeightOfRow):
6652         (getVisibleRow): fix crash with empty paragraphs which have a
6653         bottom line
6654
6655 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
6656
6657         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6658         code.
6659
6660 2001-09-04  José Matos  <jamatos@fep.up.pt>
6661         * buffer.C
6662         * buffer.h
6663         * tabular.C (docbook): rename docBook method to docbook.
6664
6665 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6666
6667         * Makefile.am: add dependencies to main.o.
6668
6669 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
6670
6671         * FontLoader.C (available): Return false if !lyxrc.use_gui
6672
6673 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
6674
6675         * FontInfo.C (query):
6676         * converter.C (view):
6677         * importer.C (Import):
6678         * exporter.C (Export): Can not -> cannot.
6679
6680 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
6681
6682         * BufferView_pimpl.C: allow to create index inset even if
6683           string is empty
6684
6685 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
6686
6687         * buffer.C (getLists): replace boost::tie code with an explicit pair
6688         as boost::tie can break some compilers.
6689
6690         * iterators.h: Added a std:: declaration to the return type of
6691         ParIterator::size.
6692
6693 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
6694
6695         * lyxrc.C: add help for view_dvi_paper_option, default to safe
6696           case.
6697
6698 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
6699
6700         * iterators.[Ch]: New files. Provide paragraph iterators.
6701
6702         * buffer.C (changeLanguage): Use paragraph iterators.
6703         (isMultiLingual): ditto
6704
6705         * BufferView2.C (ChangeInsets): Use paragraph iterators.
6706
6707 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
6708
6709         * FontLoader.C: Support for cmr font.
6710
6711 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
6712
6713         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6714         (available): New method.
6715
6716         * FontInfo.C (getFontname): Use scalable fonts even when
6717         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6718         found.
6719
6720 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
6721
6722         * converter.C (Formats::view): reverted! Incorrect fix.
6723
6724 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
6725
6726         * converter.C (Formats::view): only output the -paper option
6727         if the dvi viewer is xdvi, thereby fixing bug #233429.
6728
6729 2001-08-23  Herbert Voss  <voss@perce>
6730
6731         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6732
6733 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6734
6735         * Spacing.h (Spacing): Set space to Default on in the default
6736         constructor.
6737
6738 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6739
6740         * vc-backend.h (RCS::versionString): add RCS to version
6741         (CVS::versionString): add CVS to version
6742
6743         * vc-backend.C (scanMaster): do not add CVS to version.
6744         (scanMaster): do not add RCS to version
6745
6746         * lyxvc.C (versionString): new method
6747
6748         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6749
6750 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6751
6752         * Spacing.C (set): initialize fval
6753
6754 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
6755
6756         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6757         " or \.
6758
6759 2001-08-16  Juergen Vigna  <jug@sad.it>
6760
6761         * lyxfunc.C (dispatch): implemented the new FINISHED states.
6762
6763 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
6764
6765         * BufferView_pimpl.C:
6766         * figureForm.C:
6767         * lyxtext.h:
6768         * text2.C: setParagraph takes linespacing now
6769
6770 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
6771
6772         * LyxAction.C: add internal LFUN_CITATION_INSERT
6773
6774         * LyXView.C: actually apply fix
6775
6776         * bufferlist.C: fix open non-existent file
6777
6778         * lyxfind.C: fix indentation
6779
6780         * lyxfunc.C: remove unneeded assert, fix typo
6781
6782 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
6783
6784         * MenuBackend.C: use "Floatname List"
6785
6786 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
6787
6788         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6789         when converting LaTeX layout to insetERT.
6790         Generate a non-collapsed float when reading old float
6791
6792 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
6793
6794         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6795         ERT insets.
6796
6797 2001-08-13  Juergen Vigna  <jug@sad.it>
6798
6799         * text.C (fill): return 0 instead of 20 as this seems to be the more
6800         correct value.
6801
6802 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
6803
6804         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6805         lyxrc.font_norm.
6806
6807 2001-08-13  Juergen Vigna  <jug@sad.it>
6808
6809         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6810         casesensitive off.
6811         (SearchBackward): comment out the unlocking of the inset_owner this
6812         should not be needed!
6813
6814 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
6815
6816         * Many files: Remove inherit_language, and add latex_language
6817
6818         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6819         collapsible insets.
6820
6821 2001-08-10  Juergen Vigna  <jug@sad.it>
6822
6823         * text.C (prepareToPrint): fixed hfill-width in draw!
6824
6825         * BufferView2.C (selectLastWord): save the selection cursor as this
6826         now is cleared in the function LyXText::clearSelection!
6827
6828 2001-08-08  Juergen Vigna  <jug@sad.it>
6829
6830         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6831         BACKSPACE type functions.
6832
6833         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6834         is only cutted from the document but not put in the cut-buffer, where
6835         still the old stuff should be.
6836
6837         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6838
6839         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6840
6841         * tabular.C (SetWidthOfCell): fixed special case where the width
6842         was not updated!
6843         (LeftLine): handle '|' in align_special.
6844         (RightLine): ditto
6845         (LeftAlreadyDrawed): ditto
6846         (SetWidthOfCell): ditto
6847
6848 2001-08-07  Juergen Vigna  <jug@sad.it>
6849
6850         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6851
6852 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6853
6854         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6855         * lyxlex.[hC]: ditto
6856
6857 2001-08-06  Juergen Vigna  <jug@sad.it>
6858
6859         * text.C (getVisibleRow): fix up row clearing a bit.
6860
6861 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6862
6863         * minibuffer.C: make sure the X server sees the changes in the input.
6864
6865 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6866
6867         * paragraph.C (getFont): split into...
6868         (getLabelFont): this
6869         (getLayoutFont): and this
6870         * paragraph_pimpl.C (realizeFont): calling this
6871
6872         * text2.C (getFont): split into...
6873         (getLayoutFont): this
6874         (getLabelFont): and this
6875         (realizeFont): all three calling this
6876
6877         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6878         files where used.
6879
6880 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6881
6882         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6883
6884 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
6885
6886         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6887         layouts from the Quote inset insertion.
6888
6889 2001-08-03  Juergen Vigna  <jug@sad.it>
6890
6891         * BufferView_pimpl.C (update): do the fitCursor only at the end!
6892
6893         * screen.C (drawFromTo): don't call fitcursor here and do the loop
6894         only if status not is already CHANGED_IN_DRAW (second level).
6895
6896         * text.C (draw): don't set the need_break_row when inside an
6897         InsetText LyXText.
6898
6899 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6900
6901         * buffer.C (parseSingleLyXformat2Token): handle more latex
6902         conversion cases.
6903
6904         * bufferview_funcs.[hC]: change function names to
6905         begin with small char, adjust other files.
6906
6907 2001-08-02  André Pönitz <poenitz@gmx.net>
6908
6909         * lyxfunc.C:
6910         BufferView_pimpl.C: remove broken special code for math-greek
6911
6912 2001-08-02  Juergen Vigna  <jug@sad.it>
6913
6914         * BufferView_pimpl.C (update): redone this function so that we
6915         update the text again if there was a CHANGE_IN_DRAW.
6916
6917         * screen.C (cursorToggle): removed LyXText parameter and recoded.
6918         (drawFromTo): added a new internal bool which is used by draw() and
6919         redraw() function.
6920         (general): some cursor drawing problems fixed.
6921
6922 2001-08-01  Juergen Vigna  <jug@sad.it>
6923
6924         * lyxfind.C (LyXFind): fixed
6925         (SearchForward): ditto
6926         (SearchBackward): ditto
6927
6928         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6929         spurius drawing of the cursor in the main area.
6930
6931         * text2.C (status): small fix which could lead to a segfault!
6932         (clearSelection): remove unneeded BufferView param.
6933
6934 2001-08-01  André Pönitz <poenitz@gmx.net>
6935
6936         * lyxfunc.C: small change due to changed mathed interface
6937
6938 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6939
6940         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6941
6942 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
6943
6944         * lyxfunc.c: fail gracefully if file doesn't exist
6945
6946         * LyXSendto.C:
6947         * buffer.C:
6948         * lyxfunc.C:
6949         * BufferView_pimpl.C: IsDirWriteable() proto changed
6950
6951         * LyXView.C: fix updateWindowTitle() to store the last title
6952
6953 2001-07-31  Juergen Vigna  <jug@sad.it>
6954
6955         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6956         the font (wrong since using of Paragraph::highestFontInRange).
6957
6958         * paragraph.C (highestFontInRange): added a default_size parameter.
6959
6960         * text.C (getVisibleRow): minor clear row changes (still not perfect).
6961         (setHeightOfRow): reformat
6962
6963 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6964
6965         * converter.[hC] + affected files: move to (inital-char)lowercase
6966         function names.
6967
6968         * ParagraphParameters.C (ParagraphParameters): remove commented code
6969
6970         * PainterBase.[Ch]: remove commented code
6971
6972         * LaTeXFeatures.h: add "bool floats" for float.sty
6973
6974         * LaTeXFeatures.C (LaTeXFeatures): init floats
6975         (require): handle float
6976         (getPackages): do it with floats
6977
6978 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6979
6980         * BufferView_pimpl.C (Dispatch): improve handling of
6981         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6982
6983         * commandtags.h: #include lyxfont.h here temporarily to avoid
6984         keybinding bug.
6985
6986         * bufferlist.h: include LString.h here.
6987
6988 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
6989
6990         * text2.C (getStringToIndex): new method.
6991
6992 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
6993
6994         * *: Reduced header file dependencies all over.
6995
6996 2001-07-30  Baruch Even  <baruch@lyx.org>
6997
6998         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6999
7000 2001-07-29  Baruch Even  <baruch@lyx.org>
7001
7002         * buffer.C (readInset): Changed GRAPHICS to Graphics.
7003
7004 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7005
7006         * ParameterStruct.h (endif): add a default constructor to make
7007         sure that all variables is initialized.
7008
7009         * ParagraphParameters.C (ParagraphParameters): adjust
7010
7011 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7012
7013         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7014         index; also, check that there is something to index, and that it
7015         does not span over several paragraphs.
7016         (doubleClick): use WHOLE_WORD_STRICT for double click.
7017
7018         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7019
7020         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7021         scheme.
7022
7023 2001-07-26  Baruch Even  <baruch@lyx.org>
7024
7025         * buffer.C (readInset): Changed to call up InsetGraphics when reading
7026         an InsetFig figure, backwards compatible reading of old figure code.
7027
7028 2001-07-27  Juergen Vigna  <jug@sad.it>
7029
7030         * text2.C: font.realize function adaption.
7031
7032         * text.C (draw): add a warnings lyxerr text if needed.
7033
7034         * layout.C: font.realize function adaption.
7035
7036         * language.C: add inherit_language and implement it's handlings
7037
7038         * bufferview_funcs.C (StyleReset): remove language parameter from
7039         font creation (should be language_inherit now).
7040
7041         * bufferparams.C (writeFile): handle ignore_language.
7042
7043         * paragraph.C (getFontSettings): the language has to be resolved
7044         otherwise we have problems in LyXFont!
7045
7046         * lyxfont.C (lyxWriteChanges): added document_language parameter
7047         (update): removed unneeded language parameter
7048
7049         * paragraph.C (validate): fixed wrong output of color-package when
7050         using interface colors for certain fonts in certain environments,
7051         which should not seen as that on the final output.
7052
7053 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
7054
7055         * BufferView_pimpl.C:
7056         * Thesaurus.h:
7057         * Thesaurus.C:
7058         * Makefile.am:
7059         * commandtags.h:
7060         * LyXAction.C: add thesaurus support
7061
7062         * lyxfind.h:
7063         * lyxfind.C: add "once" parameter, for thesaurus, to not
7064           move to the next match
7065
7066 2001-07-26  Juergen Vigna  <jug@sad.it>
7067
7068         * lyxfont.C (realize): honor ignore_language too!
7069         (resolved): ditto.
7070
7071         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7072
7073         * text.C (draw): one place more for ignore_language to not draw
7074         itself!
7075
7076 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
7077
7078         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7079
7080 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7081
7082         * buffer.C (parseSingleLyXformat2Token): a more general fix for
7083         the minipage conversion problem.
7084
7085 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7086
7087         * buffer.C (parseSingleLyXformat2Token): check minipage if we
7088         insert an inset.
7089
7090 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7091
7092         * BufferView.h: don't forward declare WorkArea
7093
7094         * BufferView.C: don't include WorkArea.h
7095
7096 2001-07-25  André Pönitz <poenitz@gmx.net>
7097
7098         * commandtags.h:
7099         * LyXAction.C:
7100         * lyxfunc.C:  new LFUN 'math-space'
7101
7102         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7103
7104 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7105
7106         * text2.C (toggleInset): call open/close
7107
7108 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7109
7110         * lyxfunc.C (dispatch): add debug for the disabled case
7111
7112         * font.C (buttonText): make similar to rectText
7113
7114         * buffer.C (readInset): comment out parsing of insetlist and
7115         insttheorem
7116
7117         * PainterBase.C (rectText): small correction
7118
7119         * BufferView_pimpl.C: comment out insettheorem and insetlist
7120         * LyXAction.C: ditto
7121         * commandtags.h: ditto
7122
7123 2001-07-24  Juergen Vigna  <jug@sad.it>
7124
7125         * text.C (draw): honor the ignore_language.
7126
7127         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7128
7129 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7130
7131         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7132         char inset.
7133
7134 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7135
7136         * lyxtext.h: remove unused (and unimplemented) methods
7137
7138 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7139
7140         * text.C (getVisibleRow): honor background color
7141
7142         * PainterBase.h:
7143         * Painter.h: remove default color argument for fillRectangle
7144
7145         * text.C (backgroundColor): new method
7146
7147 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7148
7149         * text.C (getVisibleRow): adjust
7150
7151         * font.[Ch] (rectText): new method, metrics
7152         (buttonText): new method, metrics
7153
7154         * PainterBase.[hC]: make rectText and buttonText always draw and take
7155         fewer paramteres.
7156
7157 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7158
7159         * ToolbarDefaults.C (read):
7160         * MenuBackend.C (read): allow escaping in all strings
7161
7162         * BufferView_pimpl.C (insertAndEditInset): new method.
7163         (Dispatch): use insertAndEditInset whenever appropriate.
7164
7165         * BufferView_pimpl.C (insertNote): removed
7166
7167         * BufferView_pimpl.C (smartQuote): new method, moved from
7168         BufferView; if an insetquote cannot be inserted, insert a '"'
7169         character instead.
7170
7171         * BufferView2.C: remove insertCorrectQuote();
7172
7173         * lyxfunc.C (getStatus): Add support for all remaingin
7174         inset-insert lfuns.
7175
7176         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7177
7178         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7179         command (necessary to pass " as parameter of self-insert.
7180
7181         * text.C (selectWordWhenUnderCursor):
7182         (selectWord): add word_location parameter
7183         (selectWordWhenUnderCursor): same + remove special code for word
7184         boundary.
7185         (selectNextWord): use kind() to guess type of insetspecialchar,
7186         not latex().
7187
7188         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7189         (insertErtContents): create ert insets as collapsed.
7190         (readInset): better compatibility code for Info inset.
7191
7192 2001-07-20  Juergen Vigna  <jug@sad.it>
7193
7194         * lyxfunc.C (dispatch): use always LyXFind now!
7195
7196         * text2.C (init): add a reinit flag so that the LyXText can be
7197         reinited instead of deleted and reallocated (used in InsetText).
7198
7199         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7200
7201         * text.C: ditto
7202
7203         * text2.C: ditto
7204
7205 2001-07-18  Juergen Vigna  <jug@sad.it>
7206
7207         * text.C (selectNextWord): handle insets inside inset by calling
7208         always the bv->text functions so that we can go up the_locking_inset!
7209
7210         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7211         in strange locations when inside an inset!
7212
7213         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7214         handling to include insets.
7215
7216         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7217
7218 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7219
7220         * LyXAction.C (init):
7221         * commandtags.h:
7222         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7223         LIGATURE_BREAK, since the name is so stupid.
7224
7225 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
7226
7227         * buffer.C (readInset): enable reading of new InsetNotes as well as old
7228         InsetInfos.
7229
7230         * FontLoader.C: remove FORMS_H_LOCATION cruft.
7231
7232         * sp_form.[Ch]: remove.
7233
7234         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7235
7236         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7237         InsetInfo.
7238
7239         * src/buffer.C (readInset): ditto.
7240
7241 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7242
7243         * BufferView_pimpl.C (specialChar): new method. Obsoletes
7244         menuSeparator(), endOfSentenceDot(), ldots() and
7245         hyphenationPoint(), which are therefore removed.
7246         (Dispatch): handle LFUN_HYPHENATION_BREAK.
7247
7248         * LyXAction.C (init):
7249         * commandtags.h: add LFUN_HYPHENATION_BREAK.
7250
7251         * paragraph.C (getWord): removed.
7252
7253         * BufferView_pimpl.C (Dispatch): use last word or selection for
7254         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7255
7256         * lyx_main.C (queryUserLyXDir): do not ask before creating
7257         user_dir, except if it has been named explicitely.
7258
7259 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
7260
7261         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7262         a document of zero size.
7263
7264 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
7265
7266         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7267         approriately in the c-tor and in require().
7268         (getPackages): output the appropriate LaTeX for natbib support.
7269
7270         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7271         variables "use_natbib" and "use_numerical_citations" when reading the
7272         LyX file.
7273         (readInset): read the various natbib cite commands.
7274         (validate): white-space change.
7275
7276         * bufferparams.[Ch]: new variables "bool use_natbib" and
7277         "bool use_numerical_citations".
7278         (writeFile): output them in the LyX file.
7279
7280 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7281
7282         * lyxfunc.C (getStatus): add support for all the inset insertion
7283         commands.
7284
7285         * text2.C (insertInset):
7286         * paragraph.C (insetAllowed):
7287         * BufferView_pimpl.C (insertInset): update to take in account the
7288         renaming of insertInsetAllowed
7289
7290         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7291
7292         * text2.C (getInset): new method. returns inset at cursor position.
7293
7294         * BufferView_pimpl.C (Dispatch): changes because of this.
7295
7296         * LyXAction.C (init): rename open-stuff to inset-toggle.
7297
7298         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7299
7300         * text2.C (toggleInset): renamed from openStuff; use
7301         Inset::open().
7302
7303 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
7304
7305         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7306
7307         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7308
7309 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
7310
7311         * buffer.C (readLyXformat2): Add filename to the error dialog
7312
7313 2001-07-18  Juergen Vigna  <jug@sad.it>
7314
7315         * tabular.C (GetCellNumber): put an assert here instead of the check!
7316
7317 2001-07-17  Juergen Vigna  <jug@sad.it>
7318
7319         * BufferView_pimpl.C (toggleSelection): adapted too.
7320
7321         * text.C (selectNextWord): adapted for use with insets.
7322         (selectSelectedWord): ditto
7323
7324 2001-07-17  Juergen Vigna  <jug@sad.it>
7325
7326         * sp_spell.C (PSpell): fix initialitation order.
7327
7328 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7329
7330         * paragraph.C: spacing
7331
7332 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
7333
7334         * sp_spell.C: repair language selection for pspell
7335
7336 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7337
7338         * lyxfunc.h: change more methods to begin with lower char.
7339
7340 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
7341
7342         * buffer.C (parseSingleLyXformat2Token): Generate error insets
7343         for unknown layouts.
7344
7345 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
7346
7347         * buffer.C (readLyXformat2): Generate an error dialog if there are
7348         unknown layouts.
7349
7350 2001-07-16  Juergen Vigna  <jug@sad.it>
7351
7352         * sp_spell.C: always compile ISpell part.
7353
7354         * lyxrc.C: added use_pspell entry and it's handling.
7355
7356 2001-07-13  Juergen Vigna  <jug@sad.it>
7357
7358         * sp_spell.C: removed double includes.
7359
7360 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
7361
7362         Consistent use of Lsstream.h:
7363         * Lsstream.h: added using std::stringstream for consistencies sake.
7364
7365         * buffer.C: removed using std::stringstream
7366
7367         * lyxfont.C (stateText):
7368         * paragraph.C (asString):
7369         * text.C (selectNextWord, selectSelectedWord):
7370         * text2.C (setCounter):
7371         * vspace.C (asString, asLatexString):
7372         std::ostringstream -> ostringstream.
7373
7374 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
7375
7376         * LyXAction.C: add LFUN_HELP_ABOUTLYX
7377         * commandtags.h: add LFUN_HELP_ABOUTLYX
7378         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7379
7380 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
7381
7382         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7383         cursorToggle()
7384         * lyx_gui_misc.C: remove spellchecker
7385         * lyxfunc.C: showSpellchecker
7386         * sp_base.h: added
7387         * sp_ispell.h: added
7388         * sp_pspell.h: added
7389         * sp_spell.C: added
7390         * sp_form.[Ch]: removed
7391         * spellchecker.[Ch]: removed
7392
7393 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
7394
7395         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7396         is set.
7397         (simpleTeXSpecialChars): Simply print the input character without
7398         any special translation if pass_thru is set.
7399
7400         * layout.h: Added bool pass_thru to layout class for being able to
7401         implement pass through of a paragraph for Literate Programming.
7402
7403         * layout.C: add LT_PASS_THRU to LayoutTags enum.
7404         * layout.C (LyXLayout): set pass_thru to flase in constructor.
7405         * layout.C (Read): add "passthru" to list of layout tags and add
7406         code to set the pass_thru boolean when it is read.
7407
7408 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7409
7410         * trans_decl.h: remove allowed from KmodInfo
7411
7412         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7413         remove allowed code
7414         (Load): adjust
7415
7416         * paragraph_pimpl.C (erase): use boost::prior
7417
7418         * Painter.C (text): use data() instead of c_str() when length is
7419         also provided.
7420         * WorkArea.C (putClipboard): ditto
7421         * font.h (width): ditto
7422
7423         * BufferView2.C: use it-> instead of (*it). for iterators
7424         * texrow.C: ditto
7425         * paragraph_pimpl.C: ditto
7426         * paragraph.C: ditto
7427         * minibuffer.C: ditto
7428         * language.C: ditto
7429         * kbmap.C: ditto
7430         * encoding.C: ditto
7431         * counters.C: ditto
7432         * converter.C: ditto
7433         * chset.C: ditto
7434         * Variables.C: ditto
7435         * TextCache.C: ditto
7436         * MenuBackend.C: ditto
7437         * LyXAction.C: ditto
7438         * LColor.C: ditto
7439         * FloatList.C: ditto
7440         * DepTable.C: ditto
7441         * ColorHandler.C (LyXColorHandler): ditto
7442
7443 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7444
7445         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7446
7447         * text2.C (openStuff): reintroduce this method (which had been
7448         nuked in NEW_INSETS frenzy).
7449
7450         * lyxfunc.C (Dispatch): when an action has not been handled, use
7451         its name in the error message, not its number.
7452
7453         * paragraph.C (inInset): change method name to begin with lowercase.
7454
7455         * undo_funcs.C:
7456         * text2.C: updates because of this.
7457
7458 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7459
7460         * ToolbarDefaults.C (add): add spaces in error message
7461
7462 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7463
7464         * buffer.C (readLyXformat2): initialize the ert comp. variables.
7465         (readLyXformat2): rename return_par to first_par, use lyxlex's
7466         pushToken and remove the manual push handling.
7467         (parseSingleLyXformat2Token): add another ert comp. variable:
7468         in_tabular, rename return_par to first_par. handle newlines better
7469
7470 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7471
7472         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7473
7474 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7475
7476         * text2.C (getParFromID): removed
7477
7478         * buffer.C (getParFromID): new method moved form lyxtext.
7479         * BufferView2.C (insertErrors): adjust
7480         (setCursorFromRow): adjust
7481         * BufferView_pimpl.C (restorePosition): adjust
7482         * lyxfunc.C (Dispatch): adjust
7483         * undo_funcs.C (textUndo): adjust
7484         (textRedo): adjust
7485         (textHandleUndo): adjust
7486         (textHandleUndo): adjust
7487
7488 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7489
7490         * buffer.C: up' the LYX_FORMAT
7491
7492         * lyxfont.h: turn NO_LATEX on as default
7493
7494         * buffer.C (insertErtContents): new methods of tex style compability.
7495         (parseSingleLyXformat2Token): use it several places.
7496         * tabular.C (OldFormatRead): and here
7497
7498 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7499
7500         * text2.C: remove some commented code.
7501         reindent file.
7502
7503         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7504         * trans.C: changes because of the above.
7505
7506 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
7507
7508         * text2.C (setCounter): Fix counters bug with bibliography layout.
7509
7510 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7511
7512         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7513         own member functions
7514         (simpleTeXSpecialChars): ditto
7515
7516 2001-07-06  Juergen Vigna  <jug@sad.it>
7517
7518         * a lot of files: changed the access to LyXText::status and the
7519         call of undo-functions.
7520
7521         * undo.[Ch]: added a inset_id to the undo informations.
7522
7523         * undo_funcs.[Ch]: added and moved here all undo functions.
7524
7525         * lyxtext.h: give the status enum a weight, made status_ a private
7526         variable and made accessor functions for it, removed the whole bunch
7527         of undo-functions as they are now in their own file, make some
7528         functions publically available. Added function ownerParagraph with
7529         int parameter.
7530
7531         * paragraph.[Ch]: added "bool same_ids" to the constructor,
7532         made InInset() a const function, added getParFromID() function.
7533
7534         * buffer.[Ch]: added const version for inset_iterator functions,
7535         added getInsetFromID() function.
7536
7537         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7538         changed undo functions for new version.
7539
7540 2001-07-05  Juergen Vigna  <jug@sad.it>
7541
7542         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7543         unknow mechanism does not call the proper constructor but only this
7544         one also if I request the other!?
7545
7546 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7547
7548         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7549
7550         * text2.C (LyXText): use initialization lists.
7551
7552         * lyxtext.h (Selection): initialize set_ and mark_
7553         (init): remove method
7554
7555 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
7556
7557         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7558
7559 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7560
7561         * screen.[Ch]: change method names to begin with lowercase
7562
7563         * BufferView_pimpl.C (updateScrollbar): simplify further and
7564         hopefully make it a bit faster.
7565
7566 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7567
7568         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7569         calling directly xforms functions.
7570
7571         * Painter.C (Painter):
7572         * lyx_cb.C (MenuWrite):
7573         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7574         fl_display.
7575
7576         * lyx_gui.C: remove bogus guiruntime extern declaration.
7577
7578 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7579
7580         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7581         in NEW_INSETS
7582         (redoDrawingOfParagraph): ditto
7583         (redoParagraphs): ditto
7584         (cutSelection): don't create a object for CutAndPaste use the
7585         static method directly
7586         (pasteSelection): ditto
7587
7588         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7589         LyXview (+ rename)
7590
7591 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7592
7593         * modifications to some other files because of this.
7594
7595         * Makefile.am (lyx_SOURCES): add XFormsView
7596
7597         * XFormsView.[Ch]: new files
7598
7599         * LyXView.[Ch]: make LyXView a base class for the gui handling for
7600         the main window. Move the gui dependent stuff to XFormsView
7601
7602 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7603
7604         * tabular.C (GetCellInset): update cur_cell also in the row/col
7605         version of this function.
7606
7607         * lyxfunc.C: no need to include figure_form.h here.
7608
7609         * FontLoader.h:
7610         * lyxfunc.h:
7611         * lyxscreen.h:
7612         * text2.C:
7613         * lyxvc.C: no need to include forms.h here.
7614
7615 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7616
7617         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7618
7619         * lyxfunc.C (Dispatch):
7620         * Spacing.C (set):
7621         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7622         constructor argument.
7623
7624 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7625
7626         * paragraph.C (Paragraph): dont't clear, and just set layout.
7627         (makeSameLayout): use params's copy contructor.
7628
7629         * ParagraphParameters.[Ch] (makeSame): delete method
7630
7631 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
7632
7633         * Variables.[Ch]: fix indentation, rename set to isSet
7634
7635 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7636
7637         * lyxfunc.C (Dispatch): fix typo
7638
7639 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7640
7641         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7642         upper_bound.
7643
7644         * bufferlist.C: include assert.h for emergencyWrite().
7645
7646 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7647
7648         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7649           give up at last (bug #425202) !
7650
7651 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
7652
7653         * lyx_gui_misc.C:
7654         * sp_form.h:
7655         * sp_form.C:
7656         * spellchecker.h:
7657         * spellchecker.C: strip spellchecker options and bring up
7658           preferences tab instead
7659
7660 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7661
7662         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7663         the istringstream constructor
7664
7665 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7666
7667         * paragraph.C (getLayout): fix return value
7668
7669         * paragraph.h: do not declare getLayout as inline.
7670
7671         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7672
7673 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7674
7675         * lyxcursor.h (operator<): new func
7676         (operator>): new func
7677         (operator>=): new func
7678         (operator<=): new func
7679
7680         * text.C (changeCase): use selection.start and selection.end
7681         (changeRegionCase): require from to be <= to. Require par to be a
7682         valid paragraph.
7683
7684         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7685
7686 2001-06-27  Juergen Vigna  <jug@sad.it>
7687
7688         * text.C (cursorLeftOneWord): changed to return the cursor and added
7689         overlay with BufferView * parameter which calls this one.
7690         (getWord): added
7691         (selectWord): use new getWord function.
7692         (changeCase): renamed from changeWordCase as and extended to work
7693         also on selections.
7694
7695         * lyxtext.h: added enum word_location
7696
7697         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7698         changeCase as this operates now also on selections.
7699
7700 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
7701
7702         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7703
7704         * many files: send debug output to Debug::INFO instead of
7705         Debug::ANY.
7706
7707         * converter.C (View):
7708         (Convert):
7709         (Move): send debug output to Debug::FILES instead of console.
7710
7711 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
7712
7713         * lyxfunc.C (getStatus): use func_status
7714
7715         * func_status.h: new header, describing the results of
7716         LyXFunc::getStatus;
7717
7718         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7719         LFUN_MATH_HALIGN.
7720
7721 2001-06-25  The LyX Project  <jug@sad.it>
7722
7723         * buffer.C (sgmlOpenTag):
7724         (sgmlCloseTag):
7725         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
7726
7727 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7728
7729         * text2.C: remove some dead code
7730
7731         * tabular.C (GetCellInset): store the last cell checked (gotten)
7732
7733         * tabular.h: add the helper for the speedup
7734
7735         * lyxtext.h: remove some dead code
7736
7737 2001-06-26  The LyX Project  <Asger>
7738
7739         * paragraph.C: Change export to LaTeX of alignment to
7740         \begin{center} and family for better roundtrip work with reLyX.
7741
7742         * Tune the math drawing a bit.
7743
7744 2001-06-25  The LyX Project  <Asger>
7745
7746         * LColor.C (LColor): New color for math background. New color
7747         for buttons.
7748
7749 2001-06-25  The LyX Project  <jug@sad.it>
7750
7751         * lyxfunc.C (MenuNew): remove extra check for .lyx file
7752
7753         * lyxfunc.C (Open):
7754         * bufferlist.C (newFile): do not restrict to files ending with
7755         .lyx
7756
7757         * BufferView_pimpl.C (MenuInsertLyXFile):
7758
7759 2001-06-24  The LyX Project  <jug@sad.it>
7760
7761         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7762         of compare_no_case
7763
7764 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7765
7766         * lyxtext.h: rename most methods to begin with a small char.
7767         Lots of changes because of this.
7768
7769         * paragraph.C (Paragraph): do not call fitToSize
7770         (erase): call Pimpl::erase
7771         (insertChar): call Pimpl::insertChar
7772         (insertInset): call Pipl::insertInset
7773         (breakParagraph): do not call fitToSize
7774         (breakParagraphConservative): do not call fitToSize
7775         (fitToSize): remove method
7776
7777         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7778
7779 2001-06-24  The LyX Project  <Asger>
7780
7781         * Fix Qt compilation^2
7782
7783 2001-06-24  The LyX Project  <jug@sad.it>
7784
7785         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7786         depthHook(getDepth()-1).
7787
7788         * paragraph.h:
7789         * ParagraphParameters.h:
7790         * ParameterStruct.h: change type of depth to unsigned int ==
7791         depth_type. Many adaptations to other files before of that.
7792
7793 2001-06-24  The LyX Project  <Asger>
7794
7795         * Fix Qt compilation.
7796
7797 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7798
7799         * paragraph.h: renamed several methods to begin with small letter.
7800         several changes to many parts of the code because of this.
7801
7802 2001-06-23  The LyX Project  <jug@sad.it>
7803
7804         * text2.C (InsertStringAsLines): renamed from InsertStringA;
7805         rewritten to discard all double spaces when KeepEmpty is off
7806         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7807         to only handle newlines but not fiddle with spaces and friends.
7808
7809         * lyxfunc.C (MenuNew): when doing 'new from template', use
7810         template_path as default directory
7811
7812 2001-06-23  The LyX Project  <Asger>
7813
7814         * Clean-up of header file includes all over
7815         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7816
7817 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7818
7819         * paragraph.h: renamed from lyxparagraph.h
7820
7821 2001-06-23  Asger  <lyx@violet.home.sad.it>
7822
7823         * Buffer.h: Removed Buffer::resize
7824         * BufferList.h: Removed BufferList::resize
7825         * LyXView.h: Added LyXView::resize. This way, we will only reflow
7826         the document lazily when we change the width, or the font settings.
7827
7828 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7829
7830         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7831
7832 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7833
7834         * buffer.h: remove out of date comment
7835
7836 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
7837
7838         * lyxscreen.h:
7839         * screen.C: fix "theoretical" GC leak
7840
7841 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7842
7843         * LaTeX.C (scanAuxFile):
7844         (deplog): remove trailing \r when reading stream (useful under
7845         win32)
7846
7847 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
7848
7849         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7850         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7851         and BufferView::theLockingInset(Inset*), so should use them and not
7852         access bv_->text->the_locking_inset directly.
7853
7854         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7855
7856 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
7857
7858         * Makefile.am:
7859         * tex-defs.h: remove old unused file
7860
7861 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
7862
7863         * BufferView_pimpl.C: fix typo, remove minibuffer message
7864           when buffer has loaded
7865
7866 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7867
7868         * lyxfunc.C (Dispatch): use stringstream
7869         (MenuNew): use stringstream
7870         (Open): use stringstream
7871
7872         * importer.C (Import): use stringstream
7873
7874         * bufferview_funcs.C (CurrentState): use stringstream
7875
7876         * LaTeX.C (run): use stringstream
7877
7878         * BufferView_pimpl.C (savePosition): use stringstream
7879         (restorePosition): use stringstream
7880         (MenuInsertLyXFile): use stringstream
7881
7882 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
7883
7884         * BufferView.C:
7885         * Bullet.C:
7886         * ColorHandler.C:
7887         * FontInfo.C:
7888         * FontLoader.C:
7889         * LColor.C:
7890         * LaTeXFeatures.C:
7891         * Painter.C:
7892         * gettext.C:
7893         * lyx_gui_misc.C:
7894         * lyxserver.C:
7895         * vspace.C: removed // -*- C++ -*- as first line.
7896
7897         * lyxfind.h:
7898         * version.h: added // -*- C++ -*- as first line.
7899
7900 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7901
7902         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7903
7904         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7905         of string
7906
7907 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7908
7909         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7910         of floats.
7911
7912 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7913
7914         * gettext.C: include LString.h even when --disable-nls is on.
7915
7916 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
7917
7918         * converter.h (Get): changed argument type from int to
7919         FormatList::size_type to avoid unnecessary conversion.
7920
7921         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7922         before using it.
7923
7924 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7925
7926         * gettext.h: include LString.h even when --disable-nls is on.
7927
7928 2001-06-07  Juergen Vigna  <jug@sad.it>
7929
7930         * text.C (BreakAgain): subst spaces with tabs.
7931
7932         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7933         (resizeInsetsLyXText): set force on resizeLyXText.
7934
7935 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7936
7937         * gettext.h (gettext_init):
7938         (locale_init): use a real definition instead of a macro
7939
7940 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
7941
7942         * Bufferview_pimpl.C:
7943         * LColor.h:
7944         * LColor.C: further lcolor tidies
7945
7946 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7947
7948         * BufferView_pimpl.C (updateScrollbar): simplify.
7949
7950         * BufferView2.C: don't include insets/insetinfo.h, change
7951         prototype for insertInset and call the Pimpl version. let
7952         updateInset call Pimpl version.
7953
7954         * BufferView.h: move inset_slept to BufferView::Pimpl, move
7955         gotoInset to BufferView::Pimpl
7956
7957 2001-06-01  Juergen Vigna  <jug@sad.it>
7958
7959         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7960         inside a LockingInset (is the update needed at all?).
7961
7962 2001-05-31  Juergen Vigna  <jug@sad.it>
7963
7964         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7965         here not the old one otherwise how should we compare it afterwards
7966         if it's the same!
7967
7968 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7969
7970         * lyxfont.C:
7971         * tabular.C:
7972         * tabular-old.C:
7973         * FontInfo.C: bring C functions into global namespace when
7974         necessary
7975
7976 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7977
7978         * LString.h: make sure config.h has been loaded before LString.h.
7979
7980         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7981         (one for each char read by EatLine!).
7982
7983         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7984         variables.
7985
7986 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7987
7988         * paragraph.C (BreakParagraph): set the inset_owner in the new par
7989         to the same as the par we break from
7990
7991 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7992
7993         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7994
7995         * MenuBackend.C (expand): also create menu entries for wide
7996         versions of the floats.
7997
7998         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7999
8000         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8001
8002         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8003         frontends/Makefile.am
8004
8005         * text2.C: adjust
8006         * text.C: adjust
8007
8008
8009         * tabular.C (getTokenValue): add std::
8010
8011         * tabular-old.C (getTokenValue): add std::
8012         (getTokenValue): ditto
8013         (getTokenValue): ditto
8014
8015         * screen.C (ToggleSelection): adjust
8016
8017         * lyxtext.h: put selection cursors inside a Selection struct.
8018
8019         * lyxfunc.C (moveCursorUpdate): adjust
8020
8021         * lyxfont.C (latexWriteStartChanges): add std::
8022
8023         * lyxfind.C: adjust
8024
8025         * font.h: delete with(char const *, LyXFont const &)
8026
8027         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8028
8029         * FontInfo.C (getFontname): add std::
8030
8031         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8032         (workAreaButtonPress): adjust
8033         (tripleClick): adjust
8034         (update): adjust
8035         (moveCursorUpdate): adjust
8036         (Dispatch): adjust
8037
8038         * BufferView2.C (gotoInset): adjust
8039
8040 2001-05-30  Juergen Vigna  <jug@sad.it>
8041
8042         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8043         to check pspell I add this as default as I now have new pspell
8044         libraries and they seem to use this.
8045
8046 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8047
8048         * text2.C (CutSelection): make the cursor valid before the call to
8049         ClearSelection.
8050
8051 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8052
8053         * kbsequence.C (parse): de-uglify a bit the parsing code, which
8054         relied on 0 terminated strings and other horrors. Bug found due to
8055         the new assert in lyxstring!
8056
8057         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8058         KP_ keys.
8059
8060 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8061
8062         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8063         to latinkeys.bind.
8064
8065         * lyxfunc.C (processKeySym): change method of getting to the
8066         self-insert char.
8067
8068         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8069         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8070         * BufferView_pimpl.[Ch]: here as private methods.
8071
8072 2001-05-28  Juergen Vigna  <jug@sad.it>
8073
8074         * text.C (SetHeightOfRow): added the update() call again as it is
8075         needed to initialize inset dimensions!
8076
8077 2001-05-16  Juergen Vigna  <jug@sad.it>
8078
8079         * text2.C (SetCharFont): Add new function with BufferView * and
8080         bool toggleall parameters for setting insets internal fonts.
8081         (SetFont): Freeze the undo as we may change fonts in Insets and
8082         all this change should be inside only one Undo!
8083
8084         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8085         setting font's in insets as for them we have the SetFont function!
8086
8087 2001-05-15  Juergen Vigna  <jug@sad.it>
8088
8089         * text2.C (ClearSelection): to be sure we REALLY don't have any
8090         selection anymore!
8091
8092         * tabular.C (TeXCellPreamble): fixed the left border problem for
8093         multicolumn cells.
8094
8095 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
8096
8097         * LaTeX.C (deplog): Make sure that the main .tex file is in the
8098         dependancy file
8099
8100 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8101
8102         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8103         LFUN_BREAKPARAGRAPH.
8104
8105         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8106         help test to "internal only", similar for LFUN_INSERT_URL
8107
8108         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8109         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8110         auto_region_delete and deadkeys.
8111
8112 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
8113
8114         * LColor.h:
8115         * LColor.C: remove some dead entries, tidy a little
8116
8117 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8118
8119         * lyxfunc.C (processKeySym): comment the Escape handling, remove
8120         commented code.
8121         (Dispatch): implement LFUN_ESCAPE
8122
8123         * commandtags.h: add LFUN_ESCAPE
8124
8125         * LyXAction.C (init): add entry for LFUN_ESCAPE
8126
8127         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8128         Remove commented code.
8129         (insertNote): moved here
8130         (open_new_inset): moved here
8131
8132         * BufferView[2].[Ch]: move insertNote and open_new_inset to
8133         BufferView_pimpl
8134
8135 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8136
8137         * kbmap.C (findbinding): clean it up and make it work correctly.
8138
8139         * lyx_main.C (init): do not pass argc and argv as parameters
8140
8141 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
8142
8143         * buffer.C: fix path for OS/2 & Win32
8144
8145         * lyx_gui.C:
8146         * lyx_main:
8147         * lyx_main.C: Added os:: class.
8148
8149         * os2_defines.h: update
8150
8151 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8152
8153         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8154         better by trying again with reduced state.
8155
8156 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8157
8158         * lyxrc.C (read): print error about invalid key sequence only when
8159         debugging (because not all latinX keysyms are known to some X
8160         servers)
8161
8162         * kbsequence.C (getiso): add a few std:: qualifiers
8163         (getiso): comment out extra return statement.
8164
8165 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8166
8167         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8168         handling.
8169         (Dispatch): enhance the accent inset a bit. (not perfect)
8170
8171 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8172
8173         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8174
8175 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8176
8177         * bufferlist.C (emergencyWrite): fix assert() call
8178
8179 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
8180
8181         * text.C (InsertChar): Added trivial patch to only send the "you
8182         can not do multiple spaces this way" message once during a
8183         session.
8184
8185 2001-05-08  Baruch Even  <baruch@lyx.org>
8186
8187         * Makefile.am: Changed order of libraries to get LyX to link properly
8188         with the gnome frontend.
8189
8190 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8191
8192         * LaTeXFeatures.h: add a std:: qualifier
8193
8194 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8195
8196         * paragraph.C (String): use stringstream
8197
8198 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8199
8200         * paragraph.C (writeFile): remove footflag arg
8201
8202         * buffer.C (makeLaTeXFile): use stringstream
8203         (latexParagraphs): remove footnot gurba
8204
8205         * LaTeXFeatures.C (getPackages): use stringstream
8206         (getMacros): likewise
8207         (getTClassPreamble): likewise
8208         (getFloatDefinitions): new method
8209
8210         * paragraph.C (writeFile): reindent
8211         (Erase): reindent
8212
8213         * WorkArea.h: revert the xpos + etc changes.
8214
8215         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8216
8217         * lyxparagraph.[Ch]: add copy constructor, remove Clone
8218
8219         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8220         (pasteSelection): likewise
8221         * text2.C (CreateUndo): likewise
8222
8223 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8224
8225         * minibuffer.C (peek_event): temporarily reduce the functionality
8226         of the minibuffer (to allow args on lfuns)
8227
8228         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8229         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8230
8231         * buffer.C (readInset): add compability reading of old float
8232         lists, add reading of new style float list.
8233         (readInset): avoid reevaluation of inscmd.getCmdName()
8234         (getLists): reindent
8235
8236         * MenuBackend.C (MenuItem): implement parsing of
8237         md_floatlistinsert and md_floatinsert.
8238         (expand::LastFiles): move initalizaton of iterators out of loop,
8239         avoid reevaluation.
8240         (expand::Documents): introduce typdedef vector<string> Strings,
8241         and use it.
8242         (expand::ExportFormats): introduce typedef vector<Format const *>
8243         Formats, and use it.
8244         (expand): implement FloatListInsert and FloatInsert.
8245
8246         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8247         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8248         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8249
8250         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8251         handling.
8252         (Dispatch::LFUN_FLOAT_LIST): implement
8253
8254 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8255
8256         * LaTeX.C (run): Fix problem with --export code.
8257
8258 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
8259
8260         * BufferView.[Ch] (workarea): removed.
8261         (getClipboard) new method; wrapper for workarea()->getClipboard()
8262
8263         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8264         bug.
8265
8266         * WorkArea.h (width, height, xpos, ypos): These methods all
8267         returned the dimensions of the work_area sub-area of WorkArea,
8268         resulting in a position error if the WorkArea were resized. Now
8269         return the dimensions of the entire WorkArea.
8270
8271         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8272
8273 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8274
8275         * LaTeX.C (deplog): correct the syntax of regex reg1
8276
8277 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8278
8279         * undo.C: remove !NEW_INSETS cruft
8280
8281 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8282
8283         * text2.C: remove !NEW_INSETS cruft
8284
8285         * text.C: remove !NEW_INSETS cruft
8286
8287         * tabular.C: remove !NEW_INSETS cruft
8288
8289         * spellchecker.C: remove !NEW_INSETS cruft
8290
8291         * lyxtext.h: remove !NEW_INSETS cruft
8292
8293         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8294
8295         * lyxfunc.C: remove !NEW_INSETS cruft
8296
8297         * lyxfind.C: remove !NEW_INSETS cruft
8298
8299         * lyx_cb.C: remove !NEW_INSETS cruft
8300
8301         * figureForm.C: remove  !NEW_INSETS cruft
8302
8303         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8304
8305         * buffer.[Ch]: remove !NEW_INSETS cruft
8306
8307         * ToolbarDefaults.C: remove !NEW_INSETS cruft
8308
8309         * CutAndPaste.C: remove !NEW_INSETS cruft
8310
8311         * BufferView_pimpl.C: remove !NEW_INSETS cruft
8312
8313         * BufferView2.C: remove !NEW_INSETS cruft
8314
8315         * BufferView.h: remove !NEW_INSETS cruft
8316
8317 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8318
8319         * Lsstream.h: include LString.h before the sstream headers to
8320         fix problem with gcc 2.95.3 and lyxstring
8321
8322 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8323
8324         * lyx_main.C: add using directives when needed for C functions
8325         declared in std:: namespace.
8326
8327 2001-04-27  Juergen Vigna  <jug@sad.it>
8328
8329         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8330         (SetHeightOfRow): comment out the update call should not be needed!
8331
8332 2001-04-13  Juergen Vigna  <jug@sad.it>
8333
8334         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8335         (LyXTabular): tried to minimize operator= operations (and realized
8336         hopfully Lars wish).
8337
8338 2001-04-27  Juergen Vigna  <jug@sad.it>
8339
8340         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8341
8342 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8343
8344         * lyxfunc.C (Dispatch): hack to make listof algorithm work
8345
8346         * buffer.C (readInset): hack to make listof algorithm work
8347
8348         * BufferView_pimpl.C: hack to make listof algorithm work
8349
8350 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8351
8352         * LyXAction.C: removed all !NEW_INSETS cruft
8353         (init): moved lfun_item in method
8354
8355         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8356
8357 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
8358
8359         * BufferView2.C (theLockingInset): white space.
8360
8361 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8362
8363         * minibuffer.C: include <iostream>
8364
8365         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8366
8367         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8368
8369         * commandtags.h: add LFUN_TRANSPOSE_CHARS
8370
8371         * text.[Ch] (TransposeChars): new method
8372
8373 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8374
8375         * call message directly through LyXView instead of through LyXFunc
8376         * BufferView2.C: adjust
8377         * BufferView_pimpl.C: adjust
8378         * FontLoader.C: adjust
8379         * buffer.C: adjust
8380         * bufferview_funcs.C: adjust
8381         * converter.C: adjust
8382         * figureForm.C: adjust
8383         * importer.C: adjust
8384         * lyx_cb.C: adjust
8385         * lyx_gui_misc.C: adjust
8386         * lyxfunc.C: adjust
8387         * lyxvc.C: adjust
8388         * text2.C: adjust
8389         + more files in subdirs
8390
8391         * lyxparagraph.h (size): move up int file
8392         (GetLayout): ditto
8393
8394         * adjust all uses of Assert to lyx::Assert.
8395
8396         * BufferView2.C (ChangeCitationsIfUnique): adjust for
8397         lyxfunctional in namespace lyx
8398         * layout.C (hasLayout): ditto
8399         (GetLayout): ditto
8400         (GetLayout): ditto
8401         (delete_layout): ditto
8402         (NumberOfClass): ditto
8403         * converter.C (GetFormat): ditto
8404         (GetNumber): ditto
8405         (Add): ditto
8406         (Delete): ditto
8407         (SetViewer): ditto
8408         * bufferlist.C (getFileNames): ditto
8409         (emergencyWriteAll): ditto
8410         (exists): ditto
8411         (getBuffer): ditto
8412         * MenuBackend.C (hasSubmenu): ditto
8413         (hasMenu): ditto
8414         (getMenu): ditto
8415         * BufferView_pimpl.C (getInsetByCode): ditto
8416
8417 2001-04-18  Juergen Vigna  <jug@sad.it>
8418
8419         * vspace.C (asLatexString): fixed the 100% problem.
8420
8421 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8422
8423         * lyxfunc.C (Dispatch):
8424         * minibuffer.C:
8425         * minibuffer.h: add a few std:: qualifiers
8426
8427 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8428
8429         * minibuffer.[Ch]: reimplement so that commands is initiated and
8430         run from lyxfunc, simplified som handling, and made the completion
8431         and history code for complete. wip.
8432
8433         * lyxfunc.C (processKeySym): call message
8434         (miniDispatch): new temporary method
8435         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8436         (LFUN_MESSAGE): implement
8437         (LFUN_MESSAGE_PUSH): implement
8438         (LFUN_MESSAGE_POP): implement
8439         (initMiniBuffer): the initial/defualt minibuffer message.
8440
8441         * lyxfont.[Ch]: inline some more getters
8442
8443         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8444
8445         * lyx_gui_misc.[Ch] (WriteStatus): remove method
8446
8447         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8448         (AutoSave): use LFUN_MESSAGE
8449         (Reconfigure): ditto
8450
8451         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8452
8453         * figureForm.C: use LFUN_MESSAGE
8454
8455         * converter.C (runLaTeX): use LFUN_MESSAGE
8456
8457         * bufferview_funcs.C: use LFUN_MESSAGE
8458         (Melt): ditto
8459         (changeDepth): ditto
8460
8461         * bufferparams.h: use boost::
8462
8463         * bufferlist.h: inherit privately from noncopyable
8464
8465         * bufferlist.C (loadLyXFile): remove some commented code.
8466
8467         * buffer.C (runChktex): use LFUN_MESSAGE
8468
8469         * ShareContainer.h: inherit privately from noncopyable
8470
8471         * ParagraphParameters.[hC] (depth): inline it.
8472
8473         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8474         methods.
8475         (message): new method
8476         (messagePush): ditto
8477         (messagePop): ditto
8478         (show): init minibuffer
8479         (showState): direct call
8480
8481         * LaTeX.[Ch]: inherit privately from noncopyable
8482         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8483         instead of WriteStatus.
8484
8485         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8486
8487         * BufferView_pimpl.C (buffer): don't init minibuffer
8488         (workAreaButtonPress): use LFUN_MESSAGE
8489         (workAreaButtonRelease): ditto
8490         (savePosition): ditto
8491         (restorePosition): ditto
8492         (MenuInsertLyXFile): ditto
8493         (workAreaExpose): don't init minibuffer
8494         (update): remove commented code, simplify
8495
8496         * BufferView2.C (openStuff): use LFUN_MESSAGE
8497         (toggleFloat): ditto
8498         (menuUndo): ditto
8499         (menuRedo): ditto
8500         (copyEnvironment): ditto
8501         (pasteEnvironment): ditto
8502         (copy): ditto
8503         (cut): ditto
8504         (paste): ditto
8505         (gotoInset): ditto
8506         (updateInset): remove some commented code
8507
8508         * lastfiles.h: inherit privately from noncopyable
8509         * layout.h: ditto
8510         * lyx_gui.h: ditto
8511         * lyx_main.h: ditto
8512         * lyxlex.h: ditto
8513         * lyxlex_pimpl.h: ditto
8514
8515         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8516         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8517         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8518
8519         * LyXAction.h: inherit privately from noncopyable, add methods
8520         func_begin, func_end, returning iterators to the func map.
8521
8522         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8523         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8524         (func_begin): new method
8525         (func_end): new method
8526
8527         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8528         and not)
8529         (copySelection): ditto
8530         (pasteSelection): ditto
8531
8532         * BufferView.C: whitespace change
8533         * BufferView.h: inherit privately from noncopyable
8534
8535 2001-04-16  Allan Rae  <rae@lyx.org>
8536
8537         * tabular-old.C (l_getline):
8538         * spellchecker.C (sc_check_word):
8539         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8540         an unrecognised preprocessor directive.  So ensure they're wrapped.
8541
8542 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
8543
8544         * src/exporter.C (Export): Give an error message when path to file
8545         contains spaces.
8546
8547 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
8548
8549         * LaTeX.C (deplog): Always check that foundfile exists.
8550
8551 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8552
8553         * lyx_main.h:
8554         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8555
8556 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8557
8558         * tabular.[Ch] (getLabelList): implement new method
8559
8560         * minibuffer.h: comment ouf setTiimer
8561
8562         * minibuffer.C (ExecutingCB): constify res
8563         (peek_event): constify s
8564         (Set): constify ntext
8565         (Init): constify nicename
8566
8567         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8568
8569         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8570         (savePosition): use two params to Minibuffer::Set
8571         (restorePosition): ditto
8572
8573 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8574
8575         * lyx_main.C: include language.h
8576
8577         * Makefile.am (lyx_main.o): add language.h
8578
8579 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8580
8581         * exporter.C:
8582         * paragraph.C:
8583         * screen.C:
8584         * tabular.C:
8585         * CutAndPaste.C: include gettext.h
8586
8587         * lyxfont.h: remove old hack with ON and OFF.
8588
8589         * lyxparagraph.h:
8590         * lyxfont.h: do not include language.h...
8591
8592         * BufferView2.C:
8593         * LaTeXFeatures.C:
8594         * Painter.C:
8595         * bufferview_funcs.C:
8596         * font.C:
8597         * lyxfont.C:
8598         * text.C:
8599         * text2.C:
8600         * trans_mgr.C:
8601         * paragraph.C: ... but do it here instead
8602
8603 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8604
8605         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8606
8607         * tabular.C: small reformat
8608
8609         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8610         NEW_INSETS version
8611         (GetChar): ditto
8612         (BreakParagraph): ditto
8613         (SetOnlyLayout): ditto
8614         (SetLayout): ditto
8615
8616         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8617         with one arg less.
8618
8619         * lastfiles.C: removed most using decl, add std:: where needed
8620
8621         * buffer.C: ws changes
8622
8623         * MenuBackend.C (class compare_format): put into anon namespace
8624         (expand): constify label, names, action, action2
8625         (expand):
8626
8627         * text.C (SingleWidth): constify font
8628         (IsBoundary): constify rtl2
8629         (GetVisibleRow): constify ww
8630
8631         * LaTeX.C (deplog): constify logfile
8632
8633         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8634         start_x, end_x
8635         (workAreaExpose): constify widthChange, heightChange
8636
8637         * lyxrow.C (par): moved
8638         (height): moved
8639         (next): moved
8640         * lyxrow.h: as inlines here
8641
8642         * lyxfont.h (shape): moved from lyxfont.C
8643         (emph): moved from lyxfont.C
8644
8645         * lyxfont.C (LyXFont): use initialization list for all
8646         constructors
8647         (shape): move to lyxfont.h as inline
8648         (emph): move to lyxfont.h as inline
8649
8650
8651 2001-04-04  Juergen Vigna  <jug@sad.it>
8652
8653         * vspace.C: had to include stdio.h for use of sscanf
8654
8655 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
8656
8657         * BufferView.h:
8658         * BufferView_pimpl.h: remove xforms cruft. Both classes are
8659         independent of xforms.
8660
8661 2001-04-02  Juergen Vigna  <jug@sad.it>
8662
8663         * spellchecker.C: fixed namespace placing!
8664
8665 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
8666
8667         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8668         the LyXParagraph * is 0.
8669
8670 2001-03-29  Juergen Vigna  <jug@sad.it>
8671
8672         * vspace.C: added support for %, c%, p%, l%.
8673         (stringFromUnit): added helper function.
8674         (asLatexString): changed to give right results for the %-values.
8675
8676         * buffer.C: convert the widthp in a width%.
8677
8678 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
8679
8680         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8681         figureForm.[Ch].
8682
8683         * figureForm.[Ch]: stripped the FD_from_figure manipulation
8684         code out of lux_cb.[Ch], ready for its (imminent?) removal.
8685
8686         * lyx_cb.[Ch]: see above.
8687
8688         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8689         form1.[Ch].
8690
8691         * form1.[Ch]:
8692         * lyx.[Ch]: replaced by figure_form.[Ch].
8693
8694         * lyx_gui.C:
8695         * lyx_gui_misc.C:
8696         * lyxfunc.C: changed headers associated with above changes.
8697
8698 2001-03-27  Juergen Vigna  <jug@sad.it>
8699
8700         * BufferView_pimpl.C: set the temporary cursor right!
8701
8702 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
8703
8704         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8705
8706 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
8707
8708         * LString.h: removed "using std::getline"!
8709
8710         * BufferView_pimpl.C (Dispatch): changes due to changes in
8711         InsetInclude::Params.
8712
8713         * buffer.C (tag_name): removed redundant break statements as they were
8714         producing lots of warnings with my compiler.
8715
8716 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8717
8718         * LString.h: add "using std::getline" when using the real <string>.
8719
8720 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
8721
8722         * buffer.C: removed bitset usage.
8723         PAR_TAG moved to an anonymous name space.
8724         (tag_name): new funtion, also in the anonymous namespace.
8725         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8726         (makeDocBookFile): clean code. Completed transition from string arrays
8727         to string vectors.
8728         (SimpleDocBookOnePar): code clean.
8729
8730 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8731
8732         * tabular.C: add some comments.
8733
8734 2001-03-22  Juergen Vigna  <jug@sad.it>
8735
8736         * buffer.C (parseSingleLyXformat2Token): redone the minipage
8737         compatibility read a bit and fixed bug with minipage in different
8738         depth.
8739
8740 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
8741
8742         * buffer.C (pop_tag): removed.
8743         (push_tag): removed.
8744         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8745         array replaced with vector. Added support for CDATA sections.
8746         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8747         at any nest level.
8748         (makeDocBookFile): XML conformant declaration of CDATA section,
8749         fixed bug related to <emphasis> in the first paragraph char.
8750         (sgmlOpenTag): exclude empty tags.
8751         (sgmlCloseTag): ditto.
8752
8753         * buffer.h (pop_tag): removed.
8754         (push_tag): removed.
8755
8756 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
8757
8758         * language.h (Languages): added size_type and size().
8759
8760 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8761
8762         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8763         response on compability reading of minipages. One probliem is that
8764         the old usage of minipages was «flertydig»
8765
8766         * several files here and in subdirs: don't use static at file
8767         scope use anon namespaces instead.
8768
8769 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
8770
8771         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8772         LaTeX output. This is necessary for Literate document
8773         processing.
8774
8775 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8776
8777         * buffer.C: insert hfill when needed.
8778
8779         * tabular.C (l_getline): use string::erase, small whitespace change.
8780
8781         * BufferView_pimpl.C: try the anon namespace.
8782         * WorkArea.C: ditto
8783
8784 2001-03-16  Juergen Vigna  <jug@sad.it>
8785
8786         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8787         otherwise it won't open options-dialogs.
8788
8789         * buffer.C: honor pextraWidth(p) on converting minipages.
8790
8791         * tabular.C (l_getline): changed the functions to strip trailing \r.
8792
8793 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
8794
8795         * BufferView_pimpl.C:
8796         * minibuffer..C: added "using SigC::slot" declaration.
8797
8798 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8799
8800         * lyxlex_pimpl.h: noncopyable is in namespace boost.
8801
8802         * text2.C: ditto
8803
8804         * text.C: ditto
8805
8806         * paragraph.C: ditto
8807
8808         * lyxtext.h: NO_PEXTRA
8809
8810         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8811
8812         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8813         * ParameterStruct.h: ditto
8814         * ParagraphParameters.h: ditto
8815         * lyxparagraph.h: ditto
8816
8817 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8818
8819         * buffer.C: add compability for minipage alignment.
8820         (latexParagraphs): remove unwanted pextra check.
8821
8822         * several files: remove CXX_WORKING_NAMESPACES
8823
8824         * buffer.C (pop_tag): tie is in namespace boost
8825
8826         * BufferView.h: noncopyable is in namespace boost
8827         * lyxlex.h: ditto
8828         * lyx_main.h: ditto
8829         * lyx_gui.h: ditto
8830         * layout.h: ditto
8831         * lastfiles.h: ditto
8832         * bufferlist.h: ditto
8833         * ShareContainer.h: ditto
8834         * LyXView.h: ditto
8835         * LyXAction.h: ditto
8836         * LaTeX.h: ditto
8837
8838 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
8839
8840         * Merging changes from BRANCH_MVC back into HEAD.
8841
8842         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8843
8844 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
8845
8846         * BufferView_pimpl.C: change from intl.C
8847
8848         * combox.h:
8849         * combox.C:
8850         * Makefile.am: move combox.*
8851
8852         * form1.h:
8853         * form1.C:
8854         * lyx_gui.C:
8855         * intl.h:
8856         * intl.C: remove dialog (covered by prefs)
8857
8858 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
8859
8860         * lyxfunc.C (Dispatch): removed redundant break statement.
8861
8862 2001-03-14  Juergen Vigna  <jug@sad.it>
8863
8864         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8865
8866 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8867
8868         * buffer.C: add hack to fix compability reading of minipages.
8869
8870 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
8871
8872         * buffer.C (getLists): Cleanup.
8873
8874 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8875
8876         * lyxfont.C (update): don't honor toggleall on font size.
8877
8878 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
8879
8880         * bmtable.c:
8881         * bmtable.h:
8882         * Makefile.am: moved to frontends/xforms/
8883
8884         * lyx_gui_misc.C:
8885         * lyxfunc.C:
8886         * BufferView_pimpl.C: changes for moved mathpanel
8887
8888 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8889
8890         * gettext.h: fix gettext_init() in --disable-nls
8891
8892 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8893
8894         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8895
8896 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
8897
8898         * lyx.C:
8899         * lyx.h: strip external form
8900
8901 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8902
8903         * BufferView_pimpl.C: add comment, destroySplash()
8904
8905 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
8906
8907         * BufferView_pimpl.C:
8908         * LyXAction.C:
8909         * buffer.C:
8910         * commandtags.h:
8911         * lyxfunc.C: use re-worked insetinclude
8912
8913 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8914
8915         * buffer.C: add using std::stringstream.
8916
8917         * lyx_cb.C: readd using std::ios.
8918
8919         * buffer.C: add using std::map.
8920
8921         * BufferView_pimpl.C: add using std::vector.
8922
8923         * ShareContainer.h: add std:: to swap.
8924
8925         * buffer.h: add some typedefs
8926         * buffer.C (getLists): use them
8927         (getLists): renamed from getTocList.
8928         add a counter for the different float types and use it in the
8929         generated string.
8930         (getLists): use the same counter for the NEW_INSETS and the "non"
8931         NEW_INSETS
8932
8933         * lyx_cb.h: remove unused items, includes, using etc.
8934
8935         * ShareContainer.h: remove some commented code, add more comments
8936         and "documentation".
8937
8938 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8939
8940         * buffer.C (getTocList): make the list also when NEW_INSETS is
8941         defined.
8942
8943         * buffer.h: remove TocType
8944
8945         * buffer.C (getTocList): change to return a map<string,
8946         vector<TocItem> >, implement for dynamic number of list.
8947
8948         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8949         * text2.C (PasteSelection): adjust
8950         * CutAndPaste.C (pasteSelection): adjust
8951
8952         * FloatList.C (FloatList): update from the new_insets branch.
8953         * Floating.[Ch]: ditto
8954         * LaTeXFeatures.C: ditto
8955         * buffer.C: ditto
8956         * lyxlex_pimpl.C: ditto
8957
8958         * paragraph.C (Last): remove when NEW_INSETS is defined.
8959
8960         * other file: changes because of the above.
8961
8962 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8963
8964         * lyxparagraph.h: rename next to next_, previous to previous_,
8965         make them private for NEW_INSETS. Rename Next() to next(),
8966         Previous() to previous().
8967
8968         * other files: changes because of the above.
8969
8970 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
8971
8972         * BufferView.h:
8973         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8974         problem.
8975
8976 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8977
8978         * main.C (main): pass lyx_localedir to gettext_init().
8979
8980         * gettext.h: remove locale_init and gettext_init macros
8981
8982         * gettext.C (locale_init): new function
8983         (gettext_init): new function
8984
8985         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8986         setlocale().
8987
8988 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
8989
8990         * Moved credits to frontends:
8991         * credits.[Ch]: removed
8992         * credits_form.[Ch]: removed
8993         * lyx_gui_misc.C: remove credits stuff
8994         * Makefile.am:
8995
8996 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
8997
8998         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8999
9000         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9001         unneeded destructor.
9002
9003         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9004         a standalone pointer again.
9005
9006         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9007
9008 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
9009
9010         * Makefile.am:
9011         * filedlg.h:
9012         * filedlg.C:
9013         * LyXAction.C:
9014         * ToolbarDefaults.C:
9015         * bufferlist.C:
9016         * commandtags.h:
9017         * form1.C:
9018         * form1.h:
9019         * lyx_cb.C:
9020         * lyx_cb.h:
9021         * lyxfunc.h:
9022         * lyxfunc.C:
9023         * BufferView_pimpl.C: use new file dialog in GUII
9024
9025         * lyx_cb.h:
9026         * lyx_cb.C: remove LayoutsCB to Toolbar
9027
9028 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9029
9030         * ShareContainer.h (get): add std:: qualifier
9031
9032 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9033
9034         * ShareContainer.h: define a proper ShareContainer::value_type
9035         type (and use typename to please compaq cxx)
9036
9037 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9038
9039         * lyxparagraph.h: move serveral local vars to
9040         ParameterStruct/ParagraphParameters., use ShareContainer in
9041         FontTable., make vars in FontTable private and add getter and
9042         setter.
9043
9044         * paragraph.C: changes because of the above.
9045
9046         * lyxfont.h: remove copy constructor and copy assignment. (the
9047         default ones is ok), move number inside FontBits. move inlines to
9048         lyxfont.C
9049
9050         * lyxfont.C: add number to initializaton of statics, move several
9051         inlines here. constify several local vars. some whitespace
9052         cleanup. Dont hide outerscope variables.
9053
9054         * Spacing.h: add two new constructors to match the set methods.
9055
9056         * ShareContainer.h: new file, will perhaps be moved to support
9057
9058         * ParameterStruct.h: new file
9059
9060         * ParagraphParameters.h: new file
9061
9062         * ParagraphParameters.C: new file
9063
9064         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9065         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9066
9067         * BufferView_pimpl.C: ParagraphParameter changes.
9068         * buffer.C: Likewise.
9069         * bufferview_funcs.C: Likewise.
9070         * text.C: Likewise.
9071         * text2.C: Likewise.
9072
9073 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9074
9075         * lyxfind.C (LyXReplace): do not redefine default argument in
9076         implementation.
9077         (IsStringInText): ditto
9078         (SearchForward): ditto
9079         (SearchBackward): ditto
9080
9081 2001-03-06  Juergen Vigna  <jug@sad.it>
9082
9083         * lyxfind.C (IsStringInText): put parentes around expressions.
9084
9085 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
9086
9087         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9088
9089 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
9090
9091         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9092
9093         * stl_string_fwd.h: add comment
9094
9095         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9096
9097         * tabular.h:
9098         * tabular.C: remove unused DocBook methods
9099
9100         * intl.C:
9101         * language.C:
9102         * paragraph.C:
9103         * buffer.C:
9104         killed DO_USE_DEFAULT_LANGUAGE
9105
9106 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9107
9108         * lyx_gui.C: do not include language.h.
9109
9110         * bufferview_funcs.C (ToggleAndShow): do not provide optional
9111         arguments in function implementation.
9112
9113 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9114
9115         * BufferView_pimpl.C: add <ctime>
9116
9117 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9118
9119         * BufferView_pimpl.C: add using std::find_if
9120
9121 2001-02-27  José Matos  <jamatos@fep.up.pt>
9122
9123         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9124         by OnlyPath.
9125
9126 2001-02-11  José Matos  <jamatos@fep.up.pt>
9127
9128         * buffer.C (makeDocBookFile): command styles now have a parameter as
9129         "title" by default.
9130
9131 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
9132
9133         * layout_forms.[Ch]: removed
9134         * lyx_cb.[Ch]: out character
9135         * lyx_gui.C: out character
9136         * lyx_gui_misc.C: out character
9137         * bufferview_funcs.C: : out character,
9138         added toggleall as parameter in ToggleAndShow
9139
9140 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
9141
9142         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9143
9144         * text2.C (SetCurrentFont): Disable number property at boundary.
9145
9146 2001-02-26  Juergen Vigna  <jug@sad.it>
9147
9148         * lyxfunc.C (getStatus): added a string argument override function so
9149         that this is correctly called from LyXFunc::Dispatch if it contains a
9150         do_not_use_argument which is used!
9151         (Dispatch): added check for "custom" export and call appropriate func.
9152
9153 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
9154
9155         * lyxrc.C: Add language_command_local, language_use_babel and
9156         language_global_options.
9157
9158         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9159
9160         * buffer.C (makeLaTeXFile): Use language_use_babel and
9161         language_global_options.
9162
9163 2001-02-23  Juergen Vigna  <jug@sad.it>
9164
9165         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9166         which works with LyXText and putted it inside BufferView. Here now we
9167         only call for that part the BufferView::Dispatch() function.
9168
9169         * BufferView.C (Dispatch): added.
9170
9171         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9172         functions which needs to use a LyXText over from LyXFunc.
9173         (MenuInsertLyXFile): added
9174         (getInsetByCode): added
9175         (moveCursorUpdate): added
9176         (static TEXT): added
9177
9178 2001-02-22  Juergen Vigna  <jug@sad.it>
9179
9180         * BufferView_pimpl.C (update): call a status update to see if LyXText
9181         needs it.
9182
9183 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
9184
9185         * vc-backend.C (revert): implement for CVS
9186         (getLog): implement for CVS
9187
9188 2001-02-20  Juergen Vigna  <jug@sad.it>
9189
9190         * text2.C (ClearSelection): added BufferView param for inset_owner call
9191
9192         * lyxfunc.C (TEXT): added this function and use it instead of
9193         directly owner->view()-text of getLyXText().
9194
9195 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
9196
9197         * src/layout_forms.C: out preamble
9198         * src/layout_forms.h: out preamble
9199         * src/lyx_cb.C: out preamble
9200         * src/lyx_cb.h: out preamble
9201         * src/lyx_gui.C: out preamble
9202         * src/lyx_gui_misc.C: out preamble
9203         * src/lyxfunc.C: connect with guii preamble
9204
9205 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
9206
9207         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9208
9209 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
9210
9211         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9212         whether to run bibtex.
9213
9214 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
9215
9216         * Makefile.am (lyx_SOURCES): Remove BackStack.h
9217
9218 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
9219
9220         * Makefile.am (lyx_SOURCES): removed bibforms.h
9221
9222         * vspace.h: doxygen
9223
9224         * text.C (GetVisibleRow): make several local vars const
9225
9226         * tabular.C: small cleanup.
9227
9228         * lyxserver.C (callback): use compare instead of strncmp
9229
9230         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9231         inlines to after class or to paragraph.C
9232
9233         * lyxfont.h: remove friend operator!=
9234
9235         * converter.h: move friend bool operator< to non friend and after
9236         class def.
9237
9238         * combox.h: small cleanup
9239
9240         * buffer.h: doxygen, remove unused constructor, move inclas inlies
9241         to inlines after class def.
9242
9243         * buffer.C (pop_tag): use string operations instead of strcmp
9244
9245         * bmtable.c: doxygen, small cleanup
9246
9247         * LaTeX.h: remove friend operator==
9248
9249 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
9250
9251         * screen.C:
9252         * lyxrc.[Ch]:
9253         * lyxfunc.C:
9254         * lyxfont.[Ch]:
9255         * lyx_cb.C:
9256         * intl.[Ch]:
9257         * commandtags.h:
9258         * buffer.C:
9259         * WorkArea.[Ch]:
9260         * LyXAction.C:
9261         * BufferView_pimpl.C:
9262         * BufferView.[Ch]: remove cruft
9263
9264 2001-02-14  Juergen Vigna  <jug@sad.it>
9265
9266         * lyxfunc.C: removed #if 0 unused code
9267
9268         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9269
9270         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9271
9272         * text2.C (SetSelection): added a BufferView * parameter
9273
9274 2001-02-13  Juergen Vigna  <jug@sad.it>
9275
9276         * lyxfunc.C (Dispatch): fixed protected blank problem.
9277         * BufferView2.C (protectedBlank): added LyxText * parameter.
9278
9279         * tabular.C (AppendRow): forgot to set row_info of newly added row.
9280         (AppendColumn): same as above for column_info.
9281
9282         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9283         (moveCursorUpdate): use a LyXText param for support of InsetText.
9284
9285         * BufferView_pimpl.C (doubleClick): added support for InsetText.
9286         (tripleClick): ditto
9287
9288         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9289
9290         * BufferView_pimpl.C (update): added LyXText param to honor insets.
9291
9292         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9293
9294         * text2.C (SetSelection): set correct update status if inset_owner
9295         (ToggleFree): ditto
9296
9297 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
9298
9299         * tabular.C: remove some commented code.
9300
9301 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * BufferView_pimpl.C: call hideSplash()
9304
9305         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9306
9307         * include_form.h:
9308         * bibforms.h: remove
9309
9310         * lyxfunc.C:
9311         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9312           add LFUN_CHILD_CREATE
9313
9314         * counters.h: fix tiny typo
9315
9316         * lyx_cb.C:
9317         * lyx.h:
9318         * lyx_gui.C:
9319         * lyx.C: move splash to frontends/xforms/
9320
9321         * lyx_gui_misc.C: move Include and Bibform to frontends
9322
9323         * lyxvc.h: clarify comment
9324
9325         * vspace.C: tiny housekeeping
9326
9327 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
9328
9329         * text.C (PrepareToPrint): RTL Fix.
9330
9331         * paragraph.C (GetUChar): New method.
9332         (String):  Use GetUChar.
9333
9334         * buffer.C (asciiParagraph): Use GetUChar.
9335
9336 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
9337
9338         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9339
9340 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
9341
9342         * buffer.h:
9343         * buffer.C: rename to getLogName(), handle
9344           build log / latex log nicely
9345
9346 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9347
9348         * MenuBackend.C:
9349         * MenuBackend.h: remove support for reference menuitem type.
9350
9351 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
9352
9353         * BufferView_pimpl.C: housekeeping
9354         * BufferView_pimpl.h:
9355         * LyXView.h:
9356         * Makefile.am:
9357         * Timeout.C:
9358         * Timeout.h:
9359         * minibuffer.h: move Timeout GUI-I
9360
9361 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
9362
9363         * lyxrc.C (read): Update converters data-structures.
9364
9365 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
9366
9367         * LaTeX.h (operator!=): add operator != for Aux_Info
9368
9369 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
9370
9371         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9372
9373         * LaTeXLog.C: deleted, useful code moved to Buffer
9374
9375         * buffer.h:
9376         * buffer.C: new function getLatexLogName()
9377
9378         * lyx_gui_misc.C:
9379         * lyx_gui.C:
9380         * lyxvc.C:
9381         * lyxvc.h:
9382         * lyxfunc.C: use frontends for LaTeX and VC logs
9383
9384 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9385
9386         * LaTeX.h: yet another std:: that Allan forgot.
9387
9388         * Variables.C (set): renamed from isset(), because this clashes
9389         with some HP-UX macros (grr).
9390
9391 2001-02-06  Allan Rae  <rae@lyx.org>
9392
9393         * LaTeX.h: Another bug fix.  Missing std:: this time.
9394
9395 2001-02-04  Allan Rae  <rae@lyx.org>
9396
9397         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9398         floats problem. I've left it commented out because it's not quite
9399         correct.  It should also test that the current object is a table or
9400         figure inset.  But I haven't gotten around to figuring out how to do
9401         that.  I *think* it'll be something like: "table" == inset.type()
9402
9403         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9404         bool.
9405
9406 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
9407
9408         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9409         all the citation/databases/styles in the auxilary file.
9410         (run): Rerun latex if there was a babel language error.
9411
9412 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
9413
9414         * text.C (Backspace): Preserve the font when changing newline char
9415         with a space.
9416         (BreakParagraph): If the cursor is before a space, delete the space.
9417
9418         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9419
9420 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
9421
9422         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9423         new argument (code).
9424         (ChangeCitationsIfUnique): New method.
9425
9426         * paragraph.C (GetPositionOfInset): Handle bibkey.
9427
9428 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9429
9430         * BufferView_pimpl.h: change type of Position::par_pos to
9431         LyXParagraph::size_type.
9432
9433 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
9434
9435         * BufferView_pimpl.C (savePosition, restorePosition): Write
9436         messages to minibuffer.
9437
9438 2001-01-28  José Matos  <jamatos@fep.up.pt>
9439
9440         * buffer.C (makeDocBookFile): adds support for document language.
9441         A silly restriction on the name of LatexCommand types where removed.
9442         Added support for CDATA sections, allows to chars unescaped, used
9443         among others in code, to avoid escape < and >.
9444
9445 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
9446
9447         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9448         saved positions instrad of a stack. Furthermore, a position is
9449         stored using paragraph id/paragraph position.
9450
9451         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9452         Remove LFUN_REF_BACK.
9453
9454 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
9455
9456         * converter.C (dvipdfm_options): New method.
9457
9458 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
9459
9460         * vspace.C (isValidLength): Fix for empty input string.
9461
9462 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9463
9464         * LyXAction.C (init): change description of LFUN_FIGURE to
9465         "Insert Graphics"
9466
9467 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9468
9469         * LaTeX.C: add using directive
9470
9471 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
9472
9473         * MenuBackend.C (expand): Fix the sorting of the formats.
9474
9475 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * lyx_main.C: tiny error message fix
9478
9479 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9480
9481         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9482         calling fl_initialize(). This fixes the problem with ',' as
9483         decimal separator in text files.
9484
9485 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
9486
9487         * trans.C (process): Fix the keymap bug.
9488
9489 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
9490
9491         * LaTeX.C (scanAuxFiles): New method. Provides support for
9492         multiple bibliographies (when using the bibtopic/bibunits pacakges).
9493         (scanLogFile) Scan for "run BibTeX" messages.
9494
9495         * buffer.C (makeLaTeXFile): Do not load the ae package when using
9496         OT1 font encoding. Also, load the aecompl package if the ae
9497         package is loaded.
9498
9499         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9500
9501 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9502
9503         * texrow.C (increasePos): turn two error messages into debug
9504         messages.
9505
9506 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
9507
9508         * LaTeX.C (scanAux): Handle the \@input macro.
9509         (runBibTeX): Use scanAux().
9510
9511         * language.C (latex_options_): New field.
9512
9513         * LaTeXFeatures.C (getMacros): Add language macros.
9514
9515         * buffer.C (makeLaTeXFile): Small fix.
9516
9517 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9518
9519         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9520
9521         * text2.C: add a using directive.
9522
9523 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
9524
9525         * BufferView2.C:
9526         * lyx_gui_misc.h:
9527         * lyxfr1.C:
9528         * lyxfunc.C: kill LyXBell.
9529
9530 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
9531
9532         * text.C (IsBoundary): Remove the error message
9533
9534         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9535
9536         * lyxrc.C (setDefaults): Correct initialization value for
9537         font_norm_type.
9538
9539 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9540
9541         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9542         gotoError().
9543
9544         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9545         and GotoNextNote().
9546
9547         * src/LyXAction.C: Added reference-next.
9548
9549         * text.C (InsertChar): Use contains instead of strchr.
9550
9551         * lyx_cb.C (MenuInsertLabel): Enable default value code.
9552
9553 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
9554
9555         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9556         alignment commands (when needed).
9557
9558         * text.C (InsertChar): Add ':' to number separator chars.