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