1 2003-03-13 John Levon <levon@movementarian.org>
3 * text3.C: fix appendix redrawing
5 2003-03-13 John Levon <levon@movementarian.org>
7 * text.C (setHeightOfRow):
9 * rowpainter.C: make appendix mark have the text
10 "Appendix" so the user knows what it is
13 * LColor.C: s/appendixline/appendix/ from above
15 2003-03-13 John Levon <levon@movementarian.org>
17 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
19 * text.C: fix a getChar(pos) bug properly
21 2003-03-13 Angus Leeming <leeming@lyx.org>
24 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
25 Probably only temporary. Let's see how things pan out.
27 * BufferView.C (unlockInset):
28 * BufferView_pimpl.C (fitCursor):
29 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
31 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
32 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
34 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
35 new functions that convert ParagraphParameters to and from a string.
37 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
38 BufferView::Pimpl's dispatch.
39 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
41 2003-03-13 André Pönitz <poenitz@gmx.net>
45 * factory.C: make it aware of InsetEnv
47 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
49 * text2.C (setCursor): never ask for one past last
50 (setCursor): add some debugging messages.
52 * text.C (singleWidth): never ask for one past last
56 (rowBreakPoint): ditto
57 (setHeightOfRow): ditto
58 (prepareToPrint): ditto
60 * rowpainter.C (paintBackground): never ask for one past last
61 (paintText): never ask for one past last
63 * paragraph_pimpl.C (getChar): make the assert stricter, never
64 allow the one past last pos to be taken
66 * paragraph.C (getChar): ws changes only
68 * lyxrow.C (nextRowIsAllInset): never ask for one past last
69 (numberOfSeparators): ditto
70 (numberOfHfills): ditto
72 2003-03-12 John Levon <levon@movementarian.org>
78 * paragraph_funcs.C: fix per-buffer authorlists
80 2003-03-12 John Levon <levon@movementarian.org>
82 * text.C: fix newline in right address
84 2003-03-12 Angus Leeming <leeming@lyx.org>
86 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
87 duplicate those in LyXFunc::dispatch.
92 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
93 Add LFUN_FONTFREE_UPDATE.
95 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
96 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
98 * bufferview_func.[Ch]: several new functions to facilliate
99 transfer of data to and from the character dialog.
101 2003-03-12 John Levon <levon@movementarian.org>
111 * text3.C: remove META_NEWLINE in favour of an inset
114 * rowpainter.C: remove paintNewline (done by inset)
116 2003-03-12 John Levon <levon@movementarian.org>
118 * paragraph_pimpl.C: complain about bad getChar()s
121 2003-03-12 John Levon <levon@movementarian.org>
124 * buffer.C: move paragraph read into a separate function,
125 a little renaming to reflect that.
128 * bufferparams.C: remove the author_ids map, not necessary now
131 * factory.C: moved Buffer::readInset to here
134 * paragraph_funcs.C: readParagraph free function moved from
137 * tabular.C: name change
139 2003-03-12 John Levon <levon@movementarian.org>
142 * ParagraphParameters.C: move par params input to
145 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
146 behave like a normal read from the stream wrt reading
149 2003-03-12 John Levon <levon@movementarian.org>
152 * ParagraphParameters.h:
153 * ParagraphParameters.C: move output code to a
156 2003-03-12 John Levon <levon@movementarian.org>
158 * BufferView.C (insertLyXFile):
161 * tabular.C: use a parlist iterator for creating the
164 2003-03-12 John Levon <levon@movementarian.org>
166 * buffer.C: make current_change static local not
169 2003-03-12 John Levon <levon@movementarian.org>
171 * buffer.C: fix insertStringAsLines for change tracking
173 2003-03-12 John Levon <levon@movementarian.org>
180 * bufferparams.C: move author list into params. Rename some
181 functions. Move the header reading into a separate token
182 loop. Move the header token reading into BufferParams.
184 2003-03-12 John Levon <levon@movementarian.org>
186 * changes.C: put debug inside lyxerr.debugging() checks
188 2003-03-11 André Pönitz <poenitz@gmx.net>
190 * factory.C: make it aware of InsetHFill
192 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
194 * buffer.C (latexParagraphs): move function from here...
195 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
198 2003-03-10 Angus Leeming <leeming@lyx.org>
200 * LyXAction.C (init): fix bug in poplating array with multiple entries
201 with the same LFUN (spotted by JMarc).
203 2003-03-10 John Levon <levon@movementarian.org>
206 * text2.C: move getColumnNearX() near its
209 2003-03-10 John Levon <levon@movementarian.org>
211 * text.C: fix break before a minipage
213 2003-03-10 John Levon <levon@movementarian.org>
215 * text.C: fix the last commit
217 2003-03-09 John Levon <levon@movementarian.org>
221 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
222 bug 365 (don't break before insets unless needed). Don't
223 return a value > last under any circumstances.
225 2003-03-09 Angus Leeming <leeming@lyx.org>
227 * BufferView_pimpl.C (trackChanges, dispatch): call
228 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
230 2003-03-09 Angus Leeming <leeming@lyx.org>
232 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
233 than Dialogs::showAboutlyx().
235 2003-03-09 Angus Leeming <leeming@lyx.org>
237 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
238 than Dialogs::showTabularCreate().
240 2003-03-09 John Levon <levon@movementarian.org>
244 * text2.C: 3rd arg to nextBreakPoint was always the same.
247 2003-03-08 John Levon <levon@movementarian.org>
254 * text2.C: Remove the "main" bit from the "main body"
257 2003-03-08 John Levon <levon@movementarian.org>
259 * text.C (leftMargin): The left margin of an empty
260 manual label paragraph should not include the label width
263 * text.C (prepareToPrint): don't attempt to measure hfills
264 for empty manual label paragraphs - the answer should be 0
266 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
268 * CutAndPaste.C: remove commented code and reindent.
270 2003-03-08 John Levon <levon@movementarian.org>
273 * lyxfunc.C: move reloadBuffer()
276 * BufferView.C: to here
278 * lyxvc.C: add comment
281 * vc-backend.C: call bv->reload() to avoid
282 getStatus() check on MENURELOAD
284 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
286 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
287 to an old format .dep file.
289 2003-03-07 Angus Leeming <leeming@lyx.org>
291 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
292 when the LFUN_MOUSE_RELEASE should have been handled by
293 inset->localDispatch.
295 2003-03-07 Angus Leeming <leeming@lyx.org>
297 * BufferView_pimpl.C (dispatch):
298 * LyXAction.C (init):
299 * ToolbarDefaults.C (init):
301 * lyxfunc.C (getStatus):
302 remove LFUN_INSET_GRAPHICS.
304 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
306 2003-03-07 Angus Leeming <leeming@lyx.org>
309 * LyXAction.C (init):
310 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
312 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
315 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
317 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
318 localDispatch method LFUN_INSET_DIALOG_UPDATE.
320 2003-03-07 Angus Leeming <leeming@lyx.org>
322 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
325 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
327 * ParagraphList.C (front): new function
330 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
332 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
333 and top_row_offset_. removed var first_y.
335 * text2.C (LyXText, removeRow):
337 * BufferView_pimpl.C:
338 use these methods instead of using first_y
340 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
342 * text2.C (pasteSelection): adjust for checkPastePossible
344 * CutAndPaste.C: remove Paragraph * buf and replace with
345 ParagraphList paragraphs.
346 (DeleteBuffer): delete
347 (cutSelection): change the tc type to textclass_type
348 (copySelection): change the tc type to textclass_type
349 (copySelection): adjust for ParagraphList
350 (pasteSelection): change the tc type to textclass_type
351 (pasteSelection): adjust for Paragraphlist
352 (nrOfParagraphs): simplify for ParagraphList
353 (checkPastePossible): simplify for ParagraphList
354 (checkPastePossible): remove unused arg
356 * ParagraphList.C (insert): handle the case where there are no
359 * CutAndPaste.h: make CutAndPaste a namespace.
361 * text3.C (dispatch): adjust
363 * text.C (breakParagraph): add a ParagraphList as arg
365 * paragraph_funcs.C (breakParagraph): change to take a
366 BufferParams and a ParagraphList as args.
367 (breakParagraphConservative): ditto
368 (mergeParagraph): ditto
369 (TeXDeeper): add a ParagraphList arg
370 (TeXEnvironment): ditto
373 * buffer.C (readLyXformat2): adjust
374 (insertStringAsLines): adjust
375 (latexParagraphs): adjust
377 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
378 (cutSelection): adjust
379 (pasteSelection): adjust
381 * BufferView_pimpl.C (insertInset): adjust
383 2003-03-05 Angus Leeming <leeming@lyx.org>
386 * LyXAction.C (init):
387 * BufferView_pimpl.C (dispatch):
388 * lyxfunc.C (getStatus):
389 remove LFUN_CHILD_INSERT.
391 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
393 2003-03-05 Angus Leeming <leeming@lyx.org>
396 * LyXAction.C (init):
397 * src/factory.C (createInset):
398 * lyxfunc.C (getStatus):
399 * text3.C (dispatch):
400 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
402 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
404 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
406 * ParagraphList.C (insert): handle insert right before end()
407 (erase): fix cases where it can be first or last paragraph.
409 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
411 * paragraph_funcs.C (TeXEnvironment): remove all usage of
412 Paragraph::next and Paragraph::previous
415 * text.C (breakParagraph): adjust
417 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
418 BufferParams& as arg.
419 (breakParagraph): use ParagraphList::insert
420 (breakParagraphConservative): take a Buffer* instead of a
421 BufferParams& as arg.
422 (breakParagraphConservative): use ParagraphList::insert.
424 * buffer.C (insertStringAsLines): un-const it
425 (insertStringAsLines): adjust
427 * ParagraphList.C (insert): new function
429 * CutAndPaste.C (pasteSelection): adjust
431 * text.C (backspace): adjust
433 * tabular.C (SetMultiColumn): adjust
435 * CutAndPaste.C (cutSelection): adjust
436 (pasteSelection): adjust
438 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
439 Buffer const * as arg
441 * ParagraphList.C (erase): new function
442 * paragraph_funcs.C (mergeParagraph): use it
443 (mergeParagraph): make it take a Buffer* instead of a
446 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
448 (breakParagraphConservative): ditto
450 * paragraph.h: remove the breakParagraph friend
452 * paragraph.C (eraseIntern): new function
453 (setChange): new function
455 * paragraph_funcs.C (mergeParagraph): make it take a
456 ParagraphList::iterator instead of a Paragraph *, adjust
459 * paragraph.h: move an #endif so that the change tracking stuff
460 also works in the NO_NEXT case.
462 2003-03-04 Angus Leeming <leeming@lyx.org>
465 * LyXAction.C: new LFUN_INSET_MODIFY.
467 * BufferView_pimpl.C (dispatch): if an inset is found to be open
468 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
470 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * several files: ws changes only
474 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
475 (TeXEnvironment): ditto
478 * buffer.C (makeLaTeXFile): adjust
479 (latexParagraphs): make it take ParagraphList::iterator as args
481 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
483 * buffer.C (latexParagraphs): adjust
485 * paragraph.C (TeXOnePar): move function...
486 (optArgInset): move function...
487 (TeXEnvironment): move function...
488 * paragraph_pimpl.C (TeXDeeper): move function...
489 * paragraph_funcs.C: ...here
491 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
493 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * buffer.C (readInset): remove compability code for old Figure and
498 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
500 * buffer.C: ws changes
503 * BufferView_pimpl.C: ditto
506 * bufferlist.h: ditto
510 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
512 * converter.[Ch]: split into itself +
515 * Makefile.am: += graph.[Ch] + format.[Ch]
522 * lyxrc.C: added #include "format.h"
524 2003-02-27 Angus Leeming <leeming@lyx.org>
526 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
529 * factory.C (createInset): add "label" to the factory.
531 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
532 string and do no more.
534 2003-02-27 Angus Leeming <leeming@lyx.org>
537 * LyXAction.C (init):
538 * factory.C (createInset):
539 * BufferView_pimpl.C (dispatch):
540 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
542 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
544 * lyxfunc.C (dispatch):
545 * text3.C (dispatch): pass name to params2string.
547 2003-02-26 Angus Leeming <leeming@lyx.org>
549 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
551 Rearrange the ~includes. Strip out the unnecessary ones.
553 * factory.C (createInset): reformat.
554 create new insets for the various LFUN_XYZ_APPLY lfuns.
556 2003-02-26 John Levon <levon@movementarian.org>
559 * lyxrow.C: add isParStart,isParEnd helpers
561 * paragraph.h: make isInserted/DeletedText take refs
564 * paragraph_funcs.C: remove #if 0'd code
569 * text.C: use lyxrow helpers above.
570 Move draw and paint routines to RowPainter.
571 Make several methods use refs not pointers.
572 Make backgroundColor() const.
573 Add markChangeInDraw(), isInInset().
574 Merge changeRegionCase into changeCase.
575 Make workWidth() shouldn't-happen code into an Assert.
578 * rowpainter.C: new class for painting a row.
581 * vspace.C: make inPixels take a ref
583 2003-02-26 Angus Leeming <leeming@lyx.org>
585 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
588 2003-02-25 John Levon <levon@movementarian.org>
590 * ispell.C: give the forked command a more accurate name
592 2003-02-22 John Levon <levon@movementarian.org>
595 * toc.C: make TocItem store an id not a Paragraph *
598 2003-02-21 Angus Leeming <leeming@lyx.org>
600 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
601 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
602 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
603 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
604 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
605 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
607 * BufferView_pimpl.C (dispatch):
608 * LyXAction.C (init):
609 * factory.C (createInset):
610 * lyxfunc.C (getStatus, dispatch):
611 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
613 2003-02-21 Angus Leeming <leeming@lyx.org>
615 * BufferView_pimpl.C (MenuInsertLyXFile):
616 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
617 * lyxfunc.C (menuNew, open, doImport):
618 no longer pass a LyXView & to fileDlg.
620 2003-02-21 Angus Leeming <leeming@lyx.org>
622 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
623 * LyXAction.C: change, BIBKEY to BIBITEM.
624 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
625 Change InsetBibKey to InsetBibitem.
626 Change BIBKEY_CODE to BIBITEM_CODE.
627 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
628 * factory.C: replace insetbib.h with insetbibitem.h.
629 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
630 * paragraph.C: replace insetbib.h with insetbibitem.h.
631 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
632 Change bibkey() to bibitem().
633 * text.C: remove insetbib.h.
634 * text2.C: replace insetbib.h with insetbibitem.h.
635 change bibkey() to bibitem().
636 * text3.C: remove insetbib.h.
637 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
639 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
641 * lyxrc.C (output): enclose user email in quotes (in case there are
644 2003-02-18 John Levon <levon@movementarian.org>
646 * buffer.h: add std::
648 2003-02-17 John Levon <levon@movementarian.org>
654 * pspell.C: reworking. Especially in ispell, a large
655 number of clean ups and bug fixes.
657 * lyxfunc.C: fix revert to behave sensibly
659 2003-02-17 André Pönitz <poenitz@gmx.net>
662 * commandtags.h: new LFUN_INSERT_BIBKEY
672 * paragraph_func.C: remove special bibkey handling
674 2003-02-17 John Levon <levon@movementarian.org>
676 * text.C (Delete): fix case where delete at the end of
677 the very first paragraph would not merge the pars
679 2003-02-17 John Levon <levon@movementarian.org>
681 * lyxrow.C: fix lastPrintablePos()
683 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
685 * bufferparams.C (writeLaTeX): add a std:here
687 * buffer.C: and remove a using directive there
689 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
691 * buffer.C (makeLaTeXFile): move the code that generates the
694 * bufferparams.C (writeLaTeX): ... in this new method
696 * LaTeXFeatures.C (getEncodingSet): make const
697 (getLanguages): make const
699 * MenuBackend.C (binding): returns the binding associated to this
701 (add): sets the status of each item by calling getStatus. Adds
703 (read): add support for OptSubMenu
704 (expand): remove extra separator at the end of expanded menu
706 2003-02-15 John Levon <levon@movementarian.org>
709 * BufferView_pimpl.C:
711 * bufferlist.C: remove pointless BufferStorage bloat. Remove
712 inset code that had no actual effect. Remove unneeded status
715 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
717 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
720 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
722 * text.C (drawLengthMarker): also draw an arrow marker for
723 symbolic lengths (medskip...)
725 2003-02-14 John Levon <levon@movementarian.org>
728 * tabular.C: better method names
730 2003-02-14 John Levon <levon@movementarian.org>
732 * BufferView_pimpl.C:
737 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
738 it's a more accurate name. Remove some pointless uses.
740 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
742 * text2.C (LyXText): change order of initilizers to shut off
745 2003-02-14 John Levon <levon@movementarian.org>
747 * buffer.C: use ParIterator for getParFromID()
752 * paragraph_pimpl.C: remove unused getParFromID()
754 2003-02-14 John Levon <levon@movementarian.org>
756 * buffer.C: remove some very old #if 0'd parse code
758 2003-02-13 John Levon <levon@movementarian.org>
762 * text2.C: move hfillExpansion(), numberOfSeparators(),
763 rowLast(), rowLastPrintable(), numberofHfills(),
764 numberOfLabelHfills() ...
767 * lyxrow.C: ... to member functions here.
772 * text.C: remove LyXText::beginningOfMainBody(), and call
773 p->beginningOfMainBody() directly. Move the check for
774 LABEL_MANUAL into the latter.
781 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
787 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
788 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
790 2003-02-13 John Levon <levon@movementarian.org>
792 * CutAndPaste.C: remove debug
794 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
796 * paragraph.C (asString): remove two unused variables
798 * lyxtextclass.C (readTitleType):
800 (LyXTextClass): handle new members titletype_ and titlename_
802 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
804 2003-02-09 John Levon <levon@movementarian.org>
807 * buffer.C: replace hand-coded list with a map for the dep clean
809 2003-02-08 John Levon <levon@movementarian.org>
811 * LaTeX.C: consolidate code into showRunMessage() helper
813 2003-02-08 John Levon <levon@movementarian.org>
818 * BufferView.C: change setSelectionOverString() to setSelectionRange()
819 and pass the size in explicitly
821 * BufferView_pimpl.h:
822 * BufferView_pimpl.C:
824 * BufferView.C: add getCurrentChange()
826 * BufferView_pimpl.h:
827 * BufferView_pimpl.C: handle change lfuns
829 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
830 for changes. Mark pasted paragraphs as new.
834 * DepTable.C: abstract time_t as lyx::time_type
837 * LColor.C: add colours for new text, deleted text, changebars
839 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
840 package use "usenames" option.
844 * LyXAction.C: add change lfuns
848 * author.C: author handling
851 * buffer.C: add a per-buffer author list, with first entry as
852 current author. Handle new .lyx tokens for change tracking. Output
853 author list to .lyx file. Output dvipost stuff to .tex preamble.
854 Bump lyx format to 222.
857 * bufferlist.C: add setCurrentAuthor() to reset current author details
861 * bufferparams.C: add param for tracking
863 * bufferview_funcs.C: output change info in minibuffer
867 * changes.C: add change-tracking structure
870 * debug.C: add CHANGES debug flag
873 * lyxfind.C: add code for finding the next change piece
876 * lyxrc.C: add user_name and user_email
879 * lyxrow.C: add a metric for the top of the text line
882 * text.C: implement accept/rejectChange()
885 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
886 Strike through deleted text.
891 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
892 to the insert functions. Rework erase to mark text as deleted, adding
893 an eraseIntern() and a range-based erase(). Implement
894 per-paragraph change lookup and accept/reject.
896 * paragraph_funcs.C: Fixup paste for change tracking.
898 * tabular.C: mark added row/columns as new.
900 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
901 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
903 * text2.C: leave cursor at end of selection after a cut.
905 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
907 * text.C (getLengthMarkerHeight):
908 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
909 visible on screen too.
911 2003-02-07 John Levon <levon@movementarian.org>
913 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
915 2003-02-05 Angus Leeming <leeming@lyx.org>
917 * lyxserver.C (read_ready): revert my patch of 11 September last year
918 as it sends PC cpu through the roof. Presumably this means that
919 the lyxserver will no longer run on an Alpha...
921 2003-01-30 Angus Leeming <leeming@lyx.org>
923 * factory.C (createInset): create an InsetCommandParam of type "index"
924 and use it to 'do the right thing'.
926 * text2.C (getStringToIndex): ensure that cursor position is always
927 reset to the reset_cursor position.
929 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
931 * lyxfunc.C (getStatus): "buffer-export custom" should never be
934 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
938 * lyxfunc.C: Output messages with identical spelling, punctuation,
941 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
943 * MenuBackend.C (expandFormats): List only viewable export formats
946 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
949 * lyxfunc.C (getStatus): Make sure that formats other than
950 "fax" can also be disabled
952 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
954 * text3.C (dispatch): put the lfuns that insert insets in 3
955 groups, and call doInsertInset with appropriate arguments.
956 (doInsertInset): new function, that creates an inset and inserts
957 it according to some boolean parameters.
959 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
961 * buffer.C (readFile): remember to pass on 'par' when calling
962 readFile recursively.
964 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
966 * MenuBackend.C (expandFormats): add "..." to import formats.
968 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
970 * paragraph.C (asString): Remove XForms RTL hacks.
972 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
975 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
977 * Makefile.am (LIBS): delete var
978 (lyx_LDADD): add @LIBS@ here instead.
980 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
982 * Clarify the meaning of "wheel mouse jump"
984 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
986 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
989 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
991 * importer.C (Loaders): do not preallocate 3 elements in the
992 vector, since one ends up with 6 elements otherwise
994 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
996 * DepTable.C (write): write the file name as last element of the
997 .dep file (because it may contain spaces)
998 (read): read info in the right order
1000 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1002 * paragraph_pimpl.C (simpleTeXBlanks):
1003 (simpleTeXSpecialChars):
1004 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1006 * tabular.C (latex): add some missing case statements. Reindent.
1008 * MenuBackend.C (expandToc): remove unused variable.
1010 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1019 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1022 2003-01-05 John Levon <levon@movementarian.org>
1025 * BufferView.C: add getEncoding()
1028 * kbsequence.C: do not store last keypress
1031 * lyxfunc.C: store last keypress here instead. Pass encoding
1034 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1036 * lyx_main.C (init): remove annoying error message when following
1037 symbolic links (bug #780)
1039 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1041 * text.C (insertChar):
1042 * lyxrc.C (getDescription): remove extra spaces
1044 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1046 * lyxrc.C (getDescription): remove extra spaces
1048 2002-12-20 John Levon <levon@movementarian.org>
1050 * text3.C: hack fix for page up/down across tall rows
1052 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1054 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1057 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1059 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1060 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1061 thesaurus is not compiled in
1063 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1065 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1067 2002-12-16 Angus Leeming <leeming@lyx.org>
1070 * lyx_main.C (init): remove override_x_deadkeys stuff.
1072 2002-12-12 John Levon <levon@movementarian.org>
1074 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1075 insert. Only remove shift modifier under strict
1078 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * MenuBackend.C (expandToc): fix crash.
1082 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * MenuBackend.C (expandToc): gettext on float names.
1086 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1088 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1089 implement bool empty() [bug 490]
1091 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1095 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1097 * several files: ws changes
1099 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1101 * text2.C (setCounter): clean up a bit, use boost.format.
1102 (updateCounters): initialize par upon declaration.
1104 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1105 if the layout exists. We do not just store the layout any more.
1106 (SwitchLayoutsBetweenClasses): use boost.format
1108 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1110 * converter.C (convert): if from and to files are the same, use a
1111 temporary files as intermediary
1113 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1116 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1118 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1120 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1122 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * tabular.C (asciiPrintCell): use string(size, char) instead of
1127 * sgml.C (openTag): fix order of arguments to string constructor
1130 * lyxfunc.C (dispatch): use boost.format
1132 * lots of files: change "c" -> 'c'
1134 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1136 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1138 2002-11-25 Angus Leeming <leeming@lyx.org>
1140 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1142 * lyx_main.C (init): compile fix.
1144 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1146 * lyx_cb.C (start): boost.formatify
1147 do not include <iostream>
1149 * lengthcommon.C: ws only
1151 * boost-inst.C,BoostFormat.h: add more explict instantations
1153 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * lots of files: handle USE_BOOST_FORMAT
1157 2002-11-21 John Levon <levon@movementarian.org>
1159 * pspell.C: fix compile
1161 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1163 * lyxfunc.C (dispatch): use boost::format
1167 * lyxfont.C (stateText): use boost::format
1169 * lyx_main.C (LyX): use boost::format
1171 (queryUserLyXDir): ditto
1174 (typedef boost::function): use the recommened syntax.
1176 * importer.C (Import): use boost::format
1178 * debug.C (showLevel): use boost::format
1180 * converter.C (view): use boost::format
1185 * bufferview_funcs.C (currentState): use boost::format
1187 * bufferlist.C (emergencyWrite): use boost::format
1189 * buffer.C (readLyXformat2): use boost::format
1190 (parseSingleLyXformat2Token): ditto
1192 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1194 * LaTeX.C (run): use boost::format
1196 * Chktex.C (scanLogFile): use boost::format
1198 * BufferView_pimpl.C (savePosition): use boost::format
1199 (restorePosition): ditto
1200 (MenuInsertLyXFile): ditto
1202 * BoostFormat.h: help file for explicit instation.
1204 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1206 * tabular.C (latex): Support for block alignment in fixed width
1209 2002-11-17 John Levon <levon@movementarian.org>
1211 * BufferView_pimpl.C:
1213 * lyxfunc.C: split filedialog into open/save
1215 2002-11-08 Juergen Vigna <jug@sad.it>
1217 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1218 by my last patch (hopefully).
1220 2002-11-08 John Levon <levon@movementarian.org>
1229 * toc.C: ParConstIterator, and use it (from Lars)
1231 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1233 * lyxtextclass.[Ch]: revise and add doxygen comments
1235 2002-11-07 John Levon <levon@movementarian.org>
1237 * text.C: fix progress value for spellchecker
1239 * toc.C: fix navigate menu for insetwrap inside minipage
1241 * paragraph_funcs.C: added FIXME for suspect code
1243 2002-11-07 John Levon <levon@movementarian.org>
1245 * BufferView_pimpl.C: fix redrawing of insets
1248 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1250 * text2.C (updateCounters): fix bug 668
1252 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1254 * text3.C (dispatch): Do not make the buffer dirty when moving the
1257 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1259 * vc-backend.C: STRCONV
1262 * text2.C (setCounter): STRCONV
1264 * paragraph.C (asString): STRCONV
1266 * lyxlength.C (asString): STRCONV
1267 (asLatexString): ditto
1269 * lyxgluelength.C (asString): STRCONV
1270 (asLatexString): ditto
1272 * lyxfunc.C (dispatch): STRCONV
1275 * lyxfont.C (stateText): STRCONV
1277 * importer.C (Import): STRCONV
1279 * counters.C (labelItem): STRCONV
1280 (numberLabel): ditto
1281 (numberLabel): remove unused ostringstream o
1286 * bufferview_funcs.C (currentState): STRCONV
1288 * buffer.C (readFile): STRCONV
1289 (asciiParagraph): ditto
1290 (makeLaTeXFile): ditto
1292 * Spacing.C (writeEnvirBegin): STRCONV
1294 * LaTeXFeatures.C (getLanguages): STRCONV
1295 (getPackages): ditto
1297 (getBabelOptions): ditto
1298 (getTClassPreamble): ditto
1299 (getLyXSGMLEntities): ditto
1300 (getIncludedFiles): ditto
1304 (scanAuxFile): ditto
1307 * LString.h: add the STRCONV macros
1309 * BufferView_pimpl.C (savePosition): STRCONV
1310 (restorePosition): ditto
1311 (MenuInsertLyXFile): ditto
1313 * vc-backend.C (scanMaster): change from submatch[...] to
1316 * funcrequest.C: include config.h
1318 * factory.C: include config.h
1320 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1322 * box.C: include config.h
1324 * LaTeX.C (scanAuxFile): change from submatch[...] to
1328 2002-10-25 Angus Leeming <leeming@lyx.org>
1330 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1332 * ispell.[Ch] (setError): new method.
1333 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1334 Use setError() insetead of goto END.
1336 * lyx_cb.C (AutoSave): move out child process into new class
1339 2002-10-30 John Levon <levon@movementarian.org>
1341 * text3.C: make start appendix undoable
1343 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1345 * lyxlength.C (inPixels): Fix returned value.
1347 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1350 2002-10-24 Angus Leeming <leeming@lyx.org>
1352 * lyxgluelength.h: no need to forward declare BufferParams
1353 or BufferView, so don't.
1355 2002-10-21 John Levon <levon@movementarian.org>
1357 * BufferView.C: menuUndo ->undo, redo
1359 * BufferView.h: document, remove dead, make some methods private
1361 * paragraph_funcs.h:
1362 * paragraph_funcs.C:
1363 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1368 * sgml.C: move sgml open/close tag into sgml.C
1370 * bufferview_funcs.h: unused prototype
1373 * lyxfunc.C: remove unused
1376 * text.C: remove unused
1378 2002-10-21 John Levon <levon@movementarian.org>
1382 * BufferView_pimpl.h:
1383 * BufferView_pimpl.C: fix mouse wheel handling based on
1384 patch from Darren Freeman
1386 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1388 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1390 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1392 * lyxlength.C (inPixels): Fix hanfling of negative length.
1393 Fix LyXLength::MU case.
1395 2002-10-16 John Levon <levon@movementarian.org>
1397 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1399 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1401 * converter.C (view): add support for $$i (file name) and $$p
1402 (file path) for the viewer command. If $$i is not specified, then
1403 it is appended to the command (for compatibility with old syntax)
1405 2002-10-14 Juergen Vigna <jug@sad.it>
1407 * undo_funcs.C (textHandleUndo): alter the order in which the
1408 new undopar is added to the LyXText, as we have to set first
1409 the right prev/next and then add it as otherwise the rebuild of
1410 LyXText is not correct. Also reset the cursor to the right paragraph,
1411 with this IMO we could remove the hack in "redoParagraphs()".
1413 2002-10-09 Angus Leeming <leeming@lyx.org>
1415 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1416 to turn off an optimisation if a new inset is to be inserted.
1418 2002-10-11 André Pönitz <poenitz@gmx.net>
1420 * lyxtext.h: make some functions public to allow access
1421 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1423 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1425 * text3.C (dispatch): when changing layout, avoid an infinite loop
1428 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1430 * lyxrc.C (read): treat a viewer or converter command of "none" as
1433 * MenuBackend.C (expandFormats): for an update, also allow the
1434 formats that are not viewable
1436 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1437 script if it is newer than the lyxrc.defaults in user directory
1439 2002-10-07 André Pönitz <poenitz@gmx.net>
1441 * text.C: Vitaly Lipatov's small i18n fix
1443 2002-09-25 Angus Leeming <leeming@lyx.org>
1445 * ispell.h: doxygen fix.
1447 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1449 * buffer.h (readFile): Add a new argument to the method, to allow
1450 reading of old-format templates.
1452 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1454 * toc.C (getTocList): Get TOC from InsetWrap.
1456 2002-09-16 John Levon <levon@movementarian.org>
1458 * lyxfunc.C: check tabular for cut/copy too
1460 2002-09-12 John Levon <levon@movementarian.org>
1465 * factory.C: add header
1467 * paragraph_funcs.h:
1468 * paragraph_funcs.C: cleanup
1470 2002-09-11 John Levon <levon@movementarian.org>
1472 * PrinterParams.h: odd/even default to true
1474 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1476 * PrinterParams.h: update printer parameters for new xforms dialog
1478 2002-09-11 Angus Leeming <leeming@lyx.org>
1480 * lyxserver.C (read_ready): re-write to make it more transparent
1481 and to make it work in coherent fashion under Tru64 Unix.
1483 2002-09-11 André Pönitz <poenitz@gmx.net>
1487 * text3.C: implement LFUN_WORDSEL
1489 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1491 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1492 make floatlist_ a boost::shared_ptr<FloatList>
1494 * lyxtextclass.C: include FloatList.h
1495 (LyXTextClass): initialize floatlist_
1496 (TextClassTags): add TC_NOFLOAT
1497 (Read): match "nofloat" to TC_NOFLOAT and use it.
1498 (readFloat): modify call to floatlist_
1502 * FloatList.[Ch] (FloatList): remove commented out float
1504 (erase): new function
1506 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1508 * MenuBackend.C (expandToc): fix crash when there is no document
1511 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1513 * many files: Add insetwrap.
1515 2002-09-09 John Levon <levon@movementarian.org>
1517 * text2.C: remove confusing and awkward depth wraparound
1519 2002-09-09 John Levon <levon@movementarian.org>
1521 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1524 * buffer.C: remove getIncludeonlyList()
1527 * lyxfunc.C: remove headers
1529 2002-09-09 Juergen Vigna <jug@sad.it>
1531 * text.C (getColumnNearX): fix form Michael this is most
1532 probably a cut&paste bug.
1534 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1536 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1538 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1539 references, ws changes.
1541 * text2.C (init): update counters after init
1542 (insertParagraph): no need to set counter on idividual paragraphs.
1543 (setCounter): access the counters object in the textclass object
1544 on in the buffer object.
1545 (updateCounters): ditto
1547 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1548 shared_ptr<Counters> to avoid loading counters.h in all
1550 (LyXTextClass): initialize ctrs_
1551 (TextClassTags): add TC_COUNTER, and ...
1552 (Read): use it here.
1553 (CounterTags): new tags
1554 (readCounter): new function
1555 (counters): new funtion
1556 (defaultLayoutName): return a const reference
1558 * counters.C (Counters): remove contructor
1559 (newCounter): remove a couple of unneeded statements.
1560 (newCounter): simplify a bit.
1561 (numberLabel): some small formatting changes.
1563 * buffer.[Ch]: remove all traces of counters, move the Counters
1564 object to the LyXTextClass.
1566 2002-09-06 Alain Castera <castera@in2p3.fr>
1568 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1569 package to set the horizontal alignment on fixed width columns.
1572 * lyx_sty.h: added tabularnewline macro def.
1574 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1576 2002-09-06 John Levon <levon@movementarian.org>
1578 * LyXAction.C: tooltips for sub/superscript
1580 * MenuBackend.C: a bit more verbose
1582 * lyxfunc.C: tiny clean
1584 * undo_funcs.C: document undo_frozen
1586 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1588 * counters.C (Counters): add missing algorithm counter.
1590 * text2.C (setCounter): lookup the counter with layouts latexname
1591 instead of by section number.
1592 (setCounter): use a hackish way to lookup the correct enum
1594 a float name->type change
1595 reset enum couners with counter name directly instead of depth value.
1597 * counters.C (Counters): remove the push_backs, change to use the
1598 float type not the float name.
1599 (labelItem): remove unused string, float name->type change
1601 * counters.h: don't include vector, loose the enums and sects vectors
1603 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1605 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1606 (Read): add float->TC_FLOAT to textclassTags
1607 (Read): and handle it in the switch
1608 (readFloat): new function
1610 * FloatList.C (FloatList): comment out the hardcoded float
1613 * lyxlayout.h: ws change.
1615 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1617 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1619 2002-09-03 Angus Leeming <leeming@lyx.org>
1621 * BufferView_pimpl.h: qualified name is not allowed in member
1622 declaration: WorkArea & Pimpl::workarea() const;
1624 * factory.C: added using std::endl directive.
1626 * text3.C: added using std::find and std::vector directives.
1628 2002-08-29 André Pönitz <poenitz@gmx.net>
1631 * text2.C: remove unused member number_of_rows
1634 * BufferView2.C: remove file, move contents to...
1635 * BufferView.C: ... here
1637 * BufferView_pimpl.C:
1638 * factory.C: move more inset creation to factory
1640 * vspace.C: avoid direct usage of LyXText, ws changes
1643 don't provide direct access to WorkArea, use two simple
1644 acessors haveSelction() and workHeight() instead
1647 2002-08-29 John Levon <levon@movementarian.org>
1649 * BufferView_pimpl.C (dispatch): do not continue when
1652 2002-08-28 André Pönitz <poenitz@gmx.net>
1654 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1657 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1659 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1661 * buffer.C: increment LYX_FORMAT to 221
1663 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1664 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1666 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1668 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1670 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1672 * factory.C (createInset): use LyXTextClass::floats
1674 * MenuBackend.C (expandFloatListInsert):
1675 (expandFloatInsert):
1678 * text2.C (setCounter):
1680 * LaTeXFeatures.C (useFloat):
1681 (getFloatDefinitions):
1683 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1685 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1686 floatlist_, with accessor floats().
1688 * FloatList.h: remove global FloatList
1690 2002-08-26 André Pönitz <poenitz@gmx.net>
1692 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1696 * BufferView_pimpl.C:
1697 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1699 2002-08-25 John Levon <levon@movementarian.org>
1701 * LyXAction.C: fix margin note description
1703 2002-08-24 John Levon <levon@movementarian.org>
1707 * bufferview_funcs.C:
1709 * undo_funcs.C: cleanups
1711 * lyxfunc.C: disable CUT/COPY when no selection
1713 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1715 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1716 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1718 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1719 Add backward compatibility to "mono", "gray" and "no".
1721 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1723 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1724 (and file_format >= 200).
1726 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1728 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1730 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1732 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1734 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1736 * BufferView_pimpl.C:
1743 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1744 inset and code to make it work with the paragraph code. The inset
1745 can be anywhere in the paragraph, but will only do the expected
1746 thing in LaTeX if the layout file contains the parameter line
1748 (or more generally, a nonzero value) for that layout.
1750 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1752 * paragraph.h: remove the declaration of undefined counters class
1755 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1757 * text2.C (setCounter): fixed enumeration mis-count as reported by
1758 Dr. Richard Hawkins.
1760 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1762 * paragraph_funcs.h: remove some unneeded includes
1764 * text.C (backspace): pasteParagraph now in global scipe
1766 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1767 (pasteSelection): ditto
1769 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1770 * paragraph_funcs.C (pasteParagraph): ... here
1772 2002-08-20 André Pönitz <poenitz@gmx.net>
1774 * commandtags.h: new LFUNs for swapping/copying table row/colums
1777 * lyxfunc.C: support for new lfuns
1779 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1782 * buffer.[Ch]: remove NO_COMPABILITY stuff
1784 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1786 * boost.C (throw_exception): new file, with helper function for
1787 boost compiled without exceptions.
1792 * ParameterStruct.h:
1793 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1795 * bufferlist.C (emergencyWriteAll): use boost bind
1797 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1799 * text.C: include paragraph_funcs.h
1800 (breakParagraph): breakParagraph is now in global scope
1802 * paragraph_funcs.[Ch]: new files
1804 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1807 * buffer.C: include paragraph_funcs.h
1808 (insertStringAsLines): breakParagraph is now in global scope
1810 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1813 * CutAndPaste.C: include paragraph_funcs.h
1814 (cutSelection): breakParagraphConservative is now in global scope
1815 (pasteSelection): ditto
1817 * buffer.h: declare oprator== and operator!= for
1818 Buffer::inset_iterator
1820 * bufferlist.C (emergencyWrite): don't use fmt(...)
1822 * text3.C: add using std::endl
1824 * BufferView.C (moveCursorUpdate): remove default arg
1826 2002-08-20 André Pönitz <poenitz@gmx.net>
1828 * buffer.[Ch]: move inline functions to .C
1831 * BufferView_pimpl.C:
1833 * buffer.[Ch]: use improved inset_iterator
1836 * paragraph.[Ch]: write one paragraph at a time
1838 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1840 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1841 style if style is not specified.
1843 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1845 * text2.C (setCounter): when searching for right label for a
1846 caption, make sure to recurse to parent insets (so that a caption
1847 in a minipage in a figure float works) (bug #568)
1849 2002-08-20 André Pönitz <poenitz@gmx.net>
1851 * text3.C: new file for LyXText::dispatch() and helpers
1853 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1855 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1857 2002-08-19 André Pönitz <poenitz@gmx.net>
1860 * text.C: new LyXText::dispatch()
1862 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1864 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1866 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1868 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1871 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1873 * Makefile.am: use $(variables) instead of @substitutions@
1875 2002-08-15 André Pönitz <poenitz@gmx.net>
1878 * BufferView_pimpl.C: streamlining mathed <-> outer world
1882 * LyXAction.C: remove unused LFUN_MATH
1884 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1888 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1890 * paragraph.C (Paragraph): reformat a bit
1891 (cutIntoMinibuffer): use builtin InsetList function instad of
1895 * buffer.C: include boost/bind.hpp, add using std::for_each
1896 (writeFileAscii): use ParagraphList iterators
1897 (validate): use for_each for validate traversal of paragraphs
1898 (getBibkeyList): use ParagraphList iterators
1899 (resizeInsets): use for_each to resizeInsetsLyXText for all
1901 (getParFromID): use ParagraphList iterators
1903 * BufferView2.C (lockInset): use paragraph list and iterators
1905 2002-08-14 John Levon <levon@movementarian.org>
1907 * lyxserver.C: remove spurious xforms include
1909 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1911 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1913 2002-08-13 André Pönitz <poenitz@gmx.net>
1916 * lyxfunc.C: further cleaning
1918 2002-08-13 André Pönitz <poenitz@gmx.net>
1920 * funcrequest.h: new constructor
1922 * funcrequest.C: move stuff here from .h
1925 * BufferView_pimpl.C:
1928 * lyxfunc.C: subsequent changes
1930 * lyxfunc.h: new view() member function
1932 * lyxfunc.C: subsequent changes
1934 2002-08-13 Angus Leeming <leeming@lyx.org>
1937 * BufferView_pimpl.C:
1945 changes due to the changed LyXView interface that now returns references
1946 to member variables not pointers.
1948 2002-08-13 Angus Leeming <leeming@lyx.org>
1950 * WordLangTuple (word, lang_code): return references to strings,
1955 * lyxtext.h: forward-declare WordLangTuple.
1960 * text.C: #include "WordLangTuple.h".
1963 * text.C: (selectNextWordToSpellcheck): constify return type.
1965 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1971 * paragraph_pimpl.h:
1974 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1976 Made updateCounter always count from start of buffer, and removed
1977 second argument (par).
1978 Reverted floats number display to '#'. Perhaps I'll try again when the
1979 code base is sanitized a bit.
1981 2002-08-12 Angus Leeming <leeming@lyx.org>
1983 * buffer.[Ch] (getLabelList): constify.
1985 2002-08-07 André Pönitz <poenitz@gmx.net>
1987 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1989 * funcrequest.h: extension to keep mouse (x,y) position
1991 2002-08-12 Juergen Vigna <jug@sad.it>
1993 * BufferView2.C (insertErrors): forbid undo when inserting error
1996 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1998 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * ParagraphList.[Ch]: new files
2002 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2004 * BufferView2.C (lockInset): ParagraphList changes
2007 * bufferlist.C: ditto
2011 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2013 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2014 unused class variable counter_,
2016 * paragraph.[Ch] (getFirstCounter): delete unused function
2018 * counters.C: include LAssert.h
2019 (reset): add a new function with no arg, change other version to
2020 not have def. arg and to not allow empty arg.
2022 * text2.C (setCounter): remove empty arg from call to Counters::reset
2024 2002-08-11 John Levon <levon@movementarian.org>
2026 * Makefile.am: add WordLangTuple.h
2028 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2030 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2031 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2033 * insets/insettext.C: InsetList changes
2035 * graphics/GraphicsSupport.C (operator()): InsetList changes
2037 * toc.C (getTocList): InsetList changes
2039 * paragraph_pimpl.[Ch]: InsetList changes
2041 * paragraph.[Ch]: InsetList changes
2043 * buffer.C (inset_iterator): InsetList changes
2044 (setParagraph): ditto
2045 * buffer.h (inset_iterator): ditto
2046 * iterators.C (operator++): ditto
2047 * iterators.h: ditto
2049 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2051 * InsetList.[Ch]: new files, most InsetList handling moved out of
2054 * BufferView2.C (removeAutoInsets): InsetList changes
2056 (ChangeInsets): ditto
2058 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2060 * paragraph_pimpl.h (empty): new function
2062 * paragraph.[Ch] (empty): new function
2064 * other files: use the new Paragraph::empty function
2066 2002-08-09 John Levon <levon@movementarian.org>
2068 * lyxtext.h: remove unused refresh_height
2070 2002-08-09 John Levon <levon@movementarian.org>
2077 * paragraph.C: move sgml char escaping out of paragraph
2080 * paragraph.C: remove id setter
2084 * paragraph_pimpl.C: remove dead tex_code_break_column
2086 * bufferview_funcs.C: small cleanup
2088 * lyxfunc.C: remove dead proto
2090 * lyxtext.h: make some stuff private. Remove some dead stuff.
2092 * lyxgluelength.C: make as[LyX]String() readable
2094 2002-08-08 John Levon <levon@movementarian.org>
2099 * ToolbarDefaults.C:
2102 * toc.C: lyxaction cleanup
2104 2002-08-08 John Levon <levon@movementarian.org>
2106 * BufferView2.C: small cleanup
2109 * lyxfind.C: move unnecessary header into the .C
2111 2002-08-08 John Levon <levon@movementarian.org>
2113 * funcrequest.h: just tedious nonsense
2116 * lyx_main.C: cleanups
2119 * vspace.C: remove dead header lyx_main.h
2121 2002-08-07 Angus Leeming <leeming@lyx.org>
2124 * paragraph_pimpl.h:
2125 Forward declare class Counters in paragraph.h by moving the ctrs member
2126 variable into Paragraph::Pimpl.
2127 (counters): new method, returning a reference to pimpl_->ctrs.
2129 * text2.C: ensuing changes.
2131 2002-08-07 John Levon <levon@movementarian.org>
2133 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2135 * BufferView_pimpl.C: announce X selection on double/triple
2138 * lyx_main.C: use correct bool in batch dispatch
2140 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2142 2002-08-07 André Pönitz <poenitz@gmx.net>
2144 * funcrequest.h: new class to wrap a kb_action and its argument
2147 * BufferView_pimpl[Ch]:
2151 * lyxrc.C: subsequent changes
2154 2002-08-07 John Levon <levon@movementarian.org>
2156 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2157 document options change.
2159 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2164 * makefile.am: move counters functionality over from
2165 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2167 2002-08-06 John Levon <levon@movementarian.org>
2169 * WordLangTuple.h: new file for word + language code tuple
2180 * BufferView2.C: use WordLangTuple
2183 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2185 2002-08-06 John Levon <levon@movementarian.org>
2187 * lyx_main.C: fix cmdline batch handling
2189 2002-08-06 André Pönitz <poenitz@gmx.net>
2191 * lyxrc.C: set default for show_banner to true
2193 2002-08-06 John Levon <levon@movementarian.org>
2195 * pspell.C: fix a crash, and allow new aspell to work
2197 2002-08-06 John Levon <levon@movementarian.org>
2200 * kbmap.C: small cleanup
2203 * vspace.C: add const
2205 2002-08-05 John Levon <levon@movementarian.org>
2207 * LyXAction.C: back to tabular-insert
2209 2002-08-04 John Levon <levon@movementarian.org>
2212 * BufferView.C: cosmetic change
2214 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2224 * BufferView2.C: purge all "Lyx" not "LyX" strings
2227 * lyxcursor.C: attempt to add some documentation
2232 * ToolbarDefaults.C:
2233 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2234 merge with LFUN_TABULAR_INSERT
2241 * pspell.C: split up i/pspell implementations into separate
2242 files, many cleanups
2244 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2246 * text2.C: some cleanup
2248 * lyxfunc.C: don't check for isp_command == "none" any more, it
2249 didn't make any sense
2251 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2256 * makefile.am: move counters functionality over
2257 from text2.C/paragraph.[Ch] to counters.[Ch], and
2259 2002-08-02 John Levon <levon@movementarian.org>
2261 * buffer.C: s/lyxconvert/lyx2lyx/
2263 2002-08-02 Angus Leeming <leeming@lyx.org>
2265 * lyxlex.C: revert John's change as it breaks reading of the user
2268 2002-08-02 Angus Leeming <leeming@lyx.org>
2270 * importer.C (Import):
2271 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2272 changes due to LyXView::view() now returning a boost::shared_ptr.
2274 2002-08-02 John Levon <levon@movementarian.org>
2276 * lyxlex.C: small cleanup
2278 2002-08-02 John Levon <levon@movementarian.org>
2280 * text2.C (status): small cleanup, no logic change
2282 2002-08-01 John Levon <levon@movementarian.org>
2285 * buffer.C (writeFile): don't output alerts, caller
2289 * lyx_cb.C: from above
2291 * lyxfunc.C: allow to open non-existent files
2293 2002-07-31 John Levon <levon@movementarian.org>
2295 * lyxserver.C: don't let incidental errors get
2298 2002-07-30 John Levon <levon@movementarian.org>
2300 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2302 2002-07-30 John Levon <levon@movementarian.org>
2305 * lyxserver.C: remove I/O callback too
2307 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2309 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2312 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * many files: strip,frontStrip -> trim,ltrim,rtrim
2316 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2318 * PrinterParams.h: remove extern containsOnly, and include
2319 support/lstrings.h instead.
2321 * LaTeX.C (scanAuxFile): modify because of strip changes
2323 * buffer.C (makeLaTeXFile): ditto
2324 * bufferparams.C (writeFile): ditt
2325 * lyxfont.C (stateText): ditto
2326 * lyxserver.C (read_ready): ditto
2327 * vc-backend.C (scanMaster): ditto
2329 * BufferView_pimpl.h: ws changes
2331 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2333 2002-07-26 André Pönitz <poenitz@gmx.net>
2335 * kb_sequence.C: remove unnedred usings
2337 2002-07-26 Juergen Vigna <jug@sad.it>
2339 * lyxfind.C (LyXReplace): we have to check better if the returned
2340 text is not of theLockingInset()->getLockingInset().
2342 2002-07-25 Juergen Vigna <jug@sad.it>
2344 * lyxfind.C (LyXReplace): don't replace if we don't get the
2347 * undo_funcs.C (createUndo): remove debugging code.
2349 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2351 * buffer.C (parseSingleLyXformat2Token): Use default placement
2352 when reading old floats.
2354 * FloatList.C (FloatList): Change the default placement of figure
2355 and tables to "tbp".
2357 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2359 * MenuBackend.C: using std::max
2361 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2363 * MenuBackend.C (expandToc):
2364 (expandToc2): code moved from xforms menu frontend. It is now
2365 generic and TOCs are transparent to menu frontends.
2367 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2369 * toc.C (getTocList): protect against buf=0
2371 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2372 Menu as first parameter. Now, this calls itself recursively to
2373 expand a whole tree (this will be useful for TOC handling)
2374 (expandFloatInsert): remove 'wide' version of floats
2376 * MenuBackend.h (submenuname): returns the name of the submenu.
2377 (submenu): returns the submenu itself, provided it has been
2378 created by MenuBackend::expand
2380 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2382 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2383 insets which have noFontChange == true. (bug #172)
2385 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2387 * BufferView_pimpl.C: add connection objects and use them...
2390 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2392 * MenuBackend.C (expandLastfiles):
2395 (expandFloatListInsert):
2396 (expandFloatInsert):
2397 (expand): split expand in parts
2399 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2401 * lyx_gui.C: use lyx_gui::exit()
2403 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2405 * LyXAction.C: show the failing pseudo action
2407 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2409 * buffer.C (readFile): Run the lyxconvert script in order to read
2412 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2416 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2418 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2422 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2424 2002-07-22 Herbert Voss <voss@lyx.org>
2427 * lyxlength.[Ch]: add support for the vertical lengths
2429 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2431 * toc.[Ch]: std:: fixes
2433 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2435 * lyxrc.C: do not include lyx_main.h
2437 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2443 * BufferView2.C: include "lyxlex.h"
2446 * bufferparams.h: do not #include "lyxlex.h"
2448 * lyxtextclasslist.C (Add): remove method
2449 (classlist): renamed to classlist_
2451 * paragraph_pimpl.C:
2455 * bufferview_funcs.C:
2460 * toc.C (getTocList): use BufferParams::getLyXTextClass
2462 * toc.C (getTocList): use InsetFloat::addToToc
2464 * toc.[Ch]: new files, containing helper functions to handle table
2467 * lyxfunc.C (dispatch): no need to remove spaces around command
2469 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2470 first command of the sequence; it is not very clever, but I do not
2471 have a better idea, actually
2473 * LyXAction.C (LookupFunc): make sure to remove space at the
2474 beginning and end of the command
2476 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2478 * MenuBackend.C (getMenubar): new method: return the menubar of
2480 (read): treat differently reading of menu and menubar (in
2481 particular, the menubar has no name now)
2482 (Menu::menubar): remove
2484 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2487 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2489 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2490 a bibitem inset in a RTL paragraph.
2492 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2494 * paragraph_pimpl.C: constify
2496 * BufferView_pimpl.C:
2498 * lyxfunc.C: fix dispatch in a nicer way
2500 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2502 * lyxfunc.C (dispatch):
2503 * BufferView_pimpl.C:
2504 * BufferView_pimpl.h:
2506 * BufferView.h: rename Dispatch() to dispatch()
2508 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2510 * lyxlayout.C (Read): honor DependsOn tag
2512 * lyxlayout.[Ch] (depends_on): new method
2514 * version.C.in: update lyx_docversion
2516 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2518 * paragraph.C (validate): remove from here...
2519 * paragraph_pimpl.C (validate): ... and move here
2520 (isTextAt): make it const
2522 * buffer.C (getLists): ws cleanup
2524 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2526 * language.C (read): Use iso8859-1 encoding in latex_lang
2527 (this prevents LyX from crashing when using iso10646-1 encoding).
2529 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2531 * text2.C (toggleInset): if cursor is inside an inset, close the
2532 inset and leave cursor _after_ it
2534 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2536 * lyxfunc.C: move minibuffer completion handling out of here
2538 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2540 * BufferView_pimpl.C:
2541 * LaTeX.C: fix dispatch calls
2543 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2545 * text.C (drawChars): Fix Arabic text rendering.
2547 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2551 * lyxfunc.C: remove message-push/pop
2555 * lyxfunc.C: rationalise some code by removing verboseDispatch
2556 in favour of a bool argument to dispatch()
2558 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2560 * lyx_main.C (init): make sure to read symlinks as absolute paths
2562 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2565 * lyxfunc.C: no need for commandshortcut to be a member
2567 2002-07-15 André Pönitz <poenitz@gmx.net>
2569 * converter.C: add support for $$s (scripts from lib/scripts dir)
2570 * lyx_main.C: white space
2572 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2576 * lyxrc.C: remove second exit confirmation
2578 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2583 * BufferView_pimpl.h:
2584 * BufferView_pimpl.C:
2585 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2587 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2589 * MenuBackend.C (expand): add numeric shortcuts to document menu
2591 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2593 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2595 * lyxfont.C (setLyXFamily):
2602 * buffer.C (asciiParagraph): use ascii_lowercase
2604 2002-07-15 Mike Fabian <mfabian@suse.de>
2606 * lyxlex_pimpl.C (search_kw):
2607 * lyxlex.C (getLongString):
2608 * converter.h (operator<):
2609 * converter.C (operator<):
2610 * buffer.C (parseSingleLyXformat2Token):
2612 * ToolbarDefaults.C (read):
2613 * MenuBackend.C (checkShortcuts):
2615 * LColor.C (getFromGUIName):
2616 (getFromLyXName): use the compare_ascii_no_case instead of
2617 compare_no_case, because in turkish, 'i' is not the lowercase
2618 version of 'I', and thus turkish locale breaks parsing of tags.
2620 2002-07-16 Angus Leeming <leeming@lyx.org>
2622 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2623 now takes a Buffer const & argument.
2625 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2627 * BufferView.C (resize): check there's a buffer to resize
2629 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2631 * lyxfunc.C: remove dead code
2634 * lyxserver.C: use lyx_guii::set_read_callback
2636 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2638 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2639 an inset in a RTL paragraph.
2641 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2643 * lyxfunc.C: repaint after a font size update
2645 2002-07-15 André Pönitz <poenitz@gmx.net>
2647 * lyxlength.C: inBP should be able to return negative values
2649 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2651 * lyxfunc.C: use lyx_gui::update_fonts()
2653 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2655 * lyxfunc.C: use lyx_gui::update_color()
2657 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2663 * lyxrc.C: remove file->new asks for name option, and let
2664 buffer-new take an argument
2666 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2668 * BufferView_pimpl.C: remove unneeded extra repaint()
2670 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2672 * LyXAction.C: allow command-sequence with NoBuffer
2674 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2676 2002-07-10 Angus Leeming <leeming@lyx.org>
2678 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2680 2002-07-09 Angus Leeming <leeming@lyx.org>
2682 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2684 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2686 * lengthcommon.h: whitespace
2688 * lyxfunc.C: update scrollbar after goto paragraph
2690 * lyxtext.h: factor out page break drawing, and fix it so
2691 page break/added space paints as selected nicely
2693 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2695 * BufferView_pimpl.C: add FIXMEs, clean up a little
2697 2002-07-09 André Pönitz <poenitz@gmx.net>
2699 * lyxfont.[Ch]: support for wasy symbols
2701 2002-07-08 André Pönitz <poenitz@gmx.net>
2703 * BufferView_pimpl.C: apply John's patch for #93.
2705 2002-07-05 Angus Leeming <leeming@lyx.org>
2707 * BufferView_pimpl.C (buffer): generate previews if desired.
2709 * LColor.h: add "preview" to the color enum.
2711 * LColor.C (LColor): add a corresponding entry to the items array.
2713 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2716 2002-07-05 Angus Leeming <leeming@lyx.org>
2718 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2719 The body of the code is now in the method that is passed an ostream &
2720 rather than a file name.
2721 Pass an additional only_preamble parameter, useful for the forthcoming
2724 2002-07-03 André Pönitz <poenitz@gmx.net>
2726 * lyxfunc.C: simplify getStatus() a bit for math stuff
2728 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2730 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2732 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2734 * text.C (changeRegionCase): do not change case of all the
2735 document when region ends at paragraph end (bug #461)
2737 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2739 * paragraph.C (startTeXParParams):
2740 (endTeXParParams): add \protect when necessary
2742 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2744 * BufferView_pimpl.C (workAreaExpose): remove warning
2746 2002-06-27 Angus Leeming <leeming@lyx.org>
2748 * Makefile.am: add lyxlayout_ptr_fwd.h.
2750 2002-06-26 André Pönitz <poenitz@gmx.net>
2752 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2754 2002-06-25 Angus Leeming <leeming@lyx.org>
2756 * lyxfunc.C (dispatch): Comment out the call to
2757 grfx::GCache::changeDisplay. The method no longer exists now that the
2758 pixmap generation part of the graphics loader has been moved into
2761 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2763 * text2.C: layout as layout
2765 * text.C: layout as layout
2767 * tabular.C (OldFormatRead): layout as layout
2769 * paragraph_pimpl.C (TeXDeeper): layout as layout
2770 (realizeFont): layout as layout
2772 * paragraph.C (writeFile): layout as layout
2773 (validate): layout as layout
2774 (getFont): layout as layout
2775 (getLabelFont): layout as layout
2776 (getLayoutFont): layout as layout
2777 (breakParagraph): layout as layout
2778 (stripLeadingSpaces): layout as layout
2779 (getEndLabel): layout as layout
2780 (getMaxDepthAfter): layout as layout
2781 (applyLayout): layout as layout
2782 (TeXOnePar): layout as layout
2783 (simpleTeXOnePar): layout as layout
2784 (TeXEnvironment): layout as layout
2785 (layout): layout as layout
2786 (layout): layout as layout
2788 * lyxtextclass.C (compare_name): new functor to work with
2789 shared_ptr, layout as layout
2790 (Read): layout as layout
2791 (hasLayout): layout as layout
2792 (operator): layout as layout
2793 (delete_layout): layout as layout
2794 (defaultLayout): layout as layout
2796 * lyxlayout_ptr_fwd.h: new file
2798 * lyxlayout.C (Read): layout as layout
2800 * lyx_cb.C (MenuInsertLabel): layout as layout
2802 * bufferlist.C (newFile): layout as layout
2804 * buffer.C (readLyXformat2): layout as layout
2805 (parseSingleLyXformat2Token): layout as layout
2806 (insertStringAsLines): layout as layout
2807 (asciiParagraph): layout as layout
2808 (latexParagraphs): layout as layout
2809 (makeLinuxDocFile): layout as layout
2810 (simpleLinuxDocOnePar): layout as layout
2811 (makeDocBookFile): layout as layout
2812 (simpleDocBookOnePar): layout as layout
2813 (getLists): layout as layout
2815 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2817 * CutAndPaste.C (cutSelection): layout as layout
2818 (pasteSelection): layout as layout
2819 (SwitchLayoutsBetweenClasses): layout as layout
2821 * BufferView_pimpl.C (Dispatch): layout as layout
2822 (smartQuote): layout as layout
2824 * BufferView2.C (unlockInset): layout as layout
2826 2002-06-24 André Pönitz <poenitz@gmx.net>
2828 * lyxfunc.C: fix #487
2830 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2834 * lyxfunc.C: remove display_shortcuts, show_banner
2836 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2838 * Buffer_pimpl.C: oops, update on resize
2840 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2847 * BufferView.C: use repaint()
2849 * BufferView_pimpl.h:
2850 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2851 as it's a clearer description. Remove superfluous
2854 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2856 * text.C: fix bug 488. Not ideal, but getting
2857 getWord() to work properly for the insets that
2858 matter is more difficult ...
2860 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2862 * BufferView_pimpl.C:
2865 * lyxfunc.C: remove the six million index lyxfuncs to just
2866 one, and DTRT (bug 458)
2868 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2872 * BufferView_pimpl.h:
2873 * BufferView_pimpl.C: clean up resize() stuff,
2874 and unnecessary updateScreen()s
2876 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2880 * BufferView_pimpl.h:
2881 * BufferView_pimpl.C:
2884 * minibuffer.C: remove focus management of workarea,
2885 not needed. Use screen's greyOut()
2887 2002-06-17 Herbert Voss <voss@lyx.org>
2889 * converter.C: (convert) do not post a message, when converting
2890 fails, let the calling function decide what to do in this case
2892 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2894 * lyxfunc.C: tidy up a little
2896 2002-06-16 <alstrup@diku.dk>
2898 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2899 Got rid of FORMS_H_LOCATION include. Now we are
2902 2002-06-15 LyX Development team <lyx@rilke>
2904 * buffer.[Ch] (sgmlOpenTag):
2905 (sgmlCloseTag): Added support for avoiding pernicious mixed
2906 content. Return number of lines written.
2909 (makeDocBookFile): Fixed calls to sgml*Tag.
2910 Simple white space clean.
2912 (simpleDocBookOnePar): Simple white space clean.
2914 * tabular.[Ch] (docBook): Renamed to docbook and got another
2915 argument to related with the pernicious mixed content.
2917 (docbookRow): Fixed calls for docbook inset method.
2919 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2921 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2922 so it's X11 independent.
2926 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2928 2002-06-15 Lyx Development team <lyx@electronia>
2930 * intl.h: Renamed getTrans to getTransManager.
2932 2002-06-14 Angus Leeming <leeming@lyx.org>
2934 * Makefile.am: nuke forgotten stl_string_fwd.h.
2936 2002-06-12 Angus Leeming <leeming@lyx.org>
2938 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2940 2002-06-13 Angus Leeming <leeming@lyx.org>
2943 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2945 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2947 * kbmap.C (getiso): add support for cyrillic and greek
2949 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2953 * BufferView_pimpl.h:
2954 * BufferView_pimpl.C: move bogus scrolling logic
2957 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2960 * BufferView_pimpl.C: view->resize() change
2962 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2964 * BufferView_pimpl.C: topCursorVisible
2967 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2971 * lyx_gui.C: move to frontends/
2975 * lyx_main.C: changes from above
2977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2984 * lyx_main.C: minor tidy
2986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2988 * BufferView_pimpl.h:
2989 * BufferView_pimpl.C:
2991 * BufferView.C: make painter() const,
2994 * BufferView2.C: use screen() accessor
2997 * lyx_main.C: some minor cleanup
2999 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3001 * BufferView_pimpl.h:
3002 * BufferView_pimpl.C: remove enter/leaveView,
3005 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3010 * BufferView_pimpl.h:
3011 * BufferView_pimpl.C: only construct screen once,
3014 * lyxrc.C: remove pointless comment
3016 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3019 * BufferView.C: remove active() and belowMouse()
3021 * BufferView_pimpl.h:
3022 * BufferView_pimpl.C: use workarea() not workarea_,
3023 and make it use a scoped_ptr instead
3025 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3027 * lyx_gui.C: add debug message on BadWindow
3029 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3031 * sp_spell.C: fdopen is not part of the C++ standard.
3033 * paragraph.C (InsetIterator): use >= instead of ==
3035 2002-06-07 Angus Leeming <leeming@lyx.org>
3037 Fixes needed to compile with Compaq cxx 6.5.
3038 * BufferView_pimpl.C:
3045 * lyxtextclasslist.C:
3050 all c-library variables have been moved into namespace std. Wrap
3051 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3056 Add a using std::abs declaration.
3058 * kbmap.h (modifier_pair):
3059 * paragraph.h (InsetTable, InsetList):
3060 * lyxfont.h (FontBits):
3061 type definition made public.
3063 * bufferlist.C (emergencyWriteAll): the compiler complains that
3064 there is more than one possible lyx::class_fun template to choose from.
3065 I re-named the void specialisation as lyx::void_class_fun.
3067 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3069 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3070 the compiler is is unable to find tostr in write_attribute.
3072 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3074 * buffer.C (sgmlError): hide #warning
3076 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3078 * xtl/*: get rid of xtl, which is not in use anyway
3080 * LyXAction.C (init):
3081 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3082 were unimplemented xtl experimentation
3084 2002-06-04 André Pönitz <poenitz@gmx.net>
3086 * lyxfunc.C: disable array operation on simple formulae
3088 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3090 * converter.C: constify a bit
3092 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3094 * lyx_gui.C: check xforms version correctly
3096 2002-04-30 Herbert Voss <voss@lyx.org>
3098 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3101 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3103 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3104 attempt to register it with a VCS)
3106 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3108 * lyx_main.C (init): honor variables LYX_DIR_13x and
3111 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3115 * lyx_main.C: fix a crash on bad command line,
3116 and give a useful exit status on error
3118 * lyxfunc.C (doImport): allow -i lyx to work
3120 2002-03-30 André Pönitz <poenitz@gmx.net>
3122 * lyxfunc.C: mathed font changes
3124 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3139 * trans_mgr.h: srcdocs, and some minor cleanups
3141 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3143 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3144 call getFont all the time)
3146 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3148 * switch from SigC signals to boost::signals
3150 2002-05-29 André Pönitz <poenitz@gmx.net>
3152 * paragraph_pimpl.C (getChar): don't call size() too often...
3154 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3156 * paragraph_pimpl.C (insertChar): do not try to update tables when
3157 appending (pos == size())
3159 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3160 in order to reduce drastically the number of comparisons needed to
3161 parse a large document
3163 2002-05-29 André Pönitz <poenitz@gmx.net>
3169 * textclasslist.[Ch]:
3170 * sp_ispell.h: whitespace change
3172 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3174 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3175 lyxaction directly now.
3177 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3181 * lyxvc.C: remove unused headers
3183 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3190 * undo_funcs.C: some cleanups. Use shared_ptr
3191 and a template for the undo stacks.
3193 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3195 * BufferView_pimpl.h:
3196 * BufferView_pimpl.C:
3203 * text2.C: use key_state/mouse_state
3205 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3207 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3210 * chset.C: change include order
3211 (loadFile): use boost regex and get rid of LRegex and LSubstring
3213 * Makefile.am (BOOST_LIBS): new variable
3216 * LaTeX.C: change include order.
3217 (scanAuxFile): use boost regex and get rid of LRegex and
3221 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3226 * FontInfo.C: moved to frontends/xforms/
3229 * FontLoader.C: moved into frontends for GUIIzation
3234 * lyxfunc.C: changes from above
3236 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3238 * LColor.C: remove spurious X include
3240 * BufferView_pimpl.C:
3245 * text2.C: move font metrics to frontends/
3247 2002-05-24 Juergen Vigna <jug@sad.it>
3249 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3250 setting the undo_cursor.
3252 * ParagraphParameters.h: include local includes first.
3254 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3256 * BufferView_pimpl.C:
3257 * BufferView_pimpl.h:
3261 * screen.C: move WorkArea into frontends/
3267 * BufferView2.C: move LyXScreen into frontends/
3271 * lyx_gui.C: move lyxlookup into frontends/xforms/
3273 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3276 * BufferView_pimpl.C:
3286 * bufferview_funcs.C:
3299 * vc-backend.C: move LyX/XFormsView into frontends/
3301 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3313 * text2.C: move Painter to frontends/
3315 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3317 * buffer.C: comment out some some code that depend upon lyx_format
3320 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3321 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3323 * buffer.h (NO_COMPABILITY): turn off compability
3325 * ColorHandler.C: include scoped_array.hpp
3327 * font.C: Use more specific smart_ptr header.
3330 * ShareContainer.h: ditto
3334 * BufferView_pimpl.h: ditto
3335 * ColorHandler.h: ditto
3337 * kbmap.C (defkey): change call to shared_ptr::reset
3339 2002-05-21 Juergen Vigna <jug@sad.it>
3341 * buffer.C (insertErtContents): fix to insert ert asis if it is
3342 non empty. Skip it completely if it contains only whitespaces.
3344 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3346 * BufferView_pimpl.C:
3347 * BufferView2.C: clear selection on paste (bug 393)
3349 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3351 * DepTable.C: include ctime
3353 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3355 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3357 2002-05-14 Juergen Vigna <jug@sad.it>
3359 * text.C (breakParagraph): fixed function to honor the keepempty
3360 layout in the right maner and also to permit the right breaking
3361 algorithm on empty or non empyt keepempty paragraphs.
3363 * paragraph.C (breakParagraph): we have to check also if the par
3364 is really empty (!size()) for isempty otherwise we do the wrong
3367 2002-05-10 Juergen Vigna <jug@sad.it>
3369 * buffer.[Ch] : The following are only changes to the ert
3370 compatibility read reading old LaTeX layout and font stuff and
3371 convert it to ERTInsets.
3373 * buffer.h: added isErtInset().
3375 * buffer.C (struct ErtComp): add a fromlayout bool to check
3376 if we're inside a LaTeX layout.
3377 (isErtInset): new helper function.
3378 (insertErtContents): look for other ert insets before this one
3379 and insert the contents there, so that we don't have subsequent
3380 ERT insets with nothing between them. This way we create only one
3381 inset with multiple paragraphs. Also check if we don't insert only
3382 spaces ' ' as they are ignored anyway afterwards in the .tex file
3383 so if we have only spaces we will ignore this latex part in the
3385 (parseSingleLyXformat2Token \\layout): better compatibility when
3386 reading layout-latex stuff.
3387 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3389 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3390 stuff after reading the inset only get the information back from
3393 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3395 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3397 * LaTeXFeatures.C (getBabelOptions): New method.
3399 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3401 * BufferView_pimpl.C (Dispatch): work around missing argument for
3404 2002-05-08 Juergen Vigna <jug@sad.it>
3406 * text.C (leftMargin): handle paragraph leftindent.
3408 * paragraph.C (writeFile): write the new \\leftindent tag.
3409 (validate): handle leftindent code.
3410 (TeXEnvironment): handle paragraphleftindent code again.
3412 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3414 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3415 for paragrap_extra indent code and new token \\leftindent.
3416 (latexParagraphs): handle the leftindent as environment.
3418 * ParameterStruct.h: added leftindent support.
3420 * ParagraphParameters.C (leftIndent): added support functions for
3421 the paragraph left indent.
3423 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3426 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3428 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3431 * text.C (computeBidiTables): No bidi in insetERT.
3433 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3436 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3438 * version.C.in: pre 5
3440 2002-05-02 José Matos <jamatos@fep.up.pt>
3441 * buffer.C (makeDocBookFile): white space changes, add newline to
3443 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3445 * tabular.C (docBook): fix typo.
3447 2002-05-03 Juergen Vigna <jug@sad.it>
3449 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3450 change in LyXText as we can not be sure it was not freed.
3451 (drawOneRow): remove unused code.
3453 * text.C (drawInset): redo the calculation of the need_break_row as
3454 it could have a row which was already freed.
3455 (draw): look at the return value of drawInset and return false if
3456 it also returned false.
3457 (paintRowText): look at the return value of draw and return false if
3458 it also returned false.
3460 * lyxtext.h: added bool return type to drawInset() and draw() so that
3461 if we have a change in the row so that the rowbreak has to be redone
3462 we abort drawing as it will be called again.
3464 2002-05-02 Juergen Vigna <jug@sad.it>
3466 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3467 a change in the maintext also if we're inside an inset.
3468 (Dispatch): set the cursor again after a break line and after the
3469 screen has been updated as it could be we're in a different row.
3471 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3472 to set the cursor behind the pargraph with > size().
3473 (setCursor): check also for the same paragraph when checking where
3474 to put the cursor if we have a NFR inset.
3476 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3477 parts of layout read further up as it still was in the wrong
3480 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3482 * screen.C (drawFromTo): change sine fullRebreak always return
3485 * buffer.C (parseSingleLyXformat2Token): reindent some
3487 * BufferView_pimpl.C (update): change since fullRebreak always
3489 (Dispatch): git rid of the last hardcoded "Standard"s.
3491 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3493 * text2.[Ch] (fullRebreak): make it return void now that we always
3496 2002-04-30 Juergen Vigna <jug@sad.it>
3498 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3499 ert compatibility check for "latex" layout.
3501 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3503 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3504 minipages: use col% instead of p%, and also use the current font.
3505 (makeLaTeXFile): Fix use babel condition.
3506 (parseSingleLyXformat2Token): Correct font when reading old floats.
3508 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3510 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3511 inserting list of floats.
3513 2002-04-25 Herbert Voss <voss@lyx.org>
3515 * MenuBackend.C (expand): don't add the graphics extensions to the
3518 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3520 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3521 non-existing layout, do not complain if it was the default layout
3522 of the original class (bug #342)
3524 2002-04-24 Juergen Vigna <jug@sad.it>
3526 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3527 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3529 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3531 * buffer.C (getBibkeyList): If using \bibliography, return the
3532 option field with the reference itself. Enables us to provide natbib
3533 support when using \bibliography.
3535 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3537 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3539 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3540 natbib is provided by the LaTeX class.
3542 2002-04-23 Juergen Vigna <jug@sad.it>
3544 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3547 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3549 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3551 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3553 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3554 ensuremath around textordmasculine, textordfeminine and
3557 2002-04-19 Juergen Vigna <jug@sad.it>
3559 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3560 reinitializing the buffer otherwise row-dimensions may be wrong.
3561 (update): reset also the selection cursors if they do exits otherwise
3562 their x/y positions may be wrong.
3564 * text2.C (cursorDown): don't enter the inset if we came from a row
3565 above and are one row over the inset.
3567 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3568 really leaving an inset.
3570 2002-04-18 Juergen Vigna <jug@sad.it>
3572 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3573 of the selected paragraph does not have the selected layout also if
3576 * text2.C (setLayout): fixed bug which did not change last selected
3579 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3580 changed the read and substituted \\end_float with \\end_inset!
3582 * BufferView_pimpl.C (cursorPrevious):
3583 (cursorNext): fixed to make it work with rows heigher than the work
3584 area without moving the cursor only the draw of the row.
3585 (workAreaMotionNotify): fix jumping over high rows.
3587 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3589 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3592 2002-04-16 Juergen Vigna <jug@sad.it>
3594 * text2.C (setCursor): set also the irow().
3595 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3597 (cursorDown): support for locking an inset if the x_fix value goes
3598 inside it. That way I can transverse insets too with cursor up/down.
3600 * lyxrow.h: added irow helper function same as other (i) functions.
3602 * BufferView_pimpl.C (cursorPrevious):
3603 (cursorNext): fixed for insets!
3605 2002-04-15 Juergen Vigna <jug@sad.it>
3607 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3608 position otherwise it is wrong in some cases.
3610 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3611 inside the inset before the call.
3613 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3615 * buffer.[Ch] (getBibkeyList): make it const.
3617 2002-04-12 Juergen Vigna <jug@sad.it>
3619 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3621 * text2.C (getCursorX): new helper function
3622 (setCursor): compute also ix_
3623 (setCursorFromCoordinates): set also ix.
3625 * lyxcursor.h: added ix_ and helper functions.
3627 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3629 * buffer.C (insertStringAsLines): dont break paragraph if the this
3630 paragraph is inside an inset which does not permit it!
3632 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3633 also with no chars on this paragraph.
3634 (paintRowText): only paint stuff if it's inside the workarea!
3636 * paragraph.C (breakParagraph): honor keepempty flag and break the
3637 paragraph always below not above.
3639 * BufferView2.C (unlockInset): update the paragraph layout on inset
3640 unlock as we changed paragraph in such a case.
3642 * lyxfind.C (LyXFind): clear the former selection if not found!
3644 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3645 again called in insertChar().
3647 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3648 an inset which uses the whole row!
3649 (rightMargin): ditto.
3650 (insertChar): force a rebreak if we inserted an inset!
3652 2002-03-28 Herbert Voss <voss@lyx.org>
3654 * lyxlength.[Ch]: add inBP() to get the right PS-point
3655 units (BigPoint). With inPixels we have rounding errors
3657 2002-04-11 Juergen Vigna <jug@sad.it>
3659 * text2.C (setCursorFromCoordinates): set iy to the right value.
3660 (setCursor): add check if row->previous exists!
3662 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3663 an old float_type as this was the case in the old code!
3665 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3667 * BufferView2.C (showLockedInsetCursor): use iy
3668 (fitLockedInsetCursor): ditto
3670 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3671 locked insets as there we have the right value now.
3673 * lyxcursor.C: added iy_ variable and iy functions to set to the
3674 baseline of cursor-y of the locked inset.
3676 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3677 (setCursor): fixed for insets which need a full row.
3679 * text.C (rowLastPrintable): don't ignore the last space when before
3680 an inset which needs a full row.
3681 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3682 as last character of a row when before a inset which needs a full row.
3684 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3686 * version.C.in: update date
3688 * text2.C (fullRebreak): try to always return true and see what
3691 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3693 * MenuBackend.C (expand): use Floating::listName
3695 * FloatList.C (FloatList): add listName argument to the built-in
3698 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3699 text associated with the float.
3701 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3703 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3705 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3707 * ShareContainer.h: add a couple of missing typenames.
3709 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3711 * lyxrc.C (getDescription): use _() correctly rather than N_().
3713 2002-03-28 Herbert Voss <voss@lyx.org>
3715 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3716 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3718 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3720 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3721 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3723 2002-03-29 Juergen Vigna <jug@sad.it>
3725 * lyxfunc.C (dispatch): add a missing fitCursor call.
3727 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3728 it was scrolled by a cursor move, so return the bool status.
3730 * BufferView.C (fitCursor): return the bool flag also to the outside
3731 world as this is needed.
3733 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3735 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3736 call the edit() as it is not needed (and wrong) IMO.
3737 (workAreaButtonPress): set the screen_first variable before evt.
3738 unlock the inset as this may change screen_first and then we have
3739 a wrong y position for the click!
3741 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3743 * MenuBackend.C (expand): another translation that I missed
3745 2002-03-28 Juergen Vigna <jug@sad.it>
3747 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3749 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3751 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3753 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3755 * MenuBackend.C (expand): fix export/view/update when there is no
3758 2002-03-27 Herbert Voss <voss@lyx.org>
3760 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3763 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3765 * bufferview_funcs.C (currentState): only show paragraph number
3766 for is DEVEL_VERSION is set.
3768 * lyxfunc.C (dispatch): put warning in INFO channel
3770 * MenuBackend.C (expand): translate the name of floats
3772 * FloatList.C (FloatList): mark the float names for translation
3774 * converter.C (convert): use LibScriptSearch
3776 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3778 * MenuBackend.C (defaults): fix default menu (we might as well get
3781 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3783 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3786 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3788 * lyxvc.C: reorder includes.
3790 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3792 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3795 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3797 * CutAndPaste.C: change layouts earlier on paste
3798 to avoid crashing when calling getFont()
3800 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3802 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3805 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3807 * WorkArea.C: remove 'Pending' debug message.
3809 * most files: ws cleanup
3811 * buffer.[Ch]: ws changes
3813 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3815 2002-03-21 Juergen Vigna <jug@sad.it>
3817 * tabular.C (SetMultiColumn): collapse also the contents of the
3818 cells and set the last border right. Added a Buffer const * param.
3820 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3822 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3825 2002-03-19 Juergen Vigna <jug@sad.it>
3827 * text2.C (clearSelection): reset also xsel_cache.
3829 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3830 where it needs to be called (John tells us to do so too :)
3831 (selectionLost): reset sel_cache.
3833 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3835 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3837 * text2.C (setCursorIntern): put debuging code in INSETS channel
3839 2002-03-19 André Pönitz <poenitz@gmx.net>
3841 * lyxfunc.C: tiny whitespace change
3843 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3845 * ToolbarDefaults.C (init):
3846 * LyXAction.C (init):
3848 * BufferView_pimpl.C (Dispatch):
3849 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3851 2002-03-19 Allan Rae <rae@lyx.org>
3853 * exporter.C (Export): removeAutoInsets before doing anything else.
3854 While I've just introduced a dependency on BufferView this really is
3855 the best place to clean the buffer otherwise you need to cleanup in
3856 a dozen places before calling export or cleanup in a dozen functions
3859 * converter.C (runLaTeX):
3860 (scanLog): Better handling of removeAutoInsets and screen updates.
3862 * lyxfunc.C (dispatch): small whitespace changes
3864 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3866 * WorkArea.C (C_WorkAreaEvent): return a value.
3867 (event_cb): return 1 if we handled the event, 0 otherwise.
3869 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3871 2002-03-18 Juergen Vigna <jug@sad.it>
3873 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3874 (GetAdditionalWidth): ditto.
3878 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3879 inset if we're there actually (probably not used right now but this
3880 is the direction to go for unifying code).
3881 (paste): disable code to clear the selection.
3883 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3884 inside an InsetText and move the check further up as it is in the
3887 * text2.C (pasteSelection): set a selection over the pasted text.
3889 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3891 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3892 and libgraphics to build on Cygwin.
3894 2002-03-15 Juergen Vigna <jug@sad.it>
3896 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3897 inserting an Inset into the paragraph. I know this is not the best
3898 fix but we already use current_view in CutAndPaste so we will remove
3899 all of it's using at the same time.
3901 * buffer.C (sgmlError): deactivated function till it is rewritten in
3902 the right mode, now it can create problems.
3904 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3905 before accessing it.
3907 2002-03-14 Juergen Vigna <jug@sad.it>
3909 * undo_funcs.C (textHandleUndo): do the right thing when updating
3910 the inset after the undo/redo.
3912 * text2.C (setCursor): just some testcode for #44 not ready yet.
3914 * undo_funcs.C (textHandleUndo): set the next() and previous()
3915 pointers of the paragraph to 0 before deleting otherwise we have
3916 problems with the Paragraph::[destructor].
3918 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3919 on a paragraph insertion.
3921 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3923 * buffer.C (asciiParagraph): use += operator for char append to
3926 * paragraph.C (getFontSettings): compare >= not just >
3927 (highestFontInRange): ditto
3930 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3932 * paragraph.C: change several algorithm to be more appripriate for
3933 the problem domain. This is lookip in FontList and in the InsetList.
3935 2002-03-13 André Pönitz <poenitz@gmx.net>
3938 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3940 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3945 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3947 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3949 * Painter.C (display): anon helper function, adjust code for this
3951 (pixmap): remove function.
3953 * Painter.h: remove private display variable.
3955 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3957 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3959 * WorkArea.[Ch]: remove figinset_canvas cruft.
3961 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3963 * lyxtextclass.C (operator): add one item cache optimization.
3965 * bufferlist.h: doxy changes
3967 * bufferlist.C: ws changes
3969 * DepTable.[Ch] (ext_exist): place const in the right spot.
3971 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3973 (workAreaExpose): call resizeInsets when the with BufferView changes.
3974 (Dispatch): adjust for protectedBlank removal
3975 (specialChar): call updateInset if the insert went ok.
3977 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3978 specialChar instead.
3980 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3982 * BufferView.h: doxy change
3984 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3986 * lyxtextclass.C (operator[]): remove non-const version
3987 (defaultLayout): remove non-const version
3989 2002-03-12 Juergen Vigna <jug@sad.it>
3991 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3992 did resize the LyXText too.
3994 * buffer.C (readLyXformat2): set layout information on newly allocated
3997 * tabular.C (OldFormatRead): set layout information on the paragraph.
3999 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4001 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4003 2002-03-11 Juergen Vigna <jug@sad.it>
4005 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4007 (resizeCurrentBuffer): force also the insets to resize themselfes.
4008 (moveCursorUpdate): fixed up for InsetText.
4010 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4013 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4014 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4015 value of Dialogs::tooltipsEnabled().
4016 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4018 2002-03-08 Juergen Vigna <jug@sad.it>
4020 * BufferView_pimpl.C (updateInset): update inset inside inset also
4021 if it isn't inside theLockingInset().
4023 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4025 * buffer.C (asciiParagraph): redo some of the word and line length
4027 (getLists): look for Caption instead of caption.
4029 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4031 * buffer.C (Buffer): initialize niceFile to true
4034 (makeDocBookFile): make sure niceFile is true on exit
4036 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4038 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4040 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4042 * LyXSendto.C: remove.
4043 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4044 * lyx_gui.C: remove now-redundant comment.
4045 * ColorHandler.h: remove forward declaration of class WorkArea.
4046 * lyxfunc.C: remove #include "WorkArea.h".
4048 2002-03-07 Juergen Vigna <jug@sad.it>
4050 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4051 got moved away with the DEPM and also set the inset_owner always
4052 right which before could have been omitted.
4054 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4056 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4057 wanted layout is not found.
4059 2002-03-07 Juergen Vigna <jug@sad.it>
4061 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4063 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4065 * paragraph.C (breakParagraph): use default layout not layout of
4067 (Paragraph): clear ParagraphParameters.
4069 2002-03-06 Juergen Vigna <jug@sad.it>
4071 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4072 otherwise it would not be a valid lenght. Fixed a special case in
4073 the minipage compatibility read where we end the document with a
4076 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4077 was set as it could be 0 for InsetTexts first entry.
4079 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4081 * paragraph.C (writeFile): if layout is empty write out
4082 defaultLayoutName().
4084 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4085 file without named layout we set layout to defaultLayoutName().
4087 2002-03-06 Juergen Vigna <jug@sad.it>
4089 * CutAndPaste.C (copySelection): set layout for new paragraph.
4091 * text.C (prepareToPrint): leave ERT inset left aligned
4092 (leftMargin): don't indent paragraphs inside ERT insets
4094 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4096 * paragraph.C (breakParagraph): dont call clear do the work manually
4098 * paragraph.[Ch] (clear): remove function
4100 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4102 * paragraph.C (Paragraph): dont call clear, the work has already
4105 * lyxtextclass.C (operator): assert if n is empty
4107 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4108 work manually instead.
4110 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4112 * BufferView_pimpl.C: protect selectionLost against text == 0
4114 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4116 * text.C (breakParagraph): fix a setting layout to '0' problem.
4118 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4120 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4121 final location of file, for the included files, and graphics.
4123 2002-03-05 Juergen Vigna <jug@sad.it>
4125 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4127 2002-03-04 Juergen Vigna <jug@sad.it>
4129 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4131 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4132 last column of multicolumn cells.
4133 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4135 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4137 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4138 file if it doesn't go to a temporary file.
4140 * buffer.C (sgmlOpenTag):
4141 (sgmlCloseTag): remove extra newline insertion.
4143 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4145 * text.C (getRowNearY): comment out debug msg
4147 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4149 * text2.C: first -> first_y
4151 * text.C (getRowNearY): add some attemts at a possible
4152 optimization, not working.
4154 * tabular.[Ch]: add BufferParams to several function so that newly
4155 created paragraph can be initialized to he default layotu for the
4158 * tabular-old.C (ReadOld): add buf->params to call of Init
4160 * screen.C: rename text->first to text->first_y
4162 * paragraph.C (breakParagraph): always set layout in the broken
4165 * lyxtextclass.C (Read): remove lowercase
4168 (delete_layout): ditto
4170 * lyxtext.h: rename first -> first_y
4172 * lyxlayout.C (Read): remove lowercase
4175 (obsoleted_by): ditto
4177 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4179 * buffer.C (insertErtContents): add params are to InsetERT
4180 (parseSingleLyXformat2Token): add code to check if a paragraphs
4181 layout really exist.
4182 (parseSingleLyXformat2Token): add params to several inset
4184 (asciiParagraph): remove lowercase, do the layout comparisons with
4187 * BufferView_pimpl.C (cursorNext): first -> first_y
4188 (resizeCurrentBuffer): first -> first_y
4189 (updateScrollbar): first -> first_y
4190 (scrollCB): first -> first_y
4191 (workAreaMotionNotify): first -> first_y
4192 (workAreaButtonPress): first -> first_y
4193 (checkInsetHit): first -> first_y
4194 (cursorPrevious): first -> first_y
4195 (cursorNext): first -> first_y
4196 (Dispatch): add buffer_->params to severl inset contructors
4198 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4200 * lyxlayout.C (Read): remove some debug info that I forgot.
4202 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4203 clean up the code slightly.
4204 (makeLinuxDocFile): ditto
4205 (makeDocBookFile): ditto
4207 * text2.C: layout as string
4209 * text.C: layout as string
4211 * paragraph_pimpl.C: layout as string
4213 * paragraph.[Ch]: layout as string
4215 * lyxtextclasslist.[Ch]: layout as string
4217 * lyxtextclass.[Ch]: layout as string
4219 * lyxtext.h: layout as string
4221 * lyxlayout.[Ch]: layout as string
4223 * lyx_cb.C: layout as string
4225 * bufferview_funcs.C: layout as string
4227 * bufferparams.C: layout as string
4229 * buffer.C: layout as string
4231 * LyXView.[Ch]: layout as string
4233 * LaTeXFeatures.[Ch]: layout as string
4235 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4237 * BufferView_pimpl.C: change current_layout to string, remove
4242 (workAreaButtonRelease): layout as string
4244 * BufferView2.C (unlockInset): adjust
4246 * vspace.C (asLatexCommand): use an explict temp variable.
4248 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4250 * Makefile.am: use FRONTEND_*
4252 2002-03-01 Juergen Vigna <jug@sad.it>
4254 * tabular.C (SetWidthOfMulticolCell): changed to something better
4255 I hope but still work in progress.
4256 (recalculateMulticolumnsOfColumn): renamed function from
4257 recalculateMulticolCells as it is more appropriate now.
4258 (SetWidthOfCell): calculate multicols better.
4260 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4262 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4264 * lyxfunc.C (processKeySym): print sequence also if it is
4265 `deleted' (complete)
4267 * kbsequence.C (print): print sequence even if it is deleted
4268 (complete would be a better word, actually).
4270 * lyxfunc.C (dispatch): print complete options after a prefix key
4272 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4274 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4276 * text2.C (setCharFont): eliminate setCharFont code duplication.
4278 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4280 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4281 LFUN_TABULAR_FEATURE (bug #177)
4283 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4285 * Makefile.am: remove figure.h
4287 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4289 * Bufferview_pimpl.C:
4301 * text2.C: remove #include "lyx_gui_misc.h".
4303 * LaTeX.C: added #include <cstdio>
4305 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4307 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4308 that the paragraph following this one can have.
4310 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4312 * vspace.C (asLatexCommand): fix bogus gcc warning
4314 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4316 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4318 * text2.C (setLayout): get rid of redundant code
4320 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4322 * text2.C (incDepth): make sure depth cannot be increased beyond
4325 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4327 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4328 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4330 * PainterBase.h (image):
4331 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4334 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4338 * BufferView_pimpl.C:
4339 * BufferView_pimpl.h:
4359 * sp_spell.C: remove fig inset, and the crap house of
4360 cards that follows it
4362 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4368 * nt_defines.h: move .h into support/
4370 * vms_defines.h: remove
4372 * WorkArea.C: add space in debug output
4376 * buffer.C: add WITH_WARNINGS
4380 * bufferlist.C: s/retrive/retrieve/, add docs
4391 * lyxgui.C: add ID to X error handler
4393 * lyxtestclass.c: fix typo
4395 2002-02-26 Juergen Vigna <jug@sad.it>
4397 * tabular_funcs.C (write_attribute): changed so that some default
4398 attributes are not written at all.
4399 (getTokenValue): set default values before trying to read the
4400 value so we have the return value always set as default if we don't
4401 find the token we search for.
4403 * tabular.C (Write): write bools as bools not as strings!
4405 2002-02-22 Juergen Vigna <jug@sad.it>
4407 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4408 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4410 * text.C (leftMargin): don't add an indent for paragraphs inside
4411 tabular cells (fix #208).
4413 2002-02-21 José Matos <jamatos@fep.up.pt>
4415 * tabular.C (docBook): fixed support for long tables.
4417 2002-02-20 Juergen Vigna <jug@sad.it>
4419 * text2.C (getFont): get the drawing font of the Inset if this
4420 paragraph is inside an inset (only important for InsetERT for now).
4422 * buffer.C (insertErtContents): use new lanugage params in ERT
4425 * CutAndPaste.C: commenting out seemingly uneeded code.
4427 2002-02-19 Allan Rae <rae@lyx.org>
4429 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4430 Iterators might be simple to use but they also get invalidated.
4431 (removeAutoInsets): renamed saved cursor tracking variables and added
4432 some comments to clarify what everything does.
4434 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4441 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4442 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4445 * vc-backend.h: remove #include "support/syscall.h"
4449 * converter.C: rearrange #includes in Lars' approved fashion.
4451 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4452 forward declare class Timeout in the header file.
4454 * XFormsView.C: changes due to the above.
4456 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4459 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4460 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4462 2002-02-18 José Matos <jamatos@fep.up.pt>
4464 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4467 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4469 * a lot of small ws changes
4470 * add a lot of using std::XXX
4471 * use std construcs some places where approp.
4472 * use some exisint stuff from lyxfunctional where approp.
4473 * Make file changes to use partial linking (lets test this now...)
4475 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4479 remove #include "support/syscontr.h" as it's redundant. Always has been.
4487 change Systemcalls::System to Systemcalls::Wait and
4488 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4489 No change of functionality, just reflects the stripped down Systemcalls
4492 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4494 * debug.[Ch]: add a GRAPHICS type to the enum.
4496 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4498 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4500 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4503 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4505 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4506 match the changes below.
4508 * text2.C (toggleInset): if there is not editable inset at cursor
4509 position, try to see if cursor is _inside_ a collapsable inset
4512 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4514 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4515 document menu has a nice checkbox
4517 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4519 * lyxlength.C (asLatexString): change PW to output as percent of
4522 * lengthcommon.C: change '%' to 't%'
4524 * lyxfunc.C (dispatch): a few comments from Martin
4526 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4530 * BufferView_pimpl.h:
4531 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4534 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4536 * vspace.C (inPixels): fix compiler warning
4538 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4540 * lyxfunc.C (getStatus): fix status message for disabled commands.
4542 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4544 * BufferView_pimpl.C: fix crash on close buffer
4545 during selection (#227)
4547 2002-01-27 Herbert Voss <voss@lyx.org>
4549 * buffer.C: link old Figure to new graphic inset
4551 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4553 * FontLoader.C (getFontinfo): Change the latex font names in order
4554 to match the names of type1inst.
4556 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4558 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4560 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4563 (remove_files_with_extension): ditto
4564 (remove_file): ditto
4567 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4568 document is smaller than the work area height. Do not initialize
4569 static variables to 0.
4571 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4573 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4575 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4576 LFUN_LAYOUT_PARAGRAPHS.
4578 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4579 tabular. It is possible to provide a possible cell, which will
4580 typically be the actcell from the corresponding insettabular
4582 * lyxfunc.C (getStatus): small cleanup; disable
4583 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4586 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4588 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4590 * paragraph.C (startTeXParParams):
4591 (endTeXParParams): new methods. The LaTeX code to
4592 start/end paragraph formatting
4593 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4594 empty (fixes bug #200)
4596 * vspace.C (inPixels): adapt to the change below
4597 (inPixels): [later] more cleanups (remove unused variables)
4599 * lyxlength.C (inPixels): change to use a width and a height as
4602 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4604 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4605 Replaced with \paperwidth
4607 * DepTable.C (insert): add std:: qualifier
4609 2002-01-18 Allan Rae <rae@lyx.org>
4611 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4614 * text.C (drawInset): Turned out I didn't know enough about how
4615 rebreaking worked. This fixes most of the redraw problems. I see
4616 an occasional cursor trail when a line is broken now and the cursor
4617 placement can seem out by a few pixels also after a rebreak.
4619 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4621 * buffer.C (parseSingleLyXformat2Token): update because minipage
4622 width is now a LyXLength
4624 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4626 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4629 2002-01-17 Juergen Vigna <jug@sad.it>
4631 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4633 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4634 is set correctly and the inset is updated correctly.
4636 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4638 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4639 the beginning of the loop.
4641 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4643 * lyxrc.C: improve help for use_scalable_fonts
4645 2002-01-17 Allan Rae <rae@lyx.org>
4647 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4649 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4651 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4652 make sure to set their inset_owner to the right value (bug #171)
4654 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4657 * DepTable.C: Implement mtime checking to reduce time spent doing
4660 2002-01-16 Juergen Vigna <jug@sad.it>
4662 * tabular.C (GetAdditionalHeight): one of error fixed.
4664 * lyxrc.C (output): small fix in writing use_pspell.
4666 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4668 * sp_base.h: #include LString.h
4670 2002-01-16 Allan Rae <rae@lyx.org>
4672 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4673 Can someone check this please?
4675 * text.C (drawInset): It was possible that p.row would be removed by
4676 breakAgainOneRow upsetting a few other settings. There may be another
4677 small tweak possible by setting need_break_row = 0 when p.row has been
4678 removed but I don't know enough about the logic here.
4680 2002-01-15 Allan Rae <rae@lyx.org>
4682 * text.C (insertChar): removed conditional truism.
4684 * BufferView2.C (removeAutoInsets): More tweaks.
4685 cur_par_prev could be a stray pointer. Check for trailing empty line
4686 in case last line was cur_par and only had an error inset on it.
4688 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4690 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4693 * vc-backend.C (most methods):
4694 * exporter.C (Export):
4695 * converter.C (convert):
4697 * LyXSendto.C (SendtoApplyCB):
4698 * lyxfunc.C (dispatch):
4702 * lyx_cb.C (AutoSave):
4704 * BufferView_pimpl.C (MenuInsertLyXFile):
4705 * buffer.C (runChktex): use Buffer::filePath().
4707 * buffer.h: rename filename to filename_; rename filepath to
4708 filepath_ and make it private
4709 (filePath): new method
4711 * buffer.C (writeFile): use fileName()
4714 * lyx_main.C (init): fix starting of LyX when the binary is a
4715 link from so,ewhere else.
4717 * minibuffer.C: include <cctype> for isprint
4719 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4721 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4722 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4723 name clash with InsetCollapsable's width function.
4725 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4727 * lastfiles.C: include <iterator>
4729 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4731 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4734 * buffer.C (makeLaTeXFile): ditto.
4735 Also make loop operation more transparent.
4737 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4739 * ToolbarDefaults.C: remove trailing comma closing namespace.
4741 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4743 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4746 * trans.C (Load): comment out unused variable, allowed.
4748 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4750 * minibuffer.[Ch] (append_char): new method to recieve input from the
4751 drop-down completion browser. If a key was pressed, then recieve this
4752 char and append it to the existing string.
4753 (peek_event): modify the positioning data passed to the completion
4754 browser so that it can be placed above the minibuffer rather than below.
4755 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4757 * LyXAction.C (init): alloe error-next for readonly documents.
4759 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4762 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4764 * bufferlist.C (readFile): create the buffer _after_ checking that
4767 * lyxfunc.C (verboseDispatch): fix handling of arguments
4769 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4771 * lyxrc.C: use string::erase() instead of initializing to "".
4774 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4776 * BufferView_pimpl.h:
4777 * BufferView_pimpl.C:
4780 * text2.C: tell X when we have made a selection for copying
4782 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4784 * BufferView_pimpl.C (MenuInsertLyXFile):
4785 * lyxfunc.C (menuNew):
4787 (doImport): add shortcuts to directory buttons
4789 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4792 * lyxfunc.C (setStatusMessage):
4793 (getStatusMessage): new methods
4794 (getStatus):use setStatusMessage instead of setErrorMessage
4795 (dispatch): when function is disabled, set error message here
4796 [instead of in getStatus previously]
4798 * BufferView_pimpl.C (workAreaButtonRelease): update
4799 toolbar/menubar here too.
4801 2002-01-13 Allan Rae <rae@lyx.org>
4803 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4804 Now seems indestructible. Remaining task is to audit all other
4805 code affected by deleteEmptyParagraphMechanism. One small quirk
4806 left is that an empty document with an error in the preamble can
4807 be made to report an error but no error box appears. I don't know
4809 (removeAutoInsets): Improved comments.
4811 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4814 * Thesaurus.C: update for Aiksaurus 0.14
4816 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4818 * text2.C (firstParagraph): removed member function, all uses
4819 replaces with ownerParagraph
4820 (redoParagraphs): here
4822 (toggleAppendix): here
4823 * BufferView2.C (insertErrors): here
4824 (setCursorFromRow): here
4826 2002-01-13 Allan Rae <rae@lyx.org>
4828 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4829 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4830 There is still a way to segfault this although you may have to do this
4831 multiple times: Have an InsetERT with an unknown command in it.
4832 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4833 <down-arrow>, <Enter> again, View->DVI, BANG!
4835 * text2.C (setCursor):
4836 (deleteEmptyParagraphMechanism):
4837 * lyxtext.h (setCursor):
4838 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4839 Making use of the return value may help fix other bugs.
4841 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4843 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4845 * LyXView.C (updateMenubar): call MenuBar::update here
4846 (updateToolbar): but not here
4847 (showState): do not update toolbar/menubar
4849 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4850 should need to care about that.
4852 * lyxfunc.C (verboseDispatch): simplify a bit
4853 (getStatus): have a version which takes a pseudoaction, and
4854 another which requires a (kb_action,string).
4856 * LyXAction.C (retrieveActionArg): make it work also when action
4857 is not a pseudo-action.
4858 (getActionName): simplify a bit
4861 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4863 * lyxfunc.C (verboseDispatch): new families of methods with
4864 several ways to specify a command and a bool to indicate whether
4865 the command name and shortcut should be displayed in minibuffer
4866 (eventually, we could extend that to a finer bitmask like
4867 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4868 (dispatch): the pristine dispatch command which just, well,
4869 dispatchs! Note it still sets its result to minibuffer; I'm not
4872 * lyxfunc.h: remove setHintMessage
4874 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4876 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4878 * BufferView_pimpl.C (specialChar): delete new inset if we have
4879 not been able to insert it.
4881 * kbmap.C: revert to using int instead of kb_action, since all we
4882 are dealing with is pseudo-actions.
4884 * LyXAction.C (searchActionArg): change to return int instead of
4885 kb_action, since the result is a pseudoaction.
4887 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4889 * buffer.C (insertErtContents): Fix (partially) the font bug.
4891 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4893 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4894 as the other one is broken on my machine!
4896 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4899 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4901 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4903 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4904 reflect their actual use. Provide compatibility code for older lyxrc
4907 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4909 change names of popup font variables in line with the changes to lyxrc.C
4911 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4913 * buffer.C (asciiParagraph): avoid outputing a word twice after
4916 * lyxrc.C (getDescription): document that document_path and
4917 template_path can be empty.
4919 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4921 * LaTeXFeatures.C (getMacros):
4922 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4924 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4926 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4928 (getPackages): rename feature "floats" to "float". Use an array to
4929 iterate over 'simple' features (i.e. just a \usepackage). Add
4930 handling of "amsmath" (renamed from "amsstyle").
4932 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4934 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4937 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4939 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4940 FuncStaus::FuncStatus & FuncStaus::some_method().
4942 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4944 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4945 of the func_satus stuff. Edited and massaged in various ways by
4948 * lyxfunc.C (getStatus): use FuncStatus
4950 2002-01-08 Juergen Vigna <jug@sad.it>
4952 * text.C (nextBreakPoint): use function Inset::isChar().
4954 * paragraph.C (TeXOnePar): use function
4955 Inset::forceDefaultParagraphs.
4957 * buffer.C (latexParagraphs): use function
4958 Inset::forceDefaultParagraphs.
4960 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4962 * lyx_gui.C (init): set the style of the menu popups to
4963 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4965 2002-01-07 Juergen Vigna <jug@sad.it>
4967 * text.C (setHeightOfRow): small fix
4968 (prepareToPrint): don't look at alignment if we don't have the place
4971 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4973 * box.C: New file. Move the Box methods and functions out of box.h,
4974 following Lars' suggestion.
4976 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4978 * box.h: #include "support/LOstream.h", needed for inlined function.
4981 * lyxtextclasslist.C: added some using std declarations.
4983 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4985 * box.h: make signed dimensions to allow insets wider than
4986 the screen (bug #162)
4988 * BufferView_pimpl.C: add some insetHit debug
4990 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4992 * vc-backend.C: add FIXME
4994 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4996 * lyxfunc.C (getStatus): enable code for showing math font status
4999 2002-01-07 Juergen Vigna <jug@sad.it>
5001 * text.C (nextBreakPoint): removed debug output not needed anymore.
5003 2002-01-06 Juergen Vigna <jug@sad.it>
5005 * text.C (nextBreakPoint): fixed up this function we had this bug
5006 since ever but now hopefully we break row better.
5007 (insertChar): we have to check if an inset is the next char as it
5008 could now happen that a large inset is causing a break.
5010 2002-01-05 Juergen Vigna <jug@sad.it>
5012 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5013 if it doesn't like to be drawed.
5015 2002-01-04 Juergen Vigna <jug@sad.it>
5017 * BufferView2.C (lockInset): forgot to set a cursor.
5019 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5021 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5026 * form_maths_panel.C:
5027 * form_maths_panel.h:
5028 * form_maths_panel.fd: implemented sub- and super- buttons in math
5031 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5032 (or ^ space) to be used as in TeX (req'd by André).
5034 * lyxfunc.C: Allow ^ and _ again to be used both as
5035 super/subscript (mathed) and as themselves (in text).
5037 2002-01-03 Allan Rae <rae@lyx.org>
5039 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5040 "LyX" or the filename of the current buffer if it has one. This is a
5041 modified form of John Levon's patch.
5043 * XFormsView.C (setWindowTitle): also set icon title.
5045 * LyXView.h (setWindowTitle): signature changed.
5046 * XFormsView.h (setWindowTitle): ditto.
5048 2002-01-02 Juergen Vigna <jug@sad.it>
5050 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5052 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5054 * screen.C (topCursorVisible): introduce a temp var for
5055 text->cursor.row(), handle the case where this row is null. (kindo
5058 * text2.C (setCursor): add a couple of asserts.
5060 * paragraph.h (inset_iterator): add -> operator
5062 * paragraph.[Ch] (autoDeleteInsets): remove member function
5064 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5065 cursor pos correctly and handle inset deletion by itself.
5066 (insertErrors): move iterator declaration out of for expression
5068 * lyxtextclass.C: add <algorithm>
5070 * Makefile.am: added the new files to sources, removed layout.C
5072 * layout.C: removed file
5074 * layout.h: remove LYX_DUMMY_LAYOUT
5076 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5080 * lyxtextclass.[Ch]:
5081 * lyxtextclasslist.[Ch]: new files
5083 * include order changes to a lot of files, also changes because of
5086 2001-12-27 Juergen Vigna <jug@sad.it>
5088 * buffer.C (asciiParagraph): more fixes.
5090 * tabular.C (ascii): make ascii export support export of only the
5091 data separated by a column-delimiter.
5092 (ascii): better support for ascii export.
5094 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5096 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5098 * tabular_funcs.C: use a "using std::getline" instead of the
5099 previous fix from Angus (necessary for cxx + lyxstring)
5101 2001-12-24 Juergen Vigna <jug@sad.it>
5103 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5105 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5106 problems. First check a minipage also if we have some ert-contents
5107 (not only on par->size(), second set the right depth of the paragraph
5108 on the relink to the root-paragraph-list!
5110 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5111 which then did not anymore update the main paragraphs on undo/redo!
5113 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5115 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5116 code. Support all font-changing funcs (even those which are not in
5117 menu currently). Support for reporting font settings in
5118 mathed (disabled until Andre provides a function on mathed's side).
5120 * func_status.h (toggle): small helper function to set toggle
5123 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5125 * tabular_funcs.C: getline -> std::getline
5127 2001-12-21 Juergen Vigna <jug@sad.it>
5129 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5130 accessed and could be 0 (I couldn't generate this but it seems
5133 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5135 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5136 * tabular_funcs.h: here and include iosfwd
5138 2001-12-20 Juergen Vigna <jug@sad.it>
5140 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5141 inside inset but undo_par was.
5143 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5145 * Thesaurus.C: always include <config.h> in sources.
5149 * box.h: do not include <config.h> in header files
5151 * text.C (paintLastRow): remove unused variable
5153 * text.C (transformChar):
5155 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5158 * font.C (width): rewrite to use uppercase() instead of
5161 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5163 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5165 * lyxfind.C: clean up of find failure position change
5167 2001-12-20 Juergen Vigna <jug@sad.it>
5169 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5171 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5172 (TeXRow): added to LaTeX a single tabular row.
5173 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5174 (Latex): simplified and finally good LT-h/f support.
5175 (various_functions): just small adaptions for LT-h/f support.
5177 * tabular_funcs.[hC]: added and moved here all not classfunctions
5180 2001-12-19 Juergen Vigna <jug@sad.it>
5182 * tabular.[Ch]: better support for longtabular options (not finished
5185 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5187 * text.C (paintLastRow): use the label font instead of the font of
5188 the last character to compute the size of *_BOX. This makes more
5189 sense and avoids a crash with empty paragraphs.
5190 Use Painter::rectangle to draw EMPTY_BOX.
5192 2001-12-19 Juergen Vigna <jug@sad.it>
5194 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5195 the paragraphs if the replaced paragraph is not the first one!
5196 Tried to delete not used paragraphs but does not work yet so for
5197 now it's inside #ifdef's and by default off!
5199 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5201 * MenuBackend.C: include "lyx_main.h" instead of declaring
5202 lastfiles (actually was declared as LastFiles* instead of a
5205 2001-12-17 Juergen Vigna <jug@sad.it>
5207 * tabular.C (AppendColumn): applied John's fix
5209 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5213 * BufferView_pimpl.h:
5214 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5217 * box.h: new start of class for above
5219 * lyxfunc.C: ignore space-only minibuffer dispatches.
5220 Show the command name when it doesn't exist
5222 * minibuffer.C: don't add empty lines to the history
5224 * minibuffer.C: add a space on dropdown completion
5226 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5228 * text.C: fix line above/below drawing in insets
5230 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5232 * lyxlength.C (LyXLength): Initialize private variables.
5234 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5236 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5237 when inserting error insets.
5239 2001-12-13 Juergen Vigna <jug@sad.it>
5241 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5242 actually sometimes the before-paragraph.
5243 (setUndo): don't clear the redostack if we're not actually undoing!
5245 2001-12-06 Juergen Vigna <jug@sad.it>
5247 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5248 and fixed redoing of main paragraph, so we can use it now ;)
5250 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5252 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5254 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5257 2001-12-13 André Pönitz <poenitz@gmx.net>
5260 * undo_func.C: minor cleanup
5262 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5264 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5265 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5266 font in urw-fonts package which is marked as -urw-fontspecific and
5267 does not work (incidentally, changing the encoding in the
5268 fonts.dir of this package to -adobe-fontspecific fixes the
5271 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5272 is a crash when undoing first paragraph (Juergen, please take a
5273 look). THis does not mean the undo fix is wrong, just that it
5276 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5277 the (Paragraph*) version when needed instead of duplicating the
5280 * text.C (workWidth): use Inset::parOwner to find out where the
5281 inset has been inserted. This is a huge performance gain for large
5282 documents with lots of insets. If Inset::parOwner is not set, fall
5283 back on the brute force method
5285 * paragraph_pimpl.C (insertInset):
5286 * paragraph.C (Paragraph):
5287 (cutIntoMinibuffer): set parOwner of insets when
5288 inserting/removing them
5290 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5292 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5298 * mathed/formulabase.C:
5299 * mathed/math_cursor.[Ch]:
5300 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5303 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5305 * lyxlength.[Ch] (operator!=): new function
5307 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5309 * text.C (workWidth): use Inset::parOwner to find out where the
5310 inset has been inserted. This is a huge performance gain for large
5311 documents with lots of insets. If Inset::parOwner is not set, fall
5312 back on the brute force method
5314 * paragraph_pimpl.C (insertInset):
5315 * paragraph.C (Paragraph):
5316 (cutIntoMinibuffer): set parOwner of insets when
5317 inserting/removing them
5319 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5321 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5323 * tabular-old.C (getTokenValue):
5324 * tabular.C (getTokenValue):
5325 (write_attribute): new versions for LyXLength
5326 (everywhere): adjust the use of widths
5328 * tabular.h: change the type of widths from string to LyXLength
5330 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5332 * paragraph.C: fixed missing line number count when exporting
5333 Environments to LaTeX file
5335 * buffer.C: added informational message for checking line numbers.
5337 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5339 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5340 paragraph, do the 'double space' part, but not the 'empty
5343 * text.C (workWidth): small optimization
5344 (getLengthMarkerHeight): use minimal size for negative lengths.
5346 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5348 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5350 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5352 2001-12-11 André Pönitz <poenitz@gmx.net>
5355 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5357 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5359 * text2.C: keep selection on a setFont()
5361 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5363 * lyx_cb.C: another bv->text misuse, from insert label
5365 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5368 * kbsequence.C: re-instate nmodifier mask
5370 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5372 * lyx_main.h: make lyxGUI private.
5374 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5376 * lyxfind.C: place the cursor correctly on failed search
5378 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5380 * text.C (getLengthMarkerHeight): for small heights, the arrows
5381 are not always on top/bottom of the text
5382 (drawLengthMarker): smaller arrows; take the left margin in
5383 account; draw also vfills.
5385 (paintLastRow): remove special code for vfill and standard spaces,
5386 since everything is handled in drawLengthMarker now.
5388 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5390 * buffer.C (insertErtContents): try to handle font and language
5391 interaction a bit better.g
5393 * ColorHandler.C (updateColor): change the hash to cover the whole
5394 LColor enum, ws cleanup
5395 (getGCLinepars): ditto
5396 (getGCLinepars): only lookup in the linecache once.
5398 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5400 * iterators.C (operator++): Make the iterator more robust
5402 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5404 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5406 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5409 * text.C: better added space drawing
5411 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5414 * BufferView2.C: fix layout combo update on inset unlock
5416 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5418 * Makefile.am: don't compile unused files
5420 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5424 * LyXAction.C: remove old LFUN_LAYOUTNO
5426 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5428 * paragraph_pimpl.h:
5429 * paragraph_pimpl.C: isTextAt() doesn't need font param
5431 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5434 * lyxlex.C: little cleanup
5436 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5438 * BufferView_pimpl.C: fix insertAscii for insets
5440 2001-12-05 Juergen Vigna <jug@sad.it>
5442 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5443 set the right font on the "multi" paragraph paste!
5445 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5451 * lyxlength.C: remove out-commented code.
5467 * vc-backend.C: change "while(" to "while ("
5469 * lyxlength.[Ch]: add zero function to check if length is zero or
5471 * lyxgluelength.C: use it
5473 2001-12-05 Allan Rae <rae@lyx.org>
5475 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5476 Works for 2.95.3, from what I understand of Garst's reports this should
5477 work for other g++ versions. We're screwed if the abs(int) definition
5478 changed between bugfix releases of gcc.
5480 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5482 * text.C: fix chapter label offset !
5484 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5487 * text.C: fix hfill at end of line, clean up
5489 2001-12-04 Juergen Vigna <jug@sad.it>
5491 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5492 that we force an update of the inset and it's owners if neccessary.
5494 2001-12-03 Juergen Vigna <jug@sad.it>
5496 * text.C (rowLast): simplified code
5498 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5500 * lyxfunc.C: fix show options on timeout
5502 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5504 * screen.C (topCursorVisible): scroll half a page when the cursor
5505 reached top of bottom of screen
5507 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5509 * minibuffer.C: deactivate on loss of focus
5511 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5513 * vspace.[Ch] (operator!=): add operator.
5515 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5517 * BufferView_pimpl.C: refuse to open an inset when
5518 there's a selection.
5520 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5522 * BufferView_pimpl.C: allow to click on RHS of full row insets
5524 2001-11-30 Juergen Vigna <jug@sad.it>
5526 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5527 insets for undo reasons.
5529 2001-11-28 André Pönitz <poenitz@gmx.net>
5531 * vspace.[Ch]: cosmetical changes
5533 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5543 * kbsequence.C: part re-write of old kb code
5546 * WorkArea.C: remove Lgb_bug_find_hack
5548 2001-11-30 José Matos <jamatos@fep.up.pt>
5550 * buffer.C (makeDocBookFile): add a comment to point a hack.
5551 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5552 Fixed a double write of labels.
5554 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5557 * LaTeX.h Fixed bug in LaTeX class where it would not
5558 re-run latex if no depfiles were changed, but the .dvi was removed.
5560 2001-11-28 André Pönitz <poenitz@gmx.net>
5562 * all the files from the change on 2001/11/26:
5563 use lyx::layout_type instead of LyXTextClass::size_type
5564 use lyx::textclass_type instead of LyXTextClassList::size_type
5566 2001-11-29 Juergen Vigna <jug@sad.it>
5568 * text.C: added support for paragraph::isFreeSpacing()
5570 * buffer.C: same as above
5572 * paragraph.h: inserted isFreeSpacing() function to enable
5573 FreeSpacing inside InsetERT.
5575 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5576 of the paragraph's in the cut/copy buffer to 0!
5578 * text2.C (removeRow): remove the assert as it can!
5580 * lyxtext.h: added helper function firstRow returning firstrow and
5581 made firstrow private again.
5583 * BufferView2.C (lockInset): don't relock if we're already locked!
5585 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5587 (removeRow): added Assert::(firstrow)
5589 * debug.C: forgot to add INSETTEXT here.
5591 2001-11-28 Juergen Vigna <jug@sad.it>
5593 * sp_spell.C (initialize): changed error text to more general
5594 spellchecker command use (not only ispell!)
5596 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5598 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5600 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5602 * vspace.C: initialise lyxgluelength on failure
5604 2001-11-28 Allan Rae <rae@lyx.org>
5606 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5607 declaration & definition that looks like a function declaration.
5609 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5611 * BufferView2.C (copy):
5612 (copyEnvironment): do not clear the selection when doing a copy.
5614 * text.C (paintFirstRow): compilation fix
5616 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5618 * tabular.C (Latex): correct line count when writing latex.
5620 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5622 * paragraph_pimpl.h:
5623 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5626 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5630 * LColor.C: change vfillline->added_space
5632 * text.C: add markers and text for added space
5634 * vspace.C: fix comment
5636 2001-11-28 André Pönitz <poenitz@gmx.net>
5638 * paragraph.C: whitespace changes
5639 * all the other files from the change on 2001/11/26:
5640 change *::pos_type into lyx::pos_type
5642 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5644 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5645 language of the document when inserting error insets.
5647 2001-11-26 André Pönitz <poenitz@gmx.net>
5649 * BufferView_pimpl.[Ch]:
5657 * paragraph_pimpl.[Ch]:
5660 * text2.C: reduce header dependencies, introduce type for positions
5662 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5664 * <various>: change to use Alert.h
5666 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5668 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5669 when encountering an unknown token.
5670 (readLyXformat2): Show an error message if there were unknown tokens.
5672 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5675 * BufferView_pimpl.C:
5679 * text2.C: use par->isInset()
5681 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5683 * paragraph_pimpl.h:
5684 * paragraph_pimpl.C: cleanup
5686 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5688 * text2.C (removeRow):
5689 * text.C (setHeightOfRow): remove useless (and costly) call to
5692 2001-11-20 Allan Rae <rae@lyx.org>
5694 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5695 Now need Inset*::checkInsertChar() to return true for appropriate
5696 cases so that the characters in the minibuffer will actually be
5699 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5701 * text.C: change the order of the includes.
5702 (workWidth): initialize it at once.
5703 (workWidth): make maxw unsigned
5704 (setHeightOfRow): remove unused variable (inset)
5705 (selectSelectedWord): remove unused variable (inset)
5706 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5708 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5710 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5711 server is not running.
5713 (closeConnection): add debug info when server is disabled.
5715 * ColorHandler.C (getGCForeground): send debug message to GUI
5718 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5720 * kbmap.C (bind): modify because return conventions of
5721 kb_sequence::parse have changed.
5723 * kbsequence.C (parse): only ignore spaces and not any stupid
5724 control character. This avoids tests like s[i] <= ' ', which are
5725 guaranteed to fail with 8bit characters and signed chars.
5726 Change return code to string::npos when there have been no error
5727 (0 was a bad idea when error is at first character)
5729 2001-11-14 José Matos <jamatos@fep.up.pt>
5732 * buffer.C (simpleDocBookOnePar): removed unused argument.
5734 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5736 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5737 insets which are part of a word. Paragraph::isLetter takes care of
5738 that now. Use Paragraph::isInset to identify insets.
5739 (selectSelectedWord): do not test for hyphenation break.
5741 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5742 that protected spaces are considered as spaces.
5744 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5747 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5750 * lyxserver.C: fix it. and small cleanup.
5752 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5754 * BufferView_pimpl.C: use inline helpers
5757 * LaTeXFeatures.C: fix typos
5760 * Spacing.C: move spacing_string into class
5762 * ToolbarDefaults.C: move stuff into namespace anon
5764 * layout.h: update enum
5766 * lyxfunc.C: use better debug
5768 * minibuffer.h: fix typo
5772 * WorkArea.C: add and use Debug::WORKAREA
5776 * text2.C: code re-organisation, inline helpers
5778 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5780 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5781 std::vector.empty().
5783 2001-11-09 Allan Rae <rae@lyx.org>
5785 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5786 '\n's after tables. Tabular and ERT inset work now makes this no
5789 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5792 * minibuffer.C: fix crash, improve drop-down completion
5794 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5797 * lyxserver.C: invalidate fd's when doing endPipe()
5799 2001-11-08 José Matos <jamatos@fep.up.pt>
5801 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5802 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5805 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5807 2001-11-07 José Matos <jamatos@fep.up.pt>
5810 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5813 * buffer.C (sgmlOpenTag):
5814 * buffer.C (sgmlCloseTag): removed debug info.
5816 * buffer.h (sgmlOpenTag):
5817 * buffer.h (sgmlCloseTag): made public.
5819 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5821 * buffer.C (saveParamsAsDefaults):
5822 * lyx_cb.C (MenuLayoutSave): remove
5824 * LyXAction.C (init):
5826 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5828 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5830 * buffer.C (setPaperStuff): removed from here...
5832 * bufferparams.C (setPaperStuff): ... and moved there.
5834 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5838 * XFormsView.C: add support for drop-down completion
5840 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5842 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5845 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5847 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5850 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5852 * lyx_main.C: change ref to known bugs
5854 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5856 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5857 to work around older babel problems.
5859 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5861 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5863 2001-10-24 Juergen Vigna <jug@sad.it>
5865 * tabular-old.C (ReadOld): below variable changes reflected.
5867 * tabular.[Ch]: added ltType struct for longtable header/footer
5868 defines and changed all instances where they are used. Added
5869 future support for double top/bottom rows.
5871 2001-10-24 José Matos <jamatos@fep.up.pt>
5873 * buffer.h (docbookHandleCaption):
5874 * buffer.C (docbookHandleCaption): removed unused function.
5875 (makeDocBookFile): moved docbook supported version to v4.1.
5877 2001-10-24 José Matos <jamatos@fep.up.pt>
5880 * tabular.C (docbookRow): new function to export docbook code of a row.
5881 (DocBook): now honors the longtable flags.
5883 2001-10-23 José Matos <jamatos@fep.up.pt>
5886 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5887 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5889 * buffer.C (makeLinuxDocFile):
5890 (makeDocBookFile): reworked the preamble, more clean, and with
5891 support for lyx defined entities. Changed the document declaration
5892 to be more XML friendly.
5894 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5895 if we need to output XML that should be done with a filter.
5897 2001-10-22 Juergen Vigna <jug@sad.it>
5899 * sp_pspell.h (class PSpell): add alive function needed in the
5900 controller to see if the spellchecker could be started.
5902 2001-10-22 Juergen Vigna <jug@sad.it>
5904 * buffer.C (insertStringAsLines): modify the font for inserting
5905 chars in certain conditions by calling checkInsertChar(font).
5907 2001-10-19 Juergen Vigna <jug@sad.it>
5909 * text.C (workWidth): use getRow instead of wrong algorithm.
5910 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5912 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5917 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5919 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5921 * text.C (workWidth): do not search for the exact row when
5922 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5923 optimization for big documents.
5925 2001-10-18 Juergen Vigna <jug@sad.it>
5927 * text.C (workWidth): new function with added Inset * parameter.
5929 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5931 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5933 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5934 change return type of getColumnNearX.
5937 * text.C (changeRegionCase): use uppercase/lowercase instead of
5940 (rightMargin): simplify code by factoring out the uses of
5945 (appendParagraph): use Paragraph::size_type
5947 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5949 * vspace.C (asLatexString): add a missing break
5951 2001-10-15 Herbert Voss <voss@perce.de>
5953 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5955 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5957 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5960 2001-10-10 André Pönitz <poenitz@gmx.net>
5962 * lyxfunc.C: removed greek_kb_flag.
5964 2001-10-10 Herbert Voss <voss@perce.de>
5966 * lyx_main.C: delete global string help_lyxdir.
5968 2001-10-09 Herbert Voss <voss@perce.de>
5970 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5972 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5974 * lyx_main.C: added global string help_lyxdir.
5976 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5978 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5980 * lyxrc.C (set_font_norm_type): support iso8859-4
5982 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5984 * LaTeX.C (deplog): add another regex for MikTeX
5986 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5988 * lyxrc.C (set_font_norm_type): support iso8859-3
5990 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5992 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5994 * LaTeXFeatures.C: remove special case of french and index
5996 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5997 before \begin{document}). This solves several incompatibilities.
5999 2001-10-03 Garst Reese <reese@isn.net>
6001 * lyx_cb.C: change CheckTex error msg.
6003 2001-10-03 José Matos <jamatos@fep.up.pt>
6005 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6007 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6009 * .cvsignore: update
6011 * lyx_main.C (commandLineVersionInfo): use new style version info.
6013 * buffer.C (writeFile):
6016 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6018 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6020 * version.h: update to use stuff in version.C
6022 * version.C.in: new file. Contains version information determined
6023 at compile time. This is a merging of version.h and
6026 2001-10-03 Juergen Vigna <jug@sad.it>
6028 * BufferView_pimpl.C (update): don't change "dirty" status in
6031 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6033 * WorkArea.C (c-tor): re-position version string slightly.
6035 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6037 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6038 revert to previous code.
6040 WorkArea.[Ch]: (show, destroySplash): methods removed.
6042 WorkArea.C: rework code so that it's an amalgam of the codes before and
6043 after the splash screen was moved to WorkArea.
6045 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6048 * vspace.C (inPixels):
6051 * buffer.C (insertStringAsLines):
6052 (asciiParagraph): fix types to be large enough
6054 * lyxlex_pimpl.h: change member status from short to int
6056 * layout.h: fix type of endlabeltype
6059 * kbsequence.C (parse): change return type to string::size_type
6061 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6064 * Bullet.C (bulletSize):
6065 (bulletEntry): do not use short ints as parameters
6067 * BufferView2.C (insertLyXFile): change a char to an int.
6069 * WorkArea.C (WorkArea): remove unneeded floats in computation
6071 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6073 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6075 * paragraph.C (asString): Do not ignore newline/hfill chars when
6076 copying to the clipboard.
6078 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6080 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6081 after a multi-line inset.
6083 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6085 * paragraph.C (validate): Set NeedLyXFootnoteCode
6087 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6089 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6090 and decrease-error to decrease.
6092 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6094 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6095 it more readable (should be equivalent)
6097 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6099 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6101 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6103 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6104 of a cursor (row, etc.) after a character has been deleted
6105 (deleteEmptyParagraphMechanism): call the method above on _all_
6106 cursors held by the LyXText when a double space has been
6109 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6111 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6113 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6115 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6116 background. Use greyOut() and the new show() methods to toggle between
6117 the foreground and background. Add code to remove the splash after
6118 its initial showing.
6120 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6121 (create_forms): no longer call Dialogs::showSplash.
6123 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6125 * .cvsignore: add version_info.h
6127 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6129 * version_info.h.in: new file
6131 * Makefile.am: add version_info.h.in
6133 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6134 version_info.h instead of VERSION_INFO
6136 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6138 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6139 The ERT inset now returns string().
6141 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6143 * lyxtext.h, text.C (selectNextWord): renamed as
6144 selectNextWordToSpellcheck.
6146 * text.C (selectNextWordToSpellcheck): Modified to not select
6147 words inside an ERT inset.
6149 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6151 * lyx_cb.C (MenuLayoutSave): change a bit the question
6153 * sp_base.h: include <sys/types.h>
6155 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6157 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6159 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6161 * several files: fix typos in user-visible strings
6163 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6165 * text2.C (pasteSelection): do not set the selection, since it
6166 will be cleared later. Actually, the intent was to fix the way the
6167 selection was set, but I figured rmoving the code was just as good.
6169 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6171 * FontLoader.C (available): Check if font is available without
6174 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6176 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6178 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6180 * lyxrc.[Ch]: added display_graphics variable and associated code.
6182 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6184 * bufferparams.C (hasClassDefaults): new method. Returns true if
6185 the buffer parameters correspond to known class defaults
6187 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6189 * XFormsView.C (show): set minimum size to the main window.
6191 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6193 * text2.C (copySelection):
6195 * lyxfind.C (LyXReplace):
6196 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6197 LyXText::selectionAsString.
6199 * paragraph.C (asString): add "label" argument to the second form
6201 * text2.C (selectionAsString): add "label" argument and pass it to
6202 Paragraph::asString.
6204 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6206 * lyx_main.C (commandLineHelp): remove version information
6208 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6210 * lyx_main.C: add -version commandline option
6212 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6214 * paragraph.h: make the optional constructor arg required instead.
6215 some modifications to other files because of this.
6217 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6219 * lyxserver.C (C_LyXComm_callback): make it static
6221 * lyx_main.C (error_handler): make it static
6223 * lyx_gui.C (LyX_XErrHandler): make it static
6225 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6227 * WorkArea.C: make the extern "C" methods static.
6229 * Makefile.am (lyx_LDADD): simplify
6231 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6233 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6234 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6236 * LyXAction.C (init):
6237 * lyxfunc.C (dispatch): associated code removal.
6239 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6241 * lyxfont.h (isSymbolFont): shut off warning
6243 * text.C (setHeightOfRow):
6244 (getVisibleRow): fix crash with empty paragraphs which have a
6247 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6249 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6252 2001-09-04 José Matos <jamatos@fep.up.pt>
6255 * tabular.C (docbook): rename docBook method to docbook.
6257 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6259 * Makefile.am: add dependencies to main.o.
6261 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6263 * FontLoader.C (available): Return false if !lyxrc.use_gui
6265 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6267 * FontInfo.C (query):
6268 * converter.C (view):
6269 * importer.C (Import):
6270 * exporter.C (Export): Can not -> cannot.
6272 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6274 * BufferView_pimpl.C: allow to create index inset even if
6277 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6279 * buffer.C (getLists): replace boost::tie code with an explicit pair
6280 as boost::tie can break some compilers.
6282 * iterators.h: Added a std:: declaration to the return type of
6285 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6287 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6290 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6292 * iterators.[Ch]: New files. Provide paragraph iterators.
6294 * buffer.C (changeLanguage): Use paragraph iterators.
6295 (isMultiLingual): ditto
6297 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6299 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6301 * FontLoader.C: Support for cmr font.
6303 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6305 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6306 (available): New method.
6308 * FontInfo.C (getFontname): Use scalable fonts even when
6309 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6312 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6314 * converter.C (Formats::view): reverted! Incorrect fix.
6316 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6318 * converter.C (Formats::view): only output the -paper option
6319 if the dvi viewer is xdvi, thereby fixing bug #233429.
6321 2001-08-23 Herbert Voss <voss@perce>
6323 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6325 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6327 * Spacing.h (Spacing): Set space to Default on in the default
6330 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6332 * vc-backend.h (RCS::versionString): add RCS to version
6333 (CVS::versionString): add CVS to version
6335 * vc-backend.C (scanMaster): do not add CVS to version.
6336 (scanMaster): do not add RCS to version
6338 * lyxvc.C (versionString): new method
6340 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6342 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6344 * Spacing.C (set): initialize fval
6346 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6348 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6351 2001-08-16 Juergen Vigna <jug@sad.it>
6353 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6355 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6357 * BufferView_pimpl.C:
6360 * text2.C: setParagraph takes linespacing now
6362 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6364 * LyxAction.C: add internal LFUN_CITATION_INSERT
6366 * LyXView.C: actually apply fix
6368 * bufferlist.C: fix open non-existent file
6370 * lyxfind.C: fix indentation
6372 * lyxfunc.C: remove unneeded assert, fix typo
6374 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6376 * MenuBackend.C: use "Floatname List"
6378 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6380 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6381 when converting LaTeX layout to insetERT.
6382 Generate a non-collapsed float when reading old float
6384 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6386 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6389 2001-08-13 Juergen Vigna <jug@sad.it>
6391 * text.C (fill): return 0 instead of 20 as this seems to be the more
6394 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6396 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6399 2001-08-13 Juergen Vigna <jug@sad.it>
6401 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6403 (SearchBackward): comment out the unlocking of the inset_owner this
6404 should not be needed!
6406 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6408 * Many files: Remove inherit_language, and add latex_language
6410 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6413 2001-08-10 Juergen Vigna <jug@sad.it>
6415 * text.C (prepareToPrint): fixed hfill-width in draw!
6417 * BufferView2.C (selectLastWord): save the selection cursor as this
6418 now is cleared in the function LyXText::clearSelection!
6420 2001-08-08 Juergen Vigna <jug@sad.it>
6422 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6423 BACKSPACE type functions.
6425 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6426 is only cutted from the document but not put in the cut-buffer, where
6427 still the old stuff should be.
6429 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6431 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6433 * tabular.C (SetWidthOfCell): fixed special case where the width
6435 (LeftLine): handle '|' in align_special.
6437 (LeftAlreadyDrawed): ditto
6438 (SetWidthOfCell): ditto
6440 2001-08-07 Juergen Vigna <jug@sad.it>
6442 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6444 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6446 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6447 * lyxlex.[hC]: ditto
6449 2001-08-06 Juergen Vigna <jug@sad.it>
6451 * text.C (getVisibleRow): fix up row clearing a bit.
6453 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6455 * minibuffer.C: make sure the X server sees the changes in the input.
6457 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6459 * paragraph.C (getFont): split into...
6460 (getLabelFont): this
6461 (getLayoutFont): and this
6462 * paragraph_pimpl.C (realizeFont): calling this
6464 * text2.C (getFont): split into...
6465 (getLayoutFont): this
6466 (getLabelFont): and this
6467 (realizeFont): all three calling this
6469 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6472 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6474 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6476 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6478 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6479 layouts from the Quote inset insertion.
6481 2001-08-03 Juergen Vigna <jug@sad.it>
6483 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6485 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6486 only if status not is already CHANGED_IN_DRAW (second level).
6488 * text.C (draw): don't set the need_break_row when inside an
6491 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6493 * buffer.C (parseSingleLyXformat2Token): handle more latex
6496 * bufferview_funcs.[hC]: change function names to
6497 begin with small char, adjust other files.
6499 2001-08-02 André Pönitz <poenitz@gmx.net>
6502 BufferView_pimpl.C: remove broken special code for math-greek
6504 2001-08-02 Juergen Vigna <jug@sad.it>
6506 * BufferView_pimpl.C (update): redone this function so that we
6507 update the text again if there was a CHANGE_IN_DRAW.
6509 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6510 (drawFromTo): added a new internal bool which is used by draw() and
6512 (general): some cursor drawing problems fixed.
6514 2001-08-01 Juergen Vigna <jug@sad.it>
6516 * lyxfind.C (LyXFind): fixed
6517 (SearchForward): ditto
6518 (SearchBackward): ditto
6520 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6521 spurius drawing of the cursor in the main area.
6523 * text2.C (status): small fix which could lead to a segfault!
6524 (clearSelection): remove unneeded BufferView param.
6526 2001-08-01 André Pönitz <poenitz@gmx.net>
6528 * lyxfunc.C: small change due to changed mathed interface
6530 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6532 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6534 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6536 * lyxfunc.c: fail gracefully if file doesn't exist
6541 * BufferView_pimpl.C: IsDirWriteable() proto changed
6543 * LyXView.C: fix updateWindowTitle() to store the last title
6545 2001-07-31 Juergen Vigna <jug@sad.it>
6547 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6548 the font (wrong since using of Paragraph::highestFontInRange).
6550 * paragraph.C (highestFontInRange): added a default_size parameter.
6552 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6553 (setHeightOfRow): reformat
6555 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6557 * converter.[hC] + affected files: move to (inital-char)lowercase
6560 * ParagraphParameters.C (ParagraphParameters): remove commented code
6562 * PainterBase.[Ch]: remove commented code
6564 * LaTeXFeatures.h: add "bool floats" for float.sty
6566 * LaTeXFeatures.C (LaTeXFeatures): init floats
6567 (require): handle float
6568 (getPackages): do it with floats
6570 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6572 * BufferView_pimpl.C (Dispatch): improve handling of
6573 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6575 * commandtags.h: #include lyxfont.h here temporarily to avoid
6578 * bufferlist.h: include LString.h here.
6580 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6582 * text2.C (getStringToIndex): new method.
6584 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6586 * *: Reduced header file dependencies all over.
6588 2001-07-30 Baruch Even <baruch@lyx.org>
6590 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6592 2001-07-29 Baruch Even <baruch@lyx.org>
6594 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6596 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6598 * ParameterStruct.h (endif): add a default constructor to make
6599 sure that all variables is initialized.
6601 * ParagraphParameters.C (ParagraphParameters): adjust
6603 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6605 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6606 index; also, check that there is something to index, and that it
6607 does not span over several paragraphs.
6608 (doubleClick): use WHOLE_WORD_STRICT for double click.
6610 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6612 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6615 2001-07-26 Baruch Even <baruch@lyx.org>
6617 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6618 an InsetFig figure, backwards compatible reading of old figure code.
6620 2001-07-27 Juergen Vigna <jug@sad.it>
6622 * text2.C: font.realize function adaption.
6624 * text.C (draw): add a warnings lyxerr text if needed.
6626 * layout.C: font.realize function adaption.
6628 * language.C: add inherit_language and implement it's handlings
6630 * bufferview_funcs.C (StyleReset): remove language parameter from
6631 font creation (should be language_inherit now).
6633 * bufferparams.C (writeFile): handle ignore_language.
6635 * paragraph.C (getFontSettings): the language has to be resolved
6636 otherwise we have problems in LyXFont!
6638 * lyxfont.C (lyxWriteChanges): added document_language parameter
6639 (update): removed unneeded language parameter
6641 * paragraph.C (validate): fixed wrong output of color-package when
6642 using interface colors for certain fonts in certain environments,
6643 which should not seen as that on the final output.
6645 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6647 * BufferView_pimpl.C:
6652 * LyXAction.C: add thesaurus support
6655 * lyxfind.C: add "once" parameter, for thesaurus, to not
6656 move to the next match
6658 2001-07-26 Juergen Vigna <jug@sad.it>
6660 * lyxfont.C (realize): honor ignore_language too!
6663 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6665 * text.C (draw): one place more for ignore_language to not draw
6668 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6670 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6672 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6674 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6675 the minipage conversion problem.
6677 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6679 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6682 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6684 * BufferView.h: don't forward declare WorkArea
6686 * BufferView.C: don't include WorkArea.h
6688 2001-07-25 André Pönitz <poenitz@gmx.net>
6692 * lyxfunc.C: new LFUN 'math-space'
6694 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6696 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6698 * text2.C (toggleInset): call open/close
6700 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6702 * lyxfunc.C (dispatch): add debug for the disabled case
6704 * font.C (buttonText): make similar to rectText
6706 * buffer.C (readInset): comment out parsing of insetlist and
6709 * PainterBase.C (rectText): small correction
6711 * BufferView_pimpl.C: comment out insettheorem and insetlist
6712 * LyXAction.C: ditto
6713 * commandtags.h: ditto
6715 2001-07-24 Juergen Vigna <jug@sad.it>
6717 * text.C (draw): honor the ignore_language.
6719 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6721 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6723 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6726 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6728 * lyxtext.h: remove unused (and unimplemented) methods
6730 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6732 * text.C (getVisibleRow): honor background color
6735 * Painter.h: remove default color argument for fillRectangle
6737 * text.C (backgroundColor): new method
6739 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6741 * text.C (getVisibleRow): adjust
6743 * font.[Ch] (rectText): new method, metrics
6744 (buttonText): new method, metrics
6746 * PainterBase.[hC]: make rectText and buttonText always draw and take
6749 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6751 * ToolbarDefaults.C (read):
6752 * MenuBackend.C (read): allow escaping in all strings
6754 * BufferView_pimpl.C (insertAndEditInset): new method.
6755 (Dispatch): use insertAndEditInset whenever appropriate.
6757 * BufferView_pimpl.C (insertNote): removed
6759 * BufferView_pimpl.C (smartQuote): new method, moved from
6760 BufferView; if an insetquote cannot be inserted, insert a '"'
6763 * BufferView2.C: remove insertCorrectQuote();
6765 * lyxfunc.C (getStatus): Add support for all remaingin
6768 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6770 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6771 command (necessary to pass " as parameter of self-insert.
6773 * text.C (selectWordWhenUnderCursor):
6774 (selectWord): add word_location parameter
6775 (selectWordWhenUnderCursor): same + remove special code for word
6777 (selectNextWord): use kind() to guess type of insetspecialchar,
6780 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6781 (insertErtContents): create ert insets as collapsed.
6782 (readInset): better compatibility code for Info inset.
6784 2001-07-20 Juergen Vigna <jug@sad.it>
6786 * lyxfunc.C (dispatch): use always LyXFind now!
6788 * text2.C (init): add a reinit flag so that the LyXText can be
6789 reinited instead of deleted and reallocated (used in InsetText).
6791 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6797 2001-07-18 Juergen Vigna <jug@sad.it>
6799 * text.C (selectNextWord): handle insets inside inset by calling
6800 always the bv->text functions so that we can go up the_locking_inset!
6802 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6803 in strange locations when inside an inset!
6805 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6806 handling to include insets.
6808 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6810 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6812 * LyXAction.C (init):
6814 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6815 LIGATURE_BREAK, since the name is so stupid.
6817 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6819 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6822 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6824 * sp_form.[Ch]: remove.
6826 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6828 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6831 * src/buffer.C (readInset): ditto.
6833 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6835 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6836 menuSeparator(), endOfSentenceDot(), ldots() and
6837 hyphenationPoint(), which are therefore removed.
6838 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6840 * LyXAction.C (init):
6841 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6843 * paragraph.C (getWord): removed.
6845 * BufferView_pimpl.C (Dispatch): use last word or selection for
6846 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6848 * lyx_main.C (queryUserLyXDir): do not ask before creating
6849 user_dir, except if it has been named explicitely.
6851 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6853 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6854 a document of zero size.
6856 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6858 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6859 approriately in the c-tor and in require().
6860 (getPackages): output the appropriate LaTeX for natbib support.
6862 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6863 variables "use_natbib" and "use_numerical_citations" when reading the
6865 (readInset): read the various natbib cite commands.
6866 (validate): white-space change.
6868 * bufferparams.[Ch]: new variables "bool use_natbib" and
6869 "bool use_numerical_citations".
6870 (writeFile): output them in the LyX file.
6872 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6874 * lyxfunc.C (getStatus): add support for all the inset insertion
6877 * text2.C (insertInset):
6878 * paragraph.C (insetAllowed):
6879 * BufferView_pimpl.C (insertInset): update to take in account the
6880 renaming of insertInsetAllowed
6882 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6884 * text2.C (getInset): new method. returns inset at cursor position.
6886 * BufferView_pimpl.C (Dispatch): changes because of this.
6888 * LyXAction.C (init): rename open-stuff to inset-toggle.
6890 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6892 * text2.C (toggleInset): renamed from openStuff; use
6895 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6897 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6899 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6901 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6903 * buffer.C (readLyXformat2): Add filename to the error dialog
6905 2001-07-18 Juergen Vigna <jug@sad.it>
6907 * tabular.C (GetCellNumber): put an assert here instead of the check!
6909 2001-07-17 Juergen Vigna <jug@sad.it>
6911 * BufferView_pimpl.C (toggleSelection): adapted too.
6913 * text.C (selectNextWord): adapted for use with insets.
6914 (selectSelectedWord): ditto
6916 2001-07-17 Juergen Vigna <jug@sad.it>
6918 * sp_spell.C (PSpell): fix initialitation order.
6920 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6922 * paragraph.C: spacing
6924 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6926 * sp_spell.C: repair language selection for pspell
6928 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * lyxfunc.h: change more methods to begin with lower char.
6932 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6934 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6935 for unknown layouts.
6937 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6939 * buffer.C (readLyXformat2): Generate an error dialog if there are
6942 2001-07-16 Juergen Vigna <jug@sad.it>
6944 * sp_spell.C: always compile ISpell part.
6946 * lyxrc.C: added use_pspell entry and it's handling.
6948 2001-07-13 Juergen Vigna <jug@sad.it>
6950 * sp_spell.C: removed double includes.
6952 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6954 Consistent use of Lsstream.h:
6955 * Lsstream.h: added using std::stringstream for consistencies sake.
6957 * buffer.C: removed using std::stringstream
6959 * lyxfont.C (stateText):
6960 * paragraph.C (asString):
6961 * text.C (selectNextWord, selectSelectedWord):
6962 * text2.C (setCounter):
6963 * vspace.C (asString, asLatexString):
6964 std::ostringstream -> ostringstream.
6966 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6968 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6969 * commandtags.h: add LFUN_HELP_ABOUTLYX
6970 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6972 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6974 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6976 * lyx_gui_misc.C: remove spellchecker
6977 * lyxfunc.C: showSpellchecker
6979 * sp_ispell.h: added
6980 * sp_pspell.h: added
6982 * sp_form.[Ch]: removed
6983 * spellchecker.[Ch]: removed
6985 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6987 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6989 (simpleTeXSpecialChars): Simply print the input character without
6990 any special translation if pass_thru is set.
6992 * layout.h: Added bool pass_thru to layout class for being able to
6993 implement pass through of a paragraph for Literate Programming.
6995 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6996 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6997 * layout.C (Read): add "passthru" to list of layout tags and add
6998 code to set the pass_thru boolean when it is read.
7000 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7002 * trans_decl.h: remove allowed from KmodInfo
7004 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7008 * paragraph_pimpl.C (erase): use boost::prior
7010 * Painter.C (text): use data() instead of c_str() when length is
7012 * WorkArea.C (putClipboard): ditto
7013 * font.h (width): ditto
7015 * BufferView2.C: use it-> instead of (*it). for iterators
7017 * paragraph_pimpl.C: ditto
7018 * paragraph.C: ditto
7019 * minibuffer.C: ditto
7024 * converter.C: ditto
7026 * Variables.C: ditto
7027 * TextCache.C: ditto
7028 * MenuBackend.C: ditto
7029 * LyXAction.C: ditto
7031 * FloatList.C: ditto
7033 * ColorHandler.C (LyXColorHandler): ditto
7035 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7037 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7039 * text2.C (openStuff): reintroduce this method (which had been
7040 nuked in NEW_INSETS frenzy).
7042 * lyxfunc.C (Dispatch): when an action has not been handled, use
7043 its name in the error message, not its number.
7045 * paragraph.C (inInset): change method name to begin with lowercase.
7048 * text2.C: updates because of this.
7050 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7052 * ToolbarDefaults.C (add): add spaces in error message
7054 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7056 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7057 (readLyXformat2): rename return_par to first_par, use lyxlex's
7058 pushToken and remove the manual push handling.
7059 (parseSingleLyXformat2Token): add another ert comp. variable:
7060 in_tabular, rename return_par to first_par. handle newlines better
7062 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7064 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7066 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7068 * text2.C (getParFromID): removed
7070 * buffer.C (getParFromID): new method moved form lyxtext.
7071 * BufferView2.C (insertErrors): adjust
7072 (setCursorFromRow): adjust
7073 * BufferView_pimpl.C (restorePosition): adjust
7074 * lyxfunc.C (Dispatch): adjust
7075 * undo_funcs.C (textUndo): adjust
7077 (textHandleUndo): adjust
7078 (textHandleUndo): adjust
7080 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7082 * buffer.C: up' the LYX_FORMAT
7084 * lyxfont.h: turn NO_LATEX on as default
7086 * buffer.C (insertErtContents): new methods of tex style compability.
7087 (parseSingleLyXformat2Token): use it several places.
7088 * tabular.C (OldFormatRead): and here
7090 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7092 * text2.C: remove some commented code.
7095 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7096 * trans.C: changes because of the above.
7098 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7100 * text2.C (setCounter): Fix counters bug with bibliography layout.
7102 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7104 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7105 own member functions
7106 (simpleTeXSpecialChars): ditto
7108 2001-07-06 Juergen Vigna <jug@sad.it>
7110 * a lot of files: changed the access to LyXText::status and the
7111 call of undo-functions.
7113 * undo.[Ch]: added a inset_id to the undo informations.
7115 * undo_funcs.[Ch]: added and moved here all undo functions.
7117 * lyxtext.h: give the status enum a weight, made status_ a private
7118 variable and made accessor functions for it, removed the whole bunch
7119 of undo-functions as they are now in their own file, make some
7120 functions publically available. Added function ownerParagraph with
7123 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7124 made InInset() a const function, added getParFromID() function.
7126 * buffer.[Ch]: added const version for inset_iterator functions,
7127 added getInsetFromID() function.
7129 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7130 changed undo functions for new version.
7132 2001-07-05 Juergen Vigna <jug@sad.it>
7134 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7135 unknow mechanism does not call the proper constructor but only this
7136 one also if I request the other!?
7138 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7140 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7142 * text2.C (LyXText): use initialization lists.
7144 * lyxtext.h (Selection): initialize set_ and mark_
7145 (init): remove method
7147 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7149 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7151 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7153 * screen.[Ch]: change method names to begin with lowercase
7155 * BufferView_pimpl.C (updateScrollbar): simplify further and
7156 hopefully make it a bit faster.
7158 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7160 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7161 calling directly xforms functions.
7163 * Painter.C (Painter):
7164 * lyx_cb.C (MenuWrite):
7165 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7168 * lyx_gui.C: remove bogus guiruntime extern declaration.
7170 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7172 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7174 (redoDrawingOfParagraph): ditto
7175 (redoParagraphs): ditto
7176 (cutSelection): don't create a object for CutAndPaste use the
7177 static method directly
7178 (pasteSelection): ditto
7180 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7183 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7185 * modifications to some other files because of this.
7187 * Makefile.am (lyx_SOURCES): add XFormsView
7189 * XFormsView.[Ch]: new files
7191 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7192 the main window. Move the gui dependent stuff to XFormsView
7194 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7196 * tabular.C (GetCellInset): update cur_cell also in the row/col
7197 version of this function.
7199 * lyxfunc.C: no need to include figure_form.h here.
7205 * lyxvc.C: no need to include forms.h here.
7207 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7209 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7211 * lyxfunc.C (Dispatch):
7213 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7214 constructor argument.
7216 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7218 * paragraph.C (Paragraph): dont't clear, and just set layout.
7219 (makeSameLayout): use params's copy contructor.
7221 * ParagraphParameters.[Ch] (makeSame): delete method
7223 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7225 * Variables.[Ch]: fix indentation, rename set to isSet
7227 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7229 * lyxfunc.C (Dispatch): fix typo
7231 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7233 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7236 * bufferlist.C: include assert.h for emergencyWrite().
7238 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7240 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7241 give up at last (bug #425202) !
7243 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7249 * spellchecker.C: strip spellchecker options and bring up
7250 preferences tab instead
7252 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7254 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7255 the istringstream constructor
7257 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7259 * paragraph.C (getLayout): fix return value
7261 * paragraph.h: do not declare getLayout as inline.
7263 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7265 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7267 * lyxcursor.h (operator<): new func
7268 (operator>): new func
7269 (operator>=): new func
7270 (operator<=): new func
7272 * text.C (changeCase): use selection.start and selection.end
7273 (changeRegionCase): require from to be <= to. Require par to be a
7276 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7278 2001-06-27 Juergen Vigna <jug@sad.it>
7280 * text.C (cursorLeftOneWord): changed to return the cursor and added
7281 overlay with BufferView * parameter which calls this one.
7283 (selectWord): use new getWord function.
7284 (changeCase): renamed from changeWordCase as and extended to work
7287 * lyxtext.h: added enum word_location
7289 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7290 changeCase as this operates now also on selections.
7292 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7294 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7296 * many files: send debug output to Debug::INFO instead of
7299 * converter.C (View):
7301 (Move): send debug output to Debug::FILES instead of console.
7303 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7305 * lyxfunc.C (getStatus): use func_status
7307 * func_status.h: new header, describing the results of
7310 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7313 2001-06-25 The LyX Project <jug@sad.it>
7315 * buffer.C (sgmlOpenTag):
7317 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7319 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7321 * text2.C: remove some dead code
7323 * tabular.C (GetCellInset): store the last cell checked (gotten)
7325 * tabular.h: add the helper for the speedup
7327 * lyxtext.h: remove some dead code
7329 2001-06-26 The LyX Project <Asger>
7331 * paragraph.C: Change export to LaTeX of alignment to
7332 \begin{center} and family for better roundtrip work with reLyX.
7334 * Tune the math drawing a bit.
7336 2001-06-25 The LyX Project <Asger>
7338 * LColor.C (LColor): New color for math background. New color
7341 2001-06-25 The LyX Project <jug@sad.it>
7343 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7346 * bufferlist.C (newFile): do not restrict to files ending with
7349 * BufferView_pimpl.C (MenuInsertLyXFile):
7351 2001-06-24 The LyX Project <jug@sad.it>
7353 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7356 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7358 * lyxtext.h: rename most methods to begin with a small char.
7359 Lots of changes because of this.
7361 * paragraph.C (Paragraph): do not call fitToSize
7362 (erase): call Pimpl::erase
7363 (insertChar): call Pimpl::insertChar
7364 (insertInset): call Pipl::insertInset
7365 (breakParagraph): do not call fitToSize
7366 (breakParagraphConservative): do not call fitToSize
7367 (fitToSize): remove method
7369 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7371 2001-06-24 The LyX Project <Asger>
7373 * Fix Qt compilation^2
7375 2001-06-24 The LyX Project <jug@sad.it>
7377 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7378 depthHook(getDepth()-1).
7381 * ParagraphParameters.h:
7382 * ParameterStruct.h: change type of depth to unsigned int ==
7383 depth_type. Many adaptations to other files before of that.
7385 2001-06-24 The LyX Project <Asger>
7387 * Fix Qt compilation.
7389 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7391 * paragraph.h: renamed several methods to begin with small letter.
7392 several changes to many parts of the code because of this.
7394 2001-06-23 The LyX Project <jug@sad.it>
7396 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7397 rewritten to discard all double spaces when KeepEmpty is off
7398 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7399 to only handle newlines but not fiddle with spaces and friends.
7401 * lyxfunc.C (MenuNew): when doing 'new from template', use
7402 template_path as default directory
7404 2001-06-23 The LyX Project <Asger>
7406 * Clean-up of header file includes all over
7407 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7409 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7411 * paragraph.h: renamed from lyxparagraph.h
7413 2001-06-23 Asger <lyx@violet.home.sad.it>
7415 * Buffer.h: Removed Buffer::resize
7416 * BufferList.h: Removed BufferList::resize
7417 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7418 the document lazily when we change the width, or the font settings.
7420 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7422 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7424 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7426 * buffer.h: remove out of date comment
7428 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7431 * screen.C: fix "theoretical" GC leak
7433 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7435 * LaTeX.C (scanAuxFile):
7436 (deplog): remove trailing \r when reading stream (useful under
7439 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7441 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7442 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7443 and BufferView::theLockingInset(Inset*), so should use them and not
7444 access bv_->text->the_locking_inset directly.
7446 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7448 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7451 * tex-defs.h: remove old unused file
7453 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7455 * BufferView_pimpl.C: fix typo, remove minibuffer message
7456 when buffer has loaded
7458 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7460 * lyxfunc.C (Dispatch): use stringstream
7461 (MenuNew): use stringstream
7462 (Open): use stringstream
7464 * importer.C (Import): use stringstream
7466 * bufferview_funcs.C (CurrentState): use stringstream
7468 * LaTeX.C (run): use stringstream
7470 * BufferView_pimpl.C (savePosition): use stringstream
7471 (restorePosition): use stringstream
7472 (MenuInsertLyXFile): use stringstream
7474 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7487 * vspace.C: removed // -*- C++ -*- as first line.
7490 * version.h: added // -*- C++ -*- as first line.
7492 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7494 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7496 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7499 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7501 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7504 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7506 * gettext.C: include LString.h even when --disable-nls is on.
7508 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7510 * converter.h (Get): changed argument type from int to
7511 FormatList::size_type to avoid unnecessary conversion.
7513 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7516 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7518 * gettext.h: include LString.h even when --disable-nls is on.
7520 2001-06-07 Juergen Vigna <jug@sad.it>
7522 * text.C (BreakAgain): subst spaces with tabs.
7524 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7525 (resizeInsetsLyXText): set force on resizeLyXText.
7527 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7529 * gettext.h (gettext_init):
7530 (locale_init): use a real definition instead of a macro
7532 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7534 * Bufferview_pimpl.C:
7536 * LColor.C: further lcolor tidies
7538 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7540 * BufferView_pimpl.C (updateScrollbar): simplify.
7542 * BufferView2.C: don't include insets/insetinfo.h, change
7543 prototype for insertInset and call the Pimpl version. let
7544 updateInset call Pimpl version.
7546 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7547 gotoInset to BufferView::Pimpl
7549 2001-06-01 Juergen Vigna <jug@sad.it>
7551 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7552 inside a LockingInset (is the update needed at all?).
7554 2001-05-31 Juergen Vigna <jug@sad.it>
7556 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7557 here not the old one otherwise how should we compare it afterwards
7560 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7565 * FontInfo.C: bring C functions into global namespace when
7568 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7570 * LString.h: make sure config.h has been loaded before LString.h.
7572 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7573 (one for each char read by EatLine!).
7575 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7578 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7580 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7581 to the same as the par we break from
7583 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7585 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7587 * MenuBackend.C (expand): also create menu entries for wide
7588 versions of the floats.
7590 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7592 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7594 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7595 frontends/Makefile.am
7601 * tabular.C (getTokenValue): add std::
7603 * tabular-old.C (getTokenValue): add std::
7604 (getTokenValue): ditto
7605 (getTokenValue): ditto
7607 * screen.C (ToggleSelection): adjust
7609 * lyxtext.h: put selection cursors inside a Selection struct.
7611 * lyxfunc.C (moveCursorUpdate): adjust
7613 * lyxfont.C (latexWriteStartChanges): add std::
7617 * font.h: delete with(char const *, LyXFont const &)
7619 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7621 * FontInfo.C (getFontname): add std::
7623 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7624 (workAreaButtonPress): adjust
7625 (tripleClick): adjust
7627 (moveCursorUpdate): adjust
7630 * BufferView2.C (gotoInset): adjust
7632 2001-05-30 Juergen Vigna <jug@sad.it>
7634 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7635 to check pspell I add this as default as I now have new pspell
7636 libraries and they seem to use this.
7638 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7640 * text2.C (CutSelection): make the cursor valid before the call to
7643 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7645 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7646 relied on 0 terminated strings and other horrors. Bug found due to
7647 the new assert in lyxstring!
7649 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7652 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7654 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7657 * lyxfunc.C (processKeySym): change method of getting to the
7660 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7661 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7662 * BufferView_pimpl.[Ch]: here as private methods.
7664 2001-05-28 Juergen Vigna <jug@sad.it>
7666 * text.C (SetHeightOfRow): added the update() call again as it is
7667 needed to initialize inset dimensions!
7669 2001-05-16 Juergen Vigna <jug@sad.it>
7671 * text2.C (SetCharFont): Add new function with BufferView * and
7672 bool toggleall parameters for setting insets internal fonts.
7673 (SetFont): Freeze the undo as we may change fonts in Insets and
7674 all this change should be inside only one Undo!
7676 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7677 setting font's in insets as for them we have the SetFont function!
7679 2001-05-15 Juergen Vigna <jug@sad.it>
7681 * text2.C (ClearSelection): to be sure we REALLY don't have any
7684 * tabular.C (TeXCellPreamble): fixed the left border problem for
7687 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7689 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7692 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7694 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7695 LFUN_BREAKPARAGRAPH.
7697 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7698 help test to "internal only", similar for LFUN_INSERT_URL
7700 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7701 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7702 auto_region_delete and deadkeys.
7704 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7707 * LColor.C: remove some dead entries, tidy a little
7709 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7711 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7713 (Dispatch): implement LFUN_ESCAPE
7715 * commandtags.h: add LFUN_ESCAPE
7717 * LyXAction.C (init): add entry for LFUN_ESCAPE
7719 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7720 Remove commented code.
7721 (insertNote): moved here
7722 (open_new_inset): moved here
7724 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7727 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7729 * kbmap.C (findbinding): clean it up and make it work correctly.
7731 * lyx_main.C (init): do not pass argc and argv as parameters
7733 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7735 * buffer.C: fix path for OS/2 & Win32
7739 * lyx_main.C: Added os:: class.
7741 * os2_defines.h: update
7743 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7745 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7746 better by trying again with reduced state.
7748 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7750 * lyxrc.C (read): print error about invalid key sequence only when
7751 debugging (because not all latinX keysyms are known to some X
7754 * kbsequence.C (getiso): add a few std:: qualifiers
7755 (getiso): comment out extra return statement.
7757 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7759 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7761 (Dispatch): enhance the accent inset a bit. (not perfect)
7763 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7765 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7767 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7769 * bufferlist.C (emergencyWrite): fix assert() call
7771 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7773 * text.C (InsertChar): Added trivial patch to only send the "you
7774 can not do multiple spaces this way" message once during a
7777 2001-05-08 Baruch Even <baruch@lyx.org>
7779 * Makefile.am: Changed order of libraries to get LyX to link properly
7780 with the gnome frontend.
7782 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7784 * LaTeXFeatures.h: add a std:: qualifier
7786 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7788 * paragraph.C (String): use stringstream
7790 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7792 * paragraph.C (writeFile): remove footflag arg
7794 * buffer.C (makeLaTeXFile): use stringstream
7795 (latexParagraphs): remove footnot gurba
7797 * LaTeXFeatures.C (getPackages): use stringstream
7798 (getMacros): likewise
7799 (getTClassPreamble): likewise
7800 (getFloatDefinitions): new method
7802 * paragraph.C (writeFile): reindent
7805 * WorkArea.h: revert the xpos + etc changes.
7807 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7809 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7811 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7812 (pasteSelection): likewise
7813 * text2.C (CreateUndo): likewise
7815 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7817 * minibuffer.C (peek_event): temporarily reduce the functionality
7818 of the minibuffer (to allow args on lfuns)
7820 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7821 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7823 * buffer.C (readInset): add compability reading of old float
7824 lists, add reading of new style float list.
7825 (readInset): avoid reevaluation of inscmd.getCmdName()
7826 (getLists): reindent
7828 * MenuBackend.C (MenuItem): implement parsing of
7829 md_floatlistinsert and md_floatinsert.
7830 (expand::LastFiles): move initalizaton of iterators out of loop,
7832 (expand::Documents): introduce typdedef vector<string> Strings,
7834 (expand::ExportFormats): introduce typedef vector<Format const *>
7835 Formats, and use it.
7836 (expand): implement FloatListInsert and FloatInsert.
7838 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7839 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7840 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7842 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7844 (Dispatch::LFUN_FLOAT_LIST): implement
7846 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7848 * LaTeX.C (run): Fix problem with --export code.
7850 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7852 * BufferView.[Ch] (workarea): removed.
7853 (getClipboard) new method; wrapper for workarea()->getClipboard()
7855 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7858 * WorkArea.h (width, height, xpos, ypos): These methods all
7859 returned the dimensions of the work_area sub-area of WorkArea,
7860 resulting in a position error if the WorkArea were resized. Now
7861 return the dimensions of the entire WorkArea.
7863 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7865 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7867 * LaTeX.C (deplog): correct the syntax of regex reg1
7869 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7871 * undo.C: remove !NEW_INSETS cruft
7873 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7875 * text2.C: remove !NEW_INSETS cruft
7877 * text.C: remove !NEW_INSETS cruft
7879 * tabular.C: remove !NEW_INSETS cruft
7881 * spellchecker.C: remove !NEW_INSETS cruft
7883 * lyxtext.h: remove !NEW_INSETS cruft
7885 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7887 * lyxfunc.C: remove !NEW_INSETS cruft
7889 * lyxfind.C: remove !NEW_INSETS cruft
7891 * lyx_cb.C: remove !NEW_INSETS cruft
7893 * figureForm.C: remove !NEW_INSETS cruft
7895 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7897 * buffer.[Ch]: remove !NEW_INSETS cruft
7899 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7901 * CutAndPaste.C: remove !NEW_INSETS cruft
7903 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7905 * BufferView2.C: remove !NEW_INSETS cruft
7907 * BufferView.h: remove !NEW_INSETS cruft
7909 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7911 * Lsstream.h: include LString.h before the sstream headers to
7912 fix problem with gcc 2.95.3 and lyxstring
7914 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7916 * lyx_main.C: add using directives when needed for C functions
7917 declared in std:: namespace.
7919 2001-04-27 Juergen Vigna <jug@sad.it>
7921 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7922 (SetHeightOfRow): comment out the update call should not be needed!
7924 2001-04-13 Juergen Vigna <jug@sad.it>
7926 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7927 (LyXTabular): tried to minimize operator= operations (and realized
7928 hopfully Lars wish).
7930 2001-04-27 Juergen Vigna <jug@sad.it>
7932 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7934 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7936 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7938 * buffer.C (readInset): hack to make listof algorithm work
7940 * BufferView_pimpl.C: hack to make listof algorithm work
7942 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7944 * LyXAction.C: removed all !NEW_INSETS cruft
7945 (init): moved lfun_item in method
7947 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7949 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7951 * BufferView2.C (theLockingInset): white space.
7953 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7955 * minibuffer.C: include <iostream>
7957 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7959 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7961 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7963 * text.[Ch] (TransposeChars): new method
7965 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7967 * call message directly through LyXView instead of through LyXFunc
7968 * BufferView2.C: adjust
7969 * BufferView_pimpl.C: adjust
7970 * FontLoader.C: adjust
7972 * bufferview_funcs.C: adjust
7973 * converter.C: adjust
7974 * figureForm.C: adjust
7975 * importer.C: adjust
7977 * lyx_gui_misc.C: adjust
7981 + more files in subdirs
7983 * lyxparagraph.h (size): move up int file
7986 * adjust all uses of Assert to lyx::Assert.
7988 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7989 lyxfunctional in namespace lyx
7990 * layout.C (hasLayout): ditto
7993 (delete_layout): ditto
7994 (NumberOfClass): ditto
7995 * converter.C (GetFormat): ditto
8000 * bufferlist.C (getFileNames): ditto
8001 (emergencyWriteAll): ditto
8004 * MenuBackend.C (hasSubmenu): ditto
8007 * BufferView_pimpl.C (getInsetByCode): ditto
8009 2001-04-18 Juergen Vigna <jug@sad.it>
8011 * vspace.C (asLatexString): fixed the 100% problem.
8013 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8015 * lyxfunc.C (Dispatch):
8017 * minibuffer.h: add a few std:: qualifiers
8019 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8021 * minibuffer.[Ch]: reimplement so that commands is initiated and
8022 run from lyxfunc, simplified som handling, and made the completion
8023 and history code for complete. wip.
8025 * lyxfunc.C (processKeySym): call message
8026 (miniDispatch): new temporary method
8027 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8028 (LFUN_MESSAGE): implement
8029 (LFUN_MESSAGE_PUSH): implement
8030 (LFUN_MESSAGE_POP): implement
8031 (initMiniBuffer): the initial/defualt minibuffer message.
8033 * lyxfont.[Ch]: inline some more getters
8035 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8037 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8039 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8040 (AutoSave): use LFUN_MESSAGE
8041 (Reconfigure): ditto
8043 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8045 * figureForm.C: use LFUN_MESSAGE
8047 * converter.C (runLaTeX): use LFUN_MESSAGE
8049 * bufferview_funcs.C: use LFUN_MESSAGE
8051 (changeDepth): ditto
8053 * bufferparams.h: use boost::
8055 * bufferlist.h: inherit privately from noncopyable
8057 * bufferlist.C (loadLyXFile): remove some commented code.
8059 * buffer.C (runChktex): use LFUN_MESSAGE
8061 * ShareContainer.h: inherit privately from noncopyable
8063 * ParagraphParameters.[hC] (depth): inline it.
8065 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8067 (message): new method
8068 (messagePush): ditto
8070 (show): init minibuffer
8071 (showState): direct call
8073 * LaTeX.[Ch]: inherit privately from noncopyable
8074 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8075 instead of WriteStatus.
8077 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8079 * BufferView_pimpl.C (buffer): don't init minibuffer
8080 (workAreaButtonPress): use LFUN_MESSAGE
8081 (workAreaButtonRelease): ditto
8082 (savePosition): ditto
8083 (restorePosition): ditto
8084 (MenuInsertLyXFile): ditto
8085 (workAreaExpose): don't init minibuffer
8086 (update): remove commented code, simplify
8088 * BufferView2.C (openStuff): use LFUN_MESSAGE
8089 (toggleFloat): ditto
8092 (copyEnvironment): ditto
8093 (pasteEnvironment): ditto
8098 (updateInset): remove some commented code
8100 * lastfiles.h: inherit privately from noncopyable
8105 * lyxlex_pimpl.h: ditto
8107 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8108 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8109 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8111 * LyXAction.h: inherit privately from noncopyable, add methods
8112 func_begin, func_end, returning iterators to the func map.
8114 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8115 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8116 (func_begin): new method
8117 (func_end): new method
8119 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8121 (copySelection): ditto
8122 (pasteSelection): ditto
8124 * BufferView.C: whitespace change
8125 * BufferView.h: inherit privately from noncopyable
8127 2001-04-16 Allan Rae <rae@lyx.org>
8129 * tabular-old.C (l_getline):
8130 * spellchecker.C (sc_check_word):
8131 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8132 an unrecognised preprocessor directive. So ensure they're wrapped.
8134 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8136 * src/exporter.C (Export): Give an error message when path to file
8139 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8141 * LaTeX.C (deplog): Always check that foundfile exists.
8143 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8146 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8148 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8150 * tabular.[Ch] (getLabelList): implement new method
8152 * minibuffer.h: comment ouf setTiimer
8154 * minibuffer.C (ExecutingCB): constify res
8155 (peek_event): constify s
8156 (Set): constify ntext
8157 (Init): constify nicename
8159 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8161 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8162 (savePosition): use two params to Minibuffer::Set
8163 (restorePosition): ditto
8165 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8167 * lyx_main.C: include language.h
8169 * Makefile.am (lyx_main.o): add language.h
8171 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8177 * CutAndPaste.C: include gettext.h
8179 * lyxfont.h: remove old hack with ON and OFF.
8182 * lyxfont.h: do not include language.h...
8187 * bufferview_funcs.C:
8193 * paragraph.C: ... but do it here instead
8195 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8197 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8199 * tabular.C: small reformat
8201 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8204 (BreakParagraph): ditto
8205 (SetOnlyLayout): ditto
8208 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8211 * lastfiles.C: removed most using decl, add std:: where needed
8213 * buffer.C: ws changes
8215 * MenuBackend.C (class compare_format): put into anon namespace
8216 (expand): constify label, names, action, action2
8219 * text.C (SingleWidth): constify font
8220 (IsBoundary): constify rtl2
8221 (GetVisibleRow): constify ww
8223 * LaTeX.C (deplog): constify logfile
8225 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8227 (workAreaExpose): constify widthChange, heightChange
8229 * lyxrow.C (par): moved
8232 * lyxrow.h: as inlines here
8234 * lyxfont.h (shape): moved from lyxfont.C
8235 (emph): moved from lyxfont.C
8237 * lyxfont.C (LyXFont): use initialization list for all
8239 (shape): move to lyxfont.h as inline
8240 (emph): move to lyxfont.h as inline
8243 2001-04-04 Juergen Vigna <jug@sad.it>
8245 * vspace.C: had to include stdio.h for use of sscanf
8247 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8250 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8251 independent of xforms.
8253 2001-04-02 Juergen Vigna <jug@sad.it>
8255 * spellchecker.C: fixed namespace placing!
8257 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8259 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8260 the LyXParagraph * is 0.
8262 2001-03-29 Juergen Vigna <jug@sad.it>
8264 * vspace.C: added support for %, c%, p%, l%.
8265 (stringFromUnit): added helper function.
8266 (asLatexString): changed to give right results for the %-values.
8268 * buffer.C: convert the widthp in a width%.
8270 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8272 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8275 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8276 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8278 * lyx_cb.[Ch]: see above.
8280 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8284 * lyx.[Ch]: replaced by figure_form.[Ch].
8288 * lyxfunc.C: changed headers associated with above changes.
8290 2001-03-27 Juergen Vigna <jug@sad.it>
8292 * BufferView_pimpl.C: set the temporary cursor right!
8294 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8296 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8298 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8300 * LString.h: removed "using std::getline"!
8302 * BufferView_pimpl.C (Dispatch): changes due to changes in
8303 InsetInclude::Params.
8305 * buffer.C (tag_name): removed redundant break statements as they were
8306 producing lots of warnings with my compiler.
8308 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8310 * LString.h: add "using std::getline" when using the real <string>.
8312 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8314 * buffer.C: removed bitset usage.
8315 PAR_TAG moved to an anonymous name space.
8316 (tag_name): new funtion, also in the anonymous namespace.
8317 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8318 (makeDocBookFile): clean code. Completed transition from string arrays
8320 (SimpleDocBookOnePar): code clean.
8322 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8324 * tabular.C: add some comments.
8326 2001-03-22 Juergen Vigna <jug@sad.it>
8328 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8329 compatibility read a bit and fixed bug with minipage in different
8332 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8334 * buffer.C (pop_tag): removed.
8335 (push_tag): removed.
8336 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8337 array replaced with vector. Added support for CDATA sections.
8338 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8340 (makeDocBookFile): XML conformant declaration of CDATA section,
8341 fixed bug related to <emphasis> in the first paragraph char.
8342 (sgmlOpenTag): exclude empty tags.
8343 (sgmlCloseTag): ditto.
8345 * buffer.h (pop_tag): removed.
8346 (push_tag): removed.
8348 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8350 * language.h (Languages): added size_type and size().
8352 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8354 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8355 response on compability reading of minipages. One probliem is that
8356 the old usage of minipages was «flertydig»
8358 * several files here and in subdirs: don't use static at file
8359 scope use anon namespaces instead.
8361 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8363 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8364 LaTeX output. This is necessary for Literate document
8367 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8369 * buffer.C: insert hfill when needed.
8371 * tabular.C (l_getline): use string::erase, small whitespace change.
8373 * BufferView_pimpl.C: try the anon namespace.
8376 2001-03-16 Juergen Vigna <jug@sad.it>
8378 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8379 otherwise it won't open options-dialogs.
8381 * buffer.C: honor pextraWidth(p) on converting minipages.
8383 * tabular.C (l_getline): changed the functions to strip trailing \r.
8385 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8387 * BufferView_pimpl.C:
8388 * minibuffer..C: added "using SigC::slot" declaration.
8390 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8392 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8398 * paragraph.C: ditto
8400 * lyxtext.h: NO_PEXTRA
8402 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8404 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8405 * ParameterStruct.h: ditto
8406 * ParagraphParameters.h: ditto
8407 * lyxparagraph.h: ditto
8409 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8411 * buffer.C: add compability for minipage alignment.
8412 (latexParagraphs): remove unwanted pextra check.
8414 * several files: remove CXX_WORKING_NAMESPACES
8416 * buffer.C (pop_tag): tie is in namespace boost
8418 * BufferView.h: noncopyable is in namespace boost
8423 * lastfiles.h: ditto
8424 * bufferlist.h: ditto
8425 * ShareContainer.h: ditto
8427 * LyXAction.h: ditto
8430 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8432 * Merging changes from BRANCH_MVC back into HEAD.
8434 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8436 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8438 * BufferView_pimpl.C: change from intl.C
8442 * Makefile.am: move combox.*
8448 * intl.C: remove dialog (covered by prefs)
8450 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8452 * lyxfunc.C (Dispatch): removed redundant break statement.
8454 2001-03-14 Juergen Vigna <jug@sad.it>
8456 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8458 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8460 * buffer.C: add hack to fix compability reading of minipages.
8462 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8464 * buffer.C (getLists): Cleanup.
8466 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8468 * lyxfont.C (update): don't honor toggleall on font size.
8470 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8474 * Makefile.am: moved to frontends/xforms/
8478 * BufferView_pimpl.C: changes for moved mathpanel
8480 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8482 * gettext.h: fix gettext_init() in --disable-nls
8484 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8486 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8488 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8491 * lyx.h: strip external form
8493 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8495 * BufferView_pimpl.C: add comment, destroySplash()
8497 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8499 * BufferView_pimpl.C:
8503 * lyxfunc.C: use re-worked insetinclude
8505 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8507 * buffer.C: add using std::stringstream.
8509 * lyx_cb.C: readd using std::ios.
8511 * buffer.C: add using std::map.
8513 * BufferView_pimpl.C: add using std::vector.
8515 * ShareContainer.h: add std:: to swap.
8517 * buffer.h: add some typedefs
8518 * buffer.C (getLists): use them
8519 (getLists): renamed from getTocList.
8520 add a counter for the different float types and use it in the
8522 (getLists): use the same counter for the NEW_INSETS and the "non"
8525 * lyx_cb.h: remove unused items, includes, using etc.
8527 * ShareContainer.h: remove some commented code, add more comments
8528 and "documentation".
8530 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8532 * buffer.C (getTocList): make the list also when NEW_INSETS is
8535 * buffer.h: remove TocType
8537 * buffer.C (getTocList): change to return a map<string,
8538 vector<TocItem> >, implement for dynamic number of list.
8540 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8541 * text2.C (PasteSelection): adjust
8542 * CutAndPaste.C (pasteSelection): adjust
8544 * FloatList.C (FloatList): update from the new_insets branch.
8545 * Floating.[Ch]: ditto
8546 * LaTeXFeatures.C: ditto
8548 * lyxlex_pimpl.C: ditto
8550 * paragraph.C (Last): remove when NEW_INSETS is defined.
8552 * other file: changes because of the above.
8554 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8556 * lyxparagraph.h: rename next to next_, previous to previous_,
8557 make them private for NEW_INSETS. Rename Next() to next(),
8558 Previous() to previous().
8560 * other files: changes because of the above.
8562 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8565 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8568 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8570 * main.C (main): pass lyx_localedir to gettext_init().
8572 * gettext.h: remove locale_init and gettext_init macros
8574 * gettext.C (locale_init): new function
8575 (gettext_init): new function
8577 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8580 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8582 * Moved credits to frontends:
8583 * credits.[Ch]: removed
8584 * credits_form.[Ch]: removed
8585 * lyx_gui_misc.C: remove credits stuff
8588 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8590 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8592 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8593 unneeded destructor.
8595 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8596 a standalone pointer again.
8598 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8600 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8606 * ToolbarDefaults.C:
8615 * BufferView_pimpl.C: use new file dialog in GUII
8618 * lyx_cb.C: remove LayoutsCB to Toolbar
8620 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8622 * ShareContainer.h (get): add std:: qualifier
8624 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8626 * ShareContainer.h: define a proper ShareContainer::value_type
8627 type (and use typename to please compaq cxx)
8629 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8631 * lyxparagraph.h: move serveral local vars to
8632 ParameterStruct/ParagraphParameters., use ShareContainer in
8633 FontTable., make vars in FontTable private and add getter and
8636 * paragraph.C: changes because of the above.
8638 * lyxfont.h: remove copy constructor and copy assignment. (the
8639 default ones is ok), move number inside FontBits. move inlines to
8642 * lyxfont.C: add number to initializaton of statics, move several
8643 inlines here. constify several local vars. some whitespace
8644 cleanup. Dont hide outerscope variables.
8646 * Spacing.h: add two new constructors to match the set methods.
8648 * ShareContainer.h: new file, will perhaps be moved to support
8650 * ParameterStruct.h: new file
8652 * ParagraphParameters.h: new file
8654 * ParagraphParameters.C: new file
8656 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8657 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8659 * BufferView_pimpl.C: ParagraphParameter changes.
8660 * buffer.C: Likewise.
8661 * bufferview_funcs.C: Likewise.
8663 * text2.C: Likewise.
8665 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8667 * lyxfind.C (LyXReplace): do not redefine default argument in
8669 (IsStringInText): ditto
8670 (SearchForward): ditto
8671 (SearchBackward): ditto
8673 2001-03-06 Juergen Vigna <jug@sad.it>
8675 * lyxfind.C (IsStringInText): put parentes around expressions.
8677 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8679 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8681 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8683 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8685 * stl_string_fwd.h: add comment
8687 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8690 * tabular.C: remove unused DocBook methods
8696 killed DO_USE_DEFAULT_LANGUAGE
8698 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8700 * lyx_gui.C: do not include language.h.
8702 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8703 arguments in function implementation.
8705 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8707 * BufferView_pimpl.C: add <ctime>
8709 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8711 * BufferView_pimpl.C: add using std::find_if
8713 2001-02-27 José Matos <jamatos@fep.up.pt>
8715 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8718 2001-02-11 José Matos <jamatos@fep.up.pt>
8720 * buffer.C (makeDocBookFile): command styles now have a parameter as
8723 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8725 * layout_forms.[Ch]: removed
8726 * lyx_cb.[Ch]: out character
8727 * lyx_gui.C: out character
8728 * lyx_gui_misc.C: out character
8729 * bufferview_funcs.C: : out character,
8730 added toggleall as parameter in ToggleAndShow
8732 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8734 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8736 * text2.C (SetCurrentFont): Disable number property at boundary.
8738 2001-02-26 Juergen Vigna <jug@sad.it>
8740 * lyxfunc.C (getStatus): added a string argument override function so
8741 that this is correctly called from LyXFunc::Dispatch if it contains a
8742 do_not_use_argument which is used!
8743 (Dispatch): added check for "custom" export and call appropriate func.
8745 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8747 * lyxrc.C: Add language_command_local, language_use_babel and
8748 language_global_options.
8750 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8752 * buffer.C (makeLaTeXFile): Use language_use_babel and
8753 language_global_options.
8755 2001-02-23 Juergen Vigna <jug@sad.it>
8757 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8758 which works with LyXText and putted it inside BufferView. Here now we
8759 only call for that part the BufferView::Dispatch() function.
8761 * BufferView.C (Dispatch): added.
8763 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8764 functions which needs to use a LyXText over from LyXFunc.
8765 (MenuInsertLyXFile): added
8766 (getInsetByCode): added
8767 (moveCursorUpdate): added
8768 (static TEXT): added
8770 2001-02-22 Juergen Vigna <jug@sad.it>
8772 * BufferView_pimpl.C (update): call a status update to see if LyXText
8775 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8777 * vc-backend.C (revert): implement for CVS
8778 (getLog): implement for CVS
8780 2001-02-20 Juergen Vigna <jug@sad.it>
8782 * text2.C (ClearSelection): added BufferView param for inset_owner call
8784 * lyxfunc.C (TEXT): added this function and use it instead of
8785 directly owner->view()-text of getLyXText().
8787 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8789 * src/layout_forms.C: out preamble
8790 * src/layout_forms.h: out preamble
8791 * src/lyx_cb.C: out preamble
8792 * src/lyx_cb.h: out preamble
8793 * src/lyx_gui.C: out preamble
8794 * src/lyx_gui_misc.C: out preamble
8795 * src/lyxfunc.C: connect with guii preamble
8797 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8799 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8801 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8803 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8804 whether to run bibtex.
8806 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8808 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8810 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8812 * Makefile.am (lyx_SOURCES): removed bibforms.h
8816 * text.C (GetVisibleRow): make several local vars const
8818 * tabular.C: small cleanup.
8820 * lyxserver.C (callback): use compare instead of strncmp
8822 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8823 inlines to after class or to paragraph.C
8825 * lyxfont.h: remove friend operator!=
8827 * converter.h: move friend bool operator< to non friend and after
8830 * combox.h: small cleanup
8832 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8833 to inlines after class def.
8835 * buffer.C (pop_tag): use string operations instead of strcmp
8837 * bmtable.c: doxygen, small cleanup
8839 * LaTeX.h: remove friend operator==
8841 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8853 * BufferView_pimpl.C:
8854 * BufferView.[Ch]: remove cruft
8856 2001-02-14 Juergen Vigna <jug@sad.it>
8858 * lyxfunc.C: removed #if 0 unused code
8860 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8862 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8864 * text2.C (SetSelection): added a BufferView * parameter
8866 2001-02-13 Juergen Vigna <jug@sad.it>
8868 * lyxfunc.C (Dispatch): fixed protected blank problem.
8869 * BufferView2.C (protectedBlank): added LyxText * parameter.
8871 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8872 (AppendColumn): same as above for column_info.
8874 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8875 (moveCursorUpdate): use a LyXText param for support of InsetText.
8877 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8878 (tripleClick): ditto
8880 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8882 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8884 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8886 * text2.C (SetSelection): set correct update status if inset_owner
8889 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8891 * tabular.C: remove some commented code.
8893 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8895 * BufferView_pimpl.C: call hideSplash()
8897 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8900 * bibforms.h: remove
8903 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8904 add LFUN_CHILD_CREATE
8906 * counters.h: fix tiny typo
8911 * lyx.C: move splash to frontends/xforms/
8913 * lyx_gui_misc.C: move Include and Bibform to frontends
8915 * lyxvc.h: clarify comment
8917 * vspace.C: tiny housekeeping
8919 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8921 * text.C (PrepareToPrint): RTL Fix.
8923 * paragraph.C (GetUChar): New method.
8924 (String): Use GetUChar.
8926 * buffer.C (asciiParagraph): Use GetUChar.
8928 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8930 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8932 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8935 * buffer.C: rename to getLogName(), handle
8936 build log / latex log nicely
8938 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8941 * MenuBackend.h: remove support for reference menuitem type.
8943 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8945 * BufferView_pimpl.C: housekeeping
8946 * BufferView_pimpl.h:
8951 * minibuffer.h: move Timeout GUI-I
8953 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8955 * lyxrc.C (read): Update converters data-structures.
8957 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8959 * LaTeX.h (operator!=): add operator != for Aux_Info
8961 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8963 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8965 * LaTeXLog.C: deleted, useful code moved to Buffer
8968 * buffer.C: new function getLatexLogName()
8974 * lyxfunc.C: use frontends for LaTeX and VC logs
8976 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8978 * LaTeX.h: yet another std:: that Allan forgot.
8980 * Variables.C (set): renamed from isset(), because this clashes
8981 with some HP-UX macros (grr).
8983 2001-02-06 Allan Rae <rae@lyx.org>
8985 * LaTeX.h: Another bug fix. Missing std:: this time.
8987 2001-02-04 Allan Rae <rae@lyx.org>
8989 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8990 floats problem. I've left it commented out because it's not quite
8991 correct. It should also test that the current object is a table or
8992 figure inset. But I haven't gotten around to figuring out how to do
8993 that. I *think* it'll be something like: "table" == inset.type()
8995 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8998 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9000 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9001 all the citation/databases/styles in the auxilary file.
9002 (run): Rerun latex if there was a babel language error.
9004 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9006 * text.C (Backspace): Preserve the font when changing newline char
9008 (BreakParagraph): If the cursor is before a space, delete the space.
9010 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9012 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9014 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9015 new argument (code).
9016 (ChangeCitationsIfUnique): New method.
9018 * paragraph.C (GetPositionOfInset): Handle bibkey.
9020 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9022 * BufferView_pimpl.h: change type of Position::par_pos to
9023 LyXParagraph::size_type.
9025 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9027 * BufferView_pimpl.C (savePosition, restorePosition): Write
9028 messages to minibuffer.
9030 2001-01-28 José Matos <jamatos@fep.up.pt>
9032 * buffer.C (makeDocBookFile): adds support for document language.
9033 A silly restriction on the name of LatexCommand types where removed.
9034 Added support for CDATA sections, allows to chars unescaped, used
9035 among others in code, to avoid escape < and >.
9037 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9039 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9040 saved positions instrad of a stack. Furthermore, a position is
9041 stored using paragraph id/paragraph position.
9043 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9044 Remove LFUN_REF_BACK.
9046 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9048 * converter.C (dvipdfm_options): New method.
9050 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9052 * vspace.C (isValidLength): Fix for empty input string.
9054 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9056 * LyXAction.C (init): change description of LFUN_FIGURE to
9059 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9061 * LaTeX.C: add using directive
9063 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9065 * MenuBackend.C (expand): Fix the sorting of the formats.
9067 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9069 * lyx_main.C: tiny error message fix
9071 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9073 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9074 calling fl_initialize(). This fixes the problem with ',' as
9075 decimal separator in text files.
9077 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9079 * trans.C (process): Fix the keymap bug.
9081 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9083 * LaTeX.C (scanAuxFiles): New method. Provides support for
9084 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9085 (scanLogFile) Scan for "run BibTeX" messages.
9087 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9088 OT1 font encoding. Also, load the aecompl package if the ae
9091 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9093 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9095 * texrow.C (increasePos): turn two error messages into debug
9098 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9100 * LaTeX.C (scanAux): Handle the \@input macro.
9101 (runBibTeX): Use scanAux().
9103 * language.C (latex_options_): New field.
9105 * LaTeXFeatures.C (getMacros): Add language macros.
9107 * buffer.C (makeLaTeXFile): Small fix.
9109 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9111 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9113 * text2.C: add a using directive.
9115 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9120 * lyxfunc.C: kill LyXBell.
9122 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9124 * text.C (IsBoundary): Remove the error message
9126 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9128 * lyxrc.C (setDefaults): Correct initialization value for
9131 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9133 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9136 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9139 * src/LyXAction.C: Added reference-next.
9141 * text.C (InsertChar): Use contains instead of strchr.
9143 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9145 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9147 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9148 alignment commands (when needed).
9150 * text.C (InsertChar): Add ':' to number separator chars.