1 2003-03-18 John Levon <levon@movementarian.org>
3 * text.C: top_y change means full repaint, fix
4 a drawing bug with cursor movement
6 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
10 * text2.C: anchor row on setCursor
12 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
14 * lyxtext.h: remove almost all mutable keywords
17 * text3.C: remove const keywords accordingly
19 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
21 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
23 (TeXEnvironment): ditto
26 2003-03-17 John Levon <levon@movementarian.org>
28 * text.C (rowBreakPoint): remove attempt to fix displayed
29 math insets inside a manual label
31 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
33 * lyxtext.h: remove BufferView* as first arg from almost all class
35 * other files: adjust.
37 2003-03-17 John Levon <levon@movementarian.org>
41 * text2.C: more paint cleanups
43 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
46 * rowpainter.C: remove "smart" background painting code
48 2003-03-16 John Levon <levon@movementarian.org>
53 * text3.C: add helper functions for setting refresh_row/y
55 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
57 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
58 newline inset which *can* get inserted in the pass_thru layouts.
59 This is primarily for literate documents.
61 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
63 * buffer.C: increment LYX_FORMAT to 223
65 2003-03-14 André Pönitz <poenitz@gmx.net>
67 * textclass.h: prepare for environment handling, ws changes
68 * lyxlayout.C: read latexheader and latexfooter tags
70 2003-03-14 John Levon <levon@movementarian.org>
72 * text2.C: rewrite ::status() a bit
74 2003-03-13 John Levon <levon@movementarian.org>
76 * lyxtext.h: add some docs
78 2003-03-13 John Levon <levon@movementarian.org>
83 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
85 2003-03-13 John Levon <levon@movementarian.org>
87 * text3.C: fix appendix redrawing
89 2003-03-13 John Levon <levon@movementarian.org>
91 * text.C (setHeightOfRow):
93 * rowpainter.C: make appendix mark have the text
94 "Appendix" so the user knows what it is
97 * LColor.C: s/appendixline/appendix/ from above
99 2003-03-13 John Levon <levon@movementarian.org>
101 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
103 * text.C: fix a getChar(pos) bug properly
105 2003-03-13 Angus Leeming <leeming@lyx.org>
108 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
109 Probably only temporary. Let's see how things pan out.
111 * BufferView.C (unlockInset):
112 * BufferView_pimpl.C (fitCursor):
113 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
115 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
116 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
118 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
119 new functions that convert ParagraphParameters to and from a string.
121 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
122 BufferView::Pimpl's dispatch.
123 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
125 2003-03-13 André Pönitz <poenitz@gmx.net>
129 * factory.C: make it aware of InsetEnv
131 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
133 * text2.C (setCursor): never ask for one past last
134 (setCursor): add some debugging messages.
136 * text.C (singleWidth): never ask for one past last
140 (rowBreakPoint): ditto
141 (setHeightOfRow): ditto
142 (prepareToPrint): ditto
144 * rowpainter.C (paintBackground): never ask for one past last
145 (paintText): never ask for one past last
147 * paragraph_pimpl.C (getChar): make the assert stricter, never
148 allow the one past last pos to be taken
150 * paragraph.C (getChar): ws changes only
152 * lyxrow.C (nextRowIsAllInset): never ask for one past last
153 (numberOfSeparators): ditto
154 (numberOfHfills): ditto
156 2003-03-12 John Levon <levon@movementarian.org>
162 * paragraph_funcs.C: fix per-buffer authorlists
164 2003-03-12 John Levon <levon@movementarian.org>
166 * text.C: fix newline in right address
168 2003-03-12 Angus Leeming <leeming@lyx.org>
170 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
171 duplicate those in LyXFunc::dispatch.
176 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
177 Add LFUN_FONTFREE_UPDATE.
179 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
180 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
182 * bufferview_func.[Ch]: several new functions to facilliate
183 transfer of data to and from the character dialog.
185 2003-03-12 John Levon <levon@movementarian.org>
195 * text3.C: remove META_NEWLINE in favour of an inset
198 * rowpainter.C: remove paintNewline (done by inset)
200 2003-03-12 John Levon <levon@movementarian.org>
202 * paragraph_pimpl.C: complain about bad getChar()s
205 2003-03-12 John Levon <levon@movementarian.org>
208 * buffer.C: move paragraph read into a separate function,
209 a little renaming to reflect that.
212 * bufferparams.C: remove the author_ids map, not necessary now
215 * factory.C: moved Buffer::readInset to here
218 * paragraph_funcs.C: readParagraph free function moved from
221 * tabular.C: name change
223 2003-03-12 John Levon <levon@movementarian.org>
226 * ParagraphParameters.C: move par params input to
229 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
230 behave like a normal read from the stream wrt reading
233 2003-03-12 John Levon <levon@movementarian.org>
236 * ParagraphParameters.h:
237 * ParagraphParameters.C: move output code to a
240 2003-03-12 John Levon <levon@movementarian.org>
242 * BufferView.C (insertLyXFile):
245 * tabular.C: use a parlist iterator for creating the
248 2003-03-12 John Levon <levon@movementarian.org>
250 * buffer.C: make current_change static local not
253 2003-03-12 John Levon <levon@movementarian.org>
255 * buffer.C: fix insertStringAsLines for change tracking
257 2003-03-12 John Levon <levon@movementarian.org>
264 * bufferparams.C: move author list into params. Rename some
265 functions. Move the header reading into a separate token
266 loop. Move the header token reading into BufferParams.
268 2003-03-12 John Levon <levon@movementarian.org>
270 * changes.C: put debug inside lyxerr.debugging() checks
272 2003-03-11 André Pönitz <poenitz@gmx.net>
274 * factory.C: make it aware of InsetHFill
276 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
278 * buffer.C (latexParagraphs): move function from here...
279 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
282 2003-03-10 Angus Leeming <leeming@lyx.org>
284 * LyXAction.C (init): fix bug in poplating array with multiple entries
285 with the same LFUN (spotted by JMarc).
287 2003-03-10 John Levon <levon@movementarian.org>
290 * text2.C: move getColumnNearX() near its
293 2003-03-10 John Levon <levon@movementarian.org>
295 * text.C: fix break before a minipage
297 2003-03-10 John Levon <levon@movementarian.org>
299 * text.C: fix the last commit
301 2003-03-09 John Levon <levon@movementarian.org>
305 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
306 bug 365 (don't break before insets unless needed). Don't
307 return a value > last under any circumstances.
309 2003-03-09 Angus Leeming <leeming@lyx.org>
311 * BufferView_pimpl.C (trackChanges, dispatch): call
312 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
314 2003-03-09 Angus Leeming <leeming@lyx.org>
316 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
317 than Dialogs::showAboutlyx().
319 2003-03-09 Angus Leeming <leeming@lyx.org>
321 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
322 than Dialogs::showTabularCreate().
324 2003-03-09 John Levon <levon@movementarian.org>
328 * text2.C: 3rd arg to nextBreakPoint was always the same.
331 2003-03-08 John Levon <levon@movementarian.org>
338 * text2.C: Remove the "main" bit from the "main body"
341 2003-03-08 John Levon <levon@movementarian.org>
343 * text.C (leftMargin): The left margin of an empty
344 manual label paragraph should not include the label width
347 * text.C (prepareToPrint): don't attempt to measure hfills
348 for empty manual label paragraphs - the answer should be 0
350 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
352 * CutAndPaste.C: remove commented code and reindent.
354 2003-03-08 John Levon <levon@movementarian.org>
357 * lyxfunc.C: move reloadBuffer()
360 * BufferView.C: to here
362 * lyxvc.C: add comment
365 * vc-backend.C: call bv->reload() to avoid
366 getStatus() check on MENURELOAD
368 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
370 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
371 to an old format .dep file.
373 2003-03-07 Angus Leeming <leeming@lyx.org>
375 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
376 when the LFUN_MOUSE_RELEASE should have been handled by
377 inset->localDispatch.
379 2003-03-07 Angus Leeming <leeming@lyx.org>
381 * BufferView_pimpl.C (dispatch):
382 * LyXAction.C (init):
383 * ToolbarDefaults.C (init):
385 * lyxfunc.C (getStatus):
386 remove LFUN_INSET_GRAPHICS.
388 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
390 2003-03-07 Angus Leeming <leeming@lyx.org>
393 * LyXAction.C (init):
394 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
396 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
399 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
401 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
402 localDispatch method LFUN_INSET_DIALOG_UPDATE.
404 2003-03-07 Angus Leeming <leeming@lyx.org>
406 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
409 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
411 * ParagraphList.C (front): new function
414 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
416 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
417 and top_row_offset_. removed var first_y.
419 * text2.C (LyXText, removeRow):
421 * BufferView_pimpl.C:
422 use these methods instead of using first_y
424 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
426 * text2.C (pasteSelection): adjust for checkPastePossible
428 * CutAndPaste.C: remove Paragraph * buf and replace with
429 ParagraphList paragraphs.
430 (DeleteBuffer): delete
431 (cutSelection): change the tc type to textclass_type
432 (copySelection): change the tc type to textclass_type
433 (copySelection): adjust for ParagraphList
434 (pasteSelection): change the tc type to textclass_type
435 (pasteSelection): adjust for Paragraphlist
436 (nrOfParagraphs): simplify for ParagraphList
437 (checkPastePossible): simplify for ParagraphList
438 (checkPastePossible): remove unused arg
440 * ParagraphList.C (insert): handle the case where there are no
443 * CutAndPaste.h: make CutAndPaste a namespace.
445 * text3.C (dispatch): adjust
447 * text.C (breakParagraph): add a ParagraphList as arg
449 * paragraph_funcs.C (breakParagraph): change to take a
450 BufferParams and a ParagraphList as args.
451 (breakParagraphConservative): ditto
452 (mergeParagraph): ditto
453 (TeXDeeper): add a ParagraphList arg
454 (TeXEnvironment): ditto
457 * buffer.C (readLyXformat2): adjust
458 (insertStringAsLines): adjust
459 (latexParagraphs): adjust
461 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
462 (cutSelection): adjust
463 (pasteSelection): adjust
465 * BufferView_pimpl.C (insertInset): adjust
467 2003-03-05 Angus Leeming <leeming@lyx.org>
470 * LyXAction.C (init):
471 * BufferView_pimpl.C (dispatch):
472 * lyxfunc.C (getStatus):
473 remove LFUN_CHILD_INSERT.
475 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
477 2003-03-05 Angus Leeming <leeming@lyx.org>
480 * LyXAction.C (init):
481 * src/factory.C (createInset):
482 * lyxfunc.C (getStatus):
483 * text3.C (dispatch):
484 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
486 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
488 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
490 * ParagraphList.C (insert): handle insert right before end()
491 (erase): fix cases where it can be first or last paragraph.
493 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * paragraph_funcs.C (TeXEnvironment): remove all usage of
496 Paragraph::next and Paragraph::previous
499 * text.C (breakParagraph): adjust
501 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
502 BufferParams& as arg.
503 (breakParagraph): use ParagraphList::insert
504 (breakParagraphConservative): take a Buffer* instead of a
505 BufferParams& as arg.
506 (breakParagraphConservative): use ParagraphList::insert.
508 * buffer.C (insertStringAsLines): un-const it
509 (insertStringAsLines): adjust
511 * ParagraphList.C (insert): new function
513 * CutAndPaste.C (pasteSelection): adjust
515 * text.C (backspace): adjust
517 * tabular.C (SetMultiColumn): adjust
519 * CutAndPaste.C (cutSelection): adjust
520 (pasteSelection): adjust
522 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
523 Buffer const * as arg
525 * ParagraphList.C (erase): new function
526 * paragraph_funcs.C (mergeParagraph): use it
527 (mergeParagraph): make it take a Buffer* instead of a
530 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
532 (breakParagraphConservative): ditto
534 * paragraph.h: remove the breakParagraph friend
536 * paragraph.C (eraseIntern): new function
537 (setChange): new function
539 * paragraph_funcs.C (mergeParagraph): make it take a
540 ParagraphList::iterator instead of a Paragraph *, adjust
543 * paragraph.h: move an #endif so that the change tracking stuff
544 also works in the NO_NEXT case.
546 2003-03-04 Angus Leeming <leeming@lyx.org>
549 * LyXAction.C: new LFUN_INSET_MODIFY.
551 * BufferView_pimpl.C (dispatch): if an inset is found to be open
552 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
554 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * several files: ws changes only
558 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
559 (TeXEnvironment): ditto
562 * buffer.C (makeLaTeXFile): adjust
563 (latexParagraphs): make it take ParagraphList::iterator as args
565 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
567 * buffer.C (latexParagraphs): adjust
569 * paragraph.C (TeXOnePar): move function...
570 (optArgInset): move function...
571 (TeXEnvironment): move function...
572 * paragraph_pimpl.C (TeXDeeper): move function...
573 * paragraph_funcs.C: ...here
575 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
577 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
579 * buffer.C (readInset): remove compability code for old Figure and
582 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
584 * buffer.C: ws changes
587 * BufferView_pimpl.C: ditto
590 * bufferlist.h: ditto
594 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
596 * converter.[Ch]: split into itself +
599 * Makefile.am: += graph.[Ch] + format.[Ch]
606 * lyxrc.C: added #include "format.h"
608 2003-02-27 Angus Leeming <leeming@lyx.org>
610 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
613 * factory.C (createInset): add "label" to the factory.
615 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
616 string and do no more.
618 2003-02-27 Angus Leeming <leeming@lyx.org>
621 * LyXAction.C (init):
622 * factory.C (createInset):
623 * BufferView_pimpl.C (dispatch):
624 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
626 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
628 * lyxfunc.C (dispatch):
629 * text3.C (dispatch): pass name to params2string.
631 2003-02-26 Angus Leeming <leeming@lyx.org>
633 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
635 Rearrange the ~includes. Strip out the unnecessary ones.
637 * factory.C (createInset): reformat.
638 create new insets for the various LFUN_XYZ_APPLY lfuns.
640 2003-02-26 John Levon <levon@movementarian.org>
643 * lyxrow.C: add isParStart,isParEnd helpers
645 * paragraph.h: make isInserted/DeletedText take refs
648 * paragraph_funcs.C: remove #if 0'd code
653 * text.C: use lyxrow helpers above.
654 Move draw and paint routines to RowPainter.
655 Make several methods use refs not pointers.
656 Make backgroundColor() const.
657 Add markChangeInDraw(), isInInset().
658 Merge changeRegionCase into changeCase.
659 Make workWidth() shouldn't-happen code into an Assert.
662 * rowpainter.C: new class for painting a row.
665 * vspace.C: make inPixels take a ref
667 2003-02-26 Angus Leeming <leeming@lyx.org>
669 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
672 2003-02-25 John Levon <levon@movementarian.org>
674 * ispell.C: give the forked command a more accurate name
676 2003-02-22 John Levon <levon@movementarian.org>
679 * toc.C: make TocItem store an id not a Paragraph *
682 2003-02-21 Angus Leeming <leeming@lyx.org>
684 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
685 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
686 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
687 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
688 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
689 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
691 * BufferView_pimpl.C (dispatch):
692 * LyXAction.C (init):
693 * factory.C (createInset):
694 * lyxfunc.C (getStatus, dispatch):
695 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
697 2003-02-21 Angus Leeming <leeming@lyx.org>
699 * BufferView_pimpl.C (MenuInsertLyXFile):
700 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
701 * lyxfunc.C (menuNew, open, doImport):
702 no longer pass a LyXView & to fileDlg.
704 2003-02-21 Angus Leeming <leeming@lyx.org>
706 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
707 * LyXAction.C: change, BIBKEY to BIBITEM.
708 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
709 Change InsetBibKey to InsetBibitem.
710 Change BIBKEY_CODE to BIBITEM_CODE.
711 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
712 * factory.C: replace insetbib.h with insetbibitem.h.
713 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
714 * paragraph.C: replace insetbib.h with insetbibitem.h.
715 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
716 Change bibkey() to bibitem().
717 * text.C: remove insetbib.h.
718 * text2.C: replace insetbib.h with insetbibitem.h.
719 change bibkey() to bibitem().
720 * text3.C: remove insetbib.h.
721 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
723 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
725 * lyxrc.C (output): enclose user email in quotes (in case there are
728 2003-02-18 John Levon <levon@movementarian.org>
730 * buffer.h: add std::
732 2003-02-17 John Levon <levon@movementarian.org>
738 * pspell.C: reworking. Especially in ispell, a large
739 number of clean ups and bug fixes.
741 * lyxfunc.C: fix revert to behave sensibly
743 2003-02-17 André Pönitz <poenitz@gmx.net>
746 * commandtags.h: new LFUN_INSERT_BIBKEY
756 * paragraph_func.C: remove special bibkey handling
758 2003-02-17 John Levon <levon@movementarian.org>
760 * text.C (Delete): fix case where delete at the end of
761 the very first paragraph would not merge the pars
763 2003-02-17 John Levon <levon@movementarian.org>
765 * lyxrow.C: fix lastPrintablePos()
767 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
769 * bufferparams.C (writeLaTeX): add a std:here
771 * buffer.C: and remove a using directive there
773 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
775 * buffer.C (makeLaTeXFile): move the code that generates the
778 * bufferparams.C (writeLaTeX): ... in this new method
780 * LaTeXFeatures.C (getEncodingSet): make const
781 (getLanguages): make const
783 * MenuBackend.C (binding): returns the binding associated to this
785 (add): sets the status of each item by calling getStatus. Adds
787 (read): add support for OptSubMenu
788 (expand): remove extra separator at the end of expanded menu
790 2003-02-15 John Levon <levon@movementarian.org>
793 * BufferView_pimpl.C:
795 * bufferlist.C: remove pointless BufferStorage bloat. Remove
796 inset code that had no actual effect. Remove unneeded status
799 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
801 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
804 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
806 * text.C (drawLengthMarker): also draw an arrow marker for
807 symbolic lengths (medskip...)
809 2003-02-14 John Levon <levon@movementarian.org>
812 * tabular.C: better method names
814 2003-02-14 John Levon <levon@movementarian.org>
816 * BufferView_pimpl.C:
821 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
822 it's a more accurate name. Remove some pointless uses.
824 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
826 * text2.C (LyXText): change order of initilizers to shut off
829 2003-02-14 John Levon <levon@movementarian.org>
831 * buffer.C: use ParIterator for getParFromID()
836 * paragraph_pimpl.C: remove unused getParFromID()
838 2003-02-14 John Levon <levon@movementarian.org>
840 * buffer.C: remove some very old #if 0'd parse code
842 2003-02-13 John Levon <levon@movementarian.org>
846 * text2.C: move hfillExpansion(), numberOfSeparators(),
847 rowLast(), rowLastPrintable(), numberofHfills(),
848 numberOfLabelHfills() ...
851 * lyxrow.C: ... to member functions here.
856 * text.C: remove LyXText::beginningOfMainBody(), and call
857 p->beginningOfMainBody() directly. Move the check for
858 LABEL_MANUAL into the latter.
865 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
871 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
872 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
874 2003-02-13 John Levon <levon@movementarian.org>
876 * CutAndPaste.C: remove debug
878 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
880 * paragraph.C (asString): remove two unused variables
882 * lyxtextclass.C (readTitleType):
884 (LyXTextClass): handle new members titletype_ and titlename_
886 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
888 2003-02-09 John Levon <levon@movementarian.org>
891 * buffer.C: replace hand-coded list with a map for the dep clean
893 2003-02-08 John Levon <levon@movementarian.org>
895 * LaTeX.C: consolidate code into showRunMessage() helper
897 2003-02-08 John Levon <levon@movementarian.org>
902 * BufferView.C: change setSelectionOverString() to setSelectionRange()
903 and pass the size in explicitly
905 * BufferView_pimpl.h:
906 * BufferView_pimpl.C:
908 * BufferView.C: add getCurrentChange()
910 * BufferView_pimpl.h:
911 * BufferView_pimpl.C: handle change lfuns
913 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
914 for changes. Mark pasted paragraphs as new.
918 * DepTable.C: abstract time_t as lyx::time_type
921 * LColor.C: add colours for new text, deleted text, changebars
923 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
924 package use "usenames" option.
928 * LyXAction.C: add change lfuns
932 * author.C: author handling
935 * buffer.C: add a per-buffer author list, with first entry as
936 current author. Handle new .lyx tokens for change tracking. Output
937 author list to .lyx file. Output dvipost stuff to .tex preamble.
938 Bump lyx format to 222.
941 * bufferlist.C: add setCurrentAuthor() to reset current author details
945 * bufferparams.C: add param for tracking
947 * bufferview_funcs.C: output change info in minibuffer
951 * changes.C: add change-tracking structure
954 * debug.C: add CHANGES debug flag
957 * lyxfind.C: add code for finding the next change piece
960 * lyxrc.C: add user_name and user_email
963 * lyxrow.C: add a metric for the top of the text line
966 * text.C: implement accept/rejectChange()
969 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
970 Strike through deleted text.
975 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
976 to the insert functions. Rework erase to mark text as deleted, adding
977 an eraseIntern() and a range-based erase(). Implement
978 per-paragraph change lookup and accept/reject.
980 * paragraph_funcs.C: Fixup paste for change tracking.
982 * tabular.C: mark added row/columns as new.
984 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
985 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
987 * text2.C: leave cursor at end of selection after a cut.
989 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
991 * text.C (getLengthMarkerHeight):
992 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
993 visible on screen too.
995 2003-02-07 John Levon <levon@movementarian.org>
997 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
999 2003-02-05 Angus Leeming <leeming@lyx.org>
1001 * lyxserver.C (read_ready): revert my patch of 11 September last year
1002 as it sends PC cpu through the roof. Presumably this means that
1003 the lyxserver will no longer run on an Alpha...
1005 2003-01-30 Angus Leeming <leeming@lyx.org>
1007 * factory.C (createInset): create an InsetCommandParam of type "index"
1008 and use it to 'do the right thing'.
1010 * text2.C (getStringToIndex): ensure that cursor position is always
1011 reset to the reset_cursor position.
1013 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1015 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1018 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1022 * lyxfunc.C: Output messages with identical spelling, punctuation,
1025 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1027 * MenuBackend.C (expandFormats): List only viewable export formats
1030 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1033 * lyxfunc.C (getStatus): Make sure that formats other than
1034 "fax" can also be disabled
1036 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1038 * text3.C (dispatch): put the lfuns that insert insets in 3
1039 groups, and call doInsertInset with appropriate arguments.
1040 (doInsertInset): new function, that creates an inset and inserts
1041 it according to some boolean parameters.
1043 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * buffer.C (readFile): remember to pass on 'par' when calling
1046 readFile recursively.
1048 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1050 * MenuBackend.C (expandFormats): add "..." to import formats.
1052 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1054 * paragraph.C (asString): Remove XForms RTL hacks.
1056 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1057 * buffer.C: fix typo
1059 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * Makefile.am (LIBS): delete var
1062 (lyx_LDADD): add @LIBS@ here instead.
1064 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1066 * Clarify the meaning of "wheel mouse jump"
1068 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1070 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1073 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1075 * importer.C (Loaders): do not preallocate 3 elements in the
1076 vector, since one ends up with 6 elements otherwise
1078 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1080 * DepTable.C (write): write the file name as last element of the
1081 .dep file (because it may contain spaces)
1082 (read): read info in the right order
1084 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1086 * paragraph_pimpl.C (simpleTeXBlanks):
1087 (simpleTeXSpecialChars):
1088 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1090 * tabular.C (latex): add some missing case statements. Reindent.
1092 * MenuBackend.C (expandToc): remove unused variable.
1094 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1103 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1106 2003-01-05 John Levon <levon@movementarian.org>
1109 * BufferView.C: add getEncoding()
1112 * kbsequence.C: do not store last keypress
1115 * lyxfunc.C: store last keypress here instead. Pass encoding
1118 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1120 * lyx_main.C (init): remove annoying error message when following
1121 symbolic links (bug #780)
1123 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1125 * text.C (insertChar):
1126 * lyxrc.C (getDescription): remove extra spaces
1128 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1130 * lyxrc.C (getDescription): remove extra spaces
1132 2002-12-20 John Levon <levon@movementarian.org>
1134 * text3.C: hack fix for page up/down across tall rows
1136 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1138 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1141 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1143 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1144 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1145 thesaurus is not compiled in
1147 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1149 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1151 2002-12-16 Angus Leeming <leeming@lyx.org>
1154 * lyx_main.C (init): remove override_x_deadkeys stuff.
1156 2002-12-12 John Levon <levon@movementarian.org>
1158 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1159 insert. Only remove shift modifier under strict
1162 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1164 * MenuBackend.C (expandToc): fix crash.
1166 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1168 * MenuBackend.C (expandToc): gettext on float names.
1170 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1172 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1173 implement bool empty() [bug 490]
1175 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1177 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1179 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1181 * several files: ws changes
1183 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1185 * text2.C (setCounter): clean up a bit, use boost.format.
1186 (updateCounters): initialize par upon declaration.
1188 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1189 if the layout exists. We do not just store the layout any more.
1190 (SwitchLayoutsBetweenClasses): use boost.format
1192 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1194 * converter.C (convert): if from and to files are the same, use a
1195 temporary files as intermediary
1197 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1200 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1202 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1204 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1206 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1208 * tabular.C (asciiPrintCell): use string(size, char) instead of
1211 * sgml.C (openTag): fix order of arguments to string constructor
1214 * lyxfunc.C (dispatch): use boost.format
1216 * lots of files: change "c" -> 'c'
1218 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1220 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1222 2002-11-25 Angus Leeming <leeming@lyx.org>
1224 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1226 * lyx_main.C (init): compile fix.
1228 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1230 * lyx_cb.C (start): boost.formatify
1231 do not include <iostream>
1233 * lengthcommon.C: ws only
1235 * boost-inst.C,BoostFormat.h: add more explict instantations
1237 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1239 * lots of files: handle USE_BOOST_FORMAT
1241 2002-11-21 John Levon <levon@movementarian.org>
1243 * pspell.C: fix compile
1245 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1247 * lyxfunc.C (dispatch): use boost::format
1251 * lyxfont.C (stateText): use boost::format
1253 * lyx_main.C (LyX): use boost::format
1255 (queryUserLyXDir): ditto
1258 (typedef boost::function): use the recommened syntax.
1260 * importer.C (Import): use boost::format
1262 * debug.C (showLevel): use boost::format
1264 * converter.C (view): use boost::format
1269 * bufferview_funcs.C (currentState): use boost::format
1271 * bufferlist.C (emergencyWrite): use boost::format
1273 * buffer.C (readLyXformat2): use boost::format
1274 (parseSingleLyXformat2Token): ditto
1276 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1278 * LaTeX.C (run): use boost::format
1280 * Chktex.C (scanLogFile): use boost::format
1282 * BufferView_pimpl.C (savePosition): use boost::format
1283 (restorePosition): ditto
1284 (MenuInsertLyXFile): ditto
1286 * BoostFormat.h: help file for explicit instation.
1288 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1290 * tabular.C (latex): Support for block alignment in fixed width
1293 2002-11-17 John Levon <levon@movementarian.org>
1295 * BufferView_pimpl.C:
1297 * lyxfunc.C: split filedialog into open/save
1299 2002-11-08 Juergen Vigna <jug@sad.it>
1301 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1302 by my last patch (hopefully).
1304 2002-11-08 John Levon <levon@movementarian.org>
1313 * toc.C: ParConstIterator, and use it (from Lars)
1315 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1317 * lyxtextclass.[Ch]: revise and add doxygen comments
1319 2002-11-07 John Levon <levon@movementarian.org>
1321 * text.C: fix progress value for spellchecker
1323 * toc.C: fix navigate menu for insetwrap inside minipage
1325 * paragraph_funcs.C: added FIXME for suspect code
1327 2002-11-07 John Levon <levon@movementarian.org>
1329 * BufferView_pimpl.C: fix redrawing of insets
1332 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1334 * text2.C (updateCounters): fix bug 668
1336 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1338 * text3.C (dispatch): Do not make the buffer dirty when moving the
1341 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * vc-backend.C: STRCONV
1346 * text2.C (setCounter): STRCONV
1348 * paragraph.C (asString): STRCONV
1350 * lyxlength.C (asString): STRCONV
1351 (asLatexString): ditto
1353 * lyxgluelength.C (asString): STRCONV
1354 (asLatexString): ditto
1356 * lyxfunc.C (dispatch): STRCONV
1359 * lyxfont.C (stateText): STRCONV
1361 * importer.C (Import): STRCONV
1363 * counters.C (labelItem): STRCONV
1364 (numberLabel): ditto
1365 (numberLabel): remove unused ostringstream o
1370 * bufferview_funcs.C (currentState): STRCONV
1372 * buffer.C (readFile): STRCONV
1373 (asciiParagraph): ditto
1374 (makeLaTeXFile): ditto
1376 * Spacing.C (writeEnvirBegin): STRCONV
1378 * LaTeXFeatures.C (getLanguages): STRCONV
1379 (getPackages): ditto
1381 (getBabelOptions): ditto
1382 (getTClassPreamble): ditto
1383 (getLyXSGMLEntities): ditto
1384 (getIncludedFiles): ditto
1388 (scanAuxFile): ditto
1391 * LString.h: add the STRCONV macros
1393 * BufferView_pimpl.C (savePosition): STRCONV
1394 (restorePosition): ditto
1395 (MenuInsertLyXFile): ditto
1397 * vc-backend.C (scanMaster): change from submatch[...] to
1400 * funcrequest.C: include config.h
1402 * factory.C: include config.h
1404 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1406 * box.C: include config.h
1408 * LaTeX.C (scanAuxFile): change from submatch[...] to
1412 2002-10-25 Angus Leeming <leeming@lyx.org>
1414 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1416 * ispell.[Ch] (setError): new method.
1417 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1418 Use setError() insetead of goto END.
1420 * lyx_cb.C (AutoSave): move out child process into new class
1423 2002-10-30 John Levon <levon@movementarian.org>
1425 * text3.C: make start appendix undoable
1427 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1429 * lyxlength.C (inPixels): Fix returned value.
1431 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1434 2002-10-24 Angus Leeming <leeming@lyx.org>
1436 * lyxgluelength.h: no need to forward declare BufferParams
1437 or BufferView, so don't.
1439 2002-10-21 John Levon <levon@movementarian.org>
1441 * BufferView.C: menuUndo ->undo, redo
1443 * BufferView.h: document, remove dead, make some methods private
1445 * paragraph_funcs.h:
1446 * paragraph_funcs.C:
1447 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1452 * sgml.C: move sgml open/close tag into sgml.C
1454 * bufferview_funcs.h: unused prototype
1457 * lyxfunc.C: remove unused
1460 * text.C: remove unused
1462 2002-10-21 John Levon <levon@movementarian.org>
1466 * BufferView_pimpl.h:
1467 * BufferView_pimpl.C: fix mouse wheel handling based on
1468 patch from Darren Freeman
1470 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1472 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1474 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1476 * lyxlength.C (inPixels): Fix hanfling of negative length.
1477 Fix LyXLength::MU case.
1479 2002-10-16 John Levon <levon@movementarian.org>
1481 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1483 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1485 * converter.C (view): add support for $$i (file name) and $$p
1486 (file path) for the viewer command. If $$i is not specified, then
1487 it is appended to the command (for compatibility with old syntax)
1489 2002-10-14 Juergen Vigna <jug@sad.it>
1491 * undo_funcs.C (textHandleUndo): alter the order in which the
1492 new undopar is added to the LyXText, as we have to set first
1493 the right prev/next and then add it as otherwise the rebuild of
1494 LyXText is not correct. Also reset the cursor to the right paragraph,
1495 with this IMO we could remove the hack in "redoParagraphs()".
1497 2002-10-09 Angus Leeming <leeming@lyx.org>
1499 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1500 to turn off an optimisation if a new inset is to be inserted.
1502 2002-10-11 André Pönitz <poenitz@gmx.net>
1504 * lyxtext.h: make some functions public to allow access
1505 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1507 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1509 * text3.C (dispatch): when changing layout, avoid an infinite loop
1512 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1514 * lyxrc.C (read): treat a viewer or converter command of "none" as
1517 * MenuBackend.C (expandFormats): for an update, also allow the
1518 formats that are not viewable
1520 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1521 script if it is newer than the lyxrc.defaults in user directory
1523 2002-10-07 André Pönitz <poenitz@gmx.net>
1525 * text.C: Vitaly Lipatov's small i18n fix
1527 2002-09-25 Angus Leeming <leeming@lyx.org>
1529 * ispell.h: doxygen fix.
1531 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1533 * buffer.h (readFile): Add a new argument to the method, to allow
1534 reading of old-format templates.
1536 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1538 * toc.C (getTocList): Get TOC from InsetWrap.
1540 2002-09-16 John Levon <levon@movementarian.org>
1542 * lyxfunc.C: check tabular for cut/copy too
1544 2002-09-12 John Levon <levon@movementarian.org>
1549 * factory.C: add header
1551 * paragraph_funcs.h:
1552 * paragraph_funcs.C: cleanup
1554 2002-09-11 John Levon <levon@movementarian.org>
1556 * PrinterParams.h: odd/even default to true
1558 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1560 * PrinterParams.h: update printer parameters for new xforms dialog
1562 2002-09-11 Angus Leeming <leeming@lyx.org>
1564 * lyxserver.C (read_ready): re-write to make it more transparent
1565 and to make it work in coherent fashion under Tru64 Unix.
1567 2002-09-11 André Pönitz <poenitz@gmx.net>
1571 * text3.C: implement LFUN_WORDSEL
1573 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1575 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1576 make floatlist_ a boost::shared_ptr<FloatList>
1578 * lyxtextclass.C: include FloatList.h
1579 (LyXTextClass): initialize floatlist_
1580 (TextClassTags): add TC_NOFLOAT
1581 (Read): match "nofloat" to TC_NOFLOAT and use it.
1582 (readFloat): modify call to floatlist_
1586 * FloatList.[Ch] (FloatList): remove commented out float
1588 (erase): new function
1590 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1592 * MenuBackend.C (expandToc): fix crash when there is no document
1595 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1597 * many files: Add insetwrap.
1599 2002-09-09 John Levon <levon@movementarian.org>
1601 * text2.C: remove confusing and awkward depth wraparound
1603 2002-09-09 John Levon <levon@movementarian.org>
1605 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1608 * buffer.C: remove getIncludeonlyList()
1611 * lyxfunc.C: remove headers
1613 2002-09-09 Juergen Vigna <jug@sad.it>
1615 * text.C (getColumnNearX): fix form Michael this is most
1616 probably a cut&paste bug.
1618 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1620 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1622 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1623 references, ws changes.
1625 * text2.C (init): update counters after init
1626 (insertParagraph): no need to set counter on idividual paragraphs.
1627 (setCounter): access the counters object in the textclass object
1628 on in the buffer object.
1629 (updateCounters): ditto
1631 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1632 shared_ptr<Counters> to avoid loading counters.h in all
1634 (LyXTextClass): initialize ctrs_
1635 (TextClassTags): add TC_COUNTER, and ...
1636 (Read): use it here.
1637 (CounterTags): new tags
1638 (readCounter): new function
1639 (counters): new funtion
1640 (defaultLayoutName): return a const reference
1642 * counters.C (Counters): remove contructor
1643 (newCounter): remove a couple of unneeded statements.
1644 (newCounter): simplify a bit.
1645 (numberLabel): some small formatting changes.
1647 * buffer.[Ch]: remove all traces of counters, move the Counters
1648 object to the LyXTextClass.
1650 2002-09-06 Alain Castera <castera@in2p3.fr>
1652 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1653 package to set the horizontal alignment on fixed width columns.
1656 * lyx_sty.h: added tabularnewline macro def.
1658 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1660 2002-09-06 John Levon <levon@movementarian.org>
1662 * LyXAction.C: tooltips for sub/superscript
1664 * MenuBackend.C: a bit more verbose
1666 * lyxfunc.C: tiny clean
1668 * undo_funcs.C: document undo_frozen
1670 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1672 * counters.C (Counters): add missing algorithm counter.
1674 * text2.C (setCounter): lookup the counter with layouts latexname
1675 instead of by section number.
1676 (setCounter): use a hackish way to lookup the correct enum
1678 a float name->type change
1679 reset enum couners with counter name directly instead of depth value.
1681 * counters.C (Counters): remove the push_backs, change to use the
1682 float type not the float name.
1683 (labelItem): remove unused string, float name->type change
1685 * counters.h: don't include vector, loose the enums and sects vectors
1687 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1689 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1690 (Read): add float->TC_FLOAT to textclassTags
1691 (Read): and handle it in the switch
1692 (readFloat): new function
1694 * FloatList.C (FloatList): comment out the hardcoded float
1697 * lyxlayout.h: ws change.
1699 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1701 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1703 2002-09-03 Angus Leeming <leeming@lyx.org>
1705 * BufferView_pimpl.h: qualified name is not allowed in member
1706 declaration: WorkArea & Pimpl::workarea() const;
1708 * factory.C: added using std::endl directive.
1710 * text3.C: added using std::find and std::vector directives.
1712 2002-08-29 André Pönitz <poenitz@gmx.net>
1715 * text2.C: remove unused member number_of_rows
1718 * BufferView2.C: remove file, move contents to...
1719 * BufferView.C: ... here
1721 * BufferView_pimpl.C:
1722 * factory.C: move more inset creation to factory
1724 * vspace.C: avoid direct usage of LyXText, ws changes
1727 don't provide direct access to WorkArea, use two simple
1728 acessors haveSelction() and workHeight() instead
1731 2002-08-29 John Levon <levon@movementarian.org>
1733 * BufferView_pimpl.C (dispatch): do not continue when
1736 2002-08-28 André Pönitz <poenitz@gmx.net>
1738 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1741 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1743 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1745 * buffer.C: increment LYX_FORMAT to 221
1747 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1748 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1750 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1752 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1754 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1756 * factory.C (createInset): use LyXTextClass::floats
1758 * MenuBackend.C (expandFloatListInsert):
1759 (expandFloatInsert):
1762 * text2.C (setCounter):
1764 * LaTeXFeatures.C (useFloat):
1765 (getFloatDefinitions):
1767 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1769 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1770 floatlist_, with accessor floats().
1772 * FloatList.h: remove global FloatList
1774 2002-08-26 André Pönitz <poenitz@gmx.net>
1776 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1780 * BufferView_pimpl.C:
1781 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1783 2002-08-25 John Levon <levon@movementarian.org>
1785 * LyXAction.C: fix margin note description
1787 2002-08-24 John Levon <levon@movementarian.org>
1791 * bufferview_funcs.C:
1793 * undo_funcs.C: cleanups
1795 * lyxfunc.C: disable CUT/COPY when no selection
1797 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1799 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1800 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1802 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1803 Add backward compatibility to "mono", "gray" and "no".
1805 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1807 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1808 (and file_format >= 200).
1810 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1812 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1814 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1816 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1818 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1820 * BufferView_pimpl.C:
1827 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1828 inset and code to make it work with the paragraph code. The inset
1829 can be anywhere in the paragraph, but will only do the expected
1830 thing in LaTeX if the layout file contains the parameter line
1832 (or more generally, a nonzero value) for that layout.
1834 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1836 * paragraph.h: remove the declaration of undefined counters class
1839 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1841 * text2.C (setCounter): fixed enumeration mis-count as reported by
1842 Dr. Richard Hawkins.
1844 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1846 * paragraph_funcs.h: remove some unneeded includes
1848 * text.C (backspace): pasteParagraph now in global scipe
1850 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1851 (pasteSelection): ditto
1853 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1854 * paragraph_funcs.C (pasteParagraph): ... here
1856 2002-08-20 André Pönitz <poenitz@gmx.net>
1858 * commandtags.h: new LFUNs for swapping/copying table row/colums
1861 * lyxfunc.C: support for new lfuns
1863 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1866 * buffer.[Ch]: remove NO_COMPABILITY stuff
1868 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * boost.C (throw_exception): new file, with helper function for
1871 boost compiled without exceptions.
1876 * ParameterStruct.h:
1877 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1879 * bufferlist.C (emergencyWriteAll): use boost bind
1881 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1883 * text.C: include paragraph_funcs.h
1884 (breakParagraph): breakParagraph is now in global scope
1886 * paragraph_funcs.[Ch]: new files
1888 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1891 * buffer.C: include paragraph_funcs.h
1892 (insertStringAsLines): breakParagraph is now in global scope
1894 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1897 * CutAndPaste.C: include paragraph_funcs.h
1898 (cutSelection): breakParagraphConservative is now in global scope
1899 (pasteSelection): ditto
1901 * buffer.h: declare oprator== and operator!= for
1902 Buffer::inset_iterator
1904 * bufferlist.C (emergencyWrite): don't use fmt(...)
1906 * text3.C: add using std::endl
1908 * BufferView.C (moveCursorUpdate): remove default arg
1910 2002-08-20 André Pönitz <poenitz@gmx.net>
1912 * buffer.[Ch]: move inline functions to .C
1915 * BufferView_pimpl.C:
1917 * buffer.[Ch]: use improved inset_iterator
1920 * paragraph.[Ch]: write one paragraph at a time
1922 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1924 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1925 style if style is not specified.
1927 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1929 * text2.C (setCounter): when searching for right label for a
1930 caption, make sure to recurse to parent insets (so that a caption
1931 in a minipage in a figure float works) (bug #568)
1933 2002-08-20 André Pönitz <poenitz@gmx.net>
1935 * text3.C: new file for LyXText::dispatch() and helpers
1937 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1939 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1941 2002-08-19 André Pönitz <poenitz@gmx.net>
1944 * text.C: new LyXText::dispatch()
1946 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1948 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1950 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1952 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1955 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1957 * Makefile.am: use $(variables) instead of @substitutions@
1959 2002-08-15 André Pönitz <poenitz@gmx.net>
1962 * BufferView_pimpl.C: streamlining mathed <-> outer world
1966 * LyXAction.C: remove unused LFUN_MATH
1968 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1970 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1972 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1974 * paragraph.C (Paragraph): reformat a bit
1975 (cutIntoMinibuffer): use builtin InsetList function instad of
1979 * buffer.C: include boost/bind.hpp, add using std::for_each
1980 (writeFileAscii): use ParagraphList iterators
1981 (validate): use for_each for validate traversal of paragraphs
1982 (getBibkeyList): use ParagraphList iterators
1983 (resizeInsets): use for_each to resizeInsetsLyXText for all
1985 (getParFromID): use ParagraphList iterators
1987 * BufferView2.C (lockInset): use paragraph list and iterators
1989 2002-08-14 John Levon <levon@movementarian.org>
1991 * lyxserver.C: remove spurious xforms include
1993 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1995 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1997 2002-08-13 André Pönitz <poenitz@gmx.net>
2000 * lyxfunc.C: further cleaning
2002 2002-08-13 André Pönitz <poenitz@gmx.net>
2004 * funcrequest.h: new constructor
2006 * funcrequest.C: move stuff here from .h
2009 * BufferView_pimpl.C:
2012 * lyxfunc.C: subsequent changes
2014 * lyxfunc.h: new view() member function
2016 * lyxfunc.C: subsequent changes
2018 2002-08-13 Angus Leeming <leeming@lyx.org>
2021 * BufferView_pimpl.C:
2029 changes due to the changed LyXView interface that now returns references
2030 to member variables not pointers.
2032 2002-08-13 Angus Leeming <leeming@lyx.org>
2034 * WordLangTuple (word, lang_code): return references to strings,
2039 * lyxtext.h: forward-declare WordLangTuple.
2044 * text.C: #include "WordLangTuple.h".
2047 * text.C: (selectNextWordToSpellcheck): constify return type.
2049 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2055 * paragraph_pimpl.h:
2058 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2060 Made updateCounter always count from start of buffer, and removed
2061 second argument (par).
2062 Reverted floats number display to '#'. Perhaps I'll try again when the
2063 code base is sanitized a bit.
2065 2002-08-12 Angus Leeming <leeming@lyx.org>
2067 * buffer.[Ch] (getLabelList): constify.
2069 2002-08-07 André Pönitz <poenitz@gmx.net>
2071 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2073 * funcrequest.h: extension to keep mouse (x,y) position
2075 2002-08-12 Juergen Vigna <jug@sad.it>
2077 * BufferView2.C (insertErrors): forbid undo when inserting error
2080 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2082 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2084 * ParagraphList.[Ch]: new files
2086 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2088 * BufferView2.C (lockInset): ParagraphList changes
2091 * bufferlist.C: ditto
2095 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2098 unused class variable counter_,
2100 * paragraph.[Ch] (getFirstCounter): delete unused function
2102 * counters.C: include LAssert.h
2103 (reset): add a new function with no arg, change other version to
2104 not have def. arg and to not allow empty arg.
2106 * text2.C (setCounter): remove empty arg from call to Counters::reset
2108 2002-08-11 John Levon <levon@movementarian.org>
2110 * Makefile.am: add WordLangTuple.h
2112 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2114 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2115 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2117 * insets/insettext.C: InsetList changes
2119 * graphics/GraphicsSupport.C (operator()): InsetList changes
2121 * toc.C (getTocList): InsetList changes
2123 * paragraph_pimpl.[Ch]: InsetList changes
2125 * paragraph.[Ch]: InsetList changes
2127 * buffer.C (inset_iterator): InsetList changes
2128 (setParagraph): ditto
2129 * buffer.h (inset_iterator): ditto
2130 * iterators.C (operator++): ditto
2131 * iterators.h: ditto
2133 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2135 * InsetList.[Ch]: new files, most InsetList handling moved out of
2138 * BufferView2.C (removeAutoInsets): InsetList changes
2140 (ChangeInsets): ditto
2142 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * paragraph_pimpl.h (empty): new function
2146 * paragraph.[Ch] (empty): new function
2148 * other files: use the new Paragraph::empty function
2150 2002-08-09 John Levon <levon@movementarian.org>
2152 * lyxtext.h: remove unused refresh_height
2154 2002-08-09 John Levon <levon@movementarian.org>
2161 * paragraph.C: move sgml char escaping out of paragraph
2164 * paragraph.C: remove id setter
2168 * paragraph_pimpl.C: remove dead tex_code_break_column
2170 * bufferview_funcs.C: small cleanup
2172 * lyxfunc.C: remove dead proto
2174 * lyxtext.h: make some stuff private. Remove some dead stuff.
2176 * lyxgluelength.C: make as[LyX]String() readable
2178 2002-08-08 John Levon <levon@movementarian.org>
2183 * ToolbarDefaults.C:
2186 * toc.C: lyxaction cleanup
2188 2002-08-08 John Levon <levon@movementarian.org>
2190 * BufferView2.C: small cleanup
2193 * lyxfind.C: move unnecessary header into the .C
2195 2002-08-08 John Levon <levon@movementarian.org>
2197 * funcrequest.h: just tedious nonsense
2200 * lyx_main.C: cleanups
2203 * vspace.C: remove dead header lyx_main.h
2205 2002-08-07 Angus Leeming <leeming@lyx.org>
2208 * paragraph_pimpl.h:
2209 Forward declare class Counters in paragraph.h by moving the ctrs member
2210 variable into Paragraph::Pimpl.
2211 (counters): new method, returning a reference to pimpl_->ctrs.
2213 * text2.C: ensuing changes.
2215 2002-08-07 John Levon <levon@movementarian.org>
2217 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2219 * BufferView_pimpl.C: announce X selection on double/triple
2222 * lyx_main.C: use correct bool in batch dispatch
2224 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2226 2002-08-07 André Pönitz <poenitz@gmx.net>
2228 * funcrequest.h: new class to wrap a kb_action and its argument
2231 * BufferView_pimpl[Ch]:
2235 * lyxrc.C: subsequent changes
2238 2002-08-07 John Levon <levon@movementarian.org>
2240 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2241 document options change.
2243 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2248 * makefile.am: move counters functionality over from
2249 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2251 2002-08-06 John Levon <levon@movementarian.org>
2253 * WordLangTuple.h: new file for word + language code tuple
2264 * BufferView2.C: use WordLangTuple
2267 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2269 2002-08-06 John Levon <levon@movementarian.org>
2271 * lyx_main.C: fix cmdline batch handling
2273 2002-08-06 André Pönitz <poenitz@gmx.net>
2275 * lyxrc.C: set default for show_banner to true
2277 2002-08-06 John Levon <levon@movementarian.org>
2279 * pspell.C: fix a crash, and allow new aspell to work
2281 2002-08-06 John Levon <levon@movementarian.org>
2284 * kbmap.C: small cleanup
2287 * vspace.C: add const
2289 2002-08-05 John Levon <levon@movementarian.org>
2291 * LyXAction.C: back to tabular-insert
2293 2002-08-04 John Levon <levon@movementarian.org>
2296 * BufferView.C: cosmetic change
2298 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2308 * BufferView2.C: purge all "Lyx" not "LyX" strings
2311 * lyxcursor.C: attempt to add some documentation
2316 * ToolbarDefaults.C:
2317 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2318 merge with LFUN_TABULAR_INSERT
2325 * pspell.C: split up i/pspell implementations into separate
2326 files, many cleanups
2328 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2330 * text2.C: some cleanup
2332 * lyxfunc.C: don't check for isp_command == "none" any more, it
2333 didn't make any sense
2335 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2340 * makefile.am: move counters functionality over
2341 from text2.C/paragraph.[Ch] to counters.[Ch], and
2343 2002-08-02 John Levon <levon@movementarian.org>
2345 * buffer.C: s/lyxconvert/lyx2lyx/
2347 2002-08-02 Angus Leeming <leeming@lyx.org>
2349 * lyxlex.C: revert John's change as it breaks reading of the user
2352 2002-08-02 Angus Leeming <leeming@lyx.org>
2354 * importer.C (Import):
2355 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2356 changes due to LyXView::view() now returning a boost::shared_ptr.
2358 2002-08-02 John Levon <levon@movementarian.org>
2360 * lyxlex.C: small cleanup
2362 2002-08-02 John Levon <levon@movementarian.org>
2364 * text2.C (status): small cleanup, no logic change
2366 2002-08-01 John Levon <levon@movementarian.org>
2369 * buffer.C (writeFile): don't output alerts, caller
2373 * lyx_cb.C: from above
2375 * lyxfunc.C: allow to open non-existent files
2377 2002-07-31 John Levon <levon@movementarian.org>
2379 * lyxserver.C: don't let incidental errors get
2382 2002-07-30 John Levon <levon@movementarian.org>
2384 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2386 2002-07-30 John Levon <levon@movementarian.org>
2389 * lyxserver.C: remove I/O callback too
2391 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2393 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2396 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2398 * many files: strip,frontStrip -> trim,ltrim,rtrim
2400 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * PrinterParams.h: remove extern containsOnly, and include
2403 support/lstrings.h instead.
2405 * LaTeX.C (scanAuxFile): modify because of strip changes
2407 * buffer.C (makeLaTeXFile): ditto
2408 * bufferparams.C (writeFile): ditt
2409 * lyxfont.C (stateText): ditto
2410 * lyxserver.C (read_ready): ditto
2411 * vc-backend.C (scanMaster): ditto
2413 * BufferView_pimpl.h: ws changes
2415 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2417 2002-07-26 André Pönitz <poenitz@gmx.net>
2419 * kb_sequence.C: remove unnedred usings
2421 2002-07-26 Juergen Vigna <jug@sad.it>
2423 * lyxfind.C (LyXReplace): we have to check better if the returned
2424 text is not of theLockingInset()->getLockingInset().
2426 2002-07-25 Juergen Vigna <jug@sad.it>
2428 * lyxfind.C (LyXReplace): don't replace if we don't get the
2431 * undo_funcs.C (createUndo): remove debugging code.
2433 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2435 * buffer.C (parseSingleLyXformat2Token): Use default placement
2436 when reading old floats.
2438 * FloatList.C (FloatList): Change the default placement of figure
2439 and tables to "tbp".
2441 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2443 * MenuBackend.C: using std::max
2445 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2447 * MenuBackend.C (expandToc):
2448 (expandToc2): code moved from xforms menu frontend. It is now
2449 generic and TOCs are transparent to menu frontends.
2451 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2453 * toc.C (getTocList): protect against buf=0
2455 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2456 Menu as first parameter. Now, this calls itself recursively to
2457 expand a whole tree (this will be useful for TOC handling)
2458 (expandFloatInsert): remove 'wide' version of floats
2460 * MenuBackend.h (submenuname): returns the name of the submenu.
2461 (submenu): returns the submenu itself, provided it has been
2462 created by MenuBackend::expand
2464 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2466 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2467 insets which have noFontChange == true. (bug #172)
2469 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2471 * BufferView_pimpl.C: add connection objects and use them...
2474 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2476 * MenuBackend.C (expandLastfiles):
2479 (expandFloatListInsert):
2480 (expandFloatInsert):
2481 (expand): split expand in parts
2483 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2485 * lyx_gui.C: use lyx_gui::exit()
2487 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2489 * LyXAction.C: show the failing pseudo action
2491 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2493 * buffer.C (readFile): Run the lyxconvert script in order to read
2496 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2500 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2502 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2506 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2508 2002-07-22 Herbert Voss <voss@lyx.org>
2511 * lyxlength.[Ch]: add support for the vertical lengths
2513 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2515 * toc.[Ch]: std:: fixes
2517 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2519 * lyxrc.C: do not include lyx_main.h
2521 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2527 * BufferView2.C: include "lyxlex.h"
2530 * bufferparams.h: do not #include "lyxlex.h"
2532 * lyxtextclasslist.C (Add): remove method
2533 (classlist): renamed to classlist_
2535 * paragraph_pimpl.C:
2539 * bufferview_funcs.C:
2544 * toc.C (getTocList): use BufferParams::getLyXTextClass
2546 * toc.C (getTocList): use InsetFloat::addToToc
2548 * toc.[Ch]: new files, containing helper functions to handle table
2551 * lyxfunc.C (dispatch): no need to remove spaces around command
2553 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2554 first command of the sequence; it is not very clever, but I do not
2555 have a better idea, actually
2557 * LyXAction.C (LookupFunc): make sure to remove space at the
2558 beginning and end of the command
2560 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2562 * MenuBackend.C (getMenubar): new method: return the menubar of
2564 (read): treat differently reading of menu and menubar (in
2565 particular, the menubar has no name now)
2566 (Menu::menubar): remove
2568 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2571 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2573 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2574 a bibitem inset in a RTL paragraph.
2576 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2578 * paragraph_pimpl.C: constify
2580 * BufferView_pimpl.C:
2582 * lyxfunc.C: fix dispatch in a nicer way
2584 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2586 * lyxfunc.C (dispatch):
2587 * BufferView_pimpl.C:
2588 * BufferView_pimpl.h:
2590 * BufferView.h: rename Dispatch() to dispatch()
2592 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2594 * lyxlayout.C (Read): honor DependsOn tag
2596 * lyxlayout.[Ch] (depends_on): new method
2598 * version.C.in: update lyx_docversion
2600 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2602 * paragraph.C (validate): remove from here...
2603 * paragraph_pimpl.C (validate): ... and move here
2604 (isTextAt): make it const
2606 * buffer.C (getLists): ws cleanup
2608 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2610 * language.C (read): Use iso8859-1 encoding in latex_lang
2611 (this prevents LyX from crashing when using iso10646-1 encoding).
2613 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2615 * text2.C (toggleInset): if cursor is inside an inset, close the
2616 inset and leave cursor _after_ it
2618 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2620 * lyxfunc.C: move minibuffer completion handling out of here
2622 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2624 * BufferView_pimpl.C:
2625 * LaTeX.C: fix dispatch calls
2627 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2629 * text.C (drawChars): Fix Arabic text rendering.
2631 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2635 * lyxfunc.C: remove message-push/pop
2639 * lyxfunc.C: rationalise some code by removing verboseDispatch
2640 in favour of a bool argument to dispatch()
2642 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2644 * lyx_main.C (init): make sure to read symlinks as absolute paths
2646 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2649 * lyxfunc.C: no need for commandshortcut to be a member
2651 2002-07-15 André Pönitz <poenitz@gmx.net>
2653 * converter.C: add support for $$s (scripts from lib/scripts dir)
2654 * lyx_main.C: white space
2656 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2660 * lyxrc.C: remove second exit confirmation
2662 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2667 * BufferView_pimpl.h:
2668 * BufferView_pimpl.C:
2669 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2671 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2673 * MenuBackend.C (expand): add numeric shortcuts to document menu
2675 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2677 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2679 * lyxfont.C (setLyXFamily):
2686 * buffer.C (asciiParagraph): use ascii_lowercase
2688 2002-07-15 Mike Fabian <mfabian@suse.de>
2690 * lyxlex_pimpl.C (search_kw):
2691 * lyxlex.C (getLongString):
2692 * converter.h (operator<):
2693 * converter.C (operator<):
2694 * buffer.C (parseSingleLyXformat2Token):
2696 * ToolbarDefaults.C (read):
2697 * MenuBackend.C (checkShortcuts):
2699 * LColor.C (getFromGUIName):
2700 (getFromLyXName): use the compare_ascii_no_case instead of
2701 compare_no_case, because in turkish, 'i' is not the lowercase
2702 version of 'I', and thus turkish locale breaks parsing of tags.
2704 2002-07-16 Angus Leeming <leeming@lyx.org>
2706 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2707 now takes a Buffer const & argument.
2709 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2711 * BufferView.C (resize): check there's a buffer to resize
2713 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2715 * lyxfunc.C: remove dead code
2718 * lyxserver.C: use lyx_guii::set_read_callback
2720 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2722 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2723 an inset in a RTL paragraph.
2725 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2727 * lyxfunc.C: repaint after a font size update
2729 2002-07-15 André Pönitz <poenitz@gmx.net>
2731 * lyxlength.C: inBP should be able to return negative values
2733 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2735 * lyxfunc.C: use lyx_gui::update_fonts()
2737 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2739 * lyxfunc.C: use lyx_gui::update_color()
2741 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2747 * lyxrc.C: remove file->new asks for name option, and let
2748 buffer-new take an argument
2750 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2752 * BufferView_pimpl.C: remove unneeded extra repaint()
2754 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2756 * LyXAction.C: allow command-sequence with NoBuffer
2758 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2760 2002-07-10 Angus Leeming <leeming@lyx.org>
2762 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2764 2002-07-09 Angus Leeming <leeming@lyx.org>
2766 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2768 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2770 * lengthcommon.h: whitespace
2772 * lyxfunc.C: update scrollbar after goto paragraph
2774 * lyxtext.h: factor out page break drawing, and fix it so
2775 page break/added space paints as selected nicely
2777 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2779 * BufferView_pimpl.C: add FIXMEs, clean up a little
2781 2002-07-09 André Pönitz <poenitz@gmx.net>
2783 * lyxfont.[Ch]: support for wasy symbols
2785 2002-07-08 André Pönitz <poenitz@gmx.net>
2787 * BufferView_pimpl.C: apply John's patch for #93.
2789 2002-07-05 Angus Leeming <leeming@lyx.org>
2791 * BufferView_pimpl.C (buffer): generate previews if desired.
2793 * LColor.h: add "preview" to the color enum.
2795 * LColor.C (LColor): add a corresponding entry to the items array.
2797 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2800 2002-07-05 Angus Leeming <leeming@lyx.org>
2802 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2803 The body of the code is now in the method that is passed an ostream &
2804 rather than a file name.
2805 Pass an additional only_preamble parameter, useful for the forthcoming
2808 2002-07-03 André Pönitz <poenitz@gmx.net>
2810 * lyxfunc.C: simplify getStatus() a bit for math stuff
2812 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2814 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2816 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2818 * text.C (changeRegionCase): do not change case of all the
2819 document when region ends at paragraph end (bug #461)
2821 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2823 * paragraph.C (startTeXParParams):
2824 (endTeXParParams): add \protect when necessary
2826 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2828 * BufferView_pimpl.C (workAreaExpose): remove warning
2830 2002-06-27 Angus Leeming <leeming@lyx.org>
2832 * Makefile.am: add lyxlayout_ptr_fwd.h.
2834 2002-06-26 André Pönitz <poenitz@gmx.net>
2836 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2838 2002-06-25 Angus Leeming <leeming@lyx.org>
2840 * lyxfunc.C (dispatch): Comment out the call to
2841 grfx::GCache::changeDisplay. The method no longer exists now that the
2842 pixmap generation part of the graphics loader has been moved into
2845 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2847 * text2.C: layout as layout
2849 * text.C: layout as layout
2851 * tabular.C (OldFormatRead): layout as layout
2853 * paragraph_pimpl.C (TeXDeeper): layout as layout
2854 (realizeFont): layout as layout
2856 * paragraph.C (writeFile): layout as layout
2857 (validate): layout as layout
2858 (getFont): layout as layout
2859 (getLabelFont): layout as layout
2860 (getLayoutFont): layout as layout
2861 (breakParagraph): layout as layout
2862 (stripLeadingSpaces): layout as layout
2863 (getEndLabel): layout as layout
2864 (getMaxDepthAfter): layout as layout
2865 (applyLayout): layout as layout
2866 (TeXOnePar): layout as layout
2867 (simpleTeXOnePar): layout as layout
2868 (TeXEnvironment): layout as layout
2869 (layout): layout as layout
2870 (layout): layout as layout
2872 * lyxtextclass.C (compare_name): new functor to work with
2873 shared_ptr, layout as layout
2874 (Read): layout as layout
2875 (hasLayout): layout as layout
2876 (operator): layout as layout
2877 (delete_layout): layout as layout
2878 (defaultLayout): layout as layout
2880 * lyxlayout_ptr_fwd.h: new file
2882 * lyxlayout.C (Read): layout as layout
2884 * lyx_cb.C (MenuInsertLabel): layout as layout
2886 * bufferlist.C (newFile): layout as layout
2888 * buffer.C (readLyXformat2): layout as layout
2889 (parseSingleLyXformat2Token): layout as layout
2890 (insertStringAsLines): layout as layout
2891 (asciiParagraph): layout as layout
2892 (latexParagraphs): layout as layout
2893 (makeLinuxDocFile): layout as layout
2894 (simpleLinuxDocOnePar): layout as layout
2895 (makeDocBookFile): layout as layout
2896 (simpleDocBookOnePar): layout as layout
2897 (getLists): layout as layout
2899 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2901 * CutAndPaste.C (cutSelection): layout as layout
2902 (pasteSelection): layout as layout
2903 (SwitchLayoutsBetweenClasses): layout as layout
2905 * BufferView_pimpl.C (Dispatch): layout as layout
2906 (smartQuote): layout as layout
2908 * BufferView2.C (unlockInset): layout as layout
2910 2002-06-24 André Pönitz <poenitz@gmx.net>
2912 * lyxfunc.C: fix #487
2914 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2918 * lyxfunc.C: remove display_shortcuts, show_banner
2920 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2922 * Buffer_pimpl.C: oops, update on resize
2924 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2931 * BufferView.C: use repaint()
2933 * BufferView_pimpl.h:
2934 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2935 as it's a clearer description. Remove superfluous
2938 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2940 * text.C: fix bug 488. Not ideal, but getting
2941 getWord() to work properly for the insets that
2942 matter is more difficult ...
2944 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2946 * BufferView_pimpl.C:
2949 * lyxfunc.C: remove the six million index lyxfuncs to just
2950 one, and DTRT (bug 458)
2952 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2956 * BufferView_pimpl.h:
2957 * BufferView_pimpl.C: clean up resize() stuff,
2958 and unnecessary updateScreen()s
2960 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2964 * BufferView_pimpl.h:
2965 * BufferView_pimpl.C:
2968 * minibuffer.C: remove focus management of workarea,
2969 not needed. Use screen's greyOut()
2971 2002-06-17 Herbert Voss <voss@lyx.org>
2973 * converter.C: (convert) do not post a message, when converting
2974 fails, let the calling function decide what to do in this case
2976 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2978 * lyxfunc.C: tidy up a little
2980 2002-06-16 <alstrup@diku.dk>
2982 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2983 Got rid of FORMS_H_LOCATION include. Now we are
2986 2002-06-15 LyX Development team <lyx@rilke>
2988 * buffer.[Ch] (sgmlOpenTag):
2989 (sgmlCloseTag): Added support for avoiding pernicious mixed
2990 content. Return number of lines written.
2993 (makeDocBookFile): Fixed calls to sgml*Tag.
2994 Simple white space clean.
2996 (simpleDocBookOnePar): Simple white space clean.
2998 * tabular.[Ch] (docBook): Renamed to docbook and got another
2999 argument to related with the pernicious mixed content.
3001 (docbookRow): Fixed calls for docbook inset method.
3003 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3005 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3006 so it's X11 independent.
3010 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3012 2002-06-15 Lyx Development team <lyx@electronia>
3014 * intl.h: Renamed getTrans to getTransManager.
3016 2002-06-14 Angus Leeming <leeming@lyx.org>
3018 * Makefile.am: nuke forgotten stl_string_fwd.h.
3020 2002-06-12 Angus Leeming <leeming@lyx.org>
3022 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3024 2002-06-13 Angus Leeming <leeming@lyx.org>
3027 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3029 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3031 * kbmap.C (getiso): add support for cyrillic and greek
3033 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3037 * BufferView_pimpl.h:
3038 * BufferView_pimpl.C: move bogus scrolling logic
3041 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3044 * BufferView_pimpl.C: view->resize() change
3046 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3048 * BufferView_pimpl.C: topCursorVisible
3051 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3055 * lyx_gui.C: move to frontends/
3059 * lyx_main.C: changes from above
3061 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3068 * lyx_main.C: minor tidy
3070 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3072 * BufferView_pimpl.h:
3073 * BufferView_pimpl.C:
3075 * BufferView.C: make painter() const,
3078 * BufferView2.C: use screen() accessor
3081 * lyx_main.C: some minor cleanup
3083 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3085 * BufferView_pimpl.h:
3086 * BufferView_pimpl.C: remove enter/leaveView,
3089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3094 * BufferView_pimpl.h:
3095 * BufferView_pimpl.C: only construct screen once,
3098 * lyxrc.C: remove pointless comment
3100 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3103 * BufferView.C: remove active() and belowMouse()
3105 * BufferView_pimpl.h:
3106 * BufferView_pimpl.C: use workarea() not workarea_,
3107 and make it use a scoped_ptr instead
3109 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3111 * lyx_gui.C: add debug message on BadWindow
3113 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3115 * sp_spell.C: fdopen is not part of the C++ standard.
3117 * paragraph.C (InsetIterator): use >= instead of ==
3119 2002-06-07 Angus Leeming <leeming@lyx.org>
3121 Fixes needed to compile with Compaq cxx 6.5.
3122 * BufferView_pimpl.C:
3129 * lyxtextclasslist.C:
3134 all c-library variables have been moved into namespace std. Wrap
3135 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3140 Add a using std::abs declaration.
3142 * kbmap.h (modifier_pair):
3143 * paragraph.h (InsetTable, InsetList):
3144 * lyxfont.h (FontBits):
3145 type definition made public.
3147 * bufferlist.C (emergencyWriteAll): the compiler complains that
3148 there is more than one possible lyx::class_fun template to choose from.
3149 I re-named the void specialisation as lyx::void_class_fun.
3151 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3153 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3154 the compiler is is unable to find tostr in write_attribute.
3156 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3158 * buffer.C (sgmlError): hide #warning
3160 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3162 * xtl/*: get rid of xtl, which is not in use anyway
3164 * LyXAction.C (init):
3165 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3166 were unimplemented xtl experimentation
3168 2002-06-04 André Pönitz <poenitz@gmx.net>
3170 * lyxfunc.C: disable array operation on simple formulae
3172 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3174 * converter.C: constify a bit
3176 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3178 * lyx_gui.C: check xforms version correctly
3180 2002-04-30 Herbert Voss <voss@lyx.org>
3182 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3185 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3187 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3188 attempt to register it with a VCS)
3190 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3192 * lyx_main.C (init): honor variables LYX_DIR_13x and
3195 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3199 * lyx_main.C: fix a crash on bad command line,
3200 and give a useful exit status on error
3202 * lyxfunc.C (doImport): allow -i lyx to work
3204 2002-03-30 André Pönitz <poenitz@gmx.net>
3206 * lyxfunc.C: mathed font changes
3208 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3223 * trans_mgr.h: srcdocs, and some minor cleanups
3225 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3227 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3228 call getFont all the time)
3230 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3232 * switch from SigC signals to boost::signals
3234 2002-05-29 André Pönitz <poenitz@gmx.net>
3236 * paragraph_pimpl.C (getChar): don't call size() too often...
3238 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3240 * paragraph_pimpl.C (insertChar): do not try to update tables when
3241 appending (pos == size())
3243 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3244 in order to reduce drastically the number of comparisons needed to
3245 parse a large document
3247 2002-05-29 André Pönitz <poenitz@gmx.net>
3253 * textclasslist.[Ch]:
3254 * sp_ispell.h: whitespace change
3256 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3258 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3259 lyxaction directly now.
3261 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3265 * lyxvc.C: remove unused headers
3267 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3274 * undo_funcs.C: some cleanups. Use shared_ptr
3275 and a template for the undo stacks.
3277 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3279 * BufferView_pimpl.h:
3280 * BufferView_pimpl.C:
3287 * text2.C: use key_state/mouse_state
3289 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3291 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3294 * chset.C: change include order
3295 (loadFile): use boost regex and get rid of LRegex and LSubstring
3297 * Makefile.am (BOOST_LIBS): new variable
3300 * LaTeX.C: change include order.
3301 (scanAuxFile): use boost regex and get rid of LRegex and
3305 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3310 * FontInfo.C: moved to frontends/xforms/
3313 * FontLoader.C: moved into frontends for GUIIzation
3318 * lyxfunc.C: changes from above
3320 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3322 * LColor.C: remove spurious X include
3324 * BufferView_pimpl.C:
3329 * text2.C: move font metrics to frontends/
3331 2002-05-24 Juergen Vigna <jug@sad.it>
3333 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3334 setting the undo_cursor.
3336 * ParagraphParameters.h: include local includes first.
3338 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3340 * BufferView_pimpl.C:
3341 * BufferView_pimpl.h:
3345 * screen.C: move WorkArea into frontends/
3351 * BufferView2.C: move LyXScreen into frontends/
3355 * lyx_gui.C: move lyxlookup into frontends/xforms/
3357 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3360 * BufferView_pimpl.C:
3370 * bufferview_funcs.C:
3383 * vc-backend.C: move LyX/XFormsView into frontends/
3385 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3397 * text2.C: move Painter to frontends/
3399 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3401 * buffer.C: comment out some some code that depend upon lyx_format
3404 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3405 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3407 * buffer.h (NO_COMPABILITY): turn off compability
3409 * ColorHandler.C: include scoped_array.hpp
3411 * font.C: Use more specific smart_ptr header.
3414 * ShareContainer.h: ditto
3418 * BufferView_pimpl.h: ditto
3419 * ColorHandler.h: ditto
3421 * kbmap.C (defkey): change call to shared_ptr::reset
3423 2002-05-21 Juergen Vigna <jug@sad.it>
3425 * buffer.C (insertErtContents): fix to insert ert asis if it is
3426 non empty. Skip it completely if it contains only whitespaces.
3428 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3430 * BufferView_pimpl.C:
3431 * BufferView2.C: clear selection on paste (bug 393)
3433 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3435 * DepTable.C: include ctime
3437 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3439 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3441 2002-05-14 Juergen Vigna <jug@sad.it>
3443 * text.C (breakParagraph): fixed function to honor the keepempty
3444 layout in the right maner and also to permit the right breaking
3445 algorithm on empty or non empyt keepempty paragraphs.
3447 * paragraph.C (breakParagraph): we have to check also if the par
3448 is really empty (!size()) for isempty otherwise we do the wrong
3451 2002-05-10 Juergen Vigna <jug@sad.it>
3453 * buffer.[Ch] : The following are only changes to the ert
3454 compatibility read reading old LaTeX layout and font stuff and
3455 convert it to ERTInsets.
3457 * buffer.h: added isErtInset().
3459 * buffer.C (struct ErtComp): add a fromlayout bool to check
3460 if we're inside a LaTeX layout.
3461 (isErtInset): new helper function.
3462 (insertErtContents): look for other ert insets before this one
3463 and insert the contents there, so that we don't have subsequent
3464 ERT insets with nothing between them. This way we create only one
3465 inset with multiple paragraphs. Also check if we don't insert only
3466 spaces ' ' as they are ignored anyway afterwards in the .tex file
3467 so if we have only spaces we will ignore this latex part in the
3469 (parseSingleLyXformat2Token \\layout): better compatibility when
3470 reading layout-latex stuff.
3471 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3473 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3474 stuff after reading the inset only get the information back from
3477 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3479 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3481 * LaTeXFeatures.C (getBabelOptions): New method.
3483 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3485 * BufferView_pimpl.C (Dispatch): work around missing argument for
3488 2002-05-08 Juergen Vigna <jug@sad.it>
3490 * text.C (leftMargin): handle paragraph leftindent.
3492 * paragraph.C (writeFile): write the new \\leftindent tag.
3493 (validate): handle leftindent code.
3494 (TeXEnvironment): handle paragraphleftindent code again.
3496 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3498 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3499 for paragrap_extra indent code and new token \\leftindent.
3500 (latexParagraphs): handle the leftindent as environment.
3502 * ParameterStruct.h: added leftindent support.
3504 * ParagraphParameters.C (leftIndent): added support functions for
3505 the paragraph left indent.
3507 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3510 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3512 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3515 * text.C (computeBidiTables): No bidi in insetERT.
3517 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3520 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3522 * version.C.in: pre 5
3524 2002-05-02 José Matos <jamatos@fep.up.pt>
3525 * buffer.C (makeDocBookFile): white space changes, add newline to
3527 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3529 * tabular.C (docBook): fix typo.
3531 2002-05-03 Juergen Vigna <jug@sad.it>
3533 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3534 change in LyXText as we can not be sure it was not freed.
3535 (drawOneRow): remove unused code.
3537 * text.C (drawInset): redo the calculation of the need_break_row as
3538 it could have a row which was already freed.
3539 (draw): look at the return value of drawInset and return false if
3540 it also returned false.
3541 (paintRowText): look at the return value of draw and return false if
3542 it also returned false.
3544 * lyxtext.h: added bool return type to drawInset() and draw() so that
3545 if we have a change in the row so that the rowbreak has to be redone
3546 we abort drawing as it will be called again.
3548 2002-05-02 Juergen Vigna <jug@sad.it>
3550 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3551 a change in the maintext also if we're inside an inset.
3552 (Dispatch): set the cursor again after a break line and after the
3553 screen has been updated as it could be we're in a different row.
3555 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3556 to set the cursor behind the pargraph with > size().
3557 (setCursor): check also for the same paragraph when checking where
3558 to put the cursor if we have a NFR inset.
3560 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3561 parts of layout read further up as it still was in the wrong
3564 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3566 * screen.C (drawFromTo): change sine fullRebreak always return
3569 * buffer.C (parseSingleLyXformat2Token): reindent some
3571 * BufferView_pimpl.C (update): change since fullRebreak always
3573 (Dispatch): git rid of the last hardcoded "Standard"s.
3575 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3577 * text2.[Ch] (fullRebreak): make it return void now that we always
3580 2002-04-30 Juergen Vigna <jug@sad.it>
3582 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3583 ert compatibility check for "latex" layout.
3585 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3587 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3588 minipages: use col% instead of p%, and also use the current font.
3589 (makeLaTeXFile): Fix use babel condition.
3590 (parseSingleLyXformat2Token): Correct font when reading old floats.
3592 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3594 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3595 inserting list of floats.
3597 2002-04-25 Herbert Voss <voss@lyx.org>
3599 * MenuBackend.C (expand): don't add the graphics extensions to the
3602 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3604 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3605 non-existing layout, do not complain if it was the default layout
3606 of the original class (bug #342)
3608 2002-04-24 Juergen Vigna <jug@sad.it>
3610 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3611 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3613 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3615 * buffer.C (getBibkeyList): If using \bibliography, return the
3616 option field with the reference itself. Enables us to provide natbib
3617 support when using \bibliography.
3619 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3621 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3623 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3624 natbib is provided by the LaTeX class.
3626 2002-04-23 Juergen Vigna <jug@sad.it>
3628 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3631 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3633 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3635 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3637 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3638 ensuremath around textordmasculine, textordfeminine and
3641 2002-04-19 Juergen Vigna <jug@sad.it>
3643 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3644 reinitializing the buffer otherwise row-dimensions may be wrong.
3645 (update): reset also the selection cursors if they do exits otherwise
3646 their x/y positions may be wrong.
3648 * text2.C (cursorDown): don't enter the inset if we came from a row
3649 above and are one row over the inset.
3651 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3652 really leaving an inset.
3654 2002-04-18 Juergen Vigna <jug@sad.it>
3656 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3657 of the selected paragraph does not have the selected layout also if
3660 * text2.C (setLayout): fixed bug which did not change last selected
3663 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3664 changed the read and substituted \\end_float with \\end_inset!
3666 * BufferView_pimpl.C (cursorPrevious):
3667 (cursorNext): fixed to make it work with rows heigher than the work
3668 area without moving the cursor only the draw of the row.
3669 (workAreaMotionNotify): fix jumping over high rows.
3671 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3673 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3676 2002-04-16 Juergen Vigna <jug@sad.it>
3678 * text2.C (setCursor): set also the irow().
3679 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3681 (cursorDown): support for locking an inset if the x_fix value goes
3682 inside it. That way I can transverse insets too with cursor up/down.
3684 * lyxrow.h: added irow helper function same as other (i) functions.
3686 * BufferView_pimpl.C (cursorPrevious):
3687 (cursorNext): fixed for insets!
3689 2002-04-15 Juergen Vigna <jug@sad.it>
3691 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3692 position otherwise it is wrong in some cases.
3694 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3695 inside the inset before the call.
3697 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3699 * buffer.[Ch] (getBibkeyList): make it const.
3701 2002-04-12 Juergen Vigna <jug@sad.it>
3703 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3705 * text2.C (getCursorX): new helper function
3706 (setCursor): compute also ix_
3707 (setCursorFromCoordinates): set also ix.
3709 * lyxcursor.h: added ix_ and helper functions.
3711 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3713 * buffer.C (insertStringAsLines): dont break paragraph if the this
3714 paragraph is inside an inset which does not permit it!
3716 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3717 also with no chars on this paragraph.
3718 (paintRowText): only paint stuff if it's inside the workarea!
3720 * paragraph.C (breakParagraph): honor keepempty flag and break the
3721 paragraph always below not above.
3723 * BufferView2.C (unlockInset): update the paragraph layout on inset
3724 unlock as we changed paragraph in such a case.
3726 * lyxfind.C (LyXFind): clear the former selection if not found!
3728 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3729 again called in insertChar().
3731 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3732 an inset which uses the whole row!
3733 (rightMargin): ditto.
3734 (insertChar): force a rebreak if we inserted an inset!
3736 2002-03-28 Herbert Voss <voss@lyx.org>
3738 * lyxlength.[Ch]: add inBP() to get the right PS-point
3739 units (BigPoint). With inPixels we have rounding errors
3741 2002-04-11 Juergen Vigna <jug@sad.it>
3743 * text2.C (setCursorFromCoordinates): set iy to the right value.
3744 (setCursor): add check if row->previous exists!
3746 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3747 an old float_type as this was the case in the old code!
3749 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3751 * BufferView2.C (showLockedInsetCursor): use iy
3752 (fitLockedInsetCursor): ditto
3754 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3755 locked insets as there we have the right value now.
3757 * lyxcursor.C: added iy_ variable and iy functions to set to the
3758 baseline of cursor-y of the locked inset.
3760 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3761 (setCursor): fixed for insets which need a full row.
3763 * text.C (rowLastPrintable): don't ignore the last space when before
3764 an inset which needs a full row.
3765 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3766 as last character of a row when before a inset which needs a full row.
3768 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3770 * version.C.in: update date
3772 * text2.C (fullRebreak): try to always return true and see what
3775 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3777 * MenuBackend.C (expand): use Floating::listName
3779 * FloatList.C (FloatList): add listName argument to the built-in
3782 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3783 text associated with the float.
3785 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3787 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3789 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3791 * ShareContainer.h: add a couple of missing typenames.
3793 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3795 * lyxrc.C (getDescription): use _() correctly rather than N_().
3797 2002-03-28 Herbert Voss <voss@lyx.org>
3799 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3800 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3802 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3804 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3805 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3807 2002-03-29 Juergen Vigna <jug@sad.it>
3809 * lyxfunc.C (dispatch): add a missing fitCursor call.
3811 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3812 it was scrolled by a cursor move, so return the bool status.
3814 * BufferView.C (fitCursor): return the bool flag also to the outside
3815 world as this is needed.
3817 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3819 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3820 call the edit() as it is not needed (and wrong) IMO.
3821 (workAreaButtonPress): set the screen_first variable before evt.
3822 unlock the inset as this may change screen_first and then we have
3823 a wrong y position for the click!
3825 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3827 * MenuBackend.C (expand): another translation that I missed
3829 2002-03-28 Juergen Vigna <jug@sad.it>
3831 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3833 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3835 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3837 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3839 * MenuBackend.C (expand): fix export/view/update when there is no
3842 2002-03-27 Herbert Voss <voss@lyx.org>
3844 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3847 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3849 * bufferview_funcs.C (currentState): only show paragraph number
3850 for is DEVEL_VERSION is set.
3852 * lyxfunc.C (dispatch): put warning in INFO channel
3854 * MenuBackend.C (expand): translate the name of floats
3856 * FloatList.C (FloatList): mark the float names for translation
3858 * converter.C (convert): use LibScriptSearch
3860 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3862 * MenuBackend.C (defaults): fix default menu (we might as well get
3865 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3867 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3870 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3872 * lyxvc.C: reorder includes.
3874 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3876 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3879 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3881 * CutAndPaste.C: change layouts earlier on paste
3882 to avoid crashing when calling getFont()
3884 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3886 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3889 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3891 * WorkArea.C: remove 'Pending' debug message.
3893 * most files: ws cleanup
3895 * buffer.[Ch]: ws changes
3897 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3899 2002-03-21 Juergen Vigna <jug@sad.it>
3901 * tabular.C (SetMultiColumn): collapse also the contents of the
3902 cells and set the last border right. Added a Buffer const * param.
3904 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3906 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3909 2002-03-19 Juergen Vigna <jug@sad.it>
3911 * text2.C (clearSelection): reset also xsel_cache.
3913 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3914 where it needs to be called (John tells us to do so too :)
3915 (selectionLost): reset sel_cache.
3917 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3919 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3921 * text2.C (setCursorIntern): put debuging code in INSETS channel
3923 2002-03-19 André Pönitz <poenitz@gmx.net>
3925 * lyxfunc.C: tiny whitespace change
3927 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3929 * ToolbarDefaults.C (init):
3930 * LyXAction.C (init):
3932 * BufferView_pimpl.C (Dispatch):
3933 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3935 2002-03-19 Allan Rae <rae@lyx.org>
3937 * exporter.C (Export): removeAutoInsets before doing anything else.
3938 While I've just introduced a dependency on BufferView this really is
3939 the best place to clean the buffer otherwise you need to cleanup in
3940 a dozen places before calling export or cleanup in a dozen functions
3943 * converter.C (runLaTeX):
3944 (scanLog): Better handling of removeAutoInsets and screen updates.
3946 * lyxfunc.C (dispatch): small whitespace changes
3948 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3950 * WorkArea.C (C_WorkAreaEvent): return a value.
3951 (event_cb): return 1 if we handled the event, 0 otherwise.
3953 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3955 2002-03-18 Juergen Vigna <jug@sad.it>
3957 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3958 (GetAdditionalWidth): ditto.
3962 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3963 inset if we're there actually (probably not used right now but this
3964 is the direction to go for unifying code).
3965 (paste): disable code to clear the selection.
3967 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3968 inside an InsetText and move the check further up as it is in the
3971 * text2.C (pasteSelection): set a selection over the pasted text.
3973 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3975 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3976 and libgraphics to build on Cygwin.
3978 2002-03-15 Juergen Vigna <jug@sad.it>
3980 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3981 inserting an Inset into the paragraph. I know this is not the best
3982 fix but we already use current_view in CutAndPaste so we will remove
3983 all of it's using at the same time.
3985 * buffer.C (sgmlError): deactivated function till it is rewritten in
3986 the right mode, now it can create problems.
3988 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3989 before accessing it.
3991 2002-03-14 Juergen Vigna <jug@sad.it>
3993 * undo_funcs.C (textHandleUndo): do the right thing when updating
3994 the inset after the undo/redo.
3996 * text2.C (setCursor): just some testcode for #44 not ready yet.
3998 * undo_funcs.C (textHandleUndo): set the next() and previous()
3999 pointers of the paragraph to 0 before deleting otherwise we have
4000 problems with the Paragraph::[destructor].
4002 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4003 on a paragraph insertion.
4005 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4007 * buffer.C (asciiParagraph): use += operator for char append to
4010 * paragraph.C (getFontSettings): compare >= not just >
4011 (highestFontInRange): ditto
4014 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4016 * paragraph.C: change several algorithm to be more appripriate for
4017 the problem domain. This is lookip in FontList and in the InsetList.
4019 2002-03-13 André Pönitz <poenitz@gmx.net>
4022 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4024 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4029 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4031 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4033 * Painter.C (display): anon helper function, adjust code for this
4035 (pixmap): remove function.
4037 * Painter.h: remove private display variable.
4039 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4041 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4043 * WorkArea.[Ch]: remove figinset_canvas cruft.
4045 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4047 * lyxtextclass.C (operator): add one item cache optimization.
4049 * bufferlist.h: doxy changes
4051 * bufferlist.C: ws changes
4053 * DepTable.[Ch] (ext_exist): place const in the right spot.
4055 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4057 (workAreaExpose): call resizeInsets when the with BufferView changes.
4058 (Dispatch): adjust for protectedBlank removal
4059 (specialChar): call updateInset if the insert went ok.
4061 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4062 specialChar instead.
4064 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4066 * BufferView.h: doxy change
4068 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4070 * lyxtextclass.C (operator[]): remove non-const version
4071 (defaultLayout): remove non-const version
4073 2002-03-12 Juergen Vigna <jug@sad.it>
4075 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4076 did resize the LyXText too.
4078 * buffer.C (readLyXformat2): set layout information on newly allocated
4081 * tabular.C (OldFormatRead): set layout information on the paragraph.
4083 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4085 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4087 2002-03-11 Juergen Vigna <jug@sad.it>
4089 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4091 (resizeCurrentBuffer): force also the insets to resize themselfes.
4092 (moveCursorUpdate): fixed up for InsetText.
4094 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4097 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4098 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4099 value of Dialogs::tooltipsEnabled().
4100 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4102 2002-03-08 Juergen Vigna <jug@sad.it>
4104 * BufferView_pimpl.C (updateInset): update inset inside inset also
4105 if it isn't inside theLockingInset().
4107 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4109 * buffer.C (asciiParagraph): redo some of the word and line length
4111 (getLists): look for Caption instead of caption.
4113 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4115 * buffer.C (Buffer): initialize niceFile to true
4118 (makeDocBookFile): make sure niceFile is true on exit
4120 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4122 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4124 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4126 * LyXSendto.C: remove.
4127 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4128 * lyx_gui.C: remove now-redundant comment.
4129 * ColorHandler.h: remove forward declaration of class WorkArea.
4130 * lyxfunc.C: remove #include "WorkArea.h".
4132 2002-03-07 Juergen Vigna <jug@sad.it>
4134 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4135 got moved away with the DEPM and also set the inset_owner always
4136 right which before could have been omitted.
4138 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4140 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4141 wanted layout is not found.
4143 2002-03-07 Juergen Vigna <jug@sad.it>
4145 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4147 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4149 * paragraph.C (breakParagraph): use default layout not layout of
4151 (Paragraph): clear ParagraphParameters.
4153 2002-03-06 Juergen Vigna <jug@sad.it>
4155 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4156 otherwise it would not be a valid lenght. Fixed a special case in
4157 the minipage compatibility read where we end the document with a
4160 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4161 was set as it could be 0 for InsetTexts first entry.
4163 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4165 * paragraph.C (writeFile): if layout is empty write out
4166 defaultLayoutName().
4168 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4169 file without named layout we set layout to defaultLayoutName().
4171 2002-03-06 Juergen Vigna <jug@sad.it>
4173 * CutAndPaste.C (copySelection): set layout for new paragraph.
4175 * text.C (prepareToPrint): leave ERT inset left aligned
4176 (leftMargin): don't indent paragraphs inside ERT insets
4178 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4180 * paragraph.C (breakParagraph): dont call clear do the work manually
4182 * paragraph.[Ch] (clear): remove function
4184 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4186 * paragraph.C (Paragraph): dont call clear, the work has already
4189 * lyxtextclass.C (operator): assert if n is empty
4191 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4192 work manually instead.
4194 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4196 * BufferView_pimpl.C: protect selectionLost against text == 0
4198 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4200 * text.C (breakParagraph): fix a setting layout to '0' problem.
4202 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4204 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4205 final location of file, for the included files, and graphics.
4207 2002-03-05 Juergen Vigna <jug@sad.it>
4209 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4211 2002-03-04 Juergen Vigna <jug@sad.it>
4213 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4215 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4216 last column of multicolumn cells.
4217 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4219 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4221 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4222 file if it doesn't go to a temporary file.
4224 * buffer.C (sgmlOpenTag):
4225 (sgmlCloseTag): remove extra newline insertion.
4227 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4229 * text.C (getRowNearY): comment out debug msg
4231 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4233 * text2.C: first -> first_y
4235 * text.C (getRowNearY): add some attemts at a possible
4236 optimization, not working.
4238 * tabular.[Ch]: add BufferParams to several function so that newly
4239 created paragraph can be initialized to he default layotu for the
4242 * tabular-old.C (ReadOld): add buf->params to call of Init
4244 * screen.C: rename text->first to text->first_y
4246 * paragraph.C (breakParagraph): always set layout in the broken
4249 * lyxtextclass.C (Read): remove lowercase
4252 (delete_layout): ditto
4254 * lyxtext.h: rename first -> first_y
4256 * lyxlayout.C (Read): remove lowercase
4259 (obsoleted_by): ditto
4261 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4263 * buffer.C (insertErtContents): add params are to InsetERT
4264 (parseSingleLyXformat2Token): add code to check if a paragraphs
4265 layout really exist.
4266 (parseSingleLyXformat2Token): add params to several inset
4268 (asciiParagraph): remove lowercase, do the layout comparisons with
4271 * BufferView_pimpl.C (cursorNext): first -> first_y
4272 (resizeCurrentBuffer): first -> first_y
4273 (updateScrollbar): first -> first_y
4274 (scrollCB): first -> first_y
4275 (workAreaMotionNotify): first -> first_y
4276 (workAreaButtonPress): first -> first_y
4277 (checkInsetHit): first -> first_y
4278 (cursorPrevious): first -> first_y
4279 (cursorNext): first -> first_y
4280 (Dispatch): add buffer_->params to severl inset contructors
4282 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4284 * lyxlayout.C (Read): remove some debug info that I forgot.
4286 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4287 clean up the code slightly.
4288 (makeLinuxDocFile): ditto
4289 (makeDocBookFile): ditto
4291 * text2.C: layout as string
4293 * text.C: layout as string
4295 * paragraph_pimpl.C: layout as string
4297 * paragraph.[Ch]: layout as string
4299 * lyxtextclasslist.[Ch]: layout as string
4301 * lyxtextclass.[Ch]: layout as string
4303 * lyxtext.h: layout as string
4305 * lyxlayout.[Ch]: layout as string
4307 * lyx_cb.C: layout as string
4309 * bufferview_funcs.C: layout as string
4311 * bufferparams.C: layout as string
4313 * buffer.C: layout as string
4315 * LyXView.[Ch]: layout as string
4317 * LaTeXFeatures.[Ch]: layout as string
4319 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4321 * BufferView_pimpl.C: change current_layout to string, remove
4326 (workAreaButtonRelease): layout as string
4328 * BufferView2.C (unlockInset): adjust
4330 * vspace.C (asLatexCommand): use an explict temp variable.
4332 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4334 * Makefile.am: use FRONTEND_*
4336 2002-03-01 Juergen Vigna <jug@sad.it>
4338 * tabular.C (SetWidthOfMulticolCell): changed to something better
4339 I hope but still work in progress.
4340 (recalculateMulticolumnsOfColumn): renamed function from
4341 recalculateMulticolCells as it is more appropriate now.
4342 (SetWidthOfCell): calculate multicols better.
4344 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4346 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4348 * lyxfunc.C (processKeySym): print sequence also if it is
4349 `deleted' (complete)
4351 * kbsequence.C (print): print sequence even if it is deleted
4352 (complete would be a better word, actually).
4354 * lyxfunc.C (dispatch): print complete options after a prefix key
4356 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4358 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4360 * text2.C (setCharFont): eliminate setCharFont code duplication.
4362 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4364 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4365 LFUN_TABULAR_FEATURE (bug #177)
4367 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4369 * Makefile.am: remove figure.h
4371 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4373 * Bufferview_pimpl.C:
4385 * text2.C: remove #include "lyx_gui_misc.h".
4387 * LaTeX.C: added #include <cstdio>
4389 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4391 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4392 that the paragraph following this one can have.
4394 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4396 * vspace.C (asLatexCommand): fix bogus gcc warning
4398 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4400 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4402 * text2.C (setLayout): get rid of redundant code
4404 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4406 * text2.C (incDepth): make sure depth cannot be increased beyond
4409 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4411 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4412 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4414 * PainterBase.h (image):
4415 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4418 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4422 * BufferView_pimpl.C:
4423 * BufferView_pimpl.h:
4443 * sp_spell.C: remove fig inset, and the crap house of
4444 cards that follows it
4446 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4452 * nt_defines.h: move .h into support/
4454 * vms_defines.h: remove
4456 * WorkArea.C: add space in debug output
4460 * buffer.C: add WITH_WARNINGS
4464 * bufferlist.C: s/retrive/retrieve/, add docs
4475 * lyxgui.C: add ID to X error handler
4477 * lyxtestclass.c: fix typo
4479 2002-02-26 Juergen Vigna <jug@sad.it>
4481 * tabular_funcs.C (write_attribute): changed so that some default
4482 attributes are not written at all.
4483 (getTokenValue): set default values before trying to read the
4484 value so we have the return value always set as default if we don't
4485 find the token we search for.
4487 * tabular.C (Write): write bools as bools not as strings!
4489 2002-02-22 Juergen Vigna <jug@sad.it>
4491 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4492 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4494 * text.C (leftMargin): don't add an indent for paragraphs inside
4495 tabular cells (fix #208).
4497 2002-02-21 José Matos <jamatos@fep.up.pt>
4499 * tabular.C (docBook): fixed support for long tables.
4501 2002-02-20 Juergen Vigna <jug@sad.it>
4503 * text2.C (getFont): get the drawing font of the Inset if this
4504 paragraph is inside an inset (only important for InsetERT for now).
4506 * buffer.C (insertErtContents): use new lanugage params in ERT
4509 * CutAndPaste.C: commenting out seemingly uneeded code.
4511 2002-02-19 Allan Rae <rae@lyx.org>
4513 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4514 Iterators might be simple to use but they also get invalidated.
4515 (removeAutoInsets): renamed saved cursor tracking variables and added
4516 some comments to clarify what everything does.
4518 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4525 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4526 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4529 * vc-backend.h: remove #include "support/syscall.h"
4533 * converter.C: rearrange #includes in Lars' approved fashion.
4535 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4536 forward declare class Timeout in the header file.
4538 * XFormsView.C: changes due to the above.
4540 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4543 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4544 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4546 2002-02-18 José Matos <jamatos@fep.up.pt>
4548 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4551 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4553 * a lot of small ws changes
4554 * add a lot of using std::XXX
4555 * use std construcs some places where approp.
4556 * use some exisint stuff from lyxfunctional where approp.
4557 * Make file changes to use partial linking (lets test this now...)
4559 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4563 remove #include "support/syscontr.h" as it's redundant. Always has been.
4571 change Systemcalls::System to Systemcalls::Wait and
4572 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4573 No change of functionality, just reflects the stripped down Systemcalls
4576 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4578 * debug.[Ch]: add a GRAPHICS type to the enum.
4580 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4582 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4584 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4587 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4589 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4590 match the changes below.
4592 * text2.C (toggleInset): if there is not editable inset at cursor
4593 position, try to see if cursor is _inside_ a collapsable inset
4596 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4598 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4599 document menu has a nice checkbox
4601 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4603 * lyxlength.C (asLatexString): change PW to output as percent of
4606 * lengthcommon.C: change '%' to 't%'
4608 * lyxfunc.C (dispatch): a few comments from Martin
4610 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4614 * BufferView_pimpl.h:
4615 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4618 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4620 * vspace.C (inPixels): fix compiler warning
4622 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4624 * lyxfunc.C (getStatus): fix status message for disabled commands.
4626 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4628 * BufferView_pimpl.C: fix crash on close buffer
4629 during selection (#227)
4631 2002-01-27 Herbert Voss <voss@lyx.org>
4633 * buffer.C: link old Figure to new graphic inset
4635 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4637 * FontLoader.C (getFontinfo): Change the latex font names in order
4638 to match the names of type1inst.
4640 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4642 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4644 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4647 (remove_files_with_extension): ditto
4648 (remove_file): ditto
4651 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4652 document is smaller than the work area height. Do not initialize
4653 static variables to 0.
4655 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4657 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4659 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4660 LFUN_LAYOUT_PARAGRAPHS.
4662 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4663 tabular. It is possible to provide a possible cell, which will
4664 typically be the actcell from the corresponding insettabular
4666 * lyxfunc.C (getStatus): small cleanup; disable
4667 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4670 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4672 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4674 * paragraph.C (startTeXParParams):
4675 (endTeXParParams): new methods. The LaTeX code to
4676 start/end paragraph formatting
4677 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4678 empty (fixes bug #200)
4680 * vspace.C (inPixels): adapt to the change below
4681 (inPixels): [later] more cleanups (remove unused variables)
4683 * lyxlength.C (inPixels): change to use a width and a height as
4686 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4688 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4689 Replaced with \paperwidth
4691 * DepTable.C (insert): add std:: qualifier
4693 2002-01-18 Allan Rae <rae@lyx.org>
4695 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4698 * text.C (drawInset): Turned out I didn't know enough about how
4699 rebreaking worked. This fixes most of the redraw problems. I see
4700 an occasional cursor trail when a line is broken now and the cursor
4701 placement can seem out by a few pixels also after a rebreak.
4703 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4705 * buffer.C (parseSingleLyXformat2Token): update because minipage
4706 width is now a LyXLength
4708 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4710 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4713 2002-01-17 Juergen Vigna <jug@sad.it>
4715 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4717 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4718 is set correctly and the inset is updated correctly.
4720 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4722 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4723 the beginning of the loop.
4725 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4727 * lyxrc.C: improve help for use_scalable_fonts
4729 2002-01-17 Allan Rae <rae@lyx.org>
4731 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4733 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4735 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4736 make sure to set their inset_owner to the right value (bug #171)
4738 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4741 * DepTable.C: Implement mtime checking to reduce time spent doing
4744 2002-01-16 Juergen Vigna <jug@sad.it>
4746 * tabular.C (GetAdditionalHeight): one of error fixed.
4748 * lyxrc.C (output): small fix in writing use_pspell.
4750 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4752 * sp_base.h: #include LString.h
4754 2002-01-16 Allan Rae <rae@lyx.org>
4756 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4757 Can someone check this please?
4759 * text.C (drawInset): It was possible that p.row would be removed by
4760 breakAgainOneRow upsetting a few other settings. There may be another
4761 small tweak possible by setting need_break_row = 0 when p.row has been
4762 removed but I don't know enough about the logic here.
4764 2002-01-15 Allan Rae <rae@lyx.org>
4766 * text.C (insertChar): removed conditional truism.
4768 * BufferView2.C (removeAutoInsets): More tweaks.
4769 cur_par_prev could be a stray pointer. Check for trailing empty line
4770 in case last line was cur_par and only had an error inset on it.
4772 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4774 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4777 * vc-backend.C (most methods):
4778 * exporter.C (Export):
4779 * converter.C (convert):
4781 * LyXSendto.C (SendtoApplyCB):
4782 * lyxfunc.C (dispatch):
4786 * lyx_cb.C (AutoSave):
4788 * BufferView_pimpl.C (MenuInsertLyXFile):
4789 * buffer.C (runChktex): use Buffer::filePath().
4791 * buffer.h: rename filename to filename_; rename filepath to
4792 filepath_ and make it private
4793 (filePath): new method
4795 * buffer.C (writeFile): use fileName()
4798 * lyx_main.C (init): fix starting of LyX when the binary is a
4799 link from so,ewhere else.
4801 * minibuffer.C: include <cctype> for isprint
4803 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4805 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4806 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4807 name clash with InsetCollapsable's width function.
4809 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4811 * lastfiles.C: include <iterator>
4813 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4815 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4818 * buffer.C (makeLaTeXFile): ditto.
4819 Also make loop operation more transparent.
4821 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4823 * ToolbarDefaults.C: remove trailing comma closing namespace.
4825 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4827 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4830 * trans.C (Load): comment out unused variable, allowed.
4832 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4834 * minibuffer.[Ch] (append_char): new method to recieve input from the
4835 drop-down completion browser. If a key was pressed, then recieve this
4836 char and append it to the existing string.
4837 (peek_event): modify the positioning data passed to the completion
4838 browser so that it can be placed above the minibuffer rather than below.
4839 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4841 * LyXAction.C (init): alloe error-next for readonly documents.
4843 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4846 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4848 * bufferlist.C (readFile): create the buffer _after_ checking that
4851 * lyxfunc.C (verboseDispatch): fix handling of arguments
4853 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4855 * lyxrc.C: use string::erase() instead of initializing to "".
4858 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4860 * BufferView_pimpl.h:
4861 * BufferView_pimpl.C:
4864 * text2.C: tell X when we have made a selection for copying
4866 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4868 * BufferView_pimpl.C (MenuInsertLyXFile):
4869 * lyxfunc.C (menuNew):
4871 (doImport): add shortcuts to directory buttons
4873 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4876 * lyxfunc.C (setStatusMessage):
4877 (getStatusMessage): new methods
4878 (getStatus):use setStatusMessage instead of setErrorMessage
4879 (dispatch): when function is disabled, set error message here
4880 [instead of in getStatus previously]
4882 * BufferView_pimpl.C (workAreaButtonRelease): update
4883 toolbar/menubar here too.
4885 2002-01-13 Allan Rae <rae@lyx.org>
4887 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4888 Now seems indestructible. Remaining task is to audit all other
4889 code affected by deleteEmptyParagraphMechanism. One small quirk
4890 left is that an empty document with an error in the preamble can
4891 be made to report an error but no error box appears. I don't know
4893 (removeAutoInsets): Improved comments.
4895 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4898 * Thesaurus.C: update for Aiksaurus 0.14
4900 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4902 * text2.C (firstParagraph): removed member function, all uses
4903 replaces with ownerParagraph
4904 (redoParagraphs): here
4906 (toggleAppendix): here
4907 * BufferView2.C (insertErrors): here
4908 (setCursorFromRow): here
4910 2002-01-13 Allan Rae <rae@lyx.org>
4912 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4913 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4914 There is still a way to segfault this although you may have to do this
4915 multiple times: Have an InsetERT with an unknown command in it.
4916 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4917 <down-arrow>, <Enter> again, View->DVI, BANG!
4919 * text2.C (setCursor):
4920 (deleteEmptyParagraphMechanism):
4921 * lyxtext.h (setCursor):
4922 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4923 Making use of the return value may help fix other bugs.
4925 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4927 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4929 * LyXView.C (updateMenubar): call MenuBar::update here
4930 (updateToolbar): but not here
4931 (showState): do not update toolbar/menubar
4933 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4934 should need to care about that.
4936 * lyxfunc.C (verboseDispatch): simplify a bit
4937 (getStatus): have a version which takes a pseudoaction, and
4938 another which requires a (kb_action,string).
4940 * LyXAction.C (retrieveActionArg): make it work also when action
4941 is not a pseudo-action.
4942 (getActionName): simplify a bit
4945 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4947 * lyxfunc.C (verboseDispatch): new families of methods with
4948 several ways to specify a command and a bool to indicate whether
4949 the command name and shortcut should be displayed in minibuffer
4950 (eventually, we could extend that to a finer bitmask like
4951 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4952 (dispatch): the pristine dispatch command which just, well,
4953 dispatchs! Note it still sets its result to minibuffer; I'm not
4956 * lyxfunc.h: remove setHintMessage
4958 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4960 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4962 * BufferView_pimpl.C (specialChar): delete new inset if we have
4963 not been able to insert it.
4965 * kbmap.C: revert to using int instead of kb_action, since all we
4966 are dealing with is pseudo-actions.
4968 * LyXAction.C (searchActionArg): change to return int instead of
4969 kb_action, since the result is a pseudoaction.
4971 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4973 * buffer.C (insertErtContents): Fix (partially) the font bug.
4975 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4977 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4978 as the other one is broken on my machine!
4980 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4983 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4985 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4987 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4988 reflect their actual use. Provide compatibility code for older lyxrc
4991 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4993 change names of popup font variables in line with the changes to lyxrc.C
4995 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4997 * buffer.C (asciiParagraph): avoid outputing a word twice after
5000 * lyxrc.C (getDescription): document that document_path and
5001 template_path can be empty.
5003 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5005 * LaTeXFeatures.C (getMacros):
5006 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5008 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5010 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5012 (getPackages): rename feature "floats" to "float". Use an array to
5013 iterate over 'simple' features (i.e. just a \usepackage). Add
5014 handling of "amsmath" (renamed from "amsstyle").
5016 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5018 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5021 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5023 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5024 FuncStaus::FuncStatus & FuncStaus::some_method().
5026 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5028 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5029 of the func_satus stuff. Edited and massaged in various ways by
5032 * lyxfunc.C (getStatus): use FuncStatus
5034 2002-01-08 Juergen Vigna <jug@sad.it>
5036 * text.C (nextBreakPoint): use function Inset::isChar().
5038 * paragraph.C (TeXOnePar): use function
5039 Inset::forceDefaultParagraphs.
5041 * buffer.C (latexParagraphs): use function
5042 Inset::forceDefaultParagraphs.
5044 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5046 * lyx_gui.C (init): set the style of the menu popups to
5047 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5049 2002-01-07 Juergen Vigna <jug@sad.it>
5051 * text.C (setHeightOfRow): small fix
5052 (prepareToPrint): don't look at alignment if we don't have the place
5055 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5057 * box.C: New file. Move the Box methods and functions out of box.h,
5058 following Lars' suggestion.
5060 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5062 * box.h: #include "support/LOstream.h", needed for inlined function.
5065 * lyxtextclasslist.C: added some using std declarations.
5067 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5069 * box.h: make signed dimensions to allow insets wider than
5070 the screen (bug #162)
5072 * BufferView_pimpl.C: add some insetHit debug
5074 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5076 * vc-backend.C: add FIXME
5078 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5080 * lyxfunc.C (getStatus): enable code for showing math font status
5083 2002-01-07 Juergen Vigna <jug@sad.it>
5085 * text.C (nextBreakPoint): removed debug output not needed anymore.
5087 2002-01-06 Juergen Vigna <jug@sad.it>
5089 * text.C (nextBreakPoint): fixed up this function we had this bug
5090 since ever but now hopefully we break row better.
5091 (insertChar): we have to check if an inset is the next char as it
5092 could now happen that a large inset is causing a break.
5094 2002-01-05 Juergen Vigna <jug@sad.it>
5096 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5097 if it doesn't like to be drawed.
5099 2002-01-04 Juergen Vigna <jug@sad.it>
5101 * BufferView2.C (lockInset): forgot to set a cursor.
5103 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5105 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5110 * form_maths_panel.C:
5111 * form_maths_panel.h:
5112 * form_maths_panel.fd: implemented sub- and super- buttons in math
5115 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5116 (or ^ space) to be used as in TeX (req'd by André).
5118 * lyxfunc.C: Allow ^ and _ again to be used both as
5119 super/subscript (mathed) and as themselves (in text).
5121 2002-01-03 Allan Rae <rae@lyx.org>
5123 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5124 "LyX" or the filename of the current buffer if it has one. This is a
5125 modified form of John Levon's patch.
5127 * XFormsView.C (setWindowTitle): also set icon title.
5129 * LyXView.h (setWindowTitle): signature changed.
5130 * XFormsView.h (setWindowTitle): ditto.
5132 2002-01-02 Juergen Vigna <jug@sad.it>
5134 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5136 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5138 * screen.C (topCursorVisible): introduce a temp var for
5139 text->cursor.row(), handle the case where this row is null. (kindo
5142 * text2.C (setCursor): add a couple of asserts.
5144 * paragraph.h (inset_iterator): add -> operator
5146 * paragraph.[Ch] (autoDeleteInsets): remove member function
5148 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5149 cursor pos correctly and handle inset deletion by itself.
5150 (insertErrors): move iterator declaration out of for expression
5152 * lyxtextclass.C: add <algorithm>
5154 * Makefile.am: added the new files to sources, removed layout.C
5156 * layout.C: removed file
5158 * layout.h: remove LYX_DUMMY_LAYOUT
5160 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5164 * lyxtextclass.[Ch]:
5165 * lyxtextclasslist.[Ch]: new files
5167 * include order changes to a lot of files, also changes because of
5170 2001-12-27 Juergen Vigna <jug@sad.it>
5172 * buffer.C (asciiParagraph): more fixes.
5174 * tabular.C (ascii): make ascii export support export of only the
5175 data separated by a column-delimiter.
5176 (ascii): better support for ascii export.
5178 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5180 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5182 * tabular_funcs.C: use a "using std::getline" instead of the
5183 previous fix from Angus (necessary for cxx + lyxstring)
5185 2001-12-24 Juergen Vigna <jug@sad.it>
5187 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5189 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5190 problems. First check a minipage also if we have some ert-contents
5191 (not only on par->size(), second set the right depth of the paragraph
5192 on the relink to the root-paragraph-list!
5194 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5195 which then did not anymore update the main paragraphs on undo/redo!
5197 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5199 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5200 code. Support all font-changing funcs (even those which are not in
5201 menu currently). Support for reporting font settings in
5202 mathed (disabled until Andre provides a function on mathed's side).
5204 * func_status.h (toggle): small helper function to set toggle
5207 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5209 * tabular_funcs.C: getline -> std::getline
5211 2001-12-21 Juergen Vigna <jug@sad.it>
5213 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5214 accessed and could be 0 (I couldn't generate this but it seems
5217 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5219 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5220 * tabular_funcs.h: here and include iosfwd
5222 2001-12-20 Juergen Vigna <jug@sad.it>
5224 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5225 inside inset but undo_par was.
5227 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5229 * Thesaurus.C: always include <config.h> in sources.
5233 * box.h: do not include <config.h> in header files
5235 * text.C (paintLastRow): remove unused variable
5237 * text.C (transformChar):
5239 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5242 * font.C (width): rewrite to use uppercase() instead of
5245 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5247 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5249 * lyxfind.C: clean up of find failure position change
5251 2001-12-20 Juergen Vigna <jug@sad.it>
5253 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5255 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5256 (TeXRow): added to LaTeX a single tabular row.
5257 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5258 (Latex): simplified and finally good LT-h/f support.
5259 (various_functions): just small adaptions for LT-h/f support.
5261 * tabular_funcs.[hC]: added and moved here all not classfunctions
5264 2001-12-19 Juergen Vigna <jug@sad.it>
5266 * tabular.[Ch]: better support for longtabular options (not finished
5269 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5271 * text.C (paintLastRow): use the label font instead of the font of
5272 the last character to compute the size of *_BOX. This makes more
5273 sense and avoids a crash with empty paragraphs.
5274 Use Painter::rectangle to draw EMPTY_BOX.
5276 2001-12-19 Juergen Vigna <jug@sad.it>
5278 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5279 the paragraphs if the replaced paragraph is not the first one!
5280 Tried to delete not used paragraphs but does not work yet so for
5281 now it's inside #ifdef's and by default off!
5283 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5285 * MenuBackend.C: include "lyx_main.h" instead of declaring
5286 lastfiles (actually was declared as LastFiles* instead of a
5289 2001-12-17 Juergen Vigna <jug@sad.it>
5291 * tabular.C (AppendColumn): applied John's fix
5293 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5297 * BufferView_pimpl.h:
5298 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5301 * box.h: new start of class for above
5303 * lyxfunc.C: ignore space-only minibuffer dispatches.
5304 Show the command name when it doesn't exist
5306 * minibuffer.C: don't add empty lines to the history
5308 * minibuffer.C: add a space on dropdown completion
5310 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5312 * text.C: fix line above/below drawing in insets
5314 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5316 * lyxlength.C (LyXLength): Initialize private variables.
5318 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5320 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5321 when inserting error insets.
5323 2001-12-13 Juergen Vigna <jug@sad.it>
5325 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5326 actually sometimes the before-paragraph.
5327 (setUndo): don't clear the redostack if we're not actually undoing!
5329 2001-12-06 Juergen Vigna <jug@sad.it>
5331 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5332 and fixed redoing of main paragraph, so we can use it now ;)
5334 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5336 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5338 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5341 2001-12-13 André Pönitz <poenitz@gmx.net>
5344 * undo_func.C: minor cleanup
5346 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5348 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5349 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5350 font in urw-fonts package which is marked as -urw-fontspecific and
5351 does not work (incidentally, changing the encoding in the
5352 fonts.dir of this package to -adobe-fontspecific fixes the
5355 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5356 is a crash when undoing first paragraph (Juergen, please take a
5357 look). THis does not mean the undo fix is wrong, just that it
5360 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5361 the (Paragraph*) version when needed instead of duplicating the
5364 * text.C (workWidth): use Inset::parOwner to find out where the
5365 inset has been inserted. This is a huge performance gain for large
5366 documents with lots of insets. If Inset::parOwner is not set, fall
5367 back on the brute force method
5369 * paragraph_pimpl.C (insertInset):
5370 * paragraph.C (Paragraph):
5371 (cutIntoMinibuffer): set parOwner of insets when
5372 inserting/removing them
5374 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5376 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5382 * mathed/formulabase.C:
5383 * mathed/math_cursor.[Ch]:
5384 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5387 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5389 * lyxlength.[Ch] (operator!=): new function
5391 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5393 * text.C (workWidth): use Inset::parOwner to find out where the
5394 inset has been inserted. This is a huge performance gain for large
5395 documents with lots of insets. If Inset::parOwner is not set, fall
5396 back on the brute force method
5398 * paragraph_pimpl.C (insertInset):
5399 * paragraph.C (Paragraph):
5400 (cutIntoMinibuffer): set parOwner of insets when
5401 inserting/removing them
5403 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5405 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5407 * tabular-old.C (getTokenValue):
5408 * tabular.C (getTokenValue):
5409 (write_attribute): new versions for LyXLength
5410 (everywhere): adjust the use of widths
5412 * tabular.h: change the type of widths from string to LyXLength
5414 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5416 * paragraph.C: fixed missing line number count when exporting
5417 Environments to LaTeX file
5419 * buffer.C: added informational message for checking line numbers.
5421 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5423 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5424 paragraph, do the 'double space' part, but not the 'empty
5427 * text.C (workWidth): small optimization
5428 (getLengthMarkerHeight): use minimal size for negative lengths.
5430 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5432 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5434 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5436 2001-12-11 André Pönitz <poenitz@gmx.net>
5439 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5441 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5443 * text2.C: keep selection on a setFont()
5445 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5447 * lyx_cb.C: another bv->text misuse, from insert label
5449 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5452 * kbsequence.C: re-instate nmodifier mask
5454 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5456 * lyx_main.h: make lyxGUI private.
5458 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5460 * lyxfind.C: place the cursor correctly on failed search
5462 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5464 * text.C (getLengthMarkerHeight): for small heights, the arrows
5465 are not always on top/bottom of the text
5466 (drawLengthMarker): smaller arrows; take the left margin in
5467 account; draw also vfills.
5469 (paintLastRow): remove special code for vfill and standard spaces,
5470 since everything is handled in drawLengthMarker now.
5472 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5474 * buffer.C (insertErtContents): try to handle font and language
5475 interaction a bit better.g
5477 * ColorHandler.C (updateColor): change the hash to cover the whole
5478 LColor enum, ws cleanup
5479 (getGCLinepars): ditto
5480 (getGCLinepars): only lookup in the linecache once.
5482 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5484 * iterators.C (operator++): Make the iterator more robust
5486 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5488 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5490 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5493 * text.C: better added space drawing
5495 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5498 * BufferView2.C: fix layout combo update on inset unlock
5500 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5502 * Makefile.am: don't compile unused files
5504 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5508 * LyXAction.C: remove old LFUN_LAYOUTNO
5510 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5512 * paragraph_pimpl.h:
5513 * paragraph_pimpl.C: isTextAt() doesn't need font param
5515 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5518 * lyxlex.C: little cleanup
5520 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5522 * BufferView_pimpl.C: fix insertAscii for insets
5524 2001-12-05 Juergen Vigna <jug@sad.it>
5526 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5527 set the right font on the "multi" paragraph paste!
5529 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5535 * lyxlength.C: remove out-commented code.
5551 * vc-backend.C: change "while(" to "while ("
5553 * lyxlength.[Ch]: add zero function to check if length is zero or
5555 * lyxgluelength.C: use it
5557 2001-12-05 Allan Rae <rae@lyx.org>
5559 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5560 Works for 2.95.3, from what I understand of Garst's reports this should
5561 work for other g++ versions. We're screwed if the abs(int) definition
5562 changed between bugfix releases of gcc.
5564 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5566 * text.C: fix chapter label offset !
5568 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5571 * text.C: fix hfill at end of line, clean up
5573 2001-12-04 Juergen Vigna <jug@sad.it>
5575 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5576 that we force an update of the inset and it's owners if neccessary.
5578 2001-12-03 Juergen Vigna <jug@sad.it>
5580 * text.C (rowLast): simplified code
5582 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5584 * lyxfunc.C: fix show options on timeout
5586 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5588 * screen.C (topCursorVisible): scroll half a page when the cursor
5589 reached top of bottom of screen
5591 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5593 * minibuffer.C: deactivate on loss of focus
5595 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5597 * vspace.[Ch] (operator!=): add operator.
5599 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5601 * BufferView_pimpl.C: refuse to open an inset when
5602 there's a selection.
5604 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5606 * BufferView_pimpl.C: allow to click on RHS of full row insets
5608 2001-11-30 Juergen Vigna <jug@sad.it>
5610 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5611 insets for undo reasons.
5613 2001-11-28 André Pönitz <poenitz@gmx.net>
5615 * vspace.[Ch]: cosmetical changes
5617 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5627 * kbsequence.C: part re-write of old kb code
5630 * WorkArea.C: remove Lgb_bug_find_hack
5632 2001-11-30 José Matos <jamatos@fep.up.pt>
5634 * buffer.C (makeDocBookFile): add a comment to point a hack.
5635 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5636 Fixed a double write of labels.
5638 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5641 * LaTeX.h Fixed bug in LaTeX class where it would not
5642 re-run latex if no depfiles were changed, but the .dvi was removed.
5644 2001-11-28 André Pönitz <poenitz@gmx.net>
5646 * all the files from the change on 2001/11/26:
5647 use lyx::layout_type instead of LyXTextClass::size_type
5648 use lyx::textclass_type instead of LyXTextClassList::size_type
5650 2001-11-29 Juergen Vigna <jug@sad.it>
5652 * text.C: added support for paragraph::isFreeSpacing()
5654 * buffer.C: same as above
5656 * paragraph.h: inserted isFreeSpacing() function to enable
5657 FreeSpacing inside InsetERT.
5659 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5660 of the paragraph's in the cut/copy buffer to 0!
5662 * text2.C (removeRow): remove the assert as it can!
5664 * lyxtext.h: added helper function firstRow returning firstrow and
5665 made firstrow private again.
5667 * BufferView2.C (lockInset): don't relock if we're already locked!
5669 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5671 (removeRow): added Assert::(firstrow)
5673 * debug.C: forgot to add INSETTEXT here.
5675 2001-11-28 Juergen Vigna <jug@sad.it>
5677 * sp_spell.C (initialize): changed error text to more general
5678 spellchecker command use (not only ispell!)
5680 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5682 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5684 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5686 * vspace.C: initialise lyxgluelength on failure
5688 2001-11-28 Allan Rae <rae@lyx.org>
5690 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5691 declaration & definition that looks like a function declaration.
5693 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5695 * BufferView2.C (copy):
5696 (copyEnvironment): do not clear the selection when doing a copy.
5698 * text.C (paintFirstRow): compilation fix
5700 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5702 * tabular.C (Latex): correct line count when writing latex.
5704 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5706 * paragraph_pimpl.h:
5707 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5710 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5714 * LColor.C: change vfillline->added_space
5716 * text.C: add markers and text for added space
5718 * vspace.C: fix comment
5720 2001-11-28 André Pönitz <poenitz@gmx.net>
5722 * paragraph.C: whitespace changes
5723 * all the other files from the change on 2001/11/26:
5724 change *::pos_type into lyx::pos_type
5726 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5728 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5729 language of the document when inserting error insets.
5731 2001-11-26 André Pönitz <poenitz@gmx.net>
5733 * BufferView_pimpl.[Ch]:
5741 * paragraph_pimpl.[Ch]:
5744 * text2.C: reduce header dependencies, introduce type for positions
5746 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5748 * <various>: change to use Alert.h
5750 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5752 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5753 when encountering an unknown token.
5754 (readLyXformat2): Show an error message if there were unknown tokens.
5756 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5759 * BufferView_pimpl.C:
5763 * text2.C: use par->isInset()
5765 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5767 * paragraph_pimpl.h:
5768 * paragraph_pimpl.C: cleanup
5770 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5772 * text2.C (removeRow):
5773 * text.C (setHeightOfRow): remove useless (and costly) call to
5776 2001-11-20 Allan Rae <rae@lyx.org>
5778 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5779 Now need Inset*::checkInsertChar() to return true for appropriate
5780 cases so that the characters in the minibuffer will actually be
5783 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5785 * text.C: change the order of the includes.
5786 (workWidth): initialize it at once.
5787 (workWidth): make maxw unsigned
5788 (setHeightOfRow): remove unused variable (inset)
5789 (selectSelectedWord): remove unused variable (inset)
5790 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5792 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5794 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5795 server is not running.
5797 (closeConnection): add debug info when server is disabled.
5799 * ColorHandler.C (getGCForeground): send debug message to GUI
5802 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5804 * kbmap.C (bind): modify because return conventions of
5805 kb_sequence::parse have changed.
5807 * kbsequence.C (parse): only ignore spaces and not any stupid
5808 control character. This avoids tests like s[i] <= ' ', which are
5809 guaranteed to fail with 8bit characters and signed chars.
5810 Change return code to string::npos when there have been no error
5811 (0 was a bad idea when error is at first character)
5813 2001-11-14 José Matos <jamatos@fep.up.pt>
5816 * buffer.C (simpleDocBookOnePar): removed unused argument.
5818 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5820 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5821 insets which are part of a word. Paragraph::isLetter takes care of
5822 that now. Use Paragraph::isInset to identify insets.
5823 (selectSelectedWord): do not test for hyphenation break.
5825 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5826 that protected spaces are considered as spaces.
5828 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5831 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5834 * lyxserver.C: fix it. and small cleanup.
5836 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5838 * BufferView_pimpl.C: use inline helpers
5841 * LaTeXFeatures.C: fix typos
5844 * Spacing.C: move spacing_string into class
5846 * ToolbarDefaults.C: move stuff into namespace anon
5848 * layout.h: update enum
5850 * lyxfunc.C: use better debug
5852 * minibuffer.h: fix typo
5856 * WorkArea.C: add and use Debug::WORKAREA
5860 * text2.C: code re-organisation, inline helpers
5862 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5864 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5865 std::vector.empty().
5867 2001-11-09 Allan Rae <rae@lyx.org>
5869 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5870 '\n's after tables. Tabular and ERT inset work now makes this no
5873 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5876 * minibuffer.C: fix crash, improve drop-down completion
5878 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5881 * lyxserver.C: invalidate fd's when doing endPipe()
5883 2001-11-08 José Matos <jamatos@fep.up.pt>
5885 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5886 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5889 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5891 2001-11-07 José Matos <jamatos@fep.up.pt>
5894 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5897 * buffer.C (sgmlOpenTag):
5898 * buffer.C (sgmlCloseTag): removed debug info.
5900 * buffer.h (sgmlOpenTag):
5901 * buffer.h (sgmlCloseTag): made public.
5903 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5905 * buffer.C (saveParamsAsDefaults):
5906 * lyx_cb.C (MenuLayoutSave): remove
5908 * LyXAction.C (init):
5910 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5912 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5914 * buffer.C (setPaperStuff): removed from here...
5916 * bufferparams.C (setPaperStuff): ... and moved there.
5918 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5922 * XFormsView.C: add support for drop-down completion
5924 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5926 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5929 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5931 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5934 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5936 * lyx_main.C: change ref to known bugs
5938 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5940 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5941 to work around older babel problems.
5943 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5945 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5947 2001-10-24 Juergen Vigna <jug@sad.it>
5949 * tabular-old.C (ReadOld): below variable changes reflected.
5951 * tabular.[Ch]: added ltType struct for longtable header/footer
5952 defines and changed all instances where they are used. Added
5953 future support for double top/bottom rows.
5955 2001-10-24 José Matos <jamatos@fep.up.pt>
5957 * buffer.h (docbookHandleCaption):
5958 * buffer.C (docbookHandleCaption): removed unused function.
5959 (makeDocBookFile): moved docbook supported version to v4.1.
5961 2001-10-24 José Matos <jamatos@fep.up.pt>
5964 * tabular.C (docbookRow): new function to export docbook code of a row.
5965 (DocBook): now honors the longtable flags.
5967 2001-10-23 José Matos <jamatos@fep.up.pt>
5970 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5971 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5973 * buffer.C (makeLinuxDocFile):
5974 (makeDocBookFile): reworked the preamble, more clean, and with
5975 support for lyx defined entities. Changed the document declaration
5976 to be more XML friendly.
5978 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5979 if we need to output XML that should be done with a filter.
5981 2001-10-22 Juergen Vigna <jug@sad.it>
5983 * sp_pspell.h (class PSpell): add alive function needed in the
5984 controller to see if the spellchecker could be started.
5986 2001-10-22 Juergen Vigna <jug@sad.it>
5988 * buffer.C (insertStringAsLines): modify the font for inserting
5989 chars in certain conditions by calling checkInsertChar(font).
5991 2001-10-19 Juergen Vigna <jug@sad.it>
5993 * text.C (workWidth): use getRow instead of wrong algorithm.
5994 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5996 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6001 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6003 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6005 * text.C (workWidth): do not search for the exact row when
6006 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6007 optimization for big documents.
6009 2001-10-18 Juergen Vigna <jug@sad.it>
6011 * text.C (workWidth): new function with added Inset * parameter.
6013 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6015 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6017 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6018 change return type of getColumnNearX.
6021 * text.C (changeRegionCase): use uppercase/lowercase instead of
6024 (rightMargin): simplify code by factoring out the uses of
6029 (appendParagraph): use Paragraph::size_type
6031 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6033 * vspace.C (asLatexString): add a missing break
6035 2001-10-15 Herbert Voss <voss@perce.de>
6037 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6039 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6041 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6044 2001-10-10 André Pönitz <poenitz@gmx.net>
6046 * lyxfunc.C: removed greek_kb_flag.
6048 2001-10-10 Herbert Voss <voss@perce.de>
6050 * lyx_main.C: delete global string help_lyxdir.
6052 2001-10-09 Herbert Voss <voss@perce.de>
6054 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6056 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6058 * lyx_main.C: added global string help_lyxdir.
6060 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6062 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6064 * lyxrc.C (set_font_norm_type): support iso8859-4
6066 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6068 * LaTeX.C (deplog): add another regex for MikTeX
6070 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6072 * lyxrc.C (set_font_norm_type): support iso8859-3
6074 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6076 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6078 * LaTeXFeatures.C: remove special case of french and index
6080 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6081 before \begin{document}). This solves several incompatibilities.
6083 2001-10-03 Garst Reese <reese@isn.net>
6085 * lyx_cb.C: change CheckTex error msg.
6087 2001-10-03 José Matos <jamatos@fep.up.pt>
6089 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6091 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6093 * .cvsignore: update
6095 * lyx_main.C (commandLineVersionInfo): use new style version info.
6097 * buffer.C (writeFile):
6100 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6102 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6104 * version.h: update to use stuff in version.C
6106 * version.C.in: new file. Contains version information determined
6107 at compile time. This is a merging of version.h and
6110 2001-10-03 Juergen Vigna <jug@sad.it>
6112 * BufferView_pimpl.C (update): don't change "dirty" status in
6115 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6117 * WorkArea.C (c-tor): re-position version string slightly.
6119 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6121 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6122 revert to previous code.
6124 WorkArea.[Ch]: (show, destroySplash): methods removed.
6126 WorkArea.C: rework code so that it's an amalgam of the codes before and
6127 after the splash screen was moved to WorkArea.
6129 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6132 * vspace.C (inPixels):
6135 * buffer.C (insertStringAsLines):
6136 (asciiParagraph): fix types to be large enough
6138 * lyxlex_pimpl.h: change member status from short to int
6140 * layout.h: fix type of endlabeltype
6143 * kbsequence.C (parse): change return type to string::size_type
6145 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6148 * Bullet.C (bulletSize):
6149 (bulletEntry): do not use short ints as parameters
6151 * BufferView2.C (insertLyXFile): change a char to an int.
6153 * WorkArea.C (WorkArea): remove unneeded floats in computation
6155 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6157 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6159 * paragraph.C (asString): Do not ignore newline/hfill chars when
6160 copying to the clipboard.
6162 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6164 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6165 after a multi-line inset.
6167 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6169 * paragraph.C (validate): Set NeedLyXFootnoteCode
6171 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6173 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6174 and decrease-error to decrease.
6176 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6178 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6179 it more readable (should be equivalent)
6181 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6183 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6185 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6187 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6188 of a cursor (row, etc.) after a character has been deleted
6189 (deleteEmptyParagraphMechanism): call the method above on _all_
6190 cursors held by the LyXText when a double space has been
6193 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6195 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6197 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6199 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6200 background. Use greyOut() and the new show() methods to toggle between
6201 the foreground and background. Add code to remove the splash after
6202 its initial showing.
6204 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6205 (create_forms): no longer call Dialogs::showSplash.
6207 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6209 * .cvsignore: add version_info.h
6211 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6213 * version_info.h.in: new file
6215 * Makefile.am: add version_info.h.in
6217 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6218 version_info.h instead of VERSION_INFO
6220 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6222 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6223 The ERT inset now returns string().
6225 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6227 * lyxtext.h, text.C (selectNextWord): renamed as
6228 selectNextWordToSpellcheck.
6230 * text.C (selectNextWordToSpellcheck): Modified to not select
6231 words inside an ERT inset.
6233 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6235 * lyx_cb.C (MenuLayoutSave): change a bit the question
6237 * sp_base.h: include <sys/types.h>
6239 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6241 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6243 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6245 * several files: fix typos in user-visible strings
6247 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6249 * text2.C (pasteSelection): do not set the selection, since it
6250 will be cleared later. Actually, the intent was to fix the way the
6251 selection was set, but I figured rmoving the code was just as good.
6253 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6255 * FontLoader.C (available): Check if font is available without
6258 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6260 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6262 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6264 * lyxrc.[Ch]: added display_graphics variable and associated code.
6266 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6268 * bufferparams.C (hasClassDefaults): new method. Returns true if
6269 the buffer parameters correspond to known class defaults
6271 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6273 * XFormsView.C (show): set minimum size to the main window.
6275 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6277 * text2.C (copySelection):
6279 * lyxfind.C (LyXReplace):
6280 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6281 LyXText::selectionAsString.
6283 * paragraph.C (asString): add "label" argument to the second form
6285 * text2.C (selectionAsString): add "label" argument and pass it to
6286 Paragraph::asString.
6288 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6290 * lyx_main.C (commandLineHelp): remove version information
6292 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6294 * lyx_main.C: add -version commandline option
6296 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6298 * paragraph.h: make the optional constructor arg required instead.
6299 some modifications to other files because of this.
6301 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6303 * lyxserver.C (C_LyXComm_callback): make it static
6305 * lyx_main.C (error_handler): make it static
6307 * lyx_gui.C (LyX_XErrHandler): make it static
6309 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6311 * WorkArea.C: make the extern "C" methods static.
6313 * Makefile.am (lyx_LDADD): simplify
6315 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6317 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6318 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6320 * LyXAction.C (init):
6321 * lyxfunc.C (dispatch): associated code removal.
6323 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6325 * lyxfont.h (isSymbolFont): shut off warning
6327 * text.C (setHeightOfRow):
6328 (getVisibleRow): fix crash with empty paragraphs which have a
6331 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6333 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6336 2001-09-04 José Matos <jamatos@fep.up.pt>
6339 * tabular.C (docbook): rename docBook method to docbook.
6341 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6343 * Makefile.am: add dependencies to main.o.
6345 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6347 * FontLoader.C (available): Return false if !lyxrc.use_gui
6349 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6351 * FontInfo.C (query):
6352 * converter.C (view):
6353 * importer.C (Import):
6354 * exporter.C (Export): Can not -> cannot.
6356 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6358 * BufferView_pimpl.C: allow to create index inset even if
6361 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6363 * buffer.C (getLists): replace boost::tie code with an explicit pair
6364 as boost::tie can break some compilers.
6366 * iterators.h: Added a std:: declaration to the return type of
6369 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6371 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6374 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6376 * iterators.[Ch]: New files. Provide paragraph iterators.
6378 * buffer.C (changeLanguage): Use paragraph iterators.
6379 (isMultiLingual): ditto
6381 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6383 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6385 * FontLoader.C: Support for cmr font.
6387 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6389 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6390 (available): New method.
6392 * FontInfo.C (getFontname): Use scalable fonts even when
6393 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6396 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6398 * converter.C (Formats::view): reverted! Incorrect fix.
6400 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6402 * converter.C (Formats::view): only output the -paper option
6403 if the dvi viewer is xdvi, thereby fixing bug #233429.
6405 2001-08-23 Herbert Voss <voss@perce>
6407 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6409 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6411 * Spacing.h (Spacing): Set space to Default on in the default
6414 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6416 * vc-backend.h (RCS::versionString): add RCS to version
6417 (CVS::versionString): add CVS to version
6419 * vc-backend.C (scanMaster): do not add CVS to version.
6420 (scanMaster): do not add RCS to version
6422 * lyxvc.C (versionString): new method
6424 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6426 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6428 * Spacing.C (set): initialize fval
6430 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6432 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6435 2001-08-16 Juergen Vigna <jug@sad.it>
6437 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6439 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6441 * BufferView_pimpl.C:
6444 * text2.C: setParagraph takes linespacing now
6446 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6448 * LyxAction.C: add internal LFUN_CITATION_INSERT
6450 * LyXView.C: actually apply fix
6452 * bufferlist.C: fix open non-existent file
6454 * lyxfind.C: fix indentation
6456 * lyxfunc.C: remove unneeded assert, fix typo
6458 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6460 * MenuBackend.C: use "Floatname List"
6462 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6464 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6465 when converting LaTeX layout to insetERT.
6466 Generate a non-collapsed float when reading old float
6468 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6470 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6473 2001-08-13 Juergen Vigna <jug@sad.it>
6475 * text.C (fill): return 0 instead of 20 as this seems to be the more
6478 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6480 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6483 2001-08-13 Juergen Vigna <jug@sad.it>
6485 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6487 (SearchBackward): comment out the unlocking of the inset_owner this
6488 should not be needed!
6490 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6492 * Many files: Remove inherit_language, and add latex_language
6494 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6497 2001-08-10 Juergen Vigna <jug@sad.it>
6499 * text.C (prepareToPrint): fixed hfill-width in draw!
6501 * BufferView2.C (selectLastWord): save the selection cursor as this
6502 now is cleared in the function LyXText::clearSelection!
6504 2001-08-08 Juergen Vigna <jug@sad.it>
6506 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6507 BACKSPACE type functions.
6509 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6510 is only cutted from the document but not put in the cut-buffer, where
6511 still the old stuff should be.
6513 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6515 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6517 * tabular.C (SetWidthOfCell): fixed special case where the width
6519 (LeftLine): handle '|' in align_special.
6521 (LeftAlreadyDrawed): ditto
6522 (SetWidthOfCell): ditto
6524 2001-08-07 Juergen Vigna <jug@sad.it>
6526 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6528 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6530 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6531 * lyxlex.[hC]: ditto
6533 2001-08-06 Juergen Vigna <jug@sad.it>
6535 * text.C (getVisibleRow): fix up row clearing a bit.
6537 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6539 * minibuffer.C: make sure the X server sees the changes in the input.
6541 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6543 * paragraph.C (getFont): split into...
6544 (getLabelFont): this
6545 (getLayoutFont): and this
6546 * paragraph_pimpl.C (realizeFont): calling this
6548 * text2.C (getFont): split into...
6549 (getLayoutFont): this
6550 (getLabelFont): and this
6551 (realizeFont): all three calling this
6553 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6556 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6558 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6560 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6562 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6563 layouts from the Quote inset insertion.
6565 2001-08-03 Juergen Vigna <jug@sad.it>
6567 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6569 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6570 only if status not is already CHANGED_IN_DRAW (second level).
6572 * text.C (draw): don't set the need_break_row when inside an
6575 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6577 * buffer.C (parseSingleLyXformat2Token): handle more latex
6580 * bufferview_funcs.[hC]: change function names to
6581 begin with small char, adjust other files.
6583 2001-08-02 André Pönitz <poenitz@gmx.net>
6586 BufferView_pimpl.C: remove broken special code for math-greek
6588 2001-08-02 Juergen Vigna <jug@sad.it>
6590 * BufferView_pimpl.C (update): redone this function so that we
6591 update the text again if there was a CHANGE_IN_DRAW.
6593 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6594 (drawFromTo): added a new internal bool which is used by draw() and
6596 (general): some cursor drawing problems fixed.
6598 2001-08-01 Juergen Vigna <jug@sad.it>
6600 * lyxfind.C (LyXFind): fixed
6601 (SearchForward): ditto
6602 (SearchBackward): ditto
6604 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6605 spurius drawing of the cursor in the main area.
6607 * text2.C (status): small fix which could lead to a segfault!
6608 (clearSelection): remove unneeded BufferView param.
6610 2001-08-01 André Pönitz <poenitz@gmx.net>
6612 * lyxfunc.C: small change due to changed mathed interface
6614 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6616 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6618 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6620 * lyxfunc.c: fail gracefully if file doesn't exist
6625 * BufferView_pimpl.C: IsDirWriteable() proto changed
6627 * LyXView.C: fix updateWindowTitle() to store the last title
6629 2001-07-31 Juergen Vigna <jug@sad.it>
6631 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6632 the font (wrong since using of Paragraph::highestFontInRange).
6634 * paragraph.C (highestFontInRange): added a default_size parameter.
6636 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6637 (setHeightOfRow): reformat
6639 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6641 * converter.[hC] + affected files: move to (inital-char)lowercase
6644 * ParagraphParameters.C (ParagraphParameters): remove commented code
6646 * PainterBase.[Ch]: remove commented code
6648 * LaTeXFeatures.h: add "bool floats" for float.sty
6650 * LaTeXFeatures.C (LaTeXFeatures): init floats
6651 (require): handle float
6652 (getPackages): do it with floats
6654 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6656 * BufferView_pimpl.C (Dispatch): improve handling of
6657 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6659 * commandtags.h: #include lyxfont.h here temporarily to avoid
6662 * bufferlist.h: include LString.h here.
6664 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6666 * text2.C (getStringToIndex): new method.
6668 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6670 * *: Reduced header file dependencies all over.
6672 2001-07-30 Baruch Even <baruch@lyx.org>
6674 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6676 2001-07-29 Baruch Even <baruch@lyx.org>
6678 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6680 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6682 * ParameterStruct.h (endif): add a default constructor to make
6683 sure that all variables is initialized.
6685 * ParagraphParameters.C (ParagraphParameters): adjust
6687 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6689 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6690 index; also, check that there is something to index, and that it
6691 does not span over several paragraphs.
6692 (doubleClick): use WHOLE_WORD_STRICT for double click.
6694 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6696 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6699 2001-07-26 Baruch Even <baruch@lyx.org>
6701 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6702 an InsetFig figure, backwards compatible reading of old figure code.
6704 2001-07-27 Juergen Vigna <jug@sad.it>
6706 * text2.C: font.realize function adaption.
6708 * text.C (draw): add a warnings lyxerr text if needed.
6710 * layout.C: font.realize function adaption.
6712 * language.C: add inherit_language and implement it's handlings
6714 * bufferview_funcs.C (StyleReset): remove language parameter from
6715 font creation (should be language_inherit now).
6717 * bufferparams.C (writeFile): handle ignore_language.
6719 * paragraph.C (getFontSettings): the language has to be resolved
6720 otherwise we have problems in LyXFont!
6722 * lyxfont.C (lyxWriteChanges): added document_language parameter
6723 (update): removed unneeded language parameter
6725 * paragraph.C (validate): fixed wrong output of color-package when
6726 using interface colors for certain fonts in certain environments,
6727 which should not seen as that on the final output.
6729 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6731 * BufferView_pimpl.C:
6736 * LyXAction.C: add thesaurus support
6739 * lyxfind.C: add "once" parameter, for thesaurus, to not
6740 move to the next match
6742 2001-07-26 Juergen Vigna <jug@sad.it>
6744 * lyxfont.C (realize): honor ignore_language too!
6747 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6749 * text.C (draw): one place more for ignore_language to not draw
6752 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6754 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6756 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6758 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6759 the minipage conversion problem.
6761 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6763 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6766 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6768 * BufferView.h: don't forward declare WorkArea
6770 * BufferView.C: don't include WorkArea.h
6772 2001-07-25 André Pönitz <poenitz@gmx.net>
6776 * lyxfunc.C: new LFUN 'math-space'
6778 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6780 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6782 * text2.C (toggleInset): call open/close
6784 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6786 * lyxfunc.C (dispatch): add debug for the disabled case
6788 * font.C (buttonText): make similar to rectText
6790 * buffer.C (readInset): comment out parsing of insetlist and
6793 * PainterBase.C (rectText): small correction
6795 * BufferView_pimpl.C: comment out insettheorem and insetlist
6796 * LyXAction.C: ditto
6797 * commandtags.h: ditto
6799 2001-07-24 Juergen Vigna <jug@sad.it>
6801 * text.C (draw): honor the ignore_language.
6803 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6805 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6807 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6810 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6812 * lyxtext.h: remove unused (and unimplemented) methods
6814 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6816 * text.C (getVisibleRow): honor background color
6819 * Painter.h: remove default color argument for fillRectangle
6821 * text.C (backgroundColor): new method
6823 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6825 * text.C (getVisibleRow): adjust
6827 * font.[Ch] (rectText): new method, metrics
6828 (buttonText): new method, metrics
6830 * PainterBase.[hC]: make rectText and buttonText always draw and take
6833 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6835 * ToolbarDefaults.C (read):
6836 * MenuBackend.C (read): allow escaping in all strings
6838 * BufferView_pimpl.C (insertAndEditInset): new method.
6839 (Dispatch): use insertAndEditInset whenever appropriate.
6841 * BufferView_pimpl.C (insertNote): removed
6843 * BufferView_pimpl.C (smartQuote): new method, moved from
6844 BufferView; if an insetquote cannot be inserted, insert a '"'
6847 * BufferView2.C: remove insertCorrectQuote();
6849 * lyxfunc.C (getStatus): Add support for all remaingin
6852 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6854 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6855 command (necessary to pass " as parameter of self-insert.
6857 * text.C (selectWordWhenUnderCursor):
6858 (selectWord): add word_location parameter
6859 (selectWordWhenUnderCursor): same + remove special code for word
6861 (selectNextWord): use kind() to guess type of insetspecialchar,
6864 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6865 (insertErtContents): create ert insets as collapsed.
6866 (readInset): better compatibility code for Info inset.
6868 2001-07-20 Juergen Vigna <jug@sad.it>
6870 * lyxfunc.C (dispatch): use always LyXFind now!
6872 * text2.C (init): add a reinit flag so that the LyXText can be
6873 reinited instead of deleted and reallocated (used in InsetText).
6875 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6881 2001-07-18 Juergen Vigna <jug@sad.it>
6883 * text.C (selectNextWord): handle insets inside inset by calling
6884 always the bv->text functions so that we can go up the_locking_inset!
6886 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6887 in strange locations when inside an inset!
6889 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6890 handling to include insets.
6892 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6894 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6896 * LyXAction.C (init):
6898 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6899 LIGATURE_BREAK, since the name is so stupid.
6901 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6903 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6906 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6908 * sp_form.[Ch]: remove.
6910 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6912 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6915 * src/buffer.C (readInset): ditto.
6917 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6919 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6920 menuSeparator(), endOfSentenceDot(), ldots() and
6921 hyphenationPoint(), which are therefore removed.
6922 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6924 * LyXAction.C (init):
6925 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6927 * paragraph.C (getWord): removed.
6929 * BufferView_pimpl.C (Dispatch): use last word or selection for
6930 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6932 * lyx_main.C (queryUserLyXDir): do not ask before creating
6933 user_dir, except if it has been named explicitely.
6935 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6937 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6938 a document of zero size.
6940 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6942 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6943 approriately in the c-tor and in require().
6944 (getPackages): output the appropriate LaTeX for natbib support.
6946 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6947 variables "use_natbib" and "use_numerical_citations" when reading the
6949 (readInset): read the various natbib cite commands.
6950 (validate): white-space change.
6952 * bufferparams.[Ch]: new variables "bool use_natbib" and
6953 "bool use_numerical_citations".
6954 (writeFile): output them in the LyX file.
6956 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6958 * lyxfunc.C (getStatus): add support for all the inset insertion
6961 * text2.C (insertInset):
6962 * paragraph.C (insetAllowed):
6963 * BufferView_pimpl.C (insertInset): update to take in account the
6964 renaming of insertInsetAllowed
6966 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6968 * text2.C (getInset): new method. returns inset at cursor position.
6970 * BufferView_pimpl.C (Dispatch): changes because of this.
6972 * LyXAction.C (init): rename open-stuff to inset-toggle.
6974 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6976 * text2.C (toggleInset): renamed from openStuff; use
6979 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6981 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6983 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6985 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6987 * buffer.C (readLyXformat2): Add filename to the error dialog
6989 2001-07-18 Juergen Vigna <jug@sad.it>
6991 * tabular.C (GetCellNumber): put an assert here instead of the check!
6993 2001-07-17 Juergen Vigna <jug@sad.it>
6995 * BufferView_pimpl.C (toggleSelection): adapted too.
6997 * text.C (selectNextWord): adapted for use with insets.
6998 (selectSelectedWord): ditto
7000 2001-07-17 Juergen Vigna <jug@sad.it>
7002 * sp_spell.C (PSpell): fix initialitation order.
7004 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7006 * paragraph.C: spacing
7008 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7010 * sp_spell.C: repair language selection for pspell
7012 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7014 * lyxfunc.h: change more methods to begin with lower char.
7016 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7018 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7019 for unknown layouts.
7021 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7023 * buffer.C (readLyXformat2): Generate an error dialog if there are
7026 2001-07-16 Juergen Vigna <jug@sad.it>
7028 * sp_spell.C: always compile ISpell part.
7030 * lyxrc.C: added use_pspell entry and it's handling.
7032 2001-07-13 Juergen Vigna <jug@sad.it>
7034 * sp_spell.C: removed double includes.
7036 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7038 Consistent use of Lsstream.h:
7039 * Lsstream.h: added using std::stringstream for consistencies sake.
7041 * buffer.C: removed using std::stringstream
7043 * lyxfont.C (stateText):
7044 * paragraph.C (asString):
7045 * text.C (selectNextWord, selectSelectedWord):
7046 * text2.C (setCounter):
7047 * vspace.C (asString, asLatexString):
7048 std::ostringstream -> ostringstream.
7050 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7052 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7053 * commandtags.h: add LFUN_HELP_ABOUTLYX
7054 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7056 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7058 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7060 * lyx_gui_misc.C: remove spellchecker
7061 * lyxfunc.C: showSpellchecker
7063 * sp_ispell.h: added
7064 * sp_pspell.h: added
7066 * sp_form.[Ch]: removed
7067 * spellchecker.[Ch]: removed
7069 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7071 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7073 (simpleTeXSpecialChars): Simply print the input character without
7074 any special translation if pass_thru is set.
7076 * layout.h: Added bool pass_thru to layout class for being able to
7077 implement pass through of a paragraph for Literate Programming.
7079 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7080 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7081 * layout.C (Read): add "passthru" to list of layout tags and add
7082 code to set the pass_thru boolean when it is read.
7084 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7086 * trans_decl.h: remove allowed from KmodInfo
7088 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7092 * paragraph_pimpl.C (erase): use boost::prior
7094 * Painter.C (text): use data() instead of c_str() when length is
7096 * WorkArea.C (putClipboard): ditto
7097 * font.h (width): ditto
7099 * BufferView2.C: use it-> instead of (*it). for iterators
7101 * paragraph_pimpl.C: ditto
7102 * paragraph.C: ditto
7103 * minibuffer.C: ditto
7108 * converter.C: ditto
7110 * Variables.C: ditto
7111 * TextCache.C: ditto
7112 * MenuBackend.C: ditto
7113 * LyXAction.C: ditto
7115 * FloatList.C: ditto
7117 * ColorHandler.C (LyXColorHandler): ditto
7119 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7121 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7123 * text2.C (openStuff): reintroduce this method (which had been
7124 nuked in NEW_INSETS frenzy).
7126 * lyxfunc.C (Dispatch): when an action has not been handled, use
7127 its name in the error message, not its number.
7129 * paragraph.C (inInset): change method name to begin with lowercase.
7132 * text2.C: updates because of this.
7134 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7136 * ToolbarDefaults.C (add): add spaces in error message
7138 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7140 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7141 (readLyXformat2): rename return_par to first_par, use lyxlex's
7142 pushToken and remove the manual push handling.
7143 (parseSingleLyXformat2Token): add another ert comp. variable:
7144 in_tabular, rename return_par to first_par. handle newlines better
7146 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7148 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7150 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7152 * text2.C (getParFromID): removed
7154 * buffer.C (getParFromID): new method moved form lyxtext.
7155 * BufferView2.C (insertErrors): adjust
7156 (setCursorFromRow): adjust
7157 * BufferView_pimpl.C (restorePosition): adjust
7158 * lyxfunc.C (Dispatch): adjust
7159 * undo_funcs.C (textUndo): adjust
7161 (textHandleUndo): adjust
7162 (textHandleUndo): adjust
7164 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7166 * buffer.C: up' the LYX_FORMAT
7168 * lyxfont.h: turn NO_LATEX on as default
7170 * buffer.C (insertErtContents): new methods of tex style compability.
7171 (parseSingleLyXformat2Token): use it several places.
7172 * tabular.C (OldFormatRead): and here
7174 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7176 * text2.C: remove some commented code.
7179 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7180 * trans.C: changes because of the above.
7182 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7184 * text2.C (setCounter): Fix counters bug with bibliography layout.
7186 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7188 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7189 own member functions
7190 (simpleTeXSpecialChars): ditto
7192 2001-07-06 Juergen Vigna <jug@sad.it>
7194 * a lot of files: changed the access to LyXText::status and the
7195 call of undo-functions.
7197 * undo.[Ch]: added a inset_id to the undo informations.
7199 * undo_funcs.[Ch]: added and moved here all undo functions.
7201 * lyxtext.h: give the status enum a weight, made status_ a private
7202 variable and made accessor functions for it, removed the whole bunch
7203 of undo-functions as they are now in their own file, make some
7204 functions publically available. Added function ownerParagraph with
7207 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7208 made InInset() a const function, added getParFromID() function.
7210 * buffer.[Ch]: added const version for inset_iterator functions,
7211 added getInsetFromID() function.
7213 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7214 changed undo functions for new version.
7216 2001-07-05 Juergen Vigna <jug@sad.it>
7218 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7219 unknow mechanism does not call the proper constructor but only this
7220 one also if I request the other!?
7222 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7224 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7226 * text2.C (LyXText): use initialization lists.
7228 * lyxtext.h (Selection): initialize set_ and mark_
7229 (init): remove method
7231 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7233 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7235 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7237 * screen.[Ch]: change method names to begin with lowercase
7239 * BufferView_pimpl.C (updateScrollbar): simplify further and
7240 hopefully make it a bit faster.
7242 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7244 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7245 calling directly xforms functions.
7247 * Painter.C (Painter):
7248 * lyx_cb.C (MenuWrite):
7249 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7252 * lyx_gui.C: remove bogus guiruntime extern declaration.
7254 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7256 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7258 (redoDrawingOfParagraph): ditto
7259 (redoParagraphs): ditto
7260 (cutSelection): don't create a object for CutAndPaste use the
7261 static method directly
7262 (pasteSelection): ditto
7264 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7267 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7269 * modifications to some other files because of this.
7271 * Makefile.am (lyx_SOURCES): add XFormsView
7273 * XFormsView.[Ch]: new files
7275 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7276 the main window. Move the gui dependent stuff to XFormsView
7278 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7280 * tabular.C (GetCellInset): update cur_cell also in the row/col
7281 version of this function.
7283 * lyxfunc.C: no need to include figure_form.h here.
7289 * lyxvc.C: no need to include forms.h here.
7291 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7293 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7295 * lyxfunc.C (Dispatch):
7297 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7298 constructor argument.
7300 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7302 * paragraph.C (Paragraph): dont't clear, and just set layout.
7303 (makeSameLayout): use params's copy contructor.
7305 * ParagraphParameters.[Ch] (makeSame): delete method
7307 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7309 * Variables.[Ch]: fix indentation, rename set to isSet
7311 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7313 * lyxfunc.C (Dispatch): fix typo
7315 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7317 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7320 * bufferlist.C: include assert.h for emergencyWrite().
7322 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7324 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7325 give up at last (bug #425202) !
7327 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7333 * spellchecker.C: strip spellchecker options and bring up
7334 preferences tab instead
7336 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7338 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7339 the istringstream constructor
7341 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7343 * paragraph.C (getLayout): fix return value
7345 * paragraph.h: do not declare getLayout as inline.
7347 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7349 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7351 * lyxcursor.h (operator<): new func
7352 (operator>): new func
7353 (operator>=): new func
7354 (operator<=): new func
7356 * text.C (changeCase): use selection.start and selection.end
7357 (changeRegionCase): require from to be <= to. Require par to be a
7360 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7362 2001-06-27 Juergen Vigna <jug@sad.it>
7364 * text.C (cursorLeftOneWord): changed to return the cursor and added
7365 overlay with BufferView * parameter which calls this one.
7367 (selectWord): use new getWord function.
7368 (changeCase): renamed from changeWordCase as and extended to work
7371 * lyxtext.h: added enum word_location
7373 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7374 changeCase as this operates now also on selections.
7376 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7378 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7380 * many files: send debug output to Debug::INFO instead of
7383 * converter.C (View):
7385 (Move): send debug output to Debug::FILES instead of console.
7387 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7389 * lyxfunc.C (getStatus): use func_status
7391 * func_status.h: new header, describing the results of
7394 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7397 2001-06-25 The LyX Project <jug@sad.it>
7399 * buffer.C (sgmlOpenTag):
7401 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7403 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7405 * text2.C: remove some dead code
7407 * tabular.C (GetCellInset): store the last cell checked (gotten)
7409 * tabular.h: add the helper for the speedup
7411 * lyxtext.h: remove some dead code
7413 2001-06-26 The LyX Project <Asger>
7415 * paragraph.C: Change export to LaTeX of alignment to
7416 \begin{center} and family for better roundtrip work with reLyX.
7418 * Tune the math drawing a bit.
7420 2001-06-25 The LyX Project <Asger>
7422 * LColor.C (LColor): New color for math background. New color
7425 2001-06-25 The LyX Project <jug@sad.it>
7427 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7430 * bufferlist.C (newFile): do not restrict to files ending with
7433 * BufferView_pimpl.C (MenuInsertLyXFile):
7435 2001-06-24 The LyX Project <jug@sad.it>
7437 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7440 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7442 * lyxtext.h: rename most methods to begin with a small char.
7443 Lots of changes because of this.
7445 * paragraph.C (Paragraph): do not call fitToSize
7446 (erase): call Pimpl::erase
7447 (insertChar): call Pimpl::insertChar
7448 (insertInset): call Pipl::insertInset
7449 (breakParagraph): do not call fitToSize
7450 (breakParagraphConservative): do not call fitToSize
7451 (fitToSize): remove method
7453 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7455 2001-06-24 The LyX Project <Asger>
7457 * Fix Qt compilation^2
7459 2001-06-24 The LyX Project <jug@sad.it>
7461 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7462 depthHook(getDepth()-1).
7465 * ParagraphParameters.h:
7466 * ParameterStruct.h: change type of depth to unsigned int ==
7467 depth_type. Many adaptations to other files before of that.
7469 2001-06-24 The LyX Project <Asger>
7471 * Fix Qt compilation.
7473 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7475 * paragraph.h: renamed several methods to begin with small letter.
7476 several changes to many parts of the code because of this.
7478 2001-06-23 The LyX Project <jug@sad.it>
7480 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7481 rewritten to discard all double spaces when KeepEmpty is off
7482 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7483 to only handle newlines but not fiddle with spaces and friends.
7485 * lyxfunc.C (MenuNew): when doing 'new from template', use
7486 template_path as default directory
7488 2001-06-23 The LyX Project <Asger>
7490 * Clean-up of header file includes all over
7491 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7493 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7495 * paragraph.h: renamed from lyxparagraph.h
7497 2001-06-23 Asger <lyx@violet.home.sad.it>
7499 * Buffer.h: Removed Buffer::resize
7500 * BufferList.h: Removed BufferList::resize
7501 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7502 the document lazily when we change the width, or the font settings.
7504 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7506 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7508 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7510 * buffer.h: remove out of date comment
7512 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7515 * screen.C: fix "theoretical" GC leak
7517 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7519 * LaTeX.C (scanAuxFile):
7520 (deplog): remove trailing \r when reading stream (useful under
7523 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7525 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7526 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7527 and BufferView::theLockingInset(Inset*), so should use them and not
7528 access bv_->text->the_locking_inset directly.
7530 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7532 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7535 * tex-defs.h: remove old unused file
7537 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7539 * BufferView_pimpl.C: fix typo, remove minibuffer message
7540 when buffer has loaded
7542 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7544 * lyxfunc.C (Dispatch): use stringstream
7545 (MenuNew): use stringstream
7546 (Open): use stringstream
7548 * importer.C (Import): use stringstream
7550 * bufferview_funcs.C (CurrentState): use stringstream
7552 * LaTeX.C (run): use stringstream
7554 * BufferView_pimpl.C (savePosition): use stringstream
7555 (restorePosition): use stringstream
7556 (MenuInsertLyXFile): use stringstream
7558 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7571 * vspace.C: removed // -*- C++ -*- as first line.
7574 * version.h: added // -*- C++ -*- as first line.
7576 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7578 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7580 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7583 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7585 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7588 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7590 * gettext.C: include LString.h even when --disable-nls is on.
7592 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7594 * converter.h (Get): changed argument type from int to
7595 FormatList::size_type to avoid unnecessary conversion.
7597 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7600 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7602 * gettext.h: include LString.h even when --disable-nls is on.
7604 2001-06-07 Juergen Vigna <jug@sad.it>
7606 * text.C (BreakAgain): subst spaces with tabs.
7608 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7609 (resizeInsetsLyXText): set force on resizeLyXText.
7611 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7613 * gettext.h (gettext_init):
7614 (locale_init): use a real definition instead of a macro
7616 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7618 * Bufferview_pimpl.C:
7620 * LColor.C: further lcolor tidies
7622 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7624 * BufferView_pimpl.C (updateScrollbar): simplify.
7626 * BufferView2.C: don't include insets/insetinfo.h, change
7627 prototype for insertInset and call the Pimpl version. let
7628 updateInset call Pimpl version.
7630 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7631 gotoInset to BufferView::Pimpl
7633 2001-06-01 Juergen Vigna <jug@sad.it>
7635 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7636 inside a LockingInset (is the update needed at all?).
7638 2001-05-31 Juergen Vigna <jug@sad.it>
7640 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7641 here not the old one otherwise how should we compare it afterwards
7644 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7649 * FontInfo.C: bring C functions into global namespace when
7652 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7654 * LString.h: make sure config.h has been loaded before LString.h.
7656 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7657 (one for each char read by EatLine!).
7659 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7662 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7664 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7665 to the same as the par we break from
7667 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7669 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7671 * MenuBackend.C (expand): also create menu entries for wide
7672 versions of the floats.
7674 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7676 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7678 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7679 frontends/Makefile.am
7685 * tabular.C (getTokenValue): add std::
7687 * tabular-old.C (getTokenValue): add std::
7688 (getTokenValue): ditto
7689 (getTokenValue): ditto
7691 * screen.C (ToggleSelection): adjust
7693 * lyxtext.h: put selection cursors inside a Selection struct.
7695 * lyxfunc.C (moveCursorUpdate): adjust
7697 * lyxfont.C (latexWriteStartChanges): add std::
7701 * font.h: delete with(char const *, LyXFont const &)
7703 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7705 * FontInfo.C (getFontname): add std::
7707 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7708 (workAreaButtonPress): adjust
7709 (tripleClick): adjust
7711 (moveCursorUpdate): adjust
7714 * BufferView2.C (gotoInset): adjust
7716 2001-05-30 Juergen Vigna <jug@sad.it>
7718 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7719 to check pspell I add this as default as I now have new pspell
7720 libraries and they seem to use this.
7722 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7724 * text2.C (CutSelection): make the cursor valid before the call to
7727 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7729 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7730 relied on 0 terminated strings and other horrors. Bug found due to
7731 the new assert in lyxstring!
7733 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7736 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7738 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7741 * lyxfunc.C (processKeySym): change method of getting to the
7744 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7745 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7746 * BufferView_pimpl.[Ch]: here as private methods.
7748 2001-05-28 Juergen Vigna <jug@sad.it>
7750 * text.C (SetHeightOfRow): added the update() call again as it is
7751 needed to initialize inset dimensions!
7753 2001-05-16 Juergen Vigna <jug@sad.it>
7755 * text2.C (SetCharFont): Add new function with BufferView * and
7756 bool toggleall parameters for setting insets internal fonts.
7757 (SetFont): Freeze the undo as we may change fonts in Insets and
7758 all this change should be inside only one Undo!
7760 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7761 setting font's in insets as for them we have the SetFont function!
7763 2001-05-15 Juergen Vigna <jug@sad.it>
7765 * text2.C (ClearSelection): to be sure we REALLY don't have any
7768 * tabular.C (TeXCellPreamble): fixed the left border problem for
7771 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7773 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7776 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7778 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7779 LFUN_BREAKPARAGRAPH.
7781 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7782 help test to "internal only", similar for LFUN_INSERT_URL
7784 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7785 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7786 auto_region_delete and deadkeys.
7788 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7791 * LColor.C: remove some dead entries, tidy a little
7793 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7795 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7797 (Dispatch): implement LFUN_ESCAPE
7799 * commandtags.h: add LFUN_ESCAPE
7801 * LyXAction.C (init): add entry for LFUN_ESCAPE
7803 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7804 Remove commented code.
7805 (insertNote): moved here
7806 (open_new_inset): moved here
7808 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7811 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7813 * kbmap.C (findbinding): clean it up and make it work correctly.
7815 * lyx_main.C (init): do not pass argc and argv as parameters
7817 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7819 * buffer.C: fix path for OS/2 & Win32
7823 * lyx_main.C: Added os:: class.
7825 * os2_defines.h: update
7827 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7829 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7830 better by trying again with reduced state.
7832 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7834 * lyxrc.C (read): print error about invalid key sequence only when
7835 debugging (because not all latinX keysyms are known to some X
7838 * kbsequence.C (getiso): add a few std:: qualifiers
7839 (getiso): comment out extra return statement.
7841 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7843 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7845 (Dispatch): enhance the accent inset a bit. (not perfect)
7847 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7849 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7851 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7853 * bufferlist.C (emergencyWrite): fix assert() call
7855 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7857 * text.C (InsertChar): Added trivial patch to only send the "you
7858 can not do multiple spaces this way" message once during a
7861 2001-05-08 Baruch Even <baruch@lyx.org>
7863 * Makefile.am: Changed order of libraries to get LyX to link properly
7864 with the gnome frontend.
7866 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7868 * LaTeXFeatures.h: add a std:: qualifier
7870 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7872 * paragraph.C (String): use stringstream
7874 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7876 * paragraph.C (writeFile): remove footflag arg
7878 * buffer.C (makeLaTeXFile): use stringstream
7879 (latexParagraphs): remove footnot gurba
7881 * LaTeXFeatures.C (getPackages): use stringstream
7882 (getMacros): likewise
7883 (getTClassPreamble): likewise
7884 (getFloatDefinitions): new method
7886 * paragraph.C (writeFile): reindent
7889 * WorkArea.h: revert the xpos + etc changes.
7891 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7893 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7895 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7896 (pasteSelection): likewise
7897 * text2.C (CreateUndo): likewise
7899 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7901 * minibuffer.C (peek_event): temporarily reduce the functionality
7902 of the minibuffer (to allow args on lfuns)
7904 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7905 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7907 * buffer.C (readInset): add compability reading of old float
7908 lists, add reading of new style float list.
7909 (readInset): avoid reevaluation of inscmd.getCmdName()
7910 (getLists): reindent
7912 * MenuBackend.C (MenuItem): implement parsing of
7913 md_floatlistinsert and md_floatinsert.
7914 (expand::LastFiles): move initalizaton of iterators out of loop,
7916 (expand::Documents): introduce typdedef vector<string> Strings,
7918 (expand::ExportFormats): introduce typedef vector<Format const *>
7919 Formats, and use it.
7920 (expand): implement FloatListInsert and FloatInsert.
7922 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7923 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7924 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7926 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7928 (Dispatch::LFUN_FLOAT_LIST): implement
7930 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7932 * LaTeX.C (run): Fix problem with --export code.
7934 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7936 * BufferView.[Ch] (workarea): removed.
7937 (getClipboard) new method; wrapper for workarea()->getClipboard()
7939 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7942 * WorkArea.h (width, height, xpos, ypos): These methods all
7943 returned the dimensions of the work_area sub-area of WorkArea,
7944 resulting in a position error if the WorkArea were resized. Now
7945 return the dimensions of the entire WorkArea.
7947 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7949 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7951 * LaTeX.C (deplog): correct the syntax of regex reg1
7953 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7955 * undo.C: remove !NEW_INSETS cruft
7957 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7959 * text2.C: remove !NEW_INSETS cruft
7961 * text.C: remove !NEW_INSETS cruft
7963 * tabular.C: remove !NEW_INSETS cruft
7965 * spellchecker.C: remove !NEW_INSETS cruft
7967 * lyxtext.h: remove !NEW_INSETS cruft
7969 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7971 * lyxfunc.C: remove !NEW_INSETS cruft
7973 * lyxfind.C: remove !NEW_INSETS cruft
7975 * lyx_cb.C: remove !NEW_INSETS cruft
7977 * figureForm.C: remove !NEW_INSETS cruft
7979 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7981 * buffer.[Ch]: remove !NEW_INSETS cruft
7983 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7985 * CutAndPaste.C: remove !NEW_INSETS cruft
7987 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7989 * BufferView2.C: remove !NEW_INSETS cruft
7991 * BufferView.h: remove !NEW_INSETS cruft
7993 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7995 * Lsstream.h: include LString.h before the sstream headers to
7996 fix problem with gcc 2.95.3 and lyxstring
7998 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8000 * lyx_main.C: add using directives when needed for C functions
8001 declared in std:: namespace.
8003 2001-04-27 Juergen Vigna <jug@sad.it>
8005 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8006 (SetHeightOfRow): comment out the update call should not be needed!
8008 2001-04-13 Juergen Vigna <jug@sad.it>
8010 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8011 (LyXTabular): tried to minimize operator= operations (and realized
8012 hopfully Lars wish).
8014 2001-04-27 Juergen Vigna <jug@sad.it>
8016 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8018 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8020 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8022 * buffer.C (readInset): hack to make listof algorithm work
8024 * BufferView_pimpl.C: hack to make listof algorithm work
8026 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8028 * LyXAction.C: removed all !NEW_INSETS cruft
8029 (init): moved lfun_item in method
8031 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8033 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8035 * BufferView2.C (theLockingInset): white space.
8037 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8039 * minibuffer.C: include <iostream>
8041 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8043 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8045 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8047 * text.[Ch] (TransposeChars): new method
8049 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8051 * call message directly through LyXView instead of through LyXFunc
8052 * BufferView2.C: adjust
8053 * BufferView_pimpl.C: adjust
8054 * FontLoader.C: adjust
8056 * bufferview_funcs.C: adjust
8057 * converter.C: adjust
8058 * figureForm.C: adjust
8059 * importer.C: adjust
8061 * lyx_gui_misc.C: adjust
8065 + more files in subdirs
8067 * lyxparagraph.h (size): move up int file
8070 * adjust all uses of Assert to lyx::Assert.
8072 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8073 lyxfunctional in namespace lyx
8074 * layout.C (hasLayout): ditto
8077 (delete_layout): ditto
8078 (NumberOfClass): ditto
8079 * converter.C (GetFormat): ditto
8084 * bufferlist.C (getFileNames): ditto
8085 (emergencyWriteAll): ditto
8088 * MenuBackend.C (hasSubmenu): ditto
8091 * BufferView_pimpl.C (getInsetByCode): ditto
8093 2001-04-18 Juergen Vigna <jug@sad.it>
8095 * vspace.C (asLatexString): fixed the 100% problem.
8097 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8099 * lyxfunc.C (Dispatch):
8101 * minibuffer.h: add a few std:: qualifiers
8103 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8105 * minibuffer.[Ch]: reimplement so that commands is initiated and
8106 run from lyxfunc, simplified som handling, and made the completion
8107 and history code for complete. wip.
8109 * lyxfunc.C (processKeySym): call message
8110 (miniDispatch): new temporary method
8111 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8112 (LFUN_MESSAGE): implement
8113 (LFUN_MESSAGE_PUSH): implement
8114 (LFUN_MESSAGE_POP): implement
8115 (initMiniBuffer): the initial/defualt minibuffer message.
8117 * lyxfont.[Ch]: inline some more getters
8119 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8121 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8123 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8124 (AutoSave): use LFUN_MESSAGE
8125 (Reconfigure): ditto
8127 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8129 * figureForm.C: use LFUN_MESSAGE
8131 * converter.C (runLaTeX): use LFUN_MESSAGE
8133 * bufferview_funcs.C: use LFUN_MESSAGE
8135 (changeDepth): ditto
8137 * bufferparams.h: use boost::
8139 * bufferlist.h: inherit privately from noncopyable
8141 * bufferlist.C (loadLyXFile): remove some commented code.
8143 * buffer.C (runChktex): use LFUN_MESSAGE
8145 * ShareContainer.h: inherit privately from noncopyable
8147 * ParagraphParameters.[hC] (depth): inline it.
8149 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8151 (message): new method
8152 (messagePush): ditto
8154 (show): init minibuffer
8155 (showState): direct call
8157 * LaTeX.[Ch]: inherit privately from noncopyable
8158 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8159 instead of WriteStatus.
8161 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8163 * BufferView_pimpl.C (buffer): don't init minibuffer
8164 (workAreaButtonPress): use LFUN_MESSAGE
8165 (workAreaButtonRelease): ditto
8166 (savePosition): ditto
8167 (restorePosition): ditto
8168 (MenuInsertLyXFile): ditto
8169 (workAreaExpose): don't init minibuffer
8170 (update): remove commented code, simplify
8172 * BufferView2.C (openStuff): use LFUN_MESSAGE
8173 (toggleFloat): ditto
8176 (copyEnvironment): ditto
8177 (pasteEnvironment): ditto
8182 (updateInset): remove some commented code
8184 * lastfiles.h: inherit privately from noncopyable
8189 * lyxlex_pimpl.h: ditto
8191 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8192 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8193 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8195 * LyXAction.h: inherit privately from noncopyable, add methods
8196 func_begin, func_end, returning iterators to the func map.
8198 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8199 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8200 (func_begin): new method
8201 (func_end): new method
8203 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8205 (copySelection): ditto
8206 (pasteSelection): ditto
8208 * BufferView.C: whitespace change
8209 * BufferView.h: inherit privately from noncopyable
8211 2001-04-16 Allan Rae <rae@lyx.org>
8213 * tabular-old.C (l_getline):
8214 * spellchecker.C (sc_check_word):
8215 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8216 an unrecognised preprocessor directive. So ensure they're wrapped.
8218 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8220 * src/exporter.C (Export): Give an error message when path to file
8223 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8225 * LaTeX.C (deplog): Always check that foundfile exists.
8227 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8230 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8232 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8234 * tabular.[Ch] (getLabelList): implement new method
8236 * minibuffer.h: comment ouf setTiimer
8238 * minibuffer.C (ExecutingCB): constify res
8239 (peek_event): constify s
8240 (Set): constify ntext
8241 (Init): constify nicename
8243 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8245 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8246 (savePosition): use two params to Minibuffer::Set
8247 (restorePosition): ditto
8249 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8251 * lyx_main.C: include language.h
8253 * Makefile.am (lyx_main.o): add language.h
8255 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8261 * CutAndPaste.C: include gettext.h
8263 * lyxfont.h: remove old hack with ON and OFF.
8266 * lyxfont.h: do not include language.h...
8271 * bufferview_funcs.C:
8277 * paragraph.C: ... but do it here instead
8279 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8281 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8283 * tabular.C: small reformat
8285 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8288 (BreakParagraph): ditto
8289 (SetOnlyLayout): ditto
8292 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8295 * lastfiles.C: removed most using decl, add std:: where needed
8297 * buffer.C: ws changes
8299 * MenuBackend.C (class compare_format): put into anon namespace
8300 (expand): constify label, names, action, action2
8303 * text.C (SingleWidth): constify font
8304 (IsBoundary): constify rtl2
8305 (GetVisibleRow): constify ww
8307 * LaTeX.C (deplog): constify logfile
8309 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8311 (workAreaExpose): constify widthChange, heightChange
8313 * lyxrow.C (par): moved
8316 * lyxrow.h: as inlines here
8318 * lyxfont.h (shape): moved from lyxfont.C
8319 (emph): moved from lyxfont.C
8321 * lyxfont.C (LyXFont): use initialization list for all
8323 (shape): move to lyxfont.h as inline
8324 (emph): move to lyxfont.h as inline
8327 2001-04-04 Juergen Vigna <jug@sad.it>
8329 * vspace.C: had to include stdio.h for use of sscanf
8331 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8334 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8335 independent of xforms.
8337 2001-04-02 Juergen Vigna <jug@sad.it>
8339 * spellchecker.C: fixed namespace placing!
8341 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8343 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8344 the LyXParagraph * is 0.
8346 2001-03-29 Juergen Vigna <jug@sad.it>
8348 * vspace.C: added support for %, c%, p%, l%.
8349 (stringFromUnit): added helper function.
8350 (asLatexString): changed to give right results for the %-values.
8352 * buffer.C: convert the widthp in a width%.
8354 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8356 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8359 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8360 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8362 * lyx_cb.[Ch]: see above.
8364 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8368 * lyx.[Ch]: replaced by figure_form.[Ch].
8372 * lyxfunc.C: changed headers associated with above changes.
8374 2001-03-27 Juergen Vigna <jug@sad.it>
8376 * BufferView_pimpl.C: set the temporary cursor right!
8378 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8380 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8382 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8384 * LString.h: removed "using std::getline"!
8386 * BufferView_pimpl.C (Dispatch): changes due to changes in
8387 InsetInclude::Params.
8389 * buffer.C (tag_name): removed redundant break statements as they were
8390 producing lots of warnings with my compiler.
8392 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8394 * LString.h: add "using std::getline" when using the real <string>.
8396 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8398 * buffer.C: removed bitset usage.
8399 PAR_TAG moved to an anonymous name space.
8400 (tag_name): new funtion, also in the anonymous namespace.
8401 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8402 (makeDocBookFile): clean code. Completed transition from string arrays
8404 (SimpleDocBookOnePar): code clean.
8406 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8408 * tabular.C: add some comments.
8410 2001-03-22 Juergen Vigna <jug@sad.it>
8412 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8413 compatibility read a bit and fixed bug with minipage in different
8416 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8418 * buffer.C (pop_tag): removed.
8419 (push_tag): removed.
8420 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8421 array replaced with vector. Added support for CDATA sections.
8422 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8424 (makeDocBookFile): XML conformant declaration of CDATA section,
8425 fixed bug related to <emphasis> in the first paragraph char.
8426 (sgmlOpenTag): exclude empty tags.
8427 (sgmlCloseTag): ditto.
8429 * buffer.h (pop_tag): removed.
8430 (push_tag): removed.
8432 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8434 * language.h (Languages): added size_type and size().
8436 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8438 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8439 response on compability reading of minipages. One probliem is that
8440 the old usage of minipages was «flertydig»
8442 * several files here and in subdirs: don't use static at file
8443 scope use anon namespaces instead.
8445 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8447 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8448 LaTeX output. This is necessary for Literate document
8451 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8453 * buffer.C: insert hfill when needed.
8455 * tabular.C (l_getline): use string::erase, small whitespace change.
8457 * BufferView_pimpl.C: try the anon namespace.
8460 2001-03-16 Juergen Vigna <jug@sad.it>
8462 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8463 otherwise it won't open options-dialogs.
8465 * buffer.C: honor pextraWidth(p) on converting minipages.
8467 * tabular.C (l_getline): changed the functions to strip trailing \r.
8469 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8471 * BufferView_pimpl.C:
8472 * minibuffer..C: added "using SigC::slot" declaration.
8474 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8476 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8482 * paragraph.C: ditto
8484 * lyxtext.h: NO_PEXTRA
8486 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8488 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8489 * ParameterStruct.h: ditto
8490 * ParagraphParameters.h: ditto
8491 * lyxparagraph.h: ditto
8493 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8495 * buffer.C: add compability for minipage alignment.
8496 (latexParagraphs): remove unwanted pextra check.
8498 * several files: remove CXX_WORKING_NAMESPACES
8500 * buffer.C (pop_tag): tie is in namespace boost
8502 * BufferView.h: noncopyable is in namespace boost
8507 * lastfiles.h: ditto
8508 * bufferlist.h: ditto
8509 * ShareContainer.h: ditto
8511 * LyXAction.h: ditto
8514 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8516 * Merging changes from BRANCH_MVC back into HEAD.
8518 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8520 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8522 * BufferView_pimpl.C: change from intl.C
8526 * Makefile.am: move combox.*
8532 * intl.C: remove dialog (covered by prefs)
8534 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8536 * lyxfunc.C (Dispatch): removed redundant break statement.
8538 2001-03-14 Juergen Vigna <jug@sad.it>
8540 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8542 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8544 * buffer.C: add hack to fix compability reading of minipages.
8546 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8548 * buffer.C (getLists): Cleanup.
8550 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8552 * lyxfont.C (update): don't honor toggleall on font size.
8554 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8558 * Makefile.am: moved to frontends/xforms/
8562 * BufferView_pimpl.C: changes for moved mathpanel
8564 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8566 * gettext.h: fix gettext_init() in --disable-nls
8568 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8570 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8572 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8575 * lyx.h: strip external form
8577 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8579 * BufferView_pimpl.C: add comment, destroySplash()
8581 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8583 * BufferView_pimpl.C:
8587 * lyxfunc.C: use re-worked insetinclude
8589 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8591 * buffer.C: add using std::stringstream.
8593 * lyx_cb.C: readd using std::ios.
8595 * buffer.C: add using std::map.
8597 * BufferView_pimpl.C: add using std::vector.
8599 * ShareContainer.h: add std:: to swap.
8601 * buffer.h: add some typedefs
8602 * buffer.C (getLists): use them
8603 (getLists): renamed from getTocList.
8604 add a counter for the different float types and use it in the
8606 (getLists): use the same counter for the NEW_INSETS and the "non"
8609 * lyx_cb.h: remove unused items, includes, using etc.
8611 * ShareContainer.h: remove some commented code, add more comments
8612 and "documentation".
8614 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8616 * buffer.C (getTocList): make the list also when NEW_INSETS is
8619 * buffer.h: remove TocType
8621 * buffer.C (getTocList): change to return a map<string,
8622 vector<TocItem> >, implement for dynamic number of list.
8624 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8625 * text2.C (PasteSelection): adjust
8626 * CutAndPaste.C (pasteSelection): adjust
8628 * FloatList.C (FloatList): update from the new_insets branch.
8629 * Floating.[Ch]: ditto
8630 * LaTeXFeatures.C: ditto
8632 * lyxlex_pimpl.C: ditto
8634 * paragraph.C (Last): remove when NEW_INSETS is defined.
8636 * other file: changes because of the above.
8638 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8640 * lyxparagraph.h: rename next to next_, previous to previous_,
8641 make them private for NEW_INSETS. Rename Next() to next(),
8642 Previous() to previous().
8644 * other files: changes because of the above.
8646 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8649 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8652 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8654 * main.C (main): pass lyx_localedir to gettext_init().
8656 * gettext.h: remove locale_init and gettext_init macros
8658 * gettext.C (locale_init): new function
8659 (gettext_init): new function
8661 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8664 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8666 * Moved credits to frontends:
8667 * credits.[Ch]: removed
8668 * credits_form.[Ch]: removed
8669 * lyx_gui_misc.C: remove credits stuff
8672 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8674 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8676 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8677 unneeded destructor.
8679 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8680 a standalone pointer again.
8682 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8684 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8690 * ToolbarDefaults.C:
8699 * BufferView_pimpl.C: use new file dialog in GUII
8702 * lyx_cb.C: remove LayoutsCB to Toolbar
8704 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * ShareContainer.h (get): add std:: qualifier
8708 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8710 * ShareContainer.h: define a proper ShareContainer::value_type
8711 type (and use typename to please compaq cxx)
8713 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8715 * lyxparagraph.h: move serveral local vars to
8716 ParameterStruct/ParagraphParameters., use ShareContainer in
8717 FontTable., make vars in FontTable private and add getter and
8720 * paragraph.C: changes because of the above.
8722 * lyxfont.h: remove copy constructor and copy assignment. (the
8723 default ones is ok), move number inside FontBits. move inlines to
8726 * lyxfont.C: add number to initializaton of statics, move several
8727 inlines here. constify several local vars. some whitespace
8728 cleanup. Dont hide outerscope variables.
8730 * Spacing.h: add two new constructors to match the set methods.
8732 * ShareContainer.h: new file, will perhaps be moved to support
8734 * ParameterStruct.h: new file
8736 * ParagraphParameters.h: new file
8738 * ParagraphParameters.C: new file
8740 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8741 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8743 * BufferView_pimpl.C: ParagraphParameter changes.
8744 * buffer.C: Likewise.
8745 * bufferview_funcs.C: Likewise.
8747 * text2.C: Likewise.
8749 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8751 * lyxfind.C (LyXReplace): do not redefine default argument in
8753 (IsStringInText): ditto
8754 (SearchForward): ditto
8755 (SearchBackward): ditto
8757 2001-03-06 Juergen Vigna <jug@sad.it>
8759 * lyxfind.C (IsStringInText): put parentes around expressions.
8761 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8763 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8765 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8767 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8769 * stl_string_fwd.h: add comment
8771 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8774 * tabular.C: remove unused DocBook methods
8780 killed DO_USE_DEFAULT_LANGUAGE
8782 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8784 * lyx_gui.C: do not include language.h.
8786 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8787 arguments in function implementation.
8789 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8791 * BufferView_pimpl.C: add <ctime>
8793 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8795 * BufferView_pimpl.C: add using std::find_if
8797 2001-02-27 José Matos <jamatos@fep.up.pt>
8799 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8802 2001-02-11 José Matos <jamatos@fep.up.pt>
8804 * buffer.C (makeDocBookFile): command styles now have a parameter as
8807 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8809 * layout_forms.[Ch]: removed
8810 * lyx_cb.[Ch]: out character
8811 * lyx_gui.C: out character
8812 * lyx_gui_misc.C: out character
8813 * bufferview_funcs.C: : out character,
8814 added toggleall as parameter in ToggleAndShow
8816 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8818 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8820 * text2.C (SetCurrentFont): Disable number property at boundary.
8822 2001-02-26 Juergen Vigna <jug@sad.it>
8824 * lyxfunc.C (getStatus): added a string argument override function so
8825 that this is correctly called from LyXFunc::Dispatch if it contains a
8826 do_not_use_argument which is used!
8827 (Dispatch): added check for "custom" export and call appropriate func.
8829 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8831 * lyxrc.C: Add language_command_local, language_use_babel and
8832 language_global_options.
8834 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8836 * buffer.C (makeLaTeXFile): Use language_use_babel and
8837 language_global_options.
8839 2001-02-23 Juergen Vigna <jug@sad.it>
8841 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8842 which works with LyXText and putted it inside BufferView. Here now we
8843 only call for that part the BufferView::Dispatch() function.
8845 * BufferView.C (Dispatch): added.
8847 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8848 functions which needs to use a LyXText over from LyXFunc.
8849 (MenuInsertLyXFile): added
8850 (getInsetByCode): added
8851 (moveCursorUpdate): added
8852 (static TEXT): added
8854 2001-02-22 Juergen Vigna <jug@sad.it>
8856 * BufferView_pimpl.C (update): call a status update to see if LyXText
8859 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8861 * vc-backend.C (revert): implement for CVS
8862 (getLog): implement for CVS
8864 2001-02-20 Juergen Vigna <jug@sad.it>
8866 * text2.C (ClearSelection): added BufferView param for inset_owner call
8868 * lyxfunc.C (TEXT): added this function and use it instead of
8869 directly owner->view()-text of getLyXText().
8871 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8873 * src/layout_forms.C: out preamble
8874 * src/layout_forms.h: out preamble
8875 * src/lyx_cb.C: out preamble
8876 * src/lyx_cb.h: out preamble
8877 * src/lyx_gui.C: out preamble
8878 * src/lyx_gui_misc.C: out preamble
8879 * src/lyxfunc.C: connect with guii preamble
8881 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8883 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8885 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8887 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8888 whether to run bibtex.
8890 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8892 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8894 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8896 * Makefile.am (lyx_SOURCES): removed bibforms.h
8900 * text.C (GetVisibleRow): make several local vars const
8902 * tabular.C: small cleanup.
8904 * lyxserver.C (callback): use compare instead of strncmp
8906 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8907 inlines to after class or to paragraph.C
8909 * lyxfont.h: remove friend operator!=
8911 * converter.h: move friend bool operator< to non friend and after
8914 * combox.h: small cleanup
8916 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8917 to inlines after class def.
8919 * buffer.C (pop_tag): use string operations instead of strcmp
8921 * bmtable.c: doxygen, small cleanup
8923 * LaTeX.h: remove friend operator==
8925 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8937 * BufferView_pimpl.C:
8938 * BufferView.[Ch]: remove cruft
8940 2001-02-14 Juergen Vigna <jug@sad.it>
8942 * lyxfunc.C: removed #if 0 unused code
8944 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8946 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8948 * text2.C (SetSelection): added a BufferView * parameter
8950 2001-02-13 Juergen Vigna <jug@sad.it>
8952 * lyxfunc.C (Dispatch): fixed protected blank problem.
8953 * BufferView2.C (protectedBlank): added LyxText * parameter.
8955 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8956 (AppendColumn): same as above for column_info.
8958 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8959 (moveCursorUpdate): use a LyXText param for support of InsetText.
8961 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8962 (tripleClick): ditto
8964 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8966 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8968 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8970 * text2.C (SetSelection): set correct update status if inset_owner
8973 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8975 * tabular.C: remove some commented code.
8977 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8979 * BufferView_pimpl.C: call hideSplash()
8981 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8984 * bibforms.h: remove
8987 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8988 add LFUN_CHILD_CREATE
8990 * counters.h: fix tiny typo
8995 * lyx.C: move splash to frontends/xforms/
8997 * lyx_gui_misc.C: move Include and Bibform to frontends
8999 * lyxvc.h: clarify comment
9001 * vspace.C: tiny housekeeping
9003 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9005 * text.C (PrepareToPrint): RTL Fix.
9007 * paragraph.C (GetUChar): New method.
9008 (String): Use GetUChar.
9010 * buffer.C (asciiParagraph): Use GetUChar.
9012 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9014 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9016 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9019 * buffer.C: rename to getLogName(), handle
9020 build log / latex log nicely
9022 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9025 * MenuBackend.h: remove support for reference menuitem type.
9027 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9029 * BufferView_pimpl.C: housekeeping
9030 * BufferView_pimpl.h:
9035 * minibuffer.h: move Timeout GUI-I
9037 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9039 * lyxrc.C (read): Update converters data-structures.
9041 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9043 * LaTeX.h (operator!=): add operator != for Aux_Info
9045 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9047 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9049 * LaTeXLog.C: deleted, useful code moved to Buffer
9052 * buffer.C: new function getLatexLogName()
9058 * lyxfunc.C: use frontends for LaTeX and VC logs
9060 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9062 * LaTeX.h: yet another std:: that Allan forgot.
9064 * Variables.C (set): renamed from isset(), because this clashes
9065 with some HP-UX macros (grr).
9067 2001-02-06 Allan Rae <rae@lyx.org>
9069 * LaTeX.h: Another bug fix. Missing std:: this time.
9071 2001-02-04 Allan Rae <rae@lyx.org>
9073 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9074 floats problem. I've left it commented out because it's not quite
9075 correct. It should also test that the current object is a table or
9076 figure inset. But I haven't gotten around to figuring out how to do
9077 that. I *think* it'll be something like: "table" == inset.type()
9079 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9082 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9084 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9085 all the citation/databases/styles in the auxilary file.
9086 (run): Rerun latex if there was a babel language error.
9088 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9090 * text.C (Backspace): Preserve the font when changing newline char
9092 (BreakParagraph): If the cursor is before a space, delete the space.
9094 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9096 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9098 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9099 new argument (code).
9100 (ChangeCitationsIfUnique): New method.
9102 * paragraph.C (GetPositionOfInset): Handle bibkey.
9104 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9106 * BufferView_pimpl.h: change type of Position::par_pos to
9107 LyXParagraph::size_type.
9109 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9111 * BufferView_pimpl.C (savePosition, restorePosition): Write
9112 messages to minibuffer.
9114 2001-01-28 José Matos <jamatos@fep.up.pt>
9116 * buffer.C (makeDocBookFile): adds support for document language.
9117 A silly restriction on the name of LatexCommand types where removed.
9118 Added support for CDATA sections, allows to chars unescaped, used
9119 among others in code, to avoid escape < and >.
9121 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9123 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9124 saved positions instrad of a stack. Furthermore, a position is
9125 stored using paragraph id/paragraph position.
9127 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9128 Remove LFUN_REF_BACK.
9130 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9132 * converter.C (dvipdfm_options): New method.
9134 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9136 * vspace.C (isValidLength): Fix for empty input string.
9138 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9140 * LyXAction.C (init): change description of LFUN_FIGURE to
9143 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9145 * LaTeX.C: add using directive
9147 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9149 * MenuBackend.C (expand): Fix the sorting of the formats.
9151 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9153 * lyx_main.C: tiny error message fix
9155 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9157 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9158 calling fl_initialize(). This fixes the problem with ',' as
9159 decimal separator in text files.
9161 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9163 * trans.C (process): Fix the keymap bug.
9165 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9167 * LaTeX.C (scanAuxFiles): New method. Provides support for
9168 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9169 (scanLogFile) Scan for "run BibTeX" messages.
9171 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9172 OT1 font encoding. Also, load the aecompl package if the ae
9175 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9177 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9179 * texrow.C (increasePos): turn two error messages into debug
9182 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9184 * LaTeX.C (scanAux): Handle the \@input macro.
9185 (runBibTeX): Use scanAux().
9187 * language.C (latex_options_): New field.
9189 * LaTeXFeatures.C (getMacros): Add language macros.
9191 * buffer.C (makeLaTeXFile): Small fix.
9193 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9197 * text2.C: add a using directive.
9199 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9204 * lyxfunc.C: kill LyXBell.
9206 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9208 * text.C (IsBoundary): Remove the error message
9210 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9212 * lyxrc.C (setDefaults): Correct initialization value for
9215 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9217 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9220 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9223 * src/LyXAction.C: Added reference-next.
9225 * text.C (InsertChar): Use contains instead of strchr.
9227 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9229 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9231 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9232 alignment commands (when needed).
9234 * text.C (InsertChar): Add ':' to number separator chars.