1 2003-02-27 Angus Leeming <leeming@lyx.org>
5 * factory.C (createInset):
6 * BufferView_pimpl.C (dispatch):
7 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
11 * lyxfunc.C (dispatch):
12 * text3.C (dispatch): pass name to params2string.
14 2003-02-26 Angus Leeming <leeming@lyx.org>
16 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
18 Rearrange the ~includes. Strip out the unnecessary ones.
20 * factory.C (createInset): reformat.
21 create new insets for the various LFUN_XYZ_APPLY lfuns.
23 2003-02-26 John Levon <levon@movementarian.org>
26 * lyxrow.C: add isParStart,isParEnd helpers
28 * paragraph.h: make isInserted/DeletedText take refs
31 * paragraph_funcs.C: remove #if 0'd code
36 * text.C: use lyxrow helpers above.
37 Move draw and paint routines to RowPainter.
38 Make several methods use refs not pointers.
39 Make backgroundColor() const.
40 Add markChangeInDraw(), isInInset().
41 Merge changeRegionCase into changeCase.
42 Make workWidth() shouldn't-happen code into an Assert.
45 * rowpainter.C: new class for painting a row.
48 * vspace.C: make inPixels take a ref
50 2003-02-26 Angus Leeming <leeming@lyx.org>
52 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
55 2003-02-25 John Levon <levon@movementarian.org>
57 * ispell.C: give the forked command a more accurate name
59 2003-02-22 John Levon <levon@movementarian.org>
62 * toc.C: make TocItem store an id not a Paragraph *
65 2003-02-21 Angus Leeming <leeming@lyx.org>
67 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
68 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
69 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
70 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
71 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
72 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
74 * BufferView_pimpl.C (dispatch):
76 * factory.C (createInset):
77 * lyxfunc.C (getStatus, dispatch):
78 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
80 2003-02-21 Angus Leeming <leeming@lyx.org>
82 * BufferView_pimpl.C (MenuInsertLyXFile):
83 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
84 * lyxfunc.C (menuNew, open, doImport):
85 no longer pass a LyXView & to fileDlg.
87 2003-02-21 Angus Leeming <leeming@lyx.org>
89 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
90 * LyXAction.C: change, BIBKEY to BIBITEM.
91 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
92 Change InsetBibKey to InsetBibitem.
93 Change BIBKEY_CODE to BIBITEM_CODE.
94 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
95 * factory.C: replace insetbib.h with insetbibitem.h.
96 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
97 * paragraph.C: replace insetbib.h with insetbibitem.h.
98 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
99 Change bibkey() to bibitem().
100 * text.C: remove insetbib.h.
101 * text2.C: replace insetbib.h with insetbibitem.h.
102 change bibkey() to bibitem().
103 * text3.C: remove insetbib.h.
104 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
106 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
108 * lyxrc.C (output): enclose user email in quotes (in case there are
111 2003-02-18 John Levon <levon@movementarian.org>
113 * buffer.h: add std::
115 2003-02-17 John Levon <levon@movementarian.org>
121 * pspell.C: reworking. Especially in ispell, a large
122 number of clean ups and bug fixes.
124 * lyxfunc.C: fix revert to behave sensibly
126 2003-02-17 André Pönitz <poenitz@gmx.net>
129 * commandtags.h: new LFUN_INSERT_BIBKEY
139 * paragraph_func.C: remove special bibkey handling
141 2003-02-17 John Levon <levon@movementarian.org>
143 * text.C (Delete): fix case where delete at the end of
144 the very first paragraph would not merge the pars
146 2003-02-17 John Levon <levon@movementarian.org>
148 * lyxrow.C: fix lastPrintablePos()
150 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
152 * bufferparams.C (writeLaTeX): add a std:here
154 * buffer.C: and remove a using directive there
156 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
158 * buffer.C (makeLaTeXFile): move the code that generates the
161 * bufferparams.C (writeLaTeX): ... in this new method
163 * LaTeXFeatures.C (getEncodingSet): make const
164 (getLanguages): make const
166 * MenuBackend.C (binding): returns the binding associated to this
168 (add): sets the status of each item by calling getStatus. Adds
170 (read): add support for OptSubMenu
171 (expand): remove extra separator at the end of expanded menu
173 2003-02-15 John Levon <levon@movementarian.org>
176 * BufferView_pimpl.C:
178 * bufferlist.C: remove pointless BufferStorage bloat. Remove
179 inset code that had no actual effect. Remove unneeded status
182 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
184 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
187 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
189 * text.C (drawLengthMarker): also draw an arrow marker for
190 symbolic lengths (medskip...)
192 2003-02-14 John Levon <levon@movementarian.org>
195 * tabular.C: better method names
197 2003-02-14 John Levon <levon@movementarian.org>
199 * BufferView_pimpl.C:
204 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
205 it's a more accurate name. Remove some pointless uses.
207 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
209 * text2.C (LyXText): change order of initilizers to shut off
212 2003-02-14 John Levon <levon@movementarian.org>
214 * buffer.C: use ParIterator for getParFromID()
219 * paragraph_pimpl.C: remove unused getParFromID()
221 2003-02-14 John Levon <levon@movementarian.org>
223 * buffer.C: remove some very old #if 0'd parse code
225 2003-02-13 John Levon <levon@movementarian.org>
229 * text2.C: move hfillExpansion(), numberOfSeparators(),
230 rowLast(), rowLastPrintable(), numberofHfills(),
231 numberOfLabelHfills() ...
234 * lyxrow.C: ... to member functions here.
239 * text.C: remove LyXText::beginningOfMainBody(), and call
240 p->beginningOfMainBody() directly. Move the check for
241 LABEL_MANUAL into the latter.
248 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
254 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
255 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
257 2003-02-13 John Levon <levon@movementarian.org>
259 * CutAndPaste.C: remove debug
261 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
263 * paragraph.C (asString): remove two unused variables
265 * lyxtextclass.C (readTitleType):
267 (LyXTextClass): handle new members titletype_ and titlename_
269 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
271 2003-02-09 John Levon <levon@movementarian.org>
274 * buffer.C: replace hand-coded list with a map for the dep clean
276 2003-02-08 John Levon <levon@movementarian.org>
278 * LaTeX.C: consolidate code into showRunMessage() helper
280 2003-02-08 John Levon <levon@movementarian.org>
285 * BufferView.C: change setSelectionOverString() to setSelectionRange()
286 and pass the size in explicitly
288 * BufferView_pimpl.h:
289 * BufferView_pimpl.C:
291 * BufferView.C: add getCurrentChange()
293 * BufferView_pimpl.h:
294 * BufferView_pimpl.C: handle change lfuns
296 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
297 for changes. Mark pasted paragraphs as new.
301 * DepTable.C: abstract time_t as lyx::time_type
304 * LColor.C: add colours for new text, deleted text, changebars
306 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
307 package use "usenames" option.
311 * LyXAction.C: add change lfuns
315 * author.C: author handling
318 * buffer.C: add a per-buffer author list, with first entry as
319 current author. Handle new .lyx tokens for change tracking. Output
320 author list to .lyx file. Output dvipost stuff to .tex preamble.
321 Bump lyx format to 222.
324 * bufferlist.C: add setCurrentAuthor() to reset current author details
328 * bufferparams.C: add param for tracking
330 * bufferview_funcs.C: output change info in minibuffer
334 * changes.C: add change-tracking structure
337 * debug.C: add CHANGES debug flag
340 * lyxfind.C: add code for finding the next change piece
343 * lyxrc.C: add user_name and user_email
346 * lyxrow.C: add a metric for the top of the text line
349 * text.C: implement accept/rejectChange()
352 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
353 Strike through deleted text.
358 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
359 to the insert functions. Rework erase to mark text as deleted, adding
360 an eraseIntern() and a range-based erase(). Implement
361 per-paragraph change lookup and accept/reject.
363 * paragraph_funcs.C: Fixup paste for change tracking.
365 * tabular.C: mark added row/columns as new.
367 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
368 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
370 * text2.C: leave cursor at end of selection after a cut.
372 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
374 * text.C (getLengthMarkerHeight):
375 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
376 visible on screen too.
378 2003-02-07 John Levon <levon@movementarian.org>
380 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
382 2003-02-05 Angus Leeming <leeming@lyx.org>
384 * lyxserver.C (read_ready): revert my patch of 11 September last year
385 as it sends PC cpu through the roof. Presumably this means that
386 the lyxserver will no longer run on an Alpha...
388 2003-01-30 Angus Leeming <leeming@lyx.org>
390 * factory.C (createInset): create an InsetCommandParam of type "index"
391 and use it to 'do the right thing'.
393 * text2.C (getStringToIndex): ensure that cursor position is always
394 reset to the reset_cursor position.
396 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
398 * lyxfunc.C (getStatus): "buffer-export custom" should never be
401 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
405 * lyxfunc.C: Output messages with identical spelling, punctuation,
408 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
410 * MenuBackend.C (expandFormats): List only viewable export formats
413 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
416 * lyxfunc.C (getStatus): Make sure that formats other than
417 "fax" can also be disabled
419 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
421 * text3.C (dispatch): put the lfuns that insert insets in 3
422 groups, and call doInsertInset with appropriate arguments.
423 (doInsertInset): new function, that creates an inset and inserts
424 it according to some boolean parameters.
426 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
428 * buffer.C (readFile): remember to pass on 'par' when calling
429 readFile recursively.
431 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
433 * MenuBackend.C (expandFormats): add "..." to import formats.
435 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
437 * paragraph.C (asString): Remove XForms RTL hacks.
439 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
442 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
444 * Makefile.am (LIBS): delete var
445 (lyx_LDADD): add @LIBS@ here instead.
447 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
449 * Clarify the meaning of "wheel mouse jump"
451 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
453 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
456 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
458 * importer.C (Loaders): do not preallocate 3 elements in the
459 vector, since one ends up with 6 elements otherwise
461 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
463 * DepTable.C (write): write the file name as last element of the
464 .dep file (because it may contain spaces)
465 (read): read info in the right order
467 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * paragraph_pimpl.C (simpleTeXBlanks):
470 (simpleTeXSpecialChars):
471 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
473 * tabular.C (latex): add some missing case statements. Reindent.
475 * MenuBackend.C (expandToc): remove unused variable.
477 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
486 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
489 2003-01-05 John Levon <levon@movementarian.org>
492 * BufferView.C: add getEncoding()
495 * kbsequence.C: do not store last keypress
498 * lyxfunc.C: store last keypress here instead. Pass encoding
501 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
503 * lyx_main.C (init): remove annoying error message when following
504 symbolic links (bug #780)
506 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
508 * text.C (insertChar):
509 * lyxrc.C (getDescription): remove extra spaces
511 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
513 * lyxrc.C (getDescription): remove extra spaces
515 2002-12-20 John Levon <levon@movementarian.org>
517 * text3.C: hack fix for page up/down across tall rows
519 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
521 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
524 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
526 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
527 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
528 thesaurus is not compiled in
530 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
532 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
534 2002-12-16 Angus Leeming <leeming@lyx.org>
537 * lyx_main.C (init): remove override_x_deadkeys stuff.
539 2002-12-12 John Levon <levon@movementarian.org>
541 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
542 insert. Only remove shift modifier under strict
545 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
547 * MenuBackend.C (expandToc): fix crash.
549 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
551 * MenuBackend.C (expandToc): gettext on float names.
553 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
555 * lyxlength.[Ch]: set default unit to UNIT_NONE,
556 implement bool empty() [bug 490]
558 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
560 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
562 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
564 * several files: ws changes
566 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * text2.C (setCounter): clean up a bit, use boost.format.
569 (updateCounters): initialize par upon declaration.
571 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
572 if the layout exists. We do not just store the layout any more.
573 (SwitchLayoutsBetweenClasses): use boost.format
575 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
577 * converter.C (convert): if from and to files are the same, use a
578 temporary files as intermediary
580 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
583 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
585 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
587 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
589 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
591 * tabular.C (asciiPrintCell): use string(size, char) instead of
594 * sgml.C (openTag): fix order of arguments to string constructor
597 * lyxfunc.C (dispatch): use boost.format
599 * lots of files: change "c" -> 'c'
601 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
603 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
605 2002-11-25 Angus Leeming <leeming@lyx.org>
607 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
609 * lyx_main.C (init): compile fix.
611 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
613 * lyx_cb.C (start): boost.formatify
614 do not include <iostream>
616 * lengthcommon.C: ws only
618 * boost-inst.C,BoostFormat.h: add more explict instantations
620 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
622 * lots of files: handle USE_BOOST_FORMAT
624 2002-11-21 John Levon <levon@movementarian.org>
626 * pspell.C: fix compile
628 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
630 * lyxfunc.C (dispatch): use boost::format
634 * lyxfont.C (stateText): use boost::format
636 * lyx_main.C (LyX): use boost::format
638 (queryUserLyXDir): ditto
641 (typedef boost::function): use the recommened syntax.
643 * importer.C (Import): use boost::format
645 * debug.C (showLevel): use boost::format
647 * converter.C (view): use boost::format
652 * bufferview_funcs.C (currentState): use boost::format
654 * bufferlist.C (emergencyWrite): use boost::format
656 * buffer.C (readLyXformat2): use boost::format
657 (parseSingleLyXformat2Token): ditto
659 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
661 * LaTeX.C (run): use boost::format
663 * Chktex.C (scanLogFile): use boost::format
665 * BufferView_pimpl.C (savePosition): use boost::format
666 (restorePosition): ditto
667 (MenuInsertLyXFile): ditto
669 * BoostFormat.h: help file for explicit instation.
671 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
673 * tabular.C (latex): Support for block alignment in fixed width
676 2002-11-17 John Levon <levon@movementarian.org>
678 * BufferView_pimpl.C:
680 * lyxfunc.C: split filedialog into open/save
682 2002-11-08 Juergen Vigna <jug@sad.it>
684 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
685 by my last patch (hopefully).
687 2002-11-08 John Levon <levon@movementarian.org>
696 * toc.C: ParConstIterator, and use it (from Lars)
698 2002-11-07 Ben Stanley <bds02@uow.edu.au>
700 * lyxtextclass.[Ch]: revise and add doxygen comments
702 2002-11-07 John Levon <levon@movementarian.org>
704 * text.C: fix progress value for spellchecker
706 * toc.C: fix navigate menu for insetwrap inside minipage
708 * paragraph_funcs.C: added FIXME for suspect code
710 2002-11-07 John Levon <levon@movementarian.org>
712 * BufferView_pimpl.C: fix redrawing of insets
715 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
717 * text2.C (updateCounters): fix bug 668
719 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
721 * text3.C (dispatch): Do not make the buffer dirty when moving the
724 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
726 * vc-backend.C: STRCONV
729 * text2.C (setCounter): STRCONV
731 * paragraph.C (asString): STRCONV
733 * lyxlength.C (asString): STRCONV
734 (asLatexString): ditto
736 * lyxgluelength.C (asString): STRCONV
737 (asLatexString): ditto
739 * lyxfunc.C (dispatch): STRCONV
742 * lyxfont.C (stateText): STRCONV
744 * importer.C (Import): STRCONV
746 * counters.C (labelItem): STRCONV
748 (numberLabel): remove unused ostringstream o
753 * bufferview_funcs.C (currentState): STRCONV
755 * buffer.C (readFile): STRCONV
756 (asciiParagraph): ditto
757 (makeLaTeXFile): ditto
759 * Spacing.C (writeEnvirBegin): STRCONV
761 * LaTeXFeatures.C (getLanguages): STRCONV
764 (getBabelOptions): ditto
765 (getTClassPreamble): ditto
766 (getLyXSGMLEntities): ditto
767 (getIncludedFiles): ditto
774 * LString.h: add the STRCONV macros
776 * BufferView_pimpl.C (savePosition): STRCONV
777 (restorePosition): ditto
778 (MenuInsertLyXFile): ditto
780 * vc-backend.C (scanMaster): change from submatch[...] to
783 * funcrequest.C: include config.h
785 * factory.C: include config.h
787 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
789 * box.C: include config.h
791 * LaTeX.C (scanAuxFile): change from submatch[...] to
795 2002-10-25 Angus Leeming <leeming@lyx.org>
797 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
799 * ispell.[Ch] (setError): new method.
800 * ispell.C (c-tor): move out child process into new class LaunchIspell.
801 Use setError() insetead of goto END.
803 * lyx_cb.C (AutoSave): move out child process into new class
806 2002-10-30 John Levon <levon@movementarian.org>
808 * text3.C: make start appendix undoable
810 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
812 * lyxlength.C (inPixels): Fix returned value.
814 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
817 2002-10-24 Angus Leeming <leeming@lyx.org>
819 * lyxgluelength.h: no need to forward declare BufferParams
820 or BufferView, so don't.
822 2002-10-21 John Levon <levon@movementarian.org>
824 * BufferView.C: menuUndo ->undo, redo
826 * BufferView.h: document, remove dead, make some methods private
830 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
835 * sgml.C: move sgml open/close tag into sgml.C
837 * bufferview_funcs.h: unused prototype
840 * lyxfunc.C: remove unused
843 * text.C: remove unused
845 2002-10-21 John Levon <levon@movementarian.org>
849 * BufferView_pimpl.h:
850 * BufferView_pimpl.C: fix mouse wheel handling based on
851 patch from Darren Freeman
853 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
855 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
857 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
859 * lyxlength.C (inPixels): Fix hanfling of negative length.
860 Fix LyXLength::MU case.
862 2002-10-16 John Levon <levon@movementarian.org>
864 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
866 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
868 * converter.C (view): add support for $$i (file name) and $$p
869 (file path) for the viewer command. If $$i is not specified, then
870 it is appended to the command (for compatibility with old syntax)
872 2002-10-14 Juergen Vigna <jug@sad.it>
874 * undo_funcs.C (textHandleUndo): alter the order in which the
875 new undopar is added to the LyXText, as we have to set first
876 the right prev/next and then add it as otherwise the rebuild of
877 LyXText is not correct. Also reset the cursor to the right paragraph,
878 with this IMO we could remove the hack in "redoParagraphs()".
880 2002-10-09 Angus Leeming <leeming@lyx.org>
882 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
883 to turn off an optimisation if a new inset is to be inserted.
885 2002-10-11 André Pönitz <poenitz@gmx.net>
887 * lyxtext.h: make some functions public to allow access
888 from inset/lyxtext for handling LFUN_PRIOR/NEXT
890 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
892 * text3.C (dispatch): when changing layout, avoid an infinite loop
895 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
897 * lyxrc.C (read): treat a viewer or converter command of "none" as
900 * MenuBackend.C (expandFormats): for an update, also allow the
901 formats that are not viewable
903 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
904 script if it is newer than the lyxrc.defaults in user directory
906 2002-10-07 André Pönitz <poenitz@gmx.net>
908 * text.C: Vitaly Lipatov's small i18n fix
910 2002-09-25 Angus Leeming <leeming@lyx.org>
912 * ispell.h: doxygen fix.
914 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
916 * buffer.h (readFile): Add a new argument to the method, to allow
917 reading of old-format templates.
919 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
921 * toc.C (getTocList): Get TOC from InsetWrap.
923 2002-09-16 John Levon <levon@movementarian.org>
925 * lyxfunc.C: check tabular for cut/copy too
927 2002-09-12 John Levon <levon@movementarian.org>
932 * factory.C: add header
935 * paragraph_funcs.C: cleanup
937 2002-09-11 John Levon <levon@movementarian.org>
939 * PrinterParams.h: odd/even default to true
941 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
943 * PrinterParams.h: update printer parameters for new xforms dialog
945 2002-09-11 Angus Leeming <leeming@lyx.org>
947 * lyxserver.C (read_ready): re-write to make it more transparent
948 and to make it work in coherent fashion under Tru64 Unix.
950 2002-09-11 André Pönitz <poenitz@gmx.net>
954 * text3.C: implement LFUN_WORDSEL
956 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
958 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
959 make floatlist_ a boost::shared_ptr<FloatList>
961 * lyxtextclass.C: include FloatList.h
962 (LyXTextClass): initialize floatlist_
963 (TextClassTags): add TC_NOFLOAT
964 (Read): match "nofloat" to TC_NOFLOAT and use it.
965 (readFloat): modify call to floatlist_
969 * FloatList.[Ch] (FloatList): remove commented out float
971 (erase): new function
973 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
975 * MenuBackend.C (expandToc): fix crash when there is no document
978 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
980 * many files: Add insetwrap.
982 2002-09-09 John Levon <levon@movementarian.org>
984 * text2.C: remove confusing and awkward depth wraparound
986 2002-09-09 John Levon <levon@movementarian.org>
988 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
991 * buffer.C: remove getIncludeonlyList()
994 * lyxfunc.C: remove headers
996 2002-09-09 Juergen Vigna <jug@sad.it>
998 * text.C (getColumnNearX): fix form Michael this is most
999 probably a cut&paste bug.
1001 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1003 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1005 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1006 references, ws changes.
1008 * text2.C (init): update counters after init
1009 (insertParagraph): no need to set counter on idividual paragraphs.
1010 (setCounter): access the counters object in the textclass object
1011 on in the buffer object.
1012 (updateCounters): ditto
1014 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1015 shared_ptr<Counters> to avoid loading counters.h in all
1017 (LyXTextClass): initialize ctrs_
1018 (TextClassTags): add TC_COUNTER, and ...
1019 (Read): use it here.
1020 (CounterTags): new tags
1021 (readCounter): new function
1022 (counters): new funtion
1023 (defaultLayoutName): return a const reference
1025 * counters.C (Counters): remove contructor
1026 (newCounter): remove a couple of unneeded statements.
1027 (newCounter): simplify a bit.
1028 (numberLabel): some small formatting changes.
1030 * buffer.[Ch]: remove all traces of counters, move the Counters
1031 object to the LyXTextClass.
1033 2002-09-06 Alain Castera <castera@in2p3.fr>
1035 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1036 package to set the horizontal alignment on fixed width columns.
1039 * lyx_sty.h: added tabularnewline macro def.
1041 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1043 2002-09-06 John Levon <levon@movementarian.org>
1045 * LyXAction.C: tooltips for sub/superscript
1047 * MenuBackend.C: a bit more verbose
1049 * lyxfunc.C: tiny clean
1051 * undo_funcs.C: document undo_frozen
1053 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * counters.C (Counters): add missing algorithm counter.
1057 * text2.C (setCounter): lookup the counter with layouts latexname
1058 instead of by section number.
1059 (setCounter): use a hackish way to lookup the correct enum
1061 a float name->type change
1062 reset enum couners with counter name directly instead of depth value.
1064 * counters.C (Counters): remove the push_backs, change to use the
1065 float type not the float name.
1066 (labelItem): remove unused string, float name->type change
1068 * counters.h: don't include vector, loose the enums and sects vectors
1070 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1072 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1073 (Read): add float->TC_FLOAT to textclassTags
1074 (Read): and handle it in the switch
1075 (readFloat): new function
1077 * FloatList.C (FloatList): comment out the hardcoded float
1080 * lyxlayout.h: ws change.
1082 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1084 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1086 2002-09-03 Angus Leeming <leeming@lyx.org>
1088 * BufferView_pimpl.h: qualified name is not allowed in member
1089 declaration: WorkArea & Pimpl::workarea() const;
1091 * factory.C: added using std::endl directive.
1093 * text3.C: added using std::find and std::vector directives.
1095 2002-08-29 André Pönitz <poenitz@gmx.net>
1098 * text2.C: remove unused member number_of_rows
1101 * BufferView2.C: remove file, move contents to...
1102 * BufferView.C: ... here
1104 * BufferView_pimpl.C:
1105 * factory.C: move more inset creation to factory
1107 * vspace.C: avoid direct usage of LyXText, ws changes
1110 don't provide direct access to WorkArea, use two simple
1111 acessors haveSelction() and workHeight() instead
1114 2002-08-29 John Levon <levon@movementarian.org>
1116 * BufferView_pimpl.C (dispatch): do not continue when
1119 2002-08-28 André Pönitz <poenitz@gmx.net>
1121 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1124 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1126 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1128 * buffer.C: increment LYX_FORMAT to 221
1130 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1131 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1133 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1135 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1137 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1139 * factory.C (createInset): use LyXTextClass::floats
1141 * MenuBackend.C (expandFloatListInsert):
1142 (expandFloatInsert):
1145 * text2.C (setCounter):
1147 * LaTeXFeatures.C (useFloat):
1148 (getFloatDefinitions):
1150 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1152 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1153 floatlist_, with accessor floats().
1155 * FloatList.h: remove global FloatList
1157 2002-08-26 André Pönitz <poenitz@gmx.net>
1159 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1163 * BufferView_pimpl.C:
1164 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1166 2002-08-25 John Levon <levon@movementarian.org>
1168 * LyXAction.C: fix margin note description
1170 2002-08-24 John Levon <levon@movementarian.org>
1174 * bufferview_funcs.C:
1176 * undo_funcs.C: cleanups
1178 * lyxfunc.C: disable CUT/COPY when no selection
1180 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1182 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1183 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1185 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1186 Add backward compatibility to "mono", "gray" and "no".
1188 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1190 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1191 (and file_format >= 200).
1193 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1195 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1197 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1199 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1201 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1203 * BufferView_pimpl.C:
1210 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1211 inset and code to make it work with the paragraph code. The inset
1212 can be anywhere in the paragraph, but will only do the expected
1213 thing in LaTeX if the layout file contains the parameter line
1215 (or more generally, a nonzero value) for that layout.
1217 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * paragraph.h: remove the declaration of undefined counters class
1222 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1224 * text2.C (setCounter): fixed enumeration mis-count as reported by
1225 Dr. Richard Hawkins.
1227 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1229 * paragraph_funcs.h: remove some unneeded includes
1231 * text.C (backspace): pasteParagraph now in global scipe
1233 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1234 (pasteSelection): ditto
1236 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1237 * paragraph_funcs.C (pasteParagraph): ... here
1239 2002-08-20 André Pönitz <poenitz@gmx.net>
1241 * commandtags.h: new LFUNs for swapping/copying table row/colums
1244 * lyxfunc.C: support for new lfuns
1246 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * buffer.[Ch]: remove NO_COMPABILITY stuff
1251 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * boost.C (throw_exception): new file, with helper function for
1254 boost compiled without exceptions.
1259 * ParameterStruct.h:
1260 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1262 * bufferlist.C (emergencyWriteAll): use boost bind
1264 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1266 * text.C: include paragraph_funcs.h
1267 (breakParagraph): breakParagraph is now in global scope
1269 * paragraph_funcs.[Ch]: new files
1271 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1274 * buffer.C: include paragraph_funcs.h
1275 (insertStringAsLines): breakParagraph is now in global scope
1277 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1280 * CutAndPaste.C: include paragraph_funcs.h
1281 (cutSelection): breakParagraphConservative is now in global scope
1282 (pasteSelection): ditto
1284 * buffer.h: declare oprator== and operator!= for
1285 Buffer::inset_iterator
1287 * bufferlist.C (emergencyWrite): don't use fmt(...)
1289 * text3.C: add using std::endl
1291 * BufferView.C (moveCursorUpdate): remove default arg
1293 2002-08-20 André Pönitz <poenitz@gmx.net>
1295 * buffer.[Ch]: move inline functions to .C
1298 * BufferView_pimpl.C:
1300 * buffer.[Ch]: use improved inset_iterator
1303 * paragraph.[Ch]: write one paragraph at a time
1305 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1307 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1308 style if style is not specified.
1310 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1312 * text2.C (setCounter): when searching for right label for a
1313 caption, make sure to recurse to parent insets (so that a caption
1314 in a minipage in a figure float works) (bug #568)
1316 2002-08-20 André Pönitz <poenitz@gmx.net>
1318 * text3.C: new file for LyXText::dispatch() and helpers
1320 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1322 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1324 2002-08-19 André Pönitz <poenitz@gmx.net>
1327 * text.C: new LyXText::dispatch()
1329 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1331 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1333 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1335 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1338 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1340 * Makefile.am: use $(variables) instead of @substitutions@
1342 2002-08-15 André Pönitz <poenitz@gmx.net>
1345 * BufferView_pimpl.C: streamlining mathed <-> outer world
1349 * LyXAction.C: remove unused LFUN_MATH
1351 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1353 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1355 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1357 * paragraph.C (Paragraph): reformat a bit
1358 (cutIntoMinibuffer): use builtin InsetList function instad of
1362 * buffer.C: include boost/bind.hpp, add using std::for_each
1363 (writeFileAscii): use ParagraphList iterators
1364 (validate): use for_each for validate traversal of paragraphs
1365 (getBibkeyList): use ParagraphList iterators
1366 (resizeInsets): use for_each to resizeInsetsLyXText for all
1368 (getParFromID): use ParagraphList iterators
1370 * BufferView2.C (lockInset): use paragraph list and iterators
1372 2002-08-14 John Levon <levon@movementarian.org>
1374 * lyxserver.C: remove spurious xforms include
1376 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1378 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1380 2002-08-13 André Pönitz <poenitz@gmx.net>
1383 * lyxfunc.C: further cleaning
1385 2002-08-13 André Pönitz <poenitz@gmx.net>
1387 * funcrequest.h: new constructor
1389 * funcrequest.C: move stuff here from .h
1392 * BufferView_pimpl.C:
1395 * lyxfunc.C: subsequent changes
1397 * lyxfunc.h: new view() member function
1399 * lyxfunc.C: subsequent changes
1401 2002-08-13 Angus Leeming <leeming@lyx.org>
1404 * BufferView_pimpl.C:
1412 changes due to the changed LyXView interface that now returns references
1413 to member variables not pointers.
1415 2002-08-13 Angus Leeming <leeming@lyx.org>
1417 * WordLangTuple (word, lang_code): return references to strings,
1422 * lyxtext.h: forward-declare WordLangTuple.
1427 * text.C: #include "WordLangTuple.h".
1430 * text.C: (selectNextWordToSpellcheck): constify return type.
1432 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1438 * paragraph_pimpl.h:
1441 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1443 Made updateCounter always count from start of buffer, and removed
1444 second argument (par).
1445 Reverted floats number display to '#'. Perhaps I'll try again when the
1446 code base is sanitized a bit.
1448 2002-08-12 Angus Leeming <leeming@lyx.org>
1450 * buffer.[Ch] (getLabelList): constify.
1452 2002-08-07 André Pönitz <poenitz@gmx.net>
1454 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1456 * funcrequest.h: extension to keep mouse (x,y) position
1458 2002-08-12 Juergen Vigna <jug@sad.it>
1460 * BufferView2.C (insertErrors): forbid undo when inserting error
1463 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1465 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * ParagraphList.[Ch]: new files
1469 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1471 * BufferView2.C (lockInset): ParagraphList changes
1474 * bufferlist.C: ditto
1478 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1480 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1481 unused class variable counter_,
1483 * paragraph.[Ch] (getFirstCounter): delete unused function
1485 * counters.C: include LAssert.h
1486 (reset): add a new function with no arg, change other version to
1487 not have def. arg and to not allow empty arg.
1489 * text2.C (setCounter): remove empty arg from call to Counters::reset
1491 2002-08-11 John Levon <levon@movementarian.org>
1493 * Makefile.am: add WordLangTuple.h
1495 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1498 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1500 * insets/insettext.C: InsetList changes
1502 * graphics/GraphicsSupport.C (operator()): InsetList changes
1504 * toc.C (getTocList): InsetList changes
1506 * paragraph_pimpl.[Ch]: InsetList changes
1508 * paragraph.[Ch]: InsetList changes
1510 * buffer.C (inset_iterator): InsetList changes
1511 (setParagraph): ditto
1512 * buffer.h (inset_iterator): ditto
1513 * iterators.C (operator++): ditto
1514 * iterators.h: ditto
1516 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1518 * InsetList.[Ch]: new files, most InsetList handling moved out of
1521 * BufferView2.C (removeAutoInsets): InsetList changes
1523 (ChangeInsets): ditto
1525 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1527 * paragraph_pimpl.h (empty): new function
1529 * paragraph.[Ch] (empty): new function
1531 * other files: use the new Paragraph::empty function
1533 2002-08-09 John Levon <levon@movementarian.org>
1535 * lyxtext.h: remove unused refresh_height
1537 2002-08-09 John Levon <levon@movementarian.org>
1544 * paragraph.C: move sgml char escaping out of paragraph
1547 * paragraph.C: remove id setter
1551 * paragraph_pimpl.C: remove dead tex_code_break_column
1553 * bufferview_funcs.C: small cleanup
1555 * lyxfunc.C: remove dead proto
1557 * lyxtext.h: make some stuff private. Remove some dead stuff.
1559 * lyxgluelength.C: make as[LyX]String() readable
1561 2002-08-08 John Levon <levon@movementarian.org>
1566 * ToolbarDefaults.C:
1569 * toc.C: lyxaction cleanup
1571 2002-08-08 John Levon <levon@movementarian.org>
1573 * BufferView2.C: small cleanup
1576 * lyxfind.C: move unnecessary header into the .C
1578 2002-08-08 John Levon <levon@movementarian.org>
1580 * funcrequest.h: just tedious nonsense
1583 * lyx_main.C: cleanups
1586 * vspace.C: remove dead header lyx_main.h
1588 2002-08-07 Angus Leeming <leeming@lyx.org>
1591 * paragraph_pimpl.h:
1592 Forward declare class Counters in paragraph.h by moving the ctrs member
1593 variable into Paragraph::Pimpl.
1594 (counters): new method, returning a reference to pimpl_->ctrs.
1596 * text2.C: ensuing changes.
1598 2002-08-07 John Levon <levon@movementarian.org>
1600 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1602 * BufferView_pimpl.C: announce X selection on double/triple
1605 * lyx_main.C: use correct bool in batch dispatch
1607 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1609 2002-08-07 André Pönitz <poenitz@gmx.net>
1611 * funcrequest.h: new class to wrap a kb_action and its argument
1614 * BufferView_pimpl[Ch]:
1618 * lyxrc.C: subsequent changes
1621 2002-08-07 John Levon <levon@movementarian.org>
1623 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1624 document options change.
1626 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1631 * makefile.am: move counters functionality over from
1632 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1634 2002-08-06 John Levon <levon@movementarian.org>
1636 * WordLangTuple.h: new file for word + language code tuple
1647 * BufferView2.C: use WordLangTuple
1650 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1652 2002-08-06 John Levon <levon@movementarian.org>
1654 * lyx_main.C: fix cmdline batch handling
1656 2002-08-06 André Pönitz <poenitz@gmx.net>
1658 * lyxrc.C: set default for show_banner to true
1660 2002-08-06 John Levon <levon@movementarian.org>
1662 * pspell.C: fix a crash, and allow new aspell to work
1664 2002-08-06 John Levon <levon@movementarian.org>
1667 * kbmap.C: small cleanup
1670 * vspace.C: add const
1672 2002-08-05 John Levon <levon@movementarian.org>
1674 * LyXAction.C: back to tabular-insert
1676 2002-08-04 John Levon <levon@movementarian.org>
1679 * BufferView.C: cosmetic change
1681 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1691 * BufferView2.C: purge all "Lyx" not "LyX" strings
1694 * lyxcursor.C: attempt to add some documentation
1699 * ToolbarDefaults.C:
1700 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1701 merge with LFUN_TABULAR_INSERT
1708 * pspell.C: split up i/pspell implementations into separate
1709 files, many cleanups
1711 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1713 * text2.C: some cleanup
1715 * lyxfunc.C: don't check for isp_command == "none" any more, it
1716 didn't make any sense
1718 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1723 * makefile.am: move counters functionality over
1724 from text2.C/paragraph.[Ch] to counters.[Ch], and
1726 2002-08-02 John Levon <levon@movementarian.org>
1728 * buffer.C: s/lyxconvert/lyx2lyx/
1730 2002-08-02 Angus Leeming <leeming@lyx.org>
1732 * lyxlex.C: revert John's change as it breaks reading of the user
1735 2002-08-02 Angus Leeming <leeming@lyx.org>
1737 * importer.C (Import):
1738 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1739 changes due to LyXView::view() now returning a boost::shared_ptr.
1741 2002-08-02 John Levon <levon@movementarian.org>
1743 * lyxlex.C: small cleanup
1745 2002-08-02 John Levon <levon@movementarian.org>
1747 * text2.C (status): small cleanup, no logic change
1749 2002-08-01 John Levon <levon@movementarian.org>
1752 * buffer.C (writeFile): don't output alerts, caller
1756 * lyx_cb.C: from above
1758 * lyxfunc.C: allow to open non-existent files
1760 2002-07-31 John Levon <levon@movementarian.org>
1762 * lyxserver.C: don't let incidental errors get
1765 2002-07-30 John Levon <levon@movementarian.org>
1767 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1769 2002-07-30 John Levon <levon@movementarian.org>
1772 * lyxserver.C: remove I/O callback too
1774 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1776 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1779 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1781 * many files: strip,frontStrip -> trim,ltrim,rtrim
1783 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1785 * PrinterParams.h: remove extern containsOnly, and include
1786 support/lstrings.h instead.
1788 * LaTeX.C (scanAuxFile): modify because of strip changes
1790 * buffer.C (makeLaTeXFile): ditto
1791 * bufferparams.C (writeFile): ditt
1792 * lyxfont.C (stateText): ditto
1793 * lyxserver.C (read_ready): ditto
1794 * vc-backend.C (scanMaster): ditto
1796 * BufferView_pimpl.h: ws changes
1798 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1800 2002-07-26 André Pönitz <poenitz@gmx.net>
1802 * kb_sequence.C: remove unnedred usings
1804 2002-07-26 Juergen Vigna <jug@sad.it>
1806 * lyxfind.C (LyXReplace): we have to check better if the returned
1807 text is not of theLockingInset()->getLockingInset().
1809 2002-07-25 Juergen Vigna <jug@sad.it>
1811 * lyxfind.C (LyXReplace): don't replace if we don't get the
1814 * undo_funcs.C (createUndo): remove debugging code.
1816 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1818 * buffer.C (parseSingleLyXformat2Token): Use default placement
1819 when reading old floats.
1821 * FloatList.C (FloatList): Change the default placement of figure
1822 and tables to "tbp".
1824 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1826 * MenuBackend.C: using std::max
1828 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1830 * MenuBackend.C (expandToc):
1831 (expandToc2): code moved from xforms menu frontend. It is now
1832 generic and TOCs are transparent to menu frontends.
1834 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1836 * toc.C (getTocList): protect against buf=0
1838 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1839 Menu as first parameter. Now, this calls itself recursively to
1840 expand a whole tree (this will be useful for TOC handling)
1841 (expandFloatInsert): remove 'wide' version of floats
1843 * MenuBackend.h (submenuname): returns the name of the submenu.
1844 (submenu): returns the submenu itself, provided it has been
1845 created by MenuBackend::expand
1847 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1849 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1850 insets which have noFontChange == true. (bug #172)
1852 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1854 * BufferView_pimpl.C: add connection objects and use them...
1857 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1859 * MenuBackend.C (expandLastfiles):
1862 (expandFloatListInsert):
1863 (expandFloatInsert):
1864 (expand): split expand in parts
1866 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1868 * lyx_gui.C: use lyx_gui::exit()
1870 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1872 * LyXAction.C: show the failing pseudo action
1874 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1876 * buffer.C (readFile): Run the lyxconvert script in order to read
1879 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1883 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1885 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1889 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1891 2002-07-22 Herbert Voss <voss@lyx.org>
1894 * lyxlength.[Ch]: add support for the vertical lengths
1896 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1898 * toc.[Ch]: std:: fixes
1900 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1902 * lyxrc.C: do not include lyx_main.h
1904 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1910 * BufferView2.C: include "lyxlex.h"
1913 * bufferparams.h: do not #include "lyxlex.h"
1915 * lyxtextclasslist.C (Add): remove method
1916 (classlist): renamed to classlist_
1918 * paragraph_pimpl.C:
1922 * bufferview_funcs.C:
1927 * toc.C (getTocList): use BufferParams::getLyXTextClass
1929 * toc.C (getTocList): use InsetFloat::addToToc
1931 * toc.[Ch]: new files, containing helper functions to handle table
1934 * lyxfunc.C (dispatch): no need to remove spaces around command
1936 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1937 first command of the sequence; it is not very clever, but I do not
1938 have a better idea, actually
1940 * LyXAction.C (LookupFunc): make sure to remove space at the
1941 beginning and end of the command
1943 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1945 * MenuBackend.C (getMenubar): new method: return the menubar of
1947 (read): treat differently reading of menu and menubar (in
1948 particular, the menubar has no name now)
1949 (Menu::menubar): remove
1951 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1954 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1956 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1957 a bibitem inset in a RTL paragraph.
1959 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1961 * paragraph_pimpl.C: constify
1963 * BufferView_pimpl.C:
1965 * lyxfunc.C: fix dispatch in a nicer way
1967 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1969 * lyxfunc.C (dispatch):
1970 * BufferView_pimpl.C:
1971 * BufferView_pimpl.h:
1973 * BufferView.h: rename Dispatch() to dispatch()
1975 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1977 * lyxlayout.C (Read): honor DependsOn tag
1979 * lyxlayout.[Ch] (depends_on): new method
1981 * version.C.in: update lyx_docversion
1983 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1985 * paragraph.C (validate): remove from here...
1986 * paragraph_pimpl.C (validate): ... and move here
1987 (isTextAt): make it const
1989 * buffer.C (getLists): ws cleanup
1991 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1993 * language.C (read): Use iso8859-1 encoding in latex_lang
1994 (this prevents LyX from crashing when using iso10646-1 encoding).
1996 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1998 * text2.C (toggleInset): if cursor is inside an inset, close the
1999 inset and leave cursor _after_ it
2001 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2003 * lyxfunc.C: move minibuffer completion handling out of here
2005 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2007 * BufferView_pimpl.C:
2008 * LaTeX.C: fix dispatch calls
2010 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2012 * text.C (drawChars): Fix Arabic text rendering.
2014 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2018 * lyxfunc.C: remove message-push/pop
2022 * lyxfunc.C: rationalise some code by removing verboseDispatch
2023 in favour of a bool argument to dispatch()
2025 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2027 * lyx_main.C (init): make sure to read symlinks as absolute paths
2029 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2032 * lyxfunc.C: no need for commandshortcut to be a member
2034 2002-07-15 André Pönitz <poenitz@gmx.net>
2036 * converter.C: add support for $$s (scripts from lib/scripts dir)
2037 * lyx_main.C: white space
2039 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2043 * lyxrc.C: remove second exit confirmation
2045 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2050 * BufferView_pimpl.h:
2051 * BufferView_pimpl.C:
2052 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2054 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2056 * MenuBackend.C (expand): add numeric shortcuts to document menu
2058 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2060 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2062 * lyxfont.C (setLyXFamily):
2069 * buffer.C (asciiParagraph): use ascii_lowercase
2071 2002-07-15 Mike Fabian <mfabian@suse.de>
2073 * lyxlex_pimpl.C (search_kw):
2074 * lyxlex.C (getLongString):
2075 * converter.h (operator<):
2076 * converter.C (operator<):
2077 * buffer.C (parseSingleLyXformat2Token):
2079 * ToolbarDefaults.C (read):
2080 * MenuBackend.C (checkShortcuts):
2082 * LColor.C (getFromGUIName):
2083 (getFromLyXName): use the compare_ascii_no_case instead of
2084 compare_no_case, because in turkish, 'i' is not the lowercase
2085 version of 'I', and thus turkish locale breaks parsing of tags.
2087 2002-07-16 Angus Leeming <leeming@lyx.org>
2089 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2090 now takes a Buffer const & argument.
2092 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2094 * BufferView.C (resize): check there's a buffer to resize
2096 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2098 * lyxfunc.C: remove dead code
2101 * lyxserver.C: use lyx_guii::set_read_callback
2103 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2105 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2106 an inset in a RTL paragraph.
2108 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2110 * lyxfunc.C: repaint after a font size update
2112 2002-07-15 André Pönitz <poenitz@gmx.net>
2114 * lyxlength.C: inBP should be able to return negative values
2116 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2118 * lyxfunc.C: use lyx_gui::update_fonts()
2120 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2122 * lyxfunc.C: use lyx_gui::update_color()
2124 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2130 * lyxrc.C: remove file->new asks for name option, and let
2131 buffer-new take an argument
2133 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2135 * BufferView_pimpl.C: remove unneeded extra repaint()
2137 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2139 * LyXAction.C: allow command-sequence with NoBuffer
2141 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2143 2002-07-10 Angus Leeming <leeming@lyx.org>
2145 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2147 2002-07-09 Angus Leeming <leeming@lyx.org>
2149 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2151 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2153 * lengthcommon.h: whitespace
2155 * lyxfunc.C: update scrollbar after goto paragraph
2157 * lyxtext.h: factor out page break drawing, and fix it so
2158 page break/added space paints as selected nicely
2160 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2162 * BufferView_pimpl.C: add FIXMEs, clean up a little
2164 2002-07-09 André Pönitz <poenitz@gmx.net>
2166 * lyxfont.[Ch]: support for wasy symbols
2168 2002-07-08 André Pönitz <poenitz@gmx.net>
2170 * BufferView_pimpl.C: apply John's patch for #93.
2172 2002-07-05 Angus Leeming <leeming@lyx.org>
2174 * BufferView_pimpl.C (buffer): generate previews if desired.
2176 * LColor.h: add "preview" to the color enum.
2178 * LColor.C (LColor): add a corresponding entry to the items array.
2180 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2183 2002-07-05 Angus Leeming <leeming@lyx.org>
2185 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2186 The body of the code is now in the method that is passed an ostream &
2187 rather than a file name.
2188 Pass an additional only_preamble parameter, useful for the forthcoming
2191 2002-07-03 André Pönitz <poenitz@gmx.net>
2193 * lyxfunc.C: simplify getStatus() a bit for math stuff
2195 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2197 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2199 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2201 * text.C (changeRegionCase): do not change case of all the
2202 document when region ends at paragraph end (bug #461)
2204 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2206 * paragraph.C (startTeXParParams):
2207 (endTeXParParams): add \protect when necessary
2209 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2211 * BufferView_pimpl.C (workAreaExpose): remove warning
2213 2002-06-27 Angus Leeming <leeming@lyx.org>
2215 * Makefile.am: add lyxlayout_ptr_fwd.h.
2217 2002-06-26 André Pönitz <poenitz@gmx.net>
2219 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2221 2002-06-25 Angus Leeming <leeming@lyx.org>
2223 * lyxfunc.C (dispatch): Comment out the call to
2224 grfx::GCache::changeDisplay. The method no longer exists now that the
2225 pixmap generation part of the graphics loader has been moved into
2228 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2230 * text2.C: layout as layout
2232 * text.C: layout as layout
2234 * tabular.C (OldFormatRead): layout as layout
2236 * paragraph_pimpl.C (TeXDeeper): layout as layout
2237 (realizeFont): layout as layout
2239 * paragraph.C (writeFile): layout as layout
2240 (validate): layout as layout
2241 (getFont): layout as layout
2242 (getLabelFont): layout as layout
2243 (getLayoutFont): layout as layout
2244 (breakParagraph): layout as layout
2245 (stripLeadingSpaces): layout as layout
2246 (getEndLabel): layout as layout
2247 (getMaxDepthAfter): layout as layout
2248 (applyLayout): layout as layout
2249 (TeXOnePar): layout as layout
2250 (simpleTeXOnePar): layout as layout
2251 (TeXEnvironment): layout as layout
2252 (layout): layout as layout
2253 (layout): layout as layout
2255 * lyxtextclass.C (compare_name): new functor to work with
2256 shared_ptr, layout as layout
2257 (Read): layout as layout
2258 (hasLayout): layout as layout
2259 (operator): layout as layout
2260 (delete_layout): layout as layout
2261 (defaultLayout): layout as layout
2263 * lyxlayout_ptr_fwd.h: new file
2265 * lyxlayout.C (Read): layout as layout
2267 * lyx_cb.C (MenuInsertLabel): layout as layout
2269 * bufferlist.C (newFile): layout as layout
2271 * buffer.C (readLyXformat2): layout as layout
2272 (parseSingleLyXformat2Token): layout as layout
2273 (insertStringAsLines): layout as layout
2274 (asciiParagraph): layout as layout
2275 (latexParagraphs): layout as layout
2276 (makeLinuxDocFile): layout as layout
2277 (simpleLinuxDocOnePar): layout as layout
2278 (makeDocBookFile): layout as layout
2279 (simpleDocBookOnePar): layout as layout
2280 (getLists): layout as layout
2282 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2284 * CutAndPaste.C (cutSelection): layout as layout
2285 (pasteSelection): layout as layout
2286 (SwitchLayoutsBetweenClasses): layout as layout
2288 * BufferView_pimpl.C (Dispatch): layout as layout
2289 (smartQuote): layout as layout
2291 * BufferView2.C (unlockInset): layout as layout
2293 2002-06-24 André Pönitz <poenitz@gmx.net>
2295 * lyxfunc.C: fix #487
2297 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2301 * lyxfunc.C: remove display_shortcuts, show_banner
2303 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2305 * Buffer_pimpl.C: oops, update on resize
2307 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2314 * BufferView.C: use repaint()
2316 * BufferView_pimpl.h:
2317 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2318 as it's a clearer description. Remove superfluous
2321 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2323 * text.C: fix bug 488. Not ideal, but getting
2324 getWord() to work properly for the insets that
2325 matter is more difficult ...
2327 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2329 * BufferView_pimpl.C:
2332 * lyxfunc.C: remove the six million index lyxfuncs to just
2333 one, and DTRT (bug 458)
2335 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2339 * BufferView_pimpl.h:
2340 * BufferView_pimpl.C: clean up resize() stuff,
2341 and unnecessary updateScreen()s
2343 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2347 * BufferView_pimpl.h:
2348 * BufferView_pimpl.C:
2351 * minibuffer.C: remove focus management of workarea,
2352 not needed. Use screen's greyOut()
2354 2002-06-17 Herbert Voss <voss@lyx.org>
2356 * converter.C: (convert) do not post a message, when converting
2357 fails, let the calling function decide what to do in this case
2359 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2361 * lyxfunc.C: tidy up a little
2363 2002-06-16 <alstrup@diku.dk>
2365 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2366 Got rid of FORMS_H_LOCATION include. Now we are
2369 2002-06-15 LyX Development team <lyx@rilke>
2371 * buffer.[Ch] (sgmlOpenTag):
2372 (sgmlCloseTag): Added support for avoiding pernicious mixed
2373 content. Return number of lines written.
2376 (makeDocBookFile): Fixed calls to sgml*Tag.
2377 Simple white space clean.
2379 (simpleDocBookOnePar): Simple white space clean.
2381 * tabular.[Ch] (docBook): Renamed to docbook and got another
2382 argument to related with the pernicious mixed content.
2384 (docbookRow): Fixed calls for docbook inset method.
2386 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2388 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2389 so it's X11 independent.
2393 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2395 2002-06-15 Lyx Development team <lyx@electronia>
2397 * intl.h: Renamed getTrans to getTransManager.
2399 2002-06-14 Angus Leeming <leeming@lyx.org>
2401 * Makefile.am: nuke forgotten stl_string_fwd.h.
2403 2002-06-12 Angus Leeming <leeming@lyx.org>
2405 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2407 2002-06-13 Angus Leeming <leeming@lyx.org>
2410 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2412 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2414 * kbmap.C (getiso): add support for cyrillic and greek
2416 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2420 * BufferView_pimpl.h:
2421 * BufferView_pimpl.C: move bogus scrolling logic
2424 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2427 * BufferView_pimpl.C: view->resize() change
2429 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2431 * BufferView_pimpl.C: topCursorVisible
2434 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2438 * lyx_gui.C: move to frontends/
2442 * lyx_main.C: changes from above
2444 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2451 * lyx_main.C: minor tidy
2453 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2455 * BufferView_pimpl.h:
2456 * BufferView_pimpl.C:
2458 * BufferView.C: make painter() const,
2461 * BufferView2.C: use screen() accessor
2464 * lyx_main.C: some minor cleanup
2466 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2468 * BufferView_pimpl.h:
2469 * BufferView_pimpl.C: remove enter/leaveView,
2472 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2477 * BufferView_pimpl.h:
2478 * BufferView_pimpl.C: only construct screen once,
2481 * lyxrc.C: remove pointless comment
2483 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2486 * BufferView.C: remove active() and belowMouse()
2488 * BufferView_pimpl.h:
2489 * BufferView_pimpl.C: use workarea() not workarea_,
2490 and make it use a scoped_ptr instead
2492 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2494 * lyx_gui.C: add debug message on BadWindow
2496 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2498 * sp_spell.C: fdopen is not part of the C++ standard.
2500 * paragraph.C (InsetIterator): use >= instead of ==
2502 2002-06-07 Angus Leeming <leeming@lyx.org>
2504 Fixes needed to compile with Compaq cxx 6.5.
2505 * BufferView_pimpl.C:
2512 * lyxtextclasslist.C:
2517 all c-library variables have been moved into namespace std. Wrap
2518 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2523 Add a using std::abs declaration.
2525 * kbmap.h (modifier_pair):
2526 * paragraph.h (InsetTable, InsetList):
2527 * lyxfont.h (FontBits):
2528 type definition made public.
2530 * bufferlist.C (emergencyWriteAll): the compiler complains that
2531 there is more than one possible lyx::class_fun template to choose from.
2532 I re-named the void specialisation as lyx::void_class_fun.
2534 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2536 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2537 the compiler is is unable to find tostr in write_attribute.
2539 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2541 * buffer.C (sgmlError): hide #warning
2543 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2545 * xtl/*: get rid of xtl, which is not in use anyway
2547 * LyXAction.C (init):
2548 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2549 were unimplemented xtl experimentation
2551 2002-06-04 André Pönitz <poenitz@gmx.net>
2553 * lyxfunc.C: disable array operation on simple formulae
2555 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2557 * converter.C: constify a bit
2559 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2561 * lyx_gui.C: check xforms version correctly
2563 2002-04-30 Herbert Voss <voss@lyx.org>
2565 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2568 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2570 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2571 attempt to register it with a VCS)
2573 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2575 * lyx_main.C (init): honor variables LYX_DIR_13x and
2578 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2582 * lyx_main.C: fix a crash on bad command line,
2583 and give a useful exit status on error
2585 * lyxfunc.C (doImport): allow -i lyx to work
2587 2002-03-30 André Pönitz <poenitz@gmx.net>
2589 * lyxfunc.C: mathed font changes
2591 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2606 * trans_mgr.h: srcdocs, and some minor cleanups
2608 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2610 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2611 call getFont all the time)
2613 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2615 * switch from SigC signals to boost::signals
2617 2002-05-29 André Pönitz <poenitz@gmx.net>
2619 * paragraph_pimpl.C (getChar): don't call size() too often...
2621 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2623 * paragraph_pimpl.C (insertChar): do not try to update tables when
2624 appending (pos == size())
2626 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2627 in order to reduce drastically the number of comparisons needed to
2628 parse a large document
2630 2002-05-29 André Pönitz <poenitz@gmx.net>
2636 * textclasslist.[Ch]:
2637 * sp_ispell.h: whitespace change
2639 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2641 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2642 lyxaction directly now.
2644 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2648 * lyxvc.C: remove unused headers
2650 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2657 * undo_funcs.C: some cleanups. Use shared_ptr
2658 and a template for the undo stacks.
2660 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2662 * BufferView_pimpl.h:
2663 * BufferView_pimpl.C:
2670 * text2.C: use key_state/mouse_state
2672 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2674 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2677 * chset.C: change include order
2678 (loadFile): use boost regex and get rid of LRegex and LSubstring
2680 * Makefile.am (BOOST_LIBS): new variable
2683 * LaTeX.C: change include order.
2684 (scanAuxFile): use boost regex and get rid of LRegex and
2688 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2693 * FontInfo.C: moved to frontends/xforms/
2696 * FontLoader.C: moved into frontends for GUIIzation
2701 * lyxfunc.C: changes from above
2703 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2705 * LColor.C: remove spurious X include
2707 * BufferView_pimpl.C:
2712 * text2.C: move font metrics to frontends/
2714 2002-05-24 Juergen Vigna <jug@sad.it>
2716 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2717 setting the undo_cursor.
2719 * ParagraphParameters.h: include local includes first.
2721 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2723 * BufferView_pimpl.C:
2724 * BufferView_pimpl.h:
2728 * screen.C: move WorkArea into frontends/
2734 * BufferView2.C: move LyXScreen into frontends/
2738 * lyx_gui.C: move lyxlookup into frontends/xforms/
2740 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2743 * BufferView_pimpl.C:
2753 * bufferview_funcs.C:
2766 * vc-backend.C: move LyX/XFormsView into frontends/
2768 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2780 * text2.C: move Painter to frontends/
2782 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2784 * buffer.C: comment out some some code that depend upon lyx_format
2787 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2788 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2790 * buffer.h (NO_COMPABILITY): turn off compability
2792 * ColorHandler.C: include scoped_array.hpp
2794 * font.C: Use more specific smart_ptr header.
2797 * ShareContainer.h: ditto
2801 * BufferView_pimpl.h: ditto
2802 * ColorHandler.h: ditto
2804 * kbmap.C (defkey): change call to shared_ptr::reset
2806 2002-05-21 Juergen Vigna <jug@sad.it>
2808 * buffer.C (insertErtContents): fix to insert ert asis if it is
2809 non empty. Skip it completely if it contains only whitespaces.
2811 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2813 * BufferView_pimpl.C:
2814 * BufferView2.C: clear selection on paste (bug 393)
2816 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2818 * DepTable.C: include ctime
2820 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2822 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2824 2002-05-14 Juergen Vigna <jug@sad.it>
2826 * text.C (breakParagraph): fixed function to honor the keepempty
2827 layout in the right maner and also to permit the right breaking
2828 algorithm on empty or non empyt keepempty paragraphs.
2830 * paragraph.C (breakParagraph): we have to check also if the par
2831 is really empty (!size()) for isempty otherwise we do the wrong
2834 2002-05-10 Juergen Vigna <jug@sad.it>
2836 * buffer.[Ch] : The following are only changes to the ert
2837 compatibility read reading old LaTeX layout and font stuff and
2838 convert it to ERTInsets.
2840 * buffer.h: added isErtInset().
2842 * buffer.C (struct ErtComp): add a fromlayout bool to check
2843 if we're inside a LaTeX layout.
2844 (isErtInset): new helper function.
2845 (insertErtContents): look for other ert insets before this one
2846 and insert the contents there, so that we don't have subsequent
2847 ERT insets with nothing between them. This way we create only one
2848 inset with multiple paragraphs. Also check if we don't insert only
2849 spaces ' ' as they are ignored anyway afterwards in the .tex file
2850 so if we have only spaces we will ignore this latex part in the
2852 (parseSingleLyXformat2Token \\layout): better compatibility when
2853 reading layout-latex stuff.
2854 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2856 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2857 stuff after reading the inset only get the information back from
2860 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2862 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2864 * LaTeXFeatures.C (getBabelOptions): New method.
2866 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2868 * BufferView_pimpl.C (Dispatch): work around missing argument for
2871 2002-05-08 Juergen Vigna <jug@sad.it>
2873 * text.C (leftMargin): handle paragraph leftindent.
2875 * paragraph.C (writeFile): write the new \\leftindent tag.
2876 (validate): handle leftindent code.
2877 (TeXEnvironment): handle paragraphleftindent code again.
2879 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2881 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2882 for paragrap_extra indent code and new token \\leftindent.
2883 (latexParagraphs): handle the leftindent as environment.
2885 * ParameterStruct.h: added leftindent support.
2887 * ParagraphParameters.C (leftIndent): added support functions for
2888 the paragraph left indent.
2890 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2893 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2895 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2898 * text.C (computeBidiTables): No bidi in insetERT.
2900 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2903 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2905 * version.C.in: pre 5
2907 2002-05-02 José Matos <jamatos@fep.up.pt>
2908 * buffer.C (makeDocBookFile): white space changes, add newline to
2910 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2912 * tabular.C (docBook): fix typo.
2914 2002-05-03 Juergen Vigna <jug@sad.it>
2916 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2917 change in LyXText as we can not be sure it was not freed.
2918 (drawOneRow): remove unused code.
2920 * text.C (drawInset): redo the calculation of the need_break_row as
2921 it could have a row which was already freed.
2922 (draw): look at the return value of drawInset and return false if
2923 it also returned false.
2924 (paintRowText): look at the return value of draw and return false if
2925 it also returned false.
2927 * lyxtext.h: added bool return type to drawInset() and draw() so that
2928 if we have a change in the row so that the rowbreak has to be redone
2929 we abort drawing as it will be called again.
2931 2002-05-02 Juergen Vigna <jug@sad.it>
2933 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2934 a change in the maintext also if we're inside an inset.
2935 (Dispatch): set the cursor again after a break line and after the
2936 screen has been updated as it could be we're in a different row.
2938 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2939 to set the cursor behind the pargraph with > size().
2940 (setCursor): check also for the same paragraph when checking where
2941 to put the cursor if we have a NFR inset.
2943 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2944 parts of layout read further up as it still was in the wrong
2947 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2949 * screen.C (drawFromTo): change sine fullRebreak always return
2952 * buffer.C (parseSingleLyXformat2Token): reindent some
2954 * BufferView_pimpl.C (update): change since fullRebreak always
2956 (Dispatch): git rid of the last hardcoded "Standard"s.
2958 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2960 * text2.[Ch] (fullRebreak): make it return void now that we always
2963 2002-04-30 Juergen Vigna <jug@sad.it>
2965 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2966 ert compatibility check for "latex" layout.
2968 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2970 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2971 minipages: use col% instead of p%, and also use the current font.
2972 (makeLaTeXFile): Fix use babel condition.
2973 (parseSingleLyXformat2Token): Correct font when reading old floats.
2975 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2977 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2978 inserting list of floats.
2980 2002-04-25 Herbert Voss <voss@lyx.org>
2982 * MenuBackend.C (expand): don't add the graphics extensions to the
2985 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2987 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2988 non-existing layout, do not complain if it was the default layout
2989 of the original class (bug #342)
2991 2002-04-24 Juergen Vigna <jug@sad.it>
2993 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2994 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2996 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2998 * buffer.C (getBibkeyList): If using \bibliography, return the
2999 option field with the reference itself. Enables us to provide natbib
3000 support when using \bibliography.
3002 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3004 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3006 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3007 natbib is provided by the LaTeX class.
3009 2002-04-23 Juergen Vigna <jug@sad.it>
3011 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3014 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3016 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3018 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3020 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3021 ensuremath around textordmasculine, textordfeminine and
3024 2002-04-19 Juergen Vigna <jug@sad.it>
3026 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3027 reinitializing the buffer otherwise row-dimensions may be wrong.
3028 (update): reset also the selection cursors if they do exits otherwise
3029 their x/y positions may be wrong.
3031 * text2.C (cursorDown): don't enter the inset if we came from a row
3032 above and are one row over the inset.
3034 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3035 really leaving an inset.
3037 2002-04-18 Juergen Vigna <jug@sad.it>
3039 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3040 of the selected paragraph does not have the selected layout also if
3043 * text2.C (setLayout): fixed bug which did not change last selected
3046 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3047 changed the read and substituted \\end_float with \\end_inset!
3049 * BufferView_pimpl.C (cursorPrevious):
3050 (cursorNext): fixed to make it work with rows heigher than the work
3051 area without moving the cursor only the draw of the row.
3052 (workAreaMotionNotify): fix jumping over high rows.
3054 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3056 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3059 2002-04-16 Juergen Vigna <jug@sad.it>
3061 * text2.C (setCursor): set also the irow().
3062 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3064 (cursorDown): support for locking an inset if the x_fix value goes
3065 inside it. That way I can transverse insets too with cursor up/down.
3067 * lyxrow.h: added irow helper function same as other (i) functions.
3069 * BufferView_pimpl.C (cursorPrevious):
3070 (cursorNext): fixed for insets!
3072 2002-04-15 Juergen Vigna <jug@sad.it>
3074 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3075 position otherwise it is wrong in some cases.
3077 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3078 inside the inset before the call.
3080 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3082 * buffer.[Ch] (getBibkeyList): make it const.
3084 2002-04-12 Juergen Vigna <jug@sad.it>
3086 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3088 * text2.C (getCursorX): new helper function
3089 (setCursor): compute also ix_
3090 (setCursorFromCoordinates): set also ix.
3092 * lyxcursor.h: added ix_ and helper functions.
3094 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3096 * buffer.C (insertStringAsLines): dont break paragraph if the this
3097 paragraph is inside an inset which does not permit it!
3099 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3100 also with no chars on this paragraph.
3101 (paintRowText): only paint stuff if it's inside the workarea!
3103 * paragraph.C (breakParagraph): honor keepempty flag and break the
3104 paragraph always below not above.
3106 * BufferView2.C (unlockInset): update the paragraph layout on inset
3107 unlock as we changed paragraph in such a case.
3109 * lyxfind.C (LyXFind): clear the former selection if not found!
3111 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3112 again called in insertChar().
3114 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3115 an inset which uses the whole row!
3116 (rightMargin): ditto.
3117 (insertChar): force a rebreak if we inserted an inset!
3119 2002-03-28 Herbert Voss <voss@lyx.org>
3121 * lyxlength.[Ch]: add inBP() to get the right PS-point
3122 units (BigPoint). With inPixels we have rounding errors
3124 2002-04-11 Juergen Vigna <jug@sad.it>
3126 * text2.C (setCursorFromCoordinates): set iy to the right value.
3127 (setCursor): add check if row->previous exists!
3129 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3130 an old float_type as this was the case in the old code!
3132 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3134 * BufferView2.C (showLockedInsetCursor): use iy
3135 (fitLockedInsetCursor): ditto
3137 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3138 locked insets as there we have the right value now.
3140 * lyxcursor.C: added iy_ variable and iy functions to set to the
3141 baseline of cursor-y of the locked inset.
3143 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3144 (setCursor): fixed for insets which need a full row.
3146 * text.C (rowLastPrintable): don't ignore the last space when before
3147 an inset which needs a full row.
3148 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3149 as last character of a row when before a inset which needs a full row.
3151 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3153 * version.C.in: update date
3155 * text2.C (fullRebreak): try to always return true and see what
3158 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3160 * MenuBackend.C (expand): use Floating::listName
3162 * FloatList.C (FloatList): add listName argument to the built-in
3165 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3166 text associated with the float.
3168 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3170 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3172 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3174 * ShareContainer.h: add a couple of missing typenames.
3176 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3178 * lyxrc.C (getDescription): use _() correctly rather than N_().
3180 2002-03-28 Herbert Voss <voss@lyx.org>
3182 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3183 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3185 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3187 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3188 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3190 2002-03-29 Juergen Vigna <jug@sad.it>
3192 * lyxfunc.C (dispatch): add a missing fitCursor call.
3194 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3195 it was scrolled by a cursor move, so return the bool status.
3197 * BufferView.C (fitCursor): return the bool flag also to the outside
3198 world as this is needed.
3200 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3202 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3203 call the edit() as it is not needed (and wrong) IMO.
3204 (workAreaButtonPress): set the screen_first variable before evt.
3205 unlock the inset as this may change screen_first and then we have
3206 a wrong y position for the click!
3208 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3210 * MenuBackend.C (expand): another translation that I missed
3212 2002-03-28 Juergen Vigna <jug@sad.it>
3214 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3216 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3218 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3220 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3222 * MenuBackend.C (expand): fix export/view/update when there is no
3225 2002-03-27 Herbert Voss <voss@lyx.org>
3227 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3230 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3232 * bufferview_funcs.C (currentState): only show paragraph number
3233 for is DEVEL_VERSION is set.
3235 * lyxfunc.C (dispatch): put warning in INFO channel
3237 * MenuBackend.C (expand): translate the name of floats
3239 * FloatList.C (FloatList): mark the float names for translation
3241 * converter.C (convert): use LibScriptSearch
3243 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3245 * MenuBackend.C (defaults): fix default menu (we might as well get
3248 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3250 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3253 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3255 * lyxvc.C: reorder includes.
3257 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3259 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3262 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3264 * CutAndPaste.C: change layouts earlier on paste
3265 to avoid crashing when calling getFont()
3267 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3269 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3272 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3274 * WorkArea.C: remove 'Pending' debug message.
3276 * most files: ws cleanup
3278 * buffer.[Ch]: ws changes
3280 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3282 2002-03-21 Juergen Vigna <jug@sad.it>
3284 * tabular.C (SetMultiColumn): collapse also the contents of the
3285 cells and set the last border right. Added a Buffer const * param.
3287 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3289 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3292 2002-03-19 Juergen Vigna <jug@sad.it>
3294 * text2.C (clearSelection): reset also xsel_cache.
3296 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3297 where it needs to be called (John tells us to do so too :)
3298 (selectionLost): reset sel_cache.
3300 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3302 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3304 * text2.C (setCursorIntern): put debuging code in INSETS channel
3306 2002-03-19 André Pönitz <poenitz@gmx.net>
3308 * lyxfunc.C: tiny whitespace change
3310 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3312 * ToolbarDefaults.C (init):
3313 * LyXAction.C (init):
3315 * BufferView_pimpl.C (Dispatch):
3316 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3318 2002-03-19 Allan Rae <rae@lyx.org>
3320 * exporter.C (Export): removeAutoInsets before doing anything else.
3321 While I've just introduced a dependency on BufferView this really is
3322 the best place to clean the buffer otherwise you need to cleanup in
3323 a dozen places before calling export or cleanup in a dozen functions
3326 * converter.C (runLaTeX):
3327 (scanLog): Better handling of removeAutoInsets and screen updates.
3329 * lyxfunc.C (dispatch): small whitespace changes
3331 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3333 * WorkArea.C (C_WorkAreaEvent): return a value.
3334 (event_cb): return 1 if we handled the event, 0 otherwise.
3336 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3338 2002-03-18 Juergen Vigna <jug@sad.it>
3340 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3341 (GetAdditionalWidth): ditto.
3345 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3346 inset if we're there actually (probably not used right now but this
3347 is the direction to go for unifying code).
3348 (paste): disable code to clear the selection.
3350 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3351 inside an InsetText and move the check further up as it is in the
3354 * text2.C (pasteSelection): set a selection over the pasted text.
3356 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3358 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3359 and libgraphics to build on Cygwin.
3361 2002-03-15 Juergen Vigna <jug@sad.it>
3363 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3364 inserting an Inset into the paragraph. I know this is not the best
3365 fix but we already use current_view in CutAndPaste so we will remove
3366 all of it's using at the same time.
3368 * buffer.C (sgmlError): deactivated function till it is rewritten in
3369 the right mode, now it can create problems.
3371 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3372 before accessing it.
3374 2002-03-14 Juergen Vigna <jug@sad.it>
3376 * undo_funcs.C (textHandleUndo): do the right thing when updating
3377 the inset after the undo/redo.
3379 * text2.C (setCursor): just some testcode for #44 not ready yet.
3381 * undo_funcs.C (textHandleUndo): set the next() and previous()
3382 pointers of the paragraph to 0 before deleting otherwise we have
3383 problems with the Paragraph::[destructor].
3385 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3386 on a paragraph insertion.
3388 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3390 * buffer.C (asciiParagraph): use += operator for char append to
3393 * paragraph.C (getFontSettings): compare >= not just >
3394 (highestFontInRange): ditto
3397 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3399 * paragraph.C: change several algorithm to be more appripriate for
3400 the problem domain. This is lookip in FontList and in the InsetList.
3402 2002-03-13 André Pönitz <poenitz@gmx.net>
3405 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3407 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3412 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3414 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3416 * Painter.C (display): anon helper function, adjust code for this
3418 (pixmap): remove function.
3420 * Painter.h: remove private display variable.
3422 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3424 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3426 * WorkArea.[Ch]: remove figinset_canvas cruft.
3428 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3430 * lyxtextclass.C (operator): add one item cache optimization.
3432 * bufferlist.h: doxy changes
3434 * bufferlist.C: ws changes
3436 * DepTable.[Ch] (ext_exist): place const in the right spot.
3438 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3440 (workAreaExpose): call resizeInsets when the with BufferView changes.
3441 (Dispatch): adjust for protectedBlank removal
3442 (specialChar): call updateInset if the insert went ok.
3444 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3445 specialChar instead.
3447 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3449 * BufferView.h: doxy change
3451 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3453 * lyxtextclass.C (operator[]): remove non-const version
3454 (defaultLayout): remove non-const version
3456 2002-03-12 Juergen Vigna <jug@sad.it>
3458 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3459 did resize the LyXText too.
3461 * buffer.C (readLyXformat2): set layout information on newly allocated
3464 * tabular.C (OldFormatRead): set layout information on the paragraph.
3466 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3468 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3470 2002-03-11 Juergen Vigna <jug@sad.it>
3472 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3474 (resizeCurrentBuffer): force also the insets to resize themselfes.
3475 (moveCursorUpdate): fixed up for InsetText.
3477 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3480 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3481 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3482 value of Dialogs::tooltipsEnabled().
3483 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3485 2002-03-08 Juergen Vigna <jug@sad.it>
3487 * BufferView_pimpl.C (updateInset): update inset inside inset also
3488 if it isn't inside theLockingInset().
3490 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3492 * buffer.C (asciiParagraph): redo some of the word and line length
3494 (getLists): look for Caption instead of caption.
3496 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3498 * buffer.C (Buffer): initialize niceFile to true
3501 (makeDocBookFile): make sure niceFile is true on exit
3503 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3505 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3507 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3509 * LyXSendto.C: remove.
3510 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3511 * lyx_gui.C: remove now-redundant comment.
3512 * ColorHandler.h: remove forward declaration of class WorkArea.
3513 * lyxfunc.C: remove #include "WorkArea.h".
3515 2002-03-07 Juergen Vigna <jug@sad.it>
3517 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3518 got moved away with the DEPM and also set the inset_owner always
3519 right which before could have been omitted.
3521 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3523 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3524 wanted layout is not found.
3526 2002-03-07 Juergen Vigna <jug@sad.it>
3528 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3530 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3532 * paragraph.C (breakParagraph): use default layout not layout of
3534 (Paragraph): clear ParagraphParameters.
3536 2002-03-06 Juergen Vigna <jug@sad.it>
3538 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3539 otherwise it would not be a valid lenght. Fixed a special case in
3540 the minipage compatibility read where we end the document with a
3543 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3544 was set as it could be 0 for InsetTexts first entry.
3546 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3548 * paragraph.C (writeFile): if layout is empty write out
3549 defaultLayoutName().
3551 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3552 file without named layout we set layout to defaultLayoutName().
3554 2002-03-06 Juergen Vigna <jug@sad.it>
3556 * CutAndPaste.C (copySelection): set layout for new paragraph.
3558 * text.C (prepareToPrint): leave ERT inset left aligned
3559 (leftMargin): don't indent paragraphs inside ERT insets
3561 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3563 * paragraph.C (breakParagraph): dont call clear do the work manually
3565 * paragraph.[Ch] (clear): remove function
3567 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3569 * paragraph.C (Paragraph): dont call clear, the work has already
3572 * lyxtextclass.C (operator): assert if n is empty
3574 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3575 work manually instead.
3577 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3579 * BufferView_pimpl.C: protect selectionLost against text == 0
3581 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3583 * text.C (breakParagraph): fix a setting layout to '0' problem.
3585 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3587 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3588 final location of file, for the included files, and graphics.
3590 2002-03-05 Juergen Vigna <jug@sad.it>
3592 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3594 2002-03-04 Juergen Vigna <jug@sad.it>
3596 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3598 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3599 last column of multicolumn cells.
3600 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3602 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3604 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3605 file if it doesn't go to a temporary file.
3607 * buffer.C (sgmlOpenTag):
3608 (sgmlCloseTag): remove extra newline insertion.
3610 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3612 * text.C (getRowNearY): comment out debug msg
3614 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3616 * text2.C: first -> first_y
3618 * text.C (getRowNearY): add some attemts at a possible
3619 optimization, not working.
3621 * tabular.[Ch]: add BufferParams to several function so that newly
3622 created paragraph can be initialized to he default layotu for the
3625 * tabular-old.C (ReadOld): add buf->params to call of Init
3627 * screen.C: rename text->first to text->first_y
3629 * paragraph.C (breakParagraph): always set layout in the broken
3632 * lyxtextclass.C (Read): remove lowercase
3635 (delete_layout): ditto
3637 * lyxtext.h: rename first -> first_y
3639 * lyxlayout.C (Read): remove lowercase
3642 (obsoleted_by): ditto
3644 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3646 * buffer.C (insertErtContents): add params are to InsetERT
3647 (parseSingleLyXformat2Token): add code to check if a paragraphs
3648 layout really exist.
3649 (parseSingleLyXformat2Token): add params to several inset
3651 (asciiParagraph): remove lowercase, do the layout comparisons with
3654 * BufferView_pimpl.C (cursorNext): first -> first_y
3655 (resizeCurrentBuffer): first -> first_y
3656 (updateScrollbar): first -> first_y
3657 (scrollCB): first -> first_y
3658 (workAreaMotionNotify): first -> first_y
3659 (workAreaButtonPress): first -> first_y
3660 (checkInsetHit): first -> first_y
3661 (cursorPrevious): first -> first_y
3662 (cursorNext): first -> first_y
3663 (Dispatch): add buffer_->params to severl inset contructors
3665 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3667 * lyxlayout.C (Read): remove some debug info that I forgot.
3669 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3670 clean up the code slightly.
3671 (makeLinuxDocFile): ditto
3672 (makeDocBookFile): ditto
3674 * text2.C: layout as string
3676 * text.C: layout as string
3678 * paragraph_pimpl.C: layout as string
3680 * paragraph.[Ch]: layout as string
3682 * lyxtextclasslist.[Ch]: layout as string
3684 * lyxtextclass.[Ch]: layout as string
3686 * lyxtext.h: layout as string
3688 * lyxlayout.[Ch]: layout as string
3690 * lyx_cb.C: layout as string
3692 * bufferview_funcs.C: layout as string
3694 * bufferparams.C: layout as string
3696 * buffer.C: layout as string
3698 * LyXView.[Ch]: layout as string
3700 * LaTeXFeatures.[Ch]: layout as string
3702 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3704 * BufferView_pimpl.C: change current_layout to string, remove
3709 (workAreaButtonRelease): layout as string
3711 * BufferView2.C (unlockInset): adjust
3713 * vspace.C (asLatexCommand): use an explict temp variable.
3715 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3717 * Makefile.am: use FRONTEND_*
3719 2002-03-01 Juergen Vigna <jug@sad.it>
3721 * tabular.C (SetWidthOfMulticolCell): changed to something better
3722 I hope but still work in progress.
3723 (recalculateMulticolumnsOfColumn): renamed function from
3724 recalculateMulticolCells as it is more appropriate now.
3725 (SetWidthOfCell): calculate multicols better.
3727 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3729 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3731 * lyxfunc.C (processKeySym): print sequence also if it is
3732 `deleted' (complete)
3734 * kbsequence.C (print): print sequence even if it is deleted
3735 (complete would be a better word, actually).
3737 * lyxfunc.C (dispatch): print complete options after a prefix key
3739 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3741 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3743 * text2.C (setCharFont): eliminate setCharFont code duplication.
3745 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3747 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3748 LFUN_TABULAR_FEATURE (bug #177)
3750 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3752 * Makefile.am: remove figure.h
3754 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3756 * Bufferview_pimpl.C:
3768 * text2.C: remove #include "lyx_gui_misc.h".
3770 * LaTeX.C: added #include <cstdio>
3772 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3774 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3775 that the paragraph following this one can have.
3777 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3779 * vspace.C (asLatexCommand): fix bogus gcc warning
3781 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3783 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3785 * text2.C (setLayout): get rid of redundant code
3787 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3789 * text2.C (incDepth): make sure depth cannot be increased beyond
3792 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3794 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3795 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3797 * PainterBase.h (image):
3798 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3801 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3805 * BufferView_pimpl.C:
3806 * BufferView_pimpl.h:
3826 * sp_spell.C: remove fig inset, and the crap house of
3827 cards that follows it
3829 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3835 * nt_defines.h: move .h into support/
3837 * vms_defines.h: remove
3839 * WorkArea.C: add space in debug output
3843 * buffer.C: add WITH_WARNINGS
3847 * bufferlist.C: s/retrive/retrieve/, add docs
3858 * lyxgui.C: add ID to X error handler
3860 * lyxtestclass.c: fix typo
3862 2002-02-26 Juergen Vigna <jug@sad.it>
3864 * tabular_funcs.C (write_attribute): changed so that some default
3865 attributes are not written at all.
3866 (getTokenValue): set default values before trying to read the
3867 value so we have the return value always set as default if we don't
3868 find the token we search for.
3870 * tabular.C (Write): write bools as bools not as strings!
3872 2002-02-22 Juergen Vigna <jug@sad.it>
3874 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3875 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3877 * text.C (leftMargin): don't add an indent for paragraphs inside
3878 tabular cells (fix #208).
3880 2002-02-21 José Matos <jamatos@fep.up.pt>
3882 * tabular.C (docBook): fixed support for long tables.
3884 2002-02-20 Juergen Vigna <jug@sad.it>
3886 * text2.C (getFont): get the drawing font of the Inset if this
3887 paragraph is inside an inset (only important for InsetERT for now).
3889 * buffer.C (insertErtContents): use new lanugage params in ERT
3892 * CutAndPaste.C: commenting out seemingly uneeded code.
3894 2002-02-19 Allan Rae <rae@lyx.org>
3896 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3897 Iterators might be simple to use but they also get invalidated.
3898 (removeAutoInsets): renamed saved cursor tracking variables and added
3899 some comments to clarify what everything does.
3901 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3908 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3909 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3912 * vc-backend.h: remove #include "support/syscall.h"
3916 * converter.C: rearrange #includes in Lars' approved fashion.
3918 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3919 forward declare class Timeout in the header file.
3921 * XFormsView.C: changes due to the above.
3923 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3926 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3927 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3929 2002-02-18 José Matos <jamatos@fep.up.pt>
3931 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3934 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3936 * a lot of small ws changes
3937 * add a lot of using std::XXX
3938 * use std construcs some places where approp.
3939 * use some exisint stuff from lyxfunctional where approp.
3940 * Make file changes to use partial linking (lets test this now...)
3942 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3946 remove #include "support/syscontr.h" as it's redundant. Always has been.
3954 change Systemcalls::System to Systemcalls::Wait and
3955 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3956 No change of functionality, just reflects the stripped down Systemcalls
3959 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3961 * debug.[Ch]: add a GRAPHICS type to the enum.
3963 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3965 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3967 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3970 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3972 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3973 match the changes below.
3975 * text2.C (toggleInset): if there is not editable inset at cursor
3976 position, try to see if cursor is _inside_ a collapsable inset
3979 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3981 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3982 document menu has a nice checkbox
3984 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3986 * lyxlength.C (asLatexString): change PW to output as percent of
3989 * lengthcommon.C: change '%' to 't%'
3991 * lyxfunc.C (dispatch): a few comments from Martin
3993 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3997 * BufferView_pimpl.h:
3998 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4001 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4003 * vspace.C (inPixels): fix compiler warning
4005 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4007 * lyxfunc.C (getStatus): fix status message for disabled commands.
4009 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4011 * BufferView_pimpl.C: fix crash on close buffer
4012 during selection (#227)
4014 2002-01-27 Herbert Voss <voss@lyx.org>
4016 * buffer.C: link old Figure to new graphic inset
4018 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4020 * FontLoader.C (getFontinfo): Change the latex font names in order
4021 to match the names of type1inst.
4023 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4025 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4027 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4030 (remove_files_with_extension): ditto
4031 (remove_file): ditto
4034 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4035 document is smaller than the work area height. Do not initialize
4036 static variables to 0.
4038 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4040 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4042 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4043 LFUN_LAYOUT_PARAGRAPHS.
4045 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4046 tabular. It is possible to provide a possible cell, which will
4047 typically be the actcell from the corresponding insettabular
4049 * lyxfunc.C (getStatus): small cleanup; disable
4050 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4053 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4055 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4057 * paragraph.C (startTeXParParams):
4058 (endTeXParParams): new methods. The LaTeX code to
4059 start/end paragraph formatting
4060 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4061 empty (fixes bug #200)
4063 * vspace.C (inPixels): adapt to the change below
4064 (inPixels): [later] more cleanups (remove unused variables)
4066 * lyxlength.C (inPixels): change to use a width and a height as
4069 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4071 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4072 Replaced with \paperwidth
4074 * DepTable.C (insert): add std:: qualifier
4076 2002-01-18 Allan Rae <rae@lyx.org>
4078 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4081 * text.C (drawInset): Turned out I didn't know enough about how
4082 rebreaking worked. This fixes most of the redraw problems. I see
4083 an occasional cursor trail when a line is broken now and the cursor
4084 placement can seem out by a few pixels also after a rebreak.
4086 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4088 * buffer.C (parseSingleLyXformat2Token): update because minipage
4089 width is now a LyXLength
4091 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4093 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4096 2002-01-17 Juergen Vigna <jug@sad.it>
4098 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4100 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4101 is set correctly and the inset is updated correctly.
4103 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4105 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4106 the beginning of the loop.
4108 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4110 * lyxrc.C: improve help for use_scalable_fonts
4112 2002-01-17 Allan Rae <rae@lyx.org>
4114 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4116 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4118 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4119 make sure to set their inset_owner to the right value (bug #171)
4121 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4124 * DepTable.C: Implement mtime checking to reduce time spent doing
4127 2002-01-16 Juergen Vigna <jug@sad.it>
4129 * tabular.C (GetAdditionalHeight): one of error fixed.
4131 * lyxrc.C (output): small fix in writing use_pspell.
4133 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4135 * sp_base.h: #include LString.h
4137 2002-01-16 Allan Rae <rae@lyx.org>
4139 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4140 Can someone check this please?
4142 * text.C (drawInset): It was possible that p.row would be removed by
4143 breakAgainOneRow upsetting a few other settings. There may be another
4144 small tweak possible by setting need_break_row = 0 when p.row has been
4145 removed but I don't know enough about the logic here.
4147 2002-01-15 Allan Rae <rae@lyx.org>
4149 * text.C (insertChar): removed conditional truism.
4151 * BufferView2.C (removeAutoInsets): More tweaks.
4152 cur_par_prev could be a stray pointer. Check for trailing empty line
4153 in case last line was cur_par and only had an error inset on it.
4155 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4157 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4160 * vc-backend.C (most methods):
4161 * exporter.C (Export):
4162 * converter.C (convert):
4164 * LyXSendto.C (SendtoApplyCB):
4165 * lyxfunc.C (dispatch):
4169 * lyx_cb.C (AutoSave):
4171 * BufferView_pimpl.C (MenuInsertLyXFile):
4172 * buffer.C (runChktex): use Buffer::filePath().
4174 * buffer.h: rename filename to filename_; rename filepath to
4175 filepath_ and make it private
4176 (filePath): new method
4178 * buffer.C (writeFile): use fileName()
4181 * lyx_main.C (init): fix starting of LyX when the binary is a
4182 link from so,ewhere else.
4184 * minibuffer.C: include <cctype> for isprint
4186 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4188 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4189 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4190 name clash with InsetCollapsable's width function.
4192 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4194 * lastfiles.C: include <iterator>
4196 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4198 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4201 * buffer.C (makeLaTeXFile): ditto.
4202 Also make loop operation more transparent.
4204 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4206 * ToolbarDefaults.C: remove trailing comma closing namespace.
4208 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4210 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4213 * trans.C (Load): comment out unused variable, allowed.
4215 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4217 * minibuffer.[Ch] (append_char): new method to recieve input from the
4218 drop-down completion browser. If a key was pressed, then recieve this
4219 char and append it to the existing string.
4220 (peek_event): modify the positioning data passed to the completion
4221 browser so that it can be placed above the minibuffer rather than below.
4222 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4224 * LyXAction.C (init): alloe error-next for readonly documents.
4226 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4229 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4231 * bufferlist.C (readFile): create the buffer _after_ checking that
4234 * lyxfunc.C (verboseDispatch): fix handling of arguments
4236 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4238 * lyxrc.C: use string::erase() instead of initializing to "".
4241 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4243 * BufferView_pimpl.h:
4244 * BufferView_pimpl.C:
4247 * text2.C: tell X when we have made a selection for copying
4249 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4251 * BufferView_pimpl.C (MenuInsertLyXFile):
4252 * lyxfunc.C (menuNew):
4254 (doImport): add shortcuts to directory buttons
4256 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4259 * lyxfunc.C (setStatusMessage):
4260 (getStatusMessage): new methods
4261 (getStatus):use setStatusMessage instead of setErrorMessage
4262 (dispatch): when function is disabled, set error message here
4263 [instead of in getStatus previously]
4265 * BufferView_pimpl.C (workAreaButtonRelease): update
4266 toolbar/menubar here too.
4268 2002-01-13 Allan Rae <rae@lyx.org>
4270 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4271 Now seems indestructible. Remaining task is to audit all other
4272 code affected by deleteEmptyParagraphMechanism. One small quirk
4273 left is that an empty document with an error in the preamble can
4274 be made to report an error but no error box appears. I don't know
4276 (removeAutoInsets): Improved comments.
4278 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4281 * Thesaurus.C: update for Aiksaurus 0.14
4283 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4285 * text2.C (firstParagraph): removed member function, all uses
4286 replaces with ownerParagraph
4287 (redoParagraphs): here
4289 (toggleAppendix): here
4290 * BufferView2.C (insertErrors): here
4291 (setCursorFromRow): here
4293 2002-01-13 Allan Rae <rae@lyx.org>
4295 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4296 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4297 There is still a way to segfault this although you may have to do this
4298 multiple times: Have an InsetERT with an unknown command in it.
4299 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4300 <down-arrow>, <Enter> again, View->DVI, BANG!
4302 * text2.C (setCursor):
4303 (deleteEmptyParagraphMechanism):
4304 * lyxtext.h (setCursor):
4305 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4306 Making use of the return value may help fix other bugs.
4308 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4310 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4312 * LyXView.C (updateMenubar): call MenuBar::update here
4313 (updateToolbar): but not here
4314 (showState): do not update toolbar/menubar
4316 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4317 should need to care about that.
4319 * lyxfunc.C (verboseDispatch): simplify a bit
4320 (getStatus): have a version which takes a pseudoaction, and
4321 another which requires a (kb_action,string).
4323 * LyXAction.C (retrieveActionArg): make it work also when action
4324 is not a pseudo-action.
4325 (getActionName): simplify a bit
4328 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4330 * lyxfunc.C (verboseDispatch): new families of methods with
4331 several ways to specify a command and a bool to indicate whether
4332 the command name and shortcut should be displayed in minibuffer
4333 (eventually, we could extend that to a finer bitmask like
4334 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4335 (dispatch): the pristine dispatch command which just, well,
4336 dispatchs! Note it still sets its result to minibuffer; I'm not
4339 * lyxfunc.h: remove setHintMessage
4341 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4343 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4345 * BufferView_pimpl.C (specialChar): delete new inset if we have
4346 not been able to insert it.
4348 * kbmap.C: revert to using int instead of kb_action, since all we
4349 are dealing with is pseudo-actions.
4351 * LyXAction.C (searchActionArg): change to return int instead of
4352 kb_action, since the result is a pseudoaction.
4354 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4356 * buffer.C (insertErtContents): Fix (partially) the font bug.
4358 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4360 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4361 as the other one is broken on my machine!
4363 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4366 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4368 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4370 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4371 reflect their actual use. Provide compatibility code for older lyxrc
4374 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4376 change names of popup font variables in line with the changes to lyxrc.C
4378 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4380 * buffer.C (asciiParagraph): avoid outputing a word twice after
4383 * lyxrc.C (getDescription): document that document_path and
4384 template_path can be empty.
4386 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4388 * LaTeXFeatures.C (getMacros):
4389 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4391 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4393 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4395 (getPackages): rename feature "floats" to "float". Use an array to
4396 iterate over 'simple' features (i.e. just a \usepackage). Add
4397 handling of "amsmath" (renamed from "amsstyle").
4399 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4401 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4404 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4406 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4407 FuncStaus::FuncStatus & FuncStaus::some_method().
4409 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4411 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4412 of the func_satus stuff. Edited and massaged in various ways by
4415 * lyxfunc.C (getStatus): use FuncStatus
4417 2002-01-08 Juergen Vigna <jug@sad.it>
4419 * text.C (nextBreakPoint): use function Inset::isChar().
4421 * paragraph.C (TeXOnePar): use function
4422 Inset::forceDefaultParagraphs.
4424 * buffer.C (latexParagraphs): use function
4425 Inset::forceDefaultParagraphs.
4427 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4429 * lyx_gui.C (init): set the style of the menu popups to
4430 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4432 2002-01-07 Juergen Vigna <jug@sad.it>
4434 * text.C (setHeightOfRow): small fix
4435 (prepareToPrint): don't look at alignment if we don't have the place
4438 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4440 * box.C: New file. Move the Box methods and functions out of box.h,
4441 following Lars' suggestion.
4443 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4445 * box.h: #include "support/LOstream.h", needed for inlined function.
4448 * lyxtextclasslist.C: added some using std declarations.
4450 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4452 * box.h: make signed dimensions to allow insets wider than
4453 the screen (bug #162)
4455 * BufferView_pimpl.C: add some insetHit debug
4457 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4459 * vc-backend.C: add FIXME
4461 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4463 * lyxfunc.C (getStatus): enable code for showing math font status
4466 2002-01-07 Juergen Vigna <jug@sad.it>
4468 * text.C (nextBreakPoint): removed debug output not needed anymore.
4470 2002-01-06 Juergen Vigna <jug@sad.it>
4472 * text.C (nextBreakPoint): fixed up this function we had this bug
4473 since ever but now hopefully we break row better.
4474 (insertChar): we have to check if an inset is the next char as it
4475 could now happen that a large inset is causing a break.
4477 2002-01-05 Juergen Vigna <jug@sad.it>
4479 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4480 if it doesn't like to be drawed.
4482 2002-01-04 Juergen Vigna <jug@sad.it>
4484 * BufferView2.C (lockInset): forgot to set a cursor.
4486 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4488 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4493 * form_maths_panel.C:
4494 * form_maths_panel.h:
4495 * form_maths_panel.fd: implemented sub- and super- buttons in math
4498 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4499 (or ^ space) to be used as in TeX (req'd by André).
4501 * lyxfunc.C: Allow ^ and _ again to be used both as
4502 super/subscript (mathed) and as themselves (in text).
4504 2002-01-03 Allan Rae <rae@lyx.org>
4506 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4507 "LyX" or the filename of the current buffer if it has one. This is a
4508 modified form of John Levon's patch.
4510 * XFormsView.C (setWindowTitle): also set icon title.
4512 * LyXView.h (setWindowTitle): signature changed.
4513 * XFormsView.h (setWindowTitle): ditto.
4515 2002-01-02 Juergen Vigna <jug@sad.it>
4517 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4519 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4521 * screen.C (topCursorVisible): introduce a temp var for
4522 text->cursor.row(), handle the case where this row is null. (kindo
4525 * text2.C (setCursor): add a couple of asserts.
4527 * paragraph.h (inset_iterator): add -> operator
4529 * paragraph.[Ch] (autoDeleteInsets): remove member function
4531 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4532 cursor pos correctly and handle inset deletion by itself.
4533 (insertErrors): move iterator declaration out of for expression
4535 * lyxtextclass.C: add <algorithm>
4537 * Makefile.am: added the new files to sources, removed layout.C
4539 * layout.C: removed file
4541 * layout.h: remove LYX_DUMMY_LAYOUT
4543 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4547 * lyxtextclass.[Ch]:
4548 * lyxtextclasslist.[Ch]: new files
4550 * include order changes to a lot of files, also changes because of
4553 2001-12-27 Juergen Vigna <jug@sad.it>
4555 * buffer.C (asciiParagraph): more fixes.
4557 * tabular.C (ascii): make ascii export support export of only the
4558 data separated by a column-delimiter.
4559 (ascii): better support for ascii export.
4561 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4563 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4565 * tabular_funcs.C: use a "using std::getline" instead of the
4566 previous fix from Angus (necessary for cxx + lyxstring)
4568 2001-12-24 Juergen Vigna <jug@sad.it>
4570 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4572 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4573 problems. First check a minipage also if we have some ert-contents
4574 (not only on par->size(), second set the right depth of the paragraph
4575 on the relink to the root-paragraph-list!
4577 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4578 which then did not anymore update the main paragraphs on undo/redo!
4580 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4582 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4583 code. Support all font-changing funcs (even those which are not in
4584 menu currently). Support for reporting font settings in
4585 mathed (disabled until Andre provides a function on mathed's side).
4587 * func_status.h (toggle): small helper function to set toggle
4590 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4592 * tabular_funcs.C: getline -> std::getline
4594 2001-12-21 Juergen Vigna <jug@sad.it>
4596 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4597 accessed and could be 0 (I couldn't generate this but it seems
4600 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4602 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4603 * tabular_funcs.h: here and include iosfwd
4605 2001-12-20 Juergen Vigna <jug@sad.it>
4607 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4608 inside inset but undo_par was.
4610 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4612 * Thesaurus.C: always include <config.h> in sources.
4616 * box.h: do not include <config.h> in header files
4618 * text.C (paintLastRow): remove unused variable
4620 * text.C (transformChar):
4622 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4625 * font.C (width): rewrite to use uppercase() instead of
4628 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4630 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4632 * lyxfind.C: clean up of find failure position change
4634 2001-12-20 Juergen Vigna <jug@sad.it>
4636 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4638 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4639 (TeXRow): added to LaTeX a single tabular row.
4640 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4641 (Latex): simplified and finally good LT-h/f support.
4642 (various_functions): just small adaptions for LT-h/f support.
4644 * tabular_funcs.[hC]: added and moved here all not classfunctions
4647 2001-12-19 Juergen Vigna <jug@sad.it>
4649 * tabular.[Ch]: better support for longtabular options (not finished
4652 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4654 * text.C (paintLastRow): use the label font instead of the font of
4655 the last character to compute the size of *_BOX. This makes more
4656 sense and avoids a crash with empty paragraphs.
4657 Use Painter::rectangle to draw EMPTY_BOX.
4659 2001-12-19 Juergen Vigna <jug@sad.it>
4661 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4662 the paragraphs if the replaced paragraph is not the first one!
4663 Tried to delete not used paragraphs but does not work yet so for
4664 now it's inside #ifdef's and by default off!
4666 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4668 * MenuBackend.C: include "lyx_main.h" instead of declaring
4669 lastfiles (actually was declared as LastFiles* instead of a
4672 2001-12-17 Juergen Vigna <jug@sad.it>
4674 * tabular.C (AppendColumn): applied John's fix
4676 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4680 * BufferView_pimpl.h:
4681 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4684 * box.h: new start of class for above
4686 * lyxfunc.C: ignore space-only minibuffer dispatches.
4687 Show the command name when it doesn't exist
4689 * minibuffer.C: don't add empty lines to the history
4691 * minibuffer.C: add a space on dropdown completion
4693 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4695 * text.C: fix line above/below drawing in insets
4697 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4699 * lyxlength.C (LyXLength): Initialize private variables.
4701 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4703 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4704 when inserting error insets.
4706 2001-12-13 Juergen Vigna <jug@sad.it>
4708 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4709 actually sometimes the before-paragraph.
4710 (setUndo): don't clear the redostack if we're not actually undoing!
4712 2001-12-06 Juergen Vigna <jug@sad.it>
4714 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4715 and fixed redoing of main paragraph, so we can use it now ;)
4717 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4719 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4721 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4724 2001-12-13 André Pönitz <poenitz@gmx.net>
4727 * undo_func.C: minor cleanup
4729 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4731 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4732 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4733 font in urw-fonts package which is marked as -urw-fontspecific and
4734 does not work (incidentally, changing the encoding in the
4735 fonts.dir of this package to -adobe-fontspecific fixes the
4738 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4739 is a crash when undoing first paragraph (Juergen, please take a
4740 look). THis does not mean the undo fix is wrong, just that it
4743 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4744 the (Paragraph*) version when needed instead of duplicating the
4747 * text.C (workWidth): use Inset::parOwner to find out where the
4748 inset has been inserted. This is a huge performance gain for large
4749 documents with lots of insets. If Inset::parOwner is not set, fall
4750 back on the brute force method
4752 * paragraph_pimpl.C (insertInset):
4753 * paragraph.C (Paragraph):
4754 (cutIntoMinibuffer): set parOwner of insets when
4755 inserting/removing them
4757 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4759 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4765 * mathed/formulabase.C:
4766 * mathed/math_cursor.[Ch]:
4767 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4770 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4772 * lyxlength.[Ch] (operator!=): new function
4774 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4776 * text.C (workWidth): use Inset::parOwner to find out where the
4777 inset has been inserted. This is a huge performance gain for large
4778 documents with lots of insets. If Inset::parOwner is not set, fall
4779 back on the brute force method
4781 * paragraph_pimpl.C (insertInset):
4782 * paragraph.C (Paragraph):
4783 (cutIntoMinibuffer): set parOwner of insets when
4784 inserting/removing them
4786 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4788 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4790 * tabular-old.C (getTokenValue):
4791 * tabular.C (getTokenValue):
4792 (write_attribute): new versions for LyXLength
4793 (everywhere): adjust the use of widths
4795 * tabular.h: change the type of widths from string to LyXLength
4797 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4799 * paragraph.C: fixed missing line number count when exporting
4800 Environments to LaTeX file
4802 * buffer.C: added informational message for checking line numbers.
4804 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4806 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4807 paragraph, do the 'double space' part, but not the 'empty
4810 * text.C (workWidth): small optimization
4811 (getLengthMarkerHeight): use minimal size for negative lengths.
4813 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4815 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4817 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4819 2001-12-11 André Pönitz <poenitz@gmx.net>
4822 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4824 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4826 * text2.C: keep selection on a setFont()
4828 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4830 * lyx_cb.C: another bv->text misuse, from insert label
4832 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4835 * kbsequence.C: re-instate nmodifier mask
4837 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4839 * lyx_main.h: make lyxGUI private.
4841 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4843 * lyxfind.C: place the cursor correctly on failed search
4845 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4847 * text.C (getLengthMarkerHeight): for small heights, the arrows
4848 are not always on top/bottom of the text
4849 (drawLengthMarker): smaller arrows; take the left margin in
4850 account; draw also vfills.
4852 (paintLastRow): remove special code for vfill and standard spaces,
4853 since everything is handled in drawLengthMarker now.
4855 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4857 * buffer.C (insertErtContents): try to handle font and language
4858 interaction a bit better.g
4860 * ColorHandler.C (updateColor): change the hash to cover the whole
4861 LColor enum, ws cleanup
4862 (getGCLinepars): ditto
4863 (getGCLinepars): only lookup in the linecache once.
4865 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4867 * iterators.C (operator++): Make the iterator more robust
4869 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4871 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4873 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4876 * text.C: better added space drawing
4878 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4881 * BufferView2.C: fix layout combo update on inset unlock
4883 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4885 * Makefile.am: don't compile unused files
4887 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4891 * LyXAction.C: remove old LFUN_LAYOUTNO
4893 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4895 * paragraph_pimpl.h:
4896 * paragraph_pimpl.C: isTextAt() doesn't need font param
4898 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4901 * lyxlex.C: little cleanup
4903 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4905 * BufferView_pimpl.C: fix insertAscii for insets
4907 2001-12-05 Juergen Vigna <jug@sad.it>
4909 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4910 set the right font on the "multi" paragraph paste!
4912 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4918 * lyxlength.C: remove out-commented code.
4934 * vc-backend.C: change "while(" to "while ("
4936 * lyxlength.[Ch]: add zero function to check if length is zero or
4938 * lyxgluelength.C: use it
4940 2001-12-05 Allan Rae <rae@lyx.org>
4942 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4943 Works for 2.95.3, from what I understand of Garst's reports this should
4944 work for other g++ versions. We're screwed if the abs(int) definition
4945 changed between bugfix releases of gcc.
4947 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4949 * text.C: fix chapter label offset !
4951 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4954 * text.C: fix hfill at end of line, clean up
4956 2001-12-04 Juergen Vigna <jug@sad.it>
4958 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4959 that we force an update of the inset and it's owners if neccessary.
4961 2001-12-03 Juergen Vigna <jug@sad.it>
4963 * text.C (rowLast): simplified code
4965 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4967 * lyxfunc.C: fix show options on timeout
4969 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4971 * screen.C (topCursorVisible): scroll half a page when the cursor
4972 reached top of bottom of screen
4974 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4976 * minibuffer.C: deactivate on loss of focus
4978 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4980 * vspace.[Ch] (operator!=): add operator.
4982 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4984 * BufferView_pimpl.C: refuse to open an inset when
4985 there's a selection.
4987 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4989 * BufferView_pimpl.C: allow to click on RHS of full row insets
4991 2001-11-30 Juergen Vigna <jug@sad.it>
4993 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4994 insets for undo reasons.
4996 2001-11-28 André Pönitz <poenitz@gmx.net>
4998 * vspace.[Ch]: cosmetical changes
5000 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5010 * kbsequence.C: part re-write of old kb code
5013 * WorkArea.C: remove Lgb_bug_find_hack
5015 2001-11-30 José Matos <jamatos@fep.up.pt>
5017 * buffer.C (makeDocBookFile): add a comment to point a hack.
5018 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5019 Fixed a double write of labels.
5021 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5024 * LaTeX.h Fixed bug in LaTeX class where it would not
5025 re-run latex if no depfiles were changed, but the .dvi was removed.
5027 2001-11-28 André Pönitz <poenitz@gmx.net>
5029 * all the files from the change on 2001/11/26:
5030 use lyx::layout_type instead of LyXTextClass::size_type
5031 use lyx::textclass_type instead of LyXTextClassList::size_type
5033 2001-11-29 Juergen Vigna <jug@sad.it>
5035 * text.C: added support for paragraph::isFreeSpacing()
5037 * buffer.C: same as above
5039 * paragraph.h: inserted isFreeSpacing() function to enable
5040 FreeSpacing inside InsetERT.
5042 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5043 of the paragraph's in the cut/copy buffer to 0!
5045 * text2.C (removeRow): remove the assert as it can!
5047 * lyxtext.h: added helper function firstRow returning firstrow and
5048 made firstrow private again.
5050 * BufferView2.C (lockInset): don't relock if we're already locked!
5052 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5054 (removeRow): added Assert::(firstrow)
5056 * debug.C: forgot to add INSETTEXT here.
5058 2001-11-28 Juergen Vigna <jug@sad.it>
5060 * sp_spell.C (initialize): changed error text to more general
5061 spellchecker command use (not only ispell!)
5063 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5065 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5067 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5069 * vspace.C: initialise lyxgluelength on failure
5071 2001-11-28 Allan Rae <rae@lyx.org>
5073 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5074 declaration & definition that looks like a function declaration.
5076 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5078 * BufferView2.C (copy):
5079 (copyEnvironment): do not clear the selection when doing a copy.
5081 * text.C (paintFirstRow): compilation fix
5083 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5085 * tabular.C (Latex): correct line count when writing latex.
5087 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5089 * paragraph_pimpl.h:
5090 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5093 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5097 * LColor.C: change vfillline->added_space
5099 * text.C: add markers and text for added space
5101 * vspace.C: fix comment
5103 2001-11-28 André Pönitz <poenitz@gmx.net>
5105 * paragraph.C: whitespace changes
5106 * all the other files from the change on 2001/11/26:
5107 change *::pos_type into lyx::pos_type
5109 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5111 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5112 language of the document when inserting error insets.
5114 2001-11-26 André Pönitz <poenitz@gmx.net>
5116 * BufferView_pimpl.[Ch]:
5124 * paragraph_pimpl.[Ch]:
5127 * text2.C: reduce header dependencies, introduce type for positions
5129 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5131 * <various>: change to use Alert.h
5133 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5135 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5136 when encountering an unknown token.
5137 (readLyXformat2): Show an error message if there were unknown tokens.
5139 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5142 * BufferView_pimpl.C:
5146 * text2.C: use par->isInset()
5148 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5150 * paragraph_pimpl.h:
5151 * paragraph_pimpl.C: cleanup
5153 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5155 * text2.C (removeRow):
5156 * text.C (setHeightOfRow): remove useless (and costly) call to
5159 2001-11-20 Allan Rae <rae@lyx.org>
5161 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5162 Now need Inset*::checkInsertChar() to return true for appropriate
5163 cases so that the characters in the minibuffer will actually be
5166 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5168 * text.C: change the order of the includes.
5169 (workWidth): initialize it at once.
5170 (workWidth): make maxw unsigned
5171 (setHeightOfRow): remove unused variable (inset)
5172 (selectSelectedWord): remove unused variable (inset)
5173 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5175 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5177 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5178 server is not running.
5180 (closeConnection): add debug info when server is disabled.
5182 * ColorHandler.C (getGCForeground): send debug message to GUI
5185 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5187 * kbmap.C (bind): modify because return conventions of
5188 kb_sequence::parse have changed.
5190 * kbsequence.C (parse): only ignore spaces and not any stupid
5191 control character. This avoids tests like s[i] <= ' ', which are
5192 guaranteed to fail with 8bit characters and signed chars.
5193 Change return code to string::npos when there have been no error
5194 (0 was a bad idea when error is at first character)
5196 2001-11-14 José Matos <jamatos@fep.up.pt>
5199 * buffer.C (simpleDocBookOnePar): removed unused argument.
5201 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5203 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5204 insets which are part of a word. Paragraph::isLetter takes care of
5205 that now. Use Paragraph::isInset to identify insets.
5206 (selectSelectedWord): do not test for hyphenation break.
5208 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5209 that protected spaces are considered as spaces.
5211 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5214 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5217 * lyxserver.C: fix it. and small cleanup.
5219 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5221 * BufferView_pimpl.C: use inline helpers
5224 * LaTeXFeatures.C: fix typos
5227 * Spacing.C: move spacing_string into class
5229 * ToolbarDefaults.C: move stuff into namespace anon
5231 * layout.h: update enum
5233 * lyxfunc.C: use better debug
5235 * minibuffer.h: fix typo
5239 * WorkArea.C: add and use Debug::WORKAREA
5243 * text2.C: code re-organisation, inline helpers
5245 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5247 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5248 std::vector.empty().
5250 2001-11-09 Allan Rae <rae@lyx.org>
5252 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5253 '\n's after tables. Tabular and ERT inset work now makes this no
5256 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5259 * minibuffer.C: fix crash, improve drop-down completion
5261 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5264 * lyxserver.C: invalidate fd's when doing endPipe()
5266 2001-11-08 José Matos <jamatos@fep.up.pt>
5268 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5269 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5272 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5274 2001-11-07 José Matos <jamatos@fep.up.pt>
5277 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5280 * buffer.C (sgmlOpenTag):
5281 * buffer.C (sgmlCloseTag): removed debug info.
5283 * buffer.h (sgmlOpenTag):
5284 * buffer.h (sgmlCloseTag): made public.
5286 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5288 * buffer.C (saveParamsAsDefaults):
5289 * lyx_cb.C (MenuLayoutSave): remove
5291 * LyXAction.C (init):
5293 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5295 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5297 * buffer.C (setPaperStuff): removed from here...
5299 * bufferparams.C (setPaperStuff): ... and moved there.
5301 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5305 * XFormsView.C: add support for drop-down completion
5307 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5309 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5312 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5314 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5317 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5319 * lyx_main.C: change ref to known bugs
5321 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5323 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5324 to work around older babel problems.
5326 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5328 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5330 2001-10-24 Juergen Vigna <jug@sad.it>
5332 * tabular-old.C (ReadOld): below variable changes reflected.
5334 * tabular.[Ch]: added ltType struct for longtable header/footer
5335 defines and changed all instances where they are used. Added
5336 future support for double top/bottom rows.
5338 2001-10-24 José Matos <jamatos@fep.up.pt>
5340 * buffer.h (docbookHandleCaption):
5341 * buffer.C (docbookHandleCaption): removed unused function.
5342 (makeDocBookFile): moved docbook supported version to v4.1.
5344 2001-10-24 José Matos <jamatos@fep.up.pt>
5347 * tabular.C (docbookRow): new function to export docbook code of a row.
5348 (DocBook): now honors the longtable flags.
5350 2001-10-23 José Matos <jamatos@fep.up.pt>
5353 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5354 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5356 * buffer.C (makeLinuxDocFile):
5357 (makeDocBookFile): reworked the preamble, more clean, and with
5358 support for lyx defined entities. Changed the document declaration
5359 to be more XML friendly.
5361 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5362 if we need to output XML that should be done with a filter.
5364 2001-10-22 Juergen Vigna <jug@sad.it>
5366 * sp_pspell.h (class PSpell): add alive function needed in the
5367 controller to see if the spellchecker could be started.
5369 2001-10-22 Juergen Vigna <jug@sad.it>
5371 * buffer.C (insertStringAsLines): modify the font for inserting
5372 chars in certain conditions by calling checkInsertChar(font).
5374 2001-10-19 Juergen Vigna <jug@sad.it>
5376 * text.C (workWidth): use getRow instead of wrong algorithm.
5377 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5379 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5384 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5386 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5388 * text.C (workWidth): do not search for the exact row when
5389 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5390 optimization for big documents.
5392 2001-10-18 Juergen Vigna <jug@sad.it>
5394 * text.C (workWidth): new function with added Inset * parameter.
5396 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5398 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5400 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5401 change return type of getColumnNearX.
5404 * text.C (changeRegionCase): use uppercase/lowercase instead of
5407 (rightMargin): simplify code by factoring out the uses of
5412 (appendParagraph): use Paragraph::size_type
5414 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5416 * vspace.C (asLatexString): add a missing break
5418 2001-10-15 Herbert Voss <voss@perce.de>
5420 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5422 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5424 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5427 2001-10-10 André Pönitz <poenitz@gmx.net>
5429 * lyxfunc.C: removed greek_kb_flag.
5431 2001-10-10 Herbert Voss <voss@perce.de>
5433 * lyx_main.C: delete global string help_lyxdir.
5435 2001-10-09 Herbert Voss <voss@perce.de>
5437 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5439 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5441 * lyx_main.C: added global string help_lyxdir.
5443 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5445 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5447 * lyxrc.C (set_font_norm_type): support iso8859-4
5449 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5451 * LaTeX.C (deplog): add another regex for MikTeX
5453 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5455 * lyxrc.C (set_font_norm_type): support iso8859-3
5457 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5459 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5461 * LaTeXFeatures.C: remove special case of french and index
5463 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5464 before \begin{document}). This solves several incompatibilities.
5466 2001-10-03 Garst Reese <reese@isn.net>
5468 * lyx_cb.C: change CheckTex error msg.
5470 2001-10-03 José Matos <jamatos@fep.up.pt>
5472 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5474 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5476 * .cvsignore: update
5478 * lyx_main.C (commandLineVersionInfo): use new style version info.
5480 * buffer.C (writeFile):
5483 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5485 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5487 * version.h: update to use stuff in version.C
5489 * version.C.in: new file. Contains version information determined
5490 at compile time. This is a merging of version.h and
5493 2001-10-03 Juergen Vigna <jug@sad.it>
5495 * BufferView_pimpl.C (update): don't change "dirty" status in
5498 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5500 * WorkArea.C (c-tor): re-position version string slightly.
5502 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5504 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5505 revert to previous code.
5507 WorkArea.[Ch]: (show, destroySplash): methods removed.
5509 WorkArea.C: rework code so that it's an amalgam of the codes before and
5510 after the splash screen was moved to WorkArea.
5512 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5515 * vspace.C (inPixels):
5518 * buffer.C (insertStringAsLines):
5519 (asciiParagraph): fix types to be large enough
5521 * lyxlex_pimpl.h: change member status from short to int
5523 * layout.h: fix type of endlabeltype
5526 * kbsequence.C (parse): change return type to string::size_type
5528 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5531 * Bullet.C (bulletSize):
5532 (bulletEntry): do not use short ints as parameters
5534 * BufferView2.C (insertLyXFile): change a char to an int.
5536 * WorkArea.C (WorkArea): remove unneeded floats in computation
5538 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5540 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5542 * paragraph.C (asString): Do not ignore newline/hfill chars when
5543 copying to the clipboard.
5545 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5547 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5548 after a multi-line inset.
5550 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5552 * paragraph.C (validate): Set NeedLyXFootnoteCode
5554 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5556 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5557 and decrease-error to decrease.
5559 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5561 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5562 it more readable (should be equivalent)
5564 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5566 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5568 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5570 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5571 of a cursor (row, etc.) after a character has been deleted
5572 (deleteEmptyParagraphMechanism): call the method above on _all_
5573 cursors held by the LyXText when a double space has been
5576 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5578 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5580 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5582 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5583 background. Use greyOut() and the new show() methods to toggle between
5584 the foreground and background. Add code to remove the splash after
5585 its initial showing.
5587 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5588 (create_forms): no longer call Dialogs::showSplash.
5590 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5592 * .cvsignore: add version_info.h
5594 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5596 * version_info.h.in: new file
5598 * Makefile.am: add version_info.h.in
5600 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5601 version_info.h instead of VERSION_INFO
5603 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5605 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5606 The ERT inset now returns string().
5608 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5610 * lyxtext.h, text.C (selectNextWord): renamed as
5611 selectNextWordToSpellcheck.
5613 * text.C (selectNextWordToSpellcheck): Modified to not select
5614 words inside an ERT inset.
5616 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5618 * lyx_cb.C (MenuLayoutSave): change a bit the question
5620 * sp_base.h: include <sys/types.h>
5622 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5624 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5626 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5628 * several files: fix typos in user-visible strings
5630 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5632 * text2.C (pasteSelection): do not set the selection, since it
5633 will be cleared later. Actually, the intent was to fix the way the
5634 selection was set, but I figured rmoving the code was just as good.
5636 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5638 * FontLoader.C (available): Check if font is available without
5641 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5643 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5645 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5647 * lyxrc.[Ch]: added display_graphics variable and associated code.
5649 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5651 * bufferparams.C (hasClassDefaults): new method. Returns true if
5652 the buffer parameters correspond to known class defaults
5654 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5656 * XFormsView.C (show): set minimum size to the main window.
5658 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5660 * text2.C (copySelection):
5662 * lyxfind.C (LyXReplace):
5663 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5664 LyXText::selectionAsString.
5666 * paragraph.C (asString): add "label" argument to the second form
5668 * text2.C (selectionAsString): add "label" argument and pass it to
5669 Paragraph::asString.
5671 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5673 * lyx_main.C (commandLineHelp): remove version information
5675 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5677 * lyx_main.C: add -version commandline option
5679 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5681 * paragraph.h: make the optional constructor arg required instead.
5682 some modifications to other files because of this.
5684 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5686 * lyxserver.C (C_LyXComm_callback): make it static
5688 * lyx_main.C (error_handler): make it static
5690 * lyx_gui.C (LyX_XErrHandler): make it static
5692 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5694 * WorkArea.C: make the extern "C" methods static.
5696 * Makefile.am (lyx_LDADD): simplify
5698 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5700 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5701 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5703 * LyXAction.C (init):
5704 * lyxfunc.C (dispatch): associated code removal.
5706 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5708 * lyxfont.h (isSymbolFont): shut off warning
5710 * text.C (setHeightOfRow):
5711 (getVisibleRow): fix crash with empty paragraphs which have a
5714 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5716 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5719 2001-09-04 José Matos <jamatos@fep.up.pt>
5722 * tabular.C (docbook): rename docBook method to docbook.
5724 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5726 * Makefile.am: add dependencies to main.o.
5728 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5730 * FontLoader.C (available): Return false if !lyxrc.use_gui
5732 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5734 * FontInfo.C (query):
5735 * converter.C (view):
5736 * importer.C (Import):
5737 * exporter.C (Export): Can not -> cannot.
5739 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5741 * BufferView_pimpl.C: allow to create index inset even if
5744 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5746 * buffer.C (getLists): replace boost::tie code with an explicit pair
5747 as boost::tie can break some compilers.
5749 * iterators.h: Added a std:: declaration to the return type of
5752 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5754 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5757 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5759 * iterators.[Ch]: New files. Provide paragraph iterators.
5761 * buffer.C (changeLanguage): Use paragraph iterators.
5762 (isMultiLingual): ditto
5764 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5766 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5768 * FontLoader.C: Support for cmr font.
5770 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5772 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5773 (available): New method.
5775 * FontInfo.C (getFontname): Use scalable fonts even when
5776 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5779 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5781 * converter.C (Formats::view): reverted! Incorrect fix.
5783 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5785 * converter.C (Formats::view): only output the -paper option
5786 if the dvi viewer is xdvi, thereby fixing bug #233429.
5788 2001-08-23 Herbert Voss <voss@perce>
5790 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5792 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5794 * Spacing.h (Spacing): Set space to Default on in the default
5797 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5799 * vc-backend.h (RCS::versionString): add RCS to version
5800 (CVS::versionString): add CVS to version
5802 * vc-backend.C (scanMaster): do not add CVS to version.
5803 (scanMaster): do not add RCS to version
5805 * lyxvc.C (versionString): new method
5807 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5809 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5811 * Spacing.C (set): initialize fval
5813 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5815 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5818 2001-08-16 Juergen Vigna <jug@sad.it>
5820 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5822 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5824 * BufferView_pimpl.C:
5827 * text2.C: setParagraph takes linespacing now
5829 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5831 * LyxAction.C: add internal LFUN_CITATION_INSERT
5833 * LyXView.C: actually apply fix
5835 * bufferlist.C: fix open non-existent file
5837 * lyxfind.C: fix indentation
5839 * lyxfunc.C: remove unneeded assert, fix typo
5841 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5843 * MenuBackend.C: use "Floatname List"
5845 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5847 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5848 when converting LaTeX layout to insetERT.
5849 Generate a non-collapsed float when reading old float
5851 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5853 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5856 2001-08-13 Juergen Vigna <jug@sad.it>
5858 * text.C (fill): return 0 instead of 20 as this seems to be the more
5861 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5863 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5866 2001-08-13 Juergen Vigna <jug@sad.it>
5868 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5870 (SearchBackward): comment out the unlocking of the inset_owner this
5871 should not be needed!
5873 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5875 * Many files: Remove inherit_language, and add latex_language
5877 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5880 2001-08-10 Juergen Vigna <jug@sad.it>
5882 * text.C (prepareToPrint): fixed hfill-width in draw!
5884 * BufferView2.C (selectLastWord): save the selection cursor as this
5885 now is cleared in the function LyXText::clearSelection!
5887 2001-08-08 Juergen Vigna <jug@sad.it>
5889 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5890 BACKSPACE type functions.
5892 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5893 is only cutted from the document but not put in the cut-buffer, where
5894 still the old stuff should be.
5896 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5898 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5900 * tabular.C (SetWidthOfCell): fixed special case where the width
5902 (LeftLine): handle '|' in align_special.
5904 (LeftAlreadyDrawed): ditto
5905 (SetWidthOfCell): ditto
5907 2001-08-07 Juergen Vigna <jug@sad.it>
5909 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5911 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5913 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5914 * lyxlex.[hC]: ditto
5916 2001-08-06 Juergen Vigna <jug@sad.it>
5918 * text.C (getVisibleRow): fix up row clearing a bit.
5920 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5922 * minibuffer.C: make sure the X server sees the changes in the input.
5924 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5926 * paragraph.C (getFont): split into...
5927 (getLabelFont): this
5928 (getLayoutFont): and this
5929 * paragraph_pimpl.C (realizeFont): calling this
5931 * text2.C (getFont): split into...
5932 (getLayoutFont): this
5933 (getLabelFont): and this
5934 (realizeFont): all three calling this
5936 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5939 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5941 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5943 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5945 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5946 layouts from the Quote inset insertion.
5948 2001-08-03 Juergen Vigna <jug@sad.it>
5950 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5952 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5953 only if status not is already CHANGED_IN_DRAW (second level).
5955 * text.C (draw): don't set the need_break_row when inside an
5958 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5960 * buffer.C (parseSingleLyXformat2Token): handle more latex
5963 * bufferview_funcs.[hC]: change function names to
5964 begin with small char, adjust other files.
5966 2001-08-02 André Pönitz <poenitz@gmx.net>
5969 BufferView_pimpl.C: remove broken special code for math-greek
5971 2001-08-02 Juergen Vigna <jug@sad.it>
5973 * BufferView_pimpl.C (update): redone this function so that we
5974 update the text again if there was a CHANGE_IN_DRAW.
5976 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5977 (drawFromTo): added a new internal bool which is used by draw() and
5979 (general): some cursor drawing problems fixed.
5981 2001-08-01 Juergen Vigna <jug@sad.it>
5983 * lyxfind.C (LyXFind): fixed
5984 (SearchForward): ditto
5985 (SearchBackward): ditto
5987 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5988 spurius drawing of the cursor in the main area.
5990 * text2.C (status): small fix which could lead to a segfault!
5991 (clearSelection): remove unneeded BufferView param.
5993 2001-08-01 André Pönitz <poenitz@gmx.net>
5995 * lyxfunc.C: small change due to changed mathed interface
5997 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5999 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6001 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6003 * lyxfunc.c: fail gracefully if file doesn't exist
6008 * BufferView_pimpl.C: IsDirWriteable() proto changed
6010 * LyXView.C: fix updateWindowTitle() to store the last title
6012 2001-07-31 Juergen Vigna <jug@sad.it>
6014 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6015 the font (wrong since using of Paragraph::highestFontInRange).
6017 * paragraph.C (highestFontInRange): added a default_size parameter.
6019 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6020 (setHeightOfRow): reformat
6022 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6024 * converter.[hC] + affected files: move to (inital-char)lowercase
6027 * ParagraphParameters.C (ParagraphParameters): remove commented code
6029 * PainterBase.[Ch]: remove commented code
6031 * LaTeXFeatures.h: add "bool floats" for float.sty
6033 * LaTeXFeatures.C (LaTeXFeatures): init floats
6034 (require): handle float
6035 (getPackages): do it with floats
6037 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6039 * BufferView_pimpl.C (Dispatch): improve handling of
6040 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6042 * commandtags.h: #include lyxfont.h here temporarily to avoid
6045 * bufferlist.h: include LString.h here.
6047 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6049 * text2.C (getStringToIndex): new method.
6051 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6053 * *: Reduced header file dependencies all over.
6055 2001-07-30 Baruch Even <baruch@lyx.org>
6057 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6059 2001-07-29 Baruch Even <baruch@lyx.org>
6061 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6063 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6065 * ParameterStruct.h (endif): add a default constructor to make
6066 sure that all variables is initialized.
6068 * ParagraphParameters.C (ParagraphParameters): adjust
6070 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6072 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6073 index; also, check that there is something to index, and that it
6074 does not span over several paragraphs.
6075 (doubleClick): use WHOLE_WORD_STRICT for double click.
6077 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6079 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6082 2001-07-26 Baruch Even <baruch@lyx.org>
6084 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6085 an InsetFig figure, backwards compatible reading of old figure code.
6087 2001-07-27 Juergen Vigna <jug@sad.it>
6089 * text2.C: font.realize function adaption.
6091 * text.C (draw): add a warnings lyxerr text if needed.
6093 * layout.C: font.realize function adaption.
6095 * language.C: add inherit_language and implement it's handlings
6097 * bufferview_funcs.C (StyleReset): remove language parameter from
6098 font creation (should be language_inherit now).
6100 * bufferparams.C (writeFile): handle ignore_language.
6102 * paragraph.C (getFontSettings): the language has to be resolved
6103 otherwise we have problems in LyXFont!
6105 * lyxfont.C (lyxWriteChanges): added document_language parameter
6106 (update): removed unneeded language parameter
6108 * paragraph.C (validate): fixed wrong output of color-package when
6109 using interface colors for certain fonts in certain environments,
6110 which should not seen as that on the final output.
6112 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6114 * BufferView_pimpl.C:
6119 * LyXAction.C: add thesaurus support
6122 * lyxfind.C: add "once" parameter, for thesaurus, to not
6123 move to the next match
6125 2001-07-26 Juergen Vigna <jug@sad.it>
6127 * lyxfont.C (realize): honor ignore_language too!
6130 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6132 * text.C (draw): one place more for ignore_language to not draw
6135 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6137 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6139 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6141 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6142 the minipage conversion problem.
6144 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6146 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6149 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6151 * BufferView.h: don't forward declare WorkArea
6153 * BufferView.C: don't include WorkArea.h
6155 2001-07-25 André Pönitz <poenitz@gmx.net>
6159 * lyxfunc.C: new LFUN 'math-space'
6161 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6163 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6165 * text2.C (toggleInset): call open/close
6167 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * lyxfunc.C (dispatch): add debug for the disabled case
6171 * font.C (buttonText): make similar to rectText
6173 * buffer.C (readInset): comment out parsing of insetlist and
6176 * PainterBase.C (rectText): small correction
6178 * BufferView_pimpl.C: comment out insettheorem and insetlist
6179 * LyXAction.C: ditto
6180 * commandtags.h: ditto
6182 2001-07-24 Juergen Vigna <jug@sad.it>
6184 * text.C (draw): honor the ignore_language.
6186 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6188 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6190 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6193 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6195 * lyxtext.h: remove unused (and unimplemented) methods
6197 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6199 * text.C (getVisibleRow): honor background color
6202 * Painter.h: remove default color argument for fillRectangle
6204 * text.C (backgroundColor): new method
6206 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6208 * text.C (getVisibleRow): adjust
6210 * font.[Ch] (rectText): new method, metrics
6211 (buttonText): new method, metrics
6213 * PainterBase.[hC]: make rectText and buttonText always draw and take
6216 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6218 * ToolbarDefaults.C (read):
6219 * MenuBackend.C (read): allow escaping in all strings
6221 * BufferView_pimpl.C (insertAndEditInset): new method.
6222 (Dispatch): use insertAndEditInset whenever appropriate.
6224 * BufferView_pimpl.C (insertNote): removed
6226 * BufferView_pimpl.C (smartQuote): new method, moved from
6227 BufferView; if an insetquote cannot be inserted, insert a '"'
6230 * BufferView2.C: remove insertCorrectQuote();
6232 * lyxfunc.C (getStatus): Add support for all remaingin
6235 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6237 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6238 command (necessary to pass " as parameter of self-insert.
6240 * text.C (selectWordWhenUnderCursor):
6241 (selectWord): add word_location parameter
6242 (selectWordWhenUnderCursor): same + remove special code for word
6244 (selectNextWord): use kind() to guess type of insetspecialchar,
6247 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6248 (insertErtContents): create ert insets as collapsed.
6249 (readInset): better compatibility code for Info inset.
6251 2001-07-20 Juergen Vigna <jug@sad.it>
6253 * lyxfunc.C (dispatch): use always LyXFind now!
6255 * text2.C (init): add a reinit flag so that the LyXText can be
6256 reinited instead of deleted and reallocated (used in InsetText).
6258 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6264 2001-07-18 Juergen Vigna <jug@sad.it>
6266 * text.C (selectNextWord): handle insets inside inset by calling
6267 always the bv->text functions so that we can go up the_locking_inset!
6269 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6270 in strange locations when inside an inset!
6272 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6273 handling to include insets.
6275 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6277 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6279 * LyXAction.C (init):
6281 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6282 LIGATURE_BREAK, since the name is so stupid.
6284 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6286 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6289 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6291 * sp_form.[Ch]: remove.
6293 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6295 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6298 * src/buffer.C (readInset): ditto.
6300 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6302 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6303 menuSeparator(), endOfSentenceDot(), ldots() and
6304 hyphenationPoint(), which are therefore removed.
6305 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6307 * LyXAction.C (init):
6308 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6310 * paragraph.C (getWord): removed.
6312 * BufferView_pimpl.C (Dispatch): use last word or selection for
6313 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6315 * lyx_main.C (queryUserLyXDir): do not ask before creating
6316 user_dir, except if it has been named explicitely.
6318 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6320 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6321 a document of zero size.
6323 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6325 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6326 approriately in the c-tor and in require().
6327 (getPackages): output the appropriate LaTeX for natbib support.
6329 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6330 variables "use_natbib" and "use_numerical_citations" when reading the
6332 (readInset): read the various natbib cite commands.
6333 (validate): white-space change.
6335 * bufferparams.[Ch]: new variables "bool use_natbib" and
6336 "bool use_numerical_citations".
6337 (writeFile): output them in the LyX file.
6339 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6341 * lyxfunc.C (getStatus): add support for all the inset insertion
6344 * text2.C (insertInset):
6345 * paragraph.C (insetAllowed):
6346 * BufferView_pimpl.C (insertInset): update to take in account the
6347 renaming of insertInsetAllowed
6349 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6351 * text2.C (getInset): new method. returns inset at cursor position.
6353 * BufferView_pimpl.C (Dispatch): changes because of this.
6355 * LyXAction.C (init): rename open-stuff to inset-toggle.
6357 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6359 * text2.C (toggleInset): renamed from openStuff; use
6362 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6364 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6366 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6368 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6370 * buffer.C (readLyXformat2): Add filename to the error dialog
6372 2001-07-18 Juergen Vigna <jug@sad.it>
6374 * tabular.C (GetCellNumber): put an assert here instead of the check!
6376 2001-07-17 Juergen Vigna <jug@sad.it>
6378 * BufferView_pimpl.C (toggleSelection): adapted too.
6380 * text.C (selectNextWord): adapted for use with insets.
6381 (selectSelectedWord): ditto
6383 2001-07-17 Juergen Vigna <jug@sad.it>
6385 * sp_spell.C (PSpell): fix initialitation order.
6387 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6389 * paragraph.C: spacing
6391 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6393 * sp_spell.C: repair language selection for pspell
6395 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6397 * lyxfunc.h: change more methods to begin with lower char.
6399 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6401 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6402 for unknown layouts.
6404 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6406 * buffer.C (readLyXformat2): Generate an error dialog if there are
6409 2001-07-16 Juergen Vigna <jug@sad.it>
6411 * sp_spell.C: always compile ISpell part.
6413 * lyxrc.C: added use_pspell entry and it's handling.
6415 2001-07-13 Juergen Vigna <jug@sad.it>
6417 * sp_spell.C: removed double includes.
6419 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6421 Consistent use of Lsstream.h:
6422 * Lsstream.h: added using std::stringstream for consistencies sake.
6424 * buffer.C: removed using std::stringstream
6426 * lyxfont.C (stateText):
6427 * paragraph.C (asString):
6428 * text.C (selectNextWord, selectSelectedWord):
6429 * text2.C (setCounter):
6430 * vspace.C (asString, asLatexString):
6431 std::ostringstream -> ostringstream.
6433 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6435 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6436 * commandtags.h: add LFUN_HELP_ABOUTLYX
6437 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6439 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6441 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6443 * lyx_gui_misc.C: remove spellchecker
6444 * lyxfunc.C: showSpellchecker
6446 * sp_ispell.h: added
6447 * sp_pspell.h: added
6449 * sp_form.[Ch]: removed
6450 * spellchecker.[Ch]: removed
6452 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6454 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6456 (simpleTeXSpecialChars): Simply print the input character without
6457 any special translation if pass_thru is set.
6459 * layout.h: Added bool pass_thru to layout class for being able to
6460 implement pass through of a paragraph for Literate Programming.
6462 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6463 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6464 * layout.C (Read): add "passthru" to list of layout tags and add
6465 code to set the pass_thru boolean when it is read.
6467 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6469 * trans_decl.h: remove allowed from KmodInfo
6471 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6475 * paragraph_pimpl.C (erase): use boost::prior
6477 * Painter.C (text): use data() instead of c_str() when length is
6479 * WorkArea.C (putClipboard): ditto
6480 * font.h (width): ditto
6482 * BufferView2.C: use it-> instead of (*it). for iterators
6484 * paragraph_pimpl.C: ditto
6485 * paragraph.C: ditto
6486 * minibuffer.C: ditto
6491 * converter.C: ditto
6493 * Variables.C: ditto
6494 * TextCache.C: ditto
6495 * MenuBackend.C: ditto
6496 * LyXAction.C: ditto
6498 * FloatList.C: ditto
6500 * ColorHandler.C (LyXColorHandler): ditto
6502 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6504 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6506 * text2.C (openStuff): reintroduce this method (which had been
6507 nuked in NEW_INSETS frenzy).
6509 * lyxfunc.C (Dispatch): when an action has not been handled, use
6510 its name in the error message, not its number.
6512 * paragraph.C (inInset): change method name to begin with lowercase.
6515 * text2.C: updates because of this.
6517 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6519 * ToolbarDefaults.C (add): add spaces in error message
6521 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6524 (readLyXformat2): rename return_par to first_par, use lyxlex's
6525 pushToken and remove the manual push handling.
6526 (parseSingleLyXformat2Token): add another ert comp. variable:
6527 in_tabular, rename return_par to first_par. handle newlines better
6529 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6531 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6533 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6535 * text2.C (getParFromID): removed
6537 * buffer.C (getParFromID): new method moved form lyxtext.
6538 * BufferView2.C (insertErrors): adjust
6539 (setCursorFromRow): adjust
6540 * BufferView_pimpl.C (restorePosition): adjust
6541 * lyxfunc.C (Dispatch): adjust
6542 * undo_funcs.C (textUndo): adjust
6544 (textHandleUndo): adjust
6545 (textHandleUndo): adjust
6547 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6549 * buffer.C: up' the LYX_FORMAT
6551 * lyxfont.h: turn NO_LATEX on as default
6553 * buffer.C (insertErtContents): new methods of tex style compability.
6554 (parseSingleLyXformat2Token): use it several places.
6555 * tabular.C (OldFormatRead): and here
6557 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6559 * text2.C: remove some commented code.
6562 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6563 * trans.C: changes because of the above.
6565 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6567 * text2.C (setCounter): Fix counters bug with bibliography layout.
6569 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6571 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6572 own member functions
6573 (simpleTeXSpecialChars): ditto
6575 2001-07-06 Juergen Vigna <jug@sad.it>
6577 * a lot of files: changed the access to LyXText::status and the
6578 call of undo-functions.
6580 * undo.[Ch]: added a inset_id to the undo informations.
6582 * undo_funcs.[Ch]: added and moved here all undo functions.
6584 * lyxtext.h: give the status enum a weight, made status_ a private
6585 variable and made accessor functions for it, removed the whole bunch
6586 of undo-functions as they are now in their own file, make some
6587 functions publically available. Added function ownerParagraph with
6590 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6591 made InInset() a const function, added getParFromID() function.
6593 * buffer.[Ch]: added const version for inset_iterator functions,
6594 added getInsetFromID() function.
6596 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6597 changed undo functions for new version.
6599 2001-07-05 Juergen Vigna <jug@sad.it>
6601 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6602 unknow mechanism does not call the proper constructor but only this
6603 one also if I request the other!?
6605 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6607 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6609 * text2.C (LyXText): use initialization lists.
6611 * lyxtext.h (Selection): initialize set_ and mark_
6612 (init): remove method
6614 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6616 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6618 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6620 * screen.[Ch]: change method names to begin with lowercase
6622 * BufferView_pimpl.C (updateScrollbar): simplify further and
6623 hopefully make it a bit faster.
6625 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6627 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6628 calling directly xforms functions.
6630 * Painter.C (Painter):
6631 * lyx_cb.C (MenuWrite):
6632 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6635 * lyx_gui.C: remove bogus guiruntime extern declaration.
6637 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6639 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6641 (redoDrawingOfParagraph): ditto
6642 (redoParagraphs): ditto
6643 (cutSelection): don't create a object for CutAndPaste use the
6644 static method directly
6645 (pasteSelection): ditto
6647 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6650 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6652 * modifications to some other files because of this.
6654 * Makefile.am (lyx_SOURCES): add XFormsView
6656 * XFormsView.[Ch]: new files
6658 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6659 the main window. Move the gui dependent stuff to XFormsView
6661 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6663 * tabular.C (GetCellInset): update cur_cell also in the row/col
6664 version of this function.
6666 * lyxfunc.C: no need to include figure_form.h here.
6672 * lyxvc.C: no need to include forms.h here.
6674 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6676 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6678 * lyxfunc.C (Dispatch):
6680 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6681 constructor argument.
6683 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6685 * paragraph.C (Paragraph): dont't clear, and just set layout.
6686 (makeSameLayout): use params's copy contructor.
6688 * ParagraphParameters.[Ch] (makeSame): delete method
6690 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6692 * Variables.[Ch]: fix indentation, rename set to isSet
6694 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6696 * lyxfunc.C (Dispatch): fix typo
6698 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6700 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6703 * bufferlist.C: include assert.h for emergencyWrite().
6705 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6707 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6708 give up at last (bug #425202) !
6710 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6716 * spellchecker.C: strip spellchecker options and bring up
6717 preferences tab instead
6719 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6721 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6722 the istringstream constructor
6724 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6726 * paragraph.C (getLayout): fix return value
6728 * paragraph.h: do not declare getLayout as inline.
6730 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6732 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6734 * lyxcursor.h (operator<): new func
6735 (operator>): new func
6736 (operator>=): new func
6737 (operator<=): new func
6739 * text.C (changeCase): use selection.start and selection.end
6740 (changeRegionCase): require from to be <= to. Require par to be a
6743 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6745 2001-06-27 Juergen Vigna <jug@sad.it>
6747 * text.C (cursorLeftOneWord): changed to return the cursor and added
6748 overlay with BufferView * parameter which calls this one.
6750 (selectWord): use new getWord function.
6751 (changeCase): renamed from changeWordCase as and extended to work
6754 * lyxtext.h: added enum word_location
6756 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6757 changeCase as this operates now also on selections.
6759 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6761 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6763 * many files: send debug output to Debug::INFO instead of
6766 * converter.C (View):
6768 (Move): send debug output to Debug::FILES instead of console.
6770 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6772 * lyxfunc.C (getStatus): use func_status
6774 * func_status.h: new header, describing the results of
6777 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6780 2001-06-25 The LyX Project <jug@sad.it>
6782 * buffer.C (sgmlOpenTag):
6784 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6786 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6788 * text2.C: remove some dead code
6790 * tabular.C (GetCellInset): store the last cell checked (gotten)
6792 * tabular.h: add the helper for the speedup
6794 * lyxtext.h: remove some dead code
6796 2001-06-26 The LyX Project <Asger>
6798 * paragraph.C: Change export to LaTeX of alignment to
6799 \begin{center} and family for better roundtrip work with reLyX.
6801 * Tune the math drawing a bit.
6803 2001-06-25 The LyX Project <Asger>
6805 * LColor.C (LColor): New color for math background. New color
6808 2001-06-25 The LyX Project <jug@sad.it>
6810 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6813 * bufferlist.C (newFile): do not restrict to files ending with
6816 * BufferView_pimpl.C (MenuInsertLyXFile):
6818 2001-06-24 The LyX Project <jug@sad.it>
6820 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6823 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6825 * lyxtext.h: rename most methods to begin with a small char.
6826 Lots of changes because of this.
6828 * paragraph.C (Paragraph): do not call fitToSize
6829 (erase): call Pimpl::erase
6830 (insertChar): call Pimpl::insertChar
6831 (insertInset): call Pipl::insertInset
6832 (breakParagraph): do not call fitToSize
6833 (breakParagraphConservative): do not call fitToSize
6834 (fitToSize): remove method
6836 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6838 2001-06-24 The LyX Project <Asger>
6840 * Fix Qt compilation^2
6842 2001-06-24 The LyX Project <jug@sad.it>
6844 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6845 depthHook(getDepth()-1).
6848 * ParagraphParameters.h:
6849 * ParameterStruct.h: change type of depth to unsigned int ==
6850 depth_type. Many adaptations to other files before of that.
6852 2001-06-24 The LyX Project <Asger>
6854 * Fix Qt compilation.
6856 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6858 * paragraph.h: renamed several methods to begin with small letter.
6859 several changes to many parts of the code because of this.
6861 2001-06-23 The LyX Project <jug@sad.it>
6863 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6864 rewritten to discard all double spaces when KeepEmpty is off
6865 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6866 to only handle newlines but not fiddle with spaces and friends.
6868 * lyxfunc.C (MenuNew): when doing 'new from template', use
6869 template_path as default directory
6871 2001-06-23 The LyX Project <Asger>
6873 * Clean-up of header file includes all over
6874 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6876 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6878 * paragraph.h: renamed from lyxparagraph.h
6880 2001-06-23 Asger <lyx@violet.home.sad.it>
6882 * Buffer.h: Removed Buffer::resize
6883 * BufferList.h: Removed BufferList::resize
6884 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6885 the document lazily when we change the width, or the font settings.
6887 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6889 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6891 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6893 * buffer.h: remove out of date comment
6895 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6898 * screen.C: fix "theoretical" GC leak
6900 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6902 * LaTeX.C (scanAuxFile):
6903 (deplog): remove trailing \r when reading stream (useful under
6906 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6908 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6909 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6910 and BufferView::theLockingInset(Inset*), so should use them and not
6911 access bv_->text->the_locking_inset directly.
6913 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6915 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6918 * tex-defs.h: remove old unused file
6920 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6922 * BufferView_pimpl.C: fix typo, remove minibuffer message
6923 when buffer has loaded
6925 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6927 * lyxfunc.C (Dispatch): use stringstream
6928 (MenuNew): use stringstream
6929 (Open): use stringstream
6931 * importer.C (Import): use stringstream
6933 * bufferview_funcs.C (CurrentState): use stringstream
6935 * LaTeX.C (run): use stringstream
6937 * BufferView_pimpl.C (savePosition): use stringstream
6938 (restorePosition): use stringstream
6939 (MenuInsertLyXFile): use stringstream
6941 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6954 * vspace.C: removed // -*- C++ -*- as first line.
6957 * version.h: added // -*- C++ -*- as first line.
6959 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6961 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6963 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6966 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6968 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6971 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6973 * gettext.C: include LString.h even when --disable-nls is on.
6975 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6977 * converter.h (Get): changed argument type from int to
6978 FormatList::size_type to avoid unnecessary conversion.
6980 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6983 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6985 * gettext.h: include LString.h even when --disable-nls is on.
6987 2001-06-07 Juergen Vigna <jug@sad.it>
6989 * text.C (BreakAgain): subst spaces with tabs.
6991 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6992 (resizeInsetsLyXText): set force on resizeLyXText.
6994 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6996 * gettext.h (gettext_init):
6997 (locale_init): use a real definition instead of a macro
6999 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7001 * Bufferview_pimpl.C:
7003 * LColor.C: further lcolor tidies
7005 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7007 * BufferView_pimpl.C (updateScrollbar): simplify.
7009 * BufferView2.C: don't include insets/insetinfo.h, change
7010 prototype for insertInset and call the Pimpl version. let
7011 updateInset call Pimpl version.
7013 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7014 gotoInset to BufferView::Pimpl
7016 2001-06-01 Juergen Vigna <jug@sad.it>
7018 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7019 inside a LockingInset (is the update needed at all?).
7021 2001-05-31 Juergen Vigna <jug@sad.it>
7023 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7024 here not the old one otherwise how should we compare it afterwards
7027 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7032 * FontInfo.C: bring C functions into global namespace when
7035 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7037 * LString.h: make sure config.h has been loaded before LString.h.
7039 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7040 (one for each char read by EatLine!).
7042 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7045 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7047 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7048 to the same as the par we break from
7050 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7052 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7054 * MenuBackend.C (expand): also create menu entries for wide
7055 versions of the floats.
7057 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7059 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7061 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7062 frontends/Makefile.am
7068 * tabular.C (getTokenValue): add std::
7070 * tabular-old.C (getTokenValue): add std::
7071 (getTokenValue): ditto
7072 (getTokenValue): ditto
7074 * screen.C (ToggleSelection): adjust
7076 * lyxtext.h: put selection cursors inside a Selection struct.
7078 * lyxfunc.C (moveCursorUpdate): adjust
7080 * lyxfont.C (latexWriteStartChanges): add std::
7084 * font.h: delete with(char const *, LyXFont const &)
7086 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7088 * FontInfo.C (getFontname): add std::
7090 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7091 (workAreaButtonPress): adjust
7092 (tripleClick): adjust
7094 (moveCursorUpdate): adjust
7097 * BufferView2.C (gotoInset): adjust
7099 2001-05-30 Juergen Vigna <jug@sad.it>
7101 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7102 to check pspell I add this as default as I now have new pspell
7103 libraries and they seem to use this.
7105 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7107 * text2.C (CutSelection): make the cursor valid before the call to
7110 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7112 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7113 relied on 0 terminated strings and other horrors. Bug found due to
7114 the new assert in lyxstring!
7116 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7119 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7121 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7124 * lyxfunc.C (processKeySym): change method of getting to the
7127 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7128 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7129 * BufferView_pimpl.[Ch]: here as private methods.
7131 2001-05-28 Juergen Vigna <jug@sad.it>
7133 * text.C (SetHeightOfRow): added the update() call again as it is
7134 needed to initialize inset dimensions!
7136 2001-05-16 Juergen Vigna <jug@sad.it>
7138 * text2.C (SetCharFont): Add new function with BufferView * and
7139 bool toggleall parameters for setting insets internal fonts.
7140 (SetFont): Freeze the undo as we may change fonts in Insets and
7141 all this change should be inside only one Undo!
7143 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7144 setting font's in insets as for them we have the SetFont function!
7146 2001-05-15 Juergen Vigna <jug@sad.it>
7148 * text2.C (ClearSelection): to be sure we REALLY don't have any
7151 * tabular.C (TeXCellPreamble): fixed the left border problem for
7154 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7156 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7159 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7161 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7162 LFUN_BREAKPARAGRAPH.
7164 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7165 help test to "internal only", similar for LFUN_INSERT_URL
7167 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7168 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7169 auto_region_delete and deadkeys.
7171 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7174 * LColor.C: remove some dead entries, tidy a little
7176 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7178 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7180 (Dispatch): implement LFUN_ESCAPE
7182 * commandtags.h: add LFUN_ESCAPE
7184 * LyXAction.C (init): add entry for LFUN_ESCAPE
7186 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7187 Remove commented code.
7188 (insertNote): moved here
7189 (open_new_inset): moved here
7191 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7194 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7196 * kbmap.C (findbinding): clean it up and make it work correctly.
7198 * lyx_main.C (init): do not pass argc and argv as parameters
7200 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7202 * buffer.C: fix path for OS/2 & Win32
7206 * lyx_main.C: Added os:: class.
7208 * os2_defines.h: update
7210 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7212 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7213 better by trying again with reduced state.
7215 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7217 * lyxrc.C (read): print error about invalid key sequence only when
7218 debugging (because not all latinX keysyms are known to some X
7221 * kbsequence.C (getiso): add a few std:: qualifiers
7222 (getiso): comment out extra return statement.
7224 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7226 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7228 (Dispatch): enhance the accent inset a bit. (not perfect)
7230 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7232 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7234 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7236 * bufferlist.C (emergencyWrite): fix assert() call
7238 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7240 * text.C (InsertChar): Added trivial patch to only send the "you
7241 can not do multiple spaces this way" message once during a
7244 2001-05-08 Baruch Even <baruch@lyx.org>
7246 * Makefile.am: Changed order of libraries to get LyX to link properly
7247 with the gnome frontend.
7249 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7251 * LaTeXFeatures.h: add a std:: qualifier
7253 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7255 * paragraph.C (String): use stringstream
7257 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7259 * paragraph.C (writeFile): remove footflag arg
7261 * buffer.C (makeLaTeXFile): use stringstream
7262 (latexParagraphs): remove footnot gurba
7264 * LaTeXFeatures.C (getPackages): use stringstream
7265 (getMacros): likewise
7266 (getTClassPreamble): likewise
7267 (getFloatDefinitions): new method
7269 * paragraph.C (writeFile): reindent
7272 * WorkArea.h: revert the xpos + etc changes.
7274 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7276 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7278 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7279 (pasteSelection): likewise
7280 * text2.C (CreateUndo): likewise
7282 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7284 * minibuffer.C (peek_event): temporarily reduce the functionality
7285 of the minibuffer (to allow args on lfuns)
7287 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7288 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7290 * buffer.C (readInset): add compability reading of old float
7291 lists, add reading of new style float list.
7292 (readInset): avoid reevaluation of inscmd.getCmdName()
7293 (getLists): reindent
7295 * MenuBackend.C (MenuItem): implement parsing of
7296 md_floatlistinsert and md_floatinsert.
7297 (expand::LastFiles): move initalizaton of iterators out of loop,
7299 (expand::Documents): introduce typdedef vector<string> Strings,
7301 (expand::ExportFormats): introduce typedef vector<Format const *>
7302 Formats, and use it.
7303 (expand): implement FloatListInsert and FloatInsert.
7305 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7306 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7307 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7309 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7311 (Dispatch::LFUN_FLOAT_LIST): implement
7313 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7315 * LaTeX.C (run): Fix problem with --export code.
7317 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7319 * BufferView.[Ch] (workarea): removed.
7320 (getClipboard) new method; wrapper for workarea()->getClipboard()
7322 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7325 * WorkArea.h (width, height, xpos, ypos): These methods all
7326 returned the dimensions of the work_area sub-area of WorkArea,
7327 resulting in a position error if the WorkArea were resized. Now
7328 return the dimensions of the entire WorkArea.
7330 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7332 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7334 * LaTeX.C (deplog): correct the syntax of regex reg1
7336 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7338 * undo.C: remove !NEW_INSETS cruft
7340 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7342 * text2.C: remove !NEW_INSETS cruft
7344 * text.C: remove !NEW_INSETS cruft
7346 * tabular.C: remove !NEW_INSETS cruft
7348 * spellchecker.C: remove !NEW_INSETS cruft
7350 * lyxtext.h: remove !NEW_INSETS cruft
7352 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7354 * lyxfunc.C: remove !NEW_INSETS cruft
7356 * lyxfind.C: remove !NEW_INSETS cruft
7358 * lyx_cb.C: remove !NEW_INSETS cruft
7360 * figureForm.C: remove !NEW_INSETS cruft
7362 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7364 * buffer.[Ch]: remove !NEW_INSETS cruft
7366 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7368 * CutAndPaste.C: remove !NEW_INSETS cruft
7370 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7372 * BufferView2.C: remove !NEW_INSETS cruft
7374 * BufferView.h: remove !NEW_INSETS cruft
7376 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7378 * Lsstream.h: include LString.h before the sstream headers to
7379 fix problem with gcc 2.95.3 and lyxstring
7381 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7383 * lyx_main.C: add using directives when needed for C functions
7384 declared in std:: namespace.
7386 2001-04-27 Juergen Vigna <jug@sad.it>
7388 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7389 (SetHeightOfRow): comment out the update call should not be needed!
7391 2001-04-13 Juergen Vigna <jug@sad.it>
7393 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7394 (LyXTabular): tried to minimize operator= operations (and realized
7395 hopfully Lars wish).
7397 2001-04-27 Juergen Vigna <jug@sad.it>
7399 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7401 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7403 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7405 * buffer.C (readInset): hack to make listof algorithm work
7407 * BufferView_pimpl.C: hack to make listof algorithm work
7409 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7411 * LyXAction.C: removed all !NEW_INSETS cruft
7412 (init): moved lfun_item in method
7414 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7416 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7418 * BufferView2.C (theLockingInset): white space.
7420 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7422 * minibuffer.C: include <iostream>
7424 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7426 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7428 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7430 * text.[Ch] (TransposeChars): new method
7432 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7434 * call message directly through LyXView instead of through LyXFunc
7435 * BufferView2.C: adjust
7436 * BufferView_pimpl.C: adjust
7437 * FontLoader.C: adjust
7439 * bufferview_funcs.C: adjust
7440 * converter.C: adjust
7441 * figureForm.C: adjust
7442 * importer.C: adjust
7444 * lyx_gui_misc.C: adjust
7448 + more files in subdirs
7450 * lyxparagraph.h (size): move up int file
7453 * adjust all uses of Assert to lyx::Assert.
7455 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7456 lyxfunctional in namespace lyx
7457 * layout.C (hasLayout): ditto
7460 (delete_layout): ditto
7461 (NumberOfClass): ditto
7462 * converter.C (GetFormat): ditto
7467 * bufferlist.C (getFileNames): ditto
7468 (emergencyWriteAll): ditto
7471 * MenuBackend.C (hasSubmenu): ditto
7474 * BufferView_pimpl.C (getInsetByCode): ditto
7476 2001-04-18 Juergen Vigna <jug@sad.it>
7478 * vspace.C (asLatexString): fixed the 100% problem.
7480 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7482 * lyxfunc.C (Dispatch):
7484 * minibuffer.h: add a few std:: qualifiers
7486 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7488 * minibuffer.[Ch]: reimplement so that commands is initiated and
7489 run from lyxfunc, simplified som handling, and made the completion
7490 and history code for complete. wip.
7492 * lyxfunc.C (processKeySym): call message
7493 (miniDispatch): new temporary method
7494 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7495 (LFUN_MESSAGE): implement
7496 (LFUN_MESSAGE_PUSH): implement
7497 (LFUN_MESSAGE_POP): implement
7498 (initMiniBuffer): the initial/defualt minibuffer message.
7500 * lyxfont.[Ch]: inline some more getters
7502 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7504 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7506 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7507 (AutoSave): use LFUN_MESSAGE
7508 (Reconfigure): ditto
7510 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7512 * figureForm.C: use LFUN_MESSAGE
7514 * converter.C (runLaTeX): use LFUN_MESSAGE
7516 * bufferview_funcs.C: use LFUN_MESSAGE
7518 (changeDepth): ditto
7520 * bufferparams.h: use boost::
7522 * bufferlist.h: inherit privately from noncopyable
7524 * bufferlist.C (loadLyXFile): remove some commented code.
7526 * buffer.C (runChktex): use LFUN_MESSAGE
7528 * ShareContainer.h: inherit privately from noncopyable
7530 * ParagraphParameters.[hC] (depth): inline it.
7532 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7534 (message): new method
7535 (messagePush): ditto
7537 (show): init minibuffer
7538 (showState): direct call
7540 * LaTeX.[Ch]: inherit privately from noncopyable
7541 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7542 instead of WriteStatus.
7544 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7546 * BufferView_pimpl.C (buffer): don't init minibuffer
7547 (workAreaButtonPress): use LFUN_MESSAGE
7548 (workAreaButtonRelease): ditto
7549 (savePosition): ditto
7550 (restorePosition): ditto
7551 (MenuInsertLyXFile): ditto
7552 (workAreaExpose): don't init minibuffer
7553 (update): remove commented code, simplify
7555 * BufferView2.C (openStuff): use LFUN_MESSAGE
7556 (toggleFloat): ditto
7559 (copyEnvironment): ditto
7560 (pasteEnvironment): ditto
7565 (updateInset): remove some commented code
7567 * lastfiles.h: inherit privately from noncopyable
7572 * lyxlex_pimpl.h: ditto
7574 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7575 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7576 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7578 * LyXAction.h: inherit privately from noncopyable, add methods
7579 func_begin, func_end, returning iterators to the func map.
7581 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7582 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7583 (func_begin): new method
7584 (func_end): new method
7586 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7588 (copySelection): ditto
7589 (pasteSelection): ditto
7591 * BufferView.C: whitespace change
7592 * BufferView.h: inherit privately from noncopyable
7594 2001-04-16 Allan Rae <rae@lyx.org>
7596 * tabular-old.C (l_getline):
7597 * spellchecker.C (sc_check_word):
7598 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7599 an unrecognised preprocessor directive. So ensure they're wrapped.
7601 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7603 * src/exporter.C (Export): Give an error message when path to file
7606 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7608 * LaTeX.C (deplog): Always check that foundfile exists.
7610 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7613 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7615 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7617 * tabular.[Ch] (getLabelList): implement new method
7619 * minibuffer.h: comment ouf setTiimer
7621 * minibuffer.C (ExecutingCB): constify res
7622 (peek_event): constify s
7623 (Set): constify ntext
7624 (Init): constify nicename
7626 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7628 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7629 (savePosition): use two params to Minibuffer::Set
7630 (restorePosition): ditto
7632 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7634 * lyx_main.C: include language.h
7636 * Makefile.am (lyx_main.o): add language.h
7638 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7644 * CutAndPaste.C: include gettext.h
7646 * lyxfont.h: remove old hack with ON and OFF.
7649 * lyxfont.h: do not include language.h...
7654 * bufferview_funcs.C:
7660 * paragraph.C: ... but do it here instead
7662 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7664 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7666 * tabular.C: small reformat
7668 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7671 (BreakParagraph): ditto
7672 (SetOnlyLayout): ditto
7675 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7678 * lastfiles.C: removed most using decl, add std:: where needed
7680 * buffer.C: ws changes
7682 * MenuBackend.C (class compare_format): put into anon namespace
7683 (expand): constify label, names, action, action2
7686 * text.C (SingleWidth): constify font
7687 (IsBoundary): constify rtl2
7688 (GetVisibleRow): constify ww
7690 * LaTeX.C (deplog): constify logfile
7692 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7694 (workAreaExpose): constify widthChange, heightChange
7696 * lyxrow.C (par): moved
7699 * lyxrow.h: as inlines here
7701 * lyxfont.h (shape): moved from lyxfont.C
7702 (emph): moved from lyxfont.C
7704 * lyxfont.C (LyXFont): use initialization list for all
7706 (shape): move to lyxfont.h as inline
7707 (emph): move to lyxfont.h as inline
7710 2001-04-04 Juergen Vigna <jug@sad.it>
7712 * vspace.C: had to include stdio.h for use of sscanf
7714 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7717 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7718 independent of xforms.
7720 2001-04-02 Juergen Vigna <jug@sad.it>
7722 * spellchecker.C: fixed namespace placing!
7724 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7726 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7727 the LyXParagraph * is 0.
7729 2001-03-29 Juergen Vigna <jug@sad.it>
7731 * vspace.C: added support for %, c%, p%, l%.
7732 (stringFromUnit): added helper function.
7733 (asLatexString): changed to give right results for the %-values.
7735 * buffer.C: convert the widthp in a width%.
7737 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7739 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7742 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7743 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7745 * lyx_cb.[Ch]: see above.
7747 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7751 * lyx.[Ch]: replaced by figure_form.[Ch].
7755 * lyxfunc.C: changed headers associated with above changes.
7757 2001-03-27 Juergen Vigna <jug@sad.it>
7759 * BufferView_pimpl.C: set the temporary cursor right!
7761 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7763 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7765 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7767 * LString.h: removed "using std::getline"!
7769 * BufferView_pimpl.C (Dispatch): changes due to changes in
7770 InsetInclude::Params.
7772 * buffer.C (tag_name): removed redundant break statements as they were
7773 producing lots of warnings with my compiler.
7775 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7777 * LString.h: add "using std::getline" when using the real <string>.
7779 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7781 * buffer.C: removed bitset usage.
7782 PAR_TAG moved to an anonymous name space.
7783 (tag_name): new funtion, also in the anonymous namespace.
7784 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7785 (makeDocBookFile): clean code. Completed transition from string arrays
7787 (SimpleDocBookOnePar): code clean.
7789 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7791 * tabular.C: add some comments.
7793 2001-03-22 Juergen Vigna <jug@sad.it>
7795 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7796 compatibility read a bit and fixed bug with minipage in different
7799 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7801 * buffer.C (pop_tag): removed.
7802 (push_tag): removed.
7803 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7804 array replaced with vector. Added support for CDATA sections.
7805 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7807 (makeDocBookFile): XML conformant declaration of CDATA section,
7808 fixed bug related to <emphasis> in the first paragraph char.
7809 (sgmlOpenTag): exclude empty tags.
7810 (sgmlCloseTag): ditto.
7812 * buffer.h (pop_tag): removed.
7813 (push_tag): removed.
7815 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7817 * language.h (Languages): added size_type and size().
7819 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7821 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7822 response on compability reading of minipages. One probliem is that
7823 the old usage of minipages was «flertydig»
7825 * several files here and in subdirs: don't use static at file
7826 scope use anon namespaces instead.
7828 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7830 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7831 LaTeX output. This is necessary for Literate document
7834 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7836 * buffer.C: insert hfill when needed.
7838 * tabular.C (l_getline): use string::erase, small whitespace change.
7840 * BufferView_pimpl.C: try the anon namespace.
7843 2001-03-16 Juergen Vigna <jug@sad.it>
7845 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7846 otherwise it won't open options-dialogs.
7848 * buffer.C: honor pextraWidth(p) on converting minipages.
7850 * tabular.C (l_getline): changed the functions to strip trailing \r.
7852 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7854 * BufferView_pimpl.C:
7855 * minibuffer..C: added "using SigC::slot" declaration.
7857 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7859 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7865 * paragraph.C: ditto
7867 * lyxtext.h: NO_PEXTRA
7869 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7871 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7872 * ParameterStruct.h: ditto
7873 * ParagraphParameters.h: ditto
7874 * lyxparagraph.h: ditto
7876 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7878 * buffer.C: add compability for minipage alignment.
7879 (latexParagraphs): remove unwanted pextra check.
7881 * several files: remove CXX_WORKING_NAMESPACES
7883 * buffer.C (pop_tag): tie is in namespace boost
7885 * BufferView.h: noncopyable is in namespace boost
7890 * lastfiles.h: ditto
7891 * bufferlist.h: ditto
7892 * ShareContainer.h: ditto
7894 * LyXAction.h: ditto
7897 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7899 * Merging changes from BRANCH_MVC back into HEAD.
7901 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7903 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7905 * BufferView_pimpl.C: change from intl.C
7909 * Makefile.am: move combox.*
7915 * intl.C: remove dialog (covered by prefs)
7917 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7919 * lyxfunc.C (Dispatch): removed redundant break statement.
7921 2001-03-14 Juergen Vigna <jug@sad.it>
7923 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7925 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7927 * buffer.C: add hack to fix compability reading of minipages.
7929 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7931 * buffer.C (getLists): Cleanup.
7933 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7935 * lyxfont.C (update): don't honor toggleall on font size.
7937 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7941 * Makefile.am: moved to frontends/xforms/
7945 * BufferView_pimpl.C: changes for moved mathpanel
7947 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7949 * gettext.h: fix gettext_init() in --disable-nls
7951 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7953 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7955 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7958 * lyx.h: strip external form
7960 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7962 * BufferView_pimpl.C: add comment, destroySplash()
7964 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7966 * BufferView_pimpl.C:
7970 * lyxfunc.C: use re-worked insetinclude
7972 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7974 * buffer.C: add using std::stringstream.
7976 * lyx_cb.C: readd using std::ios.
7978 * buffer.C: add using std::map.
7980 * BufferView_pimpl.C: add using std::vector.
7982 * ShareContainer.h: add std:: to swap.
7984 * buffer.h: add some typedefs
7985 * buffer.C (getLists): use them
7986 (getLists): renamed from getTocList.
7987 add a counter for the different float types and use it in the
7989 (getLists): use the same counter for the NEW_INSETS and the "non"
7992 * lyx_cb.h: remove unused items, includes, using etc.
7994 * ShareContainer.h: remove some commented code, add more comments
7995 and "documentation".
7997 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7999 * buffer.C (getTocList): make the list also when NEW_INSETS is
8002 * buffer.h: remove TocType
8004 * buffer.C (getTocList): change to return a map<string,
8005 vector<TocItem> >, implement for dynamic number of list.
8007 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8008 * text2.C (PasteSelection): adjust
8009 * CutAndPaste.C (pasteSelection): adjust
8011 * FloatList.C (FloatList): update from the new_insets branch.
8012 * Floating.[Ch]: ditto
8013 * LaTeXFeatures.C: ditto
8015 * lyxlex_pimpl.C: ditto
8017 * paragraph.C (Last): remove when NEW_INSETS is defined.
8019 * other file: changes because of the above.
8021 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8023 * lyxparagraph.h: rename next to next_, previous to previous_,
8024 make them private for NEW_INSETS. Rename Next() to next(),
8025 Previous() to previous().
8027 * other files: changes because of the above.
8029 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8032 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8035 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8037 * main.C (main): pass lyx_localedir to gettext_init().
8039 * gettext.h: remove locale_init and gettext_init macros
8041 * gettext.C (locale_init): new function
8042 (gettext_init): new function
8044 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8047 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8049 * Moved credits to frontends:
8050 * credits.[Ch]: removed
8051 * credits_form.[Ch]: removed
8052 * lyx_gui_misc.C: remove credits stuff
8055 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8057 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8059 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8060 unneeded destructor.
8062 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8063 a standalone pointer again.
8065 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8067 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8073 * ToolbarDefaults.C:
8082 * BufferView_pimpl.C: use new file dialog in GUII
8085 * lyx_cb.C: remove LayoutsCB to Toolbar
8087 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8089 * ShareContainer.h (get): add std:: qualifier
8091 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8093 * ShareContainer.h: define a proper ShareContainer::value_type
8094 type (and use typename to please compaq cxx)
8096 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8098 * lyxparagraph.h: move serveral local vars to
8099 ParameterStruct/ParagraphParameters., use ShareContainer in
8100 FontTable., make vars in FontTable private and add getter and
8103 * paragraph.C: changes because of the above.
8105 * lyxfont.h: remove copy constructor and copy assignment. (the
8106 default ones is ok), move number inside FontBits. move inlines to
8109 * lyxfont.C: add number to initializaton of statics, move several
8110 inlines here. constify several local vars. some whitespace
8111 cleanup. Dont hide outerscope variables.
8113 * Spacing.h: add two new constructors to match the set methods.
8115 * ShareContainer.h: new file, will perhaps be moved to support
8117 * ParameterStruct.h: new file
8119 * ParagraphParameters.h: new file
8121 * ParagraphParameters.C: new file
8123 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8124 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8126 * BufferView_pimpl.C: ParagraphParameter changes.
8127 * buffer.C: Likewise.
8128 * bufferview_funcs.C: Likewise.
8130 * text2.C: Likewise.
8132 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8134 * lyxfind.C (LyXReplace): do not redefine default argument in
8136 (IsStringInText): ditto
8137 (SearchForward): ditto
8138 (SearchBackward): ditto
8140 2001-03-06 Juergen Vigna <jug@sad.it>
8142 * lyxfind.C (IsStringInText): put parentes around expressions.
8144 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8146 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8148 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8150 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8152 * stl_string_fwd.h: add comment
8154 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8157 * tabular.C: remove unused DocBook methods
8163 killed DO_USE_DEFAULT_LANGUAGE
8165 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8167 * lyx_gui.C: do not include language.h.
8169 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8170 arguments in function implementation.
8172 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8174 * BufferView_pimpl.C: add <ctime>
8176 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8178 * BufferView_pimpl.C: add using std::find_if
8180 2001-02-27 José Matos <jamatos@fep.up.pt>
8182 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8185 2001-02-11 José Matos <jamatos@fep.up.pt>
8187 * buffer.C (makeDocBookFile): command styles now have a parameter as
8190 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8192 * layout_forms.[Ch]: removed
8193 * lyx_cb.[Ch]: out character
8194 * lyx_gui.C: out character
8195 * lyx_gui_misc.C: out character
8196 * bufferview_funcs.C: : out character,
8197 added toggleall as parameter in ToggleAndShow
8199 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8201 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8203 * text2.C (SetCurrentFont): Disable number property at boundary.
8205 2001-02-26 Juergen Vigna <jug@sad.it>
8207 * lyxfunc.C (getStatus): added a string argument override function so
8208 that this is correctly called from LyXFunc::Dispatch if it contains a
8209 do_not_use_argument which is used!
8210 (Dispatch): added check for "custom" export and call appropriate func.
8212 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8214 * lyxrc.C: Add language_command_local, language_use_babel and
8215 language_global_options.
8217 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8219 * buffer.C (makeLaTeXFile): Use language_use_babel and
8220 language_global_options.
8222 2001-02-23 Juergen Vigna <jug@sad.it>
8224 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8225 which works with LyXText and putted it inside BufferView. Here now we
8226 only call for that part the BufferView::Dispatch() function.
8228 * BufferView.C (Dispatch): added.
8230 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8231 functions which needs to use a LyXText over from LyXFunc.
8232 (MenuInsertLyXFile): added
8233 (getInsetByCode): added
8234 (moveCursorUpdate): added
8235 (static TEXT): added
8237 2001-02-22 Juergen Vigna <jug@sad.it>
8239 * BufferView_pimpl.C (update): call a status update to see if LyXText
8242 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8244 * vc-backend.C (revert): implement for CVS
8245 (getLog): implement for CVS
8247 2001-02-20 Juergen Vigna <jug@sad.it>
8249 * text2.C (ClearSelection): added BufferView param for inset_owner call
8251 * lyxfunc.C (TEXT): added this function and use it instead of
8252 directly owner->view()-text of getLyXText().
8254 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8256 * src/layout_forms.C: out preamble
8257 * src/layout_forms.h: out preamble
8258 * src/lyx_cb.C: out preamble
8259 * src/lyx_cb.h: out preamble
8260 * src/lyx_gui.C: out preamble
8261 * src/lyx_gui_misc.C: out preamble
8262 * src/lyxfunc.C: connect with guii preamble
8264 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8266 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8268 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8270 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8271 whether to run bibtex.
8273 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8275 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8277 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8279 * Makefile.am (lyx_SOURCES): removed bibforms.h
8283 * text.C (GetVisibleRow): make several local vars const
8285 * tabular.C: small cleanup.
8287 * lyxserver.C (callback): use compare instead of strncmp
8289 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8290 inlines to after class or to paragraph.C
8292 * lyxfont.h: remove friend operator!=
8294 * converter.h: move friend bool operator< to non friend and after
8297 * combox.h: small cleanup
8299 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8300 to inlines after class def.
8302 * buffer.C (pop_tag): use string operations instead of strcmp
8304 * bmtable.c: doxygen, small cleanup
8306 * LaTeX.h: remove friend operator==
8308 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8320 * BufferView_pimpl.C:
8321 * BufferView.[Ch]: remove cruft
8323 2001-02-14 Juergen Vigna <jug@sad.it>
8325 * lyxfunc.C: removed #if 0 unused code
8327 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8329 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8331 * text2.C (SetSelection): added a BufferView * parameter
8333 2001-02-13 Juergen Vigna <jug@sad.it>
8335 * lyxfunc.C (Dispatch): fixed protected blank problem.
8336 * BufferView2.C (protectedBlank): added LyxText * parameter.
8338 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8339 (AppendColumn): same as above for column_info.
8341 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8342 (moveCursorUpdate): use a LyXText param for support of InsetText.
8344 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8345 (tripleClick): ditto
8347 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8349 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8351 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8353 * text2.C (SetSelection): set correct update status if inset_owner
8356 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8358 * tabular.C: remove some commented code.
8360 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8362 * BufferView_pimpl.C: call hideSplash()
8364 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8367 * bibforms.h: remove
8370 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8371 add LFUN_CHILD_CREATE
8373 * counters.h: fix tiny typo
8378 * lyx.C: move splash to frontends/xforms/
8380 * lyx_gui_misc.C: move Include and Bibform to frontends
8382 * lyxvc.h: clarify comment
8384 * vspace.C: tiny housekeeping
8386 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8388 * text.C (PrepareToPrint): RTL Fix.
8390 * paragraph.C (GetUChar): New method.
8391 (String): Use GetUChar.
8393 * buffer.C (asciiParagraph): Use GetUChar.
8395 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8397 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8399 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8402 * buffer.C: rename to getLogName(), handle
8403 build log / latex log nicely
8405 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8408 * MenuBackend.h: remove support for reference menuitem type.
8410 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8412 * BufferView_pimpl.C: housekeeping
8413 * BufferView_pimpl.h:
8418 * minibuffer.h: move Timeout GUI-I
8420 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8422 * lyxrc.C (read): Update converters data-structures.
8424 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8426 * LaTeX.h (operator!=): add operator != for Aux_Info
8428 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8430 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8432 * LaTeXLog.C: deleted, useful code moved to Buffer
8435 * buffer.C: new function getLatexLogName()
8441 * lyxfunc.C: use frontends for LaTeX and VC logs
8443 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8445 * LaTeX.h: yet another std:: that Allan forgot.
8447 * Variables.C (set): renamed from isset(), because this clashes
8448 with some HP-UX macros (grr).
8450 2001-02-06 Allan Rae <rae@lyx.org>
8452 * LaTeX.h: Another bug fix. Missing std:: this time.
8454 2001-02-04 Allan Rae <rae@lyx.org>
8456 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8457 floats problem. I've left it commented out because it's not quite
8458 correct. It should also test that the current object is a table or
8459 figure inset. But I haven't gotten around to figuring out how to do
8460 that. I *think* it'll be something like: "table" == inset.type()
8462 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8465 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8467 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8468 all the citation/databases/styles in the auxilary file.
8469 (run): Rerun latex if there was a babel language error.
8471 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8473 * text.C (Backspace): Preserve the font when changing newline char
8475 (BreakParagraph): If the cursor is before a space, delete the space.
8477 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8479 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8481 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8482 new argument (code).
8483 (ChangeCitationsIfUnique): New method.
8485 * paragraph.C (GetPositionOfInset): Handle bibkey.
8487 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8489 * BufferView_pimpl.h: change type of Position::par_pos to
8490 LyXParagraph::size_type.
8492 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8494 * BufferView_pimpl.C (savePosition, restorePosition): Write
8495 messages to minibuffer.
8497 2001-01-28 José Matos <jamatos@fep.up.pt>
8499 * buffer.C (makeDocBookFile): adds support for document language.
8500 A silly restriction on the name of LatexCommand types where removed.
8501 Added support for CDATA sections, allows to chars unescaped, used
8502 among others in code, to avoid escape < and >.
8504 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8506 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8507 saved positions instrad of a stack. Furthermore, a position is
8508 stored using paragraph id/paragraph position.
8510 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8511 Remove LFUN_REF_BACK.
8513 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8515 * converter.C (dvipdfm_options): New method.
8517 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8519 * vspace.C (isValidLength): Fix for empty input string.
8521 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8523 * LyXAction.C (init): change description of LFUN_FIGURE to
8526 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8528 * LaTeX.C: add using directive
8530 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8532 * MenuBackend.C (expand): Fix the sorting of the formats.
8534 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8536 * lyx_main.C: tiny error message fix
8538 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8540 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8541 calling fl_initialize(). This fixes the problem with ',' as
8542 decimal separator in text files.
8544 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8546 * trans.C (process): Fix the keymap bug.
8548 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8550 * LaTeX.C (scanAuxFiles): New method. Provides support for
8551 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8552 (scanLogFile) Scan for "run BibTeX" messages.
8554 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8555 OT1 font encoding. Also, load the aecompl package if the ae
8558 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8560 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8562 * texrow.C (increasePos): turn two error messages into debug
8565 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8567 * LaTeX.C (scanAux): Handle the \@input macro.
8568 (runBibTeX): Use scanAux().
8570 * language.C (latex_options_): New field.
8572 * LaTeXFeatures.C (getMacros): Add language macros.
8574 * buffer.C (makeLaTeXFile): Small fix.
8576 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8578 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8580 * text2.C: add a using directive.
8582 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8587 * lyxfunc.C: kill LyXBell.
8589 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8591 * text.C (IsBoundary): Remove the error message
8593 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8595 * lyxrc.C (setDefaults): Correct initialization value for
8598 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8600 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8603 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8606 * src/LyXAction.C: Added reference-next.
8608 * text.C (InsertChar): Use contains instead of strchr.
8610 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8612 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8614 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8615 alignment commands (when needed).
8617 * text.C (InsertChar): Add ':' to number separator chars.