1 2003-03-19 John Levon <levon@movementarian.org>
3 * lyxfunc.C: only fitcursor/markDirty if available()
5 2003-03-19 John Levon <levon@movementarian.org>
7 * commandtags.h: rename to ...
9 * lfuns.h: ... this, and renumber / cleanup
11 2003-03-19 John Levon <levon@movementarian.org>
13 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
14 fit the cursor after an lfun
19 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
21 * LyXAction.C: layout-character should have ReadOnly
23 * ParagraphParameters.C:
32 * undo_funcs.C: changes from above
34 2003-03-18 John Levon <levon@movementarian.org>
36 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
37 remove it from update()
39 * lyxfunc.C: update layout choice after an lfun
41 * text3.C: remove extra updateLayoutChoice()s
43 2003-03-18 John Levon <levon@movementarian.org>
45 * text.C: top_y change means full repaint, fix
46 a drawing bug with cursor movement
48 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
52 * text2.C: anchor row on setCursor
54 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
56 * lyxtext.h: remove almost all mutable keywords
59 * text3.C: remove const keywords accordingly
61 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
63 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
65 (TeXEnvironment): ditto
68 2003-03-17 John Levon <levon@movementarian.org>
70 * text.C (rowBreakPoint): remove attempt to fix displayed
71 math insets inside a manual label
73 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * lyxtext.h: remove BufferView* as first arg from almost all class
77 * other files: adjust.
79 2003-03-17 John Levon <levon@movementarian.org>
83 * text2.C: more paint cleanups
85 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
88 * rowpainter.C: remove "smart" background painting code
90 2003-03-16 John Levon <levon@movementarian.org>
95 * text3.C: add helper functions for setting refresh_row/y
97 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
99 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
100 newline inset which *can* get inserted in the pass_thru layouts.
101 This is primarily for literate documents.
103 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
105 * buffer.C: increment LYX_FORMAT to 223
107 2003-03-14 André Pönitz <poenitz@gmx.net>
109 * textclass.h: prepare for environment handling, ws changes
110 * lyxlayout.C: read latexheader and latexfooter tags
112 2003-03-14 John Levon <levon@movementarian.org>
114 * text2.C: rewrite ::status() a bit
116 2003-03-13 John Levon <levon@movementarian.org>
118 * lyxtext.h: add some docs
120 2003-03-13 John Levon <levon@movementarian.org>
125 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
127 2003-03-13 John Levon <levon@movementarian.org>
129 * text3.C: fix appendix redrawing
131 2003-03-13 John Levon <levon@movementarian.org>
133 * text.C (setHeightOfRow):
135 * rowpainter.C: make appendix mark have the text
136 "Appendix" so the user knows what it is
139 * LColor.C: s/appendixline/appendix/ from above
141 2003-03-13 John Levon <levon@movementarian.org>
143 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
145 * text.C: fix a getChar(pos) bug properly
147 2003-03-13 Angus Leeming <leeming@lyx.org>
150 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
151 Probably only temporary. Let's see how things pan out.
153 * BufferView.C (unlockInset):
154 * BufferView_pimpl.C (fitCursor):
155 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
157 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
158 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
160 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
161 new functions that convert ParagraphParameters to and from a string.
163 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
164 BufferView::Pimpl's dispatch.
165 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
167 2003-03-13 André Pönitz <poenitz@gmx.net>
171 * factory.C: make it aware of InsetEnv
173 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
175 * text2.C (setCursor): never ask for one past last
176 (setCursor): add some debugging messages.
178 * text.C (singleWidth): never ask for one past last
182 (rowBreakPoint): ditto
183 (setHeightOfRow): ditto
184 (prepareToPrint): ditto
186 * rowpainter.C (paintBackground): never ask for one past last
187 (paintText): never ask for one past last
189 * paragraph_pimpl.C (getChar): make the assert stricter, never
190 allow the one past last pos to be taken
192 * paragraph.C (getChar): ws changes only
194 * lyxrow.C (nextRowIsAllInset): never ask for one past last
195 (numberOfSeparators): ditto
196 (numberOfHfills): ditto
198 2003-03-12 John Levon <levon@movementarian.org>
204 * paragraph_funcs.C: fix per-buffer authorlists
206 2003-03-12 John Levon <levon@movementarian.org>
208 * text.C: fix newline in right address
210 2003-03-12 Angus Leeming <leeming@lyx.org>
212 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
213 duplicate those in LyXFunc::dispatch.
218 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
219 Add LFUN_FONTFREE_UPDATE.
221 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
222 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
224 * bufferview_func.[Ch]: several new functions to facilliate
225 transfer of data to and from the character dialog.
227 2003-03-12 John Levon <levon@movementarian.org>
237 * text3.C: remove META_NEWLINE in favour of an inset
240 * rowpainter.C: remove paintNewline (done by inset)
242 2003-03-12 John Levon <levon@movementarian.org>
244 * paragraph_pimpl.C: complain about bad getChar()s
247 2003-03-12 John Levon <levon@movementarian.org>
250 * buffer.C: move paragraph read into a separate function,
251 a little renaming to reflect that.
254 * bufferparams.C: remove the author_ids map, not necessary now
257 * factory.C: moved Buffer::readInset to here
260 * paragraph_funcs.C: readParagraph free function moved from
263 * tabular.C: name change
265 2003-03-12 John Levon <levon@movementarian.org>
268 * ParagraphParameters.C: move par params input to
271 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
272 behave like a normal read from the stream wrt reading
275 2003-03-12 John Levon <levon@movementarian.org>
278 * ParagraphParameters.h:
279 * ParagraphParameters.C: move output code to a
282 2003-03-12 John Levon <levon@movementarian.org>
284 * BufferView.C (insertLyXFile):
287 * tabular.C: use a parlist iterator for creating the
290 2003-03-12 John Levon <levon@movementarian.org>
292 * buffer.C: make current_change static local not
295 2003-03-12 John Levon <levon@movementarian.org>
297 * buffer.C: fix insertStringAsLines for change tracking
299 2003-03-12 John Levon <levon@movementarian.org>
306 * bufferparams.C: move author list into params. Rename some
307 functions. Move the header reading into a separate token
308 loop. Move the header token reading into BufferParams.
310 2003-03-12 John Levon <levon@movementarian.org>
312 * changes.C: put debug inside lyxerr.debugging() checks
314 2003-03-11 André Pönitz <poenitz@gmx.net>
316 * factory.C: make it aware of InsetHFill
318 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
320 * buffer.C (latexParagraphs): move function from here...
321 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
324 2003-03-10 Angus Leeming <leeming@lyx.org>
326 * LyXAction.C (init): fix bug in poplating array with multiple entries
327 with the same LFUN (spotted by JMarc).
329 2003-03-10 John Levon <levon@movementarian.org>
332 * text2.C: move getColumnNearX() near its
335 2003-03-10 John Levon <levon@movementarian.org>
337 * text.C: fix break before a minipage
339 2003-03-10 John Levon <levon@movementarian.org>
341 * text.C: fix the last commit
343 2003-03-09 John Levon <levon@movementarian.org>
347 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
348 bug 365 (don't break before insets unless needed). Don't
349 return a value > last under any circumstances.
351 2003-03-09 Angus Leeming <leeming@lyx.org>
353 * BufferView_pimpl.C (trackChanges, dispatch): call
354 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
356 2003-03-09 Angus Leeming <leeming@lyx.org>
358 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
359 than Dialogs::showAboutlyx().
361 2003-03-09 Angus Leeming <leeming@lyx.org>
363 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
364 than Dialogs::showTabularCreate().
366 2003-03-09 John Levon <levon@movementarian.org>
370 * text2.C: 3rd arg to nextBreakPoint was always the same.
373 2003-03-08 John Levon <levon@movementarian.org>
380 * text2.C: Remove the "main" bit from the "main body"
383 2003-03-08 John Levon <levon@movementarian.org>
385 * text.C (leftMargin): The left margin of an empty
386 manual label paragraph should not include the label width
389 * text.C (prepareToPrint): don't attempt to measure hfills
390 for empty manual label paragraphs - the answer should be 0
392 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
394 * CutAndPaste.C: remove commented code and reindent.
396 2003-03-08 John Levon <levon@movementarian.org>
399 * lyxfunc.C: move reloadBuffer()
402 * BufferView.C: to here
404 * lyxvc.C: add comment
407 * vc-backend.C: call bv->reload() to avoid
408 getStatus() check on MENURELOAD
410 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
412 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
413 to an old format .dep file.
415 2003-03-07 Angus Leeming <leeming@lyx.org>
417 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
418 when the LFUN_MOUSE_RELEASE should have been handled by
419 inset->localDispatch.
421 2003-03-07 Angus Leeming <leeming@lyx.org>
423 * BufferView_pimpl.C (dispatch):
424 * LyXAction.C (init):
425 * ToolbarDefaults.C (init):
427 * lyxfunc.C (getStatus):
428 remove LFUN_INSET_GRAPHICS.
430 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
432 2003-03-07 Angus Leeming <leeming@lyx.org>
435 * LyXAction.C (init):
436 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
438 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
441 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
443 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
444 localDispatch method LFUN_INSET_DIALOG_UPDATE.
446 2003-03-07 Angus Leeming <leeming@lyx.org>
448 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
451 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
453 * ParagraphList.C (front): new function
456 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
458 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
459 and top_row_offset_. removed var first_y.
461 * text2.C (LyXText, removeRow):
463 * BufferView_pimpl.C:
464 use these methods instead of using first_y
466 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
468 * text2.C (pasteSelection): adjust for checkPastePossible
470 * CutAndPaste.C: remove Paragraph * buf and replace with
471 ParagraphList paragraphs.
472 (DeleteBuffer): delete
473 (cutSelection): change the tc type to textclass_type
474 (copySelection): change the tc type to textclass_type
475 (copySelection): adjust for ParagraphList
476 (pasteSelection): change the tc type to textclass_type
477 (pasteSelection): adjust for Paragraphlist
478 (nrOfParagraphs): simplify for ParagraphList
479 (checkPastePossible): simplify for ParagraphList
480 (checkPastePossible): remove unused arg
482 * ParagraphList.C (insert): handle the case where there are no
485 * CutAndPaste.h: make CutAndPaste a namespace.
487 * text3.C (dispatch): adjust
489 * text.C (breakParagraph): add a ParagraphList as arg
491 * paragraph_funcs.C (breakParagraph): change to take a
492 BufferParams and a ParagraphList as args.
493 (breakParagraphConservative): ditto
494 (mergeParagraph): ditto
495 (TeXDeeper): add a ParagraphList arg
496 (TeXEnvironment): ditto
499 * buffer.C (readLyXformat2): adjust
500 (insertStringAsLines): adjust
501 (latexParagraphs): adjust
503 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
504 (cutSelection): adjust
505 (pasteSelection): adjust
507 * BufferView_pimpl.C (insertInset): adjust
509 2003-03-05 Angus Leeming <leeming@lyx.org>
512 * LyXAction.C (init):
513 * BufferView_pimpl.C (dispatch):
514 * lyxfunc.C (getStatus):
515 remove LFUN_CHILD_INSERT.
517 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
519 2003-03-05 Angus Leeming <leeming@lyx.org>
522 * LyXAction.C (init):
523 * src/factory.C (createInset):
524 * lyxfunc.C (getStatus):
525 * text3.C (dispatch):
526 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
528 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
530 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
532 * ParagraphList.C (insert): handle insert right before end()
533 (erase): fix cases where it can be first or last paragraph.
535 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
537 * paragraph_funcs.C (TeXEnvironment): remove all usage of
538 Paragraph::next and Paragraph::previous
541 * text.C (breakParagraph): adjust
543 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
544 BufferParams& as arg.
545 (breakParagraph): use ParagraphList::insert
546 (breakParagraphConservative): take a Buffer* instead of a
547 BufferParams& as arg.
548 (breakParagraphConservative): use ParagraphList::insert.
550 * buffer.C (insertStringAsLines): un-const it
551 (insertStringAsLines): adjust
553 * ParagraphList.C (insert): new function
555 * CutAndPaste.C (pasteSelection): adjust
557 * text.C (backspace): adjust
559 * tabular.C (SetMultiColumn): adjust
561 * CutAndPaste.C (cutSelection): adjust
562 (pasteSelection): adjust
564 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
565 Buffer const * as arg
567 * ParagraphList.C (erase): new function
568 * paragraph_funcs.C (mergeParagraph): use it
569 (mergeParagraph): make it take a Buffer* instead of a
572 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
574 (breakParagraphConservative): ditto
576 * paragraph.h: remove the breakParagraph friend
578 * paragraph.C (eraseIntern): new function
579 (setChange): new function
581 * paragraph_funcs.C (mergeParagraph): make it take a
582 ParagraphList::iterator instead of a Paragraph *, adjust
585 * paragraph.h: move an #endif so that the change tracking stuff
586 also works in the NO_NEXT case.
588 2003-03-04 Angus Leeming <leeming@lyx.org>
591 * LyXAction.C: new LFUN_INSET_MODIFY.
593 * BufferView_pimpl.C (dispatch): if an inset is found to be open
594 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
596 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
598 * several files: ws changes only
600 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
601 (TeXEnvironment): ditto
604 * buffer.C (makeLaTeXFile): adjust
605 (latexParagraphs): make it take ParagraphList::iterator as args
607 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
609 * buffer.C (latexParagraphs): adjust
611 * paragraph.C (TeXOnePar): move function...
612 (optArgInset): move function...
613 (TeXEnvironment): move function...
614 * paragraph_pimpl.C (TeXDeeper): move function...
615 * paragraph_funcs.C: ...here
617 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
619 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
621 * buffer.C (readInset): remove compability code for old Figure and
624 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
626 * buffer.C: ws changes
629 * BufferView_pimpl.C: ditto
632 * bufferlist.h: ditto
636 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
638 * converter.[Ch]: split into itself +
641 * Makefile.am: += graph.[Ch] + format.[Ch]
648 * lyxrc.C: added #include "format.h"
650 2003-02-27 Angus Leeming <leeming@lyx.org>
652 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
655 * factory.C (createInset): add "label" to the factory.
657 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
658 string and do no more.
660 2003-02-27 Angus Leeming <leeming@lyx.org>
663 * LyXAction.C (init):
664 * factory.C (createInset):
665 * BufferView_pimpl.C (dispatch):
666 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
668 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
670 * lyxfunc.C (dispatch):
671 * text3.C (dispatch): pass name to params2string.
673 2003-02-26 Angus Leeming <leeming@lyx.org>
675 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
677 Rearrange the ~includes. Strip out the unnecessary ones.
679 * factory.C (createInset): reformat.
680 create new insets for the various LFUN_XYZ_APPLY lfuns.
682 2003-02-26 John Levon <levon@movementarian.org>
685 * lyxrow.C: add isParStart,isParEnd helpers
687 * paragraph.h: make isInserted/DeletedText take refs
690 * paragraph_funcs.C: remove #if 0'd code
695 * text.C: use lyxrow helpers above.
696 Move draw and paint routines to RowPainter.
697 Make several methods use refs not pointers.
698 Make backgroundColor() const.
699 Add markChangeInDraw(), isInInset().
700 Merge changeRegionCase into changeCase.
701 Make workWidth() shouldn't-happen code into an Assert.
704 * rowpainter.C: new class for painting a row.
707 * vspace.C: make inPixels take a ref
709 2003-02-26 Angus Leeming <leeming@lyx.org>
711 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
714 2003-02-25 John Levon <levon@movementarian.org>
716 * ispell.C: give the forked command a more accurate name
718 2003-02-22 John Levon <levon@movementarian.org>
721 * toc.C: make TocItem store an id not a Paragraph *
724 2003-02-21 Angus Leeming <leeming@lyx.org>
726 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
727 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
728 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
729 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
730 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
731 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
733 * BufferView_pimpl.C (dispatch):
734 * LyXAction.C (init):
735 * factory.C (createInset):
736 * lyxfunc.C (getStatus, dispatch):
737 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
739 2003-02-21 Angus Leeming <leeming@lyx.org>
741 * BufferView_pimpl.C (MenuInsertLyXFile):
742 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
743 * lyxfunc.C (menuNew, open, doImport):
744 no longer pass a LyXView & to fileDlg.
746 2003-02-21 Angus Leeming <leeming@lyx.org>
748 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
749 * LyXAction.C: change, BIBKEY to BIBITEM.
750 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
751 Change InsetBibKey to InsetBibitem.
752 Change BIBKEY_CODE to BIBITEM_CODE.
753 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
754 * factory.C: replace insetbib.h with insetbibitem.h.
755 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
756 * paragraph.C: replace insetbib.h with insetbibitem.h.
757 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
758 Change bibkey() to bibitem().
759 * text.C: remove insetbib.h.
760 * text2.C: replace insetbib.h with insetbibitem.h.
761 change bibkey() to bibitem().
762 * text3.C: remove insetbib.h.
763 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
765 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
767 * lyxrc.C (output): enclose user email in quotes (in case there are
770 2003-02-18 John Levon <levon@movementarian.org>
772 * buffer.h: add std::
774 2003-02-17 John Levon <levon@movementarian.org>
780 * pspell.C: reworking. Especially in ispell, a large
781 number of clean ups and bug fixes.
783 * lyxfunc.C: fix revert to behave sensibly
785 2003-02-17 André Pönitz <poenitz@gmx.net>
788 * commandtags.h: new LFUN_INSERT_BIBKEY
798 * paragraph_func.C: remove special bibkey handling
800 2003-02-17 John Levon <levon@movementarian.org>
802 * text.C (Delete): fix case where delete at the end of
803 the very first paragraph would not merge the pars
805 2003-02-17 John Levon <levon@movementarian.org>
807 * lyxrow.C: fix lastPrintablePos()
809 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
811 * bufferparams.C (writeLaTeX): add a std:here
813 * buffer.C: and remove a using directive there
815 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
817 * buffer.C (makeLaTeXFile): move the code that generates the
820 * bufferparams.C (writeLaTeX): ... in this new method
822 * LaTeXFeatures.C (getEncodingSet): make const
823 (getLanguages): make const
825 * MenuBackend.C (binding): returns the binding associated to this
827 (add): sets the status of each item by calling getStatus. Adds
829 (read): add support for OptSubMenu
830 (expand): remove extra separator at the end of expanded menu
832 2003-02-15 John Levon <levon@movementarian.org>
835 * BufferView_pimpl.C:
837 * bufferlist.C: remove pointless BufferStorage bloat. Remove
838 inset code that had no actual effect. Remove unneeded status
841 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
843 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
846 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
848 * text.C (drawLengthMarker): also draw an arrow marker for
849 symbolic lengths (medskip...)
851 2003-02-14 John Levon <levon@movementarian.org>
854 * tabular.C: better method names
856 2003-02-14 John Levon <levon@movementarian.org>
858 * BufferView_pimpl.C:
863 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
864 it's a more accurate name. Remove some pointless uses.
866 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
868 * text2.C (LyXText): change order of initilizers to shut off
871 2003-02-14 John Levon <levon@movementarian.org>
873 * buffer.C: use ParIterator for getParFromID()
878 * paragraph_pimpl.C: remove unused getParFromID()
880 2003-02-14 John Levon <levon@movementarian.org>
882 * buffer.C: remove some very old #if 0'd parse code
884 2003-02-13 John Levon <levon@movementarian.org>
888 * text2.C: move hfillExpansion(), numberOfSeparators(),
889 rowLast(), rowLastPrintable(), numberofHfills(),
890 numberOfLabelHfills() ...
893 * lyxrow.C: ... to member functions here.
898 * text.C: remove LyXText::beginningOfMainBody(), and call
899 p->beginningOfMainBody() directly. Move the check for
900 LABEL_MANUAL into the latter.
907 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
913 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
914 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
916 2003-02-13 John Levon <levon@movementarian.org>
918 * CutAndPaste.C: remove debug
920 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
922 * paragraph.C (asString): remove two unused variables
924 * lyxtextclass.C (readTitleType):
926 (LyXTextClass): handle new members titletype_ and titlename_
928 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
930 2003-02-09 John Levon <levon@movementarian.org>
933 * buffer.C: replace hand-coded list with a map for the dep clean
935 2003-02-08 John Levon <levon@movementarian.org>
937 * LaTeX.C: consolidate code into showRunMessage() helper
939 2003-02-08 John Levon <levon@movementarian.org>
944 * BufferView.C: change setSelectionOverString() to setSelectionRange()
945 and pass the size in explicitly
947 * BufferView_pimpl.h:
948 * BufferView_pimpl.C:
950 * BufferView.C: add getCurrentChange()
952 * BufferView_pimpl.h:
953 * BufferView_pimpl.C: handle change lfuns
955 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
956 for changes. Mark pasted paragraphs as new.
960 * DepTable.C: abstract time_t as lyx::time_type
963 * LColor.C: add colours for new text, deleted text, changebars
965 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
966 package use "usenames" option.
970 * LyXAction.C: add change lfuns
974 * author.C: author handling
977 * buffer.C: add a per-buffer author list, with first entry as
978 current author. Handle new .lyx tokens for change tracking. Output
979 author list to .lyx file. Output dvipost stuff to .tex preamble.
980 Bump lyx format to 222.
983 * bufferlist.C: add setCurrentAuthor() to reset current author details
987 * bufferparams.C: add param for tracking
989 * bufferview_funcs.C: output change info in minibuffer
993 * changes.C: add change-tracking structure
996 * debug.C: add CHANGES debug flag
999 * lyxfind.C: add code for finding the next change piece
1002 * lyxrc.C: add user_name and user_email
1005 * lyxrow.C: add a metric for the top of the text line
1008 * text.C: implement accept/rejectChange()
1011 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1012 Strike through deleted text.
1016 * paragraph_pimpl.h:
1017 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1018 to the insert functions. Rework erase to mark text as deleted, adding
1019 an eraseIntern() and a range-based erase(). Implement
1020 per-paragraph change lookup and accept/reject.
1022 * paragraph_funcs.C: Fixup paste for change tracking.
1024 * tabular.C: mark added row/columns as new.
1026 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1027 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1029 * text2.C: leave cursor at end of selection after a cut.
1031 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1033 * text.C (getLengthMarkerHeight):
1034 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1035 visible on screen too.
1037 2003-02-07 John Levon <levon@movementarian.org>
1039 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1041 2003-02-05 Angus Leeming <leeming@lyx.org>
1043 * lyxserver.C (read_ready): revert my patch of 11 September last year
1044 as it sends PC cpu through the roof. Presumably this means that
1045 the lyxserver will no longer run on an Alpha...
1047 2003-01-30 Angus Leeming <leeming@lyx.org>
1049 * factory.C (createInset): create an InsetCommandParam of type "index"
1050 and use it to 'do the right thing'.
1052 * text2.C (getStringToIndex): ensure that cursor position is always
1053 reset to the reset_cursor position.
1055 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1057 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1060 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1064 * lyxfunc.C: Output messages with identical spelling, punctuation,
1067 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1069 * MenuBackend.C (expandFormats): List only viewable export formats
1072 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1075 * lyxfunc.C (getStatus): Make sure that formats other than
1076 "fax" can also be disabled
1078 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1080 * text3.C (dispatch): put the lfuns that insert insets in 3
1081 groups, and call doInsertInset with appropriate arguments.
1082 (doInsertInset): new function, that creates an inset and inserts
1083 it according to some boolean parameters.
1085 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * buffer.C (readFile): remember to pass on 'par' when calling
1088 readFile recursively.
1090 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1092 * MenuBackend.C (expandFormats): add "..." to import formats.
1094 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1096 * paragraph.C (asString): Remove XForms RTL hacks.
1098 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1099 * buffer.C: fix typo
1101 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1103 * Makefile.am (LIBS): delete var
1104 (lyx_LDADD): add @LIBS@ here instead.
1106 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1108 * Clarify the meaning of "wheel mouse jump"
1110 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1112 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1115 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1117 * importer.C (Loaders): do not preallocate 3 elements in the
1118 vector, since one ends up with 6 elements otherwise
1120 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1122 * DepTable.C (write): write the file name as last element of the
1123 .dep file (because it may contain spaces)
1124 (read): read info in the right order
1126 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1128 * paragraph_pimpl.C (simpleTeXBlanks):
1129 (simpleTeXSpecialChars):
1130 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1132 * tabular.C (latex): add some missing case statements. Reindent.
1134 * MenuBackend.C (expandToc): remove unused variable.
1136 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1145 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1148 2003-01-05 John Levon <levon@movementarian.org>
1151 * BufferView.C: add getEncoding()
1154 * kbsequence.C: do not store last keypress
1157 * lyxfunc.C: store last keypress here instead. Pass encoding
1160 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1162 * lyx_main.C (init): remove annoying error message when following
1163 symbolic links (bug #780)
1165 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1167 * text.C (insertChar):
1168 * lyxrc.C (getDescription): remove extra spaces
1170 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1172 * lyxrc.C (getDescription): remove extra spaces
1174 2002-12-20 John Levon <levon@movementarian.org>
1176 * text3.C: hack fix for page up/down across tall rows
1178 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1180 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1183 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1185 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1186 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1187 thesaurus is not compiled in
1189 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1191 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1193 2002-12-16 Angus Leeming <leeming@lyx.org>
1196 * lyx_main.C (init): remove override_x_deadkeys stuff.
1198 2002-12-12 John Levon <levon@movementarian.org>
1200 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1201 insert. Only remove shift modifier under strict
1204 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1206 * MenuBackend.C (expandToc): fix crash.
1208 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1210 * MenuBackend.C (expandToc): gettext on float names.
1212 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1214 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1215 implement bool empty() [bug 490]
1217 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1221 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1223 * several files: ws changes
1225 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * text2.C (setCounter): clean up a bit, use boost.format.
1228 (updateCounters): initialize par upon declaration.
1230 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1231 if the layout exists. We do not just store the layout any more.
1232 (SwitchLayoutsBetweenClasses): use boost.format
1234 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1236 * converter.C (convert): if from and to files are the same, use a
1237 temporary files as intermediary
1239 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1242 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1244 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1246 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1248 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * tabular.C (asciiPrintCell): use string(size, char) instead of
1253 * sgml.C (openTag): fix order of arguments to string constructor
1256 * lyxfunc.C (dispatch): use boost.format
1258 * lots of files: change "c" -> 'c'
1260 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1262 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1264 2002-11-25 Angus Leeming <leeming@lyx.org>
1266 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1268 * lyx_main.C (init): compile fix.
1270 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * lyx_cb.C (start): boost.formatify
1273 do not include <iostream>
1275 * lengthcommon.C: ws only
1277 * boost-inst.C,BoostFormat.h: add more explict instantations
1279 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1281 * lots of files: handle USE_BOOST_FORMAT
1283 2002-11-21 John Levon <levon@movementarian.org>
1285 * pspell.C: fix compile
1287 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1289 * lyxfunc.C (dispatch): use boost::format
1293 * lyxfont.C (stateText): use boost::format
1295 * lyx_main.C (LyX): use boost::format
1297 (queryUserLyXDir): ditto
1300 (typedef boost::function): use the recommened syntax.
1302 * importer.C (Import): use boost::format
1304 * debug.C (showLevel): use boost::format
1306 * converter.C (view): use boost::format
1311 * bufferview_funcs.C (currentState): use boost::format
1313 * bufferlist.C (emergencyWrite): use boost::format
1315 * buffer.C (readLyXformat2): use boost::format
1316 (parseSingleLyXformat2Token): ditto
1318 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1320 * LaTeX.C (run): use boost::format
1322 * Chktex.C (scanLogFile): use boost::format
1324 * BufferView_pimpl.C (savePosition): use boost::format
1325 (restorePosition): ditto
1326 (MenuInsertLyXFile): ditto
1328 * BoostFormat.h: help file for explicit instation.
1330 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1332 * tabular.C (latex): Support for block alignment in fixed width
1335 2002-11-17 John Levon <levon@movementarian.org>
1337 * BufferView_pimpl.C:
1339 * lyxfunc.C: split filedialog into open/save
1341 2002-11-08 Juergen Vigna <jug@sad.it>
1343 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1344 by my last patch (hopefully).
1346 2002-11-08 John Levon <levon@movementarian.org>
1355 * toc.C: ParConstIterator, and use it (from Lars)
1357 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1359 * lyxtextclass.[Ch]: revise and add doxygen comments
1361 2002-11-07 John Levon <levon@movementarian.org>
1363 * text.C: fix progress value for spellchecker
1365 * toc.C: fix navigate menu for insetwrap inside minipage
1367 * paragraph_funcs.C: added FIXME for suspect code
1369 2002-11-07 John Levon <levon@movementarian.org>
1371 * BufferView_pimpl.C: fix redrawing of insets
1374 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1376 * text2.C (updateCounters): fix bug 668
1378 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1380 * text3.C (dispatch): Do not make the buffer dirty when moving the
1383 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * vc-backend.C: STRCONV
1388 * text2.C (setCounter): STRCONV
1390 * paragraph.C (asString): STRCONV
1392 * lyxlength.C (asString): STRCONV
1393 (asLatexString): ditto
1395 * lyxgluelength.C (asString): STRCONV
1396 (asLatexString): ditto
1398 * lyxfunc.C (dispatch): STRCONV
1401 * lyxfont.C (stateText): STRCONV
1403 * importer.C (Import): STRCONV
1405 * counters.C (labelItem): STRCONV
1406 (numberLabel): ditto
1407 (numberLabel): remove unused ostringstream o
1412 * bufferview_funcs.C (currentState): STRCONV
1414 * buffer.C (readFile): STRCONV
1415 (asciiParagraph): ditto
1416 (makeLaTeXFile): ditto
1418 * Spacing.C (writeEnvirBegin): STRCONV
1420 * LaTeXFeatures.C (getLanguages): STRCONV
1421 (getPackages): ditto
1423 (getBabelOptions): ditto
1424 (getTClassPreamble): ditto
1425 (getLyXSGMLEntities): ditto
1426 (getIncludedFiles): ditto
1430 (scanAuxFile): ditto
1433 * LString.h: add the STRCONV macros
1435 * BufferView_pimpl.C (savePosition): STRCONV
1436 (restorePosition): ditto
1437 (MenuInsertLyXFile): ditto
1439 * vc-backend.C (scanMaster): change from submatch[...] to
1442 * funcrequest.C: include config.h
1444 * factory.C: include config.h
1446 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1448 * box.C: include config.h
1450 * LaTeX.C (scanAuxFile): change from submatch[...] to
1454 2002-10-25 Angus Leeming <leeming@lyx.org>
1456 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1458 * ispell.[Ch] (setError): new method.
1459 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1460 Use setError() insetead of goto END.
1462 * lyx_cb.C (AutoSave): move out child process into new class
1465 2002-10-30 John Levon <levon@movementarian.org>
1467 * text3.C: make start appendix undoable
1469 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1471 * lyxlength.C (inPixels): Fix returned value.
1473 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1476 2002-10-24 Angus Leeming <leeming@lyx.org>
1478 * lyxgluelength.h: no need to forward declare BufferParams
1479 or BufferView, so don't.
1481 2002-10-21 John Levon <levon@movementarian.org>
1483 * BufferView.C: menuUndo ->undo, redo
1485 * BufferView.h: document, remove dead, make some methods private
1487 * paragraph_funcs.h:
1488 * paragraph_funcs.C:
1489 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1494 * sgml.C: move sgml open/close tag into sgml.C
1496 * bufferview_funcs.h: unused prototype
1499 * lyxfunc.C: remove unused
1502 * text.C: remove unused
1504 2002-10-21 John Levon <levon@movementarian.org>
1508 * BufferView_pimpl.h:
1509 * BufferView_pimpl.C: fix mouse wheel handling based on
1510 patch from Darren Freeman
1512 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1514 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1516 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1518 * lyxlength.C (inPixels): Fix hanfling of negative length.
1519 Fix LyXLength::MU case.
1521 2002-10-16 John Levon <levon@movementarian.org>
1523 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1525 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1527 * converter.C (view): add support for $$i (file name) and $$p
1528 (file path) for the viewer command. If $$i is not specified, then
1529 it is appended to the command (for compatibility with old syntax)
1531 2002-10-14 Juergen Vigna <jug@sad.it>
1533 * undo_funcs.C (textHandleUndo): alter the order in which the
1534 new undopar is added to the LyXText, as we have to set first
1535 the right prev/next and then add it as otherwise the rebuild of
1536 LyXText is not correct. Also reset the cursor to the right paragraph,
1537 with this IMO we could remove the hack in "redoParagraphs()".
1539 2002-10-09 Angus Leeming <leeming@lyx.org>
1541 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1542 to turn off an optimisation if a new inset is to be inserted.
1544 2002-10-11 André Pönitz <poenitz@gmx.net>
1546 * lyxtext.h: make some functions public to allow access
1547 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1549 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1551 * text3.C (dispatch): when changing layout, avoid an infinite loop
1554 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1556 * lyxrc.C (read): treat a viewer or converter command of "none" as
1559 * MenuBackend.C (expandFormats): for an update, also allow the
1560 formats that are not viewable
1562 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1563 script if it is newer than the lyxrc.defaults in user directory
1565 2002-10-07 André Pönitz <poenitz@gmx.net>
1567 * text.C: Vitaly Lipatov's small i18n fix
1569 2002-09-25 Angus Leeming <leeming@lyx.org>
1571 * ispell.h: doxygen fix.
1573 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1575 * buffer.h (readFile): Add a new argument to the method, to allow
1576 reading of old-format templates.
1578 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1580 * toc.C (getTocList): Get TOC from InsetWrap.
1582 2002-09-16 John Levon <levon@movementarian.org>
1584 * lyxfunc.C: check tabular for cut/copy too
1586 2002-09-12 John Levon <levon@movementarian.org>
1591 * factory.C: add header
1593 * paragraph_funcs.h:
1594 * paragraph_funcs.C: cleanup
1596 2002-09-11 John Levon <levon@movementarian.org>
1598 * PrinterParams.h: odd/even default to true
1600 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1602 * PrinterParams.h: update printer parameters for new xforms dialog
1604 2002-09-11 Angus Leeming <leeming@lyx.org>
1606 * lyxserver.C (read_ready): re-write to make it more transparent
1607 and to make it work in coherent fashion under Tru64 Unix.
1609 2002-09-11 André Pönitz <poenitz@gmx.net>
1613 * text3.C: implement LFUN_WORDSEL
1615 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1618 make floatlist_ a boost::shared_ptr<FloatList>
1620 * lyxtextclass.C: include FloatList.h
1621 (LyXTextClass): initialize floatlist_
1622 (TextClassTags): add TC_NOFLOAT
1623 (Read): match "nofloat" to TC_NOFLOAT and use it.
1624 (readFloat): modify call to floatlist_
1628 * FloatList.[Ch] (FloatList): remove commented out float
1630 (erase): new function
1632 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1634 * MenuBackend.C (expandToc): fix crash when there is no document
1637 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1639 * many files: Add insetwrap.
1641 2002-09-09 John Levon <levon@movementarian.org>
1643 * text2.C: remove confusing and awkward depth wraparound
1645 2002-09-09 John Levon <levon@movementarian.org>
1647 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1650 * buffer.C: remove getIncludeonlyList()
1653 * lyxfunc.C: remove headers
1655 2002-09-09 Juergen Vigna <jug@sad.it>
1657 * text.C (getColumnNearX): fix form Michael this is most
1658 probably a cut&paste bug.
1660 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1662 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1664 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1665 references, ws changes.
1667 * text2.C (init): update counters after init
1668 (insertParagraph): no need to set counter on idividual paragraphs.
1669 (setCounter): access the counters object in the textclass object
1670 on in the buffer object.
1671 (updateCounters): ditto
1673 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1674 shared_ptr<Counters> to avoid loading counters.h in all
1676 (LyXTextClass): initialize ctrs_
1677 (TextClassTags): add TC_COUNTER, and ...
1678 (Read): use it here.
1679 (CounterTags): new tags
1680 (readCounter): new function
1681 (counters): new funtion
1682 (defaultLayoutName): return a const reference
1684 * counters.C (Counters): remove contructor
1685 (newCounter): remove a couple of unneeded statements.
1686 (newCounter): simplify a bit.
1687 (numberLabel): some small formatting changes.
1689 * buffer.[Ch]: remove all traces of counters, move the Counters
1690 object to the LyXTextClass.
1692 2002-09-06 Alain Castera <castera@in2p3.fr>
1694 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1695 package to set the horizontal alignment on fixed width columns.
1698 * lyx_sty.h: added tabularnewline macro def.
1700 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1702 2002-09-06 John Levon <levon@movementarian.org>
1704 * LyXAction.C: tooltips for sub/superscript
1706 * MenuBackend.C: a bit more verbose
1708 * lyxfunc.C: tiny clean
1710 * undo_funcs.C: document undo_frozen
1712 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1714 * counters.C (Counters): add missing algorithm counter.
1716 * text2.C (setCounter): lookup the counter with layouts latexname
1717 instead of by section number.
1718 (setCounter): use a hackish way to lookup the correct enum
1720 a float name->type change
1721 reset enum couners with counter name directly instead of depth value.
1723 * counters.C (Counters): remove the push_backs, change to use the
1724 float type not the float name.
1725 (labelItem): remove unused string, float name->type change
1727 * counters.h: don't include vector, loose the enums and sects vectors
1729 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1731 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1732 (Read): add float->TC_FLOAT to textclassTags
1733 (Read): and handle it in the switch
1734 (readFloat): new function
1736 * FloatList.C (FloatList): comment out the hardcoded float
1739 * lyxlayout.h: ws change.
1741 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1743 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1745 2002-09-03 Angus Leeming <leeming@lyx.org>
1747 * BufferView_pimpl.h: qualified name is not allowed in member
1748 declaration: WorkArea & Pimpl::workarea() const;
1750 * factory.C: added using std::endl directive.
1752 * text3.C: added using std::find and std::vector directives.
1754 2002-08-29 André Pönitz <poenitz@gmx.net>
1757 * text2.C: remove unused member number_of_rows
1760 * BufferView2.C: remove file, move contents to...
1761 * BufferView.C: ... here
1763 * BufferView_pimpl.C:
1764 * factory.C: move more inset creation to factory
1766 * vspace.C: avoid direct usage of LyXText, ws changes
1769 don't provide direct access to WorkArea, use two simple
1770 acessors haveSelction() and workHeight() instead
1773 2002-08-29 John Levon <levon@movementarian.org>
1775 * BufferView_pimpl.C (dispatch): do not continue when
1778 2002-08-28 André Pönitz <poenitz@gmx.net>
1780 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1783 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1785 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1787 * buffer.C: increment LYX_FORMAT to 221
1789 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1790 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1792 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1794 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1796 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1798 * factory.C (createInset): use LyXTextClass::floats
1800 * MenuBackend.C (expandFloatListInsert):
1801 (expandFloatInsert):
1804 * text2.C (setCounter):
1806 * LaTeXFeatures.C (useFloat):
1807 (getFloatDefinitions):
1809 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1811 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1812 floatlist_, with accessor floats().
1814 * FloatList.h: remove global FloatList
1816 2002-08-26 André Pönitz <poenitz@gmx.net>
1818 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1822 * BufferView_pimpl.C:
1823 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1825 2002-08-25 John Levon <levon@movementarian.org>
1827 * LyXAction.C: fix margin note description
1829 2002-08-24 John Levon <levon@movementarian.org>
1833 * bufferview_funcs.C:
1835 * undo_funcs.C: cleanups
1837 * lyxfunc.C: disable CUT/COPY when no selection
1839 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1841 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1842 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1844 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1845 Add backward compatibility to "mono", "gray" and "no".
1847 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1849 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1850 (and file_format >= 200).
1852 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1854 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1856 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1858 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1860 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1862 * BufferView_pimpl.C:
1869 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1870 inset and code to make it work with the paragraph code. The inset
1871 can be anywhere in the paragraph, but will only do the expected
1872 thing in LaTeX if the layout file contains the parameter line
1874 (or more generally, a nonzero value) for that layout.
1876 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1878 * paragraph.h: remove the declaration of undefined counters class
1881 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1883 * text2.C (setCounter): fixed enumeration mis-count as reported by
1884 Dr. Richard Hawkins.
1886 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1888 * paragraph_funcs.h: remove some unneeded includes
1890 * text.C (backspace): pasteParagraph now in global scipe
1892 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1893 (pasteSelection): ditto
1895 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1896 * paragraph_funcs.C (pasteParagraph): ... here
1898 2002-08-20 André Pönitz <poenitz@gmx.net>
1900 * commandtags.h: new LFUNs for swapping/copying table row/colums
1903 * lyxfunc.C: support for new lfuns
1905 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1908 * buffer.[Ch]: remove NO_COMPABILITY stuff
1910 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1912 * boost.C (throw_exception): new file, with helper function for
1913 boost compiled without exceptions.
1918 * ParameterStruct.h:
1919 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1921 * bufferlist.C (emergencyWriteAll): use boost bind
1923 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1925 * text.C: include paragraph_funcs.h
1926 (breakParagraph): breakParagraph is now in global scope
1928 * paragraph_funcs.[Ch]: new files
1930 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1933 * buffer.C: include paragraph_funcs.h
1934 (insertStringAsLines): breakParagraph is now in global scope
1936 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1939 * CutAndPaste.C: include paragraph_funcs.h
1940 (cutSelection): breakParagraphConservative is now in global scope
1941 (pasteSelection): ditto
1943 * buffer.h: declare oprator== and operator!= for
1944 Buffer::inset_iterator
1946 * bufferlist.C (emergencyWrite): don't use fmt(...)
1948 * text3.C: add using std::endl
1950 * BufferView.C (moveCursorUpdate): remove default arg
1952 2002-08-20 André Pönitz <poenitz@gmx.net>
1954 * buffer.[Ch]: move inline functions to .C
1957 * BufferView_pimpl.C:
1959 * buffer.[Ch]: use improved inset_iterator
1962 * paragraph.[Ch]: write one paragraph at a time
1964 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1966 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1967 style if style is not specified.
1969 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1971 * text2.C (setCounter): when searching for right label for a
1972 caption, make sure to recurse to parent insets (so that a caption
1973 in a minipage in a figure float works) (bug #568)
1975 2002-08-20 André Pönitz <poenitz@gmx.net>
1977 * text3.C: new file for LyXText::dispatch() and helpers
1979 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1981 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1983 2002-08-19 André Pönitz <poenitz@gmx.net>
1986 * text.C: new LyXText::dispatch()
1988 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1990 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1992 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1994 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1997 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1999 * Makefile.am: use $(variables) instead of @substitutions@
2001 2002-08-15 André Pönitz <poenitz@gmx.net>
2004 * BufferView_pimpl.C: streamlining mathed <-> outer world
2008 * LyXAction.C: remove unused LFUN_MATH
2010 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2012 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2014 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2016 * paragraph.C (Paragraph): reformat a bit
2017 (cutIntoMinibuffer): use builtin InsetList function instad of
2021 * buffer.C: include boost/bind.hpp, add using std::for_each
2022 (writeFileAscii): use ParagraphList iterators
2023 (validate): use for_each for validate traversal of paragraphs
2024 (getBibkeyList): use ParagraphList iterators
2025 (resizeInsets): use for_each to resizeInsetsLyXText for all
2027 (getParFromID): use ParagraphList iterators
2029 * BufferView2.C (lockInset): use paragraph list and iterators
2031 2002-08-14 John Levon <levon@movementarian.org>
2033 * lyxserver.C: remove spurious xforms include
2035 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2037 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2039 2002-08-13 André Pönitz <poenitz@gmx.net>
2042 * lyxfunc.C: further cleaning
2044 2002-08-13 André Pönitz <poenitz@gmx.net>
2046 * funcrequest.h: new constructor
2048 * funcrequest.C: move stuff here from .h
2051 * BufferView_pimpl.C:
2054 * lyxfunc.C: subsequent changes
2056 * lyxfunc.h: new view() member function
2058 * lyxfunc.C: subsequent changes
2060 2002-08-13 Angus Leeming <leeming@lyx.org>
2063 * BufferView_pimpl.C:
2071 changes due to the changed LyXView interface that now returns references
2072 to member variables not pointers.
2074 2002-08-13 Angus Leeming <leeming@lyx.org>
2076 * WordLangTuple (word, lang_code): return references to strings,
2081 * lyxtext.h: forward-declare WordLangTuple.
2086 * text.C: #include "WordLangTuple.h".
2089 * text.C: (selectNextWordToSpellcheck): constify return type.
2091 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2097 * paragraph_pimpl.h:
2100 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2102 Made updateCounter always count from start of buffer, and removed
2103 second argument (par).
2104 Reverted floats number display to '#'. Perhaps I'll try again when the
2105 code base is sanitized a bit.
2107 2002-08-12 Angus Leeming <leeming@lyx.org>
2109 * buffer.[Ch] (getLabelList): constify.
2111 2002-08-07 André Pönitz <poenitz@gmx.net>
2113 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2115 * funcrequest.h: extension to keep mouse (x,y) position
2117 2002-08-12 Juergen Vigna <jug@sad.it>
2119 * BufferView2.C (insertErrors): forbid undo when inserting error
2122 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2124 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2126 * ParagraphList.[Ch]: new files
2128 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2130 * BufferView2.C (lockInset): ParagraphList changes
2133 * bufferlist.C: ditto
2137 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2140 unused class variable counter_,
2142 * paragraph.[Ch] (getFirstCounter): delete unused function
2144 * counters.C: include LAssert.h
2145 (reset): add a new function with no arg, change other version to
2146 not have def. arg and to not allow empty arg.
2148 * text2.C (setCounter): remove empty arg from call to Counters::reset
2150 2002-08-11 John Levon <levon@movementarian.org>
2152 * Makefile.am: add WordLangTuple.h
2154 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2157 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2159 * insets/insettext.C: InsetList changes
2161 * graphics/GraphicsSupport.C (operator()): InsetList changes
2163 * toc.C (getTocList): InsetList changes
2165 * paragraph_pimpl.[Ch]: InsetList changes
2167 * paragraph.[Ch]: InsetList changes
2169 * buffer.C (inset_iterator): InsetList changes
2170 (setParagraph): ditto
2171 * buffer.h (inset_iterator): ditto
2172 * iterators.C (operator++): ditto
2173 * iterators.h: ditto
2175 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2177 * InsetList.[Ch]: new files, most InsetList handling moved out of
2180 * BufferView2.C (removeAutoInsets): InsetList changes
2182 (ChangeInsets): ditto
2184 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2186 * paragraph_pimpl.h (empty): new function
2188 * paragraph.[Ch] (empty): new function
2190 * other files: use the new Paragraph::empty function
2192 2002-08-09 John Levon <levon@movementarian.org>
2194 * lyxtext.h: remove unused refresh_height
2196 2002-08-09 John Levon <levon@movementarian.org>
2203 * paragraph.C: move sgml char escaping out of paragraph
2206 * paragraph.C: remove id setter
2210 * paragraph_pimpl.C: remove dead tex_code_break_column
2212 * bufferview_funcs.C: small cleanup
2214 * lyxfunc.C: remove dead proto
2216 * lyxtext.h: make some stuff private. Remove some dead stuff.
2218 * lyxgluelength.C: make as[LyX]String() readable
2220 2002-08-08 John Levon <levon@movementarian.org>
2225 * ToolbarDefaults.C:
2228 * toc.C: lyxaction cleanup
2230 2002-08-08 John Levon <levon@movementarian.org>
2232 * BufferView2.C: small cleanup
2235 * lyxfind.C: move unnecessary header into the .C
2237 2002-08-08 John Levon <levon@movementarian.org>
2239 * funcrequest.h: just tedious nonsense
2242 * lyx_main.C: cleanups
2245 * vspace.C: remove dead header lyx_main.h
2247 2002-08-07 Angus Leeming <leeming@lyx.org>
2250 * paragraph_pimpl.h:
2251 Forward declare class Counters in paragraph.h by moving the ctrs member
2252 variable into Paragraph::Pimpl.
2253 (counters): new method, returning a reference to pimpl_->ctrs.
2255 * text2.C: ensuing changes.
2257 2002-08-07 John Levon <levon@movementarian.org>
2259 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2261 * BufferView_pimpl.C: announce X selection on double/triple
2264 * lyx_main.C: use correct bool in batch dispatch
2266 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2268 2002-08-07 André Pönitz <poenitz@gmx.net>
2270 * funcrequest.h: new class to wrap a kb_action and its argument
2273 * BufferView_pimpl[Ch]:
2277 * lyxrc.C: subsequent changes
2280 2002-08-07 John Levon <levon@movementarian.org>
2282 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2283 document options change.
2285 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2290 * makefile.am: move counters functionality over from
2291 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2293 2002-08-06 John Levon <levon@movementarian.org>
2295 * WordLangTuple.h: new file for word + language code tuple
2306 * BufferView2.C: use WordLangTuple
2309 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2311 2002-08-06 John Levon <levon@movementarian.org>
2313 * lyx_main.C: fix cmdline batch handling
2315 2002-08-06 André Pönitz <poenitz@gmx.net>
2317 * lyxrc.C: set default for show_banner to true
2319 2002-08-06 John Levon <levon@movementarian.org>
2321 * pspell.C: fix a crash, and allow new aspell to work
2323 2002-08-06 John Levon <levon@movementarian.org>
2326 * kbmap.C: small cleanup
2329 * vspace.C: add const
2331 2002-08-05 John Levon <levon@movementarian.org>
2333 * LyXAction.C: back to tabular-insert
2335 2002-08-04 John Levon <levon@movementarian.org>
2338 * BufferView.C: cosmetic change
2340 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2350 * BufferView2.C: purge all "Lyx" not "LyX" strings
2353 * lyxcursor.C: attempt to add some documentation
2358 * ToolbarDefaults.C:
2359 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2360 merge with LFUN_TABULAR_INSERT
2367 * pspell.C: split up i/pspell implementations into separate
2368 files, many cleanups
2370 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2372 * text2.C: some cleanup
2374 * lyxfunc.C: don't check for isp_command == "none" any more, it
2375 didn't make any sense
2377 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2382 * makefile.am: move counters functionality over
2383 from text2.C/paragraph.[Ch] to counters.[Ch], and
2385 2002-08-02 John Levon <levon@movementarian.org>
2387 * buffer.C: s/lyxconvert/lyx2lyx/
2389 2002-08-02 Angus Leeming <leeming@lyx.org>
2391 * lyxlex.C: revert John's change as it breaks reading of the user
2394 2002-08-02 Angus Leeming <leeming@lyx.org>
2396 * importer.C (Import):
2397 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2398 changes due to LyXView::view() now returning a boost::shared_ptr.
2400 2002-08-02 John Levon <levon@movementarian.org>
2402 * lyxlex.C: small cleanup
2404 2002-08-02 John Levon <levon@movementarian.org>
2406 * text2.C (status): small cleanup, no logic change
2408 2002-08-01 John Levon <levon@movementarian.org>
2411 * buffer.C (writeFile): don't output alerts, caller
2415 * lyx_cb.C: from above
2417 * lyxfunc.C: allow to open non-existent files
2419 2002-07-31 John Levon <levon@movementarian.org>
2421 * lyxserver.C: don't let incidental errors get
2424 2002-07-30 John Levon <levon@movementarian.org>
2426 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2428 2002-07-30 John Levon <levon@movementarian.org>
2431 * lyxserver.C: remove I/O callback too
2433 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2435 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2438 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2440 * many files: strip,frontStrip -> trim,ltrim,rtrim
2442 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2444 * PrinterParams.h: remove extern containsOnly, and include
2445 support/lstrings.h instead.
2447 * LaTeX.C (scanAuxFile): modify because of strip changes
2449 * buffer.C (makeLaTeXFile): ditto
2450 * bufferparams.C (writeFile): ditt
2451 * lyxfont.C (stateText): ditto
2452 * lyxserver.C (read_ready): ditto
2453 * vc-backend.C (scanMaster): ditto
2455 * BufferView_pimpl.h: ws changes
2457 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2459 2002-07-26 André Pönitz <poenitz@gmx.net>
2461 * kb_sequence.C: remove unnedred usings
2463 2002-07-26 Juergen Vigna <jug@sad.it>
2465 * lyxfind.C (LyXReplace): we have to check better if the returned
2466 text is not of theLockingInset()->getLockingInset().
2468 2002-07-25 Juergen Vigna <jug@sad.it>
2470 * lyxfind.C (LyXReplace): don't replace if we don't get the
2473 * undo_funcs.C (createUndo): remove debugging code.
2475 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2477 * buffer.C (parseSingleLyXformat2Token): Use default placement
2478 when reading old floats.
2480 * FloatList.C (FloatList): Change the default placement of figure
2481 and tables to "tbp".
2483 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2485 * MenuBackend.C: using std::max
2487 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2489 * MenuBackend.C (expandToc):
2490 (expandToc2): code moved from xforms menu frontend. It is now
2491 generic and TOCs are transparent to menu frontends.
2493 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2495 * toc.C (getTocList): protect against buf=0
2497 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2498 Menu as first parameter. Now, this calls itself recursively to
2499 expand a whole tree (this will be useful for TOC handling)
2500 (expandFloatInsert): remove 'wide' version of floats
2502 * MenuBackend.h (submenuname): returns the name of the submenu.
2503 (submenu): returns the submenu itself, provided it has been
2504 created by MenuBackend::expand
2506 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2508 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2509 insets which have noFontChange == true. (bug #172)
2511 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2513 * BufferView_pimpl.C: add connection objects and use them...
2516 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2518 * MenuBackend.C (expandLastfiles):
2521 (expandFloatListInsert):
2522 (expandFloatInsert):
2523 (expand): split expand in parts
2525 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2527 * lyx_gui.C: use lyx_gui::exit()
2529 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2531 * LyXAction.C: show the failing pseudo action
2533 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2535 * buffer.C (readFile): Run the lyxconvert script in order to read
2538 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2542 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2544 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2548 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2550 2002-07-22 Herbert Voss <voss@lyx.org>
2553 * lyxlength.[Ch]: add support for the vertical lengths
2555 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2557 * toc.[Ch]: std:: fixes
2559 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2561 * lyxrc.C: do not include lyx_main.h
2563 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2569 * BufferView2.C: include "lyxlex.h"
2572 * bufferparams.h: do not #include "lyxlex.h"
2574 * lyxtextclasslist.C (Add): remove method
2575 (classlist): renamed to classlist_
2577 * paragraph_pimpl.C:
2581 * bufferview_funcs.C:
2586 * toc.C (getTocList): use BufferParams::getLyXTextClass
2588 * toc.C (getTocList): use InsetFloat::addToToc
2590 * toc.[Ch]: new files, containing helper functions to handle table
2593 * lyxfunc.C (dispatch): no need to remove spaces around command
2595 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2596 first command of the sequence; it is not very clever, but I do not
2597 have a better idea, actually
2599 * LyXAction.C (LookupFunc): make sure to remove space at the
2600 beginning and end of the command
2602 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2604 * MenuBackend.C (getMenubar): new method: return the menubar of
2606 (read): treat differently reading of menu and menubar (in
2607 particular, the menubar has no name now)
2608 (Menu::menubar): remove
2610 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2613 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2615 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2616 a bibitem inset in a RTL paragraph.
2618 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2620 * paragraph_pimpl.C: constify
2622 * BufferView_pimpl.C:
2624 * lyxfunc.C: fix dispatch in a nicer way
2626 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2628 * lyxfunc.C (dispatch):
2629 * BufferView_pimpl.C:
2630 * BufferView_pimpl.h:
2632 * BufferView.h: rename Dispatch() to dispatch()
2634 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2636 * lyxlayout.C (Read): honor DependsOn tag
2638 * lyxlayout.[Ch] (depends_on): new method
2640 * version.C.in: update lyx_docversion
2642 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2644 * paragraph.C (validate): remove from here...
2645 * paragraph_pimpl.C (validate): ... and move here
2646 (isTextAt): make it const
2648 * buffer.C (getLists): ws cleanup
2650 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2652 * language.C (read): Use iso8859-1 encoding in latex_lang
2653 (this prevents LyX from crashing when using iso10646-1 encoding).
2655 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2657 * text2.C (toggleInset): if cursor is inside an inset, close the
2658 inset and leave cursor _after_ it
2660 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2662 * lyxfunc.C: move minibuffer completion handling out of here
2664 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2666 * BufferView_pimpl.C:
2667 * LaTeX.C: fix dispatch calls
2669 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2671 * text.C (drawChars): Fix Arabic text rendering.
2673 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2677 * lyxfunc.C: remove message-push/pop
2681 * lyxfunc.C: rationalise some code by removing verboseDispatch
2682 in favour of a bool argument to dispatch()
2684 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2686 * lyx_main.C (init): make sure to read symlinks as absolute paths
2688 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2691 * lyxfunc.C: no need for commandshortcut to be a member
2693 2002-07-15 André Pönitz <poenitz@gmx.net>
2695 * converter.C: add support for $$s (scripts from lib/scripts dir)
2696 * lyx_main.C: white space
2698 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2702 * lyxrc.C: remove second exit confirmation
2704 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2709 * BufferView_pimpl.h:
2710 * BufferView_pimpl.C:
2711 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2713 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2715 * MenuBackend.C (expand): add numeric shortcuts to document menu
2717 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2719 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2721 * lyxfont.C (setLyXFamily):
2728 * buffer.C (asciiParagraph): use ascii_lowercase
2730 2002-07-15 Mike Fabian <mfabian@suse.de>
2732 * lyxlex_pimpl.C (search_kw):
2733 * lyxlex.C (getLongString):
2734 * converter.h (operator<):
2735 * converter.C (operator<):
2736 * buffer.C (parseSingleLyXformat2Token):
2738 * ToolbarDefaults.C (read):
2739 * MenuBackend.C (checkShortcuts):
2741 * LColor.C (getFromGUIName):
2742 (getFromLyXName): use the compare_ascii_no_case instead of
2743 compare_no_case, because in turkish, 'i' is not the lowercase
2744 version of 'I', and thus turkish locale breaks parsing of tags.
2746 2002-07-16 Angus Leeming <leeming@lyx.org>
2748 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2749 now takes a Buffer const & argument.
2751 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2753 * BufferView.C (resize): check there's a buffer to resize
2755 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2757 * lyxfunc.C: remove dead code
2760 * lyxserver.C: use lyx_guii::set_read_callback
2762 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2764 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2765 an inset in a RTL paragraph.
2767 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2769 * lyxfunc.C: repaint after a font size update
2771 2002-07-15 André Pönitz <poenitz@gmx.net>
2773 * lyxlength.C: inBP should be able to return negative values
2775 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2777 * lyxfunc.C: use lyx_gui::update_fonts()
2779 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2781 * lyxfunc.C: use lyx_gui::update_color()
2783 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2789 * lyxrc.C: remove file->new asks for name option, and let
2790 buffer-new take an argument
2792 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2794 * BufferView_pimpl.C: remove unneeded extra repaint()
2796 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2798 * LyXAction.C: allow command-sequence with NoBuffer
2800 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2802 2002-07-10 Angus Leeming <leeming@lyx.org>
2804 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2806 2002-07-09 Angus Leeming <leeming@lyx.org>
2808 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2810 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2812 * lengthcommon.h: whitespace
2814 * lyxfunc.C: update scrollbar after goto paragraph
2816 * lyxtext.h: factor out page break drawing, and fix it so
2817 page break/added space paints as selected nicely
2819 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2821 * BufferView_pimpl.C: add FIXMEs, clean up a little
2823 2002-07-09 André Pönitz <poenitz@gmx.net>
2825 * lyxfont.[Ch]: support for wasy symbols
2827 2002-07-08 André Pönitz <poenitz@gmx.net>
2829 * BufferView_pimpl.C: apply John's patch for #93.
2831 2002-07-05 Angus Leeming <leeming@lyx.org>
2833 * BufferView_pimpl.C (buffer): generate previews if desired.
2835 * LColor.h: add "preview" to the color enum.
2837 * LColor.C (LColor): add a corresponding entry to the items array.
2839 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2842 2002-07-05 Angus Leeming <leeming@lyx.org>
2844 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2845 The body of the code is now in the method that is passed an ostream &
2846 rather than a file name.
2847 Pass an additional only_preamble parameter, useful for the forthcoming
2850 2002-07-03 André Pönitz <poenitz@gmx.net>
2852 * lyxfunc.C: simplify getStatus() a bit for math stuff
2854 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2856 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2858 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2860 * text.C (changeRegionCase): do not change case of all the
2861 document when region ends at paragraph end (bug #461)
2863 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2865 * paragraph.C (startTeXParParams):
2866 (endTeXParParams): add \protect when necessary
2868 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2870 * BufferView_pimpl.C (workAreaExpose): remove warning
2872 2002-06-27 Angus Leeming <leeming@lyx.org>
2874 * Makefile.am: add lyxlayout_ptr_fwd.h.
2876 2002-06-26 André Pönitz <poenitz@gmx.net>
2878 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2880 2002-06-25 Angus Leeming <leeming@lyx.org>
2882 * lyxfunc.C (dispatch): Comment out the call to
2883 grfx::GCache::changeDisplay. The method no longer exists now that the
2884 pixmap generation part of the graphics loader has been moved into
2887 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2889 * text2.C: layout as layout
2891 * text.C: layout as layout
2893 * tabular.C (OldFormatRead): layout as layout
2895 * paragraph_pimpl.C (TeXDeeper): layout as layout
2896 (realizeFont): layout as layout
2898 * paragraph.C (writeFile): layout as layout
2899 (validate): layout as layout
2900 (getFont): layout as layout
2901 (getLabelFont): layout as layout
2902 (getLayoutFont): layout as layout
2903 (breakParagraph): layout as layout
2904 (stripLeadingSpaces): layout as layout
2905 (getEndLabel): layout as layout
2906 (getMaxDepthAfter): layout as layout
2907 (applyLayout): layout as layout
2908 (TeXOnePar): layout as layout
2909 (simpleTeXOnePar): layout as layout
2910 (TeXEnvironment): layout as layout
2911 (layout): layout as layout
2912 (layout): layout as layout
2914 * lyxtextclass.C (compare_name): new functor to work with
2915 shared_ptr, layout as layout
2916 (Read): layout as layout
2917 (hasLayout): layout as layout
2918 (operator): layout as layout
2919 (delete_layout): layout as layout
2920 (defaultLayout): layout as layout
2922 * lyxlayout_ptr_fwd.h: new file
2924 * lyxlayout.C (Read): layout as layout
2926 * lyx_cb.C (MenuInsertLabel): layout as layout
2928 * bufferlist.C (newFile): layout as layout
2930 * buffer.C (readLyXformat2): layout as layout
2931 (parseSingleLyXformat2Token): layout as layout
2932 (insertStringAsLines): layout as layout
2933 (asciiParagraph): layout as layout
2934 (latexParagraphs): layout as layout
2935 (makeLinuxDocFile): layout as layout
2936 (simpleLinuxDocOnePar): layout as layout
2937 (makeDocBookFile): layout as layout
2938 (simpleDocBookOnePar): layout as layout
2939 (getLists): layout as layout
2941 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2943 * CutAndPaste.C (cutSelection): layout as layout
2944 (pasteSelection): layout as layout
2945 (SwitchLayoutsBetweenClasses): layout as layout
2947 * BufferView_pimpl.C (Dispatch): layout as layout
2948 (smartQuote): layout as layout
2950 * BufferView2.C (unlockInset): layout as layout
2952 2002-06-24 André Pönitz <poenitz@gmx.net>
2954 * lyxfunc.C: fix #487
2956 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2960 * lyxfunc.C: remove display_shortcuts, show_banner
2962 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2964 * Buffer_pimpl.C: oops, update on resize
2966 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2973 * BufferView.C: use repaint()
2975 * BufferView_pimpl.h:
2976 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2977 as it's a clearer description. Remove superfluous
2980 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2982 * text.C: fix bug 488. Not ideal, but getting
2983 getWord() to work properly for the insets that
2984 matter is more difficult ...
2986 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2988 * BufferView_pimpl.C:
2991 * lyxfunc.C: remove the six million index lyxfuncs to just
2992 one, and DTRT (bug 458)
2994 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2998 * BufferView_pimpl.h:
2999 * BufferView_pimpl.C: clean up resize() stuff,
3000 and unnecessary updateScreen()s
3002 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3006 * BufferView_pimpl.h:
3007 * BufferView_pimpl.C:
3010 * minibuffer.C: remove focus management of workarea,
3011 not needed. Use screen's greyOut()
3013 2002-06-17 Herbert Voss <voss@lyx.org>
3015 * converter.C: (convert) do not post a message, when converting
3016 fails, let the calling function decide what to do in this case
3018 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3020 * lyxfunc.C: tidy up a little
3022 2002-06-16 <alstrup@diku.dk>
3024 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3025 Got rid of FORMS_H_LOCATION include. Now we are
3028 2002-06-15 LyX Development team <lyx@rilke>
3030 * buffer.[Ch] (sgmlOpenTag):
3031 (sgmlCloseTag): Added support for avoiding pernicious mixed
3032 content. Return number of lines written.
3035 (makeDocBookFile): Fixed calls to sgml*Tag.
3036 Simple white space clean.
3038 (simpleDocBookOnePar): Simple white space clean.
3040 * tabular.[Ch] (docBook): Renamed to docbook and got another
3041 argument to related with the pernicious mixed content.
3043 (docbookRow): Fixed calls for docbook inset method.
3045 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3047 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3048 so it's X11 independent.
3052 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3054 2002-06-15 Lyx Development team <lyx@electronia>
3056 * intl.h: Renamed getTrans to getTransManager.
3058 2002-06-14 Angus Leeming <leeming@lyx.org>
3060 * Makefile.am: nuke forgotten stl_string_fwd.h.
3062 2002-06-12 Angus Leeming <leeming@lyx.org>
3064 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3066 2002-06-13 Angus Leeming <leeming@lyx.org>
3069 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3071 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3073 * kbmap.C (getiso): add support for cyrillic and greek
3075 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3079 * BufferView_pimpl.h:
3080 * BufferView_pimpl.C: move bogus scrolling logic
3083 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3086 * BufferView_pimpl.C: view->resize() change
3088 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3090 * BufferView_pimpl.C: topCursorVisible
3093 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3097 * lyx_gui.C: move to frontends/
3101 * lyx_main.C: changes from above
3103 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3110 * lyx_main.C: minor tidy
3112 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3114 * BufferView_pimpl.h:
3115 * BufferView_pimpl.C:
3117 * BufferView.C: make painter() const,
3120 * BufferView2.C: use screen() accessor
3123 * lyx_main.C: some minor cleanup
3125 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3127 * BufferView_pimpl.h:
3128 * BufferView_pimpl.C: remove enter/leaveView,
3131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3136 * BufferView_pimpl.h:
3137 * BufferView_pimpl.C: only construct screen once,
3140 * lyxrc.C: remove pointless comment
3142 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3145 * BufferView.C: remove active() and belowMouse()
3147 * BufferView_pimpl.h:
3148 * BufferView_pimpl.C: use workarea() not workarea_,
3149 and make it use a scoped_ptr instead
3151 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3153 * lyx_gui.C: add debug message on BadWindow
3155 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3157 * sp_spell.C: fdopen is not part of the C++ standard.
3159 * paragraph.C (InsetIterator): use >= instead of ==
3161 2002-06-07 Angus Leeming <leeming@lyx.org>
3163 Fixes needed to compile with Compaq cxx 6.5.
3164 * BufferView_pimpl.C:
3171 * lyxtextclasslist.C:
3176 all c-library variables have been moved into namespace std. Wrap
3177 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3182 Add a using std::abs declaration.
3184 * kbmap.h (modifier_pair):
3185 * paragraph.h (InsetTable, InsetList):
3186 * lyxfont.h (FontBits):
3187 type definition made public.
3189 * bufferlist.C (emergencyWriteAll): the compiler complains that
3190 there is more than one possible lyx::class_fun template to choose from.
3191 I re-named the void specialisation as lyx::void_class_fun.
3193 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3195 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3196 the compiler is is unable to find tostr in write_attribute.
3198 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3200 * buffer.C (sgmlError): hide #warning
3202 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3204 * xtl/*: get rid of xtl, which is not in use anyway
3206 * LyXAction.C (init):
3207 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3208 were unimplemented xtl experimentation
3210 2002-06-04 André Pönitz <poenitz@gmx.net>
3212 * lyxfunc.C: disable array operation on simple formulae
3214 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3216 * converter.C: constify a bit
3218 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3220 * lyx_gui.C: check xforms version correctly
3222 2002-04-30 Herbert Voss <voss@lyx.org>
3224 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3227 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3229 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3230 attempt to register it with a VCS)
3232 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3234 * lyx_main.C (init): honor variables LYX_DIR_13x and
3237 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3241 * lyx_main.C: fix a crash on bad command line,
3242 and give a useful exit status on error
3244 * lyxfunc.C (doImport): allow -i lyx to work
3246 2002-03-30 André Pönitz <poenitz@gmx.net>
3248 * lyxfunc.C: mathed font changes
3250 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3265 * trans_mgr.h: srcdocs, and some minor cleanups
3267 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3269 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3270 call getFont all the time)
3272 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3274 * switch from SigC signals to boost::signals
3276 2002-05-29 André Pönitz <poenitz@gmx.net>
3278 * paragraph_pimpl.C (getChar): don't call size() too often...
3280 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3282 * paragraph_pimpl.C (insertChar): do not try to update tables when
3283 appending (pos == size())
3285 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3286 in order to reduce drastically the number of comparisons needed to
3287 parse a large document
3289 2002-05-29 André Pönitz <poenitz@gmx.net>
3295 * textclasslist.[Ch]:
3296 * sp_ispell.h: whitespace change
3298 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3300 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3301 lyxaction directly now.
3303 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3307 * lyxvc.C: remove unused headers
3309 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3316 * undo_funcs.C: some cleanups. Use shared_ptr
3317 and a template for the undo stacks.
3319 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3321 * BufferView_pimpl.h:
3322 * BufferView_pimpl.C:
3329 * text2.C: use key_state/mouse_state
3331 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3333 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3336 * chset.C: change include order
3337 (loadFile): use boost regex and get rid of LRegex and LSubstring
3339 * Makefile.am (BOOST_LIBS): new variable
3342 * LaTeX.C: change include order.
3343 (scanAuxFile): use boost regex and get rid of LRegex and
3347 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3352 * FontInfo.C: moved to frontends/xforms/
3355 * FontLoader.C: moved into frontends for GUIIzation
3360 * lyxfunc.C: changes from above
3362 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3364 * LColor.C: remove spurious X include
3366 * BufferView_pimpl.C:
3371 * text2.C: move font metrics to frontends/
3373 2002-05-24 Juergen Vigna <jug@sad.it>
3375 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3376 setting the undo_cursor.
3378 * ParagraphParameters.h: include local includes first.
3380 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3382 * BufferView_pimpl.C:
3383 * BufferView_pimpl.h:
3387 * screen.C: move WorkArea into frontends/
3393 * BufferView2.C: move LyXScreen into frontends/
3397 * lyx_gui.C: move lyxlookup into frontends/xforms/
3399 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3402 * BufferView_pimpl.C:
3412 * bufferview_funcs.C:
3425 * vc-backend.C: move LyX/XFormsView into frontends/
3427 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3439 * text2.C: move Painter to frontends/
3441 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3443 * buffer.C: comment out some some code that depend upon lyx_format
3446 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3447 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3449 * buffer.h (NO_COMPABILITY): turn off compability
3451 * ColorHandler.C: include scoped_array.hpp
3453 * font.C: Use more specific smart_ptr header.
3456 * ShareContainer.h: ditto
3460 * BufferView_pimpl.h: ditto
3461 * ColorHandler.h: ditto
3463 * kbmap.C (defkey): change call to shared_ptr::reset
3465 2002-05-21 Juergen Vigna <jug@sad.it>
3467 * buffer.C (insertErtContents): fix to insert ert asis if it is
3468 non empty. Skip it completely if it contains only whitespaces.
3470 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3472 * BufferView_pimpl.C:
3473 * BufferView2.C: clear selection on paste (bug 393)
3475 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3477 * DepTable.C: include ctime
3479 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3481 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3483 2002-05-14 Juergen Vigna <jug@sad.it>
3485 * text.C (breakParagraph): fixed function to honor the keepempty
3486 layout in the right maner and also to permit the right breaking
3487 algorithm on empty or non empyt keepempty paragraphs.
3489 * paragraph.C (breakParagraph): we have to check also if the par
3490 is really empty (!size()) for isempty otherwise we do the wrong
3493 2002-05-10 Juergen Vigna <jug@sad.it>
3495 * buffer.[Ch] : The following are only changes to the ert
3496 compatibility read reading old LaTeX layout and font stuff and
3497 convert it to ERTInsets.
3499 * buffer.h: added isErtInset().
3501 * buffer.C (struct ErtComp): add a fromlayout bool to check
3502 if we're inside a LaTeX layout.
3503 (isErtInset): new helper function.
3504 (insertErtContents): look for other ert insets before this one
3505 and insert the contents there, so that we don't have subsequent
3506 ERT insets with nothing between them. This way we create only one
3507 inset with multiple paragraphs. Also check if we don't insert only
3508 spaces ' ' as they are ignored anyway afterwards in the .tex file
3509 so if we have only spaces we will ignore this latex part in the
3511 (parseSingleLyXformat2Token \\layout): better compatibility when
3512 reading layout-latex stuff.
3513 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3515 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3516 stuff after reading the inset only get the information back from
3519 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3521 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3523 * LaTeXFeatures.C (getBabelOptions): New method.
3525 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3527 * BufferView_pimpl.C (Dispatch): work around missing argument for
3530 2002-05-08 Juergen Vigna <jug@sad.it>
3532 * text.C (leftMargin): handle paragraph leftindent.
3534 * paragraph.C (writeFile): write the new \\leftindent tag.
3535 (validate): handle leftindent code.
3536 (TeXEnvironment): handle paragraphleftindent code again.
3538 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3540 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3541 for paragrap_extra indent code and new token \\leftindent.
3542 (latexParagraphs): handle the leftindent as environment.
3544 * ParameterStruct.h: added leftindent support.
3546 * ParagraphParameters.C (leftIndent): added support functions for
3547 the paragraph left indent.
3549 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3552 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3554 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3557 * text.C (computeBidiTables): No bidi in insetERT.
3559 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3562 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3564 * version.C.in: pre 5
3566 2002-05-02 José Matos <jamatos@fep.up.pt>
3567 * buffer.C (makeDocBookFile): white space changes, add newline to
3569 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3571 * tabular.C (docBook): fix typo.
3573 2002-05-03 Juergen Vigna <jug@sad.it>
3575 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3576 change in LyXText as we can not be sure it was not freed.
3577 (drawOneRow): remove unused code.
3579 * text.C (drawInset): redo the calculation of the need_break_row as
3580 it could have a row which was already freed.
3581 (draw): look at the return value of drawInset and return false if
3582 it also returned false.
3583 (paintRowText): look at the return value of draw and return false if
3584 it also returned false.
3586 * lyxtext.h: added bool return type to drawInset() and draw() so that
3587 if we have a change in the row so that the rowbreak has to be redone
3588 we abort drawing as it will be called again.
3590 2002-05-02 Juergen Vigna <jug@sad.it>
3592 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3593 a change in the maintext also if we're inside an inset.
3594 (Dispatch): set the cursor again after a break line and after the
3595 screen has been updated as it could be we're in a different row.
3597 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3598 to set the cursor behind the pargraph with > size().
3599 (setCursor): check also for the same paragraph when checking where
3600 to put the cursor if we have a NFR inset.
3602 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3603 parts of layout read further up as it still was in the wrong
3606 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3608 * screen.C (drawFromTo): change sine fullRebreak always return
3611 * buffer.C (parseSingleLyXformat2Token): reindent some
3613 * BufferView_pimpl.C (update): change since fullRebreak always
3615 (Dispatch): git rid of the last hardcoded "Standard"s.
3617 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3619 * text2.[Ch] (fullRebreak): make it return void now that we always
3622 2002-04-30 Juergen Vigna <jug@sad.it>
3624 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3625 ert compatibility check for "latex" layout.
3627 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3629 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3630 minipages: use col% instead of p%, and also use the current font.
3631 (makeLaTeXFile): Fix use babel condition.
3632 (parseSingleLyXformat2Token): Correct font when reading old floats.
3634 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3636 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3637 inserting list of floats.
3639 2002-04-25 Herbert Voss <voss@lyx.org>
3641 * MenuBackend.C (expand): don't add the graphics extensions to the
3644 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3646 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3647 non-existing layout, do not complain if it was the default layout
3648 of the original class (bug #342)
3650 2002-04-24 Juergen Vigna <jug@sad.it>
3652 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3653 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3655 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3657 * buffer.C (getBibkeyList): If using \bibliography, return the
3658 option field with the reference itself. Enables us to provide natbib
3659 support when using \bibliography.
3661 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3663 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3665 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3666 natbib is provided by the LaTeX class.
3668 2002-04-23 Juergen Vigna <jug@sad.it>
3670 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3673 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3675 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3677 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3679 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3680 ensuremath around textordmasculine, textordfeminine and
3683 2002-04-19 Juergen Vigna <jug@sad.it>
3685 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3686 reinitializing the buffer otherwise row-dimensions may be wrong.
3687 (update): reset also the selection cursors if they do exits otherwise
3688 their x/y positions may be wrong.
3690 * text2.C (cursorDown): don't enter the inset if we came from a row
3691 above and are one row over the inset.
3693 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3694 really leaving an inset.
3696 2002-04-18 Juergen Vigna <jug@sad.it>
3698 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3699 of the selected paragraph does not have the selected layout also if
3702 * text2.C (setLayout): fixed bug which did not change last selected
3705 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3706 changed the read and substituted \\end_float with \\end_inset!
3708 * BufferView_pimpl.C (cursorPrevious):
3709 (cursorNext): fixed to make it work with rows heigher than the work
3710 area without moving the cursor only the draw of the row.
3711 (workAreaMotionNotify): fix jumping over high rows.
3713 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3715 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3718 2002-04-16 Juergen Vigna <jug@sad.it>
3720 * text2.C (setCursor): set also the irow().
3721 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3723 (cursorDown): support for locking an inset if the x_fix value goes
3724 inside it. That way I can transverse insets too with cursor up/down.
3726 * lyxrow.h: added irow helper function same as other (i) functions.
3728 * BufferView_pimpl.C (cursorPrevious):
3729 (cursorNext): fixed for insets!
3731 2002-04-15 Juergen Vigna <jug@sad.it>
3733 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3734 position otherwise it is wrong in some cases.
3736 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3737 inside the inset before the call.
3739 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3741 * buffer.[Ch] (getBibkeyList): make it const.
3743 2002-04-12 Juergen Vigna <jug@sad.it>
3745 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3747 * text2.C (getCursorX): new helper function
3748 (setCursor): compute also ix_
3749 (setCursorFromCoordinates): set also ix.
3751 * lyxcursor.h: added ix_ and helper functions.
3753 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3755 * buffer.C (insertStringAsLines): dont break paragraph if the this
3756 paragraph is inside an inset which does not permit it!
3758 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3759 also with no chars on this paragraph.
3760 (paintRowText): only paint stuff if it's inside the workarea!
3762 * paragraph.C (breakParagraph): honor keepempty flag and break the
3763 paragraph always below not above.
3765 * BufferView2.C (unlockInset): update the paragraph layout on inset
3766 unlock as we changed paragraph in such a case.
3768 * lyxfind.C (LyXFind): clear the former selection if not found!
3770 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3771 again called in insertChar().
3773 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3774 an inset which uses the whole row!
3775 (rightMargin): ditto.
3776 (insertChar): force a rebreak if we inserted an inset!
3778 2002-03-28 Herbert Voss <voss@lyx.org>
3780 * lyxlength.[Ch]: add inBP() to get the right PS-point
3781 units (BigPoint). With inPixels we have rounding errors
3783 2002-04-11 Juergen Vigna <jug@sad.it>
3785 * text2.C (setCursorFromCoordinates): set iy to the right value.
3786 (setCursor): add check if row->previous exists!
3788 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3789 an old float_type as this was the case in the old code!
3791 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3793 * BufferView2.C (showLockedInsetCursor): use iy
3794 (fitLockedInsetCursor): ditto
3796 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3797 locked insets as there we have the right value now.
3799 * lyxcursor.C: added iy_ variable and iy functions to set to the
3800 baseline of cursor-y of the locked inset.
3802 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3803 (setCursor): fixed for insets which need a full row.
3805 * text.C (rowLastPrintable): don't ignore the last space when before
3806 an inset which needs a full row.
3807 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3808 as last character of a row when before a inset which needs a full row.
3810 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3812 * version.C.in: update date
3814 * text2.C (fullRebreak): try to always return true and see what
3817 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3819 * MenuBackend.C (expand): use Floating::listName
3821 * FloatList.C (FloatList): add listName argument to the built-in
3824 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3825 text associated with the float.
3827 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3829 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3831 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3833 * ShareContainer.h: add a couple of missing typenames.
3835 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3837 * lyxrc.C (getDescription): use _() correctly rather than N_().
3839 2002-03-28 Herbert Voss <voss@lyx.org>
3841 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3842 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3844 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3846 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3847 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3849 2002-03-29 Juergen Vigna <jug@sad.it>
3851 * lyxfunc.C (dispatch): add a missing fitCursor call.
3853 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3854 it was scrolled by a cursor move, so return the bool status.
3856 * BufferView.C (fitCursor): return the bool flag also to the outside
3857 world as this is needed.
3859 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3861 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3862 call the edit() as it is not needed (and wrong) IMO.
3863 (workAreaButtonPress): set the screen_first variable before evt.
3864 unlock the inset as this may change screen_first and then we have
3865 a wrong y position for the click!
3867 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3869 * MenuBackend.C (expand): another translation that I missed
3871 2002-03-28 Juergen Vigna <jug@sad.it>
3873 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3875 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3877 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3879 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3881 * MenuBackend.C (expand): fix export/view/update when there is no
3884 2002-03-27 Herbert Voss <voss@lyx.org>
3886 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3889 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3891 * bufferview_funcs.C (currentState): only show paragraph number
3892 for is DEVEL_VERSION is set.
3894 * lyxfunc.C (dispatch): put warning in INFO channel
3896 * MenuBackend.C (expand): translate the name of floats
3898 * FloatList.C (FloatList): mark the float names for translation
3900 * converter.C (convert): use LibScriptSearch
3902 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3904 * MenuBackend.C (defaults): fix default menu (we might as well get
3907 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3909 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3912 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3914 * lyxvc.C: reorder includes.
3916 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3918 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3921 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3923 * CutAndPaste.C: change layouts earlier on paste
3924 to avoid crashing when calling getFont()
3926 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3928 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3931 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3933 * WorkArea.C: remove 'Pending' debug message.
3935 * most files: ws cleanup
3937 * buffer.[Ch]: ws changes
3939 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3941 2002-03-21 Juergen Vigna <jug@sad.it>
3943 * tabular.C (SetMultiColumn): collapse also the contents of the
3944 cells and set the last border right. Added a Buffer const * param.
3946 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3948 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3951 2002-03-19 Juergen Vigna <jug@sad.it>
3953 * text2.C (clearSelection): reset also xsel_cache.
3955 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3956 where it needs to be called (John tells us to do so too :)
3957 (selectionLost): reset sel_cache.
3959 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3961 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3963 * text2.C (setCursorIntern): put debuging code in INSETS channel
3965 2002-03-19 André Pönitz <poenitz@gmx.net>
3967 * lyxfunc.C: tiny whitespace change
3969 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3971 * ToolbarDefaults.C (init):
3972 * LyXAction.C (init):
3974 * BufferView_pimpl.C (Dispatch):
3975 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3977 2002-03-19 Allan Rae <rae@lyx.org>
3979 * exporter.C (Export): removeAutoInsets before doing anything else.
3980 While I've just introduced a dependency on BufferView this really is
3981 the best place to clean the buffer otherwise you need to cleanup in
3982 a dozen places before calling export or cleanup in a dozen functions
3985 * converter.C (runLaTeX):
3986 (scanLog): Better handling of removeAutoInsets and screen updates.
3988 * lyxfunc.C (dispatch): small whitespace changes
3990 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3992 * WorkArea.C (C_WorkAreaEvent): return a value.
3993 (event_cb): return 1 if we handled the event, 0 otherwise.
3995 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3997 2002-03-18 Juergen Vigna <jug@sad.it>
3999 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4000 (GetAdditionalWidth): ditto.
4004 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4005 inset if we're there actually (probably not used right now but this
4006 is the direction to go for unifying code).
4007 (paste): disable code to clear the selection.
4009 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4010 inside an InsetText and move the check further up as it is in the
4013 * text2.C (pasteSelection): set a selection over the pasted text.
4015 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4017 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4018 and libgraphics to build on Cygwin.
4020 2002-03-15 Juergen Vigna <jug@sad.it>
4022 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4023 inserting an Inset into the paragraph. I know this is not the best
4024 fix but we already use current_view in CutAndPaste so we will remove
4025 all of it's using at the same time.
4027 * buffer.C (sgmlError): deactivated function till it is rewritten in
4028 the right mode, now it can create problems.
4030 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4031 before accessing it.
4033 2002-03-14 Juergen Vigna <jug@sad.it>
4035 * undo_funcs.C (textHandleUndo): do the right thing when updating
4036 the inset after the undo/redo.
4038 * text2.C (setCursor): just some testcode for #44 not ready yet.
4040 * undo_funcs.C (textHandleUndo): set the next() and previous()
4041 pointers of the paragraph to 0 before deleting otherwise we have
4042 problems with the Paragraph::[destructor].
4044 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4045 on a paragraph insertion.
4047 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4049 * buffer.C (asciiParagraph): use += operator for char append to
4052 * paragraph.C (getFontSettings): compare >= not just >
4053 (highestFontInRange): ditto
4056 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4058 * paragraph.C: change several algorithm to be more appripriate for
4059 the problem domain. This is lookip in FontList and in the InsetList.
4061 2002-03-13 André Pönitz <poenitz@gmx.net>
4064 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4066 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4071 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4073 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4075 * Painter.C (display): anon helper function, adjust code for this
4077 (pixmap): remove function.
4079 * Painter.h: remove private display variable.
4081 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4083 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4085 * WorkArea.[Ch]: remove figinset_canvas cruft.
4087 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4089 * lyxtextclass.C (operator): add one item cache optimization.
4091 * bufferlist.h: doxy changes
4093 * bufferlist.C: ws changes
4095 * DepTable.[Ch] (ext_exist): place const in the right spot.
4097 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4099 (workAreaExpose): call resizeInsets when the with BufferView changes.
4100 (Dispatch): adjust for protectedBlank removal
4101 (specialChar): call updateInset if the insert went ok.
4103 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4104 specialChar instead.
4106 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4108 * BufferView.h: doxy change
4110 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4112 * lyxtextclass.C (operator[]): remove non-const version
4113 (defaultLayout): remove non-const version
4115 2002-03-12 Juergen Vigna <jug@sad.it>
4117 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4118 did resize the LyXText too.
4120 * buffer.C (readLyXformat2): set layout information on newly allocated
4123 * tabular.C (OldFormatRead): set layout information on the paragraph.
4125 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4127 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4129 2002-03-11 Juergen Vigna <jug@sad.it>
4131 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4133 (resizeCurrentBuffer): force also the insets to resize themselfes.
4134 (moveCursorUpdate): fixed up for InsetText.
4136 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4139 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4140 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4141 value of Dialogs::tooltipsEnabled().
4142 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4144 2002-03-08 Juergen Vigna <jug@sad.it>
4146 * BufferView_pimpl.C (updateInset): update inset inside inset also
4147 if it isn't inside theLockingInset().
4149 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4151 * buffer.C (asciiParagraph): redo some of the word and line length
4153 (getLists): look for Caption instead of caption.
4155 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4157 * buffer.C (Buffer): initialize niceFile to true
4160 (makeDocBookFile): make sure niceFile is true on exit
4162 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4164 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4166 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4168 * LyXSendto.C: remove.
4169 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4170 * lyx_gui.C: remove now-redundant comment.
4171 * ColorHandler.h: remove forward declaration of class WorkArea.
4172 * lyxfunc.C: remove #include "WorkArea.h".
4174 2002-03-07 Juergen Vigna <jug@sad.it>
4176 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4177 got moved away with the DEPM and also set the inset_owner always
4178 right which before could have been omitted.
4180 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4182 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4183 wanted layout is not found.
4185 2002-03-07 Juergen Vigna <jug@sad.it>
4187 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4189 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4191 * paragraph.C (breakParagraph): use default layout not layout of
4193 (Paragraph): clear ParagraphParameters.
4195 2002-03-06 Juergen Vigna <jug@sad.it>
4197 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4198 otherwise it would not be a valid lenght. Fixed a special case in
4199 the minipage compatibility read where we end the document with a
4202 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4203 was set as it could be 0 for InsetTexts first entry.
4205 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4207 * paragraph.C (writeFile): if layout is empty write out
4208 defaultLayoutName().
4210 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4211 file without named layout we set layout to defaultLayoutName().
4213 2002-03-06 Juergen Vigna <jug@sad.it>
4215 * CutAndPaste.C (copySelection): set layout for new paragraph.
4217 * text.C (prepareToPrint): leave ERT inset left aligned
4218 (leftMargin): don't indent paragraphs inside ERT insets
4220 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4222 * paragraph.C (breakParagraph): dont call clear do the work manually
4224 * paragraph.[Ch] (clear): remove function
4226 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4228 * paragraph.C (Paragraph): dont call clear, the work has already
4231 * lyxtextclass.C (operator): assert if n is empty
4233 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4234 work manually instead.
4236 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4238 * BufferView_pimpl.C: protect selectionLost against text == 0
4240 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4242 * text.C (breakParagraph): fix a setting layout to '0' problem.
4244 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4246 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4247 final location of file, for the included files, and graphics.
4249 2002-03-05 Juergen Vigna <jug@sad.it>
4251 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4253 2002-03-04 Juergen Vigna <jug@sad.it>
4255 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4257 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4258 last column of multicolumn cells.
4259 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4261 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4263 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4264 file if it doesn't go to a temporary file.
4266 * buffer.C (sgmlOpenTag):
4267 (sgmlCloseTag): remove extra newline insertion.
4269 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4271 * text.C (getRowNearY): comment out debug msg
4273 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4275 * text2.C: first -> first_y
4277 * text.C (getRowNearY): add some attemts at a possible
4278 optimization, not working.
4280 * tabular.[Ch]: add BufferParams to several function so that newly
4281 created paragraph can be initialized to he default layotu for the
4284 * tabular-old.C (ReadOld): add buf->params to call of Init
4286 * screen.C: rename text->first to text->first_y
4288 * paragraph.C (breakParagraph): always set layout in the broken
4291 * lyxtextclass.C (Read): remove lowercase
4294 (delete_layout): ditto
4296 * lyxtext.h: rename first -> first_y
4298 * lyxlayout.C (Read): remove lowercase
4301 (obsoleted_by): ditto
4303 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4305 * buffer.C (insertErtContents): add params are to InsetERT
4306 (parseSingleLyXformat2Token): add code to check if a paragraphs
4307 layout really exist.
4308 (parseSingleLyXformat2Token): add params to several inset
4310 (asciiParagraph): remove lowercase, do the layout comparisons with
4313 * BufferView_pimpl.C (cursorNext): first -> first_y
4314 (resizeCurrentBuffer): first -> first_y
4315 (updateScrollbar): first -> first_y
4316 (scrollCB): first -> first_y
4317 (workAreaMotionNotify): first -> first_y
4318 (workAreaButtonPress): first -> first_y
4319 (checkInsetHit): first -> first_y
4320 (cursorPrevious): first -> first_y
4321 (cursorNext): first -> first_y
4322 (Dispatch): add buffer_->params to severl inset contructors
4324 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4326 * lyxlayout.C (Read): remove some debug info that I forgot.
4328 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4329 clean up the code slightly.
4330 (makeLinuxDocFile): ditto
4331 (makeDocBookFile): ditto
4333 * text2.C: layout as string
4335 * text.C: layout as string
4337 * paragraph_pimpl.C: layout as string
4339 * paragraph.[Ch]: layout as string
4341 * lyxtextclasslist.[Ch]: layout as string
4343 * lyxtextclass.[Ch]: layout as string
4345 * lyxtext.h: layout as string
4347 * lyxlayout.[Ch]: layout as string
4349 * lyx_cb.C: layout as string
4351 * bufferview_funcs.C: layout as string
4353 * bufferparams.C: layout as string
4355 * buffer.C: layout as string
4357 * LyXView.[Ch]: layout as string
4359 * LaTeXFeatures.[Ch]: layout as string
4361 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4363 * BufferView_pimpl.C: change current_layout to string, remove
4368 (workAreaButtonRelease): layout as string
4370 * BufferView2.C (unlockInset): adjust
4372 * vspace.C (asLatexCommand): use an explict temp variable.
4374 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4376 * Makefile.am: use FRONTEND_*
4378 2002-03-01 Juergen Vigna <jug@sad.it>
4380 * tabular.C (SetWidthOfMulticolCell): changed to something better
4381 I hope but still work in progress.
4382 (recalculateMulticolumnsOfColumn): renamed function from
4383 recalculateMulticolCells as it is more appropriate now.
4384 (SetWidthOfCell): calculate multicols better.
4386 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4388 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4390 * lyxfunc.C (processKeySym): print sequence also if it is
4391 `deleted' (complete)
4393 * kbsequence.C (print): print sequence even if it is deleted
4394 (complete would be a better word, actually).
4396 * lyxfunc.C (dispatch): print complete options after a prefix key
4398 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4400 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4402 * text2.C (setCharFont): eliminate setCharFont code duplication.
4404 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4406 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4407 LFUN_TABULAR_FEATURE (bug #177)
4409 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4411 * Makefile.am: remove figure.h
4413 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4415 * Bufferview_pimpl.C:
4427 * text2.C: remove #include "lyx_gui_misc.h".
4429 * LaTeX.C: added #include <cstdio>
4431 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4433 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4434 that the paragraph following this one can have.
4436 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4438 * vspace.C (asLatexCommand): fix bogus gcc warning
4440 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4442 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4444 * text2.C (setLayout): get rid of redundant code
4446 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4448 * text2.C (incDepth): make sure depth cannot be increased beyond
4451 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4453 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4454 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4456 * PainterBase.h (image):
4457 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4460 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4464 * BufferView_pimpl.C:
4465 * BufferView_pimpl.h:
4485 * sp_spell.C: remove fig inset, and the crap house of
4486 cards that follows it
4488 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4494 * nt_defines.h: move .h into support/
4496 * vms_defines.h: remove
4498 * WorkArea.C: add space in debug output
4502 * buffer.C: add WITH_WARNINGS
4506 * bufferlist.C: s/retrive/retrieve/, add docs
4517 * lyxgui.C: add ID to X error handler
4519 * lyxtestclass.c: fix typo
4521 2002-02-26 Juergen Vigna <jug@sad.it>
4523 * tabular_funcs.C (write_attribute): changed so that some default
4524 attributes are not written at all.
4525 (getTokenValue): set default values before trying to read the
4526 value so we have the return value always set as default if we don't
4527 find the token we search for.
4529 * tabular.C (Write): write bools as bools not as strings!
4531 2002-02-22 Juergen Vigna <jug@sad.it>
4533 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4534 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4536 * text.C (leftMargin): don't add an indent for paragraphs inside
4537 tabular cells (fix #208).
4539 2002-02-21 José Matos <jamatos@fep.up.pt>
4541 * tabular.C (docBook): fixed support for long tables.
4543 2002-02-20 Juergen Vigna <jug@sad.it>
4545 * text2.C (getFont): get the drawing font of the Inset if this
4546 paragraph is inside an inset (only important for InsetERT for now).
4548 * buffer.C (insertErtContents): use new lanugage params in ERT
4551 * CutAndPaste.C: commenting out seemingly uneeded code.
4553 2002-02-19 Allan Rae <rae@lyx.org>
4555 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4556 Iterators might be simple to use but they also get invalidated.
4557 (removeAutoInsets): renamed saved cursor tracking variables and added
4558 some comments to clarify what everything does.
4560 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4567 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4568 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4571 * vc-backend.h: remove #include "support/syscall.h"
4575 * converter.C: rearrange #includes in Lars' approved fashion.
4577 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4578 forward declare class Timeout in the header file.
4580 * XFormsView.C: changes due to the above.
4582 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4585 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4586 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4588 2002-02-18 José Matos <jamatos@fep.up.pt>
4590 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4593 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4595 * a lot of small ws changes
4596 * add a lot of using std::XXX
4597 * use std construcs some places where approp.
4598 * use some exisint stuff from lyxfunctional where approp.
4599 * Make file changes to use partial linking (lets test this now...)
4601 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4605 remove #include "support/syscontr.h" as it's redundant. Always has been.
4613 change Systemcalls::System to Systemcalls::Wait and
4614 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4615 No change of functionality, just reflects the stripped down Systemcalls
4618 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4620 * debug.[Ch]: add a GRAPHICS type to the enum.
4622 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4624 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4626 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4629 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4631 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4632 match the changes below.
4634 * text2.C (toggleInset): if there is not editable inset at cursor
4635 position, try to see if cursor is _inside_ a collapsable inset
4638 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4640 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4641 document menu has a nice checkbox
4643 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4645 * lyxlength.C (asLatexString): change PW to output as percent of
4648 * lengthcommon.C: change '%' to 't%'
4650 * lyxfunc.C (dispatch): a few comments from Martin
4652 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4656 * BufferView_pimpl.h:
4657 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4660 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4662 * vspace.C (inPixels): fix compiler warning
4664 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4666 * lyxfunc.C (getStatus): fix status message for disabled commands.
4668 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4670 * BufferView_pimpl.C: fix crash on close buffer
4671 during selection (#227)
4673 2002-01-27 Herbert Voss <voss@lyx.org>
4675 * buffer.C: link old Figure to new graphic inset
4677 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4679 * FontLoader.C (getFontinfo): Change the latex font names in order
4680 to match the names of type1inst.
4682 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4684 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4686 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4689 (remove_files_with_extension): ditto
4690 (remove_file): ditto
4693 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4694 document is smaller than the work area height. Do not initialize
4695 static variables to 0.
4697 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4699 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4701 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4702 LFUN_LAYOUT_PARAGRAPHS.
4704 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4705 tabular. It is possible to provide a possible cell, which will
4706 typically be the actcell from the corresponding insettabular
4708 * lyxfunc.C (getStatus): small cleanup; disable
4709 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4712 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4714 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4716 * paragraph.C (startTeXParParams):
4717 (endTeXParParams): new methods. The LaTeX code to
4718 start/end paragraph formatting
4719 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4720 empty (fixes bug #200)
4722 * vspace.C (inPixels): adapt to the change below
4723 (inPixels): [later] more cleanups (remove unused variables)
4725 * lyxlength.C (inPixels): change to use a width and a height as
4728 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4730 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4731 Replaced with \paperwidth
4733 * DepTable.C (insert): add std:: qualifier
4735 2002-01-18 Allan Rae <rae@lyx.org>
4737 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4740 * text.C (drawInset): Turned out I didn't know enough about how
4741 rebreaking worked. This fixes most of the redraw problems. I see
4742 an occasional cursor trail when a line is broken now and the cursor
4743 placement can seem out by a few pixels also after a rebreak.
4745 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4747 * buffer.C (parseSingleLyXformat2Token): update because minipage
4748 width is now a LyXLength
4750 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4752 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4755 2002-01-17 Juergen Vigna <jug@sad.it>
4757 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4759 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4760 is set correctly and the inset is updated correctly.
4762 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4764 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4765 the beginning of the loop.
4767 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4769 * lyxrc.C: improve help for use_scalable_fonts
4771 2002-01-17 Allan Rae <rae@lyx.org>
4773 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4775 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4777 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4778 make sure to set their inset_owner to the right value (bug #171)
4780 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4783 * DepTable.C: Implement mtime checking to reduce time spent doing
4786 2002-01-16 Juergen Vigna <jug@sad.it>
4788 * tabular.C (GetAdditionalHeight): one of error fixed.
4790 * lyxrc.C (output): small fix in writing use_pspell.
4792 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4794 * sp_base.h: #include LString.h
4796 2002-01-16 Allan Rae <rae@lyx.org>
4798 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4799 Can someone check this please?
4801 * text.C (drawInset): It was possible that p.row would be removed by
4802 breakAgainOneRow upsetting a few other settings. There may be another
4803 small tweak possible by setting need_break_row = 0 when p.row has been
4804 removed but I don't know enough about the logic here.
4806 2002-01-15 Allan Rae <rae@lyx.org>
4808 * text.C (insertChar): removed conditional truism.
4810 * BufferView2.C (removeAutoInsets): More tweaks.
4811 cur_par_prev could be a stray pointer. Check for trailing empty line
4812 in case last line was cur_par and only had an error inset on it.
4814 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4816 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4819 * vc-backend.C (most methods):
4820 * exporter.C (Export):
4821 * converter.C (convert):
4823 * LyXSendto.C (SendtoApplyCB):
4824 * lyxfunc.C (dispatch):
4828 * lyx_cb.C (AutoSave):
4830 * BufferView_pimpl.C (MenuInsertLyXFile):
4831 * buffer.C (runChktex): use Buffer::filePath().
4833 * buffer.h: rename filename to filename_; rename filepath to
4834 filepath_ and make it private
4835 (filePath): new method
4837 * buffer.C (writeFile): use fileName()
4840 * lyx_main.C (init): fix starting of LyX when the binary is a
4841 link from so,ewhere else.
4843 * minibuffer.C: include <cctype> for isprint
4845 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4847 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4848 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4849 name clash with InsetCollapsable's width function.
4851 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4853 * lastfiles.C: include <iterator>
4855 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4857 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4860 * buffer.C (makeLaTeXFile): ditto.
4861 Also make loop operation more transparent.
4863 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4865 * ToolbarDefaults.C: remove trailing comma closing namespace.
4867 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4869 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4872 * trans.C (Load): comment out unused variable, allowed.
4874 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4876 * minibuffer.[Ch] (append_char): new method to recieve input from the
4877 drop-down completion browser. If a key was pressed, then recieve this
4878 char and append it to the existing string.
4879 (peek_event): modify the positioning data passed to the completion
4880 browser so that it can be placed above the minibuffer rather than below.
4881 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4883 * LyXAction.C (init): alloe error-next for readonly documents.
4885 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4888 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4890 * bufferlist.C (readFile): create the buffer _after_ checking that
4893 * lyxfunc.C (verboseDispatch): fix handling of arguments
4895 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4897 * lyxrc.C: use string::erase() instead of initializing to "".
4900 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4902 * BufferView_pimpl.h:
4903 * BufferView_pimpl.C:
4906 * text2.C: tell X when we have made a selection for copying
4908 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4910 * BufferView_pimpl.C (MenuInsertLyXFile):
4911 * lyxfunc.C (menuNew):
4913 (doImport): add shortcuts to directory buttons
4915 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4918 * lyxfunc.C (setStatusMessage):
4919 (getStatusMessage): new methods
4920 (getStatus):use setStatusMessage instead of setErrorMessage
4921 (dispatch): when function is disabled, set error message here
4922 [instead of in getStatus previously]
4924 * BufferView_pimpl.C (workAreaButtonRelease): update
4925 toolbar/menubar here too.
4927 2002-01-13 Allan Rae <rae@lyx.org>
4929 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4930 Now seems indestructible. Remaining task is to audit all other
4931 code affected by deleteEmptyParagraphMechanism. One small quirk
4932 left is that an empty document with an error in the preamble can
4933 be made to report an error but no error box appears. I don't know
4935 (removeAutoInsets): Improved comments.
4937 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4940 * Thesaurus.C: update for Aiksaurus 0.14
4942 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4944 * text2.C (firstParagraph): removed member function, all uses
4945 replaces with ownerParagraph
4946 (redoParagraphs): here
4948 (toggleAppendix): here
4949 * BufferView2.C (insertErrors): here
4950 (setCursorFromRow): here
4952 2002-01-13 Allan Rae <rae@lyx.org>
4954 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4955 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4956 There is still a way to segfault this although you may have to do this
4957 multiple times: Have an InsetERT with an unknown command in it.
4958 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4959 <down-arrow>, <Enter> again, View->DVI, BANG!
4961 * text2.C (setCursor):
4962 (deleteEmptyParagraphMechanism):
4963 * lyxtext.h (setCursor):
4964 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4965 Making use of the return value may help fix other bugs.
4967 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4969 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4971 * LyXView.C (updateMenubar): call MenuBar::update here
4972 (updateToolbar): but not here
4973 (showState): do not update toolbar/menubar
4975 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4976 should need to care about that.
4978 * lyxfunc.C (verboseDispatch): simplify a bit
4979 (getStatus): have a version which takes a pseudoaction, and
4980 another which requires a (kb_action,string).
4982 * LyXAction.C (retrieveActionArg): make it work also when action
4983 is not a pseudo-action.
4984 (getActionName): simplify a bit
4987 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4989 * lyxfunc.C (verboseDispatch): new families of methods with
4990 several ways to specify a command and a bool to indicate whether
4991 the command name and shortcut should be displayed in minibuffer
4992 (eventually, we could extend that to a finer bitmask like
4993 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4994 (dispatch): the pristine dispatch command which just, well,
4995 dispatchs! Note it still sets its result to minibuffer; I'm not
4998 * lyxfunc.h: remove setHintMessage
5000 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5002 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5004 * BufferView_pimpl.C (specialChar): delete new inset if we have
5005 not been able to insert it.
5007 * kbmap.C: revert to using int instead of kb_action, since all we
5008 are dealing with is pseudo-actions.
5010 * LyXAction.C (searchActionArg): change to return int instead of
5011 kb_action, since the result is a pseudoaction.
5013 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5015 * buffer.C (insertErtContents): Fix (partially) the font bug.
5017 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5019 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5020 as the other one is broken on my machine!
5022 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5025 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5027 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5029 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5030 reflect their actual use. Provide compatibility code for older lyxrc
5033 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5035 change names of popup font variables in line with the changes to lyxrc.C
5037 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5039 * buffer.C (asciiParagraph): avoid outputing a word twice after
5042 * lyxrc.C (getDescription): document that document_path and
5043 template_path can be empty.
5045 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5047 * LaTeXFeatures.C (getMacros):
5048 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5050 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5052 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5054 (getPackages): rename feature "floats" to "float". Use an array to
5055 iterate over 'simple' features (i.e. just a \usepackage). Add
5056 handling of "amsmath" (renamed from "amsstyle").
5058 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5060 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5063 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5065 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5066 FuncStaus::FuncStatus & FuncStaus::some_method().
5068 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5070 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5071 of the func_satus stuff. Edited and massaged in various ways by
5074 * lyxfunc.C (getStatus): use FuncStatus
5076 2002-01-08 Juergen Vigna <jug@sad.it>
5078 * text.C (nextBreakPoint): use function Inset::isChar().
5080 * paragraph.C (TeXOnePar): use function
5081 Inset::forceDefaultParagraphs.
5083 * buffer.C (latexParagraphs): use function
5084 Inset::forceDefaultParagraphs.
5086 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5088 * lyx_gui.C (init): set the style of the menu popups to
5089 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5091 2002-01-07 Juergen Vigna <jug@sad.it>
5093 * text.C (setHeightOfRow): small fix
5094 (prepareToPrint): don't look at alignment if we don't have the place
5097 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5099 * box.C: New file. Move the Box methods and functions out of box.h,
5100 following Lars' suggestion.
5102 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5104 * box.h: #include "support/LOstream.h", needed for inlined function.
5107 * lyxtextclasslist.C: added some using std declarations.
5109 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5111 * box.h: make signed dimensions to allow insets wider than
5112 the screen (bug #162)
5114 * BufferView_pimpl.C: add some insetHit debug
5116 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5118 * vc-backend.C: add FIXME
5120 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5122 * lyxfunc.C (getStatus): enable code for showing math font status
5125 2002-01-07 Juergen Vigna <jug@sad.it>
5127 * text.C (nextBreakPoint): removed debug output not needed anymore.
5129 2002-01-06 Juergen Vigna <jug@sad.it>
5131 * text.C (nextBreakPoint): fixed up this function we had this bug
5132 since ever but now hopefully we break row better.
5133 (insertChar): we have to check if an inset is the next char as it
5134 could now happen that a large inset is causing a break.
5136 2002-01-05 Juergen Vigna <jug@sad.it>
5138 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5139 if it doesn't like to be drawed.
5141 2002-01-04 Juergen Vigna <jug@sad.it>
5143 * BufferView2.C (lockInset): forgot to set a cursor.
5145 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5147 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5152 * form_maths_panel.C:
5153 * form_maths_panel.h:
5154 * form_maths_panel.fd: implemented sub- and super- buttons in math
5157 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5158 (or ^ space) to be used as in TeX (req'd by André).
5160 * lyxfunc.C: Allow ^ and _ again to be used both as
5161 super/subscript (mathed) and as themselves (in text).
5163 2002-01-03 Allan Rae <rae@lyx.org>
5165 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5166 "LyX" or the filename of the current buffer if it has one. This is a
5167 modified form of John Levon's patch.
5169 * XFormsView.C (setWindowTitle): also set icon title.
5171 * LyXView.h (setWindowTitle): signature changed.
5172 * XFormsView.h (setWindowTitle): ditto.
5174 2002-01-02 Juergen Vigna <jug@sad.it>
5176 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5178 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5180 * screen.C (topCursorVisible): introduce a temp var for
5181 text->cursor.row(), handle the case where this row is null. (kindo
5184 * text2.C (setCursor): add a couple of asserts.
5186 * paragraph.h (inset_iterator): add -> operator
5188 * paragraph.[Ch] (autoDeleteInsets): remove member function
5190 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5191 cursor pos correctly and handle inset deletion by itself.
5192 (insertErrors): move iterator declaration out of for expression
5194 * lyxtextclass.C: add <algorithm>
5196 * Makefile.am: added the new files to sources, removed layout.C
5198 * layout.C: removed file
5200 * layout.h: remove LYX_DUMMY_LAYOUT
5202 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5206 * lyxtextclass.[Ch]:
5207 * lyxtextclasslist.[Ch]: new files
5209 * include order changes to a lot of files, also changes because of
5212 2001-12-27 Juergen Vigna <jug@sad.it>
5214 * buffer.C (asciiParagraph): more fixes.
5216 * tabular.C (ascii): make ascii export support export of only the
5217 data separated by a column-delimiter.
5218 (ascii): better support for ascii export.
5220 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5222 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5224 * tabular_funcs.C: use a "using std::getline" instead of the
5225 previous fix from Angus (necessary for cxx + lyxstring)
5227 2001-12-24 Juergen Vigna <jug@sad.it>
5229 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5231 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5232 problems. First check a minipage also if we have some ert-contents
5233 (not only on par->size(), second set the right depth of the paragraph
5234 on the relink to the root-paragraph-list!
5236 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5237 which then did not anymore update the main paragraphs on undo/redo!
5239 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5241 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5242 code. Support all font-changing funcs (even those which are not in
5243 menu currently). Support for reporting font settings in
5244 mathed (disabled until Andre provides a function on mathed's side).
5246 * func_status.h (toggle): small helper function to set toggle
5249 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5251 * tabular_funcs.C: getline -> std::getline
5253 2001-12-21 Juergen Vigna <jug@sad.it>
5255 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5256 accessed and could be 0 (I couldn't generate this but it seems
5259 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5261 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5262 * tabular_funcs.h: here and include iosfwd
5264 2001-12-20 Juergen Vigna <jug@sad.it>
5266 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5267 inside inset but undo_par was.
5269 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5271 * Thesaurus.C: always include <config.h> in sources.
5275 * box.h: do not include <config.h> in header files
5277 * text.C (paintLastRow): remove unused variable
5279 * text.C (transformChar):
5281 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5284 * font.C (width): rewrite to use uppercase() instead of
5287 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5289 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5291 * lyxfind.C: clean up of find failure position change
5293 2001-12-20 Juergen Vigna <jug@sad.it>
5295 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5297 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5298 (TeXRow): added to LaTeX a single tabular row.
5299 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5300 (Latex): simplified and finally good LT-h/f support.
5301 (various_functions): just small adaptions for LT-h/f support.
5303 * tabular_funcs.[hC]: added and moved here all not classfunctions
5306 2001-12-19 Juergen Vigna <jug@sad.it>
5308 * tabular.[Ch]: better support for longtabular options (not finished
5311 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5313 * text.C (paintLastRow): use the label font instead of the font of
5314 the last character to compute the size of *_BOX. This makes more
5315 sense and avoids a crash with empty paragraphs.
5316 Use Painter::rectangle to draw EMPTY_BOX.
5318 2001-12-19 Juergen Vigna <jug@sad.it>
5320 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5321 the paragraphs if the replaced paragraph is not the first one!
5322 Tried to delete not used paragraphs but does not work yet so for
5323 now it's inside #ifdef's and by default off!
5325 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5327 * MenuBackend.C: include "lyx_main.h" instead of declaring
5328 lastfiles (actually was declared as LastFiles* instead of a
5331 2001-12-17 Juergen Vigna <jug@sad.it>
5333 * tabular.C (AppendColumn): applied John's fix
5335 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5339 * BufferView_pimpl.h:
5340 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5343 * box.h: new start of class for above
5345 * lyxfunc.C: ignore space-only minibuffer dispatches.
5346 Show the command name when it doesn't exist
5348 * minibuffer.C: don't add empty lines to the history
5350 * minibuffer.C: add a space on dropdown completion
5352 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5354 * text.C: fix line above/below drawing in insets
5356 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5358 * lyxlength.C (LyXLength): Initialize private variables.
5360 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5362 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5363 when inserting error insets.
5365 2001-12-13 Juergen Vigna <jug@sad.it>
5367 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5368 actually sometimes the before-paragraph.
5369 (setUndo): don't clear the redostack if we're not actually undoing!
5371 2001-12-06 Juergen Vigna <jug@sad.it>
5373 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5374 and fixed redoing of main paragraph, so we can use it now ;)
5376 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5378 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5380 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5383 2001-12-13 André Pönitz <poenitz@gmx.net>
5386 * undo_func.C: minor cleanup
5388 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5390 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5391 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5392 font in urw-fonts package which is marked as -urw-fontspecific and
5393 does not work (incidentally, changing the encoding in the
5394 fonts.dir of this package to -adobe-fontspecific fixes the
5397 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5398 is a crash when undoing first paragraph (Juergen, please take a
5399 look). THis does not mean the undo fix is wrong, just that it
5402 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5403 the (Paragraph*) version when needed instead of duplicating the
5406 * text.C (workWidth): use Inset::parOwner to find out where the
5407 inset has been inserted. This is a huge performance gain for large
5408 documents with lots of insets. If Inset::parOwner is not set, fall
5409 back on the brute force method
5411 * paragraph_pimpl.C (insertInset):
5412 * paragraph.C (Paragraph):
5413 (cutIntoMinibuffer): set parOwner of insets when
5414 inserting/removing them
5416 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5418 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5424 * mathed/formulabase.C:
5425 * mathed/math_cursor.[Ch]:
5426 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5429 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5431 * lyxlength.[Ch] (operator!=): new function
5433 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5435 * text.C (workWidth): use Inset::parOwner to find out where the
5436 inset has been inserted. This is a huge performance gain for large
5437 documents with lots of insets. If Inset::parOwner is not set, fall
5438 back on the brute force method
5440 * paragraph_pimpl.C (insertInset):
5441 * paragraph.C (Paragraph):
5442 (cutIntoMinibuffer): set parOwner of insets when
5443 inserting/removing them
5445 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5447 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5449 * tabular-old.C (getTokenValue):
5450 * tabular.C (getTokenValue):
5451 (write_attribute): new versions for LyXLength
5452 (everywhere): adjust the use of widths
5454 * tabular.h: change the type of widths from string to LyXLength
5456 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5458 * paragraph.C: fixed missing line number count when exporting
5459 Environments to LaTeX file
5461 * buffer.C: added informational message for checking line numbers.
5463 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5465 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5466 paragraph, do the 'double space' part, but not the 'empty
5469 * text.C (workWidth): small optimization
5470 (getLengthMarkerHeight): use minimal size for negative lengths.
5472 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5474 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5476 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5478 2001-12-11 André Pönitz <poenitz@gmx.net>
5481 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5483 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5485 * text2.C: keep selection on a setFont()
5487 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5489 * lyx_cb.C: another bv->text misuse, from insert label
5491 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5494 * kbsequence.C: re-instate nmodifier mask
5496 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5498 * lyx_main.h: make lyxGUI private.
5500 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5502 * lyxfind.C: place the cursor correctly on failed search
5504 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5506 * text.C (getLengthMarkerHeight): for small heights, the arrows
5507 are not always on top/bottom of the text
5508 (drawLengthMarker): smaller arrows; take the left margin in
5509 account; draw also vfills.
5511 (paintLastRow): remove special code for vfill and standard spaces,
5512 since everything is handled in drawLengthMarker now.
5514 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5516 * buffer.C (insertErtContents): try to handle font and language
5517 interaction a bit better.g
5519 * ColorHandler.C (updateColor): change the hash to cover the whole
5520 LColor enum, ws cleanup
5521 (getGCLinepars): ditto
5522 (getGCLinepars): only lookup in the linecache once.
5524 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5526 * iterators.C (operator++): Make the iterator more robust
5528 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5532 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5535 * text.C: better added space drawing
5537 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5540 * BufferView2.C: fix layout combo update on inset unlock
5542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5544 * Makefile.am: don't compile unused files
5546 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5550 * LyXAction.C: remove old LFUN_LAYOUTNO
5552 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5554 * paragraph_pimpl.h:
5555 * paragraph_pimpl.C: isTextAt() doesn't need font param
5557 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5560 * lyxlex.C: little cleanup
5562 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5564 * BufferView_pimpl.C: fix insertAscii for insets
5566 2001-12-05 Juergen Vigna <jug@sad.it>
5568 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5569 set the right font on the "multi" paragraph paste!
5571 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5577 * lyxlength.C: remove out-commented code.
5593 * vc-backend.C: change "while(" to "while ("
5595 * lyxlength.[Ch]: add zero function to check if length is zero or
5597 * lyxgluelength.C: use it
5599 2001-12-05 Allan Rae <rae@lyx.org>
5601 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5602 Works for 2.95.3, from what I understand of Garst's reports this should
5603 work for other g++ versions. We're screwed if the abs(int) definition
5604 changed between bugfix releases of gcc.
5606 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5608 * text.C: fix chapter label offset !
5610 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5613 * text.C: fix hfill at end of line, clean up
5615 2001-12-04 Juergen Vigna <jug@sad.it>
5617 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5618 that we force an update of the inset and it's owners if neccessary.
5620 2001-12-03 Juergen Vigna <jug@sad.it>
5622 * text.C (rowLast): simplified code
5624 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5626 * lyxfunc.C: fix show options on timeout
5628 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5630 * screen.C (topCursorVisible): scroll half a page when the cursor
5631 reached top of bottom of screen
5633 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5635 * minibuffer.C: deactivate on loss of focus
5637 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5639 * vspace.[Ch] (operator!=): add operator.
5641 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5643 * BufferView_pimpl.C: refuse to open an inset when
5644 there's a selection.
5646 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5648 * BufferView_pimpl.C: allow to click on RHS of full row insets
5650 2001-11-30 Juergen Vigna <jug@sad.it>
5652 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5653 insets for undo reasons.
5655 2001-11-28 André Pönitz <poenitz@gmx.net>
5657 * vspace.[Ch]: cosmetical changes
5659 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5669 * kbsequence.C: part re-write of old kb code
5672 * WorkArea.C: remove Lgb_bug_find_hack
5674 2001-11-30 José Matos <jamatos@fep.up.pt>
5676 * buffer.C (makeDocBookFile): add a comment to point a hack.
5677 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5678 Fixed a double write of labels.
5680 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5683 * LaTeX.h Fixed bug in LaTeX class where it would not
5684 re-run latex if no depfiles were changed, but the .dvi was removed.
5686 2001-11-28 André Pönitz <poenitz@gmx.net>
5688 * all the files from the change on 2001/11/26:
5689 use lyx::layout_type instead of LyXTextClass::size_type
5690 use lyx::textclass_type instead of LyXTextClassList::size_type
5692 2001-11-29 Juergen Vigna <jug@sad.it>
5694 * text.C: added support for paragraph::isFreeSpacing()
5696 * buffer.C: same as above
5698 * paragraph.h: inserted isFreeSpacing() function to enable
5699 FreeSpacing inside InsetERT.
5701 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5702 of the paragraph's in the cut/copy buffer to 0!
5704 * text2.C (removeRow): remove the assert as it can!
5706 * lyxtext.h: added helper function firstRow returning firstrow and
5707 made firstrow private again.
5709 * BufferView2.C (lockInset): don't relock if we're already locked!
5711 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5713 (removeRow): added Assert::(firstrow)
5715 * debug.C: forgot to add INSETTEXT here.
5717 2001-11-28 Juergen Vigna <jug@sad.it>
5719 * sp_spell.C (initialize): changed error text to more general
5720 spellchecker command use (not only ispell!)
5722 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5724 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5726 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5728 * vspace.C: initialise lyxgluelength on failure
5730 2001-11-28 Allan Rae <rae@lyx.org>
5732 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5733 declaration & definition that looks like a function declaration.
5735 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5737 * BufferView2.C (copy):
5738 (copyEnvironment): do not clear the selection when doing a copy.
5740 * text.C (paintFirstRow): compilation fix
5742 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5744 * tabular.C (Latex): correct line count when writing latex.
5746 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5748 * paragraph_pimpl.h:
5749 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5752 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5756 * LColor.C: change vfillline->added_space
5758 * text.C: add markers and text for added space
5760 * vspace.C: fix comment
5762 2001-11-28 André Pönitz <poenitz@gmx.net>
5764 * paragraph.C: whitespace changes
5765 * all the other files from the change on 2001/11/26:
5766 change *::pos_type into lyx::pos_type
5768 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5770 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5771 language of the document when inserting error insets.
5773 2001-11-26 André Pönitz <poenitz@gmx.net>
5775 * BufferView_pimpl.[Ch]:
5783 * paragraph_pimpl.[Ch]:
5786 * text2.C: reduce header dependencies, introduce type for positions
5788 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5790 * <various>: change to use Alert.h
5792 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5794 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5795 when encountering an unknown token.
5796 (readLyXformat2): Show an error message if there were unknown tokens.
5798 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5801 * BufferView_pimpl.C:
5805 * text2.C: use par->isInset()
5807 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5809 * paragraph_pimpl.h:
5810 * paragraph_pimpl.C: cleanup
5812 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5814 * text2.C (removeRow):
5815 * text.C (setHeightOfRow): remove useless (and costly) call to
5818 2001-11-20 Allan Rae <rae@lyx.org>
5820 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5821 Now need Inset*::checkInsertChar() to return true for appropriate
5822 cases so that the characters in the minibuffer will actually be
5825 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5827 * text.C: change the order of the includes.
5828 (workWidth): initialize it at once.
5829 (workWidth): make maxw unsigned
5830 (setHeightOfRow): remove unused variable (inset)
5831 (selectSelectedWord): remove unused variable (inset)
5832 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5834 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5836 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5837 server is not running.
5839 (closeConnection): add debug info when server is disabled.
5841 * ColorHandler.C (getGCForeground): send debug message to GUI
5844 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5846 * kbmap.C (bind): modify because return conventions of
5847 kb_sequence::parse have changed.
5849 * kbsequence.C (parse): only ignore spaces and not any stupid
5850 control character. This avoids tests like s[i] <= ' ', which are
5851 guaranteed to fail with 8bit characters and signed chars.
5852 Change return code to string::npos when there have been no error
5853 (0 was a bad idea when error is at first character)
5855 2001-11-14 José Matos <jamatos@fep.up.pt>
5858 * buffer.C (simpleDocBookOnePar): removed unused argument.
5860 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5862 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5863 insets which are part of a word. Paragraph::isLetter takes care of
5864 that now. Use Paragraph::isInset to identify insets.
5865 (selectSelectedWord): do not test for hyphenation break.
5867 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5868 that protected spaces are considered as spaces.
5870 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5873 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5876 * lyxserver.C: fix it. and small cleanup.
5878 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5880 * BufferView_pimpl.C: use inline helpers
5883 * LaTeXFeatures.C: fix typos
5886 * Spacing.C: move spacing_string into class
5888 * ToolbarDefaults.C: move stuff into namespace anon
5890 * layout.h: update enum
5892 * lyxfunc.C: use better debug
5894 * minibuffer.h: fix typo
5898 * WorkArea.C: add and use Debug::WORKAREA
5902 * text2.C: code re-organisation, inline helpers
5904 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5906 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5907 std::vector.empty().
5909 2001-11-09 Allan Rae <rae@lyx.org>
5911 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5912 '\n's after tables. Tabular and ERT inset work now makes this no
5915 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5918 * minibuffer.C: fix crash, improve drop-down completion
5920 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5923 * lyxserver.C: invalidate fd's when doing endPipe()
5925 2001-11-08 José Matos <jamatos@fep.up.pt>
5927 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5928 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5931 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5933 2001-11-07 José Matos <jamatos@fep.up.pt>
5936 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5939 * buffer.C (sgmlOpenTag):
5940 * buffer.C (sgmlCloseTag): removed debug info.
5942 * buffer.h (sgmlOpenTag):
5943 * buffer.h (sgmlCloseTag): made public.
5945 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5947 * buffer.C (saveParamsAsDefaults):
5948 * lyx_cb.C (MenuLayoutSave): remove
5950 * LyXAction.C (init):
5952 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5954 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5956 * buffer.C (setPaperStuff): removed from here...
5958 * bufferparams.C (setPaperStuff): ... and moved there.
5960 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5964 * XFormsView.C: add support for drop-down completion
5966 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5968 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5971 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5973 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5976 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5978 * lyx_main.C: change ref to known bugs
5980 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5982 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5983 to work around older babel problems.
5985 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5987 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5989 2001-10-24 Juergen Vigna <jug@sad.it>
5991 * tabular-old.C (ReadOld): below variable changes reflected.
5993 * tabular.[Ch]: added ltType struct for longtable header/footer
5994 defines and changed all instances where they are used. Added
5995 future support for double top/bottom rows.
5997 2001-10-24 José Matos <jamatos@fep.up.pt>
5999 * buffer.h (docbookHandleCaption):
6000 * buffer.C (docbookHandleCaption): removed unused function.
6001 (makeDocBookFile): moved docbook supported version to v4.1.
6003 2001-10-24 José Matos <jamatos@fep.up.pt>
6006 * tabular.C (docbookRow): new function to export docbook code of a row.
6007 (DocBook): now honors the longtable flags.
6009 2001-10-23 José Matos <jamatos@fep.up.pt>
6012 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6013 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6015 * buffer.C (makeLinuxDocFile):
6016 (makeDocBookFile): reworked the preamble, more clean, and with
6017 support for lyx defined entities. Changed the document declaration
6018 to be more XML friendly.
6020 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6021 if we need to output XML that should be done with a filter.
6023 2001-10-22 Juergen Vigna <jug@sad.it>
6025 * sp_pspell.h (class PSpell): add alive function needed in the
6026 controller to see if the spellchecker could be started.
6028 2001-10-22 Juergen Vigna <jug@sad.it>
6030 * buffer.C (insertStringAsLines): modify the font for inserting
6031 chars in certain conditions by calling checkInsertChar(font).
6033 2001-10-19 Juergen Vigna <jug@sad.it>
6035 * text.C (workWidth): use getRow instead of wrong algorithm.
6036 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6038 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6043 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6045 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6047 * text.C (workWidth): do not search for the exact row when
6048 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6049 optimization for big documents.
6051 2001-10-18 Juergen Vigna <jug@sad.it>
6053 * text.C (workWidth): new function with added Inset * parameter.
6055 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6057 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6059 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6060 change return type of getColumnNearX.
6063 * text.C (changeRegionCase): use uppercase/lowercase instead of
6066 (rightMargin): simplify code by factoring out the uses of
6071 (appendParagraph): use Paragraph::size_type
6073 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6075 * vspace.C (asLatexString): add a missing break
6077 2001-10-15 Herbert Voss <voss@perce.de>
6079 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6081 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6083 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6086 2001-10-10 André Pönitz <poenitz@gmx.net>
6088 * lyxfunc.C: removed greek_kb_flag.
6090 2001-10-10 Herbert Voss <voss@perce.de>
6092 * lyx_main.C: delete global string help_lyxdir.
6094 2001-10-09 Herbert Voss <voss@perce.de>
6096 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6098 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6100 * lyx_main.C: added global string help_lyxdir.
6102 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6104 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6106 * lyxrc.C (set_font_norm_type): support iso8859-4
6108 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6110 * LaTeX.C (deplog): add another regex for MikTeX
6112 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6114 * lyxrc.C (set_font_norm_type): support iso8859-3
6116 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6118 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6120 * LaTeXFeatures.C: remove special case of french and index
6122 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6123 before \begin{document}). This solves several incompatibilities.
6125 2001-10-03 Garst Reese <reese@isn.net>
6127 * lyx_cb.C: change CheckTex error msg.
6129 2001-10-03 José Matos <jamatos@fep.up.pt>
6131 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6133 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6135 * .cvsignore: update
6137 * lyx_main.C (commandLineVersionInfo): use new style version info.
6139 * buffer.C (writeFile):
6142 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6144 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6146 * version.h: update to use stuff in version.C
6148 * version.C.in: new file. Contains version information determined
6149 at compile time. This is a merging of version.h and
6152 2001-10-03 Juergen Vigna <jug@sad.it>
6154 * BufferView_pimpl.C (update): don't change "dirty" status in
6157 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6159 * WorkArea.C (c-tor): re-position version string slightly.
6161 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6163 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6164 revert to previous code.
6166 WorkArea.[Ch]: (show, destroySplash): methods removed.
6168 WorkArea.C: rework code so that it's an amalgam of the codes before and
6169 after the splash screen was moved to WorkArea.
6171 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6174 * vspace.C (inPixels):
6177 * buffer.C (insertStringAsLines):
6178 (asciiParagraph): fix types to be large enough
6180 * lyxlex_pimpl.h: change member status from short to int
6182 * layout.h: fix type of endlabeltype
6185 * kbsequence.C (parse): change return type to string::size_type
6187 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6190 * Bullet.C (bulletSize):
6191 (bulletEntry): do not use short ints as parameters
6193 * BufferView2.C (insertLyXFile): change a char to an int.
6195 * WorkArea.C (WorkArea): remove unneeded floats in computation
6197 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6199 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6201 * paragraph.C (asString): Do not ignore newline/hfill chars when
6202 copying to the clipboard.
6204 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6206 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6207 after a multi-line inset.
6209 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6211 * paragraph.C (validate): Set NeedLyXFootnoteCode
6213 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6215 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6216 and decrease-error to decrease.
6218 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6220 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6221 it more readable (should be equivalent)
6223 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6225 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6227 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6229 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6230 of a cursor (row, etc.) after a character has been deleted
6231 (deleteEmptyParagraphMechanism): call the method above on _all_
6232 cursors held by the LyXText when a double space has been
6235 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6237 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6239 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6241 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6242 background. Use greyOut() and the new show() methods to toggle between
6243 the foreground and background. Add code to remove the splash after
6244 its initial showing.
6246 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6247 (create_forms): no longer call Dialogs::showSplash.
6249 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6251 * .cvsignore: add version_info.h
6253 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6255 * version_info.h.in: new file
6257 * Makefile.am: add version_info.h.in
6259 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6260 version_info.h instead of VERSION_INFO
6262 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6264 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6265 The ERT inset now returns string().
6267 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6269 * lyxtext.h, text.C (selectNextWord): renamed as
6270 selectNextWordToSpellcheck.
6272 * text.C (selectNextWordToSpellcheck): Modified to not select
6273 words inside an ERT inset.
6275 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6277 * lyx_cb.C (MenuLayoutSave): change a bit the question
6279 * sp_base.h: include <sys/types.h>
6281 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6283 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6285 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6287 * several files: fix typos in user-visible strings
6289 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6291 * text2.C (pasteSelection): do not set the selection, since it
6292 will be cleared later. Actually, the intent was to fix the way the
6293 selection was set, but I figured rmoving the code was just as good.
6295 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6297 * FontLoader.C (available): Check if font is available without
6300 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6302 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6304 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6306 * lyxrc.[Ch]: added display_graphics variable and associated code.
6308 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6310 * bufferparams.C (hasClassDefaults): new method. Returns true if
6311 the buffer parameters correspond to known class defaults
6313 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6315 * XFormsView.C (show): set minimum size to the main window.
6317 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6319 * text2.C (copySelection):
6321 * lyxfind.C (LyXReplace):
6322 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6323 LyXText::selectionAsString.
6325 * paragraph.C (asString): add "label" argument to the second form
6327 * text2.C (selectionAsString): add "label" argument and pass it to
6328 Paragraph::asString.
6330 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6332 * lyx_main.C (commandLineHelp): remove version information
6334 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6336 * lyx_main.C: add -version commandline option
6338 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6340 * paragraph.h: make the optional constructor arg required instead.
6341 some modifications to other files because of this.
6343 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6345 * lyxserver.C (C_LyXComm_callback): make it static
6347 * lyx_main.C (error_handler): make it static
6349 * lyx_gui.C (LyX_XErrHandler): make it static
6351 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6353 * WorkArea.C: make the extern "C" methods static.
6355 * Makefile.am (lyx_LDADD): simplify
6357 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6359 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6360 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6362 * LyXAction.C (init):
6363 * lyxfunc.C (dispatch): associated code removal.
6365 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6367 * lyxfont.h (isSymbolFont): shut off warning
6369 * text.C (setHeightOfRow):
6370 (getVisibleRow): fix crash with empty paragraphs which have a
6373 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6375 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6378 2001-09-04 José Matos <jamatos@fep.up.pt>
6381 * tabular.C (docbook): rename docBook method to docbook.
6383 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6385 * Makefile.am: add dependencies to main.o.
6387 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6389 * FontLoader.C (available): Return false if !lyxrc.use_gui
6391 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6393 * FontInfo.C (query):
6394 * converter.C (view):
6395 * importer.C (Import):
6396 * exporter.C (Export): Can not -> cannot.
6398 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6400 * BufferView_pimpl.C: allow to create index inset even if
6403 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6405 * buffer.C (getLists): replace boost::tie code with an explicit pair
6406 as boost::tie can break some compilers.
6408 * iterators.h: Added a std:: declaration to the return type of
6411 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6413 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6416 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6418 * iterators.[Ch]: New files. Provide paragraph iterators.
6420 * buffer.C (changeLanguage): Use paragraph iterators.
6421 (isMultiLingual): ditto
6423 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6425 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6427 * FontLoader.C: Support for cmr font.
6429 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6431 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6432 (available): New method.
6434 * FontInfo.C (getFontname): Use scalable fonts even when
6435 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6438 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6440 * converter.C (Formats::view): reverted! Incorrect fix.
6442 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6444 * converter.C (Formats::view): only output the -paper option
6445 if the dvi viewer is xdvi, thereby fixing bug #233429.
6447 2001-08-23 Herbert Voss <voss@perce>
6449 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6451 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6453 * Spacing.h (Spacing): Set space to Default on in the default
6456 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6458 * vc-backend.h (RCS::versionString): add RCS to version
6459 (CVS::versionString): add CVS to version
6461 * vc-backend.C (scanMaster): do not add CVS to version.
6462 (scanMaster): do not add RCS to version
6464 * lyxvc.C (versionString): new method
6466 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6468 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6470 * Spacing.C (set): initialize fval
6472 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6474 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6477 2001-08-16 Juergen Vigna <jug@sad.it>
6479 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6481 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6483 * BufferView_pimpl.C:
6486 * text2.C: setParagraph takes linespacing now
6488 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6490 * LyxAction.C: add internal LFUN_CITATION_INSERT
6492 * LyXView.C: actually apply fix
6494 * bufferlist.C: fix open non-existent file
6496 * lyxfind.C: fix indentation
6498 * lyxfunc.C: remove unneeded assert, fix typo
6500 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6502 * MenuBackend.C: use "Floatname List"
6504 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6506 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6507 when converting LaTeX layout to insetERT.
6508 Generate a non-collapsed float when reading old float
6510 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6512 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6515 2001-08-13 Juergen Vigna <jug@sad.it>
6517 * text.C (fill): return 0 instead of 20 as this seems to be the more
6520 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6522 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6525 2001-08-13 Juergen Vigna <jug@sad.it>
6527 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6529 (SearchBackward): comment out the unlocking of the inset_owner this
6530 should not be needed!
6532 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6534 * Many files: Remove inherit_language, and add latex_language
6536 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6539 2001-08-10 Juergen Vigna <jug@sad.it>
6541 * text.C (prepareToPrint): fixed hfill-width in draw!
6543 * BufferView2.C (selectLastWord): save the selection cursor as this
6544 now is cleared in the function LyXText::clearSelection!
6546 2001-08-08 Juergen Vigna <jug@sad.it>
6548 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6549 BACKSPACE type functions.
6551 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6552 is only cutted from the document but not put in the cut-buffer, where
6553 still the old stuff should be.
6555 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6557 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6559 * tabular.C (SetWidthOfCell): fixed special case where the width
6561 (LeftLine): handle '|' in align_special.
6563 (LeftAlreadyDrawed): ditto
6564 (SetWidthOfCell): ditto
6566 2001-08-07 Juergen Vigna <jug@sad.it>
6568 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6570 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6572 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6573 * lyxlex.[hC]: ditto
6575 2001-08-06 Juergen Vigna <jug@sad.it>
6577 * text.C (getVisibleRow): fix up row clearing a bit.
6579 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6581 * minibuffer.C: make sure the X server sees the changes in the input.
6583 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6585 * paragraph.C (getFont): split into...
6586 (getLabelFont): this
6587 (getLayoutFont): and this
6588 * paragraph_pimpl.C (realizeFont): calling this
6590 * text2.C (getFont): split into...
6591 (getLayoutFont): this
6592 (getLabelFont): and this
6593 (realizeFont): all three calling this
6595 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6598 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6600 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6602 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6604 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6605 layouts from the Quote inset insertion.
6607 2001-08-03 Juergen Vigna <jug@sad.it>
6609 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6611 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6612 only if status not is already CHANGED_IN_DRAW (second level).
6614 * text.C (draw): don't set the need_break_row when inside an
6617 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6619 * buffer.C (parseSingleLyXformat2Token): handle more latex
6622 * bufferview_funcs.[hC]: change function names to
6623 begin with small char, adjust other files.
6625 2001-08-02 André Pönitz <poenitz@gmx.net>
6628 BufferView_pimpl.C: remove broken special code for math-greek
6630 2001-08-02 Juergen Vigna <jug@sad.it>
6632 * BufferView_pimpl.C (update): redone this function so that we
6633 update the text again if there was a CHANGE_IN_DRAW.
6635 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6636 (drawFromTo): added a new internal bool which is used by draw() and
6638 (general): some cursor drawing problems fixed.
6640 2001-08-01 Juergen Vigna <jug@sad.it>
6642 * lyxfind.C (LyXFind): fixed
6643 (SearchForward): ditto
6644 (SearchBackward): ditto
6646 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6647 spurius drawing of the cursor in the main area.
6649 * text2.C (status): small fix which could lead to a segfault!
6650 (clearSelection): remove unneeded BufferView param.
6652 2001-08-01 André Pönitz <poenitz@gmx.net>
6654 * lyxfunc.C: small change due to changed mathed interface
6656 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6658 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6660 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6662 * lyxfunc.c: fail gracefully if file doesn't exist
6667 * BufferView_pimpl.C: IsDirWriteable() proto changed
6669 * LyXView.C: fix updateWindowTitle() to store the last title
6671 2001-07-31 Juergen Vigna <jug@sad.it>
6673 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6674 the font (wrong since using of Paragraph::highestFontInRange).
6676 * paragraph.C (highestFontInRange): added a default_size parameter.
6678 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6679 (setHeightOfRow): reformat
6681 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6683 * converter.[hC] + affected files: move to (inital-char)lowercase
6686 * ParagraphParameters.C (ParagraphParameters): remove commented code
6688 * PainterBase.[Ch]: remove commented code
6690 * LaTeXFeatures.h: add "bool floats" for float.sty
6692 * LaTeXFeatures.C (LaTeXFeatures): init floats
6693 (require): handle float
6694 (getPackages): do it with floats
6696 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6698 * BufferView_pimpl.C (Dispatch): improve handling of
6699 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6701 * commandtags.h: #include lyxfont.h here temporarily to avoid
6704 * bufferlist.h: include LString.h here.
6706 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6708 * text2.C (getStringToIndex): new method.
6710 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6712 * *: Reduced header file dependencies all over.
6714 2001-07-30 Baruch Even <baruch@lyx.org>
6716 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6718 2001-07-29 Baruch Even <baruch@lyx.org>
6720 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6722 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6724 * ParameterStruct.h (endif): add a default constructor to make
6725 sure that all variables is initialized.
6727 * ParagraphParameters.C (ParagraphParameters): adjust
6729 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6731 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6732 index; also, check that there is something to index, and that it
6733 does not span over several paragraphs.
6734 (doubleClick): use WHOLE_WORD_STRICT for double click.
6736 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6738 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6741 2001-07-26 Baruch Even <baruch@lyx.org>
6743 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6744 an InsetFig figure, backwards compatible reading of old figure code.
6746 2001-07-27 Juergen Vigna <jug@sad.it>
6748 * text2.C: font.realize function adaption.
6750 * text.C (draw): add a warnings lyxerr text if needed.
6752 * layout.C: font.realize function adaption.
6754 * language.C: add inherit_language and implement it's handlings
6756 * bufferview_funcs.C (StyleReset): remove language parameter from
6757 font creation (should be language_inherit now).
6759 * bufferparams.C (writeFile): handle ignore_language.
6761 * paragraph.C (getFontSettings): the language has to be resolved
6762 otherwise we have problems in LyXFont!
6764 * lyxfont.C (lyxWriteChanges): added document_language parameter
6765 (update): removed unneeded language parameter
6767 * paragraph.C (validate): fixed wrong output of color-package when
6768 using interface colors for certain fonts in certain environments,
6769 which should not seen as that on the final output.
6771 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6773 * BufferView_pimpl.C:
6778 * LyXAction.C: add thesaurus support
6781 * lyxfind.C: add "once" parameter, for thesaurus, to not
6782 move to the next match
6784 2001-07-26 Juergen Vigna <jug@sad.it>
6786 * lyxfont.C (realize): honor ignore_language too!
6789 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6791 * text.C (draw): one place more for ignore_language to not draw
6794 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6796 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6798 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6800 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6801 the minipage conversion problem.
6803 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6805 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6808 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6810 * BufferView.h: don't forward declare WorkArea
6812 * BufferView.C: don't include WorkArea.h
6814 2001-07-25 André Pönitz <poenitz@gmx.net>
6818 * lyxfunc.C: new LFUN 'math-space'
6820 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6822 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6824 * text2.C (toggleInset): call open/close
6826 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6828 * lyxfunc.C (dispatch): add debug for the disabled case
6830 * font.C (buttonText): make similar to rectText
6832 * buffer.C (readInset): comment out parsing of insetlist and
6835 * PainterBase.C (rectText): small correction
6837 * BufferView_pimpl.C: comment out insettheorem and insetlist
6838 * LyXAction.C: ditto
6839 * commandtags.h: ditto
6841 2001-07-24 Juergen Vigna <jug@sad.it>
6843 * text.C (draw): honor the ignore_language.
6845 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6847 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6849 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6852 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6854 * lyxtext.h: remove unused (and unimplemented) methods
6856 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6858 * text.C (getVisibleRow): honor background color
6861 * Painter.h: remove default color argument for fillRectangle
6863 * text.C (backgroundColor): new method
6865 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6867 * text.C (getVisibleRow): adjust
6869 * font.[Ch] (rectText): new method, metrics
6870 (buttonText): new method, metrics
6872 * PainterBase.[hC]: make rectText and buttonText always draw and take
6875 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6877 * ToolbarDefaults.C (read):
6878 * MenuBackend.C (read): allow escaping in all strings
6880 * BufferView_pimpl.C (insertAndEditInset): new method.
6881 (Dispatch): use insertAndEditInset whenever appropriate.
6883 * BufferView_pimpl.C (insertNote): removed
6885 * BufferView_pimpl.C (smartQuote): new method, moved from
6886 BufferView; if an insetquote cannot be inserted, insert a '"'
6889 * BufferView2.C: remove insertCorrectQuote();
6891 * lyxfunc.C (getStatus): Add support for all remaingin
6894 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6896 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6897 command (necessary to pass " as parameter of self-insert.
6899 * text.C (selectWordWhenUnderCursor):
6900 (selectWord): add word_location parameter
6901 (selectWordWhenUnderCursor): same + remove special code for word
6903 (selectNextWord): use kind() to guess type of insetspecialchar,
6906 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6907 (insertErtContents): create ert insets as collapsed.
6908 (readInset): better compatibility code for Info inset.
6910 2001-07-20 Juergen Vigna <jug@sad.it>
6912 * lyxfunc.C (dispatch): use always LyXFind now!
6914 * text2.C (init): add a reinit flag so that the LyXText can be
6915 reinited instead of deleted and reallocated (used in InsetText).
6917 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6923 2001-07-18 Juergen Vigna <jug@sad.it>
6925 * text.C (selectNextWord): handle insets inside inset by calling
6926 always the bv->text functions so that we can go up the_locking_inset!
6928 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6929 in strange locations when inside an inset!
6931 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6932 handling to include insets.
6934 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6936 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6938 * LyXAction.C (init):
6940 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6941 LIGATURE_BREAK, since the name is so stupid.
6943 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6945 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6948 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6950 * sp_form.[Ch]: remove.
6952 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6954 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6957 * src/buffer.C (readInset): ditto.
6959 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6961 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6962 menuSeparator(), endOfSentenceDot(), ldots() and
6963 hyphenationPoint(), which are therefore removed.
6964 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6966 * LyXAction.C (init):
6967 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6969 * paragraph.C (getWord): removed.
6971 * BufferView_pimpl.C (Dispatch): use last word or selection for
6972 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6974 * lyx_main.C (queryUserLyXDir): do not ask before creating
6975 user_dir, except if it has been named explicitely.
6977 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6979 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6980 a document of zero size.
6982 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6984 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6985 approriately in the c-tor and in require().
6986 (getPackages): output the appropriate LaTeX for natbib support.
6988 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6989 variables "use_natbib" and "use_numerical_citations" when reading the
6991 (readInset): read the various natbib cite commands.
6992 (validate): white-space change.
6994 * bufferparams.[Ch]: new variables "bool use_natbib" and
6995 "bool use_numerical_citations".
6996 (writeFile): output them in the LyX file.
6998 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7000 * lyxfunc.C (getStatus): add support for all the inset insertion
7003 * text2.C (insertInset):
7004 * paragraph.C (insetAllowed):
7005 * BufferView_pimpl.C (insertInset): update to take in account the
7006 renaming of insertInsetAllowed
7008 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7010 * text2.C (getInset): new method. returns inset at cursor position.
7012 * BufferView_pimpl.C (Dispatch): changes because of this.
7014 * LyXAction.C (init): rename open-stuff to inset-toggle.
7016 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7018 * text2.C (toggleInset): renamed from openStuff; use
7021 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7023 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7025 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7027 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7029 * buffer.C (readLyXformat2): Add filename to the error dialog
7031 2001-07-18 Juergen Vigna <jug@sad.it>
7033 * tabular.C (GetCellNumber): put an assert here instead of the check!
7035 2001-07-17 Juergen Vigna <jug@sad.it>
7037 * BufferView_pimpl.C (toggleSelection): adapted too.
7039 * text.C (selectNextWord): adapted for use with insets.
7040 (selectSelectedWord): ditto
7042 2001-07-17 Juergen Vigna <jug@sad.it>
7044 * sp_spell.C (PSpell): fix initialitation order.
7046 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7048 * paragraph.C: spacing
7050 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7052 * sp_spell.C: repair language selection for pspell
7054 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7056 * lyxfunc.h: change more methods to begin with lower char.
7058 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7060 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7061 for unknown layouts.
7063 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7065 * buffer.C (readLyXformat2): Generate an error dialog if there are
7068 2001-07-16 Juergen Vigna <jug@sad.it>
7070 * sp_spell.C: always compile ISpell part.
7072 * lyxrc.C: added use_pspell entry and it's handling.
7074 2001-07-13 Juergen Vigna <jug@sad.it>
7076 * sp_spell.C: removed double includes.
7078 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7080 Consistent use of Lsstream.h:
7081 * Lsstream.h: added using std::stringstream for consistencies sake.
7083 * buffer.C: removed using std::stringstream
7085 * lyxfont.C (stateText):
7086 * paragraph.C (asString):
7087 * text.C (selectNextWord, selectSelectedWord):
7088 * text2.C (setCounter):
7089 * vspace.C (asString, asLatexString):
7090 std::ostringstream -> ostringstream.
7092 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7094 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7095 * commandtags.h: add LFUN_HELP_ABOUTLYX
7096 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7098 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7100 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7102 * lyx_gui_misc.C: remove spellchecker
7103 * lyxfunc.C: showSpellchecker
7105 * sp_ispell.h: added
7106 * sp_pspell.h: added
7108 * sp_form.[Ch]: removed
7109 * spellchecker.[Ch]: removed
7111 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7113 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7115 (simpleTeXSpecialChars): Simply print the input character without
7116 any special translation if pass_thru is set.
7118 * layout.h: Added bool pass_thru to layout class for being able to
7119 implement pass through of a paragraph for Literate Programming.
7121 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7122 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7123 * layout.C (Read): add "passthru" to list of layout tags and add
7124 code to set the pass_thru boolean when it is read.
7126 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7128 * trans_decl.h: remove allowed from KmodInfo
7130 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7134 * paragraph_pimpl.C (erase): use boost::prior
7136 * Painter.C (text): use data() instead of c_str() when length is
7138 * WorkArea.C (putClipboard): ditto
7139 * font.h (width): ditto
7141 * BufferView2.C: use it-> instead of (*it). for iterators
7143 * paragraph_pimpl.C: ditto
7144 * paragraph.C: ditto
7145 * minibuffer.C: ditto
7150 * converter.C: ditto
7152 * Variables.C: ditto
7153 * TextCache.C: ditto
7154 * MenuBackend.C: ditto
7155 * LyXAction.C: ditto
7157 * FloatList.C: ditto
7159 * ColorHandler.C (LyXColorHandler): ditto
7161 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7163 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7165 * text2.C (openStuff): reintroduce this method (which had been
7166 nuked in NEW_INSETS frenzy).
7168 * lyxfunc.C (Dispatch): when an action has not been handled, use
7169 its name in the error message, not its number.
7171 * paragraph.C (inInset): change method name to begin with lowercase.
7174 * text2.C: updates because of this.
7176 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7178 * ToolbarDefaults.C (add): add spaces in error message
7180 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7182 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7183 (readLyXformat2): rename return_par to first_par, use lyxlex's
7184 pushToken and remove the manual push handling.
7185 (parseSingleLyXformat2Token): add another ert comp. variable:
7186 in_tabular, rename return_par to first_par. handle newlines better
7188 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7190 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7192 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7194 * text2.C (getParFromID): removed
7196 * buffer.C (getParFromID): new method moved form lyxtext.
7197 * BufferView2.C (insertErrors): adjust
7198 (setCursorFromRow): adjust
7199 * BufferView_pimpl.C (restorePosition): adjust
7200 * lyxfunc.C (Dispatch): adjust
7201 * undo_funcs.C (textUndo): adjust
7203 (textHandleUndo): adjust
7204 (textHandleUndo): adjust
7206 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7208 * buffer.C: up' the LYX_FORMAT
7210 * lyxfont.h: turn NO_LATEX on as default
7212 * buffer.C (insertErtContents): new methods of tex style compability.
7213 (parseSingleLyXformat2Token): use it several places.
7214 * tabular.C (OldFormatRead): and here
7216 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7218 * text2.C: remove some commented code.
7221 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7222 * trans.C: changes because of the above.
7224 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7226 * text2.C (setCounter): Fix counters bug with bibliography layout.
7228 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7230 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7231 own member functions
7232 (simpleTeXSpecialChars): ditto
7234 2001-07-06 Juergen Vigna <jug@sad.it>
7236 * a lot of files: changed the access to LyXText::status and the
7237 call of undo-functions.
7239 * undo.[Ch]: added a inset_id to the undo informations.
7241 * undo_funcs.[Ch]: added and moved here all undo functions.
7243 * lyxtext.h: give the status enum a weight, made status_ a private
7244 variable and made accessor functions for it, removed the whole bunch
7245 of undo-functions as they are now in their own file, make some
7246 functions publically available. Added function ownerParagraph with
7249 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7250 made InInset() a const function, added getParFromID() function.
7252 * buffer.[Ch]: added const version for inset_iterator functions,
7253 added getInsetFromID() function.
7255 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7256 changed undo functions for new version.
7258 2001-07-05 Juergen Vigna <jug@sad.it>
7260 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7261 unknow mechanism does not call the proper constructor but only this
7262 one also if I request the other!?
7264 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7266 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7268 * text2.C (LyXText): use initialization lists.
7270 * lyxtext.h (Selection): initialize set_ and mark_
7271 (init): remove method
7273 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7275 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7277 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7279 * screen.[Ch]: change method names to begin with lowercase
7281 * BufferView_pimpl.C (updateScrollbar): simplify further and
7282 hopefully make it a bit faster.
7284 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7286 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7287 calling directly xforms functions.
7289 * Painter.C (Painter):
7290 * lyx_cb.C (MenuWrite):
7291 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7294 * lyx_gui.C: remove bogus guiruntime extern declaration.
7296 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7298 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7300 (redoDrawingOfParagraph): ditto
7301 (redoParagraphs): ditto
7302 (cutSelection): don't create a object for CutAndPaste use the
7303 static method directly
7304 (pasteSelection): ditto
7306 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7309 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7311 * modifications to some other files because of this.
7313 * Makefile.am (lyx_SOURCES): add XFormsView
7315 * XFormsView.[Ch]: new files
7317 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7318 the main window. Move the gui dependent stuff to XFormsView
7320 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7322 * tabular.C (GetCellInset): update cur_cell also in the row/col
7323 version of this function.
7325 * lyxfunc.C: no need to include figure_form.h here.
7331 * lyxvc.C: no need to include forms.h here.
7333 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7335 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7337 * lyxfunc.C (Dispatch):
7339 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7340 constructor argument.
7342 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7344 * paragraph.C (Paragraph): dont't clear, and just set layout.
7345 (makeSameLayout): use params's copy contructor.
7347 * ParagraphParameters.[Ch] (makeSame): delete method
7349 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7351 * Variables.[Ch]: fix indentation, rename set to isSet
7353 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7355 * lyxfunc.C (Dispatch): fix typo
7357 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7359 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7362 * bufferlist.C: include assert.h for emergencyWrite().
7364 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7366 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7367 give up at last (bug #425202) !
7369 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7375 * spellchecker.C: strip spellchecker options and bring up
7376 preferences tab instead
7378 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7380 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7381 the istringstream constructor
7383 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7385 * paragraph.C (getLayout): fix return value
7387 * paragraph.h: do not declare getLayout as inline.
7389 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7391 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7393 * lyxcursor.h (operator<): new func
7394 (operator>): new func
7395 (operator>=): new func
7396 (operator<=): new func
7398 * text.C (changeCase): use selection.start and selection.end
7399 (changeRegionCase): require from to be <= to. Require par to be a
7402 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7404 2001-06-27 Juergen Vigna <jug@sad.it>
7406 * text.C (cursorLeftOneWord): changed to return the cursor and added
7407 overlay with BufferView * parameter which calls this one.
7409 (selectWord): use new getWord function.
7410 (changeCase): renamed from changeWordCase as and extended to work
7413 * lyxtext.h: added enum word_location
7415 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7416 changeCase as this operates now also on selections.
7418 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7420 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7422 * many files: send debug output to Debug::INFO instead of
7425 * converter.C (View):
7427 (Move): send debug output to Debug::FILES instead of console.
7429 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7431 * lyxfunc.C (getStatus): use func_status
7433 * func_status.h: new header, describing the results of
7436 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7439 2001-06-25 The LyX Project <jug@sad.it>
7441 * buffer.C (sgmlOpenTag):
7443 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7445 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7447 * text2.C: remove some dead code
7449 * tabular.C (GetCellInset): store the last cell checked (gotten)
7451 * tabular.h: add the helper for the speedup
7453 * lyxtext.h: remove some dead code
7455 2001-06-26 The LyX Project <Asger>
7457 * paragraph.C: Change export to LaTeX of alignment to
7458 \begin{center} and family for better roundtrip work with reLyX.
7460 * Tune the math drawing a bit.
7462 2001-06-25 The LyX Project <Asger>
7464 * LColor.C (LColor): New color for math background. New color
7467 2001-06-25 The LyX Project <jug@sad.it>
7469 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7472 * bufferlist.C (newFile): do not restrict to files ending with
7475 * BufferView_pimpl.C (MenuInsertLyXFile):
7477 2001-06-24 The LyX Project <jug@sad.it>
7479 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7482 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7484 * lyxtext.h: rename most methods to begin with a small char.
7485 Lots of changes because of this.
7487 * paragraph.C (Paragraph): do not call fitToSize
7488 (erase): call Pimpl::erase
7489 (insertChar): call Pimpl::insertChar
7490 (insertInset): call Pipl::insertInset
7491 (breakParagraph): do not call fitToSize
7492 (breakParagraphConservative): do not call fitToSize
7493 (fitToSize): remove method
7495 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7497 2001-06-24 The LyX Project <Asger>
7499 * Fix Qt compilation^2
7501 2001-06-24 The LyX Project <jug@sad.it>
7503 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7504 depthHook(getDepth()-1).
7507 * ParagraphParameters.h:
7508 * ParameterStruct.h: change type of depth to unsigned int ==
7509 depth_type. Many adaptations to other files before of that.
7511 2001-06-24 The LyX Project <Asger>
7513 * Fix Qt compilation.
7515 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7517 * paragraph.h: renamed several methods to begin with small letter.
7518 several changes to many parts of the code because of this.
7520 2001-06-23 The LyX Project <jug@sad.it>
7522 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7523 rewritten to discard all double spaces when KeepEmpty is off
7524 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7525 to only handle newlines but not fiddle with spaces and friends.
7527 * lyxfunc.C (MenuNew): when doing 'new from template', use
7528 template_path as default directory
7530 2001-06-23 The LyX Project <Asger>
7532 * Clean-up of header file includes all over
7533 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7535 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7537 * paragraph.h: renamed from lyxparagraph.h
7539 2001-06-23 Asger <lyx@violet.home.sad.it>
7541 * Buffer.h: Removed Buffer::resize
7542 * BufferList.h: Removed BufferList::resize
7543 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7544 the document lazily when we change the width, or the font settings.
7546 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7548 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7550 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7552 * buffer.h: remove out of date comment
7554 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7557 * screen.C: fix "theoretical" GC leak
7559 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7561 * LaTeX.C (scanAuxFile):
7562 (deplog): remove trailing \r when reading stream (useful under
7565 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7567 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7568 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7569 and BufferView::theLockingInset(Inset*), so should use them and not
7570 access bv_->text->the_locking_inset directly.
7572 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7574 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7577 * tex-defs.h: remove old unused file
7579 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7581 * BufferView_pimpl.C: fix typo, remove minibuffer message
7582 when buffer has loaded
7584 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7586 * lyxfunc.C (Dispatch): use stringstream
7587 (MenuNew): use stringstream
7588 (Open): use stringstream
7590 * importer.C (Import): use stringstream
7592 * bufferview_funcs.C (CurrentState): use stringstream
7594 * LaTeX.C (run): use stringstream
7596 * BufferView_pimpl.C (savePosition): use stringstream
7597 (restorePosition): use stringstream
7598 (MenuInsertLyXFile): use stringstream
7600 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7613 * vspace.C: removed // -*- C++ -*- as first line.
7616 * version.h: added // -*- C++ -*- as first line.
7618 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7620 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7622 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7625 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7627 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7630 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7632 * gettext.C: include LString.h even when --disable-nls is on.
7634 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7636 * converter.h (Get): changed argument type from int to
7637 FormatList::size_type to avoid unnecessary conversion.
7639 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7642 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7644 * gettext.h: include LString.h even when --disable-nls is on.
7646 2001-06-07 Juergen Vigna <jug@sad.it>
7648 * text.C (BreakAgain): subst spaces with tabs.
7650 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7651 (resizeInsetsLyXText): set force on resizeLyXText.
7653 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7655 * gettext.h (gettext_init):
7656 (locale_init): use a real definition instead of a macro
7658 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7660 * Bufferview_pimpl.C:
7662 * LColor.C: further lcolor tidies
7664 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7666 * BufferView_pimpl.C (updateScrollbar): simplify.
7668 * BufferView2.C: don't include insets/insetinfo.h, change
7669 prototype for insertInset and call the Pimpl version. let
7670 updateInset call Pimpl version.
7672 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7673 gotoInset to BufferView::Pimpl
7675 2001-06-01 Juergen Vigna <jug@sad.it>
7677 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7678 inside a LockingInset (is the update needed at all?).
7680 2001-05-31 Juergen Vigna <jug@sad.it>
7682 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7683 here not the old one otherwise how should we compare it afterwards
7686 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7691 * FontInfo.C: bring C functions into global namespace when
7694 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7696 * LString.h: make sure config.h has been loaded before LString.h.
7698 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7699 (one for each char read by EatLine!).
7701 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7704 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7706 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7707 to the same as the par we break from
7709 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7711 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7713 * MenuBackend.C (expand): also create menu entries for wide
7714 versions of the floats.
7716 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7718 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7720 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7721 frontends/Makefile.am
7727 * tabular.C (getTokenValue): add std::
7729 * tabular-old.C (getTokenValue): add std::
7730 (getTokenValue): ditto
7731 (getTokenValue): ditto
7733 * screen.C (ToggleSelection): adjust
7735 * lyxtext.h: put selection cursors inside a Selection struct.
7737 * lyxfunc.C (moveCursorUpdate): adjust
7739 * lyxfont.C (latexWriteStartChanges): add std::
7743 * font.h: delete with(char const *, LyXFont const &)
7745 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7747 * FontInfo.C (getFontname): add std::
7749 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7750 (workAreaButtonPress): adjust
7751 (tripleClick): adjust
7753 (moveCursorUpdate): adjust
7756 * BufferView2.C (gotoInset): adjust
7758 2001-05-30 Juergen Vigna <jug@sad.it>
7760 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7761 to check pspell I add this as default as I now have new pspell
7762 libraries and they seem to use this.
7764 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7766 * text2.C (CutSelection): make the cursor valid before the call to
7769 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7771 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7772 relied on 0 terminated strings and other horrors. Bug found due to
7773 the new assert in lyxstring!
7775 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7778 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7780 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7783 * lyxfunc.C (processKeySym): change method of getting to the
7786 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7787 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7788 * BufferView_pimpl.[Ch]: here as private methods.
7790 2001-05-28 Juergen Vigna <jug@sad.it>
7792 * text.C (SetHeightOfRow): added the update() call again as it is
7793 needed to initialize inset dimensions!
7795 2001-05-16 Juergen Vigna <jug@sad.it>
7797 * text2.C (SetCharFont): Add new function with BufferView * and
7798 bool toggleall parameters for setting insets internal fonts.
7799 (SetFont): Freeze the undo as we may change fonts in Insets and
7800 all this change should be inside only one Undo!
7802 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7803 setting font's in insets as for them we have the SetFont function!
7805 2001-05-15 Juergen Vigna <jug@sad.it>
7807 * text2.C (ClearSelection): to be sure we REALLY don't have any
7810 * tabular.C (TeXCellPreamble): fixed the left border problem for
7813 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7815 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7818 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7820 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7821 LFUN_BREAKPARAGRAPH.
7823 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7824 help test to "internal only", similar for LFUN_INSERT_URL
7826 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7827 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7828 auto_region_delete and deadkeys.
7830 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7833 * LColor.C: remove some dead entries, tidy a little
7835 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7837 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7839 (Dispatch): implement LFUN_ESCAPE
7841 * commandtags.h: add LFUN_ESCAPE
7843 * LyXAction.C (init): add entry for LFUN_ESCAPE
7845 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7846 Remove commented code.
7847 (insertNote): moved here
7848 (open_new_inset): moved here
7850 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7853 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7855 * kbmap.C (findbinding): clean it up and make it work correctly.
7857 * lyx_main.C (init): do not pass argc and argv as parameters
7859 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7861 * buffer.C: fix path for OS/2 & Win32
7865 * lyx_main.C: Added os:: class.
7867 * os2_defines.h: update
7869 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7871 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7872 better by trying again with reduced state.
7874 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7876 * lyxrc.C (read): print error about invalid key sequence only when
7877 debugging (because not all latinX keysyms are known to some X
7880 * kbsequence.C (getiso): add a few std:: qualifiers
7881 (getiso): comment out extra return statement.
7883 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7885 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7887 (Dispatch): enhance the accent inset a bit. (not perfect)
7889 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7891 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7893 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7895 * bufferlist.C (emergencyWrite): fix assert() call
7897 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7899 * text.C (InsertChar): Added trivial patch to only send the "you
7900 can not do multiple spaces this way" message once during a
7903 2001-05-08 Baruch Even <baruch@lyx.org>
7905 * Makefile.am: Changed order of libraries to get LyX to link properly
7906 with the gnome frontend.
7908 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7910 * LaTeXFeatures.h: add a std:: qualifier
7912 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7914 * paragraph.C (String): use stringstream
7916 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7918 * paragraph.C (writeFile): remove footflag arg
7920 * buffer.C (makeLaTeXFile): use stringstream
7921 (latexParagraphs): remove footnot gurba
7923 * LaTeXFeatures.C (getPackages): use stringstream
7924 (getMacros): likewise
7925 (getTClassPreamble): likewise
7926 (getFloatDefinitions): new method
7928 * paragraph.C (writeFile): reindent
7931 * WorkArea.h: revert the xpos + etc changes.
7933 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7935 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7937 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7938 (pasteSelection): likewise
7939 * text2.C (CreateUndo): likewise
7941 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7943 * minibuffer.C (peek_event): temporarily reduce the functionality
7944 of the minibuffer (to allow args on lfuns)
7946 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7947 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7949 * buffer.C (readInset): add compability reading of old float
7950 lists, add reading of new style float list.
7951 (readInset): avoid reevaluation of inscmd.getCmdName()
7952 (getLists): reindent
7954 * MenuBackend.C (MenuItem): implement parsing of
7955 md_floatlistinsert and md_floatinsert.
7956 (expand::LastFiles): move initalizaton of iterators out of loop,
7958 (expand::Documents): introduce typdedef vector<string> Strings,
7960 (expand::ExportFormats): introduce typedef vector<Format const *>
7961 Formats, and use it.
7962 (expand): implement FloatListInsert and FloatInsert.
7964 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7965 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7966 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7968 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7970 (Dispatch::LFUN_FLOAT_LIST): implement
7972 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7974 * LaTeX.C (run): Fix problem with --export code.
7976 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7978 * BufferView.[Ch] (workarea): removed.
7979 (getClipboard) new method; wrapper for workarea()->getClipboard()
7981 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7984 * WorkArea.h (width, height, xpos, ypos): These methods all
7985 returned the dimensions of the work_area sub-area of WorkArea,
7986 resulting in a position error if the WorkArea were resized. Now
7987 return the dimensions of the entire WorkArea.
7989 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7991 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7993 * LaTeX.C (deplog): correct the syntax of regex reg1
7995 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7997 * undo.C: remove !NEW_INSETS cruft
7999 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8001 * text2.C: remove !NEW_INSETS cruft
8003 * text.C: remove !NEW_INSETS cruft
8005 * tabular.C: remove !NEW_INSETS cruft
8007 * spellchecker.C: remove !NEW_INSETS cruft
8009 * lyxtext.h: remove !NEW_INSETS cruft
8011 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8013 * lyxfunc.C: remove !NEW_INSETS cruft
8015 * lyxfind.C: remove !NEW_INSETS cruft
8017 * lyx_cb.C: remove !NEW_INSETS cruft
8019 * figureForm.C: remove !NEW_INSETS cruft
8021 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8023 * buffer.[Ch]: remove !NEW_INSETS cruft
8025 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8027 * CutAndPaste.C: remove !NEW_INSETS cruft
8029 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8031 * BufferView2.C: remove !NEW_INSETS cruft
8033 * BufferView.h: remove !NEW_INSETS cruft
8035 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8037 * Lsstream.h: include LString.h before the sstream headers to
8038 fix problem with gcc 2.95.3 and lyxstring
8040 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8042 * lyx_main.C: add using directives when needed for C functions
8043 declared in std:: namespace.
8045 2001-04-27 Juergen Vigna <jug@sad.it>
8047 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8048 (SetHeightOfRow): comment out the update call should not be needed!
8050 2001-04-13 Juergen Vigna <jug@sad.it>
8052 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8053 (LyXTabular): tried to minimize operator= operations (and realized
8054 hopfully Lars wish).
8056 2001-04-27 Juergen Vigna <jug@sad.it>
8058 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8060 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8062 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8064 * buffer.C (readInset): hack to make listof algorithm work
8066 * BufferView_pimpl.C: hack to make listof algorithm work
8068 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8070 * LyXAction.C: removed all !NEW_INSETS cruft
8071 (init): moved lfun_item in method
8073 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8075 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8077 * BufferView2.C (theLockingInset): white space.
8079 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8081 * minibuffer.C: include <iostream>
8083 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8085 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8087 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8089 * text.[Ch] (TransposeChars): new method
8091 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8093 * call message directly through LyXView instead of through LyXFunc
8094 * BufferView2.C: adjust
8095 * BufferView_pimpl.C: adjust
8096 * FontLoader.C: adjust
8098 * bufferview_funcs.C: adjust
8099 * converter.C: adjust
8100 * figureForm.C: adjust
8101 * importer.C: adjust
8103 * lyx_gui_misc.C: adjust
8107 + more files in subdirs
8109 * lyxparagraph.h (size): move up int file
8112 * adjust all uses of Assert to lyx::Assert.
8114 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8115 lyxfunctional in namespace lyx
8116 * layout.C (hasLayout): ditto
8119 (delete_layout): ditto
8120 (NumberOfClass): ditto
8121 * converter.C (GetFormat): ditto
8126 * bufferlist.C (getFileNames): ditto
8127 (emergencyWriteAll): ditto
8130 * MenuBackend.C (hasSubmenu): ditto
8133 * BufferView_pimpl.C (getInsetByCode): ditto
8135 2001-04-18 Juergen Vigna <jug@sad.it>
8137 * vspace.C (asLatexString): fixed the 100% problem.
8139 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8141 * lyxfunc.C (Dispatch):
8143 * minibuffer.h: add a few std:: qualifiers
8145 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8147 * minibuffer.[Ch]: reimplement so that commands is initiated and
8148 run from lyxfunc, simplified som handling, and made the completion
8149 and history code for complete. wip.
8151 * lyxfunc.C (processKeySym): call message
8152 (miniDispatch): new temporary method
8153 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8154 (LFUN_MESSAGE): implement
8155 (LFUN_MESSAGE_PUSH): implement
8156 (LFUN_MESSAGE_POP): implement
8157 (initMiniBuffer): the initial/defualt minibuffer message.
8159 * lyxfont.[Ch]: inline some more getters
8161 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8163 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8165 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8166 (AutoSave): use LFUN_MESSAGE
8167 (Reconfigure): ditto
8169 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8171 * figureForm.C: use LFUN_MESSAGE
8173 * converter.C (runLaTeX): use LFUN_MESSAGE
8175 * bufferview_funcs.C: use LFUN_MESSAGE
8177 (changeDepth): ditto
8179 * bufferparams.h: use boost::
8181 * bufferlist.h: inherit privately from noncopyable
8183 * bufferlist.C (loadLyXFile): remove some commented code.
8185 * buffer.C (runChktex): use LFUN_MESSAGE
8187 * ShareContainer.h: inherit privately from noncopyable
8189 * ParagraphParameters.[hC] (depth): inline it.
8191 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8193 (message): new method
8194 (messagePush): ditto
8196 (show): init minibuffer
8197 (showState): direct call
8199 * LaTeX.[Ch]: inherit privately from noncopyable
8200 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8201 instead of WriteStatus.
8203 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8205 * BufferView_pimpl.C (buffer): don't init minibuffer
8206 (workAreaButtonPress): use LFUN_MESSAGE
8207 (workAreaButtonRelease): ditto
8208 (savePosition): ditto
8209 (restorePosition): ditto
8210 (MenuInsertLyXFile): ditto
8211 (workAreaExpose): don't init minibuffer
8212 (update): remove commented code, simplify
8214 * BufferView2.C (openStuff): use LFUN_MESSAGE
8215 (toggleFloat): ditto
8218 (copyEnvironment): ditto
8219 (pasteEnvironment): ditto
8224 (updateInset): remove some commented code
8226 * lastfiles.h: inherit privately from noncopyable
8231 * lyxlex_pimpl.h: ditto
8233 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8234 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8235 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8237 * LyXAction.h: inherit privately from noncopyable, add methods
8238 func_begin, func_end, returning iterators to the func map.
8240 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8241 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8242 (func_begin): new method
8243 (func_end): new method
8245 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8247 (copySelection): ditto
8248 (pasteSelection): ditto
8250 * BufferView.C: whitespace change
8251 * BufferView.h: inherit privately from noncopyable
8253 2001-04-16 Allan Rae <rae@lyx.org>
8255 * tabular-old.C (l_getline):
8256 * spellchecker.C (sc_check_word):
8257 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8258 an unrecognised preprocessor directive. So ensure they're wrapped.
8260 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8262 * src/exporter.C (Export): Give an error message when path to file
8265 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8267 * LaTeX.C (deplog): Always check that foundfile exists.
8269 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8272 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8274 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8276 * tabular.[Ch] (getLabelList): implement new method
8278 * minibuffer.h: comment ouf setTiimer
8280 * minibuffer.C (ExecutingCB): constify res
8281 (peek_event): constify s
8282 (Set): constify ntext
8283 (Init): constify nicename
8285 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8287 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8288 (savePosition): use two params to Minibuffer::Set
8289 (restorePosition): ditto
8291 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8293 * lyx_main.C: include language.h
8295 * Makefile.am (lyx_main.o): add language.h
8297 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8303 * CutAndPaste.C: include gettext.h
8305 * lyxfont.h: remove old hack with ON and OFF.
8308 * lyxfont.h: do not include language.h...
8313 * bufferview_funcs.C:
8319 * paragraph.C: ... but do it here instead
8321 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8323 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8325 * tabular.C: small reformat
8327 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8330 (BreakParagraph): ditto
8331 (SetOnlyLayout): ditto
8334 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8337 * lastfiles.C: removed most using decl, add std:: where needed
8339 * buffer.C: ws changes
8341 * MenuBackend.C (class compare_format): put into anon namespace
8342 (expand): constify label, names, action, action2
8345 * text.C (SingleWidth): constify font
8346 (IsBoundary): constify rtl2
8347 (GetVisibleRow): constify ww
8349 * LaTeX.C (deplog): constify logfile
8351 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8353 (workAreaExpose): constify widthChange, heightChange
8355 * lyxrow.C (par): moved
8358 * lyxrow.h: as inlines here
8360 * lyxfont.h (shape): moved from lyxfont.C
8361 (emph): moved from lyxfont.C
8363 * lyxfont.C (LyXFont): use initialization list for all
8365 (shape): move to lyxfont.h as inline
8366 (emph): move to lyxfont.h as inline
8369 2001-04-04 Juergen Vigna <jug@sad.it>
8371 * vspace.C: had to include stdio.h for use of sscanf
8373 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8376 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8377 independent of xforms.
8379 2001-04-02 Juergen Vigna <jug@sad.it>
8381 * spellchecker.C: fixed namespace placing!
8383 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8385 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8386 the LyXParagraph * is 0.
8388 2001-03-29 Juergen Vigna <jug@sad.it>
8390 * vspace.C: added support for %, c%, p%, l%.
8391 (stringFromUnit): added helper function.
8392 (asLatexString): changed to give right results for the %-values.
8394 * buffer.C: convert the widthp in a width%.
8396 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8398 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8401 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8402 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8404 * lyx_cb.[Ch]: see above.
8406 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8410 * lyx.[Ch]: replaced by figure_form.[Ch].
8414 * lyxfunc.C: changed headers associated with above changes.
8416 2001-03-27 Juergen Vigna <jug@sad.it>
8418 * BufferView_pimpl.C: set the temporary cursor right!
8420 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8422 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8424 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8426 * LString.h: removed "using std::getline"!
8428 * BufferView_pimpl.C (Dispatch): changes due to changes in
8429 InsetInclude::Params.
8431 * buffer.C (tag_name): removed redundant break statements as they were
8432 producing lots of warnings with my compiler.
8434 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8436 * LString.h: add "using std::getline" when using the real <string>.
8438 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8440 * buffer.C: removed bitset usage.
8441 PAR_TAG moved to an anonymous name space.
8442 (tag_name): new funtion, also in the anonymous namespace.
8443 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8444 (makeDocBookFile): clean code. Completed transition from string arrays
8446 (SimpleDocBookOnePar): code clean.
8448 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8450 * tabular.C: add some comments.
8452 2001-03-22 Juergen Vigna <jug@sad.it>
8454 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8455 compatibility read a bit and fixed bug with minipage in different
8458 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8460 * buffer.C (pop_tag): removed.
8461 (push_tag): removed.
8462 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8463 array replaced with vector. Added support for CDATA sections.
8464 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8466 (makeDocBookFile): XML conformant declaration of CDATA section,
8467 fixed bug related to <emphasis> in the first paragraph char.
8468 (sgmlOpenTag): exclude empty tags.
8469 (sgmlCloseTag): ditto.
8471 * buffer.h (pop_tag): removed.
8472 (push_tag): removed.
8474 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8476 * language.h (Languages): added size_type and size().
8478 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8480 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8481 response on compability reading of minipages. One probliem is that
8482 the old usage of minipages was «flertydig»
8484 * several files here and in subdirs: don't use static at file
8485 scope use anon namespaces instead.
8487 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8489 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8490 LaTeX output. This is necessary for Literate document
8493 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8495 * buffer.C: insert hfill when needed.
8497 * tabular.C (l_getline): use string::erase, small whitespace change.
8499 * BufferView_pimpl.C: try the anon namespace.
8502 2001-03-16 Juergen Vigna <jug@sad.it>
8504 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8505 otherwise it won't open options-dialogs.
8507 * buffer.C: honor pextraWidth(p) on converting minipages.
8509 * tabular.C (l_getline): changed the functions to strip trailing \r.
8511 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8513 * BufferView_pimpl.C:
8514 * minibuffer..C: added "using SigC::slot" declaration.
8516 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8518 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8524 * paragraph.C: ditto
8526 * lyxtext.h: NO_PEXTRA
8528 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8530 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8531 * ParameterStruct.h: ditto
8532 * ParagraphParameters.h: ditto
8533 * lyxparagraph.h: ditto
8535 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8537 * buffer.C: add compability for minipage alignment.
8538 (latexParagraphs): remove unwanted pextra check.
8540 * several files: remove CXX_WORKING_NAMESPACES
8542 * buffer.C (pop_tag): tie is in namespace boost
8544 * BufferView.h: noncopyable is in namespace boost
8549 * lastfiles.h: ditto
8550 * bufferlist.h: ditto
8551 * ShareContainer.h: ditto
8553 * LyXAction.h: ditto
8556 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8558 * Merging changes from BRANCH_MVC back into HEAD.
8560 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8562 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8564 * BufferView_pimpl.C: change from intl.C
8568 * Makefile.am: move combox.*
8574 * intl.C: remove dialog (covered by prefs)
8576 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8578 * lyxfunc.C (Dispatch): removed redundant break statement.
8580 2001-03-14 Juergen Vigna <jug@sad.it>
8582 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8584 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8586 * buffer.C: add hack to fix compability reading of minipages.
8588 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8590 * buffer.C (getLists): Cleanup.
8592 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8594 * lyxfont.C (update): don't honor toggleall on font size.
8596 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8600 * Makefile.am: moved to frontends/xforms/
8604 * BufferView_pimpl.C: changes for moved mathpanel
8606 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8608 * gettext.h: fix gettext_init() in --disable-nls
8610 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8612 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8614 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8617 * lyx.h: strip external form
8619 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8621 * BufferView_pimpl.C: add comment, destroySplash()
8623 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8625 * BufferView_pimpl.C:
8629 * lyxfunc.C: use re-worked insetinclude
8631 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8633 * buffer.C: add using std::stringstream.
8635 * lyx_cb.C: readd using std::ios.
8637 * buffer.C: add using std::map.
8639 * BufferView_pimpl.C: add using std::vector.
8641 * ShareContainer.h: add std:: to swap.
8643 * buffer.h: add some typedefs
8644 * buffer.C (getLists): use them
8645 (getLists): renamed from getTocList.
8646 add a counter for the different float types and use it in the
8648 (getLists): use the same counter for the NEW_INSETS and the "non"
8651 * lyx_cb.h: remove unused items, includes, using etc.
8653 * ShareContainer.h: remove some commented code, add more comments
8654 and "documentation".
8656 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8658 * buffer.C (getTocList): make the list also when NEW_INSETS is
8661 * buffer.h: remove TocType
8663 * buffer.C (getTocList): change to return a map<string,
8664 vector<TocItem> >, implement for dynamic number of list.
8666 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8667 * text2.C (PasteSelection): adjust
8668 * CutAndPaste.C (pasteSelection): adjust
8670 * FloatList.C (FloatList): update from the new_insets branch.
8671 * Floating.[Ch]: ditto
8672 * LaTeXFeatures.C: ditto
8674 * lyxlex_pimpl.C: ditto
8676 * paragraph.C (Last): remove when NEW_INSETS is defined.
8678 * other file: changes because of the above.
8680 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8682 * lyxparagraph.h: rename next to next_, previous to previous_,
8683 make them private for NEW_INSETS. Rename Next() to next(),
8684 Previous() to previous().
8686 * other files: changes because of the above.
8688 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8691 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8694 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8696 * main.C (main): pass lyx_localedir to gettext_init().
8698 * gettext.h: remove locale_init and gettext_init macros
8700 * gettext.C (locale_init): new function
8701 (gettext_init): new function
8703 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8706 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8708 * Moved credits to frontends:
8709 * credits.[Ch]: removed
8710 * credits_form.[Ch]: removed
8711 * lyx_gui_misc.C: remove credits stuff
8714 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8716 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8718 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8719 unneeded destructor.
8721 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8722 a standalone pointer again.
8724 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8726 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8732 * ToolbarDefaults.C:
8741 * BufferView_pimpl.C: use new file dialog in GUII
8744 * lyx_cb.C: remove LayoutsCB to Toolbar
8746 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8748 * ShareContainer.h (get): add std:: qualifier
8750 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8752 * ShareContainer.h: define a proper ShareContainer::value_type
8753 type (and use typename to please compaq cxx)
8755 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8757 * lyxparagraph.h: move serveral local vars to
8758 ParameterStruct/ParagraphParameters., use ShareContainer in
8759 FontTable., make vars in FontTable private and add getter and
8762 * paragraph.C: changes because of the above.
8764 * lyxfont.h: remove copy constructor and copy assignment. (the
8765 default ones is ok), move number inside FontBits. move inlines to
8768 * lyxfont.C: add number to initializaton of statics, move several
8769 inlines here. constify several local vars. some whitespace
8770 cleanup. Dont hide outerscope variables.
8772 * Spacing.h: add two new constructors to match the set methods.
8774 * ShareContainer.h: new file, will perhaps be moved to support
8776 * ParameterStruct.h: new file
8778 * ParagraphParameters.h: new file
8780 * ParagraphParameters.C: new file
8782 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8783 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8785 * BufferView_pimpl.C: ParagraphParameter changes.
8786 * buffer.C: Likewise.
8787 * bufferview_funcs.C: Likewise.
8789 * text2.C: Likewise.
8791 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8793 * lyxfind.C (LyXReplace): do not redefine default argument in
8795 (IsStringInText): ditto
8796 (SearchForward): ditto
8797 (SearchBackward): ditto
8799 2001-03-06 Juergen Vigna <jug@sad.it>
8801 * lyxfind.C (IsStringInText): put parentes around expressions.
8803 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8805 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8807 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8809 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8811 * stl_string_fwd.h: add comment
8813 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8816 * tabular.C: remove unused DocBook methods
8822 killed DO_USE_DEFAULT_LANGUAGE
8824 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8826 * lyx_gui.C: do not include language.h.
8828 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8829 arguments in function implementation.
8831 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8833 * BufferView_pimpl.C: add <ctime>
8835 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8837 * BufferView_pimpl.C: add using std::find_if
8839 2001-02-27 José Matos <jamatos@fep.up.pt>
8841 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8844 2001-02-11 José Matos <jamatos@fep.up.pt>
8846 * buffer.C (makeDocBookFile): command styles now have a parameter as
8849 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8851 * layout_forms.[Ch]: removed
8852 * lyx_cb.[Ch]: out character
8853 * lyx_gui.C: out character
8854 * lyx_gui_misc.C: out character
8855 * bufferview_funcs.C: : out character,
8856 added toggleall as parameter in ToggleAndShow
8858 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8860 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8862 * text2.C (SetCurrentFont): Disable number property at boundary.
8864 2001-02-26 Juergen Vigna <jug@sad.it>
8866 * lyxfunc.C (getStatus): added a string argument override function so
8867 that this is correctly called from LyXFunc::Dispatch if it contains a
8868 do_not_use_argument which is used!
8869 (Dispatch): added check for "custom" export and call appropriate func.
8871 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8873 * lyxrc.C: Add language_command_local, language_use_babel and
8874 language_global_options.
8876 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8878 * buffer.C (makeLaTeXFile): Use language_use_babel and
8879 language_global_options.
8881 2001-02-23 Juergen Vigna <jug@sad.it>
8883 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8884 which works with LyXText and putted it inside BufferView. Here now we
8885 only call for that part the BufferView::Dispatch() function.
8887 * BufferView.C (Dispatch): added.
8889 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8890 functions which needs to use a LyXText over from LyXFunc.
8891 (MenuInsertLyXFile): added
8892 (getInsetByCode): added
8893 (moveCursorUpdate): added
8894 (static TEXT): added
8896 2001-02-22 Juergen Vigna <jug@sad.it>
8898 * BufferView_pimpl.C (update): call a status update to see if LyXText
8901 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8903 * vc-backend.C (revert): implement for CVS
8904 (getLog): implement for CVS
8906 2001-02-20 Juergen Vigna <jug@sad.it>
8908 * text2.C (ClearSelection): added BufferView param for inset_owner call
8910 * lyxfunc.C (TEXT): added this function and use it instead of
8911 directly owner->view()-text of getLyXText().
8913 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8915 * src/layout_forms.C: out preamble
8916 * src/layout_forms.h: out preamble
8917 * src/lyx_cb.C: out preamble
8918 * src/lyx_cb.h: out preamble
8919 * src/lyx_gui.C: out preamble
8920 * src/lyx_gui_misc.C: out preamble
8921 * src/lyxfunc.C: connect with guii preamble
8923 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8925 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8927 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8929 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8930 whether to run bibtex.
8932 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8934 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8936 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8938 * Makefile.am (lyx_SOURCES): removed bibforms.h
8942 * text.C (GetVisibleRow): make several local vars const
8944 * tabular.C: small cleanup.
8946 * lyxserver.C (callback): use compare instead of strncmp
8948 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8949 inlines to after class or to paragraph.C
8951 * lyxfont.h: remove friend operator!=
8953 * converter.h: move friend bool operator< to non friend and after
8956 * combox.h: small cleanup
8958 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8959 to inlines after class def.
8961 * buffer.C (pop_tag): use string operations instead of strcmp
8963 * bmtable.c: doxygen, small cleanup
8965 * LaTeX.h: remove friend operator==
8967 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8979 * BufferView_pimpl.C:
8980 * BufferView.[Ch]: remove cruft
8982 2001-02-14 Juergen Vigna <jug@sad.it>
8984 * lyxfunc.C: removed #if 0 unused code
8986 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8988 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8990 * text2.C (SetSelection): added a BufferView * parameter
8992 2001-02-13 Juergen Vigna <jug@sad.it>
8994 * lyxfunc.C (Dispatch): fixed protected blank problem.
8995 * BufferView2.C (protectedBlank): added LyxText * parameter.
8997 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8998 (AppendColumn): same as above for column_info.
9000 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9001 (moveCursorUpdate): use a LyXText param for support of InsetText.
9003 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9004 (tripleClick): ditto
9006 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9008 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9010 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9012 * text2.C (SetSelection): set correct update status if inset_owner
9015 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9017 * tabular.C: remove some commented code.
9019 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9021 * BufferView_pimpl.C: call hideSplash()
9023 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9026 * bibforms.h: remove
9029 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9030 add LFUN_CHILD_CREATE
9032 * counters.h: fix tiny typo
9037 * lyx.C: move splash to frontends/xforms/
9039 * lyx_gui_misc.C: move Include and Bibform to frontends
9041 * lyxvc.h: clarify comment
9043 * vspace.C: tiny housekeeping
9045 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9047 * text.C (PrepareToPrint): RTL Fix.
9049 * paragraph.C (GetUChar): New method.
9050 (String): Use GetUChar.
9052 * buffer.C (asciiParagraph): Use GetUChar.
9054 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9056 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9058 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9061 * buffer.C: rename to getLogName(), handle
9062 build log / latex log nicely
9064 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9067 * MenuBackend.h: remove support for reference menuitem type.
9069 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9071 * BufferView_pimpl.C: housekeeping
9072 * BufferView_pimpl.h:
9077 * minibuffer.h: move Timeout GUI-I
9079 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9081 * lyxrc.C (read): Update converters data-structures.
9083 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9085 * LaTeX.h (operator!=): add operator != for Aux_Info
9087 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9089 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9091 * LaTeXLog.C: deleted, useful code moved to Buffer
9094 * buffer.C: new function getLatexLogName()
9100 * lyxfunc.C: use frontends for LaTeX and VC logs
9102 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9104 * LaTeX.h: yet another std:: that Allan forgot.
9106 * Variables.C (set): renamed from isset(), because this clashes
9107 with some HP-UX macros (grr).
9109 2001-02-06 Allan Rae <rae@lyx.org>
9111 * LaTeX.h: Another bug fix. Missing std:: this time.
9113 2001-02-04 Allan Rae <rae@lyx.org>
9115 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9116 floats problem. I've left it commented out because it's not quite
9117 correct. It should also test that the current object is a table or
9118 figure inset. But I haven't gotten around to figuring out how to do
9119 that. I *think* it'll be something like: "table" == inset.type()
9121 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9124 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9126 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9127 all the citation/databases/styles in the auxilary file.
9128 (run): Rerun latex if there was a babel language error.
9130 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9132 * text.C (Backspace): Preserve the font when changing newline char
9134 (BreakParagraph): If the cursor is before a space, delete the space.
9136 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9138 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9140 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9141 new argument (code).
9142 (ChangeCitationsIfUnique): New method.
9144 * paragraph.C (GetPositionOfInset): Handle bibkey.
9146 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9148 * BufferView_pimpl.h: change type of Position::par_pos to
9149 LyXParagraph::size_type.
9151 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9153 * BufferView_pimpl.C (savePosition, restorePosition): Write
9154 messages to minibuffer.
9156 2001-01-28 José Matos <jamatos@fep.up.pt>
9158 * buffer.C (makeDocBookFile): adds support for document language.
9159 A silly restriction on the name of LatexCommand types where removed.
9160 Added support for CDATA sections, allows to chars unescaped, used
9161 among others in code, to avoid escape < and >.
9163 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9165 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9166 saved positions instrad of a stack. Furthermore, a position is
9167 stored using paragraph id/paragraph position.
9169 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9170 Remove LFUN_REF_BACK.
9172 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9174 * converter.C (dvipdfm_options): New method.
9176 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9178 * vspace.C (isValidLength): Fix for empty input string.
9180 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9182 * LyXAction.C (init): change description of LFUN_FIGURE to
9185 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9187 * LaTeX.C: add using directive
9189 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9191 * MenuBackend.C (expand): Fix the sorting of the formats.
9193 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9195 * lyx_main.C: tiny error message fix
9197 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9199 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9200 calling fl_initialize(). This fixes the problem with ',' as
9201 decimal separator in text files.
9203 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9205 * trans.C (process): Fix the keymap bug.
9207 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9209 * LaTeX.C (scanAuxFiles): New method. Provides support for
9210 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9211 (scanLogFile) Scan for "run BibTeX" messages.
9213 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9214 OT1 font encoding. Also, load the aecompl package if the ae
9217 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9219 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9221 * texrow.C (increasePos): turn two error messages into debug
9224 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9226 * LaTeX.C (scanAux): Handle the \@input macro.
9227 (runBibTeX): Use scanAux().
9229 * language.C (latex_options_): New field.
9231 * LaTeXFeatures.C (getMacros): Add language macros.
9233 * buffer.C (makeLaTeXFile): Small fix.
9235 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9237 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9239 * text2.C: add a using directive.
9241 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9246 * lyxfunc.C: kill LyXBell.
9248 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9250 * text.C (IsBoundary): Remove the error message
9252 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9254 * lyxrc.C (setDefaults): Correct initialization value for
9257 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9259 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9262 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9265 * src/LyXAction.C: Added reference-next.
9267 * text.C (InsertChar): Use contains instead of strchr.
9269 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9271 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9273 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9274 alignment commands (when needed).
9276 * text.C (InsertChar): Add ':' to number separator chars.