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