2 2003-03-21 André Pönitz <poenitz@gmx.net>
4 * metricsinfo.[Ch]: new files containing structures to be passed around
5 during the two-phase-drawing...
7 2003-03-21 André Pönitz <poenitz@gmx.net>
9 * lyxtextclass.C: read 'environment' tag.
11 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
13 * text2.C (removeRow): fix bug 964
15 2003-03-20 John Levon <levon@movementarian.org>
19 * text2.C: paint cleanups. Inset::update() dropped font
22 2003-03-19 John Levon <levon@movementarian.org>
24 * lyxfunc.C: only fitcursor/markDirty if available()
26 2003-03-19 John Levon <levon@movementarian.org>
28 * commandtags.h: rename to ...
30 * lfuns.h: ... this, and renumber / cleanup
32 2003-03-19 John Levon <levon@movementarian.org>
34 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
35 fit the cursor after an lfun
40 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
42 * LyXAction.C: layout-character should have ReadOnly
44 * ParagraphParameters.C:
53 * undo_funcs.C: changes from above
55 2003-03-18 John Levon <levon@movementarian.org>
57 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
58 remove it from update()
60 * lyxfunc.C: update layout choice after an lfun
62 * text3.C: remove extra updateLayoutChoice()s
64 2003-03-18 John Levon <levon@movementarian.org>
66 * text.C: top_y change means full repaint, fix
67 a drawing bug with cursor movement
69 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
73 * text2.C: anchor row on setCursor
75 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
77 * lyxtext.h: remove almost all mutable keywords
80 * text3.C: remove const keywords accordingly
82 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
84 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
86 (TeXEnvironment): ditto
89 2003-03-17 John Levon <levon@movementarian.org>
91 * text.C (rowBreakPoint): remove attempt to fix displayed
92 math insets inside a manual label
94 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
96 * lyxtext.h: remove BufferView* as first arg from almost all class
98 * other files: adjust.
100 2003-03-17 John Levon <levon@movementarian.org>
104 * text2.C: more paint cleanups
106 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
109 * rowpainter.C: remove "smart" background painting code
111 2003-03-16 John Levon <levon@movementarian.org>
116 * text3.C: add helper functions for setting refresh_row/y
118 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
120 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
121 newline inset which *can* get inserted in the pass_thru layouts.
122 This is primarily for literate documents.
124 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
126 * buffer.C: increment LYX_FORMAT to 223
128 2003-03-14 André Pönitz <poenitz@gmx.net>
130 * textclass.h: prepare for environment handling, ws changes
131 * lyxlayout.C: read latexheader and latexfooter tags
133 2003-03-14 John Levon <levon@movementarian.org>
135 * text2.C: rewrite ::status() a bit
137 2003-03-13 John Levon <levon@movementarian.org>
139 * lyxtext.h: add some docs
141 2003-03-13 John Levon <levon@movementarian.org>
146 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
148 2003-03-13 John Levon <levon@movementarian.org>
150 * text3.C: fix appendix redrawing
152 2003-03-13 John Levon <levon@movementarian.org>
154 * text.C (setHeightOfRow):
156 * rowpainter.C: make appendix mark have the text
157 "Appendix" so the user knows what it is
160 * LColor.C: s/appendixline/appendix/ from above
162 2003-03-13 John Levon <levon@movementarian.org>
164 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
166 * text.C: fix a getChar(pos) bug properly
168 2003-03-13 Angus Leeming <leeming@lyx.org>
171 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
172 Probably only temporary. Let's see how things pan out.
174 * BufferView.C (unlockInset):
175 * BufferView_pimpl.C (fitCursor):
176 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
178 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
179 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
181 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
182 new functions that convert ParagraphParameters to and from a string.
184 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
185 BufferView::Pimpl's dispatch.
186 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
188 2003-03-13 André Pönitz <poenitz@gmx.net>
192 * factory.C: make it aware of InsetEnv
194 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
196 * text2.C (setCursor): never ask for one past last
197 (setCursor): add some debugging messages.
199 * text.C (singleWidth): never ask for one past last
203 (rowBreakPoint): ditto
204 (setHeightOfRow): ditto
205 (prepareToPrint): ditto
207 * rowpainter.C (paintBackground): never ask for one past last
208 (paintText): never ask for one past last
210 * paragraph_pimpl.C (getChar): make the assert stricter, never
211 allow the one past last pos to be taken
213 * paragraph.C (getChar): ws changes only
215 * lyxrow.C (nextRowIsAllInset): never ask for one past last
216 (numberOfSeparators): ditto
217 (numberOfHfills): ditto
219 2003-03-12 John Levon <levon@movementarian.org>
225 * paragraph_funcs.C: fix per-buffer authorlists
227 2003-03-12 John Levon <levon@movementarian.org>
229 * text.C: fix newline in right address
231 2003-03-12 Angus Leeming <leeming@lyx.org>
233 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
234 duplicate those in LyXFunc::dispatch.
239 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
240 Add LFUN_FONTFREE_UPDATE.
242 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
243 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
245 * bufferview_func.[Ch]: several new functions to facilliate
246 transfer of data to and from the character dialog.
248 2003-03-12 John Levon <levon@movementarian.org>
258 * text3.C: remove META_NEWLINE in favour of an inset
261 * rowpainter.C: remove paintNewline (done by inset)
263 2003-03-12 John Levon <levon@movementarian.org>
265 * paragraph_pimpl.C: complain about bad getChar()s
268 2003-03-12 John Levon <levon@movementarian.org>
271 * buffer.C: move paragraph read into a separate function,
272 a little renaming to reflect that.
275 * bufferparams.C: remove the author_ids map, not necessary now
278 * factory.C: moved Buffer::readInset to here
281 * paragraph_funcs.C: readParagraph free function moved from
284 * tabular.C: name change
286 2003-03-12 John Levon <levon@movementarian.org>
289 * ParagraphParameters.C: move par params input to
292 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
293 behave like a normal read from the stream wrt reading
296 2003-03-12 John Levon <levon@movementarian.org>
299 * ParagraphParameters.h:
300 * ParagraphParameters.C: move output code to a
303 2003-03-12 John Levon <levon@movementarian.org>
305 * BufferView.C (insertLyXFile):
308 * tabular.C: use a parlist iterator for creating the
311 2003-03-12 John Levon <levon@movementarian.org>
313 * buffer.C: make current_change static local not
316 2003-03-12 John Levon <levon@movementarian.org>
318 * buffer.C: fix insertStringAsLines for change tracking
320 2003-03-12 John Levon <levon@movementarian.org>
327 * bufferparams.C: move author list into params. Rename some
328 functions. Move the header reading into a separate token
329 loop. Move the header token reading into BufferParams.
331 2003-03-12 John Levon <levon@movementarian.org>
333 * changes.C: put debug inside lyxerr.debugging() checks
335 2003-03-11 André Pönitz <poenitz@gmx.net>
337 * factory.C: make it aware of InsetHFill
339 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
341 * buffer.C (latexParagraphs): move function from here...
342 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
345 2003-03-10 Angus Leeming <leeming@lyx.org>
347 * LyXAction.C (init): fix bug in poplating array with multiple entries
348 with the same LFUN (spotted by JMarc).
350 2003-03-10 John Levon <levon@movementarian.org>
353 * text2.C: move getColumnNearX() near its
356 2003-03-10 John Levon <levon@movementarian.org>
358 * text.C: fix break before a minipage
360 2003-03-10 John Levon <levon@movementarian.org>
362 * text.C: fix the last commit
364 2003-03-09 John Levon <levon@movementarian.org>
368 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
369 bug 365 (don't break before insets unless needed). Don't
370 return a value > last under any circumstances.
372 2003-03-09 Angus Leeming <leeming@lyx.org>
374 * BufferView_pimpl.C (trackChanges, dispatch): call
375 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
377 2003-03-09 Angus Leeming <leeming@lyx.org>
379 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
380 than Dialogs::showAboutlyx().
382 2003-03-09 Angus Leeming <leeming@lyx.org>
384 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
385 than Dialogs::showTabularCreate().
387 2003-03-09 John Levon <levon@movementarian.org>
391 * text2.C: 3rd arg to nextBreakPoint was always the same.
394 2003-03-08 John Levon <levon@movementarian.org>
401 * text2.C: Remove the "main" bit from the "main body"
404 2003-03-08 John Levon <levon@movementarian.org>
406 * text.C (leftMargin): The left margin of an empty
407 manual label paragraph should not include the label width
410 * text.C (prepareToPrint): don't attempt to measure hfills
411 for empty manual label paragraphs - the answer should be 0
413 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * CutAndPaste.C: remove commented code and reindent.
417 2003-03-08 John Levon <levon@movementarian.org>
420 * lyxfunc.C: move reloadBuffer()
423 * BufferView.C: to here
425 * lyxvc.C: add comment
428 * vc-backend.C: call bv->reload() to avoid
429 getStatus() check on MENURELOAD
431 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
433 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
434 to an old format .dep file.
436 2003-03-07 Angus Leeming <leeming@lyx.org>
438 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
439 when the LFUN_MOUSE_RELEASE should have been handled by
440 inset->localDispatch.
442 2003-03-07 Angus Leeming <leeming@lyx.org>
444 * BufferView_pimpl.C (dispatch):
445 * LyXAction.C (init):
446 * ToolbarDefaults.C (init):
448 * lyxfunc.C (getStatus):
449 remove LFUN_INSET_GRAPHICS.
451 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
453 2003-03-07 Angus Leeming <leeming@lyx.org>
456 * LyXAction.C (init):
457 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
459 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
462 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
464 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
465 localDispatch method LFUN_INSET_DIALOG_UPDATE.
467 2003-03-07 Angus Leeming <leeming@lyx.org>
469 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
472 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
474 * ParagraphList.C (front): new function
477 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
479 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
480 and top_row_offset_. removed var first_y.
482 * text2.C (LyXText, removeRow):
484 * BufferView_pimpl.C:
485 use these methods instead of using first_y
487 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
489 * text2.C (pasteSelection): adjust for checkPastePossible
491 * CutAndPaste.C: remove Paragraph * buf and replace with
492 ParagraphList paragraphs.
493 (DeleteBuffer): delete
494 (cutSelection): change the tc type to textclass_type
495 (copySelection): change the tc type to textclass_type
496 (copySelection): adjust for ParagraphList
497 (pasteSelection): change the tc type to textclass_type
498 (pasteSelection): adjust for Paragraphlist
499 (nrOfParagraphs): simplify for ParagraphList
500 (checkPastePossible): simplify for ParagraphList
501 (checkPastePossible): remove unused arg
503 * ParagraphList.C (insert): handle the case where there are no
506 * CutAndPaste.h: make CutAndPaste a namespace.
508 * text3.C (dispatch): adjust
510 * text.C (breakParagraph): add a ParagraphList as arg
512 * paragraph_funcs.C (breakParagraph): change to take a
513 BufferParams and a ParagraphList as args.
514 (breakParagraphConservative): ditto
515 (mergeParagraph): ditto
516 (TeXDeeper): add a ParagraphList arg
517 (TeXEnvironment): ditto
520 * buffer.C (readLyXformat2): adjust
521 (insertStringAsLines): adjust
522 (latexParagraphs): adjust
524 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
525 (cutSelection): adjust
526 (pasteSelection): adjust
528 * BufferView_pimpl.C (insertInset): adjust
530 2003-03-05 Angus Leeming <leeming@lyx.org>
533 * LyXAction.C (init):
534 * BufferView_pimpl.C (dispatch):
535 * lyxfunc.C (getStatus):
536 remove LFUN_CHILD_INSERT.
538 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
540 2003-03-05 Angus Leeming <leeming@lyx.org>
543 * LyXAction.C (init):
544 * src/factory.C (createInset):
545 * lyxfunc.C (getStatus):
546 * text3.C (dispatch):
547 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
549 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
551 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
553 * ParagraphList.C (insert): handle insert right before end()
554 (erase): fix cases where it can be first or last paragraph.
556 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
558 * paragraph_funcs.C (TeXEnvironment): remove all usage of
559 Paragraph::next and Paragraph::previous
562 * text.C (breakParagraph): adjust
564 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
565 BufferParams& as arg.
566 (breakParagraph): use ParagraphList::insert
567 (breakParagraphConservative): take a Buffer* instead of a
568 BufferParams& as arg.
569 (breakParagraphConservative): use ParagraphList::insert.
571 * buffer.C (insertStringAsLines): un-const it
572 (insertStringAsLines): adjust
574 * ParagraphList.C (insert): new function
576 * CutAndPaste.C (pasteSelection): adjust
578 * text.C (backspace): adjust
580 * tabular.C (SetMultiColumn): adjust
582 * CutAndPaste.C (cutSelection): adjust
583 (pasteSelection): adjust
585 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
586 Buffer const * as arg
588 * ParagraphList.C (erase): new function
589 * paragraph_funcs.C (mergeParagraph): use it
590 (mergeParagraph): make it take a Buffer* instead of a
593 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
595 (breakParagraphConservative): ditto
597 * paragraph.h: remove the breakParagraph friend
599 * paragraph.C (eraseIntern): new function
600 (setChange): new function
602 * paragraph_funcs.C (mergeParagraph): make it take a
603 ParagraphList::iterator instead of a Paragraph *, adjust
606 * paragraph.h: move an #endif so that the change tracking stuff
607 also works in the NO_NEXT case.
609 2003-03-04 Angus Leeming <leeming@lyx.org>
612 * LyXAction.C: new LFUN_INSET_MODIFY.
614 * BufferView_pimpl.C (dispatch): if an inset is found to be open
615 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
617 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
619 * several files: ws changes only
621 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
622 (TeXEnvironment): ditto
625 * buffer.C (makeLaTeXFile): adjust
626 (latexParagraphs): make it take ParagraphList::iterator as args
628 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
630 * buffer.C (latexParagraphs): adjust
632 * paragraph.C (TeXOnePar): move function...
633 (optArgInset): move function...
634 (TeXEnvironment): move function...
635 * paragraph_pimpl.C (TeXDeeper): move function...
636 * paragraph_funcs.C: ...here
638 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
640 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * buffer.C (readInset): remove compability code for old Figure and
645 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * buffer.C: ws changes
650 * BufferView_pimpl.C: ditto
653 * bufferlist.h: ditto
657 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
659 * converter.[Ch]: split into itself +
662 * Makefile.am: += graph.[Ch] + format.[Ch]
669 * lyxrc.C: added #include "format.h"
671 2003-02-27 Angus Leeming <leeming@lyx.org>
673 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
676 * factory.C (createInset): add "label" to the factory.
678 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
679 string and do no more.
681 2003-02-27 Angus Leeming <leeming@lyx.org>
684 * LyXAction.C (init):
685 * factory.C (createInset):
686 * BufferView_pimpl.C (dispatch):
687 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
689 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
691 * lyxfunc.C (dispatch):
692 * text3.C (dispatch): pass name to params2string.
694 2003-02-26 Angus Leeming <leeming@lyx.org>
696 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
698 Rearrange the ~includes. Strip out the unnecessary ones.
700 * factory.C (createInset): reformat.
701 create new insets for the various LFUN_XYZ_APPLY lfuns.
703 2003-02-26 John Levon <levon@movementarian.org>
706 * lyxrow.C: add isParStart,isParEnd helpers
708 * paragraph.h: make isInserted/DeletedText take refs
711 * paragraph_funcs.C: remove #if 0'd code
716 * text.C: use lyxrow helpers above.
717 Move draw and paint routines to RowPainter.
718 Make several methods use refs not pointers.
719 Make backgroundColor() const.
720 Add markChangeInDraw(), isInInset().
721 Merge changeRegionCase into changeCase.
722 Make workWidth() shouldn't-happen code into an Assert.
725 * rowpainter.C: new class for painting a row.
728 * vspace.C: make inPixels take a ref
730 2003-02-26 Angus Leeming <leeming@lyx.org>
732 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
735 2003-02-25 John Levon <levon@movementarian.org>
737 * ispell.C: give the forked command a more accurate name
739 2003-02-22 John Levon <levon@movementarian.org>
742 * toc.C: make TocItem store an id not a Paragraph *
745 2003-02-21 Angus Leeming <leeming@lyx.org>
747 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
748 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
749 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
750 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
751 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
752 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
754 * BufferView_pimpl.C (dispatch):
755 * LyXAction.C (init):
756 * factory.C (createInset):
757 * lyxfunc.C (getStatus, dispatch):
758 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
760 2003-02-21 Angus Leeming <leeming@lyx.org>
762 * BufferView_pimpl.C (MenuInsertLyXFile):
763 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
764 * lyxfunc.C (menuNew, open, doImport):
765 no longer pass a LyXView & to fileDlg.
767 2003-02-21 Angus Leeming <leeming@lyx.org>
769 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
770 * LyXAction.C: change, BIBKEY to BIBITEM.
771 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
772 Change InsetBibKey to InsetBibitem.
773 Change BIBKEY_CODE to BIBITEM_CODE.
774 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
775 * factory.C: replace insetbib.h with insetbibitem.h.
776 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
777 * paragraph.C: replace insetbib.h with insetbibitem.h.
778 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
779 Change bibkey() to bibitem().
780 * text.C: remove insetbib.h.
781 * text2.C: replace insetbib.h with insetbibitem.h.
782 change bibkey() to bibitem().
783 * text3.C: remove insetbib.h.
784 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
786 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
788 * lyxrc.C (output): enclose user email in quotes (in case there are
791 2003-02-18 John Levon <levon@movementarian.org>
793 * buffer.h: add std::
795 2003-02-17 John Levon <levon@movementarian.org>
801 * pspell.C: reworking. Especially in ispell, a large
802 number of clean ups and bug fixes.
804 * lyxfunc.C: fix revert to behave sensibly
806 2003-02-17 André Pönitz <poenitz@gmx.net>
809 * commandtags.h: new LFUN_INSERT_BIBKEY
819 * paragraph_func.C: remove special bibkey handling
821 2003-02-17 John Levon <levon@movementarian.org>
823 * text.C (Delete): fix case where delete at the end of
824 the very first paragraph would not merge the pars
826 2003-02-17 John Levon <levon@movementarian.org>
828 * lyxrow.C: fix lastPrintablePos()
830 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
832 * bufferparams.C (writeLaTeX): add a std:here
834 * buffer.C: and remove a using directive there
836 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
838 * buffer.C (makeLaTeXFile): move the code that generates the
841 * bufferparams.C (writeLaTeX): ... in this new method
843 * LaTeXFeatures.C (getEncodingSet): make const
844 (getLanguages): make const
846 * MenuBackend.C (binding): returns the binding associated to this
848 (add): sets the status of each item by calling getStatus. Adds
850 (read): add support for OptSubMenu
851 (expand): remove extra separator at the end of expanded menu
853 2003-02-15 John Levon <levon@movementarian.org>
856 * BufferView_pimpl.C:
858 * bufferlist.C: remove pointless BufferStorage bloat. Remove
859 inset code that had no actual effect. Remove unneeded status
862 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
864 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
867 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
869 * text.C (drawLengthMarker): also draw an arrow marker for
870 symbolic lengths (medskip...)
872 2003-02-14 John Levon <levon@movementarian.org>
875 * tabular.C: better method names
877 2003-02-14 John Levon <levon@movementarian.org>
879 * BufferView_pimpl.C:
884 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
885 it's a more accurate name. Remove some pointless uses.
887 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
889 * text2.C (LyXText): change order of initilizers to shut off
892 2003-02-14 John Levon <levon@movementarian.org>
894 * buffer.C: use ParIterator for getParFromID()
899 * paragraph_pimpl.C: remove unused getParFromID()
901 2003-02-14 John Levon <levon@movementarian.org>
903 * buffer.C: remove some very old #if 0'd parse code
905 2003-02-13 John Levon <levon@movementarian.org>
909 * text2.C: move hfillExpansion(), numberOfSeparators(),
910 rowLast(), rowLastPrintable(), numberofHfills(),
911 numberOfLabelHfills() ...
914 * lyxrow.C: ... to member functions here.
919 * text.C: remove LyXText::beginningOfMainBody(), and call
920 p->beginningOfMainBody() directly. Move the check for
921 LABEL_MANUAL into the latter.
928 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
934 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
935 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
937 2003-02-13 John Levon <levon@movementarian.org>
939 * CutAndPaste.C: remove debug
941 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
943 * paragraph.C (asString): remove two unused variables
945 * lyxtextclass.C (readTitleType):
947 (LyXTextClass): handle new members titletype_ and titlename_
949 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
951 2003-02-09 John Levon <levon@movementarian.org>
954 * buffer.C: replace hand-coded list with a map for the dep clean
956 2003-02-08 John Levon <levon@movementarian.org>
958 * LaTeX.C: consolidate code into showRunMessage() helper
960 2003-02-08 John Levon <levon@movementarian.org>
965 * BufferView.C: change setSelectionOverString() to setSelectionRange()
966 and pass the size in explicitly
968 * BufferView_pimpl.h:
969 * BufferView_pimpl.C:
971 * BufferView.C: add getCurrentChange()
973 * BufferView_pimpl.h:
974 * BufferView_pimpl.C: handle change lfuns
976 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
977 for changes. Mark pasted paragraphs as new.
981 * DepTable.C: abstract time_t as lyx::time_type
984 * LColor.C: add colours for new text, deleted text, changebars
986 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
987 package use "usenames" option.
991 * LyXAction.C: add change lfuns
995 * author.C: author handling
998 * buffer.C: add a per-buffer author list, with first entry as
999 current author. Handle new .lyx tokens for change tracking. Output
1000 author list to .lyx file. Output dvipost stuff to .tex preamble.
1001 Bump lyx format to 222.
1004 * bufferlist.C: add setCurrentAuthor() to reset current author details
1008 * bufferparams.C: add param for tracking
1010 * bufferview_funcs.C: output change info in minibuffer
1014 * changes.C: add change-tracking structure
1017 * debug.C: add CHANGES debug flag
1020 * lyxfind.C: add code for finding the next change piece
1023 * lyxrc.C: add user_name and user_email
1026 * lyxrow.C: add a metric for the top of the text line
1029 * text.C: implement accept/rejectChange()
1032 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1033 Strike through deleted text.
1037 * paragraph_pimpl.h:
1038 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1039 to the insert functions. Rework erase to mark text as deleted, adding
1040 an eraseIntern() and a range-based erase(). Implement
1041 per-paragraph change lookup and accept/reject.
1043 * paragraph_funcs.C: Fixup paste for change tracking.
1045 * tabular.C: mark added row/columns as new.
1047 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1048 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1050 * text2.C: leave cursor at end of selection after a cut.
1052 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1054 * text.C (getLengthMarkerHeight):
1055 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1056 visible on screen too.
1058 2003-02-07 John Levon <levon@movementarian.org>
1060 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1062 2003-02-05 Angus Leeming <leeming@lyx.org>
1064 * lyxserver.C (read_ready): revert my patch of 11 September last year
1065 as it sends PC cpu through the roof. Presumably this means that
1066 the lyxserver will no longer run on an Alpha...
1068 2003-01-30 Angus Leeming <leeming@lyx.org>
1070 * factory.C (createInset): create an InsetCommandParam of type "index"
1071 and use it to 'do the right thing'.
1073 * text2.C (getStringToIndex): ensure that cursor position is always
1074 reset to the reset_cursor position.
1076 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1078 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1081 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1085 * lyxfunc.C: Output messages with identical spelling, punctuation,
1088 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1090 * MenuBackend.C (expandFormats): List only viewable export formats
1093 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1096 * lyxfunc.C (getStatus): Make sure that formats other than
1097 "fax" can also be disabled
1099 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1101 * text3.C (dispatch): put the lfuns that insert insets in 3
1102 groups, and call doInsertInset with appropriate arguments.
1103 (doInsertInset): new function, that creates an inset and inserts
1104 it according to some boolean parameters.
1106 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * buffer.C (readFile): remember to pass on 'par' when calling
1109 readFile recursively.
1111 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1113 * MenuBackend.C (expandFormats): add "..." to import formats.
1115 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1117 * paragraph.C (asString): Remove XForms RTL hacks.
1119 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1120 * buffer.C: fix typo
1122 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * Makefile.am (LIBS): delete var
1125 (lyx_LDADD): add @LIBS@ here instead.
1127 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1129 * Clarify the meaning of "wheel mouse jump"
1131 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1133 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1136 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1138 * importer.C (Loaders): do not preallocate 3 elements in the
1139 vector, since one ends up with 6 elements otherwise
1141 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1143 * DepTable.C (write): write the file name as last element of the
1144 .dep file (because it may contain spaces)
1145 (read): read info in the right order
1147 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1149 * paragraph_pimpl.C (simpleTeXBlanks):
1150 (simpleTeXSpecialChars):
1151 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1153 * tabular.C (latex): add some missing case statements. Reindent.
1155 * MenuBackend.C (expandToc): remove unused variable.
1157 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1166 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1169 2003-01-05 John Levon <levon@movementarian.org>
1172 * BufferView.C: add getEncoding()
1175 * kbsequence.C: do not store last keypress
1178 * lyxfunc.C: store last keypress here instead. Pass encoding
1181 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1183 * lyx_main.C (init): remove annoying error message when following
1184 symbolic links (bug #780)
1186 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1188 * text.C (insertChar):
1189 * lyxrc.C (getDescription): remove extra spaces
1191 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1193 * lyxrc.C (getDescription): remove extra spaces
1195 2002-12-20 John Levon <levon@movementarian.org>
1197 * text3.C: hack fix for page up/down across tall rows
1199 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1201 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1204 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1206 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1207 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1208 thesaurus is not compiled in
1210 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1212 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1214 2002-12-16 Angus Leeming <leeming@lyx.org>
1217 * lyx_main.C (init): remove override_x_deadkeys stuff.
1219 2002-12-12 John Levon <levon@movementarian.org>
1221 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1222 insert. Only remove shift modifier under strict
1225 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * MenuBackend.C (expandToc): fix crash.
1229 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1231 * MenuBackend.C (expandToc): gettext on float names.
1233 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1235 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1236 implement bool empty() [bug 490]
1238 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1240 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1242 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1244 * several files: ws changes
1246 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1248 * text2.C (setCounter): clean up a bit, use boost.format.
1249 (updateCounters): initialize par upon declaration.
1251 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1252 if the layout exists. We do not just store the layout any more.
1253 (SwitchLayoutsBetweenClasses): use boost.format
1255 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1257 * converter.C (convert): if from and to files are the same, use a
1258 temporary files as intermediary
1260 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1263 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1265 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1267 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1269 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1271 * tabular.C (asciiPrintCell): use string(size, char) instead of
1274 * sgml.C (openTag): fix order of arguments to string constructor
1277 * lyxfunc.C (dispatch): use boost.format
1279 * lots of files: change "c" -> 'c'
1281 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1283 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1285 2002-11-25 Angus Leeming <leeming@lyx.org>
1287 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1289 * lyx_main.C (init): compile fix.
1291 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1293 * lyx_cb.C (start): boost.formatify
1294 do not include <iostream>
1296 * lengthcommon.C: ws only
1298 * boost-inst.C,BoostFormat.h: add more explict instantations
1300 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1302 * lots of files: handle USE_BOOST_FORMAT
1304 2002-11-21 John Levon <levon@movementarian.org>
1306 * pspell.C: fix compile
1308 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1310 * lyxfunc.C (dispatch): use boost::format
1314 * lyxfont.C (stateText): use boost::format
1316 * lyx_main.C (LyX): use boost::format
1318 (queryUserLyXDir): ditto
1321 (typedef boost::function): use the recommened syntax.
1323 * importer.C (Import): use boost::format
1325 * debug.C (showLevel): use boost::format
1327 * converter.C (view): use boost::format
1332 * bufferview_funcs.C (currentState): use boost::format
1334 * bufferlist.C (emergencyWrite): use boost::format
1336 * buffer.C (readLyXformat2): use boost::format
1337 (parseSingleLyXformat2Token): ditto
1339 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1341 * LaTeX.C (run): use boost::format
1343 * Chktex.C (scanLogFile): use boost::format
1345 * BufferView_pimpl.C (savePosition): use boost::format
1346 (restorePosition): ditto
1347 (MenuInsertLyXFile): ditto
1349 * BoostFormat.h: help file for explicit instation.
1351 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1353 * tabular.C (latex): Support for block alignment in fixed width
1356 2002-11-17 John Levon <levon@movementarian.org>
1358 * BufferView_pimpl.C:
1360 * lyxfunc.C: split filedialog into open/save
1362 2002-11-08 Juergen Vigna <jug@sad.it>
1364 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1365 by my last patch (hopefully).
1367 2002-11-08 John Levon <levon@movementarian.org>
1376 * toc.C: ParConstIterator, and use it (from Lars)
1378 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1380 * lyxtextclass.[Ch]: revise and add doxygen comments
1382 2002-11-07 John Levon <levon@movementarian.org>
1384 * text.C: fix progress value for spellchecker
1386 * toc.C: fix navigate menu for insetwrap inside minipage
1388 * paragraph_funcs.C: added FIXME for suspect code
1390 2002-11-07 John Levon <levon@movementarian.org>
1392 * BufferView_pimpl.C: fix redrawing of insets
1395 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1397 * text2.C (updateCounters): fix bug 668
1399 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1401 * text3.C (dispatch): Do not make the buffer dirty when moving the
1404 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * vc-backend.C: STRCONV
1409 * text2.C (setCounter): STRCONV
1411 * paragraph.C (asString): STRCONV
1413 * lyxlength.C (asString): STRCONV
1414 (asLatexString): ditto
1416 * lyxgluelength.C (asString): STRCONV
1417 (asLatexString): ditto
1419 * lyxfunc.C (dispatch): STRCONV
1422 * lyxfont.C (stateText): STRCONV
1424 * importer.C (Import): STRCONV
1426 * counters.C (labelItem): STRCONV
1427 (numberLabel): ditto
1428 (numberLabel): remove unused ostringstream o
1433 * bufferview_funcs.C (currentState): STRCONV
1435 * buffer.C (readFile): STRCONV
1436 (asciiParagraph): ditto
1437 (makeLaTeXFile): ditto
1439 * Spacing.C (writeEnvirBegin): STRCONV
1441 * LaTeXFeatures.C (getLanguages): STRCONV
1442 (getPackages): ditto
1444 (getBabelOptions): ditto
1445 (getTClassPreamble): ditto
1446 (getLyXSGMLEntities): ditto
1447 (getIncludedFiles): ditto
1451 (scanAuxFile): ditto
1454 * LString.h: add the STRCONV macros
1456 * BufferView_pimpl.C (savePosition): STRCONV
1457 (restorePosition): ditto
1458 (MenuInsertLyXFile): ditto
1460 * vc-backend.C (scanMaster): change from submatch[...] to
1463 * funcrequest.C: include config.h
1465 * factory.C: include config.h
1467 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1469 * box.C: include config.h
1471 * LaTeX.C (scanAuxFile): change from submatch[...] to
1475 2002-10-25 Angus Leeming <leeming@lyx.org>
1477 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1479 * ispell.[Ch] (setError): new method.
1480 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1481 Use setError() insetead of goto END.
1483 * lyx_cb.C (AutoSave): move out child process into new class
1486 2002-10-30 John Levon <levon@movementarian.org>
1488 * text3.C: make start appendix undoable
1490 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1492 * lyxlength.C (inPixels): Fix returned value.
1494 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1497 2002-10-24 Angus Leeming <leeming@lyx.org>
1499 * lyxgluelength.h: no need to forward declare BufferParams
1500 or BufferView, so don't.
1502 2002-10-21 John Levon <levon@movementarian.org>
1504 * BufferView.C: menuUndo ->undo, redo
1506 * BufferView.h: document, remove dead, make some methods private
1508 * paragraph_funcs.h:
1509 * paragraph_funcs.C:
1510 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1515 * sgml.C: move sgml open/close tag into sgml.C
1517 * bufferview_funcs.h: unused prototype
1520 * lyxfunc.C: remove unused
1523 * text.C: remove unused
1525 2002-10-21 John Levon <levon@movementarian.org>
1529 * BufferView_pimpl.h:
1530 * BufferView_pimpl.C: fix mouse wheel handling based on
1531 patch from Darren Freeman
1533 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1535 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1537 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1539 * lyxlength.C (inPixels): Fix hanfling of negative length.
1540 Fix LyXLength::MU case.
1542 2002-10-16 John Levon <levon@movementarian.org>
1544 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1546 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1548 * converter.C (view): add support for $$i (file name) and $$p
1549 (file path) for the viewer command. If $$i is not specified, then
1550 it is appended to the command (for compatibility with old syntax)
1552 2002-10-14 Juergen Vigna <jug@sad.it>
1554 * undo_funcs.C (textHandleUndo): alter the order in which the
1555 new undopar is added to the LyXText, as we have to set first
1556 the right prev/next and then add it as otherwise the rebuild of
1557 LyXText is not correct. Also reset the cursor to the right paragraph,
1558 with this IMO we could remove the hack in "redoParagraphs()".
1560 2002-10-09 Angus Leeming <leeming@lyx.org>
1562 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1563 to turn off an optimisation if a new inset is to be inserted.
1565 2002-10-11 André Pönitz <poenitz@gmx.net>
1567 * lyxtext.h: make some functions public to allow access
1568 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1570 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1572 * text3.C (dispatch): when changing layout, avoid an infinite loop
1575 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1577 * lyxrc.C (read): treat a viewer or converter command of "none" as
1580 * MenuBackend.C (expandFormats): for an update, also allow the
1581 formats that are not viewable
1583 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1584 script if it is newer than the lyxrc.defaults in user directory
1586 2002-10-07 André Pönitz <poenitz@gmx.net>
1588 * text.C: Vitaly Lipatov's small i18n fix
1590 2002-09-25 Angus Leeming <leeming@lyx.org>
1592 * ispell.h: doxygen fix.
1594 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1596 * buffer.h (readFile): Add a new argument to the method, to allow
1597 reading of old-format templates.
1599 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1601 * toc.C (getTocList): Get TOC from InsetWrap.
1603 2002-09-16 John Levon <levon@movementarian.org>
1605 * lyxfunc.C: check tabular for cut/copy too
1607 2002-09-12 John Levon <levon@movementarian.org>
1612 * factory.C: add header
1614 * paragraph_funcs.h:
1615 * paragraph_funcs.C: cleanup
1617 2002-09-11 John Levon <levon@movementarian.org>
1619 * PrinterParams.h: odd/even default to true
1621 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1623 * PrinterParams.h: update printer parameters for new xforms dialog
1625 2002-09-11 Angus Leeming <leeming@lyx.org>
1627 * lyxserver.C (read_ready): re-write to make it more transparent
1628 and to make it work in coherent fashion under Tru64 Unix.
1630 2002-09-11 André Pönitz <poenitz@gmx.net>
1634 * text3.C: implement LFUN_WORDSEL
1636 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1639 make floatlist_ a boost::shared_ptr<FloatList>
1641 * lyxtextclass.C: include FloatList.h
1642 (LyXTextClass): initialize floatlist_
1643 (TextClassTags): add TC_NOFLOAT
1644 (Read): match "nofloat" to TC_NOFLOAT and use it.
1645 (readFloat): modify call to floatlist_
1649 * FloatList.[Ch] (FloatList): remove commented out float
1651 (erase): new function
1653 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1655 * MenuBackend.C (expandToc): fix crash when there is no document
1658 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1660 * many files: Add insetwrap.
1662 2002-09-09 John Levon <levon@movementarian.org>
1664 * text2.C: remove confusing and awkward depth wraparound
1666 2002-09-09 John Levon <levon@movementarian.org>
1668 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1671 * buffer.C: remove getIncludeonlyList()
1674 * lyxfunc.C: remove headers
1676 2002-09-09 Juergen Vigna <jug@sad.it>
1678 * text.C (getColumnNearX): fix form Michael this is most
1679 probably a cut&paste bug.
1681 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1683 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1685 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1686 references, ws changes.
1688 * text2.C (init): update counters after init
1689 (insertParagraph): no need to set counter on idividual paragraphs.
1690 (setCounter): access the counters object in the textclass object
1691 on in the buffer object.
1692 (updateCounters): ditto
1694 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1695 shared_ptr<Counters> to avoid loading counters.h in all
1697 (LyXTextClass): initialize ctrs_
1698 (TextClassTags): add TC_COUNTER, and ...
1699 (Read): use it here.
1700 (CounterTags): new tags
1701 (readCounter): new function
1702 (counters): new funtion
1703 (defaultLayoutName): return a const reference
1705 * counters.C (Counters): remove contructor
1706 (newCounter): remove a couple of unneeded statements.
1707 (newCounter): simplify a bit.
1708 (numberLabel): some small formatting changes.
1710 * buffer.[Ch]: remove all traces of counters, move the Counters
1711 object to the LyXTextClass.
1713 2002-09-06 Alain Castera <castera@in2p3.fr>
1715 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1716 package to set the horizontal alignment on fixed width columns.
1719 * lyx_sty.h: added tabularnewline macro def.
1721 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1723 2002-09-06 John Levon <levon@movementarian.org>
1725 * LyXAction.C: tooltips for sub/superscript
1727 * MenuBackend.C: a bit more verbose
1729 * lyxfunc.C: tiny clean
1731 * undo_funcs.C: document undo_frozen
1733 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1735 * counters.C (Counters): add missing algorithm counter.
1737 * text2.C (setCounter): lookup the counter with layouts latexname
1738 instead of by section number.
1739 (setCounter): use a hackish way to lookup the correct enum
1741 a float name->type change
1742 reset enum couners with counter name directly instead of depth value.
1744 * counters.C (Counters): remove the push_backs, change to use the
1745 float type not the float name.
1746 (labelItem): remove unused string, float name->type change
1748 * counters.h: don't include vector, loose the enums and sects vectors
1750 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1753 (Read): add float->TC_FLOAT to textclassTags
1754 (Read): and handle it in the switch
1755 (readFloat): new function
1757 * FloatList.C (FloatList): comment out the hardcoded float
1760 * lyxlayout.h: ws change.
1762 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1764 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1766 2002-09-03 Angus Leeming <leeming@lyx.org>
1768 * BufferView_pimpl.h: qualified name is not allowed in member
1769 declaration: WorkArea & Pimpl::workarea() const;
1771 * factory.C: added using std::endl directive.
1773 * text3.C: added using std::find and std::vector directives.
1775 2002-08-29 André Pönitz <poenitz@gmx.net>
1778 * text2.C: remove unused member number_of_rows
1781 * BufferView2.C: remove file, move contents to...
1782 * BufferView.C: ... here
1784 * BufferView_pimpl.C:
1785 * factory.C: move more inset creation to factory
1787 * vspace.C: avoid direct usage of LyXText, ws changes
1790 don't provide direct access to WorkArea, use two simple
1791 acessors haveSelction() and workHeight() instead
1794 2002-08-29 John Levon <levon@movementarian.org>
1796 * BufferView_pimpl.C (dispatch): do not continue when
1799 2002-08-28 André Pönitz <poenitz@gmx.net>
1801 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1804 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1806 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1808 * buffer.C: increment LYX_FORMAT to 221
1810 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1811 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1813 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1815 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1817 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1819 * factory.C (createInset): use LyXTextClass::floats
1821 * MenuBackend.C (expandFloatListInsert):
1822 (expandFloatInsert):
1825 * text2.C (setCounter):
1827 * LaTeXFeatures.C (useFloat):
1828 (getFloatDefinitions):
1830 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1832 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1833 floatlist_, with accessor floats().
1835 * FloatList.h: remove global FloatList
1837 2002-08-26 André Pönitz <poenitz@gmx.net>
1839 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1843 * BufferView_pimpl.C:
1844 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1846 2002-08-25 John Levon <levon@movementarian.org>
1848 * LyXAction.C: fix margin note description
1850 2002-08-24 John Levon <levon@movementarian.org>
1854 * bufferview_funcs.C:
1856 * undo_funcs.C: cleanups
1858 * lyxfunc.C: disable CUT/COPY when no selection
1860 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1862 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1863 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1865 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1866 Add backward compatibility to "mono", "gray" and "no".
1868 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1870 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1871 (and file_format >= 200).
1873 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1875 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1877 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1879 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1881 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1883 * BufferView_pimpl.C:
1890 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1891 inset and code to make it work with the paragraph code. The inset
1892 can be anywhere in the paragraph, but will only do the expected
1893 thing in LaTeX if the layout file contains the parameter line
1895 (or more generally, a nonzero value) for that layout.
1897 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1899 * paragraph.h: remove the declaration of undefined counters class
1902 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1904 * text2.C (setCounter): fixed enumeration mis-count as reported by
1905 Dr. Richard Hawkins.
1907 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1909 * paragraph_funcs.h: remove some unneeded includes
1911 * text.C (backspace): pasteParagraph now in global scipe
1913 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1914 (pasteSelection): ditto
1916 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1917 * paragraph_funcs.C (pasteParagraph): ... here
1919 2002-08-20 André Pönitz <poenitz@gmx.net>
1921 * commandtags.h: new LFUNs for swapping/copying table row/colums
1924 * lyxfunc.C: support for new lfuns
1926 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * buffer.[Ch]: remove NO_COMPABILITY stuff
1931 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1933 * boost.C (throw_exception): new file, with helper function for
1934 boost compiled without exceptions.
1939 * ParameterStruct.h:
1940 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1942 * bufferlist.C (emergencyWriteAll): use boost bind
1944 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1946 * text.C: include paragraph_funcs.h
1947 (breakParagraph): breakParagraph is now in global scope
1949 * paragraph_funcs.[Ch]: new files
1951 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1954 * buffer.C: include paragraph_funcs.h
1955 (insertStringAsLines): breakParagraph is now in global scope
1957 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1960 * CutAndPaste.C: include paragraph_funcs.h
1961 (cutSelection): breakParagraphConservative is now in global scope
1962 (pasteSelection): ditto
1964 * buffer.h: declare oprator== and operator!= for
1965 Buffer::inset_iterator
1967 * bufferlist.C (emergencyWrite): don't use fmt(...)
1969 * text3.C: add using std::endl
1971 * BufferView.C (moveCursorUpdate): remove default arg
1973 2002-08-20 André Pönitz <poenitz@gmx.net>
1975 * buffer.[Ch]: move inline functions to .C
1978 * BufferView_pimpl.C:
1980 * buffer.[Ch]: use improved inset_iterator
1983 * paragraph.[Ch]: write one paragraph at a time
1985 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1987 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1988 style if style is not specified.
1990 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1992 * text2.C (setCounter): when searching for right label for a
1993 caption, make sure to recurse to parent insets (so that a caption
1994 in a minipage in a figure float works) (bug #568)
1996 2002-08-20 André Pönitz <poenitz@gmx.net>
1998 * text3.C: new file for LyXText::dispatch() and helpers
2000 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2002 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2004 2002-08-19 André Pönitz <poenitz@gmx.net>
2007 * text.C: new LyXText::dispatch()
2009 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2011 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2013 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2015 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2018 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2020 * Makefile.am: use $(variables) instead of @substitutions@
2022 2002-08-15 André Pönitz <poenitz@gmx.net>
2025 * BufferView_pimpl.C: streamlining mathed <-> outer world
2029 * LyXAction.C: remove unused LFUN_MATH
2031 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2035 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * paragraph.C (Paragraph): reformat a bit
2038 (cutIntoMinibuffer): use builtin InsetList function instad of
2042 * buffer.C: include boost/bind.hpp, add using std::for_each
2043 (writeFileAscii): use ParagraphList iterators
2044 (validate): use for_each for validate traversal of paragraphs
2045 (getBibkeyList): use ParagraphList iterators
2046 (resizeInsets): use for_each to resizeInsetsLyXText for all
2048 (getParFromID): use ParagraphList iterators
2050 * BufferView2.C (lockInset): use paragraph list and iterators
2052 2002-08-14 John Levon <levon@movementarian.org>
2054 * lyxserver.C: remove spurious xforms include
2056 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2058 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2060 2002-08-13 André Pönitz <poenitz@gmx.net>
2063 * lyxfunc.C: further cleaning
2065 2002-08-13 André Pönitz <poenitz@gmx.net>
2067 * funcrequest.h: new constructor
2069 * funcrequest.C: move stuff here from .h
2072 * BufferView_pimpl.C:
2075 * lyxfunc.C: subsequent changes
2077 * lyxfunc.h: new view() member function
2079 * lyxfunc.C: subsequent changes
2081 2002-08-13 Angus Leeming <leeming@lyx.org>
2084 * BufferView_pimpl.C:
2092 changes due to the changed LyXView interface that now returns references
2093 to member variables not pointers.
2095 2002-08-13 Angus Leeming <leeming@lyx.org>
2097 * WordLangTuple (word, lang_code): return references to strings,
2102 * lyxtext.h: forward-declare WordLangTuple.
2107 * text.C: #include "WordLangTuple.h".
2110 * text.C: (selectNextWordToSpellcheck): constify return type.
2112 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2118 * paragraph_pimpl.h:
2121 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2123 Made updateCounter always count from start of buffer, and removed
2124 second argument (par).
2125 Reverted floats number display to '#'. Perhaps I'll try again when the
2126 code base is sanitized a bit.
2128 2002-08-12 Angus Leeming <leeming@lyx.org>
2130 * buffer.[Ch] (getLabelList): constify.
2132 2002-08-07 André Pönitz <poenitz@gmx.net>
2134 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2136 * funcrequest.h: extension to keep mouse (x,y) position
2138 2002-08-12 Juergen Vigna <jug@sad.it>
2140 * BufferView2.C (insertErrors): forbid undo when inserting error
2143 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2145 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2147 * ParagraphList.[Ch]: new files
2149 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2151 * BufferView2.C (lockInset): ParagraphList changes
2154 * bufferlist.C: ditto
2158 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2161 unused class variable counter_,
2163 * paragraph.[Ch] (getFirstCounter): delete unused function
2165 * counters.C: include LAssert.h
2166 (reset): add a new function with no arg, change other version to
2167 not have def. arg and to not allow empty arg.
2169 * text2.C (setCounter): remove empty arg from call to Counters::reset
2171 2002-08-11 John Levon <levon@movementarian.org>
2173 * Makefile.am: add WordLangTuple.h
2175 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2178 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2180 * insets/insettext.C: InsetList changes
2182 * graphics/GraphicsSupport.C (operator()): InsetList changes
2184 * toc.C (getTocList): InsetList changes
2186 * paragraph_pimpl.[Ch]: InsetList changes
2188 * paragraph.[Ch]: InsetList changes
2190 * buffer.C (inset_iterator): InsetList changes
2191 (setParagraph): ditto
2192 * buffer.h (inset_iterator): ditto
2193 * iterators.C (operator++): ditto
2194 * iterators.h: ditto
2196 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2198 * InsetList.[Ch]: new files, most InsetList handling moved out of
2201 * BufferView2.C (removeAutoInsets): InsetList changes
2203 (ChangeInsets): ditto
2205 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * paragraph_pimpl.h (empty): new function
2209 * paragraph.[Ch] (empty): new function
2211 * other files: use the new Paragraph::empty function
2213 2002-08-09 John Levon <levon@movementarian.org>
2215 * lyxtext.h: remove unused refresh_height
2217 2002-08-09 John Levon <levon@movementarian.org>
2224 * paragraph.C: move sgml char escaping out of paragraph
2227 * paragraph.C: remove id setter
2231 * paragraph_pimpl.C: remove dead tex_code_break_column
2233 * bufferview_funcs.C: small cleanup
2235 * lyxfunc.C: remove dead proto
2237 * lyxtext.h: make some stuff private. Remove some dead stuff.
2239 * lyxgluelength.C: make as[LyX]String() readable
2241 2002-08-08 John Levon <levon@movementarian.org>
2246 * ToolbarDefaults.C:
2249 * toc.C: lyxaction cleanup
2251 2002-08-08 John Levon <levon@movementarian.org>
2253 * BufferView2.C: small cleanup
2256 * lyxfind.C: move unnecessary header into the .C
2258 2002-08-08 John Levon <levon@movementarian.org>
2260 * funcrequest.h: just tedious nonsense
2263 * lyx_main.C: cleanups
2266 * vspace.C: remove dead header lyx_main.h
2268 2002-08-07 Angus Leeming <leeming@lyx.org>
2271 * paragraph_pimpl.h:
2272 Forward declare class Counters in paragraph.h by moving the ctrs member
2273 variable into Paragraph::Pimpl.
2274 (counters): new method, returning a reference to pimpl_->ctrs.
2276 * text2.C: ensuing changes.
2278 2002-08-07 John Levon <levon@movementarian.org>
2280 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2282 * BufferView_pimpl.C: announce X selection on double/triple
2285 * lyx_main.C: use correct bool in batch dispatch
2287 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2289 2002-08-07 André Pönitz <poenitz@gmx.net>
2291 * funcrequest.h: new class to wrap a kb_action and its argument
2294 * BufferView_pimpl[Ch]:
2298 * lyxrc.C: subsequent changes
2301 2002-08-07 John Levon <levon@movementarian.org>
2303 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2304 document options change.
2306 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2311 * makefile.am: move counters functionality over from
2312 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2314 2002-08-06 John Levon <levon@movementarian.org>
2316 * WordLangTuple.h: new file for word + language code tuple
2327 * BufferView2.C: use WordLangTuple
2330 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2332 2002-08-06 John Levon <levon@movementarian.org>
2334 * lyx_main.C: fix cmdline batch handling
2336 2002-08-06 André Pönitz <poenitz@gmx.net>
2338 * lyxrc.C: set default for show_banner to true
2340 2002-08-06 John Levon <levon@movementarian.org>
2342 * pspell.C: fix a crash, and allow new aspell to work
2344 2002-08-06 John Levon <levon@movementarian.org>
2347 * kbmap.C: small cleanup
2350 * vspace.C: add const
2352 2002-08-05 John Levon <levon@movementarian.org>
2354 * LyXAction.C: back to tabular-insert
2356 2002-08-04 John Levon <levon@movementarian.org>
2359 * BufferView.C: cosmetic change
2361 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2371 * BufferView2.C: purge all "Lyx" not "LyX" strings
2374 * lyxcursor.C: attempt to add some documentation
2379 * ToolbarDefaults.C:
2380 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2381 merge with LFUN_TABULAR_INSERT
2388 * pspell.C: split up i/pspell implementations into separate
2389 files, many cleanups
2391 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2393 * text2.C: some cleanup
2395 * lyxfunc.C: don't check for isp_command == "none" any more, it
2396 didn't make any sense
2398 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2403 * makefile.am: move counters functionality over
2404 from text2.C/paragraph.[Ch] to counters.[Ch], and
2406 2002-08-02 John Levon <levon@movementarian.org>
2408 * buffer.C: s/lyxconvert/lyx2lyx/
2410 2002-08-02 Angus Leeming <leeming@lyx.org>
2412 * lyxlex.C: revert John's change as it breaks reading of the user
2415 2002-08-02 Angus Leeming <leeming@lyx.org>
2417 * importer.C (Import):
2418 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2419 changes due to LyXView::view() now returning a boost::shared_ptr.
2421 2002-08-02 John Levon <levon@movementarian.org>
2423 * lyxlex.C: small cleanup
2425 2002-08-02 John Levon <levon@movementarian.org>
2427 * text2.C (status): small cleanup, no logic change
2429 2002-08-01 John Levon <levon@movementarian.org>
2432 * buffer.C (writeFile): don't output alerts, caller
2436 * lyx_cb.C: from above
2438 * lyxfunc.C: allow to open non-existent files
2440 2002-07-31 John Levon <levon@movementarian.org>
2442 * lyxserver.C: don't let incidental errors get
2445 2002-07-30 John Levon <levon@movementarian.org>
2447 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2449 2002-07-30 John Levon <levon@movementarian.org>
2452 * lyxserver.C: remove I/O callback too
2454 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2456 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2459 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2461 * many files: strip,frontStrip -> trim,ltrim,rtrim
2463 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * PrinterParams.h: remove extern containsOnly, and include
2466 support/lstrings.h instead.
2468 * LaTeX.C (scanAuxFile): modify because of strip changes
2470 * buffer.C (makeLaTeXFile): ditto
2471 * bufferparams.C (writeFile): ditt
2472 * lyxfont.C (stateText): ditto
2473 * lyxserver.C (read_ready): ditto
2474 * vc-backend.C (scanMaster): ditto
2476 * BufferView_pimpl.h: ws changes
2478 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2480 2002-07-26 André Pönitz <poenitz@gmx.net>
2482 * kb_sequence.C: remove unnedred usings
2484 2002-07-26 Juergen Vigna <jug@sad.it>
2486 * lyxfind.C (LyXReplace): we have to check better if the returned
2487 text is not of theLockingInset()->getLockingInset().
2489 2002-07-25 Juergen Vigna <jug@sad.it>
2491 * lyxfind.C (LyXReplace): don't replace if we don't get the
2494 * undo_funcs.C (createUndo): remove debugging code.
2496 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2498 * buffer.C (parseSingleLyXformat2Token): Use default placement
2499 when reading old floats.
2501 * FloatList.C (FloatList): Change the default placement of figure
2502 and tables to "tbp".
2504 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2506 * MenuBackend.C: using std::max
2508 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2510 * MenuBackend.C (expandToc):
2511 (expandToc2): code moved from xforms menu frontend. It is now
2512 generic and TOCs are transparent to menu frontends.
2514 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2516 * toc.C (getTocList): protect against buf=0
2518 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2519 Menu as first parameter. Now, this calls itself recursively to
2520 expand a whole tree (this will be useful for TOC handling)
2521 (expandFloatInsert): remove 'wide' version of floats
2523 * MenuBackend.h (submenuname): returns the name of the submenu.
2524 (submenu): returns the submenu itself, provided it has been
2525 created by MenuBackend::expand
2527 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2529 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2530 insets which have noFontChange == true. (bug #172)
2532 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2534 * BufferView_pimpl.C: add connection objects and use them...
2537 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2539 * MenuBackend.C (expandLastfiles):
2542 (expandFloatListInsert):
2543 (expandFloatInsert):
2544 (expand): split expand in parts
2546 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2548 * lyx_gui.C: use lyx_gui::exit()
2550 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2552 * LyXAction.C: show the failing pseudo action
2554 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2556 * buffer.C (readFile): Run the lyxconvert script in order to read
2559 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2563 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2565 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2569 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2571 2002-07-22 Herbert Voss <voss@lyx.org>
2574 * lyxlength.[Ch]: add support for the vertical lengths
2576 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2578 * toc.[Ch]: std:: fixes
2580 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2582 * lyxrc.C: do not include lyx_main.h
2584 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2590 * BufferView2.C: include "lyxlex.h"
2593 * bufferparams.h: do not #include "lyxlex.h"
2595 * lyxtextclasslist.C (Add): remove method
2596 (classlist): renamed to classlist_
2598 * paragraph_pimpl.C:
2602 * bufferview_funcs.C:
2607 * toc.C (getTocList): use BufferParams::getLyXTextClass
2609 * toc.C (getTocList): use InsetFloat::addToToc
2611 * toc.[Ch]: new files, containing helper functions to handle table
2614 * lyxfunc.C (dispatch): no need to remove spaces around command
2616 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2617 first command of the sequence; it is not very clever, but I do not
2618 have a better idea, actually
2620 * LyXAction.C (LookupFunc): make sure to remove space at the
2621 beginning and end of the command
2623 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2625 * MenuBackend.C (getMenubar): new method: return the menubar of
2627 (read): treat differently reading of menu and menubar (in
2628 particular, the menubar has no name now)
2629 (Menu::menubar): remove
2631 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2634 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2636 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2637 a bibitem inset in a RTL paragraph.
2639 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2641 * paragraph_pimpl.C: constify
2643 * BufferView_pimpl.C:
2645 * lyxfunc.C: fix dispatch in a nicer way
2647 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2649 * lyxfunc.C (dispatch):
2650 * BufferView_pimpl.C:
2651 * BufferView_pimpl.h:
2653 * BufferView.h: rename Dispatch() to dispatch()
2655 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2657 * lyxlayout.C (Read): honor DependsOn tag
2659 * lyxlayout.[Ch] (depends_on): new method
2661 * version.C.in: update lyx_docversion
2663 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2665 * paragraph.C (validate): remove from here...
2666 * paragraph_pimpl.C (validate): ... and move here
2667 (isTextAt): make it const
2669 * buffer.C (getLists): ws cleanup
2671 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2673 * language.C (read): Use iso8859-1 encoding in latex_lang
2674 (this prevents LyX from crashing when using iso10646-1 encoding).
2676 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2678 * text2.C (toggleInset): if cursor is inside an inset, close the
2679 inset and leave cursor _after_ it
2681 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2683 * lyxfunc.C: move minibuffer completion handling out of here
2685 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2687 * BufferView_pimpl.C:
2688 * LaTeX.C: fix dispatch calls
2690 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2692 * text.C (drawChars): Fix Arabic text rendering.
2694 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2698 * lyxfunc.C: remove message-push/pop
2702 * lyxfunc.C: rationalise some code by removing verboseDispatch
2703 in favour of a bool argument to dispatch()
2705 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2707 * lyx_main.C (init): make sure to read symlinks as absolute paths
2709 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2712 * lyxfunc.C: no need for commandshortcut to be a member
2714 2002-07-15 André Pönitz <poenitz@gmx.net>
2716 * converter.C: add support for $$s (scripts from lib/scripts dir)
2717 * lyx_main.C: white space
2719 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2723 * lyxrc.C: remove second exit confirmation
2725 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2730 * BufferView_pimpl.h:
2731 * BufferView_pimpl.C:
2732 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2734 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2736 * MenuBackend.C (expand): add numeric shortcuts to document menu
2738 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2740 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2742 * lyxfont.C (setLyXFamily):
2749 * buffer.C (asciiParagraph): use ascii_lowercase
2751 2002-07-15 Mike Fabian <mfabian@suse.de>
2753 * lyxlex_pimpl.C (search_kw):
2754 * lyxlex.C (getLongString):
2755 * converter.h (operator<):
2756 * converter.C (operator<):
2757 * buffer.C (parseSingleLyXformat2Token):
2759 * ToolbarDefaults.C (read):
2760 * MenuBackend.C (checkShortcuts):
2762 * LColor.C (getFromGUIName):
2763 (getFromLyXName): use the compare_ascii_no_case instead of
2764 compare_no_case, because in turkish, 'i' is not the lowercase
2765 version of 'I', and thus turkish locale breaks parsing of tags.
2767 2002-07-16 Angus Leeming <leeming@lyx.org>
2769 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2770 now takes a Buffer const & argument.
2772 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2774 * BufferView.C (resize): check there's a buffer to resize
2776 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2778 * lyxfunc.C: remove dead code
2781 * lyxserver.C: use lyx_guii::set_read_callback
2783 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2785 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2786 an inset in a RTL paragraph.
2788 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2790 * lyxfunc.C: repaint after a font size update
2792 2002-07-15 André Pönitz <poenitz@gmx.net>
2794 * lyxlength.C: inBP should be able to return negative values
2796 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2798 * lyxfunc.C: use lyx_gui::update_fonts()
2800 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2802 * lyxfunc.C: use lyx_gui::update_color()
2804 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2810 * lyxrc.C: remove file->new asks for name option, and let
2811 buffer-new take an argument
2813 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2815 * BufferView_pimpl.C: remove unneeded extra repaint()
2817 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2819 * LyXAction.C: allow command-sequence with NoBuffer
2821 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2823 2002-07-10 Angus Leeming <leeming@lyx.org>
2825 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2827 2002-07-09 Angus Leeming <leeming@lyx.org>
2829 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2831 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2833 * lengthcommon.h: whitespace
2835 * lyxfunc.C: update scrollbar after goto paragraph
2837 * lyxtext.h: factor out page break drawing, and fix it so
2838 page break/added space paints as selected nicely
2840 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2842 * BufferView_pimpl.C: add FIXMEs, clean up a little
2844 2002-07-09 André Pönitz <poenitz@gmx.net>
2846 * lyxfont.[Ch]: support for wasy symbols
2848 2002-07-08 André Pönitz <poenitz@gmx.net>
2850 * BufferView_pimpl.C: apply John's patch for #93.
2852 2002-07-05 Angus Leeming <leeming@lyx.org>
2854 * BufferView_pimpl.C (buffer): generate previews if desired.
2856 * LColor.h: add "preview" to the color enum.
2858 * LColor.C (LColor): add a corresponding entry to the items array.
2860 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2863 2002-07-05 Angus Leeming <leeming@lyx.org>
2865 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2866 The body of the code is now in the method that is passed an ostream &
2867 rather than a file name.
2868 Pass an additional only_preamble parameter, useful for the forthcoming
2871 2002-07-03 André Pönitz <poenitz@gmx.net>
2873 * lyxfunc.C: simplify getStatus() a bit for math stuff
2875 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2877 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2879 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2881 * text.C (changeRegionCase): do not change case of all the
2882 document when region ends at paragraph end (bug #461)
2884 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2886 * paragraph.C (startTeXParParams):
2887 (endTeXParParams): add \protect when necessary
2889 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2891 * BufferView_pimpl.C (workAreaExpose): remove warning
2893 2002-06-27 Angus Leeming <leeming@lyx.org>
2895 * Makefile.am: add lyxlayout_ptr_fwd.h.
2897 2002-06-26 André Pönitz <poenitz@gmx.net>
2899 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2901 2002-06-25 Angus Leeming <leeming@lyx.org>
2903 * lyxfunc.C (dispatch): Comment out the call to
2904 grfx::GCache::changeDisplay. The method no longer exists now that the
2905 pixmap generation part of the graphics loader has been moved into
2908 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2910 * text2.C: layout as layout
2912 * text.C: layout as layout
2914 * tabular.C (OldFormatRead): layout as layout
2916 * paragraph_pimpl.C (TeXDeeper): layout as layout
2917 (realizeFont): layout as layout
2919 * paragraph.C (writeFile): layout as layout
2920 (validate): layout as layout
2921 (getFont): layout as layout
2922 (getLabelFont): layout as layout
2923 (getLayoutFont): layout as layout
2924 (breakParagraph): layout as layout
2925 (stripLeadingSpaces): layout as layout
2926 (getEndLabel): layout as layout
2927 (getMaxDepthAfter): layout as layout
2928 (applyLayout): layout as layout
2929 (TeXOnePar): layout as layout
2930 (simpleTeXOnePar): layout as layout
2931 (TeXEnvironment): layout as layout
2932 (layout): layout as layout
2933 (layout): layout as layout
2935 * lyxtextclass.C (compare_name): new functor to work with
2936 shared_ptr, layout as layout
2937 (Read): layout as layout
2938 (hasLayout): layout as layout
2939 (operator): layout as layout
2940 (delete_layout): layout as layout
2941 (defaultLayout): layout as layout
2943 * lyxlayout_ptr_fwd.h: new file
2945 * lyxlayout.C (Read): layout as layout
2947 * lyx_cb.C (MenuInsertLabel): layout as layout
2949 * bufferlist.C (newFile): layout as layout
2951 * buffer.C (readLyXformat2): layout as layout
2952 (parseSingleLyXformat2Token): layout as layout
2953 (insertStringAsLines): layout as layout
2954 (asciiParagraph): layout as layout
2955 (latexParagraphs): layout as layout
2956 (makeLinuxDocFile): layout as layout
2957 (simpleLinuxDocOnePar): layout as layout
2958 (makeDocBookFile): layout as layout
2959 (simpleDocBookOnePar): layout as layout
2960 (getLists): layout as layout
2962 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2964 * CutAndPaste.C (cutSelection): layout as layout
2965 (pasteSelection): layout as layout
2966 (SwitchLayoutsBetweenClasses): layout as layout
2968 * BufferView_pimpl.C (Dispatch): layout as layout
2969 (smartQuote): layout as layout
2971 * BufferView2.C (unlockInset): layout as layout
2973 2002-06-24 André Pönitz <poenitz@gmx.net>
2975 * lyxfunc.C: fix #487
2977 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2981 * lyxfunc.C: remove display_shortcuts, show_banner
2983 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2985 * Buffer_pimpl.C: oops, update on resize
2987 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2994 * BufferView.C: use repaint()
2996 * BufferView_pimpl.h:
2997 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2998 as it's a clearer description. Remove superfluous
3001 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3003 * text.C: fix bug 488. Not ideal, but getting
3004 getWord() to work properly for the insets that
3005 matter is more difficult ...
3007 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3009 * BufferView_pimpl.C:
3012 * lyxfunc.C: remove the six million index lyxfuncs to just
3013 one, and DTRT (bug 458)
3015 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3019 * BufferView_pimpl.h:
3020 * BufferView_pimpl.C: clean up resize() stuff,
3021 and unnecessary updateScreen()s
3023 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3027 * BufferView_pimpl.h:
3028 * BufferView_pimpl.C:
3031 * minibuffer.C: remove focus management of workarea,
3032 not needed. Use screen's greyOut()
3034 2002-06-17 Herbert Voss <voss@lyx.org>
3036 * converter.C: (convert) do not post a message, when converting
3037 fails, let the calling function decide what to do in this case
3039 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3041 * lyxfunc.C: tidy up a little
3043 2002-06-16 <alstrup@diku.dk>
3045 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3046 Got rid of FORMS_H_LOCATION include. Now we are
3049 2002-06-15 LyX Development team <lyx@rilke>
3051 * buffer.[Ch] (sgmlOpenTag):
3052 (sgmlCloseTag): Added support for avoiding pernicious mixed
3053 content. Return number of lines written.
3056 (makeDocBookFile): Fixed calls to sgml*Tag.
3057 Simple white space clean.
3059 (simpleDocBookOnePar): Simple white space clean.
3061 * tabular.[Ch] (docBook): Renamed to docbook and got another
3062 argument to related with the pernicious mixed content.
3064 (docbookRow): Fixed calls for docbook inset method.
3066 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3068 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3069 so it's X11 independent.
3073 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3075 2002-06-15 Lyx Development team <lyx@electronia>
3077 * intl.h: Renamed getTrans to getTransManager.
3079 2002-06-14 Angus Leeming <leeming@lyx.org>
3081 * Makefile.am: nuke forgotten stl_string_fwd.h.
3083 2002-06-12 Angus Leeming <leeming@lyx.org>
3085 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3087 2002-06-13 Angus Leeming <leeming@lyx.org>
3090 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3092 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3094 * kbmap.C (getiso): add support for cyrillic and greek
3096 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3100 * BufferView_pimpl.h:
3101 * BufferView_pimpl.C: move bogus scrolling logic
3104 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3107 * BufferView_pimpl.C: view->resize() change
3109 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3111 * BufferView_pimpl.C: topCursorVisible
3114 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3118 * lyx_gui.C: move to frontends/
3122 * lyx_main.C: changes from above
3124 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3131 * lyx_main.C: minor tidy
3133 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3135 * BufferView_pimpl.h:
3136 * BufferView_pimpl.C:
3138 * BufferView.C: make painter() const,
3141 * BufferView2.C: use screen() accessor
3144 * lyx_main.C: some minor cleanup
3146 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3148 * BufferView_pimpl.h:
3149 * BufferView_pimpl.C: remove enter/leaveView,
3152 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3157 * BufferView_pimpl.h:
3158 * BufferView_pimpl.C: only construct screen once,
3161 * lyxrc.C: remove pointless comment
3163 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3166 * BufferView.C: remove active() and belowMouse()
3168 * BufferView_pimpl.h:
3169 * BufferView_pimpl.C: use workarea() not workarea_,
3170 and make it use a scoped_ptr instead
3172 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3174 * lyx_gui.C: add debug message on BadWindow
3176 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3178 * sp_spell.C: fdopen is not part of the C++ standard.
3180 * paragraph.C (InsetIterator): use >= instead of ==
3182 2002-06-07 Angus Leeming <leeming@lyx.org>
3184 Fixes needed to compile with Compaq cxx 6.5.
3185 * BufferView_pimpl.C:
3192 * lyxtextclasslist.C:
3197 all c-library variables have been moved into namespace std. Wrap
3198 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3203 Add a using std::abs declaration.
3205 * kbmap.h (modifier_pair):
3206 * paragraph.h (InsetTable, InsetList):
3207 * lyxfont.h (FontBits):
3208 type definition made public.
3210 * bufferlist.C (emergencyWriteAll): the compiler complains that
3211 there is more than one possible lyx::class_fun template to choose from.
3212 I re-named the void specialisation as lyx::void_class_fun.
3214 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3216 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3217 the compiler is is unable to find tostr in write_attribute.
3219 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3221 * buffer.C (sgmlError): hide #warning
3223 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3225 * xtl/*: get rid of xtl, which is not in use anyway
3227 * LyXAction.C (init):
3228 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3229 were unimplemented xtl experimentation
3231 2002-06-04 André Pönitz <poenitz@gmx.net>
3233 * lyxfunc.C: disable array operation on simple formulae
3235 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3237 * converter.C: constify a bit
3239 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3241 * lyx_gui.C: check xforms version correctly
3243 2002-04-30 Herbert Voss <voss@lyx.org>
3245 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3248 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3250 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3251 attempt to register it with a VCS)
3253 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3255 * lyx_main.C (init): honor variables LYX_DIR_13x and
3258 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3262 * lyx_main.C: fix a crash on bad command line,
3263 and give a useful exit status on error
3265 * lyxfunc.C (doImport): allow -i lyx to work
3267 2002-03-30 André Pönitz <poenitz@gmx.net>
3269 * lyxfunc.C: mathed font changes
3271 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3286 * trans_mgr.h: srcdocs, and some minor cleanups
3288 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3290 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3291 call getFont all the time)
3293 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3295 * switch from SigC signals to boost::signals
3297 2002-05-29 André Pönitz <poenitz@gmx.net>
3299 * paragraph_pimpl.C (getChar): don't call size() too often...
3301 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3303 * paragraph_pimpl.C (insertChar): do not try to update tables when
3304 appending (pos == size())
3306 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3307 in order to reduce drastically the number of comparisons needed to
3308 parse a large document
3310 2002-05-29 André Pönitz <poenitz@gmx.net>
3316 * textclasslist.[Ch]:
3317 * sp_ispell.h: whitespace change
3319 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3321 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3322 lyxaction directly now.
3324 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3328 * lyxvc.C: remove unused headers
3330 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3337 * undo_funcs.C: some cleanups. Use shared_ptr
3338 and a template for the undo stacks.
3340 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3342 * BufferView_pimpl.h:
3343 * BufferView_pimpl.C:
3350 * text2.C: use key_state/mouse_state
3352 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3354 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3357 * chset.C: change include order
3358 (loadFile): use boost regex and get rid of LRegex and LSubstring
3360 * Makefile.am (BOOST_LIBS): new variable
3363 * LaTeX.C: change include order.
3364 (scanAuxFile): use boost regex and get rid of LRegex and
3368 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3373 * FontInfo.C: moved to frontends/xforms/
3376 * FontLoader.C: moved into frontends for GUIIzation
3381 * lyxfunc.C: changes from above
3383 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3385 * LColor.C: remove spurious X include
3387 * BufferView_pimpl.C:
3392 * text2.C: move font metrics to frontends/
3394 2002-05-24 Juergen Vigna <jug@sad.it>
3396 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3397 setting the undo_cursor.
3399 * ParagraphParameters.h: include local includes first.
3401 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3403 * BufferView_pimpl.C:
3404 * BufferView_pimpl.h:
3408 * screen.C: move WorkArea into frontends/
3414 * BufferView2.C: move LyXScreen into frontends/
3418 * lyx_gui.C: move lyxlookup into frontends/xforms/
3420 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3423 * BufferView_pimpl.C:
3433 * bufferview_funcs.C:
3446 * vc-backend.C: move LyX/XFormsView into frontends/
3448 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3460 * text2.C: move Painter to frontends/
3462 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3464 * buffer.C: comment out some some code that depend upon lyx_format
3467 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3468 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3470 * buffer.h (NO_COMPABILITY): turn off compability
3472 * ColorHandler.C: include scoped_array.hpp
3474 * font.C: Use more specific smart_ptr header.
3477 * ShareContainer.h: ditto
3481 * BufferView_pimpl.h: ditto
3482 * ColorHandler.h: ditto
3484 * kbmap.C (defkey): change call to shared_ptr::reset
3486 2002-05-21 Juergen Vigna <jug@sad.it>
3488 * buffer.C (insertErtContents): fix to insert ert asis if it is
3489 non empty. Skip it completely if it contains only whitespaces.
3491 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3493 * BufferView_pimpl.C:
3494 * BufferView2.C: clear selection on paste (bug 393)
3496 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3498 * DepTable.C: include ctime
3500 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3502 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3504 2002-05-14 Juergen Vigna <jug@sad.it>
3506 * text.C (breakParagraph): fixed function to honor the keepempty
3507 layout in the right maner and also to permit the right breaking
3508 algorithm on empty or non empyt keepempty paragraphs.
3510 * paragraph.C (breakParagraph): we have to check also if the par
3511 is really empty (!size()) for isempty otherwise we do the wrong
3514 2002-05-10 Juergen Vigna <jug@sad.it>
3516 * buffer.[Ch] : The following are only changes to the ert
3517 compatibility read reading old LaTeX layout and font stuff and
3518 convert it to ERTInsets.
3520 * buffer.h: added isErtInset().
3522 * buffer.C (struct ErtComp): add a fromlayout bool to check
3523 if we're inside a LaTeX layout.
3524 (isErtInset): new helper function.
3525 (insertErtContents): look for other ert insets before this one
3526 and insert the contents there, so that we don't have subsequent
3527 ERT insets with nothing between them. This way we create only one
3528 inset with multiple paragraphs. Also check if we don't insert only
3529 spaces ' ' as they are ignored anyway afterwards in the .tex file
3530 so if we have only spaces we will ignore this latex part in the
3532 (parseSingleLyXformat2Token \\layout): better compatibility when
3533 reading layout-latex stuff.
3534 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3536 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3537 stuff after reading the inset only get the information back from
3540 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3542 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3544 * LaTeXFeatures.C (getBabelOptions): New method.
3546 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3548 * BufferView_pimpl.C (Dispatch): work around missing argument for
3551 2002-05-08 Juergen Vigna <jug@sad.it>
3553 * text.C (leftMargin): handle paragraph leftindent.
3555 * paragraph.C (writeFile): write the new \\leftindent tag.
3556 (validate): handle leftindent code.
3557 (TeXEnvironment): handle paragraphleftindent code again.
3559 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3561 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3562 for paragrap_extra indent code and new token \\leftindent.
3563 (latexParagraphs): handle the leftindent as environment.
3565 * ParameterStruct.h: added leftindent support.
3567 * ParagraphParameters.C (leftIndent): added support functions for
3568 the paragraph left indent.
3570 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3573 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3575 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3578 * text.C (computeBidiTables): No bidi in insetERT.
3580 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3583 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3585 * version.C.in: pre 5
3587 2002-05-02 José Matos <jamatos@fep.up.pt>
3588 * buffer.C (makeDocBookFile): white space changes, add newline to
3590 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3592 * tabular.C (docBook): fix typo.
3594 2002-05-03 Juergen Vigna <jug@sad.it>
3596 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3597 change in LyXText as we can not be sure it was not freed.
3598 (drawOneRow): remove unused code.
3600 * text.C (drawInset): redo the calculation of the need_break_row as
3601 it could have a row which was already freed.
3602 (draw): look at the return value of drawInset and return false if
3603 it also returned false.
3604 (paintRowText): look at the return value of draw and return false if
3605 it also returned false.
3607 * lyxtext.h: added bool return type to drawInset() and draw() so that
3608 if we have a change in the row so that the rowbreak has to be redone
3609 we abort drawing as it will be called again.
3611 2002-05-02 Juergen Vigna <jug@sad.it>
3613 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3614 a change in the maintext also if we're inside an inset.
3615 (Dispatch): set the cursor again after a break line and after the
3616 screen has been updated as it could be we're in a different row.
3618 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3619 to set the cursor behind the pargraph with > size().
3620 (setCursor): check also for the same paragraph when checking where
3621 to put the cursor if we have a NFR inset.
3623 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3624 parts of layout read further up as it still was in the wrong
3627 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3629 * screen.C (drawFromTo): change sine fullRebreak always return
3632 * buffer.C (parseSingleLyXformat2Token): reindent some
3634 * BufferView_pimpl.C (update): change since fullRebreak always
3636 (Dispatch): git rid of the last hardcoded "Standard"s.
3638 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3640 * text2.[Ch] (fullRebreak): make it return void now that we always
3643 2002-04-30 Juergen Vigna <jug@sad.it>
3645 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3646 ert compatibility check for "latex" layout.
3648 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3650 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3651 minipages: use col% instead of p%, and also use the current font.
3652 (makeLaTeXFile): Fix use babel condition.
3653 (parseSingleLyXformat2Token): Correct font when reading old floats.
3655 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3657 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3658 inserting list of floats.
3660 2002-04-25 Herbert Voss <voss@lyx.org>
3662 * MenuBackend.C (expand): don't add the graphics extensions to the
3665 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3667 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3668 non-existing layout, do not complain if it was the default layout
3669 of the original class (bug #342)
3671 2002-04-24 Juergen Vigna <jug@sad.it>
3673 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3674 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3676 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3678 * buffer.C (getBibkeyList): If using \bibliography, return the
3679 option field with the reference itself. Enables us to provide natbib
3680 support when using \bibliography.
3682 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3684 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3686 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3687 natbib is provided by the LaTeX class.
3689 2002-04-23 Juergen Vigna <jug@sad.it>
3691 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3694 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3696 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3698 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3700 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3701 ensuremath around textordmasculine, textordfeminine and
3704 2002-04-19 Juergen Vigna <jug@sad.it>
3706 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3707 reinitializing the buffer otherwise row-dimensions may be wrong.
3708 (update): reset also the selection cursors if they do exits otherwise
3709 their x/y positions may be wrong.
3711 * text2.C (cursorDown): don't enter the inset if we came from a row
3712 above and are one row over the inset.
3714 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3715 really leaving an inset.
3717 2002-04-18 Juergen Vigna <jug@sad.it>
3719 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3720 of the selected paragraph does not have the selected layout also if
3723 * text2.C (setLayout): fixed bug which did not change last selected
3726 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3727 changed the read and substituted \\end_float with \\end_inset!
3729 * BufferView_pimpl.C (cursorPrevious):
3730 (cursorNext): fixed to make it work with rows heigher than the work
3731 area without moving the cursor only the draw of the row.
3732 (workAreaMotionNotify): fix jumping over high rows.
3734 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3736 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3739 2002-04-16 Juergen Vigna <jug@sad.it>
3741 * text2.C (setCursor): set also the irow().
3742 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3744 (cursorDown): support for locking an inset if the x_fix value goes
3745 inside it. That way I can transverse insets too with cursor up/down.
3747 * lyxrow.h: added irow helper function same as other (i) functions.
3749 * BufferView_pimpl.C (cursorPrevious):
3750 (cursorNext): fixed for insets!
3752 2002-04-15 Juergen Vigna <jug@sad.it>
3754 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3755 position otherwise it is wrong in some cases.
3757 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3758 inside the inset before the call.
3760 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3762 * buffer.[Ch] (getBibkeyList): make it const.
3764 2002-04-12 Juergen Vigna <jug@sad.it>
3766 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3768 * text2.C (getCursorX): new helper function
3769 (setCursor): compute also ix_
3770 (setCursorFromCoordinates): set also ix.
3772 * lyxcursor.h: added ix_ and helper functions.
3774 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3776 * buffer.C (insertStringAsLines): dont break paragraph if the this
3777 paragraph is inside an inset which does not permit it!
3779 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3780 also with no chars on this paragraph.
3781 (paintRowText): only paint stuff if it's inside the workarea!
3783 * paragraph.C (breakParagraph): honor keepempty flag and break the
3784 paragraph always below not above.
3786 * BufferView2.C (unlockInset): update the paragraph layout on inset
3787 unlock as we changed paragraph in such a case.
3789 * lyxfind.C (LyXFind): clear the former selection if not found!
3791 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3792 again called in insertChar().
3794 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3795 an inset which uses the whole row!
3796 (rightMargin): ditto.
3797 (insertChar): force a rebreak if we inserted an inset!
3799 2002-03-28 Herbert Voss <voss@lyx.org>
3801 * lyxlength.[Ch]: add inBP() to get the right PS-point
3802 units (BigPoint). With inPixels we have rounding errors
3804 2002-04-11 Juergen Vigna <jug@sad.it>
3806 * text2.C (setCursorFromCoordinates): set iy to the right value.
3807 (setCursor): add check if row->previous exists!
3809 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3810 an old float_type as this was the case in the old code!
3812 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3814 * BufferView2.C (showLockedInsetCursor): use iy
3815 (fitLockedInsetCursor): ditto
3817 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3818 locked insets as there we have the right value now.
3820 * lyxcursor.C: added iy_ variable and iy functions to set to the
3821 baseline of cursor-y of the locked inset.
3823 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3824 (setCursor): fixed for insets which need a full row.
3826 * text.C (rowLastPrintable): don't ignore the last space when before
3827 an inset which needs a full row.
3828 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3829 as last character of a row when before a inset which needs a full row.
3831 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3833 * version.C.in: update date
3835 * text2.C (fullRebreak): try to always return true and see what
3838 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3840 * MenuBackend.C (expand): use Floating::listName
3842 * FloatList.C (FloatList): add listName argument to the built-in
3845 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3846 text associated with the float.
3848 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3850 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3852 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3854 * ShareContainer.h: add a couple of missing typenames.
3856 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3858 * lyxrc.C (getDescription): use _() correctly rather than N_().
3860 2002-03-28 Herbert Voss <voss@lyx.org>
3862 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3863 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3865 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3867 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3868 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3870 2002-03-29 Juergen Vigna <jug@sad.it>
3872 * lyxfunc.C (dispatch): add a missing fitCursor call.
3874 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3875 it was scrolled by a cursor move, so return the bool status.
3877 * BufferView.C (fitCursor): return the bool flag also to the outside
3878 world as this is needed.
3880 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3882 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3883 call the edit() as it is not needed (and wrong) IMO.
3884 (workAreaButtonPress): set the screen_first variable before evt.
3885 unlock the inset as this may change screen_first and then we have
3886 a wrong y position for the click!
3888 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3890 * MenuBackend.C (expand): another translation that I missed
3892 2002-03-28 Juergen Vigna <jug@sad.it>
3894 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3896 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3898 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3900 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3902 * MenuBackend.C (expand): fix export/view/update when there is no
3905 2002-03-27 Herbert Voss <voss@lyx.org>
3907 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3910 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3912 * bufferview_funcs.C (currentState): only show paragraph number
3913 for is DEVEL_VERSION is set.
3915 * lyxfunc.C (dispatch): put warning in INFO channel
3917 * MenuBackend.C (expand): translate the name of floats
3919 * FloatList.C (FloatList): mark the float names for translation
3921 * converter.C (convert): use LibScriptSearch
3923 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3925 * MenuBackend.C (defaults): fix default menu (we might as well get
3928 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3930 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3933 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3935 * lyxvc.C: reorder includes.
3937 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3939 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3942 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3944 * CutAndPaste.C: change layouts earlier on paste
3945 to avoid crashing when calling getFont()
3947 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3949 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3952 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3954 * WorkArea.C: remove 'Pending' debug message.
3956 * most files: ws cleanup
3958 * buffer.[Ch]: ws changes
3960 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3962 2002-03-21 Juergen Vigna <jug@sad.it>
3964 * tabular.C (SetMultiColumn): collapse also the contents of the
3965 cells and set the last border right. Added a Buffer const * param.
3967 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3969 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3972 2002-03-19 Juergen Vigna <jug@sad.it>
3974 * text2.C (clearSelection): reset also xsel_cache.
3976 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3977 where it needs to be called (John tells us to do so too :)
3978 (selectionLost): reset sel_cache.
3980 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3982 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3984 * text2.C (setCursorIntern): put debuging code in INSETS channel
3986 2002-03-19 André Pönitz <poenitz@gmx.net>
3988 * lyxfunc.C: tiny whitespace change
3990 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3992 * ToolbarDefaults.C (init):
3993 * LyXAction.C (init):
3995 * BufferView_pimpl.C (Dispatch):
3996 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3998 2002-03-19 Allan Rae <rae@lyx.org>
4000 * exporter.C (Export): removeAutoInsets before doing anything else.
4001 While I've just introduced a dependency on BufferView this really is
4002 the best place to clean the buffer otherwise you need to cleanup in
4003 a dozen places before calling export or cleanup in a dozen functions
4006 * converter.C (runLaTeX):
4007 (scanLog): Better handling of removeAutoInsets and screen updates.
4009 * lyxfunc.C (dispatch): small whitespace changes
4011 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4013 * WorkArea.C (C_WorkAreaEvent): return a value.
4014 (event_cb): return 1 if we handled the event, 0 otherwise.
4016 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4018 2002-03-18 Juergen Vigna <jug@sad.it>
4020 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4021 (GetAdditionalWidth): ditto.
4025 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4026 inset if we're there actually (probably not used right now but this
4027 is the direction to go for unifying code).
4028 (paste): disable code to clear the selection.
4030 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4031 inside an InsetText and move the check further up as it is in the
4034 * text2.C (pasteSelection): set a selection over the pasted text.
4036 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4038 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4039 and libgraphics to build on Cygwin.
4041 2002-03-15 Juergen Vigna <jug@sad.it>
4043 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4044 inserting an Inset into the paragraph. I know this is not the best
4045 fix but we already use current_view in CutAndPaste so we will remove
4046 all of it's using at the same time.
4048 * buffer.C (sgmlError): deactivated function till it is rewritten in
4049 the right mode, now it can create problems.
4051 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4052 before accessing it.
4054 2002-03-14 Juergen Vigna <jug@sad.it>
4056 * undo_funcs.C (textHandleUndo): do the right thing when updating
4057 the inset after the undo/redo.
4059 * text2.C (setCursor): just some testcode for #44 not ready yet.
4061 * undo_funcs.C (textHandleUndo): set the next() and previous()
4062 pointers of the paragraph to 0 before deleting otherwise we have
4063 problems with the Paragraph::[destructor].
4065 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4066 on a paragraph insertion.
4068 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4070 * buffer.C (asciiParagraph): use += operator for char append to
4073 * paragraph.C (getFontSettings): compare >= not just >
4074 (highestFontInRange): ditto
4077 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4079 * paragraph.C: change several algorithm to be more appripriate for
4080 the problem domain. This is lookip in FontList and in the InsetList.
4082 2002-03-13 André Pönitz <poenitz@gmx.net>
4085 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4087 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4092 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4094 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4096 * Painter.C (display): anon helper function, adjust code for this
4098 (pixmap): remove function.
4100 * Painter.h: remove private display variable.
4102 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4104 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4106 * WorkArea.[Ch]: remove figinset_canvas cruft.
4108 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4110 * lyxtextclass.C (operator): add one item cache optimization.
4112 * bufferlist.h: doxy changes
4114 * bufferlist.C: ws changes
4116 * DepTable.[Ch] (ext_exist): place const in the right spot.
4118 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4120 (workAreaExpose): call resizeInsets when the with BufferView changes.
4121 (Dispatch): adjust for protectedBlank removal
4122 (specialChar): call updateInset if the insert went ok.
4124 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4125 specialChar instead.
4127 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4129 * BufferView.h: doxy change
4131 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4133 * lyxtextclass.C (operator[]): remove non-const version
4134 (defaultLayout): remove non-const version
4136 2002-03-12 Juergen Vigna <jug@sad.it>
4138 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4139 did resize the LyXText too.
4141 * buffer.C (readLyXformat2): set layout information on newly allocated
4144 * tabular.C (OldFormatRead): set layout information on the paragraph.
4146 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4148 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4150 2002-03-11 Juergen Vigna <jug@sad.it>
4152 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4154 (resizeCurrentBuffer): force also the insets to resize themselfes.
4155 (moveCursorUpdate): fixed up for InsetText.
4157 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4160 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4161 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4162 value of Dialogs::tooltipsEnabled().
4163 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4165 2002-03-08 Juergen Vigna <jug@sad.it>
4167 * BufferView_pimpl.C (updateInset): update inset inside inset also
4168 if it isn't inside theLockingInset().
4170 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4172 * buffer.C (asciiParagraph): redo some of the word and line length
4174 (getLists): look for Caption instead of caption.
4176 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4178 * buffer.C (Buffer): initialize niceFile to true
4181 (makeDocBookFile): make sure niceFile is true on exit
4183 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4185 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4187 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4189 * LyXSendto.C: remove.
4190 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4191 * lyx_gui.C: remove now-redundant comment.
4192 * ColorHandler.h: remove forward declaration of class WorkArea.
4193 * lyxfunc.C: remove #include "WorkArea.h".
4195 2002-03-07 Juergen Vigna <jug@sad.it>
4197 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4198 got moved away with the DEPM and also set the inset_owner always
4199 right which before could have been omitted.
4201 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4203 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4204 wanted layout is not found.
4206 2002-03-07 Juergen Vigna <jug@sad.it>
4208 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4210 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4212 * paragraph.C (breakParagraph): use default layout not layout of
4214 (Paragraph): clear ParagraphParameters.
4216 2002-03-06 Juergen Vigna <jug@sad.it>
4218 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4219 otherwise it would not be a valid lenght. Fixed a special case in
4220 the minipage compatibility read where we end the document with a
4223 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4224 was set as it could be 0 for InsetTexts first entry.
4226 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4228 * paragraph.C (writeFile): if layout is empty write out
4229 defaultLayoutName().
4231 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4232 file without named layout we set layout to defaultLayoutName().
4234 2002-03-06 Juergen Vigna <jug@sad.it>
4236 * CutAndPaste.C (copySelection): set layout for new paragraph.
4238 * text.C (prepareToPrint): leave ERT inset left aligned
4239 (leftMargin): don't indent paragraphs inside ERT insets
4241 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4243 * paragraph.C (breakParagraph): dont call clear do the work manually
4245 * paragraph.[Ch] (clear): remove function
4247 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4249 * paragraph.C (Paragraph): dont call clear, the work has already
4252 * lyxtextclass.C (operator): assert if n is empty
4254 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4255 work manually instead.
4257 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4259 * BufferView_pimpl.C: protect selectionLost against text == 0
4261 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4263 * text.C (breakParagraph): fix a setting layout to '0' problem.
4265 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4267 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4268 final location of file, for the included files, and graphics.
4270 2002-03-05 Juergen Vigna <jug@sad.it>
4272 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4274 2002-03-04 Juergen Vigna <jug@sad.it>
4276 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4278 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4279 last column of multicolumn cells.
4280 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4282 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4284 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4285 file if it doesn't go to a temporary file.
4287 * buffer.C (sgmlOpenTag):
4288 (sgmlCloseTag): remove extra newline insertion.
4290 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4292 * text.C (getRowNearY): comment out debug msg
4294 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4296 * text2.C: first -> first_y
4298 * text.C (getRowNearY): add some attemts at a possible
4299 optimization, not working.
4301 * tabular.[Ch]: add BufferParams to several function so that newly
4302 created paragraph can be initialized to he default layotu for the
4305 * tabular-old.C (ReadOld): add buf->params to call of Init
4307 * screen.C: rename text->first to text->first_y
4309 * paragraph.C (breakParagraph): always set layout in the broken
4312 * lyxtextclass.C (Read): remove lowercase
4315 (delete_layout): ditto
4317 * lyxtext.h: rename first -> first_y
4319 * lyxlayout.C (Read): remove lowercase
4322 (obsoleted_by): ditto
4324 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4326 * buffer.C (insertErtContents): add params are to InsetERT
4327 (parseSingleLyXformat2Token): add code to check if a paragraphs
4328 layout really exist.
4329 (parseSingleLyXformat2Token): add params to several inset
4331 (asciiParagraph): remove lowercase, do the layout comparisons with
4334 * BufferView_pimpl.C (cursorNext): first -> first_y
4335 (resizeCurrentBuffer): first -> first_y
4336 (updateScrollbar): first -> first_y
4337 (scrollCB): first -> first_y
4338 (workAreaMotionNotify): first -> first_y
4339 (workAreaButtonPress): first -> first_y
4340 (checkInsetHit): first -> first_y
4341 (cursorPrevious): first -> first_y
4342 (cursorNext): first -> first_y
4343 (Dispatch): add buffer_->params to severl inset contructors
4345 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4347 * lyxlayout.C (Read): remove some debug info that I forgot.
4349 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4350 clean up the code slightly.
4351 (makeLinuxDocFile): ditto
4352 (makeDocBookFile): ditto
4354 * text2.C: layout as string
4356 * text.C: layout as string
4358 * paragraph_pimpl.C: layout as string
4360 * paragraph.[Ch]: layout as string
4362 * lyxtextclasslist.[Ch]: layout as string
4364 * lyxtextclass.[Ch]: layout as string
4366 * lyxtext.h: layout as string
4368 * lyxlayout.[Ch]: layout as string
4370 * lyx_cb.C: layout as string
4372 * bufferview_funcs.C: layout as string
4374 * bufferparams.C: layout as string
4376 * buffer.C: layout as string
4378 * LyXView.[Ch]: layout as string
4380 * LaTeXFeatures.[Ch]: layout as string
4382 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4384 * BufferView_pimpl.C: change current_layout to string, remove
4389 (workAreaButtonRelease): layout as string
4391 * BufferView2.C (unlockInset): adjust
4393 * vspace.C (asLatexCommand): use an explict temp variable.
4395 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4397 * Makefile.am: use FRONTEND_*
4399 2002-03-01 Juergen Vigna <jug@sad.it>
4401 * tabular.C (SetWidthOfMulticolCell): changed to something better
4402 I hope but still work in progress.
4403 (recalculateMulticolumnsOfColumn): renamed function from
4404 recalculateMulticolCells as it is more appropriate now.
4405 (SetWidthOfCell): calculate multicols better.
4407 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4409 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4411 * lyxfunc.C (processKeySym): print sequence also if it is
4412 `deleted' (complete)
4414 * kbsequence.C (print): print sequence even if it is deleted
4415 (complete would be a better word, actually).
4417 * lyxfunc.C (dispatch): print complete options after a prefix key
4419 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4421 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4423 * text2.C (setCharFont): eliminate setCharFont code duplication.
4425 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4427 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4428 LFUN_TABULAR_FEATURE (bug #177)
4430 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4432 * Makefile.am: remove figure.h
4434 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4436 * Bufferview_pimpl.C:
4448 * text2.C: remove #include "lyx_gui_misc.h".
4450 * LaTeX.C: added #include <cstdio>
4452 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4454 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4455 that the paragraph following this one can have.
4457 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4459 * vspace.C (asLatexCommand): fix bogus gcc warning
4461 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4463 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4465 * text2.C (setLayout): get rid of redundant code
4467 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4469 * text2.C (incDepth): make sure depth cannot be increased beyond
4472 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4474 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4475 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4477 * PainterBase.h (image):
4478 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4481 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4485 * BufferView_pimpl.C:
4486 * BufferView_pimpl.h:
4506 * sp_spell.C: remove fig inset, and the crap house of
4507 cards that follows it
4509 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4515 * nt_defines.h: move .h into support/
4517 * vms_defines.h: remove
4519 * WorkArea.C: add space in debug output
4523 * buffer.C: add WITH_WARNINGS
4527 * bufferlist.C: s/retrive/retrieve/, add docs
4538 * lyxgui.C: add ID to X error handler
4540 * lyxtestclass.c: fix typo
4542 2002-02-26 Juergen Vigna <jug@sad.it>
4544 * tabular_funcs.C (write_attribute): changed so that some default
4545 attributes are not written at all.
4546 (getTokenValue): set default values before trying to read the
4547 value so we have the return value always set as default if we don't
4548 find the token we search for.
4550 * tabular.C (Write): write bools as bools not as strings!
4552 2002-02-22 Juergen Vigna <jug@sad.it>
4554 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4555 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4557 * text.C (leftMargin): don't add an indent for paragraphs inside
4558 tabular cells (fix #208).
4560 2002-02-21 José Matos <jamatos@fep.up.pt>
4562 * tabular.C (docBook): fixed support for long tables.
4564 2002-02-20 Juergen Vigna <jug@sad.it>
4566 * text2.C (getFont): get the drawing font of the Inset if this
4567 paragraph is inside an inset (only important for InsetERT for now).
4569 * buffer.C (insertErtContents): use new lanugage params in ERT
4572 * CutAndPaste.C: commenting out seemingly uneeded code.
4574 2002-02-19 Allan Rae <rae@lyx.org>
4576 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4577 Iterators might be simple to use but they also get invalidated.
4578 (removeAutoInsets): renamed saved cursor tracking variables and added
4579 some comments to clarify what everything does.
4581 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4588 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4589 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4592 * vc-backend.h: remove #include "support/syscall.h"
4596 * converter.C: rearrange #includes in Lars' approved fashion.
4598 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4599 forward declare class Timeout in the header file.
4601 * XFormsView.C: changes due to the above.
4603 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4606 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4607 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4609 2002-02-18 José Matos <jamatos@fep.up.pt>
4611 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4614 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4616 * a lot of small ws changes
4617 * add a lot of using std::XXX
4618 * use std construcs some places where approp.
4619 * use some exisint stuff from lyxfunctional where approp.
4620 * Make file changes to use partial linking (lets test this now...)
4622 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4626 remove #include "support/syscontr.h" as it's redundant. Always has been.
4634 change Systemcalls::System to Systemcalls::Wait and
4635 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4636 No change of functionality, just reflects the stripped down Systemcalls
4639 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4641 * debug.[Ch]: add a GRAPHICS type to the enum.
4643 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4645 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4647 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4650 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4652 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4653 match the changes below.
4655 * text2.C (toggleInset): if there is not editable inset at cursor
4656 position, try to see if cursor is _inside_ a collapsable inset
4659 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4661 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4662 document menu has a nice checkbox
4664 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4666 * lyxlength.C (asLatexString): change PW to output as percent of
4669 * lengthcommon.C: change '%' to 't%'
4671 * lyxfunc.C (dispatch): a few comments from Martin
4673 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4677 * BufferView_pimpl.h:
4678 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4681 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4683 * vspace.C (inPixels): fix compiler warning
4685 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4687 * lyxfunc.C (getStatus): fix status message for disabled commands.
4689 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4691 * BufferView_pimpl.C: fix crash on close buffer
4692 during selection (#227)
4694 2002-01-27 Herbert Voss <voss@lyx.org>
4696 * buffer.C: link old Figure to new graphic inset
4698 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4700 * FontLoader.C (getFontinfo): Change the latex font names in order
4701 to match the names of type1inst.
4703 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4705 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4707 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4710 (remove_files_with_extension): ditto
4711 (remove_file): ditto
4714 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4715 document is smaller than the work area height. Do not initialize
4716 static variables to 0.
4718 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4720 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4722 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4723 LFUN_LAYOUT_PARAGRAPHS.
4725 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4726 tabular. It is possible to provide a possible cell, which will
4727 typically be the actcell from the corresponding insettabular
4729 * lyxfunc.C (getStatus): small cleanup; disable
4730 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4733 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4735 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4737 * paragraph.C (startTeXParParams):
4738 (endTeXParParams): new methods. The LaTeX code to
4739 start/end paragraph formatting
4740 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4741 empty (fixes bug #200)
4743 * vspace.C (inPixels): adapt to the change below
4744 (inPixels): [later] more cleanups (remove unused variables)
4746 * lyxlength.C (inPixels): change to use a width and a height as
4749 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4751 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4752 Replaced with \paperwidth
4754 * DepTable.C (insert): add std:: qualifier
4756 2002-01-18 Allan Rae <rae@lyx.org>
4758 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4761 * text.C (drawInset): Turned out I didn't know enough about how
4762 rebreaking worked. This fixes most of the redraw problems. I see
4763 an occasional cursor trail when a line is broken now and the cursor
4764 placement can seem out by a few pixels also after a rebreak.
4766 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4768 * buffer.C (parseSingleLyXformat2Token): update because minipage
4769 width is now a LyXLength
4771 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4773 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4776 2002-01-17 Juergen Vigna <jug@sad.it>
4778 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4780 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4781 is set correctly and the inset is updated correctly.
4783 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4785 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4786 the beginning of the loop.
4788 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4790 * lyxrc.C: improve help for use_scalable_fonts
4792 2002-01-17 Allan Rae <rae@lyx.org>
4794 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4796 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4798 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4799 make sure to set their inset_owner to the right value (bug #171)
4801 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4804 * DepTable.C: Implement mtime checking to reduce time spent doing
4807 2002-01-16 Juergen Vigna <jug@sad.it>
4809 * tabular.C (GetAdditionalHeight): one of error fixed.
4811 * lyxrc.C (output): small fix in writing use_pspell.
4813 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4815 * sp_base.h: #include LString.h
4817 2002-01-16 Allan Rae <rae@lyx.org>
4819 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4820 Can someone check this please?
4822 * text.C (drawInset): It was possible that p.row would be removed by
4823 breakAgainOneRow upsetting a few other settings. There may be another
4824 small tweak possible by setting need_break_row = 0 when p.row has been
4825 removed but I don't know enough about the logic here.
4827 2002-01-15 Allan Rae <rae@lyx.org>
4829 * text.C (insertChar): removed conditional truism.
4831 * BufferView2.C (removeAutoInsets): More tweaks.
4832 cur_par_prev could be a stray pointer. Check for trailing empty line
4833 in case last line was cur_par and only had an error inset on it.
4835 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4837 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4840 * vc-backend.C (most methods):
4841 * exporter.C (Export):
4842 * converter.C (convert):
4844 * LyXSendto.C (SendtoApplyCB):
4845 * lyxfunc.C (dispatch):
4849 * lyx_cb.C (AutoSave):
4851 * BufferView_pimpl.C (MenuInsertLyXFile):
4852 * buffer.C (runChktex): use Buffer::filePath().
4854 * buffer.h: rename filename to filename_; rename filepath to
4855 filepath_ and make it private
4856 (filePath): new method
4858 * buffer.C (writeFile): use fileName()
4861 * lyx_main.C (init): fix starting of LyX when the binary is a
4862 link from so,ewhere else.
4864 * minibuffer.C: include <cctype> for isprint
4866 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4868 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4869 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4870 name clash with InsetCollapsable's width function.
4872 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4874 * lastfiles.C: include <iterator>
4876 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4878 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4881 * buffer.C (makeLaTeXFile): ditto.
4882 Also make loop operation more transparent.
4884 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4886 * ToolbarDefaults.C: remove trailing comma closing namespace.
4888 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4890 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4893 * trans.C (Load): comment out unused variable, allowed.
4895 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4897 * minibuffer.[Ch] (append_char): new method to recieve input from the
4898 drop-down completion browser. If a key was pressed, then recieve this
4899 char and append it to the existing string.
4900 (peek_event): modify the positioning data passed to the completion
4901 browser so that it can be placed above the minibuffer rather than below.
4902 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4904 * LyXAction.C (init): alloe error-next for readonly documents.
4906 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4909 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4911 * bufferlist.C (readFile): create the buffer _after_ checking that
4914 * lyxfunc.C (verboseDispatch): fix handling of arguments
4916 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4918 * lyxrc.C: use string::erase() instead of initializing to "".
4921 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4923 * BufferView_pimpl.h:
4924 * BufferView_pimpl.C:
4927 * text2.C: tell X when we have made a selection for copying
4929 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4931 * BufferView_pimpl.C (MenuInsertLyXFile):
4932 * lyxfunc.C (menuNew):
4934 (doImport): add shortcuts to directory buttons
4936 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4939 * lyxfunc.C (setStatusMessage):
4940 (getStatusMessage): new methods
4941 (getStatus):use setStatusMessage instead of setErrorMessage
4942 (dispatch): when function is disabled, set error message here
4943 [instead of in getStatus previously]
4945 * BufferView_pimpl.C (workAreaButtonRelease): update
4946 toolbar/menubar here too.
4948 2002-01-13 Allan Rae <rae@lyx.org>
4950 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4951 Now seems indestructible. Remaining task is to audit all other
4952 code affected by deleteEmptyParagraphMechanism. One small quirk
4953 left is that an empty document with an error in the preamble can
4954 be made to report an error but no error box appears. I don't know
4956 (removeAutoInsets): Improved comments.
4958 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4961 * Thesaurus.C: update for Aiksaurus 0.14
4963 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4965 * text2.C (firstParagraph): removed member function, all uses
4966 replaces with ownerParagraph
4967 (redoParagraphs): here
4969 (toggleAppendix): here
4970 * BufferView2.C (insertErrors): here
4971 (setCursorFromRow): here
4973 2002-01-13 Allan Rae <rae@lyx.org>
4975 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4976 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4977 There is still a way to segfault this although you may have to do this
4978 multiple times: Have an InsetERT with an unknown command in it.
4979 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4980 <down-arrow>, <Enter> again, View->DVI, BANG!
4982 * text2.C (setCursor):
4983 (deleteEmptyParagraphMechanism):
4984 * lyxtext.h (setCursor):
4985 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4986 Making use of the return value may help fix other bugs.
4988 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4990 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4992 * LyXView.C (updateMenubar): call MenuBar::update here
4993 (updateToolbar): but not here
4994 (showState): do not update toolbar/menubar
4996 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4997 should need to care about that.
4999 * lyxfunc.C (verboseDispatch): simplify a bit
5000 (getStatus): have a version which takes a pseudoaction, and
5001 another which requires a (kb_action,string).
5003 * LyXAction.C (retrieveActionArg): make it work also when action
5004 is not a pseudo-action.
5005 (getActionName): simplify a bit
5008 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5010 * lyxfunc.C (verboseDispatch): new families of methods with
5011 several ways to specify a command and a bool to indicate whether
5012 the command name and shortcut should be displayed in minibuffer
5013 (eventually, we could extend that to a finer bitmask like
5014 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5015 (dispatch): the pristine dispatch command which just, well,
5016 dispatchs! Note it still sets its result to minibuffer; I'm not
5019 * lyxfunc.h: remove setHintMessage
5021 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5023 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5025 * BufferView_pimpl.C (specialChar): delete new inset if we have
5026 not been able to insert it.
5028 * kbmap.C: revert to using int instead of kb_action, since all we
5029 are dealing with is pseudo-actions.
5031 * LyXAction.C (searchActionArg): change to return int instead of
5032 kb_action, since the result is a pseudoaction.
5034 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5036 * buffer.C (insertErtContents): Fix (partially) the font bug.
5038 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5040 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5041 as the other one is broken on my machine!
5043 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5046 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5048 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5050 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5051 reflect their actual use. Provide compatibility code for older lyxrc
5054 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5056 change names of popup font variables in line with the changes to lyxrc.C
5058 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5060 * buffer.C (asciiParagraph): avoid outputing a word twice after
5063 * lyxrc.C (getDescription): document that document_path and
5064 template_path can be empty.
5066 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5068 * LaTeXFeatures.C (getMacros):
5069 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5071 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5073 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5075 (getPackages): rename feature "floats" to "float". Use an array to
5076 iterate over 'simple' features (i.e. just a \usepackage). Add
5077 handling of "amsmath" (renamed from "amsstyle").
5079 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5081 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5084 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5086 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5087 FuncStaus::FuncStatus & FuncStaus::some_method().
5089 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5091 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5092 of the func_satus stuff. Edited and massaged in various ways by
5095 * lyxfunc.C (getStatus): use FuncStatus
5097 2002-01-08 Juergen Vigna <jug@sad.it>
5099 * text.C (nextBreakPoint): use function Inset::isChar().
5101 * paragraph.C (TeXOnePar): use function
5102 Inset::forceDefaultParagraphs.
5104 * buffer.C (latexParagraphs): use function
5105 Inset::forceDefaultParagraphs.
5107 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5109 * lyx_gui.C (init): set the style of the menu popups to
5110 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5112 2002-01-07 Juergen Vigna <jug@sad.it>
5114 * text.C (setHeightOfRow): small fix
5115 (prepareToPrint): don't look at alignment if we don't have the place
5118 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5120 * box.C: New file. Move the Box methods and functions out of box.h,
5121 following Lars' suggestion.
5123 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5125 * box.h: #include "support/LOstream.h", needed for inlined function.
5128 * lyxtextclasslist.C: added some using std declarations.
5130 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5132 * box.h: make signed dimensions to allow insets wider than
5133 the screen (bug #162)
5135 * BufferView_pimpl.C: add some insetHit debug
5137 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5139 * vc-backend.C: add FIXME
5141 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5143 * lyxfunc.C (getStatus): enable code for showing math font status
5146 2002-01-07 Juergen Vigna <jug@sad.it>
5148 * text.C (nextBreakPoint): removed debug output not needed anymore.
5150 2002-01-06 Juergen Vigna <jug@sad.it>
5152 * text.C (nextBreakPoint): fixed up this function we had this bug
5153 since ever but now hopefully we break row better.
5154 (insertChar): we have to check if an inset is the next char as it
5155 could now happen that a large inset is causing a break.
5157 2002-01-05 Juergen Vigna <jug@sad.it>
5159 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5160 if it doesn't like to be drawed.
5162 2002-01-04 Juergen Vigna <jug@sad.it>
5164 * BufferView2.C (lockInset): forgot to set a cursor.
5166 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5168 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5173 * form_maths_panel.C:
5174 * form_maths_panel.h:
5175 * form_maths_panel.fd: implemented sub- and super- buttons in math
5178 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5179 (or ^ space) to be used as in TeX (req'd by André).
5181 * lyxfunc.C: Allow ^ and _ again to be used both as
5182 super/subscript (mathed) and as themselves (in text).
5184 2002-01-03 Allan Rae <rae@lyx.org>
5186 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5187 "LyX" or the filename of the current buffer if it has one. This is a
5188 modified form of John Levon's patch.
5190 * XFormsView.C (setWindowTitle): also set icon title.
5192 * LyXView.h (setWindowTitle): signature changed.
5193 * XFormsView.h (setWindowTitle): ditto.
5195 2002-01-02 Juergen Vigna <jug@sad.it>
5197 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5199 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5201 * screen.C (topCursorVisible): introduce a temp var for
5202 text->cursor.row(), handle the case where this row is null. (kindo
5205 * text2.C (setCursor): add a couple of asserts.
5207 * paragraph.h (inset_iterator): add -> operator
5209 * paragraph.[Ch] (autoDeleteInsets): remove member function
5211 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5212 cursor pos correctly and handle inset deletion by itself.
5213 (insertErrors): move iterator declaration out of for expression
5215 * lyxtextclass.C: add <algorithm>
5217 * Makefile.am: added the new files to sources, removed layout.C
5219 * layout.C: removed file
5221 * layout.h: remove LYX_DUMMY_LAYOUT
5223 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5227 * lyxtextclass.[Ch]:
5228 * lyxtextclasslist.[Ch]: new files
5230 * include order changes to a lot of files, also changes because of
5233 2001-12-27 Juergen Vigna <jug@sad.it>
5235 * buffer.C (asciiParagraph): more fixes.
5237 * tabular.C (ascii): make ascii export support export of only the
5238 data separated by a column-delimiter.
5239 (ascii): better support for ascii export.
5241 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5243 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5245 * tabular_funcs.C: use a "using std::getline" instead of the
5246 previous fix from Angus (necessary for cxx + lyxstring)
5248 2001-12-24 Juergen Vigna <jug@sad.it>
5250 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5252 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5253 problems. First check a minipage also if we have some ert-contents
5254 (not only on par->size(), second set the right depth of the paragraph
5255 on the relink to the root-paragraph-list!
5257 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5258 which then did not anymore update the main paragraphs on undo/redo!
5260 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5262 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5263 code. Support all font-changing funcs (even those which are not in
5264 menu currently). Support for reporting font settings in
5265 mathed (disabled until Andre provides a function on mathed's side).
5267 * func_status.h (toggle): small helper function to set toggle
5270 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5272 * tabular_funcs.C: getline -> std::getline
5274 2001-12-21 Juergen Vigna <jug@sad.it>
5276 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5277 accessed and could be 0 (I couldn't generate this but it seems
5280 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5282 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5283 * tabular_funcs.h: here and include iosfwd
5285 2001-12-20 Juergen Vigna <jug@sad.it>
5287 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5288 inside inset but undo_par was.
5290 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5292 * Thesaurus.C: always include <config.h> in sources.
5296 * box.h: do not include <config.h> in header files
5298 * text.C (paintLastRow): remove unused variable
5300 * text.C (transformChar):
5302 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5305 * font.C (width): rewrite to use uppercase() instead of
5308 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5310 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5312 * lyxfind.C: clean up of find failure position change
5314 2001-12-20 Juergen Vigna <jug@sad.it>
5316 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5318 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5319 (TeXRow): added to LaTeX a single tabular row.
5320 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5321 (Latex): simplified and finally good LT-h/f support.
5322 (various_functions): just small adaptions for LT-h/f support.
5324 * tabular_funcs.[hC]: added and moved here all not classfunctions
5327 2001-12-19 Juergen Vigna <jug@sad.it>
5329 * tabular.[Ch]: better support for longtabular options (not finished
5332 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5334 * text.C (paintLastRow): use the label font instead of the font of
5335 the last character to compute the size of *_BOX. This makes more
5336 sense and avoids a crash with empty paragraphs.
5337 Use Painter::rectangle to draw EMPTY_BOX.
5339 2001-12-19 Juergen Vigna <jug@sad.it>
5341 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5342 the paragraphs if the replaced paragraph is not the first one!
5343 Tried to delete not used paragraphs but does not work yet so for
5344 now it's inside #ifdef's and by default off!
5346 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5348 * MenuBackend.C: include "lyx_main.h" instead of declaring
5349 lastfiles (actually was declared as LastFiles* instead of a
5352 2001-12-17 Juergen Vigna <jug@sad.it>
5354 * tabular.C (AppendColumn): applied John's fix
5356 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5360 * BufferView_pimpl.h:
5361 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5364 * box.h: new start of class for above
5366 * lyxfunc.C: ignore space-only minibuffer dispatches.
5367 Show the command name when it doesn't exist
5369 * minibuffer.C: don't add empty lines to the history
5371 * minibuffer.C: add a space on dropdown completion
5373 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5375 * text.C: fix line above/below drawing in insets
5377 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5379 * lyxlength.C (LyXLength): Initialize private variables.
5381 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5383 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5384 when inserting error insets.
5386 2001-12-13 Juergen Vigna <jug@sad.it>
5388 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5389 actually sometimes the before-paragraph.
5390 (setUndo): don't clear the redostack if we're not actually undoing!
5392 2001-12-06 Juergen Vigna <jug@sad.it>
5394 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5395 and fixed redoing of main paragraph, so we can use it now ;)
5397 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5399 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5401 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5404 2001-12-13 André Pönitz <poenitz@gmx.net>
5407 * undo_func.C: minor cleanup
5409 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5411 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5412 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5413 font in urw-fonts package which is marked as -urw-fontspecific and
5414 does not work (incidentally, changing the encoding in the
5415 fonts.dir of this package to -adobe-fontspecific fixes the
5418 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5419 is a crash when undoing first paragraph (Juergen, please take a
5420 look). THis does not mean the undo fix is wrong, just that it
5423 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5424 the (Paragraph*) version when needed instead of duplicating the
5427 * text.C (workWidth): use Inset::parOwner to find out where the
5428 inset has been inserted. This is a huge performance gain for large
5429 documents with lots of insets. If Inset::parOwner is not set, fall
5430 back on the brute force method
5432 * paragraph_pimpl.C (insertInset):
5433 * paragraph.C (Paragraph):
5434 (cutIntoMinibuffer): set parOwner of insets when
5435 inserting/removing them
5437 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5439 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5445 * mathed/formulabase.C:
5446 * mathed/math_cursor.[Ch]:
5447 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5450 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5452 * lyxlength.[Ch] (operator!=): new function
5454 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5456 * text.C (workWidth): use Inset::parOwner to find out where the
5457 inset has been inserted. This is a huge performance gain for large
5458 documents with lots of insets. If Inset::parOwner is not set, fall
5459 back on the brute force method
5461 * paragraph_pimpl.C (insertInset):
5462 * paragraph.C (Paragraph):
5463 (cutIntoMinibuffer): set parOwner of insets when
5464 inserting/removing them
5466 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5468 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5470 * tabular-old.C (getTokenValue):
5471 * tabular.C (getTokenValue):
5472 (write_attribute): new versions for LyXLength
5473 (everywhere): adjust the use of widths
5475 * tabular.h: change the type of widths from string to LyXLength
5477 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5479 * paragraph.C: fixed missing line number count when exporting
5480 Environments to LaTeX file
5482 * buffer.C: added informational message for checking line numbers.
5484 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5486 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5487 paragraph, do the 'double space' part, but not the 'empty
5490 * text.C (workWidth): small optimization
5491 (getLengthMarkerHeight): use minimal size for negative lengths.
5493 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5495 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5497 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5499 2001-12-11 André Pönitz <poenitz@gmx.net>
5502 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5504 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5506 * text2.C: keep selection on a setFont()
5508 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5510 * lyx_cb.C: another bv->text misuse, from insert label
5512 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5515 * kbsequence.C: re-instate nmodifier mask
5517 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5519 * lyx_main.h: make lyxGUI private.
5521 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5523 * lyxfind.C: place the cursor correctly on failed search
5525 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5527 * text.C (getLengthMarkerHeight): for small heights, the arrows
5528 are not always on top/bottom of the text
5529 (drawLengthMarker): smaller arrows; take the left margin in
5530 account; draw also vfills.
5532 (paintLastRow): remove special code for vfill and standard spaces,
5533 since everything is handled in drawLengthMarker now.
5535 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5537 * buffer.C (insertErtContents): try to handle font and language
5538 interaction a bit better.g
5540 * ColorHandler.C (updateColor): change the hash to cover the whole
5541 LColor enum, ws cleanup
5542 (getGCLinepars): ditto
5543 (getGCLinepars): only lookup in the linecache once.
5545 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5547 * iterators.C (operator++): Make the iterator more robust
5549 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5551 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5553 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5556 * text.C: better added space drawing
5558 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5561 * BufferView2.C: fix layout combo update on inset unlock
5563 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5565 * Makefile.am: don't compile unused files
5567 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5571 * LyXAction.C: remove old LFUN_LAYOUTNO
5573 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5575 * paragraph_pimpl.h:
5576 * paragraph_pimpl.C: isTextAt() doesn't need font param
5578 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5581 * lyxlex.C: little cleanup
5583 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5585 * BufferView_pimpl.C: fix insertAscii for insets
5587 2001-12-05 Juergen Vigna <jug@sad.it>
5589 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5590 set the right font on the "multi" paragraph paste!
5592 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5598 * lyxlength.C: remove out-commented code.
5614 * vc-backend.C: change "while(" to "while ("
5616 * lyxlength.[Ch]: add zero function to check if length is zero or
5618 * lyxgluelength.C: use it
5620 2001-12-05 Allan Rae <rae@lyx.org>
5622 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5623 Works for 2.95.3, from what I understand of Garst's reports this should
5624 work for other g++ versions. We're screwed if the abs(int) definition
5625 changed between bugfix releases of gcc.
5627 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5629 * text.C: fix chapter label offset !
5631 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5634 * text.C: fix hfill at end of line, clean up
5636 2001-12-04 Juergen Vigna <jug@sad.it>
5638 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5639 that we force an update of the inset and it's owners if neccessary.
5641 2001-12-03 Juergen Vigna <jug@sad.it>
5643 * text.C (rowLast): simplified code
5645 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5647 * lyxfunc.C: fix show options on timeout
5649 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5651 * screen.C (topCursorVisible): scroll half a page when the cursor
5652 reached top of bottom of screen
5654 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5656 * minibuffer.C: deactivate on loss of focus
5658 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5660 * vspace.[Ch] (operator!=): add operator.
5662 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5664 * BufferView_pimpl.C: refuse to open an inset when
5665 there's a selection.
5667 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5669 * BufferView_pimpl.C: allow to click on RHS of full row insets
5671 2001-11-30 Juergen Vigna <jug@sad.it>
5673 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5674 insets for undo reasons.
5676 2001-11-28 André Pönitz <poenitz@gmx.net>
5678 * vspace.[Ch]: cosmetical changes
5680 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5690 * kbsequence.C: part re-write of old kb code
5693 * WorkArea.C: remove Lgb_bug_find_hack
5695 2001-11-30 José Matos <jamatos@fep.up.pt>
5697 * buffer.C (makeDocBookFile): add a comment to point a hack.
5698 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5699 Fixed a double write of labels.
5701 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5704 * LaTeX.h Fixed bug in LaTeX class where it would not
5705 re-run latex if no depfiles were changed, but the .dvi was removed.
5707 2001-11-28 André Pönitz <poenitz@gmx.net>
5709 * all the files from the change on 2001/11/26:
5710 use lyx::layout_type instead of LyXTextClass::size_type
5711 use lyx::textclass_type instead of LyXTextClassList::size_type
5713 2001-11-29 Juergen Vigna <jug@sad.it>
5715 * text.C: added support for paragraph::isFreeSpacing()
5717 * buffer.C: same as above
5719 * paragraph.h: inserted isFreeSpacing() function to enable
5720 FreeSpacing inside InsetERT.
5722 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5723 of the paragraph's in the cut/copy buffer to 0!
5725 * text2.C (removeRow): remove the assert as it can!
5727 * lyxtext.h: added helper function firstRow returning firstrow and
5728 made firstrow private again.
5730 * BufferView2.C (lockInset): don't relock if we're already locked!
5732 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5734 (removeRow): added Assert::(firstrow)
5736 * debug.C: forgot to add INSETTEXT here.
5738 2001-11-28 Juergen Vigna <jug@sad.it>
5740 * sp_spell.C (initialize): changed error text to more general
5741 spellchecker command use (not only ispell!)
5743 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5745 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5747 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5749 * vspace.C: initialise lyxgluelength on failure
5751 2001-11-28 Allan Rae <rae@lyx.org>
5753 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5754 declaration & definition that looks like a function declaration.
5756 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5758 * BufferView2.C (copy):
5759 (copyEnvironment): do not clear the selection when doing a copy.
5761 * text.C (paintFirstRow): compilation fix
5763 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5765 * tabular.C (Latex): correct line count when writing latex.
5767 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5769 * paragraph_pimpl.h:
5770 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5773 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5777 * LColor.C: change vfillline->added_space
5779 * text.C: add markers and text for added space
5781 * vspace.C: fix comment
5783 2001-11-28 André Pönitz <poenitz@gmx.net>
5785 * paragraph.C: whitespace changes
5786 * all the other files from the change on 2001/11/26:
5787 change *::pos_type into lyx::pos_type
5789 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5791 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5792 language of the document when inserting error insets.
5794 2001-11-26 André Pönitz <poenitz@gmx.net>
5796 * BufferView_pimpl.[Ch]:
5804 * paragraph_pimpl.[Ch]:
5807 * text2.C: reduce header dependencies, introduce type for positions
5809 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5811 * <various>: change to use Alert.h
5813 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5815 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5816 when encountering an unknown token.
5817 (readLyXformat2): Show an error message if there were unknown tokens.
5819 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5822 * BufferView_pimpl.C:
5826 * text2.C: use par->isInset()
5828 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5830 * paragraph_pimpl.h:
5831 * paragraph_pimpl.C: cleanup
5833 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5835 * text2.C (removeRow):
5836 * text.C (setHeightOfRow): remove useless (and costly) call to
5839 2001-11-20 Allan Rae <rae@lyx.org>
5841 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5842 Now need Inset*::checkInsertChar() to return true for appropriate
5843 cases so that the characters in the minibuffer will actually be
5846 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5848 * text.C: change the order of the includes.
5849 (workWidth): initialize it at once.
5850 (workWidth): make maxw unsigned
5851 (setHeightOfRow): remove unused variable (inset)
5852 (selectSelectedWord): remove unused variable (inset)
5853 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5855 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5857 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5858 server is not running.
5860 (closeConnection): add debug info when server is disabled.
5862 * ColorHandler.C (getGCForeground): send debug message to GUI
5865 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5867 * kbmap.C (bind): modify because return conventions of
5868 kb_sequence::parse have changed.
5870 * kbsequence.C (parse): only ignore spaces and not any stupid
5871 control character. This avoids tests like s[i] <= ' ', which are
5872 guaranteed to fail with 8bit characters and signed chars.
5873 Change return code to string::npos when there have been no error
5874 (0 was a bad idea when error is at first character)
5876 2001-11-14 José Matos <jamatos@fep.up.pt>
5879 * buffer.C (simpleDocBookOnePar): removed unused argument.
5881 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5883 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5884 insets which are part of a word. Paragraph::isLetter takes care of
5885 that now. Use Paragraph::isInset to identify insets.
5886 (selectSelectedWord): do not test for hyphenation break.
5888 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5889 that protected spaces are considered as spaces.
5891 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5894 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5897 * lyxserver.C: fix it. and small cleanup.
5899 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5901 * BufferView_pimpl.C: use inline helpers
5904 * LaTeXFeatures.C: fix typos
5907 * Spacing.C: move spacing_string into class
5909 * ToolbarDefaults.C: move stuff into namespace anon
5911 * layout.h: update enum
5913 * lyxfunc.C: use better debug
5915 * minibuffer.h: fix typo
5919 * WorkArea.C: add and use Debug::WORKAREA
5923 * text2.C: code re-organisation, inline helpers
5925 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5927 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5928 std::vector.empty().
5930 2001-11-09 Allan Rae <rae@lyx.org>
5932 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5933 '\n's after tables. Tabular and ERT inset work now makes this no
5936 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5939 * minibuffer.C: fix crash, improve drop-down completion
5941 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5944 * lyxserver.C: invalidate fd's when doing endPipe()
5946 2001-11-08 José Matos <jamatos@fep.up.pt>
5948 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5949 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5952 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5954 2001-11-07 José Matos <jamatos@fep.up.pt>
5957 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5960 * buffer.C (sgmlOpenTag):
5961 * buffer.C (sgmlCloseTag): removed debug info.
5963 * buffer.h (sgmlOpenTag):
5964 * buffer.h (sgmlCloseTag): made public.
5966 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5968 * buffer.C (saveParamsAsDefaults):
5969 * lyx_cb.C (MenuLayoutSave): remove
5971 * LyXAction.C (init):
5973 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5975 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5977 * buffer.C (setPaperStuff): removed from here...
5979 * bufferparams.C (setPaperStuff): ... and moved there.
5981 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5985 * XFormsView.C: add support for drop-down completion
5987 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5989 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5992 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5994 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5997 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5999 * lyx_main.C: change ref to known bugs
6001 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6003 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6004 to work around older babel problems.
6006 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6008 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6010 2001-10-24 Juergen Vigna <jug@sad.it>
6012 * tabular-old.C (ReadOld): below variable changes reflected.
6014 * tabular.[Ch]: added ltType struct for longtable header/footer
6015 defines and changed all instances where they are used. Added
6016 future support for double top/bottom rows.
6018 2001-10-24 José Matos <jamatos@fep.up.pt>
6020 * buffer.h (docbookHandleCaption):
6021 * buffer.C (docbookHandleCaption): removed unused function.
6022 (makeDocBookFile): moved docbook supported version to v4.1.
6024 2001-10-24 José Matos <jamatos@fep.up.pt>
6027 * tabular.C (docbookRow): new function to export docbook code of a row.
6028 (DocBook): now honors the longtable flags.
6030 2001-10-23 José Matos <jamatos@fep.up.pt>
6033 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6034 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6036 * buffer.C (makeLinuxDocFile):
6037 (makeDocBookFile): reworked the preamble, more clean, and with
6038 support for lyx defined entities. Changed the document declaration
6039 to be more XML friendly.
6041 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6042 if we need to output XML that should be done with a filter.
6044 2001-10-22 Juergen Vigna <jug@sad.it>
6046 * sp_pspell.h (class PSpell): add alive function needed in the
6047 controller to see if the spellchecker could be started.
6049 2001-10-22 Juergen Vigna <jug@sad.it>
6051 * buffer.C (insertStringAsLines): modify the font for inserting
6052 chars in certain conditions by calling checkInsertChar(font).
6054 2001-10-19 Juergen Vigna <jug@sad.it>
6056 * text.C (workWidth): use getRow instead of wrong algorithm.
6057 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6059 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6064 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6066 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6068 * text.C (workWidth): do not search for the exact row when
6069 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6070 optimization for big documents.
6072 2001-10-18 Juergen Vigna <jug@sad.it>
6074 * text.C (workWidth): new function with added Inset * parameter.
6076 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6078 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6080 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6081 change return type of getColumnNearX.
6084 * text.C (changeRegionCase): use uppercase/lowercase instead of
6087 (rightMargin): simplify code by factoring out the uses of
6092 (appendParagraph): use Paragraph::size_type
6094 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * vspace.C (asLatexString): add a missing break
6098 2001-10-15 Herbert Voss <voss@perce.de>
6100 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6102 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6104 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6107 2001-10-10 André Pönitz <poenitz@gmx.net>
6109 * lyxfunc.C: removed greek_kb_flag.
6111 2001-10-10 Herbert Voss <voss@perce.de>
6113 * lyx_main.C: delete global string help_lyxdir.
6115 2001-10-09 Herbert Voss <voss@perce.de>
6117 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6119 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6121 * lyx_main.C: added global string help_lyxdir.
6123 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6125 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6127 * lyxrc.C (set_font_norm_type): support iso8859-4
6129 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6131 * LaTeX.C (deplog): add another regex for MikTeX
6133 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6135 * lyxrc.C (set_font_norm_type): support iso8859-3
6137 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6139 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6141 * LaTeXFeatures.C: remove special case of french and index
6143 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6144 before \begin{document}). This solves several incompatibilities.
6146 2001-10-03 Garst Reese <reese@isn.net>
6148 * lyx_cb.C: change CheckTex error msg.
6150 2001-10-03 José Matos <jamatos@fep.up.pt>
6152 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6154 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6156 * .cvsignore: update
6158 * lyx_main.C (commandLineVersionInfo): use new style version info.
6160 * buffer.C (writeFile):
6163 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6165 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6167 * version.h: update to use stuff in version.C
6169 * version.C.in: new file. Contains version information determined
6170 at compile time. This is a merging of version.h and
6173 2001-10-03 Juergen Vigna <jug@sad.it>
6175 * BufferView_pimpl.C (update): don't change "dirty" status in
6178 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6180 * WorkArea.C (c-tor): re-position version string slightly.
6182 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6184 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6185 revert to previous code.
6187 WorkArea.[Ch]: (show, destroySplash): methods removed.
6189 WorkArea.C: rework code so that it's an amalgam of the codes before and
6190 after the splash screen was moved to WorkArea.
6192 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6195 * vspace.C (inPixels):
6198 * buffer.C (insertStringAsLines):
6199 (asciiParagraph): fix types to be large enough
6201 * lyxlex_pimpl.h: change member status from short to int
6203 * layout.h: fix type of endlabeltype
6206 * kbsequence.C (parse): change return type to string::size_type
6208 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6211 * Bullet.C (bulletSize):
6212 (bulletEntry): do not use short ints as parameters
6214 * BufferView2.C (insertLyXFile): change a char to an int.
6216 * WorkArea.C (WorkArea): remove unneeded floats in computation
6218 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6220 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6222 * paragraph.C (asString): Do not ignore newline/hfill chars when
6223 copying to the clipboard.
6225 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6227 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6228 after a multi-line inset.
6230 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6232 * paragraph.C (validate): Set NeedLyXFootnoteCode
6234 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6236 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6237 and decrease-error to decrease.
6239 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6241 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6242 it more readable (should be equivalent)
6244 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6246 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6248 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6250 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6251 of a cursor (row, etc.) after a character has been deleted
6252 (deleteEmptyParagraphMechanism): call the method above on _all_
6253 cursors held by the LyXText when a double space has been
6256 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6258 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6260 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6262 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6263 background. Use greyOut() and the new show() methods to toggle between
6264 the foreground and background. Add code to remove the splash after
6265 its initial showing.
6267 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6268 (create_forms): no longer call Dialogs::showSplash.
6270 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6272 * .cvsignore: add version_info.h
6274 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6276 * version_info.h.in: new file
6278 * Makefile.am: add version_info.h.in
6280 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6281 version_info.h instead of VERSION_INFO
6283 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6285 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6286 The ERT inset now returns string().
6288 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6290 * lyxtext.h, text.C (selectNextWord): renamed as
6291 selectNextWordToSpellcheck.
6293 * text.C (selectNextWordToSpellcheck): Modified to not select
6294 words inside an ERT inset.
6296 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6298 * lyx_cb.C (MenuLayoutSave): change a bit the question
6300 * sp_base.h: include <sys/types.h>
6302 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6304 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6306 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6308 * several files: fix typos in user-visible strings
6310 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6312 * text2.C (pasteSelection): do not set the selection, since it
6313 will be cleared later. Actually, the intent was to fix the way the
6314 selection was set, but I figured rmoving the code was just as good.
6316 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6318 * FontLoader.C (available): Check if font is available without
6321 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6323 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6325 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6327 * lyxrc.[Ch]: added display_graphics variable and associated code.
6329 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6331 * bufferparams.C (hasClassDefaults): new method. Returns true if
6332 the buffer parameters correspond to known class defaults
6334 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6336 * XFormsView.C (show): set minimum size to the main window.
6338 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6340 * text2.C (copySelection):
6342 * lyxfind.C (LyXReplace):
6343 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6344 LyXText::selectionAsString.
6346 * paragraph.C (asString): add "label" argument to the second form
6348 * text2.C (selectionAsString): add "label" argument and pass it to
6349 Paragraph::asString.
6351 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6353 * lyx_main.C (commandLineHelp): remove version information
6355 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6357 * lyx_main.C: add -version commandline option
6359 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6361 * paragraph.h: make the optional constructor arg required instead.
6362 some modifications to other files because of this.
6364 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6366 * lyxserver.C (C_LyXComm_callback): make it static
6368 * lyx_main.C (error_handler): make it static
6370 * lyx_gui.C (LyX_XErrHandler): make it static
6372 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6374 * WorkArea.C: make the extern "C" methods static.
6376 * Makefile.am (lyx_LDADD): simplify
6378 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6380 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6381 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6383 * LyXAction.C (init):
6384 * lyxfunc.C (dispatch): associated code removal.
6386 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6388 * lyxfont.h (isSymbolFont): shut off warning
6390 * text.C (setHeightOfRow):
6391 (getVisibleRow): fix crash with empty paragraphs which have a
6394 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6396 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6399 2001-09-04 José Matos <jamatos@fep.up.pt>
6402 * tabular.C (docbook): rename docBook method to docbook.
6404 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6406 * Makefile.am: add dependencies to main.o.
6408 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6410 * FontLoader.C (available): Return false if !lyxrc.use_gui
6412 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6414 * FontInfo.C (query):
6415 * converter.C (view):
6416 * importer.C (Import):
6417 * exporter.C (Export): Can not -> cannot.
6419 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6421 * BufferView_pimpl.C: allow to create index inset even if
6424 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6426 * buffer.C (getLists): replace boost::tie code with an explicit pair
6427 as boost::tie can break some compilers.
6429 * iterators.h: Added a std:: declaration to the return type of
6432 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6434 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6437 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6439 * iterators.[Ch]: New files. Provide paragraph iterators.
6441 * buffer.C (changeLanguage): Use paragraph iterators.
6442 (isMultiLingual): ditto
6444 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6446 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6448 * FontLoader.C: Support for cmr font.
6450 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6452 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6453 (available): New method.
6455 * FontInfo.C (getFontname): Use scalable fonts even when
6456 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6459 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6461 * converter.C (Formats::view): reverted! Incorrect fix.
6463 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6465 * converter.C (Formats::view): only output the -paper option
6466 if the dvi viewer is xdvi, thereby fixing bug #233429.
6468 2001-08-23 Herbert Voss <voss@perce>
6470 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6472 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6474 * Spacing.h (Spacing): Set space to Default on in the default
6477 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6479 * vc-backend.h (RCS::versionString): add RCS to version
6480 (CVS::versionString): add CVS to version
6482 * vc-backend.C (scanMaster): do not add CVS to version.
6483 (scanMaster): do not add RCS to version
6485 * lyxvc.C (versionString): new method
6487 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6489 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6491 * Spacing.C (set): initialize fval
6493 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6495 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6498 2001-08-16 Juergen Vigna <jug@sad.it>
6500 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6502 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6504 * BufferView_pimpl.C:
6507 * text2.C: setParagraph takes linespacing now
6509 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6511 * LyxAction.C: add internal LFUN_CITATION_INSERT
6513 * LyXView.C: actually apply fix
6515 * bufferlist.C: fix open non-existent file
6517 * lyxfind.C: fix indentation
6519 * lyxfunc.C: remove unneeded assert, fix typo
6521 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6523 * MenuBackend.C: use "Floatname List"
6525 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6527 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6528 when converting LaTeX layout to insetERT.
6529 Generate a non-collapsed float when reading old float
6531 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6533 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6536 2001-08-13 Juergen Vigna <jug@sad.it>
6538 * text.C (fill): return 0 instead of 20 as this seems to be the more
6541 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6543 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6546 2001-08-13 Juergen Vigna <jug@sad.it>
6548 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6550 (SearchBackward): comment out the unlocking of the inset_owner this
6551 should not be needed!
6553 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6555 * Many files: Remove inherit_language, and add latex_language
6557 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6560 2001-08-10 Juergen Vigna <jug@sad.it>
6562 * text.C (prepareToPrint): fixed hfill-width in draw!
6564 * BufferView2.C (selectLastWord): save the selection cursor as this
6565 now is cleared in the function LyXText::clearSelection!
6567 2001-08-08 Juergen Vigna <jug@sad.it>
6569 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6570 BACKSPACE type functions.
6572 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6573 is only cutted from the document but not put in the cut-buffer, where
6574 still the old stuff should be.
6576 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6578 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6580 * tabular.C (SetWidthOfCell): fixed special case where the width
6582 (LeftLine): handle '|' in align_special.
6584 (LeftAlreadyDrawed): ditto
6585 (SetWidthOfCell): ditto
6587 2001-08-07 Juergen Vigna <jug@sad.it>
6589 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6591 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6593 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6594 * lyxlex.[hC]: ditto
6596 2001-08-06 Juergen Vigna <jug@sad.it>
6598 * text.C (getVisibleRow): fix up row clearing a bit.
6600 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6602 * minibuffer.C: make sure the X server sees the changes in the input.
6604 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6606 * paragraph.C (getFont): split into...
6607 (getLabelFont): this
6608 (getLayoutFont): and this
6609 * paragraph_pimpl.C (realizeFont): calling this
6611 * text2.C (getFont): split into...
6612 (getLayoutFont): this
6613 (getLabelFont): and this
6614 (realizeFont): all three calling this
6616 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6619 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6621 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6623 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6625 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6626 layouts from the Quote inset insertion.
6628 2001-08-03 Juergen Vigna <jug@sad.it>
6630 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6632 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6633 only if status not is already CHANGED_IN_DRAW (second level).
6635 * text.C (draw): don't set the need_break_row when inside an
6638 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6640 * buffer.C (parseSingleLyXformat2Token): handle more latex
6643 * bufferview_funcs.[hC]: change function names to
6644 begin with small char, adjust other files.
6646 2001-08-02 André Pönitz <poenitz@gmx.net>
6649 BufferView_pimpl.C: remove broken special code for math-greek
6651 2001-08-02 Juergen Vigna <jug@sad.it>
6653 * BufferView_pimpl.C (update): redone this function so that we
6654 update the text again if there was a CHANGE_IN_DRAW.
6656 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6657 (drawFromTo): added a new internal bool which is used by draw() and
6659 (general): some cursor drawing problems fixed.
6661 2001-08-01 Juergen Vigna <jug@sad.it>
6663 * lyxfind.C (LyXFind): fixed
6664 (SearchForward): ditto
6665 (SearchBackward): ditto
6667 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6668 spurius drawing of the cursor in the main area.
6670 * text2.C (status): small fix which could lead to a segfault!
6671 (clearSelection): remove unneeded BufferView param.
6673 2001-08-01 André Pönitz <poenitz@gmx.net>
6675 * lyxfunc.C: small change due to changed mathed interface
6677 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6679 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6681 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6683 * lyxfunc.c: fail gracefully if file doesn't exist
6688 * BufferView_pimpl.C: IsDirWriteable() proto changed
6690 * LyXView.C: fix updateWindowTitle() to store the last title
6692 2001-07-31 Juergen Vigna <jug@sad.it>
6694 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6695 the font (wrong since using of Paragraph::highestFontInRange).
6697 * paragraph.C (highestFontInRange): added a default_size parameter.
6699 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6700 (setHeightOfRow): reformat
6702 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6704 * converter.[hC] + affected files: move to (inital-char)lowercase
6707 * ParagraphParameters.C (ParagraphParameters): remove commented code
6709 * PainterBase.[Ch]: remove commented code
6711 * LaTeXFeatures.h: add "bool floats" for float.sty
6713 * LaTeXFeatures.C (LaTeXFeatures): init floats
6714 (require): handle float
6715 (getPackages): do it with floats
6717 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6719 * BufferView_pimpl.C (Dispatch): improve handling of
6720 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6722 * commandtags.h: #include lyxfont.h here temporarily to avoid
6725 * bufferlist.h: include LString.h here.
6727 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6729 * text2.C (getStringToIndex): new method.
6731 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6733 * *: Reduced header file dependencies all over.
6735 2001-07-30 Baruch Even <baruch@lyx.org>
6737 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6739 2001-07-29 Baruch Even <baruch@lyx.org>
6741 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6743 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6745 * ParameterStruct.h (endif): add a default constructor to make
6746 sure that all variables is initialized.
6748 * ParagraphParameters.C (ParagraphParameters): adjust
6750 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6752 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6753 index; also, check that there is something to index, and that it
6754 does not span over several paragraphs.
6755 (doubleClick): use WHOLE_WORD_STRICT for double click.
6757 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6759 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6762 2001-07-26 Baruch Even <baruch@lyx.org>
6764 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6765 an InsetFig figure, backwards compatible reading of old figure code.
6767 2001-07-27 Juergen Vigna <jug@sad.it>
6769 * text2.C: font.realize function adaption.
6771 * text.C (draw): add a warnings lyxerr text if needed.
6773 * layout.C: font.realize function adaption.
6775 * language.C: add inherit_language and implement it's handlings
6777 * bufferview_funcs.C (StyleReset): remove language parameter from
6778 font creation (should be language_inherit now).
6780 * bufferparams.C (writeFile): handle ignore_language.
6782 * paragraph.C (getFontSettings): the language has to be resolved
6783 otherwise we have problems in LyXFont!
6785 * lyxfont.C (lyxWriteChanges): added document_language parameter
6786 (update): removed unneeded language parameter
6788 * paragraph.C (validate): fixed wrong output of color-package when
6789 using interface colors for certain fonts in certain environments,
6790 which should not seen as that on the final output.
6792 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6794 * BufferView_pimpl.C:
6799 * LyXAction.C: add thesaurus support
6802 * lyxfind.C: add "once" parameter, for thesaurus, to not
6803 move to the next match
6805 2001-07-26 Juergen Vigna <jug@sad.it>
6807 * lyxfont.C (realize): honor ignore_language too!
6810 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6812 * text.C (draw): one place more for ignore_language to not draw
6815 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6817 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6819 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6821 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6822 the minipage conversion problem.
6824 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6826 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6829 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6831 * BufferView.h: don't forward declare WorkArea
6833 * BufferView.C: don't include WorkArea.h
6835 2001-07-25 André Pönitz <poenitz@gmx.net>
6839 * lyxfunc.C: new LFUN 'math-space'
6841 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6843 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6845 * text2.C (toggleInset): call open/close
6847 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6849 * lyxfunc.C (dispatch): add debug for the disabled case
6851 * font.C (buttonText): make similar to rectText
6853 * buffer.C (readInset): comment out parsing of insetlist and
6856 * PainterBase.C (rectText): small correction
6858 * BufferView_pimpl.C: comment out insettheorem and insetlist
6859 * LyXAction.C: ditto
6860 * commandtags.h: ditto
6862 2001-07-24 Juergen Vigna <jug@sad.it>
6864 * text.C (draw): honor the ignore_language.
6866 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6868 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6870 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6873 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6875 * lyxtext.h: remove unused (and unimplemented) methods
6877 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6879 * text.C (getVisibleRow): honor background color
6882 * Painter.h: remove default color argument for fillRectangle
6884 * text.C (backgroundColor): new method
6886 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6888 * text.C (getVisibleRow): adjust
6890 * font.[Ch] (rectText): new method, metrics
6891 (buttonText): new method, metrics
6893 * PainterBase.[hC]: make rectText and buttonText always draw and take
6896 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6898 * ToolbarDefaults.C (read):
6899 * MenuBackend.C (read): allow escaping in all strings
6901 * BufferView_pimpl.C (insertAndEditInset): new method.
6902 (Dispatch): use insertAndEditInset whenever appropriate.
6904 * BufferView_pimpl.C (insertNote): removed
6906 * BufferView_pimpl.C (smartQuote): new method, moved from
6907 BufferView; if an insetquote cannot be inserted, insert a '"'
6910 * BufferView2.C: remove insertCorrectQuote();
6912 * lyxfunc.C (getStatus): Add support for all remaingin
6915 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6917 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6918 command (necessary to pass " as parameter of self-insert.
6920 * text.C (selectWordWhenUnderCursor):
6921 (selectWord): add word_location parameter
6922 (selectWordWhenUnderCursor): same + remove special code for word
6924 (selectNextWord): use kind() to guess type of insetspecialchar,
6927 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6928 (insertErtContents): create ert insets as collapsed.
6929 (readInset): better compatibility code for Info inset.
6931 2001-07-20 Juergen Vigna <jug@sad.it>
6933 * lyxfunc.C (dispatch): use always LyXFind now!
6935 * text2.C (init): add a reinit flag so that the LyXText can be
6936 reinited instead of deleted and reallocated (used in InsetText).
6938 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6944 2001-07-18 Juergen Vigna <jug@sad.it>
6946 * text.C (selectNextWord): handle insets inside inset by calling
6947 always the bv->text functions so that we can go up the_locking_inset!
6949 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6950 in strange locations when inside an inset!
6952 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6953 handling to include insets.
6955 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6957 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6959 * LyXAction.C (init):
6961 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6962 LIGATURE_BREAK, since the name is so stupid.
6964 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6966 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6969 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6971 * sp_form.[Ch]: remove.
6973 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6975 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6978 * src/buffer.C (readInset): ditto.
6980 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6982 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6983 menuSeparator(), endOfSentenceDot(), ldots() and
6984 hyphenationPoint(), which are therefore removed.
6985 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6987 * LyXAction.C (init):
6988 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6990 * paragraph.C (getWord): removed.
6992 * BufferView_pimpl.C (Dispatch): use last word or selection for
6993 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6995 * lyx_main.C (queryUserLyXDir): do not ask before creating
6996 user_dir, except if it has been named explicitely.
6998 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7000 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7001 a document of zero size.
7003 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7005 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7006 approriately in the c-tor and in require().
7007 (getPackages): output the appropriate LaTeX for natbib support.
7009 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7010 variables "use_natbib" and "use_numerical_citations" when reading the
7012 (readInset): read the various natbib cite commands.
7013 (validate): white-space change.
7015 * bufferparams.[Ch]: new variables "bool use_natbib" and
7016 "bool use_numerical_citations".
7017 (writeFile): output them in the LyX file.
7019 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7021 * lyxfunc.C (getStatus): add support for all the inset insertion
7024 * text2.C (insertInset):
7025 * paragraph.C (insetAllowed):
7026 * BufferView_pimpl.C (insertInset): update to take in account the
7027 renaming of insertInsetAllowed
7029 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7031 * text2.C (getInset): new method. returns inset at cursor position.
7033 * BufferView_pimpl.C (Dispatch): changes because of this.
7035 * LyXAction.C (init): rename open-stuff to inset-toggle.
7037 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7039 * text2.C (toggleInset): renamed from openStuff; use
7042 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7044 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7046 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7048 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7050 * buffer.C (readLyXformat2): Add filename to the error dialog
7052 2001-07-18 Juergen Vigna <jug@sad.it>
7054 * tabular.C (GetCellNumber): put an assert here instead of the check!
7056 2001-07-17 Juergen Vigna <jug@sad.it>
7058 * BufferView_pimpl.C (toggleSelection): adapted too.
7060 * text.C (selectNextWord): adapted for use with insets.
7061 (selectSelectedWord): ditto
7063 2001-07-17 Juergen Vigna <jug@sad.it>
7065 * sp_spell.C (PSpell): fix initialitation order.
7067 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7069 * paragraph.C: spacing
7071 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7073 * sp_spell.C: repair language selection for pspell
7075 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7077 * lyxfunc.h: change more methods to begin with lower char.
7079 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7081 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7082 for unknown layouts.
7084 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7086 * buffer.C (readLyXformat2): Generate an error dialog if there are
7089 2001-07-16 Juergen Vigna <jug@sad.it>
7091 * sp_spell.C: always compile ISpell part.
7093 * lyxrc.C: added use_pspell entry and it's handling.
7095 2001-07-13 Juergen Vigna <jug@sad.it>
7097 * sp_spell.C: removed double includes.
7099 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7101 Consistent use of Lsstream.h:
7102 * Lsstream.h: added using std::stringstream for consistencies sake.
7104 * buffer.C: removed using std::stringstream
7106 * lyxfont.C (stateText):
7107 * paragraph.C (asString):
7108 * text.C (selectNextWord, selectSelectedWord):
7109 * text2.C (setCounter):
7110 * vspace.C (asString, asLatexString):
7111 std::ostringstream -> ostringstream.
7113 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7115 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7116 * commandtags.h: add LFUN_HELP_ABOUTLYX
7117 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7119 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7121 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7123 * lyx_gui_misc.C: remove spellchecker
7124 * lyxfunc.C: showSpellchecker
7126 * sp_ispell.h: added
7127 * sp_pspell.h: added
7129 * sp_form.[Ch]: removed
7130 * spellchecker.[Ch]: removed
7132 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7134 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7136 (simpleTeXSpecialChars): Simply print the input character without
7137 any special translation if pass_thru is set.
7139 * layout.h: Added bool pass_thru to layout class for being able to
7140 implement pass through of a paragraph for Literate Programming.
7142 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7143 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7144 * layout.C (Read): add "passthru" to list of layout tags and add
7145 code to set the pass_thru boolean when it is read.
7147 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7149 * trans_decl.h: remove allowed from KmodInfo
7151 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7155 * paragraph_pimpl.C (erase): use boost::prior
7157 * Painter.C (text): use data() instead of c_str() when length is
7159 * WorkArea.C (putClipboard): ditto
7160 * font.h (width): ditto
7162 * BufferView2.C: use it-> instead of (*it). for iterators
7164 * paragraph_pimpl.C: ditto
7165 * paragraph.C: ditto
7166 * minibuffer.C: ditto
7171 * converter.C: ditto
7173 * Variables.C: ditto
7174 * TextCache.C: ditto
7175 * MenuBackend.C: ditto
7176 * LyXAction.C: ditto
7178 * FloatList.C: ditto
7180 * ColorHandler.C (LyXColorHandler): ditto
7182 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7184 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7186 * text2.C (openStuff): reintroduce this method (which had been
7187 nuked in NEW_INSETS frenzy).
7189 * lyxfunc.C (Dispatch): when an action has not been handled, use
7190 its name in the error message, not its number.
7192 * paragraph.C (inInset): change method name to begin with lowercase.
7195 * text2.C: updates because of this.
7197 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7199 * ToolbarDefaults.C (add): add spaces in error message
7201 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7203 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7204 (readLyXformat2): rename return_par to first_par, use lyxlex's
7205 pushToken and remove the manual push handling.
7206 (parseSingleLyXformat2Token): add another ert comp. variable:
7207 in_tabular, rename return_par to first_par. handle newlines better
7209 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7211 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7213 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7215 * text2.C (getParFromID): removed
7217 * buffer.C (getParFromID): new method moved form lyxtext.
7218 * BufferView2.C (insertErrors): adjust
7219 (setCursorFromRow): adjust
7220 * BufferView_pimpl.C (restorePosition): adjust
7221 * lyxfunc.C (Dispatch): adjust
7222 * undo_funcs.C (textUndo): adjust
7224 (textHandleUndo): adjust
7225 (textHandleUndo): adjust
7227 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7229 * buffer.C: up' the LYX_FORMAT
7231 * lyxfont.h: turn NO_LATEX on as default
7233 * buffer.C (insertErtContents): new methods of tex style compability.
7234 (parseSingleLyXformat2Token): use it several places.
7235 * tabular.C (OldFormatRead): and here
7237 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7239 * text2.C: remove some commented code.
7242 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7243 * trans.C: changes because of the above.
7245 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7247 * text2.C (setCounter): Fix counters bug with bibliography layout.
7249 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7251 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7252 own member functions
7253 (simpleTeXSpecialChars): ditto
7255 2001-07-06 Juergen Vigna <jug@sad.it>
7257 * a lot of files: changed the access to LyXText::status and the
7258 call of undo-functions.
7260 * undo.[Ch]: added a inset_id to the undo informations.
7262 * undo_funcs.[Ch]: added and moved here all undo functions.
7264 * lyxtext.h: give the status enum a weight, made status_ a private
7265 variable and made accessor functions for it, removed the whole bunch
7266 of undo-functions as they are now in their own file, make some
7267 functions publically available. Added function ownerParagraph with
7270 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7271 made InInset() a const function, added getParFromID() function.
7273 * buffer.[Ch]: added const version for inset_iterator functions,
7274 added getInsetFromID() function.
7276 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7277 changed undo functions for new version.
7279 2001-07-05 Juergen Vigna <jug@sad.it>
7281 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7282 unknow mechanism does not call the proper constructor but only this
7283 one also if I request the other!?
7285 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7287 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7289 * text2.C (LyXText): use initialization lists.
7291 * lyxtext.h (Selection): initialize set_ and mark_
7292 (init): remove method
7294 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7296 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7298 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7300 * screen.[Ch]: change method names to begin with lowercase
7302 * BufferView_pimpl.C (updateScrollbar): simplify further and
7303 hopefully make it a bit faster.
7305 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7307 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7308 calling directly xforms functions.
7310 * Painter.C (Painter):
7311 * lyx_cb.C (MenuWrite):
7312 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7315 * lyx_gui.C: remove bogus guiruntime extern declaration.
7317 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7319 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7321 (redoDrawingOfParagraph): ditto
7322 (redoParagraphs): ditto
7323 (cutSelection): don't create a object for CutAndPaste use the
7324 static method directly
7325 (pasteSelection): ditto
7327 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7330 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7332 * modifications to some other files because of this.
7334 * Makefile.am (lyx_SOURCES): add XFormsView
7336 * XFormsView.[Ch]: new files
7338 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7339 the main window. Move the gui dependent stuff to XFormsView
7341 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7343 * tabular.C (GetCellInset): update cur_cell also in the row/col
7344 version of this function.
7346 * lyxfunc.C: no need to include figure_form.h here.
7352 * lyxvc.C: no need to include forms.h here.
7354 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7356 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7358 * lyxfunc.C (Dispatch):
7360 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7361 constructor argument.
7363 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7365 * paragraph.C (Paragraph): dont't clear, and just set layout.
7366 (makeSameLayout): use params's copy contructor.
7368 * ParagraphParameters.[Ch] (makeSame): delete method
7370 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7372 * Variables.[Ch]: fix indentation, rename set to isSet
7374 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7376 * lyxfunc.C (Dispatch): fix typo
7378 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7380 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7383 * bufferlist.C: include assert.h for emergencyWrite().
7385 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7387 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7388 give up at last (bug #425202) !
7390 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7396 * spellchecker.C: strip spellchecker options and bring up
7397 preferences tab instead
7399 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7401 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7402 the istringstream constructor
7404 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7406 * paragraph.C (getLayout): fix return value
7408 * paragraph.h: do not declare getLayout as inline.
7410 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7412 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7414 * lyxcursor.h (operator<): new func
7415 (operator>): new func
7416 (operator>=): new func
7417 (operator<=): new func
7419 * text.C (changeCase): use selection.start and selection.end
7420 (changeRegionCase): require from to be <= to. Require par to be a
7423 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7425 2001-06-27 Juergen Vigna <jug@sad.it>
7427 * text.C (cursorLeftOneWord): changed to return the cursor and added
7428 overlay with BufferView * parameter which calls this one.
7430 (selectWord): use new getWord function.
7431 (changeCase): renamed from changeWordCase as and extended to work
7434 * lyxtext.h: added enum word_location
7436 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7437 changeCase as this operates now also on selections.
7439 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7441 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7443 * many files: send debug output to Debug::INFO instead of
7446 * converter.C (View):
7448 (Move): send debug output to Debug::FILES instead of console.
7450 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7452 * lyxfunc.C (getStatus): use func_status
7454 * func_status.h: new header, describing the results of
7457 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7460 2001-06-25 The LyX Project <jug@sad.it>
7462 * buffer.C (sgmlOpenTag):
7464 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7466 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7468 * text2.C: remove some dead code
7470 * tabular.C (GetCellInset): store the last cell checked (gotten)
7472 * tabular.h: add the helper for the speedup
7474 * lyxtext.h: remove some dead code
7476 2001-06-26 The LyX Project <Asger>
7478 * paragraph.C: Change export to LaTeX of alignment to
7479 \begin{center} and family for better roundtrip work with reLyX.
7481 * Tune the math drawing a bit.
7483 2001-06-25 The LyX Project <Asger>
7485 * LColor.C (LColor): New color for math background. New color
7488 2001-06-25 The LyX Project <jug@sad.it>
7490 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7493 * bufferlist.C (newFile): do not restrict to files ending with
7496 * BufferView_pimpl.C (MenuInsertLyXFile):
7498 2001-06-24 The LyX Project <jug@sad.it>
7500 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7503 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7505 * lyxtext.h: rename most methods to begin with a small char.
7506 Lots of changes because of this.
7508 * paragraph.C (Paragraph): do not call fitToSize
7509 (erase): call Pimpl::erase
7510 (insertChar): call Pimpl::insertChar
7511 (insertInset): call Pipl::insertInset
7512 (breakParagraph): do not call fitToSize
7513 (breakParagraphConservative): do not call fitToSize
7514 (fitToSize): remove method
7516 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7518 2001-06-24 The LyX Project <Asger>
7520 * Fix Qt compilation^2
7522 2001-06-24 The LyX Project <jug@sad.it>
7524 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7525 depthHook(getDepth()-1).
7528 * ParagraphParameters.h:
7529 * ParameterStruct.h: change type of depth to unsigned int ==
7530 depth_type. Many adaptations to other files before of that.
7532 2001-06-24 The LyX Project <Asger>
7534 * Fix Qt compilation.
7536 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7538 * paragraph.h: renamed several methods to begin with small letter.
7539 several changes to many parts of the code because of this.
7541 2001-06-23 The LyX Project <jug@sad.it>
7543 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7544 rewritten to discard all double spaces when KeepEmpty is off
7545 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7546 to only handle newlines but not fiddle with spaces and friends.
7548 * lyxfunc.C (MenuNew): when doing 'new from template', use
7549 template_path as default directory
7551 2001-06-23 The LyX Project <Asger>
7553 * Clean-up of header file includes all over
7554 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7556 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7558 * paragraph.h: renamed from lyxparagraph.h
7560 2001-06-23 Asger <lyx@violet.home.sad.it>
7562 * Buffer.h: Removed Buffer::resize
7563 * BufferList.h: Removed BufferList::resize
7564 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7565 the document lazily when we change the width, or the font settings.
7567 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7569 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7571 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7573 * buffer.h: remove out of date comment
7575 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7578 * screen.C: fix "theoretical" GC leak
7580 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7582 * LaTeX.C (scanAuxFile):
7583 (deplog): remove trailing \r when reading stream (useful under
7586 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7588 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7589 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7590 and BufferView::theLockingInset(Inset*), so should use them and not
7591 access bv_->text->the_locking_inset directly.
7593 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7595 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7598 * tex-defs.h: remove old unused file
7600 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7602 * BufferView_pimpl.C: fix typo, remove minibuffer message
7603 when buffer has loaded
7605 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7607 * lyxfunc.C (Dispatch): use stringstream
7608 (MenuNew): use stringstream
7609 (Open): use stringstream
7611 * importer.C (Import): use stringstream
7613 * bufferview_funcs.C (CurrentState): use stringstream
7615 * LaTeX.C (run): use stringstream
7617 * BufferView_pimpl.C (savePosition): use stringstream
7618 (restorePosition): use stringstream
7619 (MenuInsertLyXFile): use stringstream
7621 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7634 * vspace.C: removed // -*- C++ -*- as first line.
7637 * version.h: added // -*- C++ -*- as first line.
7639 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7641 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7643 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7646 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7648 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7651 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7653 * gettext.C: include LString.h even when --disable-nls is on.
7655 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7657 * converter.h (Get): changed argument type from int to
7658 FormatList::size_type to avoid unnecessary conversion.
7660 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7663 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7665 * gettext.h: include LString.h even when --disable-nls is on.
7667 2001-06-07 Juergen Vigna <jug@sad.it>
7669 * text.C (BreakAgain): subst spaces with tabs.
7671 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7672 (resizeInsetsLyXText): set force on resizeLyXText.
7674 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7676 * gettext.h (gettext_init):
7677 (locale_init): use a real definition instead of a macro
7679 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7681 * Bufferview_pimpl.C:
7683 * LColor.C: further lcolor tidies
7685 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7687 * BufferView_pimpl.C (updateScrollbar): simplify.
7689 * BufferView2.C: don't include insets/insetinfo.h, change
7690 prototype for insertInset and call the Pimpl version. let
7691 updateInset call Pimpl version.
7693 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7694 gotoInset to BufferView::Pimpl
7696 2001-06-01 Juergen Vigna <jug@sad.it>
7698 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7699 inside a LockingInset (is the update needed at all?).
7701 2001-05-31 Juergen Vigna <jug@sad.it>
7703 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7704 here not the old one otherwise how should we compare it afterwards
7707 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7712 * FontInfo.C: bring C functions into global namespace when
7715 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7717 * LString.h: make sure config.h has been loaded before LString.h.
7719 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7720 (one for each char read by EatLine!).
7722 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7725 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7727 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7728 to the same as the par we break from
7730 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7732 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7734 * MenuBackend.C (expand): also create menu entries for wide
7735 versions of the floats.
7737 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7739 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7741 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7742 frontends/Makefile.am
7748 * tabular.C (getTokenValue): add std::
7750 * tabular-old.C (getTokenValue): add std::
7751 (getTokenValue): ditto
7752 (getTokenValue): ditto
7754 * screen.C (ToggleSelection): adjust
7756 * lyxtext.h: put selection cursors inside a Selection struct.
7758 * lyxfunc.C (moveCursorUpdate): adjust
7760 * lyxfont.C (latexWriteStartChanges): add std::
7764 * font.h: delete with(char const *, LyXFont const &)
7766 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7768 * FontInfo.C (getFontname): add std::
7770 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7771 (workAreaButtonPress): adjust
7772 (tripleClick): adjust
7774 (moveCursorUpdate): adjust
7777 * BufferView2.C (gotoInset): adjust
7779 2001-05-30 Juergen Vigna <jug@sad.it>
7781 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7782 to check pspell I add this as default as I now have new pspell
7783 libraries and they seem to use this.
7785 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7787 * text2.C (CutSelection): make the cursor valid before the call to
7790 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7792 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7793 relied on 0 terminated strings and other horrors. Bug found due to
7794 the new assert in lyxstring!
7796 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7799 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7801 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7804 * lyxfunc.C (processKeySym): change method of getting to the
7807 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7808 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7809 * BufferView_pimpl.[Ch]: here as private methods.
7811 2001-05-28 Juergen Vigna <jug@sad.it>
7813 * text.C (SetHeightOfRow): added the update() call again as it is
7814 needed to initialize inset dimensions!
7816 2001-05-16 Juergen Vigna <jug@sad.it>
7818 * text2.C (SetCharFont): Add new function with BufferView * and
7819 bool toggleall parameters for setting insets internal fonts.
7820 (SetFont): Freeze the undo as we may change fonts in Insets and
7821 all this change should be inside only one Undo!
7823 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7824 setting font's in insets as for them we have the SetFont function!
7826 2001-05-15 Juergen Vigna <jug@sad.it>
7828 * text2.C (ClearSelection): to be sure we REALLY don't have any
7831 * tabular.C (TeXCellPreamble): fixed the left border problem for
7834 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7836 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7839 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7841 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7842 LFUN_BREAKPARAGRAPH.
7844 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7845 help test to "internal only", similar for LFUN_INSERT_URL
7847 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7848 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7849 auto_region_delete and deadkeys.
7851 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7854 * LColor.C: remove some dead entries, tidy a little
7856 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7858 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7860 (Dispatch): implement LFUN_ESCAPE
7862 * commandtags.h: add LFUN_ESCAPE
7864 * LyXAction.C (init): add entry for LFUN_ESCAPE
7866 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7867 Remove commented code.
7868 (insertNote): moved here
7869 (open_new_inset): moved here
7871 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7874 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7876 * kbmap.C (findbinding): clean it up and make it work correctly.
7878 * lyx_main.C (init): do not pass argc and argv as parameters
7880 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7882 * buffer.C: fix path for OS/2 & Win32
7886 * lyx_main.C: Added os:: class.
7888 * os2_defines.h: update
7890 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7892 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7893 better by trying again with reduced state.
7895 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7897 * lyxrc.C (read): print error about invalid key sequence only when
7898 debugging (because not all latinX keysyms are known to some X
7901 * kbsequence.C (getiso): add a few std:: qualifiers
7902 (getiso): comment out extra return statement.
7904 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7906 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7908 (Dispatch): enhance the accent inset a bit. (not perfect)
7910 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7912 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7914 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7916 * bufferlist.C (emergencyWrite): fix assert() call
7918 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7920 * text.C (InsertChar): Added trivial patch to only send the "you
7921 can not do multiple spaces this way" message once during a
7924 2001-05-08 Baruch Even <baruch@lyx.org>
7926 * Makefile.am: Changed order of libraries to get LyX to link properly
7927 with the gnome frontend.
7929 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7931 * LaTeXFeatures.h: add a std:: qualifier
7933 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7935 * paragraph.C (String): use stringstream
7937 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7939 * paragraph.C (writeFile): remove footflag arg
7941 * buffer.C (makeLaTeXFile): use stringstream
7942 (latexParagraphs): remove footnot gurba
7944 * LaTeXFeatures.C (getPackages): use stringstream
7945 (getMacros): likewise
7946 (getTClassPreamble): likewise
7947 (getFloatDefinitions): new method
7949 * paragraph.C (writeFile): reindent
7952 * WorkArea.h: revert the xpos + etc changes.
7954 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7956 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7958 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7959 (pasteSelection): likewise
7960 * text2.C (CreateUndo): likewise
7962 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7964 * minibuffer.C (peek_event): temporarily reduce the functionality
7965 of the minibuffer (to allow args on lfuns)
7967 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7968 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7970 * buffer.C (readInset): add compability reading of old float
7971 lists, add reading of new style float list.
7972 (readInset): avoid reevaluation of inscmd.getCmdName()
7973 (getLists): reindent
7975 * MenuBackend.C (MenuItem): implement parsing of
7976 md_floatlistinsert and md_floatinsert.
7977 (expand::LastFiles): move initalizaton of iterators out of loop,
7979 (expand::Documents): introduce typdedef vector<string> Strings,
7981 (expand::ExportFormats): introduce typedef vector<Format const *>
7982 Formats, and use it.
7983 (expand): implement FloatListInsert and FloatInsert.
7985 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7986 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7987 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7989 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7991 (Dispatch::LFUN_FLOAT_LIST): implement
7993 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7995 * LaTeX.C (run): Fix problem with --export code.
7997 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7999 * BufferView.[Ch] (workarea): removed.
8000 (getClipboard) new method; wrapper for workarea()->getClipboard()
8002 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8005 * WorkArea.h (width, height, xpos, ypos): These methods all
8006 returned the dimensions of the work_area sub-area of WorkArea,
8007 resulting in a position error if the WorkArea were resized. Now
8008 return the dimensions of the entire WorkArea.
8010 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8012 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8014 * LaTeX.C (deplog): correct the syntax of regex reg1
8016 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8018 * undo.C: remove !NEW_INSETS cruft
8020 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8022 * text2.C: remove !NEW_INSETS cruft
8024 * text.C: remove !NEW_INSETS cruft
8026 * tabular.C: remove !NEW_INSETS cruft
8028 * spellchecker.C: remove !NEW_INSETS cruft
8030 * lyxtext.h: remove !NEW_INSETS cruft
8032 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8034 * lyxfunc.C: remove !NEW_INSETS cruft
8036 * lyxfind.C: remove !NEW_INSETS cruft
8038 * lyx_cb.C: remove !NEW_INSETS cruft
8040 * figureForm.C: remove !NEW_INSETS cruft
8042 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8044 * buffer.[Ch]: remove !NEW_INSETS cruft
8046 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8048 * CutAndPaste.C: remove !NEW_INSETS cruft
8050 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8052 * BufferView2.C: remove !NEW_INSETS cruft
8054 * BufferView.h: remove !NEW_INSETS cruft
8056 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8058 * Lsstream.h: include LString.h before the sstream headers to
8059 fix problem with gcc 2.95.3 and lyxstring
8061 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8063 * lyx_main.C: add using directives when needed for C functions
8064 declared in std:: namespace.
8066 2001-04-27 Juergen Vigna <jug@sad.it>
8068 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8069 (SetHeightOfRow): comment out the update call should not be needed!
8071 2001-04-13 Juergen Vigna <jug@sad.it>
8073 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8074 (LyXTabular): tried to minimize operator= operations (and realized
8075 hopfully Lars wish).
8077 2001-04-27 Juergen Vigna <jug@sad.it>
8079 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8081 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8083 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8085 * buffer.C (readInset): hack to make listof algorithm work
8087 * BufferView_pimpl.C: hack to make listof algorithm work
8089 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8091 * LyXAction.C: removed all !NEW_INSETS cruft
8092 (init): moved lfun_item in method
8094 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8096 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8098 * BufferView2.C (theLockingInset): white space.
8100 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8102 * minibuffer.C: include <iostream>
8104 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8106 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8108 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8110 * text.[Ch] (TransposeChars): new method
8112 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8114 * call message directly through LyXView instead of through LyXFunc
8115 * BufferView2.C: adjust
8116 * BufferView_pimpl.C: adjust
8117 * FontLoader.C: adjust
8119 * bufferview_funcs.C: adjust
8120 * converter.C: adjust
8121 * figureForm.C: adjust
8122 * importer.C: adjust
8124 * lyx_gui_misc.C: adjust
8128 + more files in subdirs
8130 * lyxparagraph.h (size): move up int file
8133 * adjust all uses of Assert to lyx::Assert.
8135 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8136 lyxfunctional in namespace lyx
8137 * layout.C (hasLayout): ditto
8140 (delete_layout): ditto
8141 (NumberOfClass): ditto
8142 * converter.C (GetFormat): ditto
8147 * bufferlist.C (getFileNames): ditto
8148 (emergencyWriteAll): ditto
8151 * MenuBackend.C (hasSubmenu): ditto
8154 * BufferView_pimpl.C (getInsetByCode): ditto
8156 2001-04-18 Juergen Vigna <jug@sad.it>
8158 * vspace.C (asLatexString): fixed the 100% problem.
8160 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8162 * lyxfunc.C (Dispatch):
8164 * minibuffer.h: add a few std:: qualifiers
8166 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8168 * minibuffer.[Ch]: reimplement so that commands is initiated and
8169 run from lyxfunc, simplified som handling, and made the completion
8170 and history code for complete. wip.
8172 * lyxfunc.C (processKeySym): call message
8173 (miniDispatch): new temporary method
8174 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8175 (LFUN_MESSAGE): implement
8176 (LFUN_MESSAGE_PUSH): implement
8177 (LFUN_MESSAGE_POP): implement
8178 (initMiniBuffer): the initial/defualt minibuffer message.
8180 * lyxfont.[Ch]: inline some more getters
8182 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8184 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8186 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8187 (AutoSave): use LFUN_MESSAGE
8188 (Reconfigure): ditto
8190 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8192 * figureForm.C: use LFUN_MESSAGE
8194 * converter.C (runLaTeX): use LFUN_MESSAGE
8196 * bufferview_funcs.C: use LFUN_MESSAGE
8198 (changeDepth): ditto
8200 * bufferparams.h: use boost::
8202 * bufferlist.h: inherit privately from noncopyable
8204 * bufferlist.C (loadLyXFile): remove some commented code.
8206 * buffer.C (runChktex): use LFUN_MESSAGE
8208 * ShareContainer.h: inherit privately from noncopyable
8210 * ParagraphParameters.[hC] (depth): inline it.
8212 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8214 (message): new method
8215 (messagePush): ditto
8217 (show): init minibuffer
8218 (showState): direct call
8220 * LaTeX.[Ch]: inherit privately from noncopyable
8221 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8222 instead of WriteStatus.
8224 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8226 * BufferView_pimpl.C (buffer): don't init minibuffer
8227 (workAreaButtonPress): use LFUN_MESSAGE
8228 (workAreaButtonRelease): ditto
8229 (savePosition): ditto
8230 (restorePosition): ditto
8231 (MenuInsertLyXFile): ditto
8232 (workAreaExpose): don't init minibuffer
8233 (update): remove commented code, simplify
8235 * BufferView2.C (openStuff): use LFUN_MESSAGE
8236 (toggleFloat): ditto
8239 (copyEnvironment): ditto
8240 (pasteEnvironment): ditto
8245 (updateInset): remove some commented code
8247 * lastfiles.h: inherit privately from noncopyable
8252 * lyxlex_pimpl.h: ditto
8254 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8255 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8256 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8258 * LyXAction.h: inherit privately from noncopyable, add methods
8259 func_begin, func_end, returning iterators to the func map.
8261 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8262 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8263 (func_begin): new method
8264 (func_end): new method
8266 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8268 (copySelection): ditto
8269 (pasteSelection): ditto
8271 * BufferView.C: whitespace change
8272 * BufferView.h: inherit privately from noncopyable
8274 2001-04-16 Allan Rae <rae@lyx.org>
8276 * tabular-old.C (l_getline):
8277 * spellchecker.C (sc_check_word):
8278 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8279 an unrecognised preprocessor directive. So ensure they're wrapped.
8281 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8283 * src/exporter.C (Export): Give an error message when path to file
8286 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8288 * LaTeX.C (deplog): Always check that foundfile exists.
8290 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8293 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8295 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8297 * tabular.[Ch] (getLabelList): implement new method
8299 * minibuffer.h: comment ouf setTiimer
8301 * minibuffer.C (ExecutingCB): constify res
8302 (peek_event): constify s
8303 (Set): constify ntext
8304 (Init): constify nicename
8306 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8308 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8309 (savePosition): use two params to Minibuffer::Set
8310 (restorePosition): ditto
8312 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8314 * lyx_main.C: include language.h
8316 * Makefile.am (lyx_main.o): add language.h
8318 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8324 * CutAndPaste.C: include gettext.h
8326 * lyxfont.h: remove old hack with ON and OFF.
8329 * lyxfont.h: do not include language.h...
8334 * bufferview_funcs.C:
8340 * paragraph.C: ... but do it here instead
8342 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8344 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8346 * tabular.C: small reformat
8348 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8351 (BreakParagraph): ditto
8352 (SetOnlyLayout): ditto
8355 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8358 * lastfiles.C: removed most using decl, add std:: where needed
8360 * buffer.C: ws changes
8362 * MenuBackend.C (class compare_format): put into anon namespace
8363 (expand): constify label, names, action, action2
8366 * text.C (SingleWidth): constify font
8367 (IsBoundary): constify rtl2
8368 (GetVisibleRow): constify ww
8370 * LaTeX.C (deplog): constify logfile
8372 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8374 (workAreaExpose): constify widthChange, heightChange
8376 * lyxrow.C (par): moved
8379 * lyxrow.h: as inlines here
8381 * lyxfont.h (shape): moved from lyxfont.C
8382 (emph): moved from lyxfont.C
8384 * lyxfont.C (LyXFont): use initialization list for all
8386 (shape): move to lyxfont.h as inline
8387 (emph): move to lyxfont.h as inline
8390 2001-04-04 Juergen Vigna <jug@sad.it>
8392 * vspace.C: had to include stdio.h for use of sscanf
8394 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8397 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8398 independent of xforms.
8400 2001-04-02 Juergen Vigna <jug@sad.it>
8402 * spellchecker.C: fixed namespace placing!
8404 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8406 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8407 the LyXParagraph * is 0.
8409 2001-03-29 Juergen Vigna <jug@sad.it>
8411 * vspace.C: added support for %, c%, p%, l%.
8412 (stringFromUnit): added helper function.
8413 (asLatexString): changed to give right results for the %-values.
8415 * buffer.C: convert the widthp in a width%.
8417 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8419 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8422 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8423 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8425 * lyx_cb.[Ch]: see above.
8427 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8431 * lyx.[Ch]: replaced by figure_form.[Ch].
8435 * lyxfunc.C: changed headers associated with above changes.
8437 2001-03-27 Juergen Vigna <jug@sad.it>
8439 * BufferView_pimpl.C: set the temporary cursor right!
8441 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8443 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8445 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8447 * LString.h: removed "using std::getline"!
8449 * BufferView_pimpl.C (Dispatch): changes due to changes in
8450 InsetInclude::Params.
8452 * buffer.C (tag_name): removed redundant break statements as they were
8453 producing lots of warnings with my compiler.
8455 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8457 * LString.h: add "using std::getline" when using the real <string>.
8459 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8461 * buffer.C: removed bitset usage.
8462 PAR_TAG moved to an anonymous name space.
8463 (tag_name): new funtion, also in the anonymous namespace.
8464 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8465 (makeDocBookFile): clean code. Completed transition from string arrays
8467 (SimpleDocBookOnePar): code clean.
8469 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8471 * tabular.C: add some comments.
8473 2001-03-22 Juergen Vigna <jug@sad.it>
8475 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8476 compatibility read a bit and fixed bug with minipage in different
8479 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8481 * buffer.C (pop_tag): removed.
8482 (push_tag): removed.
8483 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8484 array replaced with vector. Added support for CDATA sections.
8485 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8487 (makeDocBookFile): XML conformant declaration of CDATA section,
8488 fixed bug related to <emphasis> in the first paragraph char.
8489 (sgmlOpenTag): exclude empty tags.
8490 (sgmlCloseTag): ditto.
8492 * buffer.h (pop_tag): removed.
8493 (push_tag): removed.
8495 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8497 * language.h (Languages): added size_type and size().
8499 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8501 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8502 response on compability reading of minipages. One probliem is that
8503 the old usage of minipages was «flertydig»
8505 * several files here and in subdirs: don't use static at file
8506 scope use anon namespaces instead.
8508 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8510 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8511 LaTeX output. This is necessary for Literate document
8514 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8516 * buffer.C: insert hfill when needed.
8518 * tabular.C (l_getline): use string::erase, small whitespace change.
8520 * BufferView_pimpl.C: try the anon namespace.
8523 2001-03-16 Juergen Vigna <jug@sad.it>
8525 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8526 otherwise it won't open options-dialogs.
8528 * buffer.C: honor pextraWidth(p) on converting minipages.
8530 * tabular.C (l_getline): changed the functions to strip trailing \r.
8532 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8534 * BufferView_pimpl.C:
8535 * minibuffer..C: added "using SigC::slot" declaration.
8537 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8539 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8545 * paragraph.C: ditto
8547 * lyxtext.h: NO_PEXTRA
8549 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8551 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8552 * ParameterStruct.h: ditto
8553 * ParagraphParameters.h: ditto
8554 * lyxparagraph.h: ditto
8556 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8558 * buffer.C: add compability for minipage alignment.
8559 (latexParagraphs): remove unwanted pextra check.
8561 * several files: remove CXX_WORKING_NAMESPACES
8563 * buffer.C (pop_tag): tie is in namespace boost
8565 * BufferView.h: noncopyable is in namespace boost
8570 * lastfiles.h: ditto
8571 * bufferlist.h: ditto
8572 * ShareContainer.h: ditto
8574 * LyXAction.h: ditto
8577 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8579 * Merging changes from BRANCH_MVC back into HEAD.
8581 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8583 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8585 * BufferView_pimpl.C: change from intl.C
8589 * Makefile.am: move combox.*
8595 * intl.C: remove dialog (covered by prefs)
8597 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8599 * lyxfunc.C (Dispatch): removed redundant break statement.
8601 2001-03-14 Juergen Vigna <jug@sad.it>
8603 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8605 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8607 * buffer.C: add hack to fix compability reading of minipages.
8609 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8611 * buffer.C (getLists): Cleanup.
8613 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8615 * lyxfont.C (update): don't honor toggleall on font size.
8617 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8621 * Makefile.am: moved to frontends/xforms/
8625 * BufferView_pimpl.C: changes for moved mathpanel
8627 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8629 * gettext.h: fix gettext_init() in --disable-nls
8631 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8633 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8635 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8638 * lyx.h: strip external form
8640 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8642 * BufferView_pimpl.C: add comment, destroySplash()
8644 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8646 * BufferView_pimpl.C:
8650 * lyxfunc.C: use re-worked insetinclude
8652 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8654 * buffer.C: add using std::stringstream.
8656 * lyx_cb.C: readd using std::ios.
8658 * buffer.C: add using std::map.
8660 * BufferView_pimpl.C: add using std::vector.
8662 * ShareContainer.h: add std:: to swap.
8664 * buffer.h: add some typedefs
8665 * buffer.C (getLists): use them
8666 (getLists): renamed from getTocList.
8667 add a counter for the different float types and use it in the
8669 (getLists): use the same counter for the NEW_INSETS and the "non"
8672 * lyx_cb.h: remove unused items, includes, using etc.
8674 * ShareContainer.h: remove some commented code, add more comments
8675 and "documentation".
8677 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8679 * buffer.C (getTocList): make the list also when NEW_INSETS is
8682 * buffer.h: remove TocType
8684 * buffer.C (getTocList): change to return a map<string,
8685 vector<TocItem> >, implement for dynamic number of list.
8687 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8688 * text2.C (PasteSelection): adjust
8689 * CutAndPaste.C (pasteSelection): adjust
8691 * FloatList.C (FloatList): update from the new_insets branch.
8692 * Floating.[Ch]: ditto
8693 * LaTeXFeatures.C: ditto
8695 * lyxlex_pimpl.C: ditto
8697 * paragraph.C (Last): remove when NEW_INSETS is defined.
8699 * other file: changes because of the above.
8701 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8703 * lyxparagraph.h: rename next to next_, previous to previous_,
8704 make them private for NEW_INSETS. Rename Next() to next(),
8705 Previous() to previous().
8707 * other files: changes because of the above.
8709 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8712 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8715 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8717 * main.C (main): pass lyx_localedir to gettext_init().
8719 * gettext.h: remove locale_init and gettext_init macros
8721 * gettext.C (locale_init): new function
8722 (gettext_init): new function
8724 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8727 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8729 * Moved credits to frontends:
8730 * credits.[Ch]: removed
8731 * credits_form.[Ch]: removed
8732 * lyx_gui_misc.C: remove credits stuff
8735 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8737 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8739 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8740 unneeded destructor.
8742 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8743 a standalone pointer again.
8745 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8747 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8753 * ToolbarDefaults.C:
8762 * BufferView_pimpl.C: use new file dialog in GUII
8765 * lyx_cb.C: remove LayoutsCB to Toolbar
8767 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8769 * ShareContainer.h (get): add std:: qualifier
8771 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8773 * ShareContainer.h: define a proper ShareContainer::value_type
8774 type (and use typename to please compaq cxx)
8776 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8778 * lyxparagraph.h: move serveral local vars to
8779 ParameterStruct/ParagraphParameters., use ShareContainer in
8780 FontTable., make vars in FontTable private and add getter and
8783 * paragraph.C: changes because of the above.
8785 * lyxfont.h: remove copy constructor and copy assignment. (the
8786 default ones is ok), move number inside FontBits. move inlines to
8789 * lyxfont.C: add number to initializaton of statics, move several
8790 inlines here. constify several local vars. some whitespace
8791 cleanup. Dont hide outerscope variables.
8793 * Spacing.h: add two new constructors to match the set methods.
8795 * ShareContainer.h: new file, will perhaps be moved to support
8797 * ParameterStruct.h: new file
8799 * ParagraphParameters.h: new file
8801 * ParagraphParameters.C: new file
8803 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8804 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8806 * BufferView_pimpl.C: ParagraphParameter changes.
8807 * buffer.C: Likewise.
8808 * bufferview_funcs.C: Likewise.
8810 * text2.C: Likewise.
8812 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8814 * lyxfind.C (LyXReplace): do not redefine default argument in
8816 (IsStringInText): ditto
8817 (SearchForward): ditto
8818 (SearchBackward): ditto
8820 2001-03-06 Juergen Vigna <jug@sad.it>
8822 * lyxfind.C (IsStringInText): put parentes around expressions.
8824 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8826 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8828 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8830 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8832 * stl_string_fwd.h: add comment
8834 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8837 * tabular.C: remove unused DocBook methods
8843 killed DO_USE_DEFAULT_LANGUAGE
8845 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8847 * lyx_gui.C: do not include language.h.
8849 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8850 arguments in function implementation.
8852 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8854 * BufferView_pimpl.C: add <ctime>
8856 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8858 * BufferView_pimpl.C: add using std::find_if
8860 2001-02-27 José Matos <jamatos@fep.up.pt>
8862 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8865 2001-02-11 José Matos <jamatos@fep.up.pt>
8867 * buffer.C (makeDocBookFile): command styles now have a parameter as
8870 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8872 * layout_forms.[Ch]: removed
8873 * lyx_cb.[Ch]: out character
8874 * lyx_gui.C: out character
8875 * lyx_gui_misc.C: out character
8876 * bufferview_funcs.C: : out character,
8877 added toggleall as parameter in ToggleAndShow
8879 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8881 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8883 * text2.C (SetCurrentFont): Disable number property at boundary.
8885 2001-02-26 Juergen Vigna <jug@sad.it>
8887 * lyxfunc.C (getStatus): added a string argument override function so
8888 that this is correctly called from LyXFunc::Dispatch if it contains a
8889 do_not_use_argument which is used!
8890 (Dispatch): added check for "custom" export and call appropriate func.
8892 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8894 * lyxrc.C: Add language_command_local, language_use_babel and
8895 language_global_options.
8897 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8899 * buffer.C (makeLaTeXFile): Use language_use_babel and
8900 language_global_options.
8902 2001-02-23 Juergen Vigna <jug@sad.it>
8904 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8905 which works with LyXText and putted it inside BufferView. Here now we
8906 only call for that part the BufferView::Dispatch() function.
8908 * BufferView.C (Dispatch): added.
8910 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8911 functions which needs to use a LyXText over from LyXFunc.
8912 (MenuInsertLyXFile): added
8913 (getInsetByCode): added
8914 (moveCursorUpdate): added
8915 (static TEXT): added
8917 2001-02-22 Juergen Vigna <jug@sad.it>
8919 * BufferView_pimpl.C (update): call a status update to see if LyXText
8922 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8924 * vc-backend.C (revert): implement for CVS
8925 (getLog): implement for CVS
8927 2001-02-20 Juergen Vigna <jug@sad.it>
8929 * text2.C (ClearSelection): added BufferView param for inset_owner call
8931 * lyxfunc.C (TEXT): added this function and use it instead of
8932 directly owner->view()-text of getLyXText().
8934 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8936 * src/layout_forms.C: out preamble
8937 * src/layout_forms.h: out preamble
8938 * src/lyx_cb.C: out preamble
8939 * src/lyx_cb.h: out preamble
8940 * src/lyx_gui.C: out preamble
8941 * src/lyx_gui_misc.C: out preamble
8942 * src/lyxfunc.C: connect with guii preamble
8944 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8946 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8948 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8950 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8951 whether to run bibtex.
8953 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8955 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8957 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8959 * Makefile.am (lyx_SOURCES): removed bibforms.h
8963 * text.C (GetVisibleRow): make several local vars const
8965 * tabular.C: small cleanup.
8967 * lyxserver.C (callback): use compare instead of strncmp
8969 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8970 inlines to after class or to paragraph.C
8972 * lyxfont.h: remove friend operator!=
8974 * converter.h: move friend bool operator< to non friend and after
8977 * combox.h: small cleanup
8979 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8980 to inlines after class def.
8982 * buffer.C (pop_tag): use string operations instead of strcmp
8984 * bmtable.c: doxygen, small cleanup
8986 * LaTeX.h: remove friend operator==
8988 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9000 * BufferView_pimpl.C:
9001 * BufferView.[Ch]: remove cruft
9003 2001-02-14 Juergen Vigna <jug@sad.it>
9005 * lyxfunc.C: removed #if 0 unused code
9007 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9009 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9011 * text2.C (SetSelection): added a BufferView * parameter
9013 2001-02-13 Juergen Vigna <jug@sad.it>
9015 * lyxfunc.C (Dispatch): fixed protected blank problem.
9016 * BufferView2.C (protectedBlank): added LyxText * parameter.
9018 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9019 (AppendColumn): same as above for column_info.
9021 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9022 (moveCursorUpdate): use a LyXText param for support of InsetText.
9024 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9025 (tripleClick): ditto
9027 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9029 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9031 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9033 * text2.C (SetSelection): set correct update status if inset_owner
9036 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9038 * tabular.C: remove some commented code.
9040 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9042 * BufferView_pimpl.C: call hideSplash()
9044 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9047 * bibforms.h: remove
9050 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9051 add LFUN_CHILD_CREATE
9053 * counters.h: fix tiny typo
9058 * lyx.C: move splash to frontends/xforms/
9060 * lyx_gui_misc.C: move Include and Bibform to frontends
9062 * lyxvc.h: clarify comment
9064 * vspace.C: tiny housekeeping
9066 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9068 * text.C (PrepareToPrint): RTL Fix.
9070 * paragraph.C (GetUChar): New method.
9071 (String): Use GetUChar.
9073 * buffer.C (asciiParagraph): Use GetUChar.
9075 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9077 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9079 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9082 * buffer.C: rename to getLogName(), handle
9083 build log / latex log nicely
9085 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9088 * MenuBackend.h: remove support for reference menuitem type.
9090 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9092 * BufferView_pimpl.C: housekeeping
9093 * BufferView_pimpl.h:
9098 * minibuffer.h: move Timeout GUI-I
9100 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9102 * lyxrc.C (read): Update converters data-structures.
9104 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9106 * LaTeX.h (operator!=): add operator != for Aux_Info
9108 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9110 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9112 * LaTeXLog.C: deleted, useful code moved to Buffer
9115 * buffer.C: new function getLatexLogName()
9121 * lyxfunc.C: use frontends for LaTeX and VC logs
9123 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9125 * LaTeX.h: yet another std:: that Allan forgot.
9127 * Variables.C (set): renamed from isset(), because this clashes
9128 with some HP-UX macros (grr).
9130 2001-02-06 Allan Rae <rae@lyx.org>
9132 * LaTeX.h: Another bug fix. Missing std:: this time.
9134 2001-02-04 Allan Rae <rae@lyx.org>
9136 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9137 floats problem. I've left it commented out because it's not quite
9138 correct. It should also test that the current object is a table or
9139 figure inset. But I haven't gotten around to figuring out how to do
9140 that. I *think* it'll be something like: "table" == inset.type()
9142 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9145 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9147 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9148 all the citation/databases/styles in the auxilary file.
9149 (run): Rerun latex if there was a babel language error.
9151 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9153 * text.C (Backspace): Preserve the font when changing newline char
9155 (BreakParagraph): If the cursor is before a space, delete the space.
9157 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9159 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9161 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9162 new argument (code).
9163 (ChangeCitationsIfUnique): New method.
9165 * paragraph.C (GetPositionOfInset): Handle bibkey.
9167 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9169 * BufferView_pimpl.h: change type of Position::par_pos to
9170 LyXParagraph::size_type.
9172 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9174 * BufferView_pimpl.C (savePosition, restorePosition): Write
9175 messages to minibuffer.
9177 2001-01-28 José Matos <jamatos@fep.up.pt>
9179 * buffer.C (makeDocBookFile): adds support for document language.
9180 A silly restriction on the name of LatexCommand types where removed.
9181 Added support for CDATA sections, allows to chars unescaped, used
9182 among others in code, to avoid escape < and >.
9184 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9186 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9187 saved positions instrad of a stack. Furthermore, a position is
9188 stored using paragraph id/paragraph position.
9190 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9191 Remove LFUN_REF_BACK.
9193 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9195 * converter.C (dvipdfm_options): New method.
9197 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9199 * vspace.C (isValidLength): Fix for empty input string.
9201 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9203 * LyXAction.C (init): change description of LFUN_FIGURE to
9206 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9208 * LaTeX.C: add using directive
9210 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9212 * MenuBackend.C (expand): Fix the sorting of the formats.
9214 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9216 * lyx_main.C: tiny error message fix
9218 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9220 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9221 calling fl_initialize(). This fixes the problem with ',' as
9222 decimal separator in text files.
9224 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9226 * trans.C (process): Fix the keymap bug.
9228 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9230 * LaTeX.C (scanAuxFiles): New method. Provides support for
9231 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9232 (scanLogFile) Scan for "run BibTeX" messages.
9234 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9235 OT1 font encoding. Also, load the aecompl package if the ae
9238 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9240 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9242 * texrow.C (increasePos): turn two error messages into debug
9245 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9247 * LaTeX.C (scanAux): Handle the \@input macro.
9248 (runBibTeX): Use scanAux().
9250 * language.C (latex_options_): New field.
9252 * LaTeXFeatures.C (getMacros): Add language macros.
9254 * buffer.C (makeLaTeXFile): Small fix.
9256 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9258 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9260 * text2.C: add a using directive.
9262 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9267 * lyxfunc.C: kill LyXBell.
9269 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9271 * text.C (IsBoundary): Remove the error message
9273 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9275 * lyxrc.C (setDefaults): Correct initialization value for
9278 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9280 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9283 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9286 * src/LyXAction.C: Added reference-next.
9288 * text.C (InsertChar): Use contains instead of strchr.
9290 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9292 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9294 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9295 alignment commands (when needed).
9297 * text.C (InsertChar): Add ':' to number separator chars.