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