1 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * several files: ws changes only
5 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
6 (TeXEnvironment): ditto
9 * buffer.C (makeLaTeXFile): adjust
10 (latexParagraphs): make it take ParagraphList::iterator as args
12 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
14 * buffer.C (latexParagraphs): adjust
16 * paragraph.C (TeXOnePar): move function...
17 (optArgInset): move function...
18 (TeXEnvironment): move function...
19 * paragraph_pimpl.C (TeXDeeper): move function...
20 * paragraph_funcs.C: ...here
22 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
24 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
26 * buffer.C (readInset): remove compability code for old Figure and
29 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
31 * buffer.C: ws changes
34 * BufferView_pimpl.C: ditto
41 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
43 * converter.[Ch]: split into itself +
46 * Makefile.am: += graph.[Ch] + format.[Ch]
53 * lyxrc.C: added #include "format.h"
55 2003-02-27 Angus Leeming <leeming@lyx.org>
57 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
60 * factory.C (createInset): add "label" to the factory.
62 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
63 string and do no more.
65 2003-02-27 Angus Leeming <leeming@lyx.org>
69 * factory.C (createInset):
70 * BufferView_pimpl.C (dispatch):
71 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
73 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
75 * lyxfunc.C (dispatch):
76 * text3.C (dispatch): pass name to params2string.
78 2003-02-26 Angus Leeming <leeming@lyx.org>
80 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
82 Rearrange the ~includes. Strip out the unnecessary ones.
84 * factory.C (createInset): reformat.
85 create new insets for the various LFUN_XYZ_APPLY lfuns.
87 2003-02-26 John Levon <levon@movementarian.org>
90 * lyxrow.C: add isParStart,isParEnd helpers
92 * paragraph.h: make isInserted/DeletedText take refs
95 * paragraph_funcs.C: remove #if 0'd code
100 * text.C: use lyxrow helpers above.
101 Move draw and paint routines to RowPainter.
102 Make several methods use refs not pointers.
103 Make backgroundColor() const.
104 Add markChangeInDraw(), isInInset().
105 Merge changeRegionCase into changeCase.
106 Make workWidth() shouldn't-happen code into an Assert.
109 * rowpainter.C: new class for painting a row.
112 * vspace.C: make inPixels take a ref
114 2003-02-26 Angus Leeming <leeming@lyx.org>
116 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
119 2003-02-25 John Levon <levon@movementarian.org>
121 * ispell.C: give the forked command a more accurate name
123 2003-02-22 John Levon <levon@movementarian.org>
126 * toc.C: make TocItem store an id not a Paragraph *
129 2003-02-21 Angus Leeming <leeming@lyx.org>
131 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
132 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
133 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
134 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
135 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
136 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
138 * BufferView_pimpl.C (dispatch):
139 * LyXAction.C (init):
140 * factory.C (createInset):
141 * lyxfunc.C (getStatus, dispatch):
142 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
144 2003-02-21 Angus Leeming <leeming@lyx.org>
146 * BufferView_pimpl.C (MenuInsertLyXFile):
147 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
148 * lyxfunc.C (menuNew, open, doImport):
149 no longer pass a LyXView & to fileDlg.
151 2003-02-21 Angus Leeming <leeming@lyx.org>
153 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
154 * LyXAction.C: change, BIBKEY to BIBITEM.
155 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
156 Change InsetBibKey to InsetBibitem.
157 Change BIBKEY_CODE to BIBITEM_CODE.
158 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
159 * factory.C: replace insetbib.h with insetbibitem.h.
160 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
161 * paragraph.C: replace insetbib.h with insetbibitem.h.
162 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
163 Change bibkey() to bibitem().
164 * text.C: remove insetbib.h.
165 * text2.C: replace insetbib.h with insetbibitem.h.
166 change bibkey() to bibitem().
167 * text3.C: remove insetbib.h.
168 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
170 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
172 * lyxrc.C (output): enclose user email in quotes (in case there are
175 2003-02-18 John Levon <levon@movementarian.org>
177 * buffer.h: add std::
179 2003-02-17 John Levon <levon@movementarian.org>
185 * pspell.C: reworking. Especially in ispell, a large
186 number of clean ups and bug fixes.
188 * lyxfunc.C: fix revert to behave sensibly
190 2003-02-17 André Pönitz <poenitz@gmx.net>
193 * commandtags.h: new LFUN_INSERT_BIBKEY
203 * paragraph_func.C: remove special bibkey handling
205 2003-02-17 John Levon <levon@movementarian.org>
207 * text.C (Delete): fix case where delete at the end of
208 the very first paragraph would not merge the pars
210 2003-02-17 John Levon <levon@movementarian.org>
212 * lyxrow.C: fix lastPrintablePos()
214 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
216 * bufferparams.C (writeLaTeX): add a std:here
218 * buffer.C: and remove a using directive there
220 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
222 * buffer.C (makeLaTeXFile): move the code that generates the
225 * bufferparams.C (writeLaTeX): ... in this new method
227 * LaTeXFeatures.C (getEncodingSet): make const
228 (getLanguages): make const
230 * MenuBackend.C (binding): returns the binding associated to this
232 (add): sets the status of each item by calling getStatus. Adds
234 (read): add support for OptSubMenu
235 (expand): remove extra separator at the end of expanded menu
237 2003-02-15 John Levon <levon@movementarian.org>
240 * BufferView_pimpl.C:
242 * bufferlist.C: remove pointless BufferStorage bloat. Remove
243 inset code that had no actual effect. Remove unneeded status
246 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
248 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
251 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
253 * text.C (drawLengthMarker): also draw an arrow marker for
254 symbolic lengths (medskip...)
256 2003-02-14 John Levon <levon@movementarian.org>
259 * tabular.C: better method names
261 2003-02-14 John Levon <levon@movementarian.org>
263 * BufferView_pimpl.C:
268 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
269 it's a more accurate name. Remove some pointless uses.
271 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
273 * text2.C (LyXText): change order of initilizers to shut off
276 2003-02-14 John Levon <levon@movementarian.org>
278 * buffer.C: use ParIterator for getParFromID()
283 * paragraph_pimpl.C: remove unused getParFromID()
285 2003-02-14 John Levon <levon@movementarian.org>
287 * buffer.C: remove some very old #if 0'd parse code
289 2003-02-13 John Levon <levon@movementarian.org>
293 * text2.C: move hfillExpansion(), numberOfSeparators(),
294 rowLast(), rowLastPrintable(), numberofHfills(),
295 numberOfLabelHfills() ...
298 * lyxrow.C: ... to member functions here.
303 * text.C: remove LyXText::beginningOfMainBody(), and call
304 p->beginningOfMainBody() directly. Move the check for
305 LABEL_MANUAL into the latter.
312 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
318 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
319 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
321 2003-02-13 John Levon <levon@movementarian.org>
323 * CutAndPaste.C: remove debug
325 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
327 * paragraph.C (asString): remove two unused variables
329 * lyxtextclass.C (readTitleType):
331 (LyXTextClass): handle new members titletype_ and titlename_
333 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
335 2003-02-09 John Levon <levon@movementarian.org>
338 * buffer.C: replace hand-coded list with a map for the dep clean
340 2003-02-08 John Levon <levon@movementarian.org>
342 * LaTeX.C: consolidate code into showRunMessage() helper
344 2003-02-08 John Levon <levon@movementarian.org>
349 * BufferView.C: change setSelectionOverString() to setSelectionRange()
350 and pass the size in explicitly
352 * BufferView_pimpl.h:
353 * BufferView_pimpl.C:
355 * BufferView.C: add getCurrentChange()
357 * BufferView_pimpl.h:
358 * BufferView_pimpl.C: handle change lfuns
360 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
361 for changes. Mark pasted paragraphs as new.
365 * DepTable.C: abstract time_t as lyx::time_type
368 * LColor.C: add colours for new text, deleted text, changebars
370 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
371 package use "usenames" option.
375 * LyXAction.C: add change lfuns
379 * author.C: author handling
382 * buffer.C: add a per-buffer author list, with first entry as
383 current author. Handle new .lyx tokens for change tracking. Output
384 author list to .lyx file. Output dvipost stuff to .tex preamble.
385 Bump lyx format to 222.
388 * bufferlist.C: add setCurrentAuthor() to reset current author details
392 * bufferparams.C: add param for tracking
394 * bufferview_funcs.C: output change info in minibuffer
398 * changes.C: add change-tracking structure
401 * debug.C: add CHANGES debug flag
404 * lyxfind.C: add code for finding the next change piece
407 * lyxrc.C: add user_name and user_email
410 * lyxrow.C: add a metric for the top of the text line
413 * text.C: implement accept/rejectChange()
416 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
417 Strike through deleted text.
422 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
423 to the insert functions. Rework erase to mark text as deleted, adding
424 an eraseIntern() and a range-based erase(). Implement
425 per-paragraph change lookup and accept/reject.
427 * paragraph_funcs.C: Fixup paste for change tracking.
429 * tabular.C: mark added row/columns as new.
431 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
432 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
434 * text2.C: leave cursor at end of selection after a cut.
436 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
438 * text.C (getLengthMarkerHeight):
439 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
440 visible on screen too.
442 2003-02-07 John Levon <levon@movementarian.org>
444 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
446 2003-02-05 Angus Leeming <leeming@lyx.org>
448 * lyxserver.C (read_ready): revert my patch of 11 September last year
449 as it sends PC cpu through the roof. Presumably this means that
450 the lyxserver will no longer run on an Alpha...
452 2003-01-30 Angus Leeming <leeming@lyx.org>
454 * factory.C (createInset): create an InsetCommandParam of type "index"
455 and use it to 'do the right thing'.
457 * text2.C (getStringToIndex): ensure that cursor position is always
458 reset to the reset_cursor position.
460 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
462 * lyxfunc.C (getStatus): "buffer-export custom" should never be
465 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
469 * lyxfunc.C: Output messages with identical spelling, punctuation,
472 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
474 * MenuBackend.C (expandFormats): List only viewable export formats
477 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
480 * lyxfunc.C (getStatus): Make sure that formats other than
481 "fax" can also be disabled
483 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
485 * text3.C (dispatch): put the lfuns that insert insets in 3
486 groups, and call doInsertInset with appropriate arguments.
487 (doInsertInset): new function, that creates an inset and inserts
488 it according to some boolean parameters.
490 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
492 * buffer.C (readFile): remember to pass on 'par' when calling
493 readFile recursively.
495 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
497 * MenuBackend.C (expandFormats): add "..." to import formats.
499 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
501 * paragraph.C (asString): Remove XForms RTL hacks.
503 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
506 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
508 * Makefile.am (LIBS): delete var
509 (lyx_LDADD): add @LIBS@ here instead.
511 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
513 * Clarify the meaning of "wheel mouse jump"
515 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
517 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
520 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
522 * importer.C (Loaders): do not preallocate 3 elements in the
523 vector, since one ends up with 6 elements otherwise
525 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
527 * DepTable.C (write): write the file name as last element of the
528 .dep file (because it may contain spaces)
529 (read): read info in the right order
531 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
533 * paragraph_pimpl.C (simpleTeXBlanks):
534 (simpleTeXSpecialChars):
535 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
537 * tabular.C (latex): add some missing case statements. Reindent.
539 * MenuBackend.C (expandToc): remove unused variable.
541 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
550 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
553 2003-01-05 John Levon <levon@movementarian.org>
556 * BufferView.C: add getEncoding()
559 * kbsequence.C: do not store last keypress
562 * lyxfunc.C: store last keypress here instead. Pass encoding
565 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
567 * lyx_main.C (init): remove annoying error message when following
568 symbolic links (bug #780)
570 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
572 * text.C (insertChar):
573 * lyxrc.C (getDescription): remove extra spaces
575 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
577 * lyxrc.C (getDescription): remove extra spaces
579 2002-12-20 John Levon <levon@movementarian.org>
581 * text3.C: hack fix for page up/down across tall rows
583 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
585 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
588 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
590 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
591 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
592 thesaurus is not compiled in
594 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
596 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
598 2002-12-16 Angus Leeming <leeming@lyx.org>
601 * lyx_main.C (init): remove override_x_deadkeys stuff.
603 2002-12-12 John Levon <levon@movementarian.org>
605 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
606 insert. Only remove shift modifier under strict
609 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
611 * MenuBackend.C (expandToc): fix crash.
613 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
615 * MenuBackend.C (expandToc): gettext on float names.
617 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
619 * lyxlength.[Ch]: set default unit to UNIT_NONE,
620 implement bool empty() [bug 490]
622 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
626 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
628 * several files: ws changes
630 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
632 * text2.C (setCounter): clean up a bit, use boost.format.
633 (updateCounters): initialize par upon declaration.
635 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
636 if the layout exists. We do not just store the layout any more.
637 (SwitchLayoutsBetweenClasses): use boost.format
639 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
641 * converter.C (convert): if from and to files are the same, use a
642 temporary files as intermediary
644 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
647 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
649 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
651 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
653 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
655 * tabular.C (asciiPrintCell): use string(size, char) instead of
658 * sgml.C (openTag): fix order of arguments to string constructor
661 * lyxfunc.C (dispatch): use boost.format
663 * lots of files: change "c" -> 'c'
665 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
667 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
669 2002-11-25 Angus Leeming <leeming@lyx.org>
671 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
673 * lyx_main.C (init): compile fix.
675 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
677 * lyx_cb.C (start): boost.formatify
678 do not include <iostream>
680 * lengthcommon.C: ws only
682 * boost-inst.C,BoostFormat.h: add more explict instantations
684 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * lots of files: handle USE_BOOST_FORMAT
688 2002-11-21 John Levon <levon@movementarian.org>
690 * pspell.C: fix compile
692 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
694 * lyxfunc.C (dispatch): use boost::format
698 * lyxfont.C (stateText): use boost::format
700 * lyx_main.C (LyX): use boost::format
702 (queryUserLyXDir): ditto
705 (typedef boost::function): use the recommened syntax.
707 * importer.C (Import): use boost::format
709 * debug.C (showLevel): use boost::format
711 * converter.C (view): use boost::format
716 * bufferview_funcs.C (currentState): use boost::format
718 * bufferlist.C (emergencyWrite): use boost::format
720 * buffer.C (readLyXformat2): use boost::format
721 (parseSingleLyXformat2Token): ditto
723 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
725 * LaTeX.C (run): use boost::format
727 * Chktex.C (scanLogFile): use boost::format
729 * BufferView_pimpl.C (savePosition): use boost::format
730 (restorePosition): ditto
731 (MenuInsertLyXFile): ditto
733 * BoostFormat.h: help file for explicit instation.
735 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
737 * tabular.C (latex): Support for block alignment in fixed width
740 2002-11-17 John Levon <levon@movementarian.org>
742 * BufferView_pimpl.C:
744 * lyxfunc.C: split filedialog into open/save
746 2002-11-08 Juergen Vigna <jug@sad.it>
748 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
749 by my last patch (hopefully).
751 2002-11-08 John Levon <levon@movementarian.org>
760 * toc.C: ParConstIterator, and use it (from Lars)
762 2002-11-07 Ben Stanley <bds02@uow.edu.au>
764 * lyxtextclass.[Ch]: revise and add doxygen comments
766 2002-11-07 John Levon <levon@movementarian.org>
768 * text.C: fix progress value for spellchecker
770 * toc.C: fix navigate menu for insetwrap inside minipage
772 * paragraph_funcs.C: added FIXME for suspect code
774 2002-11-07 John Levon <levon@movementarian.org>
776 * BufferView_pimpl.C: fix redrawing of insets
779 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
781 * text2.C (updateCounters): fix bug 668
783 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
785 * text3.C (dispatch): Do not make the buffer dirty when moving the
788 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
790 * vc-backend.C: STRCONV
793 * text2.C (setCounter): STRCONV
795 * paragraph.C (asString): STRCONV
797 * lyxlength.C (asString): STRCONV
798 (asLatexString): ditto
800 * lyxgluelength.C (asString): STRCONV
801 (asLatexString): ditto
803 * lyxfunc.C (dispatch): STRCONV
806 * lyxfont.C (stateText): STRCONV
808 * importer.C (Import): STRCONV
810 * counters.C (labelItem): STRCONV
812 (numberLabel): remove unused ostringstream o
817 * bufferview_funcs.C (currentState): STRCONV
819 * buffer.C (readFile): STRCONV
820 (asciiParagraph): ditto
821 (makeLaTeXFile): ditto
823 * Spacing.C (writeEnvirBegin): STRCONV
825 * LaTeXFeatures.C (getLanguages): STRCONV
828 (getBabelOptions): ditto
829 (getTClassPreamble): ditto
830 (getLyXSGMLEntities): ditto
831 (getIncludedFiles): ditto
838 * LString.h: add the STRCONV macros
840 * BufferView_pimpl.C (savePosition): STRCONV
841 (restorePosition): ditto
842 (MenuInsertLyXFile): ditto
844 * vc-backend.C (scanMaster): change from submatch[...] to
847 * funcrequest.C: include config.h
849 * factory.C: include config.h
851 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
853 * box.C: include config.h
855 * LaTeX.C (scanAuxFile): change from submatch[...] to
859 2002-10-25 Angus Leeming <leeming@lyx.org>
861 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
863 * ispell.[Ch] (setError): new method.
864 * ispell.C (c-tor): move out child process into new class LaunchIspell.
865 Use setError() insetead of goto END.
867 * lyx_cb.C (AutoSave): move out child process into new class
870 2002-10-30 John Levon <levon@movementarian.org>
872 * text3.C: make start appendix undoable
874 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
876 * lyxlength.C (inPixels): Fix returned value.
878 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
881 2002-10-24 Angus Leeming <leeming@lyx.org>
883 * lyxgluelength.h: no need to forward declare BufferParams
884 or BufferView, so don't.
886 2002-10-21 John Levon <levon@movementarian.org>
888 * BufferView.C: menuUndo ->undo, redo
890 * BufferView.h: document, remove dead, make some methods private
894 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
899 * sgml.C: move sgml open/close tag into sgml.C
901 * bufferview_funcs.h: unused prototype
904 * lyxfunc.C: remove unused
907 * text.C: remove unused
909 2002-10-21 John Levon <levon@movementarian.org>
913 * BufferView_pimpl.h:
914 * BufferView_pimpl.C: fix mouse wheel handling based on
915 patch from Darren Freeman
917 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
919 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
921 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
923 * lyxlength.C (inPixels): Fix hanfling of negative length.
924 Fix LyXLength::MU case.
926 2002-10-16 John Levon <levon@movementarian.org>
928 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
930 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
932 * converter.C (view): add support for $$i (file name) and $$p
933 (file path) for the viewer command. If $$i is not specified, then
934 it is appended to the command (for compatibility with old syntax)
936 2002-10-14 Juergen Vigna <jug@sad.it>
938 * undo_funcs.C (textHandleUndo): alter the order in which the
939 new undopar is added to the LyXText, as we have to set first
940 the right prev/next and then add it as otherwise the rebuild of
941 LyXText is not correct. Also reset the cursor to the right paragraph,
942 with this IMO we could remove the hack in "redoParagraphs()".
944 2002-10-09 Angus Leeming <leeming@lyx.org>
946 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
947 to turn off an optimisation if a new inset is to be inserted.
949 2002-10-11 André Pönitz <poenitz@gmx.net>
951 * lyxtext.h: make some functions public to allow access
952 from inset/lyxtext for handling LFUN_PRIOR/NEXT
954 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
956 * text3.C (dispatch): when changing layout, avoid an infinite loop
959 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
961 * lyxrc.C (read): treat a viewer or converter command of "none" as
964 * MenuBackend.C (expandFormats): for an update, also allow the
965 formats that are not viewable
967 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
968 script if it is newer than the lyxrc.defaults in user directory
970 2002-10-07 André Pönitz <poenitz@gmx.net>
972 * text.C: Vitaly Lipatov's small i18n fix
974 2002-09-25 Angus Leeming <leeming@lyx.org>
976 * ispell.h: doxygen fix.
978 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
980 * buffer.h (readFile): Add a new argument to the method, to allow
981 reading of old-format templates.
983 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
985 * toc.C (getTocList): Get TOC from InsetWrap.
987 2002-09-16 John Levon <levon@movementarian.org>
989 * lyxfunc.C: check tabular for cut/copy too
991 2002-09-12 John Levon <levon@movementarian.org>
996 * factory.C: add header
999 * paragraph_funcs.C: cleanup
1001 2002-09-11 John Levon <levon@movementarian.org>
1003 * PrinterParams.h: odd/even default to true
1005 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1007 * PrinterParams.h: update printer parameters for new xforms dialog
1009 2002-09-11 Angus Leeming <leeming@lyx.org>
1011 * lyxserver.C (read_ready): re-write to make it more transparent
1012 and to make it work in coherent fashion under Tru64 Unix.
1014 2002-09-11 André Pönitz <poenitz@gmx.net>
1018 * text3.C: implement LFUN_WORDSEL
1020 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1022 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1023 make floatlist_ a boost::shared_ptr<FloatList>
1025 * lyxtextclass.C: include FloatList.h
1026 (LyXTextClass): initialize floatlist_
1027 (TextClassTags): add TC_NOFLOAT
1028 (Read): match "nofloat" to TC_NOFLOAT and use it.
1029 (readFloat): modify call to floatlist_
1033 * FloatList.[Ch] (FloatList): remove commented out float
1035 (erase): new function
1037 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1039 * MenuBackend.C (expandToc): fix crash when there is no document
1042 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1044 * many files: Add insetwrap.
1046 2002-09-09 John Levon <levon@movementarian.org>
1048 * text2.C: remove confusing and awkward depth wraparound
1050 2002-09-09 John Levon <levon@movementarian.org>
1052 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1055 * buffer.C: remove getIncludeonlyList()
1058 * lyxfunc.C: remove headers
1060 2002-09-09 Juergen Vigna <jug@sad.it>
1062 * text.C (getColumnNearX): fix form Michael this is most
1063 probably a cut&paste bug.
1065 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1069 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1070 references, ws changes.
1072 * text2.C (init): update counters after init
1073 (insertParagraph): no need to set counter on idividual paragraphs.
1074 (setCounter): access the counters object in the textclass object
1075 on in the buffer object.
1076 (updateCounters): ditto
1078 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1079 shared_ptr<Counters> to avoid loading counters.h in all
1081 (LyXTextClass): initialize ctrs_
1082 (TextClassTags): add TC_COUNTER, and ...
1083 (Read): use it here.
1084 (CounterTags): new tags
1085 (readCounter): new function
1086 (counters): new funtion
1087 (defaultLayoutName): return a const reference
1089 * counters.C (Counters): remove contructor
1090 (newCounter): remove a couple of unneeded statements.
1091 (newCounter): simplify a bit.
1092 (numberLabel): some small formatting changes.
1094 * buffer.[Ch]: remove all traces of counters, move the Counters
1095 object to the LyXTextClass.
1097 2002-09-06 Alain Castera <castera@in2p3.fr>
1099 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1100 package to set the horizontal alignment on fixed width columns.
1103 * lyx_sty.h: added tabularnewline macro def.
1105 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1107 2002-09-06 John Levon <levon@movementarian.org>
1109 * LyXAction.C: tooltips for sub/superscript
1111 * MenuBackend.C: a bit more verbose
1113 * lyxfunc.C: tiny clean
1115 * undo_funcs.C: document undo_frozen
1117 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1119 * counters.C (Counters): add missing algorithm counter.
1121 * text2.C (setCounter): lookup the counter with layouts latexname
1122 instead of by section number.
1123 (setCounter): use a hackish way to lookup the correct enum
1125 a float name->type change
1126 reset enum couners with counter name directly instead of depth value.
1128 * counters.C (Counters): remove the push_backs, change to use the
1129 float type not the float name.
1130 (labelItem): remove unused string, float name->type change
1132 * counters.h: don't include vector, loose the enums and sects vectors
1134 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1136 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1137 (Read): add float->TC_FLOAT to textclassTags
1138 (Read): and handle it in the switch
1139 (readFloat): new function
1141 * FloatList.C (FloatList): comment out the hardcoded float
1144 * lyxlayout.h: ws change.
1146 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1148 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1150 2002-09-03 Angus Leeming <leeming@lyx.org>
1152 * BufferView_pimpl.h: qualified name is not allowed in member
1153 declaration: WorkArea & Pimpl::workarea() const;
1155 * factory.C: added using std::endl directive.
1157 * text3.C: added using std::find and std::vector directives.
1159 2002-08-29 André Pönitz <poenitz@gmx.net>
1162 * text2.C: remove unused member number_of_rows
1165 * BufferView2.C: remove file, move contents to...
1166 * BufferView.C: ... here
1168 * BufferView_pimpl.C:
1169 * factory.C: move more inset creation to factory
1171 * vspace.C: avoid direct usage of LyXText, ws changes
1174 don't provide direct access to WorkArea, use two simple
1175 acessors haveSelction() and workHeight() instead
1178 2002-08-29 John Levon <levon@movementarian.org>
1180 * BufferView_pimpl.C (dispatch): do not continue when
1183 2002-08-28 André Pönitz <poenitz@gmx.net>
1185 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1188 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1190 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1192 * buffer.C: increment LYX_FORMAT to 221
1194 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1195 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1197 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1199 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1201 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1203 * factory.C (createInset): use LyXTextClass::floats
1205 * MenuBackend.C (expandFloatListInsert):
1206 (expandFloatInsert):
1209 * text2.C (setCounter):
1211 * LaTeXFeatures.C (useFloat):
1212 (getFloatDefinitions):
1214 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1216 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1217 floatlist_, with accessor floats().
1219 * FloatList.h: remove global FloatList
1221 2002-08-26 André Pönitz <poenitz@gmx.net>
1223 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1227 * BufferView_pimpl.C:
1228 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1230 2002-08-25 John Levon <levon@movementarian.org>
1232 * LyXAction.C: fix margin note description
1234 2002-08-24 John Levon <levon@movementarian.org>
1238 * bufferview_funcs.C:
1240 * undo_funcs.C: cleanups
1242 * lyxfunc.C: disable CUT/COPY when no selection
1244 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1246 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1247 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1249 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1250 Add backward compatibility to "mono", "gray" and "no".
1252 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1254 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1255 (and file_format >= 200).
1257 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1259 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1261 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1263 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1265 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1267 * BufferView_pimpl.C:
1274 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1275 inset and code to make it work with the paragraph code. The inset
1276 can be anywhere in the paragraph, but will only do the expected
1277 thing in LaTeX if the layout file contains the parameter line
1279 (or more generally, a nonzero value) for that layout.
1281 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * paragraph.h: remove the declaration of undefined counters class
1286 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1288 * text2.C (setCounter): fixed enumeration mis-count as reported by
1289 Dr. Richard Hawkins.
1291 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1293 * paragraph_funcs.h: remove some unneeded includes
1295 * text.C (backspace): pasteParagraph now in global scipe
1297 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1298 (pasteSelection): ditto
1300 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1301 * paragraph_funcs.C (pasteParagraph): ... here
1303 2002-08-20 André Pönitz <poenitz@gmx.net>
1305 * commandtags.h: new LFUNs for swapping/copying table row/colums
1308 * lyxfunc.C: support for new lfuns
1310 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1313 * buffer.[Ch]: remove NO_COMPABILITY stuff
1315 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * boost.C (throw_exception): new file, with helper function for
1318 boost compiled without exceptions.
1323 * ParameterStruct.h:
1324 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1326 * bufferlist.C (emergencyWriteAll): use boost bind
1328 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1330 * text.C: include paragraph_funcs.h
1331 (breakParagraph): breakParagraph is now in global scope
1333 * paragraph_funcs.[Ch]: new files
1335 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1338 * buffer.C: include paragraph_funcs.h
1339 (insertStringAsLines): breakParagraph is now in global scope
1341 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1344 * CutAndPaste.C: include paragraph_funcs.h
1345 (cutSelection): breakParagraphConservative is now in global scope
1346 (pasteSelection): ditto
1348 * buffer.h: declare oprator== and operator!= for
1349 Buffer::inset_iterator
1351 * bufferlist.C (emergencyWrite): don't use fmt(...)
1353 * text3.C: add using std::endl
1355 * BufferView.C (moveCursorUpdate): remove default arg
1357 2002-08-20 André Pönitz <poenitz@gmx.net>
1359 * buffer.[Ch]: move inline functions to .C
1362 * BufferView_pimpl.C:
1364 * buffer.[Ch]: use improved inset_iterator
1367 * paragraph.[Ch]: write one paragraph at a time
1369 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1371 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1372 style if style is not specified.
1374 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1376 * text2.C (setCounter): when searching for right label for a
1377 caption, make sure to recurse to parent insets (so that a caption
1378 in a minipage in a figure float works) (bug #568)
1380 2002-08-20 André Pönitz <poenitz@gmx.net>
1382 * text3.C: new file for LyXText::dispatch() and helpers
1384 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1386 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1388 2002-08-19 André Pönitz <poenitz@gmx.net>
1391 * text.C: new LyXText::dispatch()
1393 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1395 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1397 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1399 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1402 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1404 * Makefile.am: use $(variables) instead of @substitutions@
1406 2002-08-15 André Pönitz <poenitz@gmx.net>
1409 * BufferView_pimpl.C: streamlining mathed <-> outer world
1413 * LyXAction.C: remove unused LFUN_MATH
1415 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1417 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1419 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1421 * paragraph.C (Paragraph): reformat a bit
1422 (cutIntoMinibuffer): use builtin InsetList function instad of
1426 * buffer.C: include boost/bind.hpp, add using std::for_each
1427 (writeFileAscii): use ParagraphList iterators
1428 (validate): use for_each for validate traversal of paragraphs
1429 (getBibkeyList): use ParagraphList iterators
1430 (resizeInsets): use for_each to resizeInsetsLyXText for all
1432 (getParFromID): use ParagraphList iterators
1434 * BufferView2.C (lockInset): use paragraph list and iterators
1436 2002-08-14 John Levon <levon@movementarian.org>
1438 * lyxserver.C: remove spurious xforms include
1440 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1442 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1444 2002-08-13 André Pönitz <poenitz@gmx.net>
1447 * lyxfunc.C: further cleaning
1449 2002-08-13 André Pönitz <poenitz@gmx.net>
1451 * funcrequest.h: new constructor
1453 * funcrequest.C: move stuff here from .h
1456 * BufferView_pimpl.C:
1459 * lyxfunc.C: subsequent changes
1461 * lyxfunc.h: new view() member function
1463 * lyxfunc.C: subsequent changes
1465 2002-08-13 Angus Leeming <leeming@lyx.org>
1468 * BufferView_pimpl.C:
1476 changes due to the changed LyXView interface that now returns references
1477 to member variables not pointers.
1479 2002-08-13 Angus Leeming <leeming@lyx.org>
1481 * WordLangTuple (word, lang_code): return references to strings,
1486 * lyxtext.h: forward-declare WordLangTuple.
1491 * text.C: #include "WordLangTuple.h".
1494 * text.C: (selectNextWordToSpellcheck): constify return type.
1496 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1502 * paragraph_pimpl.h:
1505 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1507 Made updateCounter always count from start of buffer, and removed
1508 second argument (par).
1509 Reverted floats number display to '#'. Perhaps I'll try again when the
1510 code base is sanitized a bit.
1512 2002-08-12 Angus Leeming <leeming@lyx.org>
1514 * buffer.[Ch] (getLabelList): constify.
1516 2002-08-07 André Pönitz <poenitz@gmx.net>
1518 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1520 * funcrequest.h: extension to keep mouse (x,y) position
1522 2002-08-12 Juergen Vigna <jug@sad.it>
1524 * BufferView2.C (insertErrors): forbid undo when inserting error
1527 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1529 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1531 * ParagraphList.[Ch]: new files
1533 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1535 * BufferView2.C (lockInset): ParagraphList changes
1538 * bufferlist.C: ditto
1542 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1545 unused class variable counter_,
1547 * paragraph.[Ch] (getFirstCounter): delete unused function
1549 * counters.C: include LAssert.h
1550 (reset): add a new function with no arg, change other version to
1551 not have def. arg and to not allow empty arg.
1553 * text2.C (setCounter): remove empty arg from call to Counters::reset
1555 2002-08-11 John Levon <levon@movementarian.org>
1557 * Makefile.am: add WordLangTuple.h
1559 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1561 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1562 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1564 * insets/insettext.C: InsetList changes
1566 * graphics/GraphicsSupport.C (operator()): InsetList changes
1568 * toc.C (getTocList): InsetList changes
1570 * paragraph_pimpl.[Ch]: InsetList changes
1572 * paragraph.[Ch]: InsetList changes
1574 * buffer.C (inset_iterator): InsetList changes
1575 (setParagraph): ditto
1576 * buffer.h (inset_iterator): ditto
1577 * iterators.C (operator++): ditto
1578 * iterators.h: ditto
1580 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1582 * InsetList.[Ch]: new files, most InsetList handling moved out of
1585 * BufferView2.C (removeAutoInsets): InsetList changes
1587 (ChangeInsets): ditto
1589 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1591 * paragraph_pimpl.h (empty): new function
1593 * paragraph.[Ch] (empty): new function
1595 * other files: use the new Paragraph::empty function
1597 2002-08-09 John Levon <levon@movementarian.org>
1599 * lyxtext.h: remove unused refresh_height
1601 2002-08-09 John Levon <levon@movementarian.org>
1608 * paragraph.C: move sgml char escaping out of paragraph
1611 * paragraph.C: remove id setter
1615 * paragraph_pimpl.C: remove dead tex_code_break_column
1617 * bufferview_funcs.C: small cleanup
1619 * lyxfunc.C: remove dead proto
1621 * lyxtext.h: make some stuff private. Remove some dead stuff.
1623 * lyxgluelength.C: make as[LyX]String() readable
1625 2002-08-08 John Levon <levon@movementarian.org>
1630 * ToolbarDefaults.C:
1633 * toc.C: lyxaction cleanup
1635 2002-08-08 John Levon <levon@movementarian.org>
1637 * BufferView2.C: small cleanup
1640 * lyxfind.C: move unnecessary header into the .C
1642 2002-08-08 John Levon <levon@movementarian.org>
1644 * funcrequest.h: just tedious nonsense
1647 * lyx_main.C: cleanups
1650 * vspace.C: remove dead header lyx_main.h
1652 2002-08-07 Angus Leeming <leeming@lyx.org>
1655 * paragraph_pimpl.h:
1656 Forward declare class Counters in paragraph.h by moving the ctrs member
1657 variable into Paragraph::Pimpl.
1658 (counters): new method, returning a reference to pimpl_->ctrs.
1660 * text2.C: ensuing changes.
1662 2002-08-07 John Levon <levon@movementarian.org>
1664 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1666 * BufferView_pimpl.C: announce X selection on double/triple
1669 * lyx_main.C: use correct bool in batch dispatch
1671 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1673 2002-08-07 André Pönitz <poenitz@gmx.net>
1675 * funcrequest.h: new class to wrap a kb_action and its argument
1678 * BufferView_pimpl[Ch]:
1682 * lyxrc.C: subsequent changes
1685 2002-08-07 John Levon <levon@movementarian.org>
1687 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1688 document options change.
1690 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1695 * makefile.am: move counters functionality over from
1696 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1698 2002-08-06 John Levon <levon@movementarian.org>
1700 * WordLangTuple.h: new file for word + language code tuple
1711 * BufferView2.C: use WordLangTuple
1714 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1716 2002-08-06 John Levon <levon@movementarian.org>
1718 * lyx_main.C: fix cmdline batch handling
1720 2002-08-06 André Pönitz <poenitz@gmx.net>
1722 * lyxrc.C: set default for show_banner to true
1724 2002-08-06 John Levon <levon@movementarian.org>
1726 * pspell.C: fix a crash, and allow new aspell to work
1728 2002-08-06 John Levon <levon@movementarian.org>
1731 * kbmap.C: small cleanup
1734 * vspace.C: add const
1736 2002-08-05 John Levon <levon@movementarian.org>
1738 * LyXAction.C: back to tabular-insert
1740 2002-08-04 John Levon <levon@movementarian.org>
1743 * BufferView.C: cosmetic change
1745 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1755 * BufferView2.C: purge all "Lyx" not "LyX" strings
1758 * lyxcursor.C: attempt to add some documentation
1763 * ToolbarDefaults.C:
1764 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1765 merge with LFUN_TABULAR_INSERT
1772 * pspell.C: split up i/pspell implementations into separate
1773 files, many cleanups
1775 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1777 * text2.C: some cleanup
1779 * lyxfunc.C: don't check for isp_command == "none" any more, it
1780 didn't make any sense
1782 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1787 * makefile.am: move counters functionality over
1788 from text2.C/paragraph.[Ch] to counters.[Ch], and
1790 2002-08-02 John Levon <levon@movementarian.org>
1792 * buffer.C: s/lyxconvert/lyx2lyx/
1794 2002-08-02 Angus Leeming <leeming@lyx.org>
1796 * lyxlex.C: revert John's change as it breaks reading of the user
1799 2002-08-02 Angus Leeming <leeming@lyx.org>
1801 * importer.C (Import):
1802 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1803 changes due to LyXView::view() now returning a boost::shared_ptr.
1805 2002-08-02 John Levon <levon@movementarian.org>
1807 * lyxlex.C: small cleanup
1809 2002-08-02 John Levon <levon@movementarian.org>
1811 * text2.C (status): small cleanup, no logic change
1813 2002-08-01 John Levon <levon@movementarian.org>
1816 * buffer.C (writeFile): don't output alerts, caller
1820 * lyx_cb.C: from above
1822 * lyxfunc.C: allow to open non-existent files
1824 2002-07-31 John Levon <levon@movementarian.org>
1826 * lyxserver.C: don't let incidental errors get
1829 2002-07-30 John Levon <levon@movementarian.org>
1831 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1833 2002-07-30 John Levon <levon@movementarian.org>
1836 * lyxserver.C: remove I/O callback too
1838 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1840 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1843 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1845 * many files: strip,frontStrip -> trim,ltrim,rtrim
1847 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1849 * PrinterParams.h: remove extern containsOnly, and include
1850 support/lstrings.h instead.
1852 * LaTeX.C (scanAuxFile): modify because of strip changes
1854 * buffer.C (makeLaTeXFile): ditto
1855 * bufferparams.C (writeFile): ditt
1856 * lyxfont.C (stateText): ditto
1857 * lyxserver.C (read_ready): ditto
1858 * vc-backend.C (scanMaster): ditto
1860 * BufferView_pimpl.h: ws changes
1862 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1864 2002-07-26 André Pönitz <poenitz@gmx.net>
1866 * kb_sequence.C: remove unnedred usings
1868 2002-07-26 Juergen Vigna <jug@sad.it>
1870 * lyxfind.C (LyXReplace): we have to check better if the returned
1871 text is not of theLockingInset()->getLockingInset().
1873 2002-07-25 Juergen Vigna <jug@sad.it>
1875 * lyxfind.C (LyXReplace): don't replace if we don't get the
1878 * undo_funcs.C (createUndo): remove debugging code.
1880 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1882 * buffer.C (parseSingleLyXformat2Token): Use default placement
1883 when reading old floats.
1885 * FloatList.C (FloatList): Change the default placement of figure
1886 and tables to "tbp".
1888 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1890 * MenuBackend.C: using std::max
1892 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1894 * MenuBackend.C (expandToc):
1895 (expandToc2): code moved from xforms menu frontend. It is now
1896 generic and TOCs are transparent to menu frontends.
1898 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1900 * toc.C (getTocList): protect against buf=0
1902 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1903 Menu as first parameter. Now, this calls itself recursively to
1904 expand a whole tree (this will be useful for TOC handling)
1905 (expandFloatInsert): remove 'wide' version of floats
1907 * MenuBackend.h (submenuname): returns the name of the submenu.
1908 (submenu): returns the submenu itself, provided it has been
1909 created by MenuBackend::expand
1911 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1913 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1914 insets which have noFontChange == true. (bug #172)
1916 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1918 * BufferView_pimpl.C: add connection objects and use them...
1921 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1923 * MenuBackend.C (expandLastfiles):
1926 (expandFloatListInsert):
1927 (expandFloatInsert):
1928 (expand): split expand in parts
1930 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1932 * lyx_gui.C: use lyx_gui::exit()
1934 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1936 * LyXAction.C: show the failing pseudo action
1938 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1940 * buffer.C (readFile): Run the lyxconvert script in order to read
1943 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1947 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1949 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1953 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1955 2002-07-22 Herbert Voss <voss@lyx.org>
1958 * lyxlength.[Ch]: add support for the vertical lengths
1960 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1962 * toc.[Ch]: std:: fixes
1964 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1966 * lyxrc.C: do not include lyx_main.h
1968 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1974 * BufferView2.C: include "lyxlex.h"
1977 * bufferparams.h: do not #include "lyxlex.h"
1979 * lyxtextclasslist.C (Add): remove method
1980 (classlist): renamed to classlist_
1982 * paragraph_pimpl.C:
1986 * bufferview_funcs.C:
1991 * toc.C (getTocList): use BufferParams::getLyXTextClass
1993 * toc.C (getTocList): use InsetFloat::addToToc
1995 * toc.[Ch]: new files, containing helper functions to handle table
1998 * lyxfunc.C (dispatch): no need to remove spaces around command
2000 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2001 first command of the sequence; it is not very clever, but I do not
2002 have a better idea, actually
2004 * LyXAction.C (LookupFunc): make sure to remove space at the
2005 beginning and end of the command
2007 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2009 * MenuBackend.C (getMenubar): new method: return the menubar of
2011 (read): treat differently reading of menu and menubar (in
2012 particular, the menubar has no name now)
2013 (Menu::menubar): remove
2015 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2018 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2020 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2021 a bibitem inset in a RTL paragraph.
2023 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2025 * paragraph_pimpl.C: constify
2027 * BufferView_pimpl.C:
2029 * lyxfunc.C: fix dispatch in a nicer way
2031 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2033 * lyxfunc.C (dispatch):
2034 * BufferView_pimpl.C:
2035 * BufferView_pimpl.h:
2037 * BufferView.h: rename Dispatch() to dispatch()
2039 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2041 * lyxlayout.C (Read): honor DependsOn tag
2043 * lyxlayout.[Ch] (depends_on): new method
2045 * version.C.in: update lyx_docversion
2047 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2049 * paragraph.C (validate): remove from here...
2050 * paragraph_pimpl.C (validate): ... and move here
2051 (isTextAt): make it const
2053 * buffer.C (getLists): ws cleanup
2055 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2057 * language.C (read): Use iso8859-1 encoding in latex_lang
2058 (this prevents LyX from crashing when using iso10646-1 encoding).
2060 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2062 * text2.C (toggleInset): if cursor is inside an inset, close the
2063 inset and leave cursor _after_ it
2065 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2067 * lyxfunc.C: move minibuffer completion handling out of here
2069 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2071 * BufferView_pimpl.C:
2072 * LaTeX.C: fix dispatch calls
2074 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2076 * text.C (drawChars): Fix Arabic text rendering.
2078 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2082 * lyxfunc.C: remove message-push/pop
2086 * lyxfunc.C: rationalise some code by removing verboseDispatch
2087 in favour of a bool argument to dispatch()
2089 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2091 * lyx_main.C (init): make sure to read symlinks as absolute paths
2093 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2096 * lyxfunc.C: no need for commandshortcut to be a member
2098 2002-07-15 André Pönitz <poenitz@gmx.net>
2100 * converter.C: add support for $$s (scripts from lib/scripts dir)
2101 * lyx_main.C: white space
2103 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2107 * lyxrc.C: remove second exit confirmation
2109 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2114 * BufferView_pimpl.h:
2115 * BufferView_pimpl.C:
2116 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2118 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2120 * MenuBackend.C (expand): add numeric shortcuts to document menu
2122 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2124 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2126 * lyxfont.C (setLyXFamily):
2133 * buffer.C (asciiParagraph): use ascii_lowercase
2135 2002-07-15 Mike Fabian <mfabian@suse.de>
2137 * lyxlex_pimpl.C (search_kw):
2138 * lyxlex.C (getLongString):
2139 * converter.h (operator<):
2140 * converter.C (operator<):
2141 * buffer.C (parseSingleLyXformat2Token):
2143 * ToolbarDefaults.C (read):
2144 * MenuBackend.C (checkShortcuts):
2146 * LColor.C (getFromGUIName):
2147 (getFromLyXName): use the compare_ascii_no_case instead of
2148 compare_no_case, because in turkish, 'i' is not the lowercase
2149 version of 'I', and thus turkish locale breaks parsing of tags.
2151 2002-07-16 Angus Leeming <leeming@lyx.org>
2153 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2154 now takes a Buffer const & argument.
2156 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2158 * BufferView.C (resize): check there's a buffer to resize
2160 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2162 * lyxfunc.C: remove dead code
2165 * lyxserver.C: use lyx_guii::set_read_callback
2167 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2169 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2170 an inset in a RTL paragraph.
2172 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2174 * lyxfunc.C: repaint after a font size update
2176 2002-07-15 André Pönitz <poenitz@gmx.net>
2178 * lyxlength.C: inBP should be able to return negative values
2180 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2182 * lyxfunc.C: use lyx_gui::update_fonts()
2184 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2186 * lyxfunc.C: use lyx_gui::update_color()
2188 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2194 * lyxrc.C: remove file->new asks for name option, and let
2195 buffer-new take an argument
2197 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2199 * BufferView_pimpl.C: remove unneeded extra repaint()
2201 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2203 * LyXAction.C: allow command-sequence with NoBuffer
2205 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2207 2002-07-10 Angus Leeming <leeming@lyx.org>
2209 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2211 2002-07-09 Angus Leeming <leeming@lyx.org>
2213 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2215 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2217 * lengthcommon.h: whitespace
2219 * lyxfunc.C: update scrollbar after goto paragraph
2221 * lyxtext.h: factor out page break drawing, and fix it so
2222 page break/added space paints as selected nicely
2224 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2226 * BufferView_pimpl.C: add FIXMEs, clean up a little
2228 2002-07-09 André Pönitz <poenitz@gmx.net>
2230 * lyxfont.[Ch]: support for wasy symbols
2232 2002-07-08 André Pönitz <poenitz@gmx.net>
2234 * BufferView_pimpl.C: apply John's patch for #93.
2236 2002-07-05 Angus Leeming <leeming@lyx.org>
2238 * BufferView_pimpl.C (buffer): generate previews if desired.
2240 * LColor.h: add "preview" to the color enum.
2242 * LColor.C (LColor): add a corresponding entry to the items array.
2244 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2247 2002-07-05 Angus Leeming <leeming@lyx.org>
2249 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2250 The body of the code is now in the method that is passed an ostream &
2251 rather than a file name.
2252 Pass an additional only_preamble parameter, useful for the forthcoming
2255 2002-07-03 André Pönitz <poenitz@gmx.net>
2257 * lyxfunc.C: simplify getStatus() a bit for math stuff
2259 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2261 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2263 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2265 * text.C (changeRegionCase): do not change case of all the
2266 document when region ends at paragraph end (bug #461)
2268 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2270 * paragraph.C (startTeXParParams):
2271 (endTeXParParams): add \protect when necessary
2273 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2275 * BufferView_pimpl.C (workAreaExpose): remove warning
2277 2002-06-27 Angus Leeming <leeming@lyx.org>
2279 * Makefile.am: add lyxlayout_ptr_fwd.h.
2281 2002-06-26 André Pönitz <poenitz@gmx.net>
2283 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2285 2002-06-25 Angus Leeming <leeming@lyx.org>
2287 * lyxfunc.C (dispatch): Comment out the call to
2288 grfx::GCache::changeDisplay. The method no longer exists now that the
2289 pixmap generation part of the graphics loader has been moved into
2292 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2294 * text2.C: layout as layout
2296 * text.C: layout as layout
2298 * tabular.C (OldFormatRead): layout as layout
2300 * paragraph_pimpl.C (TeXDeeper): layout as layout
2301 (realizeFont): layout as layout
2303 * paragraph.C (writeFile): layout as layout
2304 (validate): layout as layout
2305 (getFont): layout as layout
2306 (getLabelFont): layout as layout
2307 (getLayoutFont): layout as layout
2308 (breakParagraph): layout as layout
2309 (stripLeadingSpaces): layout as layout
2310 (getEndLabel): layout as layout
2311 (getMaxDepthAfter): layout as layout
2312 (applyLayout): layout as layout
2313 (TeXOnePar): layout as layout
2314 (simpleTeXOnePar): layout as layout
2315 (TeXEnvironment): layout as layout
2316 (layout): layout as layout
2317 (layout): layout as layout
2319 * lyxtextclass.C (compare_name): new functor to work with
2320 shared_ptr, layout as layout
2321 (Read): layout as layout
2322 (hasLayout): layout as layout
2323 (operator): layout as layout
2324 (delete_layout): layout as layout
2325 (defaultLayout): layout as layout
2327 * lyxlayout_ptr_fwd.h: new file
2329 * lyxlayout.C (Read): layout as layout
2331 * lyx_cb.C (MenuInsertLabel): layout as layout
2333 * bufferlist.C (newFile): layout as layout
2335 * buffer.C (readLyXformat2): layout as layout
2336 (parseSingleLyXformat2Token): layout as layout
2337 (insertStringAsLines): layout as layout
2338 (asciiParagraph): layout as layout
2339 (latexParagraphs): layout as layout
2340 (makeLinuxDocFile): layout as layout
2341 (simpleLinuxDocOnePar): layout as layout
2342 (makeDocBookFile): layout as layout
2343 (simpleDocBookOnePar): layout as layout
2344 (getLists): layout as layout
2346 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2348 * CutAndPaste.C (cutSelection): layout as layout
2349 (pasteSelection): layout as layout
2350 (SwitchLayoutsBetweenClasses): layout as layout
2352 * BufferView_pimpl.C (Dispatch): layout as layout
2353 (smartQuote): layout as layout
2355 * BufferView2.C (unlockInset): layout as layout
2357 2002-06-24 André Pönitz <poenitz@gmx.net>
2359 * lyxfunc.C: fix #487
2361 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2365 * lyxfunc.C: remove display_shortcuts, show_banner
2367 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2369 * Buffer_pimpl.C: oops, update on resize
2371 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2378 * BufferView.C: use repaint()
2380 * BufferView_pimpl.h:
2381 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2382 as it's a clearer description. Remove superfluous
2385 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2387 * text.C: fix bug 488. Not ideal, but getting
2388 getWord() to work properly for the insets that
2389 matter is more difficult ...
2391 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2393 * BufferView_pimpl.C:
2396 * lyxfunc.C: remove the six million index lyxfuncs to just
2397 one, and DTRT (bug 458)
2399 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2403 * BufferView_pimpl.h:
2404 * BufferView_pimpl.C: clean up resize() stuff,
2405 and unnecessary updateScreen()s
2407 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2411 * BufferView_pimpl.h:
2412 * BufferView_pimpl.C:
2415 * minibuffer.C: remove focus management of workarea,
2416 not needed. Use screen's greyOut()
2418 2002-06-17 Herbert Voss <voss@lyx.org>
2420 * converter.C: (convert) do not post a message, when converting
2421 fails, let the calling function decide what to do in this case
2423 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2425 * lyxfunc.C: tidy up a little
2427 2002-06-16 <alstrup@diku.dk>
2429 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2430 Got rid of FORMS_H_LOCATION include. Now we are
2433 2002-06-15 LyX Development team <lyx@rilke>
2435 * buffer.[Ch] (sgmlOpenTag):
2436 (sgmlCloseTag): Added support for avoiding pernicious mixed
2437 content. Return number of lines written.
2440 (makeDocBookFile): Fixed calls to sgml*Tag.
2441 Simple white space clean.
2443 (simpleDocBookOnePar): Simple white space clean.
2445 * tabular.[Ch] (docBook): Renamed to docbook and got another
2446 argument to related with the pernicious mixed content.
2448 (docbookRow): Fixed calls for docbook inset method.
2450 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2452 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2453 so it's X11 independent.
2457 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2459 2002-06-15 Lyx Development team <lyx@electronia>
2461 * intl.h: Renamed getTrans to getTransManager.
2463 2002-06-14 Angus Leeming <leeming@lyx.org>
2465 * Makefile.am: nuke forgotten stl_string_fwd.h.
2467 2002-06-12 Angus Leeming <leeming@lyx.org>
2469 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2471 2002-06-13 Angus Leeming <leeming@lyx.org>
2474 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2476 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2478 * kbmap.C (getiso): add support for cyrillic and greek
2480 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2484 * BufferView_pimpl.h:
2485 * BufferView_pimpl.C: move bogus scrolling logic
2488 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2491 * BufferView_pimpl.C: view->resize() change
2493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2495 * BufferView_pimpl.C: topCursorVisible
2498 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2502 * lyx_gui.C: move to frontends/
2506 * lyx_main.C: changes from above
2508 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2515 * lyx_main.C: minor tidy
2517 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2519 * BufferView_pimpl.h:
2520 * BufferView_pimpl.C:
2522 * BufferView.C: make painter() const,
2525 * BufferView2.C: use screen() accessor
2528 * lyx_main.C: some minor cleanup
2530 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2532 * BufferView_pimpl.h:
2533 * BufferView_pimpl.C: remove enter/leaveView,
2536 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2541 * BufferView_pimpl.h:
2542 * BufferView_pimpl.C: only construct screen once,
2545 * lyxrc.C: remove pointless comment
2547 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2550 * BufferView.C: remove active() and belowMouse()
2552 * BufferView_pimpl.h:
2553 * BufferView_pimpl.C: use workarea() not workarea_,
2554 and make it use a scoped_ptr instead
2556 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2558 * lyx_gui.C: add debug message on BadWindow
2560 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2562 * sp_spell.C: fdopen is not part of the C++ standard.
2564 * paragraph.C (InsetIterator): use >= instead of ==
2566 2002-06-07 Angus Leeming <leeming@lyx.org>
2568 Fixes needed to compile with Compaq cxx 6.5.
2569 * BufferView_pimpl.C:
2576 * lyxtextclasslist.C:
2581 all c-library variables have been moved into namespace std. Wrap
2582 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2587 Add a using std::abs declaration.
2589 * kbmap.h (modifier_pair):
2590 * paragraph.h (InsetTable, InsetList):
2591 * lyxfont.h (FontBits):
2592 type definition made public.
2594 * bufferlist.C (emergencyWriteAll): the compiler complains that
2595 there is more than one possible lyx::class_fun template to choose from.
2596 I re-named the void specialisation as lyx::void_class_fun.
2598 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2600 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2601 the compiler is is unable to find tostr in write_attribute.
2603 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2605 * buffer.C (sgmlError): hide #warning
2607 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2609 * xtl/*: get rid of xtl, which is not in use anyway
2611 * LyXAction.C (init):
2612 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2613 were unimplemented xtl experimentation
2615 2002-06-04 André Pönitz <poenitz@gmx.net>
2617 * lyxfunc.C: disable array operation on simple formulae
2619 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2621 * converter.C: constify a bit
2623 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2625 * lyx_gui.C: check xforms version correctly
2627 2002-04-30 Herbert Voss <voss@lyx.org>
2629 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2632 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2634 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2635 attempt to register it with a VCS)
2637 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2639 * lyx_main.C (init): honor variables LYX_DIR_13x and
2642 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2646 * lyx_main.C: fix a crash on bad command line,
2647 and give a useful exit status on error
2649 * lyxfunc.C (doImport): allow -i lyx to work
2651 2002-03-30 André Pönitz <poenitz@gmx.net>
2653 * lyxfunc.C: mathed font changes
2655 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2670 * trans_mgr.h: srcdocs, and some minor cleanups
2672 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2674 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2675 call getFont all the time)
2677 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2679 * switch from SigC signals to boost::signals
2681 2002-05-29 André Pönitz <poenitz@gmx.net>
2683 * paragraph_pimpl.C (getChar): don't call size() too often...
2685 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2687 * paragraph_pimpl.C (insertChar): do not try to update tables when
2688 appending (pos == size())
2690 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2691 in order to reduce drastically the number of comparisons needed to
2692 parse a large document
2694 2002-05-29 André Pönitz <poenitz@gmx.net>
2700 * textclasslist.[Ch]:
2701 * sp_ispell.h: whitespace change
2703 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2705 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2706 lyxaction directly now.
2708 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2712 * lyxvc.C: remove unused headers
2714 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2721 * undo_funcs.C: some cleanups. Use shared_ptr
2722 and a template for the undo stacks.
2724 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2726 * BufferView_pimpl.h:
2727 * BufferView_pimpl.C:
2734 * text2.C: use key_state/mouse_state
2736 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2738 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2741 * chset.C: change include order
2742 (loadFile): use boost regex and get rid of LRegex and LSubstring
2744 * Makefile.am (BOOST_LIBS): new variable
2747 * LaTeX.C: change include order.
2748 (scanAuxFile): use boost regex and get rid of LRegex and
2752 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2757 * FontInfo.C: moved to frontends/xforms/
2760 * FontLoader.C: moved into frontends for GUIIzation
2765 * lyxfunc.C: changes from above
2767 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2769 * LColor.C: remove spurious X include
2771 * BufferView_pimpl.C:
2776 * text2.C: move font metrics to frontends/
2778 2002-05-24 Juergen Vigna <jug@sad.it>
2780 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2781 setting the undo_cursor.
2783 * ParagraphParameters.h: include local includes first.
2785 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2787 * BufferView_pimpl.C:
2788 * BufferView_pimpl.h:
2792 * screen.C: move WorkArea into frontends/
2798 * BufferView2.C: move LyXScreen into frontends/
2802 * lyx_gui.C: move lyxlookup into frontends/xforms/
2804 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2807 * BufferView_pimpl.C:
2817 * bufferview_funcs.C:
2830 * vc-backend.C: move LyX/XFormsView into frontends/
2832 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2844 * text2.C: move Painter to frontends/
2846 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2848 * buffer.C: comment out some some code that depend upon lyx_format
2851 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2852 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2854 * buffer.h (NO_COMPABILITY): turn off compability
2856 * ColorHandler.C: include scoped_array.hpp
2858 * font.C: Use more specific smart_ptr header.
2861 * ShareContainer.h: ditto
2865 * BufferView_pimpl.h: ditto
2866 * ColorHandler.h: ditto
2868 * kbmap.C (defkey): change call to shared_ptr::reset
2870 2002-05-21 Juergen Vigna <jug@sad.it>
2872 * buffer.C (insertErtContents): fix to insert ert asis if it is
2873 non empty. Skip it completely if it contains only whitespaces.
2875 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2877 * BufferView_pimpl.C:
2878 * BufferView2.C: clear selection on paste (bug 393)
2880 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2882 * DepTable.C: include ctime
2884 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2886 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2888 2002-05-14 Juergen Vigna <jug@sad.it>
2890 * text.C (breakParagraph): fixed function to honor the keepempty
2891 layout in the right maner and also to permit the right breaking
2892 algorithm on empty or non empyt keepempty paragraphs.
2894 * paragraph.C (breakParagraph): we have to check also if the par
2895 is really empty (!size()) for isempty otherwise we do the wrong
2898 2002-05-10 Juergen Vigna <jug@sad.it>
2900 * buffer.[Ch] : The following are only changes to the ert
2901 compatibility read reading old LaTeX layout and font stuff and
2902 convert it to ERTInsets.
2904 * buffer.h: added isErtInset().
2906 * buffer.C (struct ErtComp): add a fromlayout bool to check
2907 if we're inside a LaTeX layout.
2908 (isErtInset): new helper function.
2909 (insertErtContents): look for other ert insets before this one
2910 and insert the contents there, so that we don't have subsequent
2911 ERT insets with nothing between them. This way we create only one
2912 inset with multiple paragraphs. Also check if we don't insert only
2913 spaces ' ' as they are ignored anyway afterwards in the .tex file
2914 so if we have only spaces we will ignore this latex part in the
2916 (parseSingleLyXformat2Token \\layout): better compatibility when
2917 reading layout-latex stuff.
2918 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2920 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2921 stuff after reading the inset only get the information back from
2924 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2926 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2928 * LaTeXFeatures.C (getBabelOptions): New method.
2930 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2932 * BufferView_pimpl.C (Dispatch): work around missing argument for
2935 2002-05-08 Juergen Vigna <jug@sad.it>
2937 * text.C (leftMargin): handle paragraph leftindent.
2939 * paragraph.C (writeFile): write the new \\leftindent tag.
2940 (validate): handle leftindent code.
2941 (TeXEnvironment): handle paragraphleftindent code again.
2943 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2945 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2946 for paragrap_extra indent code and new token \\leftindent.
2947 (latexParagraphs): handle the leftindent as environment.
2949 * ParameterStruct.h: added leftindent support.
2951 * ParagraphParameters.C (leftIndent): added support functions for
2952 the paragraph left indent.
2954 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2957 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2959 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2962 * text.C (computeBidiTables): No bidi in insetERT.
2964 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2967 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2969 * version.C.in: pre 5
2971 2002-05-02 José Matos <jamatos@fep.up.pt>
2972 * buffer.C (makeDocBookFile): white space changes, add newline to
2974 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2976 * tabular.C (docBook): fix typo.
2978 2002-05-03 Juergen Vigna <jug@sad.it>
2980 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2981 change in LyXText as we can not be sure it was not freed.
2982 (drawOneRow): remove unused code.
2984 * text.C (drawInset): redo the calculation of the need_break_row as
2985 it could have a row which was already freed.
2986 (draw): look at the return value of drawInset and return false if
2987 it also returned false.
2988 (paintRowText): look at the return value of draw and return false if
2989 it also returned false.
2991 * lyxtext.h: added bool return type to drawInset() and draw() so that
2992 if we have a change in the row so that the rowbreak has to be redone
2993 we abort drawing as it will be called again.
2995 2002-05-02 Juergen Vigna <jug@sad.it>
2997 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2998 a change in the maintext also if we're inside an inset.
2999 (Dispatch): set the cursor again after a break line and after the
3000 screen has been updated as it could be we're in a different row.
3002 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3003 to set the cursor behind the pargraph with > size().
3004 (setCursor): check also for the same paragraph when checking where
3005 to put the cursor if we have a NFR inset.
3007 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3008 parts of layout read further up as it still was in the wrong
3011 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3013 * screen.C (drawFromTo): change sine fullRebreak always return
3016 * buffer.C (parseSingleLyXformat2Token): reindent some
3018 * BufferView_pimpl.C (update): change since fullRebreak always
3020 (Dispatch): git rid of the last hardcoded "Standard"s.
3022 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3024 * text2.[Ch] (fullRebreak): make it return void now that we always
3027 2002-04-30 Juergen Vigna <jug@sad.it>
3029 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3030 ert compatibility check for "latex" layout.
3032 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3034 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3035 minipages: use col% instead of p%, and also use the current font.
3036 (makeLaTeXFile): Fix use babel condition.
3037 (parseSingleLyXformat2Token): Correct font when reading old floats.
3039 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3041 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3042 inserting list of floats.
3044 2002-04-25 Herbert Voss <voss@lyx.org>
3046 * MenuBackend.C (expand): don't add the graphics extensions to the
3049 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3051 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3052 non-existing layout, do not complain if it was the default layout
3053 of the original class (bug #342)
3055 2002-04-24 Juergen Vigna <jug@sad.it>
3057 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3058 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3060 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3062 * buffer.C (getBibkeyList): If using \bibliography, return the
3063 option field with the reference itself. Enables us to provide natbib
3064 support when using \bibliography.
3066 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3068 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3070 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3071 natbib is provided by the LaTeX class.
3073 2002-04-23 Juergen Vigna <jug@sad.it>
3075 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3078 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3080 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3082 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3084 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3085 ensuremath around textordmasculine, textordfeminine and
3088 2002-04-19 Juergen Vigna <jug@sad.it>
3090 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3091 reinitializing the buffer otherwise row-dimensions may be wrong.
3092 (update): reset also the selection cursors if they do exits otherwise
3093 their x/y positions may be wrong.
3095 * text2.C (cursorDown): don't enter the inset if we came from a row
3096 above and are one row over the inset.
3098 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3099 really leaving an inset.
3101 2002-04-18 Juergen Vigna <jug@sad.it>
3103 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3104 of the selected paragraph does not have the selected layout also if
3107 * text2.C (setLayout): fixed bug which did not change last selected
3110 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3111 changed the read and substituted \\end_float with \\end_inset!
3113 * BufferView_pimpl.C (cursorPrevious):
3114 (cursorNext): fixed to make it work with rows heigher than the work
3115 area without moving the cursor only the draw of the row.
3116 (workAreaMotionNotify): fix jumping over high rows.
3118 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3120 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3123 2002-04-16 Juergen Vigna <jug@sad.it>
3125 * text2.C (setCursor): set also the irow().
3126 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3128 (cursorDown): support for locking an inset if the x_fix value goes
3129 inside it. That way I can transverse insets too with cursor up/down.
3131 * lyxrow.h: added irow helper function same as other (i) functions.
3133 * BufferView_pimpl.C (cursorPrevious):
3134 (cursorNext): fixed for insets!
3136 2002-04-15 Juergen Vigna <jug@sad.it>
3138 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3139 position otherwise it is wrong in some cases.
3141 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3142 inside the inset before the call.
3144 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3146 * buffer.[Ch] (getBibkeyList): make it const.
3148 2002-04-12 Juergen Vigna <jug@sad.it>
3150 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3152 * text2.C (getCursorX): new helper function
3153 (setCursor): compute also ix_
3154 (setCursorFromCoordinates): set also ix.
3156 * lyxcursor.h: added ix_ and helper functions.
3158 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3160 * buffer.C (insertStringAsLines): dont break paragraph if the this
3161 paragraph is inside an inset which does not permit it!
3163 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3164 also with no chars on this paragraph.
3165 (paintRowText): only paint stuff if it's inside the workarea!
3167 * paragraph.C (breakParagraph): honor keepempty flag and break the
3168 paragraph always below not above.
3170 * BufferView2.C (unlockInset): update the paragraph layout on inset
3171 unlock as we changed paragraph in such a case.
3173 * lyxfind.C (LyXFind): clear the former selection if not found!
3175 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3176 again called in insertChar().
3178 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3179 an inset which uses the whole row!
3180 (rightMargin): ditto.
3181 (insertChar): force a rebreak if we inserted an inset!
3183 2002-03-28 Herbert Voss <voss@lyx.org>
3185 * lyxlength.[Ch]: add inBP() to get the right PS-point
3186 units (BigPoint). With inPixels we have rounding errors
3188 2002-04-11 Juergen Vigna <jug@sad.it>
3190 * text2.C (setCursorFromCoordinates): set iy to the right value.
3191 (setCursor): add check if row->previous exists!
3193 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3194 an old float_type as this was the case in the old code!
3196 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3198 * BufferView2.C (showLockedInsetCursor): use iy
3199 (fitLockedInsetCursor): ditto
3201 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3202 locked insets as there we have the right value now.
3204 * lyxcursor.C: added iy_ variable and iy functions to set to the
3205 baseline of cursor-y of the locked inset.
3207 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3208 (setCursor): fixed for insets which need a full row.
3210 * text.C (rowLastPrintable): don't ignore the last space when before
3211 an inset which needs a full row.
3212 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3213 as last character of a row when before a inset which needs a full row.
3215 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3217 * version.C.in: update date
3219 * text2.C (fullRebreak): try to always return true and see what
3222 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3224 * MenuBackend.C (expand): use Floating::listName
3226 * FloatList.C (FloatList): add listName argument to the built-in
3229 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3230 text associated with the float.
3232 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3234 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3236 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3238 * ShareContainer.h: add a couple of missing typenames.
3240 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3242 * lyxrc.C (getDescription): use _() correctly rather than N_().
3244 2002-03-28 Herbert Voss <voss@lyx.org>
3246 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3247 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3249 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3251 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3252 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3254 2002-03-29 Juergen Vigna <jug@sad.it>
3256 * lyxfunc.C (dispatch): add a missing fitCursor call.
3258 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3259 it was scrolled by a cursor move, so return the bool status.
3261 * BufferView.C (fitCursor): return the bool flag also to the outside
3262 world as this is needed.
3264 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3266 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3267 call the edit() as it is not needed (and wrong) IMO.
3268 (workAreaButtonPress): set the screen_first variable before evt.
3269 unlock the inset as this may change screen_first and then we have
3270 a wrong y position for the click!
3272 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3274 * MenuBackend.C (expand): another translation that I missed
3276 2002-03-28 Juergen Vigna <jug@sad.it>
3278 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3280 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3282 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3284 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3286 * MenuBackend.C (expand): fix export/view/update when there is no
3289 2002-03-27 Herbert Voss <voss@lyx.org>
3291 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3294 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3296 * bufferview_funcs.C (currentState): only show paragraph number
3297 for is DEVEL_VERSION is set.
3299 * lyxfunc.C (dispatch): put warning in INFO channel
3301 * MenuBackend.C (expand): translate the name of floats
3303 * FloatList.C (FloatList): mark the float names for translation
3305 * converter.C (convert): use LibScriptSearch
3307 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3309 * MenuBackend.C (defaults): fix default menu (we might as well get
3312 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3314 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3317 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3319 * lyxvc.C: reorder includes.
3321 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3323 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3326 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3328 * CutAndPaste.C: change layouts earlier on paste
3329 to avoid crashing when calling getFont()
3331 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3333 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3336 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3338 * WorkArea.C: remove 'Pending' debug message.
3340 * most files: ws cleanup
3342 * buffer.[Ch]: ws changes
3344 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3346 2002-03-21 Juergen Vigna <jug@sad.it>
3348 * tabular.C (SetMultiColumn): collapse also the contents of the
3349 cells and set the last border right. Added a Buffer const * param.
3351 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3353 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3356 2002-03-19 Juergen Vigna <jug@sad.it>
3358 * text2.C (clearSelection): reset also xsel_cache.
3360 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3361 where it needs to be called (John tells us to do so too :)
3362 (selectionLost): reset sel_cache.
3364 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3366 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3368 * text2.C (setCursorIntern): put debuging code in INSETS channel
3370 2002-03-19 André Pönitz <poenitz@gmx.net>
3372 * lyxfunc.C: tiny whitespace change
3374 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3376 * ToolbarDefaults.C (init):
3377 * LyXAction.C (init):
3379 * BufferView_pimpl.C (Dispatch):
3380 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3382 2002-03-19 Allan Rae <rae@lyx.org>
3384 * exporter.C (Export): removeAutoInsets before doing anything else.
3385 While I've just introduced a dependency on BufferView this really is
3386 the best place to clean the buffer otherwise you need to cleanup in
3387 a dozen places before calling export or cleanup in a dozen functions
3390 * converter.C (runLaTeX):
3391 (scanLog): Better handling of removeAutoInsets and screen updates.
3393 * lyxfunc.C (dispatch): small whitespace changes
3395 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3397 * WorkArea.C (C_WorkAreaEvent): return a value.
3398 (event_cb): return 1 if we handled the event, 0 otherwise.
3400 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3402 2002-03-18 Juergen Vigna <jug@sad.it>
3404 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3405 (GetAdditionalWidth): ditto.
3409 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3410 inset if we're there actually (probably not used right now but this
3411 is the direction to go for unifying code).
3412 (paste): disable code to clear the selection.
3414 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3415 inside an InsetText and move the check further up as it is in the
3418 * text2.C (pasteSelection): set a selection over the pasted text.
3420 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3422 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3423 and libgraphics to build on Cygwin.
3425 2002-03-15 Juergen Vigna <jug@sad.it>
3427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3428 inserting an Inset into the paragraph. I know this is not the best
3429 fix but we already use current_view in CutAndPaste so we will remove
3430 all of it's using at the same time.
3432 * buffer.C (sgmlError): deactivated function till it is rewritten in
3433 the right mode, now it can create problems.
3435 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3436 before accessing it.
3438 2002-03-14 Juergen Vigna <jug@sad.it>
3440 * undo_funcs.C (textHandleUndo): do the right thing when updating
3441 the inset after the undo/redo.
3443 * text2.C (setCursor): just some testcode for #44 not ready yet.
3445 * undo_funcs.C (textHandleUndo): set the next() and previous()
3446 pointers of the paragraph to 0 before deleting otherwise we have
3447 problems with the Paragraph::[destructor].
3449 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3450 on a paragraph insertion.
3452 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3454 * buffer.C (asciiParagraph): use += operator for char append to
3457 * paragraph.C (getFontSettings): compare >= not just >
3458 (highestFontInRange): ditto
3461 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3463 * paragraph.C: change several algorithm to be more appripriate for
3464 the problem domain. This is lookip in FontList and in the InsetList.
3466 2002-03-13 André Pönitz <poenitz@gmx.net>
3469 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3471 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3476 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3478 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3480 * Painter.C (display): anon helper function, adjust code for this
3482 (pixmap): remove function.
3484 * Painter.h: remove private display variable.
3486 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3488 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3490 * WorkArea.[Ch]: remove figinset_canvas cruft.
3492 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3494 * lyxtextclass.C (operator): add one item cache optimization.
3496 * bufferlist.h: doxy changes
3498 * bufferlist.C: ws changes
3500 * DepTable.[Ch] (ext_exist): place const in the right spot.
3502 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3504 (workAreaExpose): call resizeInsets when the with BufferView changes.
3505 (Dispatch): adjust for protectedBlank removal
3506 (specialChar): call updateInset if the insert went ok.
3508 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3509 specialChar instead.
3511 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3513 * BufferView.h: doxy change
3515 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3517 * lyxtextclass.C (operator[]): remove non-const version
3518 (defaultLayout): remove non-const version
3520 2002-03-12 Juergen Vigna <jug@sad.it>
3522 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3523 did resize the LyXText too.
3525 * buffer.C (readLyXformat2): set layout information on newly allocated
3528 * tabular.C (OldFormatRead): set layout information on the paragraph.
3530 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3532 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3534 2002-03-11 Juergen Vigna <jug@sad.it>
3536 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3538 (resizeCurrentBuffer): force also the insets to resize themselfes.
3539 (moveCursorUpdate): fixed up for InsetText.
3541 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3544 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3545 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3546 value of Dialogs::tooltipsEnabled().
3547 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3549 2002-03-08 Juergen Vigna <jug@sad.it>
3551 * BufferView_pimpl.C (updateInset): update inset inside inset also
3552 if it isn't inside theLockingInset().
3554 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3556 * buffer.C (asciiParagraph): redo some of the word and line length
3558 (getLists): look for Caption instead of caption.
3560 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3562 * buffer.C (Buffer): initialize niceFile to true
3565 (makeDocBookFile): make sure niceFile is true on exit
3567 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3569 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3571 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3573 * LyXSendto.C: remove.
3574 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3575 * lyx_gui.C: remove now-redundant comment.
3576 * ColorHandler.h: remove forward declaration of class WorkArea.
3577 * lyxfunc.C: remove #include "WorkArea.h".
3579 2002-03-07 Juergen Vigna <jug@sad.it>
3581 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3582 got moved away with the DEPM and also set the inset_owner always
3583 right which before could have been omitted.
3585 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3587 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3588 wanted layout is not found.
3590 2002-03-07 Juergen Vigna <jug@sad.it>
3592 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3594 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3596 * paragraph.C (breakParagraph): use default layout not layout of
3598 (Paragraph): clear ParagraphParameters.
3600 2002-03-06 Juergen Vigna <jug@sad.it>
3602 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3603 otherwise it would not be a valid lenght. Fixed a special case in
3604 the minipage compatibility read where we end the document with a
3607 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3608 was set as it could be 0 for InsetTexts first entry.
3610 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3612 * paragraph.C (writeFile): if layout is empty write out
3613 defaultLayoutName().
3615 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3616 file without named layout we set layout to defaultLayoutName().
3618 2002-03-06 Juergen Vigna <jug@sad.it>
3620 * CutAndPaste.C (copySelection): set layout for new paragraph.
3622 * text.C (prepareToPrint): leave ERT inset left aligned
3623 (leftMargin): don't indent paragraphs inside ERT insets
3625 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3627 * paragraph.C (breakParagraph): dont call clear do the work manually
3629 * paragraph.[Ch] (clear): remove function
3631 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3633 * paragraph.C (Paragraph): dont call clear, the work has already
3636 * lyxtextclass.C (operator): assert if n is empty
3638 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3639 work manually instead.
3641 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3643 * BufferView_pimpl.C: protect selectionLost against text == 0
3645 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3647 * text.C (breakParagraph): fix a setting layout to '0' problem.
3649 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3651 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3652 final location of file, for the included files, and graphics.
3654 2002-03-05 Juergen Vigna <jug@sad.it>
3656 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3658 2002-03-04 Juergen Vigna <jug@sad.it>
3660 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3662 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3663 last column of multicolumn cells.
3664 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3666 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3668 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3669 file if it doesn't go to a temporary file.
3671 * buffer.C (sgmlOpenTag):
3672 (sgmlCloseTag): remove extra newline insertion.
3674 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3676 * text.C (getRowNearY): comment out debug msg
3678 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3680 * text2.C: first -> first_y
3682 * text.C (getRowNearY): add some attemts at a possible
3683 optimization, not working.
3685 * tabular.[Ch]: add BufferParams to several function so that newly
3686 created paragraph can be initialized to he default layotu for the
3689 * tabular-old.C (ReadOld): add buf->params to call of Init
3691 * screen.C: rename text->first to text->first_y
3693 * paragraph.C (breakParagraph): always set layout in the broken
3696 * lyxtextclass.C (Read): remove lowercase
3699 (delete_layout): ditto
3701 * lyxtext.h: rename first -> first_y
3703 * lyxlayout.C (Read): remove lowercase
3706 (obsoleted_by): ditto
3708 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3710 * buffer.C (insertErtContents): add params are to InsetERT
3711 (parseSingleLyXformat2Token): add code to check if a paragraphs
3712 layout really exist.
3713 (parseSingleLyXformat2Token): add params to several inset
3715 (asciiParagraph): remove lowercase, do the layout comparisons with
3718 * BufferView_pimpl.C (cursorNext): first -> first_y
3719 (resizeCurrentBuffer): first -> first_y
3720 (updateScrollbar): first -> first_y
3721 (scrollCB): first -> first_y
3722 (workAreaMotionNotify): first -> first_y
3723 (workAreaButtonPress): first -> first_y
3724 (checkInsetHit): first -> first_y
3725 (cursorPrevious): first -> first_y
3726 (cursorNext): first -> first_y
3727 (Dispatch): add buffer_->params to severl inset contructors
3729 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3731 * lyxlayout.C (Read): remove some debug info that I forgot.
3733 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3734 clean up the code slightly.
3735 (makeLinuxDocFile): ditto
3736 (makeDocBookFile): ditto
3738 * text2.C: layout as string
3740 * text.C: layout as string
3742 * paragraph_pimpl.C: layout as string
3744 * paragraph.[Ch]: layout as string
3746 * lyxtextclasslist.[Ch]: layout as string
3748 * lyxtextclass.[Ch]: layout as string
3750 * lyxtext.h: layout as string
3752 * lyxlayout.[Ch]: layout as string
3754 * lyx_cb.C: layout as string
3756 * bufferview_funcs.C: layout as string
3758 * bufferparams.C: layout as string
3760 * buffer.C: layout as string
3762 * LyXView.[Ch]: layout as string
3764 * LaTeXFeatures.[Ch]: layout as string
3766 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3768 * BufferView_pimpl.C: change current_layout to string, remove
3773 (workAreaButtonRelease): layout as string
3775 * BufferView2.C (unlockInset): adjust
3777 * vspace.C (asLatexCommand): use an explict temp variable.
3779 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3781 * Makefile.am: use FRONTEND_*
3783 2002-03-01 Juergen Vigna <jug@sad.it>
3785 * tabular.C (SetWidthOfMulticolCell): changed to something better
3786 I hope but still work in progress.
3787 (recalculateMulticolumnsOfColumn): renamed function from
3788 recalculateMulticolCells as it is more appropriate now.
3789 (SetWidthOfCell): calculate multicols better.
3791 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3793 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3795 * lyxfunc.C (processKeySym): print sequence also if it is
3796 `deleted' (complete)
3798 * kbsequence.C (print): print sequence even if it is deleted
3799 (complete would be a better word, actually).
3801 * lyxfunc.C (dispatch): print complete options after a prefix key
3803 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3805 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3807 * text2.C (setCharFont): eliminate setCharFont code duplication.
3809 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3811 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3812 LFUN_TABULAR_FEATURE (bug #177)
3814 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3816 * Makefile.am: remove figure.h
3818 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3820 * Bufferview_pimpl.C:
3832 * text2.C: remove #include "lyx_gui_misc.h".
3834 * LaTeX.C: added #include <cstdio>
3836 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3838 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3839 that the paragraph following this one can have.
3841 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3843 * vspace.C (asLatexCommand): fix bogus gcc warning
3845 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3847 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3849 * text2.C (setLayout): get rid of redundant code
3851 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3853 * text2.C (incDepth): make sure depth cannot be increased beyond
3856 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3858 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3859 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3861 * PainterBase.h (image):
3862 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3865 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3869 * BufferView_pimpl.C:
3870 * BufferView_pimpl.h:
3890 * sp_spell.C: remove fig inset, and the crap house of
3891 cards that follows it
3893 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3899 * nt_defines.h: move .h into support/
3901 * vms_defines.h: remove
3903 * WorkArea.C: add space in debug output
3907 * buffer.C: add WITH_WARNINGS
3911 * bufferlist.C: s/retrive/retrieve/, add docs
3922 * lyxgui.C: add ID to X error handler
3924 * lyxtestclass.c: fix typo
3926 2002-02-26 Juergen Vigna <jug@sad.it>
3928 * tabular_funcs.C (write_attribute): changed so that some default
3929 attributes are not written at all.
3930 (getTokenValue): set default values before trying to read the
3931 value so we have the return value always set as default if we don't
3932 find the token we search for.
3934 * tabular.C (Write): write bools as bools not as strings!
3936 2002-02-22 Juergen Vigna <jug@sad.it>
3938 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3939 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3941 * text.C (leftMargin): don't add an indent for paragraphs inside
3942 tabular cells (fix #208).
3944 2002-02-21 José Matos <jamatos@fep.up.pt>
3946 * tabular.C (docBook): fixed support for long tables.
3948 2002-02-20 Juergen Vigna <jug@sad.it>
3950 * text2.C (getFont): get the drawing font of the Inset if this
3951 paragraph is inside an inset (only important for InsetERT for now).
3953 * buffer.C (insertErtContents): use new lanugage params in ERT
3956 * CutAndPaste.C: commenting out seemingly uneeded code.
3958 2002-02-19 Allan Rae <rae@lyx.org>
3960 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3961 Iterators might be simple to use but they also get invalidated.
3962 (removeAutoInsets): renamed saved cursor tracking variables and added
3963 some comments to clarify what everything does.
3965 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3972 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3973 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3976 * vc-backend.h: remove #include "support/syscall.h"
3980 * converter.C: rearrange #includes in Lars' approved fashion.
3982 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3983 forward declare class Timeout in the header file.
3985 * XFormsView.C: changes due to the above.
3987 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3990 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3991 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3993 2002-02-18 José Matos <jamatos@fep.up.pt>
3995 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3998 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4000 * a lot of small ws changes
4001 * add a lot of using std::XXX
4002 * use std construcs some places where approp.
4003 * use some exisint stuff from lyxfunctional where approp.
4004 * Make file changes to use partial linking (lets test this now...)
4006 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4010 remove #include "support/syscontr.h" as it's redundant. Always has been.
4018 change Systemcalls::System to Systemcalls::Wait and
4019 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4020 No change of functionality, just reflects the stripped down Systemcalls
4023 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4025 * debug.[Ch]: add a GRAPHICS type to the enum.
4027 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4029 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4031 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4034 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4036 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4037 match the changes below.
4039 * text2.C (toggleInset): if there is not editable inset at cursor
4040 position, try to see if cursor is _inside_ a collapsable inset
4043 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4045 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4046 document menu has a nice checkbox
4048 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4050 * lyxlength.C (asLatexString): change PW to output as percent of
4053 * lengthcommon.C: change '%' to 't%'
4055 * lyxfunc.C (dispatch): a few comments from Martin
4057 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4061 * BufferView_pimpl.h:
4062 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4065 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4067 * vspace.C (inPixels): fix compiler warning
4069 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4071 * lyxfunc.C (getStatus): fix status message for disabled commands.
4073 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4075 * BufferView_pimpl.C: fix crash on close buffer
4076 during selection (#227)
4078 2002-01-27 Herbert Voss <voss@lyx.org>
4080 * buffer.C: link old Figure to new graphic inset
4082 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4084 * FontLoader.C (getFontinfo): Change the latex font names in order
4085 to match the names of type1inst.
4087 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4089 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4091 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4094 (remove_files_with_extension): ditto
4095 (remove_file): ditto
4098 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4099 document is smaller than the work area height. Do not initialize
4100 static variables to 0.
4102 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4104 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4106 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4107 LFUN_LAYOUT_PARAGRAPHS.
4109 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4110 tabular. It is possible to provide a possible cell, which will
4111 typically be the actcell from the corresponding insettabular
4113 * lyxfunc.C (getStatus): small cleanup; disable
4114 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4117 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4119 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4121 * paragraph.C (startTeXParParams):
4122 (endTeXParParams): new methods. The LaTeX code to
4123 start/end paragraph formatting
4124 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4125 empty (fixes bug #200)
4127 * vspace.C (inPixels): adapt to the change below
4128 (inPixels): [later] more cleanups (remove unused variables)
4130 * lyxlength.C (inPixels): change to use a width and a height as
4133 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4135 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4136 Replaced with \paperwidth
4138 * DepTable.C (insert): add std:: qualifier
4140 2002-01-18 Allan Rae <rae@lyx.org>
4142 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4145 * text.C (drawInset): Turned out I didn't know enough about how
4146 rebreaking worked. This fixes most of the redraw problems. I see
4147 an occasional cursor trail when a line is broken now and the cursor
4148 placement can seem out by a few pixels also after a rebreak.
4150 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4152 * buffer.C (parseSingleLyXformat2Token): update because minipage
4153 width is now a LyXLength
4155 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4157 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4160 2002-01-17 Juergen Vigna <jug@sad.it>
4162 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4164 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4165 is set correctly and the inset is updated correctly.
4167 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4169 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4170 the beginning of the loop.
4172 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4174 * lyxrc.C: improve help for use_scalable_fonts
4176 2002-01-17 Allan Rae <rae@lyx.org>
4178 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4180 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4182 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4183 make sure to set their inset_owner to the right value (bug #171)
4185 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4188 * DepTable.C: Implement mtime checking to reduce time spent doing
4191 2002-01-16 Juergen Vigna <jug@sad.it>
4193 * tabular.C (GetAdditionalHeight): one of error fixed.
4195 * lyxrc.C (output): small fix in writing use_pspell.
4197 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4199 * sp_base.h: #include LString.h
4201 2002-01-16 Allan Rae <rae@lyx.org>
4203 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4204 Can someone check this please?
4206 * text.C (drawInset): It was possible that p.row would be removed by
4207 breakAgainOneRow upsetting a few other settings. There may be another
4208 small tweak possible by setting need_break_row = 0 when p.row has been
4209 removed but I don't know enough about the logic here.
4211 2002-01-15 Allan Rae <rae@lyx.org>
4213 * text.C (insertChar): removed conditional truism.
4215 * BufferView2.C (removeAutoInsets): More tweaks.
4216 cur_par_prev could be a stray pointer. Check for trailing empty line
4217 in case last line was cur_par and only had an error inset on it.
4219 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4221 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4224 * vc-backend.C (most methods):
4225 * exporter.C (Export):
4226 * converter.C (convert):
4228 * LyXSendto.C (SendtoApplyCB):
4229 * lyxfunc.C (dispatch):
4233 * lyx_cb.C (AutoSave):
4235 * BufferView_pimpl.C (MenuInsertLyXFile):
4236 * buffer.C (runChktex): use Buffer::filePath().
4238 * buffer.h: rename filename to filename_; rename filepath to
4239 filepath_ and make it private
4240 (filePath): new method
4242 * buffer.C (writeFile): use fileName()
4245 * lyx_main.C (init): fix starting of LyX when the binary is a
4246 link from so,ewhere else.
4248 * minibuffer.C: include <cctype> for isprint
4250 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4252 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4253 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4254 name clash with InsetCollapsable's width function.
4256 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4258 * lastfiles.C: include <iterator>
4260 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4262 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4265 * buffer.C (makeLaTeXFile): ditto.
4266 Also make loop operation more transparent.
4268 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4270 * ToolbarDefaults.C: remove trailing comma closing namespace.
4272 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4274 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4277 * trans.C (Load): comment out unused variable, allowed.
4279 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4281 * minibuffer.[Ch] (append_char): new method to recieve input from the
4282 drop-down completion browser. If a key was pressed, then recieve this
4283 char and append it to the existing string.
4284 (peek_event): modify the positioning data passed to the completion
4285 browser so that it can be placed above the minibuffer rather than below.
4286 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4288 * LyXAction.C (init): alloe error-next for readonly documents.
4290 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4293 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4295 * bufferlist.C (readFile): create the buffer _after_ checking that
4298 * lyxfunc.C (verboseDispatch): fix handling of arguments
4300 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4302 * lyxrc.C: use string::erase() instead of initializing to "".
4305 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4307 * BufferView_pimpl.h:
4308 * BufferView_pimpl.C:
4311 * text2.C: tell X when we have made a selection for copying
4313 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4315 * BufferView_pimpl.C (MenuInsertLyXFile):
4316 * lyxfunc.C (menuNew):
4318 (doImport): add shortcuts to directory buttons
4320 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4323 * lyxfunc.C (setStatusMessage):
4324 (getStatusMessage): new methods
4325 (getStatus):use setStatusMessage instead of setErrorMessage
4326 (dispatch): when function is disabled, set error message here
4327 [instead of in getStatus previously]
4329 * BufferView_pimpl.C (workAreaButtonRelease): update
4330 toolbar/menubar here too.
4332 2002-01-13 Allan Rae <rae@lyx.org>
4334 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4335 Now seems indestructible. Remaining task is to audit all other
4336 code affected by deleteEmptyParagraphMechanism. One small quirk
4337 left is that an empty document with an error in the preamble can
4338 be made to report an error but no error box appears. I don't know
4340 (removeAutoInsets): Improved comments.
4342 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4345 * Thesaurus.C: update for Aiksaurus 0.14
4347 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4349 * text2.C (firstParagraph): removed member function, all uses
4350 replaces with ownerParagraph
4351 (redoParagraphs): here
4353 (toggleAppendix): here
4354 * BufferView2.C (insertErrors): here
4355 (setCursorFromRow): here
4357 2002-01-13 Allan Rae <rae@lyx.org>
4359 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4360 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4361 There is still a way to segfault this although you may have to do this
4362 multiple times: Have an InsetERT with an unknown command in it.
4363 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4364 <down-arrow>, <Enter> again, View->DVI, BANG!
4366 * text2.C (setCursor):
4367 (deleteEmptyParagraphMechanism):
4368 * lyxtext.h (setCursor):
4369 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4370 Making use of the return value may help fix other bugs.
4372 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4374 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4376 * LyXView.C (updateMenubar): call MenuBar::update here
4377 (updateToolbar): but not here
4378 (showState): do not update toolbar/menubar
4380 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4381 should need to care about that.
4383 * lyxfunc.C (verboseDispatch): simplify a bit
4384 (getStatus): have a version which takes a pseudoaction, and
4385 another which requires a (kb_action,string).
4387 * LyXAction.C (retrieveActionArg): make it work also when action
4388 is not a pseudo-action.
4389 (getActionName): simplify a bit
4392 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4394 * lyxfunc.C (verboseDispatch): new families of methods with
4395 several ways to specify a command and a bool to indicate whether
4396 the command name and shortcut should be displayed in minibuffer
4397 (eventually, we could extend that to a finer bitmask like
4398 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4399 (dispatch): the pristine dispatch command which just, well,
4400 dispatchs! Note it still sets its result to minibuffer; I'm not
4403 * lyxfunc.h: remove setHintMessage
4405 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4407 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4409 * BufferView_pimpl.C (specialChar): delete new inset if we have
4410 not been able to insert it.
4412 * kbmap.C: revert to using int instead of kb_action, since all we
4413 are dealing with is pseudo-actions.
4415 * LyXAction.C (searchActionArg): change to return int instead of
4416 kb_action, since the result is a pseudoaction.
4418 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4420 * buffer.C (insertErtContents): Fix (partially) the font bug.
4422 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4424 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4425 as the other one is broken on my machine!
4427 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4430 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4432 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4434 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4435 reflect their actual use. Provide compatibility code for older lyxrc
4438 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4440 change names of popup font variables in line with the changes to lyxrc.C
4442 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4444 * buffer.C (asciiParagraph): avoid outputing a word twice after
4447 * lyxrc.C (getDescription): document that document_path and
4448 template_path can be empty.
4450 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4452 * LaTeXFeatures.C (getMacros):
4453 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4455 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4457 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4459 (getPackages): rename feature "floats" to "float". Use an array to
4460 iterate over 'simple' features (i.e. just a \usepackage). Add
4461 handling of "amsmath" (renamed from "amsstyle").
4463 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4465 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4468 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4470 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4471 FuncStaus::FuncStatus & FuncStaus::some_method().
4473 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4475 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4476 of the func_satus stuff. Edited and massaged in various ways by
4479 * lyxfunc.C (getStatus): use FuncStatus
4481 2002-01-08 Juergen Vigna <jug@sad.it>
4483 * text.C (nextBreakPoint): use function Inset::isChar().
4485 * paragraph.C (TeXOnePar): use function
4486 Inset::forceDefaultParagraphs.
4488 * buffer.C (latexParagraphs): use function
4489 Inset::forceDefaultParagraphs.
4491 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4493 * lyx_gui.C (init): set the style of the menu popups to
4494 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4496 2002-01-07 Juergen Vigna <jug@sad.it>
4498 * text.C (setHeightOfRow): small fix
4499 (prepareToPrint): don't look at alignment if we don't have the place
4502 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4504 * box.C: New file. Move the Box methods and functions out of box.h,
4505 following Lars' suggestion.
4507 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4509 * box.h: #include "support/LOstream.h", needed for inlined function.
4512 * lyxtextclasslist.C: added some using std declarations.
4514 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4516 * box.h: make signed dimensions to allow insets wider than
4517 the screen (bug #162)
4519 * BufferView_pimpl.C: add some insetHit debug
4521 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4523 * vc-backend.C: add FIXME
4525 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4527 * lyxfunc.C (getStatus): enable code for showing math font status
4530 2002-01-07 Juergen Vigna <jug@sad.it>
4532 * text.C (nextBreakPoint): removed debug output not needed anymore.
4534 2002-01-06 Juergen Vigna <jug@sad.it>
4536 * text.C (nextBreakPoint): fixed up this function we had this bug
4537 since ever but now hopefully we break row better.
4538 (insertChar): we have to check if an inset is the next char as it
4539 could now happen that a large inset is causing a break.
4541 2002-01-05 Juergen Vigna <jug@sad.it>
4543 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4544 if it doesn't like to be drawed.
4546 2002-01-04 Juergen Vigna <jug@sad.it>
4548 * BufferView2.C (lockInset): forgot to set a cursor.
4550 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4552 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4557 * form_maths_panel.C:
4558 * form_maths_panel.h:
4559 * form_maths_panel.fd: implemented sub- and super- buttons in math
4562 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4563 (or ^ space) to be used as in TeX (req'd by André).
4565 * lyxfunc.C: Allow ^ and _ again to be used both as
4566 super/subscript (mathed) and as themselves (in text).
4568 2002-01-03 Allan Rae <rae@lyx.org>
4570 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4571 "LyX" or the filename of the current buffer if it has one. This is a
4572 modified form of John Levon's patch.
4574 * XFormsView.C (setWindowTitle): also set icon title.
4576 * LyXView.h (setWindowTitle): signature changed.
4577 * XFormsView.h (setWindowTitle): ditto.
4579 2002-01-02 Juergen Vigna <jug@sad.it>
4581 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4583 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4585 * screen.C (topCursorVisible): introduce a temp var for
4586 text->cursor.row(), handle the case where this row is null. (kindo
4589 * text2.C (setCursor): add a couple of asserts.
4591 * paragraph.h (inset_iterator): add -> operator
4593 * paragraph.[Ch] (autoDeleteInsets): remove member function
4595 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4596 cursor pos correctly and handle inset deletion by itself.
4597 (insertErrors): move iterator declaration out of for expression
4599 * lyxtextclass.C: add <algorithm>
4601 * Makefile.am: added the new files to sources, removed layout.C
4603 * layout.C: removed file
4605 * layout.h: remove LYX_DUMMY_LAYOUT
4607 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4611 * lyxtextclass.[Ch]:
4612 * lyxtextclasslist.[Ch]: new files
4614 * include order changes to a lot of files, also changes because of
4617 2001-12-27 Juergen Vigna <jug@sad.it>
4619 * buffer.C (asciiParagraph): more fixes.
4621 * tabular.C (ascii): make ascii export support export of only the
4622 data separated by a column-delimiter.
4623 (ascii): better support for ascii export.
4625 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4627 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4629 * tabular_funcs.C: use a "using std::getline" instead of the
4630 previous fix from Angus (necessary for cxx + lyxstring)
4632 2001-12-24 Juergen Vigna <jug@sad.it>
4634 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4636 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4637 problems. First check a minipage also if we have some ert-contents
4638 (not only on par->size(), second set the right depth of the paragraph
4639 on the relink to the root-paragraph-list!
4641 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4642 which then did not anymore update the main paragraphs on undo/redo!
4644 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4646 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4647 code. Support all font-changing funcs (even those which are not in
4648 menu currently). Support for reporting font settings in
4649 mathed (disabled until Andre provides a function on mathed's side).
4651 * func_status.h (toggle): small helper function to set toggle
4654 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4656 * tabular_funcs.C: getline -> std::getline
4658 2001-12-21 Juergen Vigna <jug@sad.it>
4660 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4661 accessed and could be 0 (I couldn't generate this but it seems
4664 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4666 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4667 * tabular_funcs.h: here and include iosfwd
4669 2001-12-20 Juergen Vigna <jug@sad.it>
4671 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4672 inside inset but undo_par was.
4674 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4676 * Thesaurus.C: always include <config.h> in sources.
4680 * box.h: do not include <config.h> in header files
4682 * text.C (paintLastRow): remove unused variable
4684 * text.C (transformChar):
4686 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4689 * font.C (width): rewrite to use uppercase() instead of
4692 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4694 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4696 * lyxfind.C: clean up of find failure position change
4698 2001-12-20 Juergen Vigna <jug@sad.it>
4700 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4702 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4703 (TeXRow): added to LaTeX a single tabular row.
4704 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4705 (Latex): simplified and finally good LT-h/f support.
4706 (various_functions): just small adaptions for LT-h/f support.
4708 * tabular_funcs.[hC]: added and moved here all not classfunctions
4711 2001-12-19 Juergen Vigna <jug@sad.it>
4713 * tabular.[Ch]: better support for longtabular options (not finished
4716 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4718 * text.C (paintLastRow): use the label font instead of the font of
4719 the last character to compute the size of *_BOX. This makes more
4720 sense and avoids a crash with empty paragraphs.
4721 Use Painter::rectangle to draw EMPTY_BOX.
4723 2001-12-19 Juergen Vigna <jug@sad.it>
4725 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4726 the paragraphs if the replaced paragraph is not the first one!
4727 Tried to delete not used paragraphs but does not work yet so for
4728 now it's inside #ifdef's and by default off!
4730 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4732 * MenuBackend.C: include "lyx_main.h" instead of declaring
4733 lastfiles (actually was declared as LastFiles* instead of a
4736 2001-12-17 Juergen Vigna <jug@sad.it>
4738 * tabular.C (AppendColumn): applied John's fix
4740 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4744 * BufferView_pimpl.h:
4745 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4748 * box.h: new start of class for above
4750 * lyxfunc.C: ignore space-only minibuffer dispatches.
4751 Show the command name when it doesn't exist
4753 * minibuffer.C: don't add empty lines to the history
4755 * minibuffer.C: add a space on dropdown completion
4757 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4759 * text.C: fix line above/below drawing in insets
4761 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4763 * lyxlength.C (LyXLength): Initialize private variables.
4765 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4767 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4768 when inserting error insets.
4770 2001-12-13 Juergen Vigna <jug@sad.it>
4772 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4773 actually sometimes the before-paragraph.
4774 (setUndo): don't clear the redostack if we're not actually undoing!
4776 2001-12-06 Juergen Vigna <jug@sad.it>
4778 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4779 and fixed redoing of main paragraph, so we can use it now ;)
4781 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4783 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4785 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4788 2001-12-13 André Pönitz <poenitz@gmx.net>
4791 * undo_func.C: minor cleanup
4793 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4795 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4796 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4797 font in urw-fonts package which is marked as -urw-fontspecific and
4798 does not work (incidentally, changing the encoding in the
4799 fonts.dir of this package to -adobe-fontspecific fixes the
4802 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4803 is a crash when undoing first paragraph (Juergen, please take a
4804 look). THis does not mean the undo fix is wrong, just that it
4807 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4808 the (Paragraph*) version when needed instead of duplicating the
4811 * text.C (workWidth): use Inset::parOwner to find out where the
4812 inset has been inserted. This is a huge performance gain for large
4813 documents with lots of insets. If Inset::parOwner is not set, fall
4814 back on the brute force method
4816 * paragraph_pimpl.C (insertInset):
4817 * paragraph.C (Paragraph):
4818 (cutIntoMinibuffer): set parOwner of insets when
4819 inserting/removing them
4821 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4823 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4829 * mathed/formulabase.C:
4830 * mathed/math_cursor.[Ch]:
4831 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4834 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4836 * lyxlength.[Ch] (operator!=): new function
4838 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4840 * text.C (workWidth): use Inset::parOwner to find out where the
4841 inset has been inserted. This is a huge performance gain for large
4842 documents with lots of insets. If Inset::parOwner is not set, fall
4843 back on the brute force method
4845 * paragraph_pimpl.C (insertInset):
4846 * paragraph.C (Paragraph):
4847 (cutIntoMinibuffer): set parOwner of insets when
4848 inserting/removing them
4850 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4852 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4854 * tabular-old.C (getTokenValue):
4855 * tabular.C (getTokenValue):
4856 (write_attribute): new versions for LyXLength
4857 (everywhere): adjust the use of widths
4859 * tabular.h: change the type of widths from string to LyXLength
4861 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4863 * paragraph.C: fixed missing line number count when exporting
4864 Environments to LaTeX file
4866 * buffer.C: added informational message for checking line numbers.
4868 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4870 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4871 paragraph, do the 'double space' part, but not the 'empty
4874 * text.C (workWidth): small optimization
4875 (getLengthMarkerHeight): use minimal size for negative lengths.
4877 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4879 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4881 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4883 2001-12-11 André Pönitz <poenitz@gmx.net>
4886 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4888 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4890 * text2.C: keep selection on a setFont()
4892 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4894 * lyx_cb.C: another bv->text misuse, from insert label
4896 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4899 * kbsequence.C: re-instate nmodifier mask
4901 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4903 * lyx_main.h: make lyxGUI private.
4905 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4907 * lyxfind.C: place the cursor correctly on failed search
4909 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4911 * text.C (getLengthMarkerHeight): for small heights, the arrows
4912 are not always on top/bottom of the text
4913 (drawLengthMarker): smaller arrows; take the left margin in
4914 account; draw also vfills.
4916 (paintLastRow): remove special code for vfill and standard spaces,
4917 since everything is handled in drawLengthMarker now.
4919 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4921 * buffer.C (insertErtContents): try to handle font and language
4922 interaction a bit better.g
4924 * ColorHandler.C (updateColor): change the hash to cover the whole
4925 LColor enum, ws cleanup
4926 (getGCLinepars): ditto
4927 (getGCLinepars): only lookup in the linecache once.
4929 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4931 * iterators.C (operator++): Make the iterator more robust
4933 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4935 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4937 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4940 * text.C: better added space drawing
4942 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4945 * BufferView2.C: fix layout combo update on inset unlock
4947 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4949 * Makefile.am: don't compile unused files
4951 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4955 * LyXAction.C: remove old LFUN_LAYOUTNO
4957 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4959 * paragraph_pimpl.h:
4960 * paragraph_pimpl.C: isTextAt() doesn't need font param
4962 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4965 * lyxlex.C: little cleanup
4967 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4969 * BufferView_pimpl.C: fix insertAscii for insets
4971 2001-12-05 Juergen Vigna <jug@sad.it>
4973 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4974 set the right font on the "multi" paragraph paste!
4976 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4982 * lyxlength.C: remove out-commented code.
4998 * vc-backend.C: change "while(" to "while ("
5000 * lyxlength.[Ch]: add zero function to check if length is zero or
5002 * lyxgluelength.C: use it
5004 2001-12-05 Allan Rae <rae@lyx.org>
5006 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5007 Works for 2.95.3, from what I understand of Garst's reports this should
5008 work for other g++ versions. We're screwed if the abs(int) definition
5009 changed between bugfix releases of gcc.
5011 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5013 * text.C: fix chapter label offset !
5015 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5018 * text.C: fix hfill at end of line, clean up
5020 2001-12-04 Juergen Vigna <jug@sad.it>
5022 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5023 that we force an update of the inset and it's owners if neccessary.
5025 2001-12-03 Juergen Vigna <jug@sad.it>
5027 * text.C (rowLast): simplified code
5029 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5031 * lyxfunc.C: fix show options on timeout
5033 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5035 * screen.C (topCursorVisible): scroll half a page when the cursor
5036 reached top of bottom of screen
5038 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5040 * minibuffer.C: deactivate on loss of focus
5042 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5044 * vspace.[Ch] (operator!=): add operator.
5046 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5048 * BufferView_pimpl.C: refuse to open an inset when
5049 there's a selection.
5051 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5053 * BufferView_pimpl.C: allow to click on RHS of full row insets
5055 2001-11-30 Juergen Vigna <jug@sad.it>
5057 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5058 insets for undo reasons.
5060 2001-11-28 André Pönitz <poenitz@gmx.net>
5062 * vspace.[Ch]: cosmetical changes
5064 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5074 * kbsequence.C: part re-write of old kb code
5077 * WorkArea.C: remove Lgb_bug_find_hack
5079 2001-11-30 José Matos <jamatos@fep.up.pt>
5081 * buffer.C (makeDocBookFile): add a comment to point a hack.
5082 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5083 Fixed a double write of labels.
5085 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5088 * LaTeX.h Fixed bug in LaTeX class where it would not
5089 re-run latex if no depfiles were changed, but the .dvi was removed.
5091 2001-11-28 André Pönitz <poenitz@gmx.net>
5093 * all the files from the change on 2001/11/26:
5094 use lyx::layout_type instead of LyXTextClass::size_type
5095 use lyx::textclass_type instead of LyXTextClassList::size_type
5097 2001-11-29 Juergen Vigna <jug@sad.it>
5099 * text.C: added support for paragraph::isFreeSpacing()
5101 * buffer.C: same as above
5103 * paragraph.h: inserted isFreeSpacing() function to enable
5104 FreeSpacing inside InsetERT.
5106 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5107 of the paragraph's in the cut/copy buffer to 0!
5109 * text2.C (removeRow): remove the assert as it can!
5111 * lyxtext.h: added helper function firstRow returning firstrow and
5112 made firstrow private again.
5114 * BufferView2.C (lockInset): don't relock if we're already locked!
5116 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5118 (removeRow): added Assert::(firstrow)
5120 * debug.C: forgot to add INSETTEXT here.
5122 2001-11-28 Juergen Vigna <jug@sad.it>
5124 * sp_spell.C (initialize): changed error text to more general
5125 spellchecker command use (not only ispell!)
5127 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5129 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5131 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5133 * vspace.C: initialise lyxgluelength on failure
5135 2001-11-28 Allan Rae <rae@lyx.org>
5137 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5138 declaration & definition that looks like a function declaration.
5140 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5142 * BufferView2.C (copy):
5143 (copyEnvironment): do not clear the selection when doing a copy.
5145 * text.C (paintFirstRow): compilation fix
5147 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5149 * tabular.C (Latex): correct line count when writing latex.
5151 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5153 * paragraph_pimpl.h:
5154 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5157 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5161 * LColor.C: change vfillline->added_space
5163 * text.C: add markers and text for added space
5165 * vspace.C: fix comment
5167 2001-11-28 André Pönitz <poenitz@gmx.net>
5169 * paragraph.C: whitespace changes
5170 * all the other files from the change on 2001/11/26:
5171 change *::pos_type into lyx::pos_type
5173 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5175 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5176 language of the document when inserting error insets.
5178 2001-11-26 André Pönitz <poenitz@gmx.net>
5180 * BufferView_pimpl.[Ch]:
5188 * paragraph_pimpl.[Ch]:
5191 * text2.C: reduce header dependencies, introduce type for positions
5193 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5195 * <various>: change to use Alert.h
5197 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5199 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5200 when encountering an unknown token.
5201 (readLyXformat2): Show an error message if there were unknown tokens.
5203 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5206 * BufferView_pimpl.C:
5210 * text2.C: use par->isInset()
5212 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5214 * paragraph_pimpl.h:
5215 * paragraph_pimpl.C: cleanup
5217 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5219 * text2.C (removeRow):
5220 * text.C (setHeightOfRow): remove useless (and costly) call to
5223 2001-11-20 Allan Rae <rae@lyx.org>
5225 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5226 Now need Inset*::checkInsertChar() to return true for appropriate
5227 cases so that the characters in the minibuffer will actually be
5230 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5232 * text.C: change the order of the includes.
5233 (workWidth): initialize it at once.
5234 (workWidth): make maxw unsigned
5235 (setHeightOfRow): remove unused variable (inset)
5236 (selectSelectedWord): remove unused variable (inset)
5237 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5239 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5241 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5242 server is not running.
5244 (closeConnection): add debug info when server is disabled.
5246 * ColorHandler.C (getGCForeground): send debug message to GUI
5249 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5251 * kbmap.C (bind): modify because return conventions of
5252 kb_sequence::parse have changed.
5254 * kbsequence.C (parse): only ignore spaces and not any stupid
5255 control character. This avoids tests like s[i] <= ' ', which are
5256 guaranteed to fail with 8bit characters and signed chars.
5257 Change return code to string::npos when there have been no error
5258 (0 was a bad idea when error is at first character)
5260 2001-11-14 José Matos <jamatos@fep.up.pt>
5263 * buffer.C (simpleDocBookOnePar): removed unused argument.
5265 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5267 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5268 insets which are part of a word. Paragraph::isLetter takes care of
5269 that now. Use Paragraph::isInset to identify insets.
5270 (selectSelectedWord): do not test for hyphenation break.
5272 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5273 that protected spaces are considered as spaces.
5275 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5278 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5281 * lyxserver.C: fix it. and small cleanup.
5283 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5285 * BufferView_pimpl.C: use inline helpers
5288 * LaTeXFeatures.C: fix typos
5291 * Spacing.C: move spacing_string into class
5293 * ToolbarDefaults.C: move stuff into namespace anon
5295 * layout.h: update enum
5297 * lyxfunc.C: use better debug
5299 * minibuffer.h: fix typo
5303 * WorkArea.C: add and use Debug::WORKAREA
5307 * text2.C: code re-organisation, inline helpers
5309 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5311 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5312 std::vector.empty().
5314 2001-11-09 Allan Rae <rae@lyx.org>
5316 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5317 '\n's after tables. Tabular and ERT inset work now makes this no
5320 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5323 * minibuffer.C: fix crash, improve drop-down completion
5325 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5328 * lyxserver.C: invalidate fd's when doing endPipe()
5330 2001-11-08 José Matos <jamatos@fep.up.pt>
5332 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5333 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5336 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5338 2001-11-07 José Matos <jamatos@fep.up.pt>
5341 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5344 * buffer.C (sgmlOpenTag):
5345 * buffer.C (sgmlCloseTag): removed debug info.
5347 * buffer.h (sgmlOpenTag):
5348 * buffer.h (sgmlCloseTag): made public.
5350 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5352 * buffer.C (saveParamsAsDefaults):
5353 * lyx_cb.C (MenuLayoutSave): remove
5355 * LyXAction.C (init):
5357 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5359 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5361 * buffer.C (setPaperStuff): removed from here...
5363 * bufferparams.C (setPaperStuff): ... and moved there.
5365 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5369 * XFormsView.C: add support for drop-down completion
5371 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5373 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5376 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5378 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5381 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5383 * lyx_main.C: change ref to known bugs
5385 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5387 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5388 to work around older babel problems.
5390 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5392 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5394 2001-10-24 Juergen Vigna <jug@sad.it>
5396 * tabular-old.C (ReadOld): below variable changes reflected.
5398 * tabular.[Ch]: added ltType struct for longtable header/footer
5399 defines and changed all instances where they are used. Added
5400 future support for double top/bottom rows.
5402 2001-10-24 José Matos <jamatos@fep.up.pt>
5404 * buffer.h (docbookHandleCaption):
5405 * buffer.C (docbookHandleCaption): removed unused function.
5406 (makeDocBookFile): moved docbook supported version to v4.1.
5408 2001-10-24 José Matos <jamatos@fep.up.pt>
5411 * tabular.C (docbookRow): new function to export docbook code of a row.
5412 (DocBook): now honors the longtable flags.
5414 2001-10-23 José Matos <jamatos@fep.up.pt>
5417 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5418 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5420 * buffer.C (makeLinuxDocFile):
5421 (makeDocBookFile): reworked the preamble, more clean, and with
5422 support for lyx defined entities. Changed the document declaration
5423 to be more XML friendly.
5425 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5426 if we need to output XML that should be done with a filter.
5428 2001-10-22 Juergen Vigna <jug@sad.it>
5430 * sp_pspell.h (class PSpell): add alive function needed in the
5431 controller to see if the spellchecker could be started.
5433 2001-10-22 Juergen Vigna <jug@sad.it>
5435 * buffer.C (insertStringAsLines): modify the font for inserting
5436 chars in certain conditions by calling checkInsertChar(font).
5438 2001-10-19 Juergen Vigna <jug@sad.it>
5440 * text.C (workWidth): use getRow instead of wrong algorithm.
5441 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5443 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5448 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5450 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5452 * text.C (workWidth): do not search for the exact row when
5453 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5454 optimization for big documents.
5456 2001-10-18 Juergen Vigna <jug@sad.it>
5458 * text.C (workWidth): new function with added Inset * parameter.
5460 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5462 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5464 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5465 change return type of getColumnNearX.
5468 * text.C (changeRegionCase): use uppercase/lowercase instead of
5471 (rightMargin): simplify code by factoring out the uses of
5476 (appendParagraph): use Paragraph::size_type
5478 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5480 * vspace.C (asLatexString): add a missing break
5482 2001-10-15 Herbert Voss <voss@perce.de>
5484 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5486 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5488 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5491 2001-10-10 André Pönitz <poenitz@gmx.net>
5493 * lyxfunc.C: removed greek_kb_flag.
5495 2001-10-10 Herbert Voss <voss@perce.de>
5497 * lyx_main.C: delete global string help_lyxdir.
5499 2001-10-09 Herbert Voss <voss@perce.de>
5501 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5503 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5505 * lyx_main.C: added global string help_lyxdir.
5507 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5509 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5511 * lyxrc.C (set_font_norm_type): support iso8859-4
5513 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5515 * LaTeX.C (deplog): add another regex for MikTeX
5517 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5519 * lyxrc.C (set_font_norm_type): support iso8859-3
5521 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5523 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5525 * LaTeXFeatures.C: remove special case of french and index
5527 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5528 before \begin{document}). This solves several incompatibilities.
5530 2001-10-03 Garst Reese <reese@isn.net>
5532 * lyx_cb.C: change CheckTex error msg.
5534 2001-10-03 José Matos <jamatos@fep.up.pt>
5536 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5538 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5540 * .cvsignore: update
5542 * lyx_main.C (commandLineVersionInfo): use new style version info.
5544 * buffer.C (writeFile):
5547 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5549 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5551 * version.h: update to use stuff in version.C
5553 * version.C.in: new file. Contains version information determined
5554 at compile time. This is a merging of version.h and
5557 2001-10-03 Juergen Vigna <jug@sad.it>
5559 * BufferView_pimpl.C (update): don't change "dirty" status in
5562 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5564 * WorkArea.C (c-tor): re-position version string slightly.
5566 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5568 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5569 revert to previous code.
5571 WorkArea.[Ch]: (show, destroySplash): methods removed.
5573 WorkArea.C: rework code so that it's an amalgam of the codes before and
5574 after the splash screen was moved to WorkArea.
5576 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5579 * vspace.C (inPixels):
5582 * buffer.C (insertStringAsLines):
5583 (asciiParagraph): fix types to be large enough
5585 * lyxlex_pimpl.h: change member status from short to int
5587 * layout.h: fix type of endlabeltype
5590 * kbsequence.C (parse): change return type to string::size_type
5592 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5595 * Bullet.C (bulletSize):
5596 (bulletEntry): do not use short ints as parameters
5598 * BufferView2.C (insertLyXFile): change a char to an int.
5600 * WorkArea.C (WorkArea): remove unneeded floats in computation
5602 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5604 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5606 * paragraph.C (asString): Do not ignore newline/hfill chars when
5607 copying to the clipboard.
5609 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5611 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5612 after a multi-line inset.
5614 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5616 * paragraph.C (validate): Set NeedLyXFootnoteCode
5618 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5620 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5621 and decrease-error to decrease.
5623 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5625 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5626 it more readable (should be equivalent)
5628 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5630 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5632 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5634 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5635 of a cursor (row, etc.) after a character has been deleted
5636 (deleteEmptyParagraphMechanism): call the method above on _all_
5637 cursors held by the LyXText when a double space has been
5640 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5642 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5644 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5646 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5647 background. Use greyOut() and the new show() methods to toggle between
5648 the foreground and background. Add code to remove the splash after
5649 its initial showing.
5651 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5652 (create_forms): no longer call Dialogs::showSplash.
5654 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5656 * .cvsignore: add version_info.h
5658 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5660 * version_info.h.in: new file
5662 * Makefile.am: add version_info.h.in
5664 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5665 version_info.h instead of VERSION_INFO
5667 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5669 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5670 The ERT inset now returns string().
5672 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5674 * lyxtext.h, text.C (selectNextWord): renamed as
5675 selectNextWordToSpellcheck.
5677 * text.C (selectNextWordToSpellcheck): Modified to not select
5678 words inside an ERT inset.
5680 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5682 * lyx_cb.C (MenuLayoutSave): change a bit the question
5684 * sp_base.h: include <sys/types.h>
5686 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5688 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5690 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5692 * several files: fix typos in user-visible strings
5694 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5696 * text2.C (pasteSelection): do not set the selection, since it
5697 will be cleared later. Actually, the intent was to fix the way the
5698 selection was set, but I figured rmoving the code was just as good.
5700 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5702 * FontLoader.C (available): Check if font is available without
5705 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5707 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5709 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5711 * lyxrc.[Ch]: added display_graphics variable and associated code.
5713 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5715 * bufferparams.C (hasClassDefaults): new method. Returns true if
5716 the buffer parameters correspond to known class defaults
5718 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5720 * XFormsView.C (show): set minimum size to the main window.
5722 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5724 * text2.C (copySelection):
5726 * lyxfind.C (LyXReplace):
5727 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5728 LyXText::selectionAsString.
5730 * paragraph.C (asString): add "label" argument to the second form
5732 * text2.C (selectionAsString): add "label" argument and pass it to
5733 Paragraph::asString.
5735 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5737 * lyx_main.C (commandLineHelp): remove version information
5739 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5741 * lyx_main.C: add -version commandline option
5743 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5745 * paragraph.h: make the optional constructor arg required instead.
5746 some modifications to other files because of this.
5748 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5750 * lyxserver.C (C_LyXComm_callback): make it static
5752 * lyx_main.C (error_handler): make it static
5754 * lyx_gui.C (LyX_XErrHandler): make it static
5756 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5758 * WorkArea.C: make the extern "C" methods static.
5760 * Makefile.am (lyx_LDADD): simplify
5762 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5764 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5765 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5767 * LyXAction.C (init):
5768 * lyxfunc.C (dispatch): associated code removal.
5770 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5772 * lyxfont.h (isSymbolFont): shut off warning
5774 * text.C (setHeightOfRow):
5775 (getVisibleRow): fix crash with empty paragraphs which have a
5778 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5780 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5783 2001-09-04 José Matos <jamatos@fep.up.pt>
5786 * tabular.C (docbook): rename docBook method to docbook.
5788 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5790 * Makefile.am: add dependencies to main.o.
5792 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5794 * FontLoader.C (available): Return false if !lyxrc.use_gui
5796 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5798 * FontInfo.C (query):
5799 * converter.C (view):
5800 * importer.C (Import):
5801 * exporter.C (Export): Can not -> cannot.
5803 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5805 * BufferView_pimpl.C: allow to create index inset even if
5808 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5810 * buffer.C (getLists): replace boost::tie code with an explicit pair
5811 as boost::tie can break some compilers.
5813 * iterators.h: Added a std:: declaration to the return type of
5816 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5818 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5821 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5823 * iterators.[Ch]: New files. Provide paragraph iterators.
5825 * buffer.C (changeLanguage): Use paragraph iterators.
5826 (isMultiLingual): ditto
5828 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5830 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5832 * FontLoader.C: Support for cmr font.
5834 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5836 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5837 (available): New method.
5839 * FontInfo.C (getFontname): Use scalable fonts even when
5840 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5843 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5845 * converter.C (Formats::view): reverted! Incorrect fix.
5847 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5849 * converter.C (Formats::view): only output the -paper option
5850 if the dvi viewer is xdvi, thereby fixing bug #233429.
5852 2001-08-23 Herbert Voss <voss@perce>
5854 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5856 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5858 * Spacing.h (Spacing): Set space to Default on in the default
5861 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5863 * vc-backend.h (RCS::versionString): add RCS to version
5864 (CVS::versionString): add CVS to version
5866 * vc-backend.C (scanMaster): do not add CVS to version.
5867 (scanMaster): do not add RCS to version
5869 * lyxvc.C (versionString): new method
5871 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5873 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5875 * Spacing.C (set): initialize fval
5877 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5879 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5882 2001-08-16 Juergen Vigna <jug@sad.it>
5884 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5886 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5888 * BufferView_pimpl.C:
5891 * text2.C: setParagraph takes linespacing now
5893 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5895 * LyxAction.C: add internal LFUN_CITATION_INSERT
5897 * LyXView.C: actually apply fix
5899 * bufferlist.C: fix open non-existent file
5901 * lyxfind.C: fix indentation
5903 * lyxfunc.C: remove unneeded assert, fix typo
5905 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5907 * MenuBackend.C: use "Floatname List"
5909 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5911 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5912 when converting LaTeX layout to insetERT.
5913 Generate a non-collapsed float when reading old float
5915 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5917 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5920 2001-08-13 Juergen Vigna <jug@sad.it>
5922 * text.C (fill): return 0 instead of 20 as this seems to be the more
5925 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5927 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5930 2001-08-13 Juergen Vigna <jug@sad.it>
5932 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5934 (SearchBackward): comment out the unlocking of the inset_owner this
5935 should not be needed!
5937 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5939 * Many files: Remove inherit_language, and add latex_language
5941 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5944 2001-08-10 Juergen Vigna <jug@sad.it>
5946 * text.C (prepareToPrint): fixed hfill-width in draw!
5948 * BufferView2.C (selectLastWord): save the selection cursor as this
5949 now is cleared in the function LyXText::clearSelection!
5951 2001-08-08 Juergen Vigna <jug@sad.it>
5953 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5954 BACKSPACE type functions.
5956 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5957 is only cutted from the document but not put in the cut-buffer, where
5958 still the old stuff should be.
5960 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5962 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5964 * tabular.C (SetWidthOfCell): fixed special case where the width
5966 (LeftLine): handle '|' in align_special.
5968 (LeftAlreadyDrawed): ditto
5969 (SetWidthOfCell): ditto
5971 2001-08-07 Juergen Vigna <jug@sad.it>
5973 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5975 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5977 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5978 * lyxlex.[hC]: ditto
5980 2001-08-06 Juergen Vigna <jug@sad.it>
5982 * text.C (getVisibleRow): fix up row clearing a bit.
5984 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5986 * minibuffer.C: make sure the X server sees the changes in the input.
5988 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5990 * paragraph.C (getFont): split into...
5991 (getLabelFont): this
5992 (getLayoutFont): and this
5993 * paragraph_pimpl.C (realizeFont): calling this
5995 * text2.C (getFont): split into...
5996 (getLayoutFont): this
5997 (getLabelFont): and this
5998 (realizeFont): all three calling this
6000 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6003 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6005 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6007 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6009 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6010 layouts from the Quote inset insertion.
6012 2001-08-03 Juergen Vigna <jug@sad.it>
6014 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6016 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6017 only if status not is already CHANGED_IN_DRAW (second level).
6019 * text.C (draw): don't set the need_break_row when inside an
6022 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6024 * buffer.C (parseSingleLyXformat2Token): handle more latex
6027 * bufferview_funcs.[hC]: change function names to
6028 begin with small char, adjust other files.
6030 2001-08-02 André Pönitz <poenitz@gmx.net>
6033 BufferView_pimpl.C: remove broken special code for math-greek
6035 2001-08-02 Juergen Vigna <jug@sad.it>
6037 * BufferView_pimpl.C (update): redone this function so that we
6038 update the text again if there was a CHANGE_IN_DRAW.
6040 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6041 (drawFromTo): added a new internal bool which is used by draw() and
6043 (general): some cursor drawing problems fixed.
6045 2001-08-01 Juergen Vigna <jug@sad.it>
6047 * lyxfind.C (LyXFind): fixed
6048 (SearchForward): ditto
6049 (SearchBackward): ditto
6051 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6052 spurius drawing of the cursor in the main area.
6054 * text2.C (status): small fix which could lead to a segfault!
6055 (clearSelection): remove unneeded BufferView param.
6057 2001-08-01 André Pönitz <poenitz@gmx.net>
6059 * lyxfunc.C: small change due to changed mathed interface
6061 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6063 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6065 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6067 * lyxfunc.c: fail gracefully if file doesn't exist
6072 * BufferView_pimpl.C: IsDirWriteable() proto changed
6074 * LyXView.C: fix updateWindowTitle() to store the last title
6076 2001-07-31 Juergen Vigna <jug@sad.it>
6078 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6079 the font (wrong since using of Paragraph::highestFontInRange).
6081 * paragraph.C (highestFontInRange): added a default_size parameter.
6083 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6084 (setHeightOfRow): reformat
6086 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6088 * converter.[hC] + affected files: move to (inital-char)lowercase
6091 * ParagraphParameters.C (ParagraphParameters): remove commented code
6093 * PainterBase.[Ch]: remove commented code
6095 * LaTeXFeatures.h: add "bool floats" for float.sty
6097 * LaTeXFeatures.C (LaTeXFeatures): init floats
6098 (require): handle float
6099 (getPackages): do it with floats
6101 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6103 * BufferView_pimpl.C (Dispatch): improve handling of
6104 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6106 * commandtags.h: #include lyxfont.h here temporarily to avoid
6109 * bufferlist.h: include LString.h here.
6111 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6113 * text2.C (getStringToIndex): new method.
6115 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6117 * *: Reduced header file dependencies all over.
6119 2001-07-30 Baruch Even <baruch@lyx.org>
6121 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6123 2001-07-29 Baruch Even <baruch@lyx.org>
6125 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6127 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6129 * ParameterStruct.h (endif): add a default constructor to make
6130 sure that all variables is initialized.
6132 * ParagraphParameters.C (ParagraphParameters): adjust
6134 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6136 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6137 index; also, check that there is something to index, and that it
6138 does not span over several paragraphs.
6139 (doubleClick): use WHOLE_WORD_STRICT for double click.
6141 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6143 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6146 2001-07-26 Baruch Even <baruch@lyx.org>
6148 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6149 an InsetFig figure, backwards compatible reading of old figure code.
6151 2001-07-27 Juergen Vigna <jug@sad.it>
6153 * text2.C: font.realize function adaption.
6155 * text.C (draw): add a warnings lyxerr text if needed.
6157 * layout.C: font.realize function adaption.
6159 * language.C: add inherit_language and implement it's handlings
6161 * bufferview_funcs.C (StyleReset): remove language parameter from
6162 font creation (should be language_inherit now).
6164 * bufferparams.C (writeFile): handle ignore_language.
6166 * paragraph.C (getFontSettings): the language has to be resolved
6167 otherwise we have problems in LyXFont!
6169 * lyxfont.C (lyxWriteChanges): added document_language parameter
6170 (update): removed unneeded language parameter
6172 * paragraph.C (validate): fixed wrong output of color-package when
6173 using interface colors for certain fonts in certain environments,
6174 which should not seen as that on the final output.
6176 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6178 * BufferView_pimpl.C:
6183 * LyXAction.C: add thesaurus support
6186 * lyxfind.C: add "once" parameter, for thesaurus, to not
6187 move to the next match
6189 2001-07-26 Juergen Vigna <jug@sad.it>
6191 * lyxfont.C (realize): honor ignore_language too!
6194 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6196 * text.C (draw): one place more for ignore_language to not draw
6199 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6201 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6203 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6205 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6206 the minipage conversion problem.
6208 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6210 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6213 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6215 * BufferView.h: don't forward declare WorkArea
6217 * BufferView.C: don't include WorkArea.h
6219 2001-07-25 André Pönitz <poenitz@gmx.net>
6223 * lyxfunc.C: new LFUN 'math-space'
6225 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6227 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6229 * text2.C (toggleInset): call open/close
6231 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6233 * lyxfunc.C (dispatch): add debug for the disabled case
6235 * font.C (buttonText): make similar to rectText
6237 * buffer.C (readInset): comment out parsing of insetlist and
6240 * PainterBase.C (rectText): small correction
6242 * BufferView_pimpl.C: comment out insettheorem and insetlist
6243 * LyXAction.C: ditto
6244 * commandtags.h: ditto
6246 2001-07-24 Juergen Vigna <jug@sad.it>
6248 * text.C (draw): honor the ignore_language.
6250 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6252 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6254 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6257 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6259 * lyxtext.h: remove unused (and unimplemented) methods
6261 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6263 * text.C (getVisibleRow): honor background color
6266 * Painter.h: remove default color argument for fillRectangle
6268 * text.C (backgroundColor): new method
6270 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6272 * text.C (getVisibleRow): adjust
6274 * font.[Ch] (rectText): new method, metrics
6275 (buttonText): new method, metrics
6277 * PainterBase.[hC]: make rectText and buttonText always draw and take
6280 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6282 * ToolbarDefaults.C (read):
6283 * MenuBackend.C (read): allow escaping in all strings
6285 * BufferView_pimpl.C (insertAndEditInset): new method.
6286 (Dispatch): use insertAndEditInset whenever appropriate.
6288 * BufferView_pimpl.C (insertNote): removed
6290 * BufferView_pimpl.C (smartQuote): new method, moved from
6291 BufferView; if an insetquote cannot be inserted, insert a '"'
6294 * BufferView2.C: remove insertCorrectQuote();
6296 * lyxfunc.C (getStatus): Add support for all remaingin
6299 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6301 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6302 command (necessary to pass " as parameter of self-insert.
6304 * text.C (selectWordWhenUnderCursor):
6305 (selectWord): add word_location parameter
6306 (selectWordWhenUnderCursor): same + remove special code for word
6308 (selectNextWord): use kind() to guess type of insetspecialchar,
6311 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6312 (insertErtContents): create ert insets as collapsed.
6313 (readInset): better compatibility code for Info inset.
6315 2001-07-20 Juergen Vigna <jug@sad.it>
6317 * lyxfunc.C (dispatch): use always LyXFind now!
6319 * text2.C (init): add a reinit flag so that the LyXText can be
6320 reinited instead of deleted and reallocated (used in InsetText).
6322 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6328 2001-07-18 Juergen Vigna <jug@sad.it>
6330 * text.C (selectNextWord): handle insets inside inset by calling
6331 always the bv->text functions so that we can go up the_locking_inset!
6333 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6334 in strange locations when inside an inset!
6336 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6337 handling to include insets.
6339 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6341 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6343 * LyXAction.C (init):
6345 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6346 LIGATURE_BREAK, since the name is so stupid.
6348 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6350 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6353 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6355 * sp_form.[Ch]: remove.
6357 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6359 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6362 * src/buffer.C (readInset): ditto.
6364 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6366 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6367 menuSeparator(), endOfSentenceDot(), ldots() and
6368 hyphenationPoint(), which are therefore removed.
6369 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6371 * LyXAction.C (init):
6372 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6374 * paragraph.C (getWord): removed.
6376 * BufferView_pimpl.C (Dispatch): use last word or selection for
6377 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6379 * lyx_main.C (queryUserLyXDir): do not ask before creating
6380 user_dir, except if it has been named explicitely.
6382 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6384 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6385 a document of zero size.
6387 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6389 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6390 approriately in the c-tor and in require().
6391 (getPackages): output the appropriate LaTeX for natbib support.
6393 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6394 variables "use_natbib" and "use_numerical_citations" when reading the
6396 (readInset): read the various natbib cite commands.
6397 (validate): white-space change.
6399 * bufferparams.[Ch]: new variables "bool use_natbib" and
6400 "bool use_numerical_citations".
6401 (writeFile): output them in the LyX file.
6403 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6405 * lyxfunc.C (getStatus): add support for all the inset insertion
6408 * text2.C (insertInset):
6409 * paragraph.C (insetAllowed):
6410 * BufferView_pimpl.C (insertInset): update to take in account the
6411 renaming of insertInsetAllowed
6413 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6415 * text2.C (getInset): new method. returns inset at cursor position.
6417 * BufferView_pimpl.C (Dispatch): changes because of this.
6419 * LyXAction.C (init): rename open-stuff to inset-toggle.
6421 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6423 * text2.C (toggleInset): renamed from openStuff; use
6426 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6428 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6430 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6432 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6434 * buffer.C (readLyXformat2): Add filename to the error dialog
6436 2001-07-18 Juergen Vigna <jug@sad.it>
6438 * tabular.C (GetCellNumber): put an assert here instead of the check!
6440 2001-07-17 Juergen Vigna <jug@sad.it>
6442 * BufferView_pimpl.C (toggleSelection): adapted too.
6444 * text.C (selectNextWord): adapted for use with insets.
6445 (selectSelectedWord): ditto
6447 2001-07-17 Juergen Vigna <jug@sad.it>
6449 * sp_spell.C (PSpell): fix initialitation order.
6451 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6453 * paragraph.C: spacing
6455 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6457 * sp_spell.C: repair language selection for pspell
6459 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * lyxfunc.h: change more methods to begin with lower char.
6463 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6465 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6466 for unknown layouts.
6468 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6470 * buffer.C (readLyXformat2): Generate an error dialog if there are
6473 2001-07-16 Juergen Vigna <jug@sad.it>
6475 * sp_spell.C: always compile ISpell part.
6477 * lyxrc.C: added use_pspell entry and it's handling.
6479 2001-07-13 Juergen Vigna <jug@sad.it>
6481 * sp_spell.C: removed double includes.
6483 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6485 Consistent use of Lsstream.h:
6486 * Lsstream.h: added using std::stringstream for consistencies sake.
6488 * buffer.C: removed using std::stringstream
6490 * lyxfont.C (stateText):
6491 * paragraph.C (asString):
6492 * text.C (selectNextWord, selectSelectedWord):
6493 * text2.C (setCounter):
6494 * vspace.C (asString, asLatexString):
6495 std::ostringstream -> ostringstream.
6497 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6499 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6500 * commandtags.h: add LFUN_HELP_ABOUTLYX
6501 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6503 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6505 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6507 * lyx_gui_misc.C: remove spellchecker
6508 * lyxfunc.C: showSpellchecker
6510 * sp_ispell.h: added
6511 * sp_pspell.h: added
6513 * sp_form.[Ch]: removed
6514 * spellchecker.[Ch]: removed
6516 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6518 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6520 (simpleTeXSpecialChars): Simply print the input character without
6521 any special translation if pass_thru is set.
6523 * layout.h: Added bool pass_thru to layout class for being able to
6524 implement pass through of a paragraph for Literate Programming.
6526 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6527 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6528 * layout.C (Read): add "passthru" to list of layout tags and add
6529 code to set the pass_thru boolean when it is read.
6531 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6533 * trans_decl.h: remove allowed from KmodInfo
6535 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6539 * paragraph_pimpl.C (erase): use boost::prior
6541 * Painter.C (text): use data() instead of c_str() when length is
6543 * WorkArea.C (putClipboard): ditto
6544 * font.h (width): ditto
6546 * BufferView2.C: use it-> instead of (*it). for iterators
6548 * paragraph_pimpl.C: ditto
6549 * paragraph.C: ditto
6550 * minibuffer.C: ditto
6555 * converter.C: ditto
6557 * Variables.C: ditto
6558 * TextCache.C: ditto
6559 * MenuBackend.C: ditto
6560 * LyXAction.C: ditto
6562 * FloatList.C: ditto
6564 * ColorHandler.C (LyXColorHandler): ditto
6566 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6568 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6570 * text2.C (openStuff): reintroduce this method (which had been
6571 nuked in NEW_INSETS frenzy).
6573 * lyxfunc.C (Dispatch): when an action has not been handled, use
6574 its name in the error message, not its number.
6576 * paragraph.C (inInset): change method name to begin with lowercase.
6579 * text2.C: updates because of this.
6581 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6583 * ToolbarDefaults.C (add): add spaces in error message
6585 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6587 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6588 (readLyXformat2): rename return_par to first_par, use lyxlex's
6589 pushToken and remove the manual push handling.
6590 (parseSingleLyXformat2Token): add another ert comp. variable:
6591 in_tabular, rename return_par to first_par. handle newlines better
6593 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6595 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6597 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6599 * text2.C (getParFromID): removed
6601 * buffer.C (getParFromID): new method moved form lyxtext.
6602 * BufferView2.C (insertErrors): adjust
6603 (setCursorFromRow): adjust
6604 * BufferView_pimpl.C (restorePosition): adjust
6605 * lyxfunc.C (Dispatch): adjust
6606 * undo_funcs.C (textUndo): adjust
6608 (textHandleUndo): adjust
6609 (textHandleUndo): adjust
6611 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6613 * buffer.C: up' the LYX_FORMAT
6615 * lyxfont.h: turn NO_LATEX on as default
6617 * buffer.C (insertErtContents): new methods of tex style compability.
6618 (parseSingleLyXformat2Token): use it several places.
6619 * tabular.C (OldFormatRead): and here
6621 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6623 * text2.C: remove some commented code.
6626 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6627 * trans.C: changes because of the above.
6629 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6631 * text2.C (setCounter): Fix counters bug with bibliography layout.
6633 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6635 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6636 own member functions
6637 (simpleTeXSpecialChars): ditto
6639 2001-07-06 Juergen Vigna <jug@sad.it>
6641 * a lot of files: changed the access to LyXText::status and the
6642 call of undo-functions.
6644 * undo.[Ch]: added a inset_id to the undo informations.
6646 * undo_funcs.[Ch]: added and moved here all undo functions.
6648 * lyxtext.h: give the status enum a weight, made status_ a private
6649 variable and made accessor functions for it, removed the whole bunch
6650 of undo-functions as they are now in their own file, make some
6651 functions publically available. Added function ownerParagraph with
6654 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6655 made InInset() a const function, added getParFromID() function.
6657 * buffer.[Ch]: added const version for inset_iterator functions,
6658 added getInsetFromID() function.
6660 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6661 changed undo functions for new version.
6663 2001-07-05 Juergen Vigna <jug@sad.it>
6665 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6666 unknow mechanism does not call the proper constructor but only this
6667 one also if I request the other!?
6669 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6671 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6673 * text2.C (LyXText): use initialization lists.
6675 * lyxtext.h (Selection): initialize set_ and mark_
6676 (init): remove method
6678 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6680 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6682 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6684 * screen.[Ch]: change method names to begin with lowercase
6686 * BufferView_pimpl.C (updateScrollbar): simplify further and
6687 hopefully make it a bit faster.
6689 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6691 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6692 calling directly xforms functions.
6694 * Painter.C (Painter):
6695 * lyx_cb.C (MenuWrite):
6696 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6699 * lyx_gui.C: remove bogus guiruntime extern declaration.
6701 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6703 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6705 (redoDrawingOfParagraph): ditto
6706 (redoParagraphs): ditto
6707 (cutSelection): don't create a object for CutAndPaste use the
6708 static method directly
6709 (pasteSelection): ditto
6711 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6714 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6716 * modifications to some other files because of this.
6718 * Makefile.am (lyx_SOURCES): add XFormsView
6720 * XFormsView.[Ch]: new files
6722 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6723 the main window. Move the gui dependent stuff to XFormsView
6725 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6727 * tabular.C (GetCellInset): update cur_cell also in the row/col
6728 version of this function.
6730 * lyxfunc.C: no need to include figure_form.h here.
6736 * lyxvc.C: no need to include forms.h here.
6738 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6740 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6742 * lyxfunc.C (Dispatch):
6744 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6745 constructor argument.
6747 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6749 * paragraph.C (Paragraph): dont't clear, and just set layout.
6750 (makeSameLayout): use params's copy contructor.
6752 * ParagraphParameters.[Ch] (makeSame): delete method
6754 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6756 * Variables.[Ch]: fix indentation, rename set to isSet
6758 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6760 * lyxfunc.C (Dispatch): fix typo
6762 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6764 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6767 * bufferlist.C: include assert.h for emergencyWrite().
6769 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6771 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6772 give up at last (bug #425202) !
6774 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6780 * spellchecker.C: strip spellchecker options and bring up
6781 preferences tab instead
6783 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6785 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6786 the istringstream constructor
6788 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6790 * paragraph.C (getLayout): fix return value
6792 * paragraph.h: do not declare getLayout as inline.
6794 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6796 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6798 * lyxcursor.h (operator<): new func
6799 (operator>): new func
6800 (operator>=): new func
6801 (operator<=): new func
6803 * text.C (changeCase): use selection.start and selection.end
6804 (changeRegionCase): require from to be <= to. Require par to be a
6807 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6809 2001-06-27 Juergen Vigna <jug@sad.it>
6811 * text.C (cursorLeftOneWord): changed to return the cursor and added
6812 overlay with BufferView * parameter which calls this one.
6814 (selectWord): use new getWord function.
6815 (changeCase): renamed from changeWordCase as and extended to work
6818 * lyxtext.h: added enum word_location
6820 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6821 changeCase as this operates now also on selections.
6823 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6825 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6827 * many files: send debug output to Debug::INFO instead of
6830 * converter.C (View):
6832 (Move): send debug output to Debug::FILES instead of console.
6834 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6836 * lyxfunc.C (getStatus): use func_status
6838 * func_status.h: new header, describing the results of
6841 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6844 2001-06-25 The LyX Project <jug@sad.it>
6846 * buffer.C (sgmlOpenTag):
6848 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6850 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6852 * text2.C: remove some dead code
6854 * tabular.C (GetCellInset): store the last cell checked (gotten)
6856 * tabular.h: add the helper for the speedup
6858 * lyxtext.h: remove some dead code
6860 2001-06-26 The LyX Project <Asger>
6862 * paragraph.C: Change export to LaTeX of alignment to
6863 \begin{center} and family for better roundtrip work with reLyX.
6865 * Tune the math drawing a bit.
6867 2001-06-25 The LyX Project <Asger>
6869 * LColor.C (LColor): New color for math background. New color
6872 2001-06-25 The LyX Project <jug@sad.it>
6874 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6877 * bufferlist.C (newFile): do not restrict to files ending with
6880 * BufferView_pimpl.C (MenuInsertLyXFile):
6882 2001-06-24 The LyX Project <jug@sad.it>
6884 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6887 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6889 * lyxtext.h: rename most methods to begin with a small char.
6890 Lots of changes because of this.
6892 * paragraph.C (Paragraph): do not call fitToSize
6893 (erase): call Pimpl::erase
6894 (insertChar): call Pimpl::insertChar
6895 (insertInset): call Pipl::insertInset
6896 (breakParagraph): do not call fitToSize
6897 (breakParagraphConservative): do not call fitToSize
6898 (fitToSize): remove method
6900 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6902 2001-06-24 The LyX Project <Asger>
6904 * Fix Qt compilation^2
6906 2001-06-24 The LyX Project <jug@sad.it>
6908 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6909 depthHook(getDepth()-1).
6912 * ParagraphParameters.h:
6913 * ParameterStruct.h: change type of depth to unsigned int ==
6914 depth_type. Many adaptations to other files before of that.
6916 2001-06-24 The LyX Project <Asger>
6918 * Fix Qt compilation.
6920 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6922 * paragraph.h: renamed several methods to begin with small letter.
6923 several changes to many parts of the code because of this.
6925 2001-06-23 The LyX Project <jug@sad.it>
6927 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6928 rewritten to discard all double spaces when KeepEmpty is off
6929 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6930 to only handle newlines but not fiddle with spaces and friends.
6932 * lyxfunc.C (MenuNew): when doing 'new from template', use
6933 template_path as default directory
6935 2001-06-23 The LyX Project <Asger>
6937 * Clean-up of header file includes all over
6938 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6940 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6942 * paragraph.h: renamed from lyxparagraph.h
6944 2001-06-23 Asger <lyx@violet.home.sad.it>
6946 * Buffer.h: Removed Buffer::resize
6947 * BufferList.h: Removed BufferList::resize
6948 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6949 the document lazily when we change the width, or the font settings.
6951 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6953 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6955 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6957 * buffer.h: remove out of date comment
6959 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6962 * screen.C: fix "theoretical" GC leak
6964 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6966 * LaTeX.C (scanAuxFile):
6967 (deplog): remove trailing \r when reading stream (useful under
6970 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6972 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6973 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6974 and BufferView::theLockingInset(Inset*), so should use them and not
6975 access bv_->text->the_locking_inset directly.
6977 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6979 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6982 * tex-defs.h: remove old unused file
6984 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6986 * BufferView_pimpl.C: fix typo, remove minibuffer message
6987 when buffer has loaded
6989 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6991 * lyxfunc.C (Dispatch): use stringstream
6992 (MenuNew): use stringstream
6993 (Open): use stringstream
6995 * importer.C (Import): use stringstream
6997 * bufferview_funcs.C (CurrentState): use stringstream
6999 * LaTeX.C (run): use stringstream
7001 * BufferView_pimpl.C (savePosition): use stringstream
7002 (restorePosition): use stringstream
7003 (MenuInsertLyXFile): use stringstream
7005 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7018 * vspace.C: removed // -*- C++ -*- as first line.
7021 * version.h: added // -*- C++ -*- as first line.
7023 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7027 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7030 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7032 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7035 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7037 * gettext.C: include LString.h even when --disable-nls is on.
7039 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7041 * converter.h (Get): changed argument type from int to
7042 FormatList::size_type to avoid unnecessary conversion.
7044 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7047 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7049 * gettext.h: include LString.h even when --disable-nls is on.
7051 2001-06-07 Juergen Vigna <jug@sad.it>
7053 * text.C (BreakAgain): subst spaces with tabs.
7055 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7056 (resizeInsetsLyXText): set force on resizeLyXText.
7058 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7060 * gettext.h (gettext_init):
7061 (locale_init): use a real definition instead of a macro
7063 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7065 * Bufferview_pimpl.C:
7067 * LColor.C: further lcolor tidies
7069 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7071 * BufferView_pimpl.C (updateScrollbar): simplify.
7073 * BufferView2.C: don't include insets/insetinfo.h, change
7074 prototype for insertInset and call the Pimpl version. let
7075 updateInset call Pimpl version.
7077 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7078 gotoInset to BufferView::Pimpl
7080 2001-06-01 Juergen Vigna <jug@sad.it>
7082 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7083 inside a LockingInset (is the update needed at all?).
7085 2001-05-31 Juergen Vigna <jug@sad.it>
7087 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7088 here not the old one otherwise how should we compare it afterwards
7091 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7096 * FontInfo.C: bring C functions into global namespace when
7099 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7101 * LString.h: make sure config.h has been loaded before LString.h.
7103 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7104 (one for each char read by EatLine!).
7106 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7109 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7111 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7112 to the same as the par we break from
7114 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7116 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7118 * MenuBackend.C (expand): also create menu entries for wide
7119 versions of the floats.
7121 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7123 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7125 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7126 frontends/Makefile.am
7132 * tabular.C (getTokenValue): add std::
7134 * tabular-old.C (getTokenValue): add std::
7135 (getTokenValue): ditto
7136 (getTokenValue): ditto
7138 * screen.C (ToggleSelection): adjust
7140 * lyxtext.h: put selection cursors inside a Selection struct.
7142 * lyxfunc.C (moveCursorUpdate): adjust
7144 * lyxfont.C (latexWriteStartChanges): add std::
7148 * font.h: delete with(char const *, LyXFont const &)
7150 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7152 * FontInfo.C (getFontname): add std::
7154 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7155 (workAreaButtonPress): adjust
7156 (tripleClick): adjust
7158 (moveCursorUpdate): adjust
7161 * BufferView2.C (gotoInset): adjust
7163 2001-05-30 Juergen Vigna <jug@sad.it>
7165 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7166 to check pspell I add this as default as I now have new pspell
7167 libraries and they seem to use this.
7169 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7171 * text2.C (CutSelection): make the cursor valid before the call to
7174 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7176 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7177 relied on 0 terminated strings and other horrors. Bug found due to
7178 the new assert in lyxstring!
7180 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7183 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7185 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7188 * lyxfunc.C (processKeySym): change method of getting to the
7191 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7192 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7193 * BufferView_pimpl.[Ch]: here as private methods.
7195 2001-05-28 Juergen Vigna <jug@sad.it>
7197 * text.C (SetHeightOfRow): added the update() call again as it is
7198 needed to initialize inset dimensions!
7200 2001-05-16 Juergen Vigna <jug@sad.it>
7202 * text2.C (SetCharFont): Add new function with BufferView * and
7203 bool toggleall parameters for setting insets internal fonts.
7204 (SetFont): Freeze the undo as we may change fonts in Insets and
7205 all this change should be inside only one Undo!
7207 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7208 setting font's in insets as for them we have the SetFont function!
7210 2001-05-15 Juergen Vigna <jug@sad.it>
7212 * text2.C (ClearSelection): to be sure we REALLY don't have any
7215 * tabular.C (TeXCellPreamble): fixed the left border problem for
7218 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7220 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7223 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7225 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7226 LFUN_BREAKPARAGRAPH.
7228 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7229 help test to "internal only", similar for LFUN_INSERT_URL
7231 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7232 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7233 auto_region_delete and deadkeys.
7235 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7238 * LColor.C: remove some dead entries, tidy a little
7240 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7242 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7244 (Dispatch): implement LFUN_ESCAPE
7246 * commandtags.h: add LFUN_ESCAPE
7248 * LyXAction.C (init): add entry for LFUN_ESCAPE
7250 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7251 Remove commented code.
7252 (insertNote): moved here
7253 (open_new_inset): moved here
7255 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7258 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7260 * kbmap.C (findbinding): clean it up and make it work correctly.
7262 * lyx_main.C (init): do not pass argc and argv as parameters
7264 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7266 * buffer.C: fix path for OS/2 & Win32
7270 * lyx_main.C: Added os:: class.
7272 * os2_defines.h: update
7274 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7276 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7277 better by trying again with reduced state.
7279 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7281 * lyxrc.C (read): print error about invalid key sequence only when
7282 debugging (because not all latinX keysyms are known to some X
7285 * kbsequence.C (getiso): add a few std:: qualifiers
7286 (getiso): comment out extra return statement.
7288 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7290 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7292 (Dispatch): enhance the accent inset a bit. (not perfect)
7294 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7296 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7298 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7300 * bufferlist.C (emergencyWrite): fix assert() call
7302 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7304 * text.C (InsertChar): Added trivial patch to only send the "you
7305 can not do multiple spaces this way" message once during a
7308 2001-05-08 Baruch Even <baruch@lyx.org>
7310 * Makefile.am: Changed order of libraries to get LyX to link properly
7311 with the gnome frontend.
7313 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7315 * LaTeXFeatures.h: add a std:: qualifier
7317 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7319 * paragraph.C (String): use stringstream
7321 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7323 * paragraph.C (writeFile): remove footflag arg
7325 * buffer.C (makeLaTeXFile): use stringstream
7326 (latexParagraphs): remove footnot gurba
7328 * LaTeXFeatures.C (getPackages): use stringstream
7329 (getMacros): likewise
7330 (getTClassPreamble): likewise
7331 (getFloatDefinitions): new method
7333 * paragraph.C (writeFile): reindent
7336 * WorkArea.h: revert the xpos + etc changes.
7338 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7340 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7342 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7343 (pasteSelection): likewise
7344 * text2.C (CreateUndo): likewise
7346 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7348 * minibuffer.C (peek_event): temporarily reduce the functionality
7349 of the minibuffer (to allow args on lfuns)
7351 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7352 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7354 * buffer.C (readInset): add compability reading of old float
7355 lists, add reading of new style float list.
7356 (readInset): avoid reevaluation of inscmd.getCmdName()
7357 (getLists): reindent
7359 * MenuBackend.C (MenuItem): implement parsing of
7360 md_floatlistinsert and md_floatinsert.
7361 (expand::LastFiles): move initalizaton of iterators out of loop,
7363 (expand::Documents): introduce typdedef vector<string> Strings,
7365 (expand::ExportFormats): introduce typedef vector<Format const *>
7366 Formats, and use it.
7367 (expand): implement FloatListInsert and FloatInsert.
7369 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7370 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7371 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7373 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7375 (Dispatch::LFUN_FLOAT_LIST): implement
7377 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7379 * LaTeX.C (run): Fix problem with --export code.
7381 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7383 * BufferView.[Ch] (workarea): removed.
7384 (getClipboard) new method; wrapper for workarea()->getClipboard()
7386 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7389 * WorkArea.h (width, height, xpos, ypos): These methods all
7390 returned the dimensions of the work_area sub-area of WorkArea,
7391 resulting in a position error if the WorkArea were resized. Now
7392 return the dimensions of the entire WorkArea.
7394 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7396 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7398 * LaTeX.C (deplog): correct the syntax of regex reg1
7400 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7402 * undo.C: remove !NEW_INSETS cruft
7404 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7406 * text2.C: remove !NEW_INSETS cruft
7408 * text.C: remove !NEW_INSETS cruft
7410 * tabular.C: remove !NEW_INSETS cruft
7412 * spellchecker.C: remove !NEW_INSETS cruft
7414 * lyxtext.h: remove !NEW_INSETS cruft
7416 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7418 * lyxfunc.C: remove !NEW_INSETS cruft
7420 * lyxfind.C: remove !NEW_INSETS cruft
7422 * lyx_cb.C: remove !NEW_INSETS cruft
7424 * figureForm.C: remove !NEW_INSETS cruft
7426 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7428 * buffer.[Ch]: remove !NEW_INSETS cruft
7430 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7432 * CutAndPaste.C: remove !NEW_INSETS cruft
7434 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7436 * BufferView2.C: remove !NEW_INSETS cruft
7438 * BufferView.h: remove !NEW_INSETS cruft
7440 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7442 * Lsstream.h: include LString.h before the sstream headers to
7443 fix problem with gcc 2.95.3 and lyxstring
7445 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7447 * lyx_main.C: add using directives when needed for C functions
7448 declared in std:: namespace.
7450 2001-04-27 Juergen Vigna <jug@sad.it>
7452 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7453 (SetHeightOfRow): comment out the update call should not be needed!
7455 2001-04-13 Juergen Vigna <jug@sad.it>
7457 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7458 (LyXTabular): tried to minimize operator= operations (and realized
7459 hopfully Lars wish).
7461 2001-04-27 Juergen Vigna <jug@sad.it>
7463 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7465 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7467 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7469 * buffer.C (readInset): hack to make listof algorithm work
7471 * BufferView_pimpl.C: hack to make listof algorithm work
7473 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7475 * LyXAction.C: removed all !NEW_INSETS cruft
7476 (init): moved lfun_item in method
7478 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7480 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7482 * BufferView2.C (theLockingInset): white space.
7484 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7486 * minibuffer.C: include <iostream>
7488 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7490 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7492 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7494 * text.[Ch] (TransposeChars): new method
7496 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7498 * call message directly through LyXView instead of through LyXFunc
7499 * BufferView2.C: adjust
7500 * BufferView_pimpl.C: adjust
7501 * FontLoader.C: adjust
7503 * bufferview_funcs.C: adjust
7504 * converter.C: adjust
7505 * figureForm.C: adjust
7506 * importer.C: adjust
7508 * lyx_gui_misc.C: adjust
7512 + more files in subdirs
7514 * lyxparagraph.h (size): move up int file
7517 * adjust all uses of Assert to lyx::Assert.
7519 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7520 lyxfunctional in namespace lyx
7521 * layout.C (hasLayout): ditto
7524 (delete_layout): ditto
7525 (NumberOfClass): ditto
7526 * converter.C (GetFormat): ditto
7531 * bufferlist.C (getFileNames): ditto
7532 (emergencyWriteAll): ditto
7535 * MenuBackend.C (hasSubmenu): ditto
7538 * BufferView_pimpl.C (getInsetByCode): ditto
7540 2001-04-18 Juergen Vigna <jug@sad.it>
7542 * vspace.C (asLatexString): fixed the 100% problem.
7544 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7546 * lyxfunc.C (Dispatch):
7548 * minibuffer.h: add a few std:: qualifiers
7550 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7552 * minibuffer.[Ch]: reimplement so that commands is initiated and
7553 run from lyxfunc, simplified som handling, and made the completion
7554 and history code for complete. wip.
7556 * lyxfunc.C (processKeySym): call message
7557 (miniDispatch): new temporary method
7558 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7559 (LFUN_MESSAGE): implement
7560 (LFUN_MESSAGE_PUSH): implement
7561 (LFUN_MESSAGE_POP): implement
7562 (initMiniBuffer): the initial/defualt minibuffer message.
7564 * lyxfont.[Ch]: inline some more getters
7566 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7568 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7570 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7571 (AutoSave): use LFUN_MESSAGE
7572 (Reconfigure): ditto
7574 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7576 * figureForm.C: use LFUN_MESSAGE
7578 * converter.C (runLaTeX): use LFUN_MESSAGE
7580 * bufferview_funcs.C: use LFUN_MESSAGE
7582 (changeDepth): ditto
7584 * bufferparams.h: use boost::
7586 * bufferlist.h: inherit privately from noncopyable
7588 * bufferlist.C (loadLyXFile): remove some commented code.
7590 * buffer.C (runChktex): use LFUN_MESSAGE
7592 * ShareContainer.h: inherit privately from noncopyable
7594 * ParagraphParameters.[hC] (depth): inline it.
7596 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7598 (message): new method
7599 (messagePush): ditto
7601 (show): init minibuffer
7602 (showState): direct call
7604 * LaTeX.[Ch]: inherit privately from noncopyable
7605 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7606 instead of WriteStatus.
7608 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7610 * BufferView_pimpl.C (buffer): don't init minibuffer
7611 (workAreaButtonPress): use LFUN_MESSAGE
7612 (workAreaButtonRelease): ditto
7613 (savePosition): ditto
7614 (restorePosition): ditto
7615 (MenuInsertLyXFile): ditto
7616 (workAreaExpose): don't init minibuffer
7617 (update): remove commented code, simplify
7619 * BufferView2.C (openStuff): use LFUN_MESSAGE
7620 (toggleFloat): ditto
7623 (copyEnvironment): ditto
7624 (pasteEnvironment): ditto
7629 (updateInset): remove some commented code
7631 * lastfiles.h: inherit privately from noncopyable
7636 * lyxlex_pimpl.h: ditto
7638 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7639 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7640 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7642 * LyXAction.h: inherit privately from noncopyable, add methods
7643 func_begin, func_end, returning iterators to the func map.
7645 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7646 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7647 (func_begin): new method
7648 (func_end): new method
7650 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7652 (copySelection): ditto
7653 (pasteSelection): ditto
7655 * BufferView.C: whitespace change
7656 * BufferView.h: inherit privately from noncopyable
7658 2001-04-16 Allan Rae <rae@lyx.org>
7660 * tabular-old.C (l_getline):
7661 * spellchecker.C (sc_check_word):
7662 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7663 an unrecognised preprocessor directive. So ensure they're wrapped.
7665 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7667 * src/exporter.C (Export): Give an error message when path to file
7670 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7672 * LaTeX.C (deplog): Always check that foundfile exists.
7674 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7677 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7679 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7681 * tabular.[Ch] (getLabelList): implement new method
7683 * minibuffer.h: comment ouf setTiimer
7685 * minibuffer.C (ExecutingCB): constify res
7686 (peek_event): constify s
7687 (Set): constify ntext
7688 (Init): constify nicename
7690 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7692 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7693 (savePosition): use two params to Minibuffer::Set
7694 (restorePosition): ditto
7696 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7698 * lyx_main.C: include language.h
7700 * Makefile.am (lyx_main.o): add language.h
7702 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7708 * CutAndPaste.C: include gettext.h
7710 * lyxfont.h: remove old hack with ON and OFF.
7713 * lyxfont.h: do not include language.h...
7718 * bufferview_funcs.C:
7724 * paragraph.C: ... but do it here instead
7726 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7728 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7730 * tabular.C: small reformat
7732 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7735 (BreakParagraph): ditto
7736 (SetOnlyLayout): ditto
7739 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7742 * lastfiles.C: removed most using decl, add std:: where needed
7744 * buffer.C: ws changes
7746 * MenuBackend.C (class compare_format): put into anon namespace
7747 (expand): constify label, names, action, action2
7750 * text.C (SingleWidth): constify font
7751 (IsBoundary): constify rtl2
7752 (GetVisibleRow): constify ww
7754 * LaTeX.C (deplog): constify logfile
7756 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7758 (workAreaExpose): constify widthChange, heightChange
7760 * lyxrow.C (par): moved
7763 * lyxrow.h: as inlines here
7765 * lyxfont.h (shape): moved from lyxfont.C
7766 (emph): moved from lyxfont.C
7768 * lyxfont.C (LyXFont): use initialization list for all
7770 (shape): move to lyxfont.h as inline
7771 (emph): move to lyxfont.h as inline
7774 2001-04-04 Juergen Vigna <jug@sad.it>
7776 * vspace.C: had to include stdio.h for use of sscanf
7778 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7781 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7782 independent of xforms.
7784 2001-04-02 Juergen Vigna <jug@sad.it>
7786 * spellchecker.C: fixed namespace placing!
7788 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7790 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7791 the LyXParagraph * is 0.
7793 2001-03-29 Juergen Vigna <jug@sad.it>
7795 * vspace.C: added support for %, c%, p%, l%.
7796 (stringFromUnit): added helper function.
7797 (asLatexString): changed to give right results for the %-values.
7799 * buffer.C: convert the widthp in a width%.
7801 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7803 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7806 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7807 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7809 * lyx_cb.[Ch]: see above.
7811 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7815 * lyx.[Ch]: replaced by figure_form.[Ch].
7819 * lyxfunc.C: changed headers associated with above changes.
7821 2001-03-27 Juergen Vigna <jug@sad.it>
7823 * BufferView_pimpl.C: set the temporary cursor right!
7825 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7827 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7829 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7831 * LString.h: removed "using std::getline"!
7833 * BufferView_pimpl.C (Dispatch): changes due to changes in
7834 InsetInclude::Params.
7836 * buffer.C (tag_name): removed redundant break statements as they were
7837 producing lots of warnings with my compiler.
7839 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7841 * LString.h: add "using std::getline" when using the real <string>.
7843 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7845 * buffer.C: removed bitset usage.
7846 PAR_TAG moved to an anonymous name space.
7847 (tag_name): new funtion, also in the anonymous namespace.
7848 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7849 (makeDocBookFile): clean code. Completed transition from string arrays
7851 (SimpleDocBookOnePar): code clean.
7853 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7855 * tabular.C: add some comments.
7857 2001-03-22 Juergen Vigna <jug@sad.it>
7859 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7860 compatibility read a bit and fixed bug with minipage in different
7863 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7865 * buffer.C (pop_tag): removed.
7866 (push_tag): removed.
7867 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7868 array replaced with vector. Added support for CDATA sections.
7869 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7871 (makeDocBookFile): XML conformant declaration of CDATA section,
7872 fixed bug related to <emphasis> in the first paragraph char.
7873 (sgmlOpenTag): exclude empty tags.
7874 (sgmlCloseTag): ditto.
7876 * buffer.h (pop_tag): removed.
7877 (push_tag): removed.
7879 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7881 * language.h (Languages): added size_type and size().
7883 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7885 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7886 response on compability reading of minipages. One probliem is that
7887 the old usage of minipages was «flertydig»
7889 * several files here and in subdirs: don't use static at file
7890 scope use anon namespaces instead.
7892 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7894 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7895 LaTeX output. This is necessary for Literate document
7898 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7900 * buffer.C: insert hfill when needed.
7902 * tabular.C (l_getline): use string::erase, small whitespace change.
7904 * BufferView_pimpl.C: try the anon namespace.
7907 2001-03-16 Juergen Vigna <jug@sad.it>
7909 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7910 otherwise it won't open options-dialogs.
7912 * buffer.C: honor pextraWidth(p) on converting minipages.
7914 * tabular.C (l_getline): changed the functions to strip trailing \r.
7916 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7918 * BufferView_pimpl.C:
7919 * minibuffer..C: added "using SigC::slot" declaration.
7921 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7923 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7929 * paragraph.C: ditto
7931 * lyxtext.h: NO_PEXTRA
7933 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7935 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7936 * ParameterStruct.h: ditto
7937 * ParagraphParameters.h: ditto
7938 * lyxparagraph.h: ditto
7940 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7942 * buffer.C: add compability for minipage alignment.
7943 (latexParagraphs): remove unwanted pextra check.
7945 * several files: remove CXX_WORKING_NAMESPACES
7947 * buffer.C (pop_tag): tie is in namespace boost
7949 * BufferView.h: noncopyable is in namespace boost
7954 * lastfiles.h: ditto
7955 * bufferlist.h: ditto
7956 * ShareContainer.h: ditto
7958 * LyXAction.h: ditto
7961 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7963 * Merging changes from BRANCH_MVC back into HEAD.
7965 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7967 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7969 * BufferView_pimpl.C: change from intl.C
7973 * Makefile.am: move combox.*
7979 * intl.C: remove dialog (covered by prefs)
7981 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7983 * lyxfunc.C (Dispatch): removed redundant break statement.
7985 2001-03-14 Juergen Vigna <jug@sad.it>
7987 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7989 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7991 * buffer.C: add hack to fix compability reading of minipages.
7993 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7995 * buffer.C (getLists): Cleanup.
7997 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7999 * lyxfont.C (update): don't honor toggleall on font size.
8001 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8005 * Makefile.am: moved to frontends/xforms/
8009 * BufferView_pimpl.C: changes for moved mathpanel
8011 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8013 * gettext.h: fix gettext_init() in --disable-nls
8015 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8017 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8019 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8022 * lyx.h: strip external form
8024 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8026 * BufferView_pimpl.C: add comment, destroySplash()
8028 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8030 * BufferView_pimpl.C:
8034 * lyxfunc.C: use re-worked insetinclude
8036 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8038 * buffer.C: add using std::stringstream.
8040 * lyx_cb.C: readd using std::ios.
8042 * buffer.C: add using std::map.
8044 * BufferView_pimpl.C: add using std::vector.
8046 * ShareContainer.h: add std:: to swap.
8048 * buffer.h: add some typedefs
8049 * buffer.C (getLists): use them
8050 (getLists): renamed from getTocList.
8051 add a counter for the different float types and use it in the
8053 (getLists): use the same counter for the NEW_INSETS and the "non"
8056 * lyx_cb.h: remove unused items, includes, using etc.
8058 * ShareContainer.h: remove some commented code, add more comments
8059 and "documentation".
8061 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8063 * buffer.C (getTocList): make the list also when NEW_INSETS is
8066 * buffer.h: remove TocType
8068 * buffer.C (getTocList): change to return a map<string,
8069 vector<TocItem> >, implement for dynamic number of list.
8071 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8072 * text2.C (PasteSelection): adjust
8073 * CutAndPaste.C (pasteSelection): adjust
8075 * FloatList.C (FloatList): update from the new_insets branch.
8076 * Floating.[Ch]: ditto
8077 * LaTeXFeatures.C: ditto
8079 * lyxlex_pimpl.C: ditto
8081 * paragraph.C (Last): remove when NEW_INSETS is defined.
8083 * other file: changes because of the above.
8085 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8087 * lyxparagraph.h: rename next to next_, previous to previous_,
8088 make them private for NEW_INSETS. Rename Next() to next(),
8089 Previous() to previous().
8091 * other files: changes because of the above.
8093 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8096 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8099 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8101 * main.C (main): pass lyx_localedir to gettext_init().
8103 * gettext.h: remove locale_init and gettext_init macros
8105 * gettext.C (locale_init): new function
8106 (gettext_init): new function
8108 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8111 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8113 * Moved credits to frontends:
8114 * credits.[Ch]: removed
8115 * credits_form.[Ch]: removed
8116 * lyx_gui_misc.C: remove credits stuff
8119 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8121 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8123 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8124 unneeded destructor.
8126 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8127 a standalone pointer again.
8129 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8131 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8137 * ToolbarDefaults.C:
8146 * BufferView_pimpl.C: use new file dialog in GUII
8149 * lyx_cb.C: remove LayoutsCB to Toolbar
8151 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8153 * ShareContainer.h (get): add std:: qualifier
8155 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8157 * ShareContainer.h: define a proper ShareContainer::value_type
8158 type (and use typename to please compaq cxx)
8160 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8162 * lyxparagraph.h: move serveral local vars to
8163 ParameterStruct/ParagraphParameters., use ShareContainer in
8164 FontTable., make vars in FontTable private and add getter and
8167 * paragraph.C: changes because of the above.
8169 * lyxfont.h: remove copy constructor and copy assignment. (the
8170 default ones is ok), move number inside FontBits. move inlines to
8173 * lyxfont.C: add number to initializaton of statics, move several
8174 inlines here. constify several local vars. some whitespace
8175 cleanup. Dont hide outerscope variables.
8177 * Spacing.h: add two new constructors to match the set methods.
8179 * ShareContainer.h: new file, will perhaps be moved to support
8181 * ParameterStruct.h: new file
8183 * ParagraphParameters.h: new file
8185 * ParagraphParameters.C: new file
8187 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8188 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8190 * BufferView_pimpl.C: ParagraphParameter changes.
8191 * buffer.C: Likewise.
8192 * bufferview_funcs.C: Likewise.
8194 * text2.C: Likewise.
8196 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8198 * lyxfind.C (LyXReplace): do not redefine default argument in
8200 (IsStringInText): ditto
8201 (SearchForward): ditto
8202 (SearchBackward): ditto
8204 2001-03-06 Juergen Vigna <jug@sad.it>
8206 * lyxfind.C (IsStringInText): put parentes around expressions.
8208 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8210 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8212 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8214 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8216 * stl_string_fwd.h: add comment
8218 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8221 * tabular.C: remove unused DocBook methods
8227 killed DO_USE_DEFAULT_LANGUAGE
8229 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8231 * lyx_gui.C: do not include language.h.
8233 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8234 arguments in function implementation.
8236 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8238 * BufferView_pimpl.C: add <ctime>
8240 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8242 * BufferView_pimpl.C: add using std::find_if
8244 2001-02-27 José Matos <jamatos@fep.up.pt>
8246 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8249 2001-02-11 José Matos <jamatos@fep.up.pt>
8251 * buffer.C (makeDocBookFile): command styles now have a parameter as
8254 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8256 * layout_forms.[Ch]: removed
8257 * lyx_cb.[Ch]: out character
8258 * lyx_gui.C: out character
8259 * lyx_gui_misc.C: out character
8260 * bufferview_funcs.C: : out character,
8261 added toggleall as parameter in ToggleAndShow
8263 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8265 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8267 * text2.C (SetCurrentFont): Disable number property at boundary.
8269 2001-02-26 Juergen Vigna <jug@sad.it>
8271 * lyxfunc.C (getStatus): added a string argument override function so
8272 that this is correctly called from LyXFunc::Dispatch if it contains a
8273 do_not_use_argument which is used!
8274 (Dispatch): added check for "custom" export and call appropriate func.
8276 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8278 * lyxrc.C: Add language_command_local, language_use_babel and
8279 language_global_options.
8281 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8283 * buffer.C (makeLaTeXFile): Use language_use_babel and
8284 language_global_options.
8286 2001-02-23 Juergen Vigna <jug@sad.it>
8288 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8289 which works with LyXText and putted it inside BufferView. Here now we
8290 only call for that part the BufferView::Dispatch() function.
8292 * BufferView.C (Dispatch): added.
8294 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8295 functions which needs to use a LyXText over from LyXFunc.
8296 (MenuInsertLyXFile): added
8297 (getInsetByCode): added
8298 (moveCursorUpdate): added
8299 (static TEXT): added
8301 2001-02-22 Juergen Vigna <jug@sad.it>
8303 * BufferView_pimpl.C (update): call a status update to see if LyXText
8306 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8308 * vc-backend.C (revert): implement for CVS
8309 (getLog): implement for CVS
8311 2001-02-20 Juergen Vigna <jug@sad.it>
8313 * text2.C (ClearSelection): added BufferView param for inset_owner call
8315 * lyxfunc.C (TEXT): added this function and use it instead of
8316 directly owner->view()-text of getLyXText().
8318 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8320 * src/layout_forms.C: out preamble
8321 * src/layout_forms.h: out preamble
8322 * src/lyx_cb.C: out preamble
8323 * src/lyx_cb.h: out preamble
8324 * src/lyx_gui.C: out preamble
8325 * src/lyx_gui_misc.C: out preamble
8326 * src/lyxfunc.C: connect with guii preamble
8328 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8330 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8332 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8334 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8335 whether to run bibtex.
8337 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8339 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8341 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8343 * Makefile.am (lyx_SOURCES): removed bibforms.h
8347 * text.C (GetVisibleRow): make several local vars const
8349 * tabular.C: small cleanup.
8351 * lyxserver.C (callback): use compare instead of strncmp
8353 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8354 inlines to after class or to paragraph.C
8356 * lyxfont.h: remove friend operator!=
8358 * converter.h: move friend bool operator< to non friend and after
8361 * combox.h: small cleanup
8363 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8364 to inlines after class def.
8366 * buffer.C (pop_tag): use string operations instead of strcmp
8368 * bmtable.c: doxygen, small cleanup
8370 * LaTeX.h: remove friend operator==
8372 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8384 * BufferView_pimpl.C:
8385 * BufferView.[Ch]: remove cruft
8387 2001-02-14 Juergen Vigna <jug@sad.it>
8389 * lyxfunc.C: removed #if 0 unused code
8391 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8393 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8395 * text2.C (SetSelection): added a BufferView * parameter
8397 2001-02-13 Juergen Vigna <jug@sad.it>
8399 * lyxfunc.C (Dispatch): fixed protected blank problem.
8400 * BufferView2.C (protectedBlank): added LyxText * parameter.
8402 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8403 (AppendColumn): same as above for column_info.
8405 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8406 (moveCursorUpdate): use a LyXText param for support of InsetText.
8408 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8409 (tripleClick): ditto
8411 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8413 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8415 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8417 * text2.C (SetSelection): set correct update status if inset_owner
8420 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8422 * tabular.C: remove some commented code.
8424 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8426 * BufferView_pimpl.C: call hideSplash()
8428 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8431 * bibforms.h: remove
8434 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8435 add LFUN_CHILD_CREATE
8437 * counters.h: fix tiny typo
8442 * lyx.C: move splash to frontends/xforms/
8444 * lyx_gui_misc.C: move Include and Bibform to frontends
8446 * lyxvc.h: clarify comment
8448 * vspace.C: tiny housekeeping
8450 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8452 * text.C (PrepareToPrint): RTL Fix.
8454 * paragraph.C (GetUChar): New method.
8455 (String): Use GetUChar.
8457 * buffer.C (asciiParagraph): Use GetUChar.
8459 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8461 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8463 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8466 * buffer.C: rename to getLogName(), handle
8467 build log / latex log nicely
8469 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8472 * MenuBackend.h: remove support for reference menuitem type.
8474 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8476 * BufferView_pimpl.C: housekeeping
8477 * BufferView_pimpl.h:
8482 * minibuffer.h: move Timeout GUI-I
8484 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8486 * lyxrc.C (read): Update converters data-structures.
8488 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8490 * LaTeX.h (operator!=): add operator != for Aux_Info
8492 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8494 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8496 * LaTeXLog.C: deleted, useful code moved to Buffer
8499 * buffer.C: new function getLatexLogName()
8505 * lyxfunc.C: use frontends for LaTeX and VC logs
8507 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8509 * LaTeX.h: yet another std:: that Allan forgot.
8511 * Variables.C (set): renamed from isset(), because this clashes
8512 with some HP-UX macros (grr).
8514 2001-02-06 Allan Rae <rae@lyx.org>
8516 * LaTeX.h: Another bug fix. Missing std:: this time.
8518 2001-02-04 Allan Rae <rae@lyx.org>
8520 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8521 floats problem. I've left it commented out because it's not quite
8522 correct. It should also test that the current object is a table or
8523 figure inset. But I haven't gotten around to figuring out how to do
8524 that. I *think* it'll be something like: "table" == inset.type()
8526 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8529 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8531 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8532 all the citation/databases/styles in the auxilary file.
8533 (run): Rerun latex if there was a babel language error.
8535 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8537 * text.C (Backspace): Preserve the font when changing newline char
8539 (BreakParagraph): If the cursor is before a space, delete the space.
8541 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8543 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8545 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8546 new argument (code).
8547 (ChangeCitationsIfUnique): New method.
8549 * paragraph.C (GetPositionOfInset): Handle bibkey.
8551 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8553 * BufferView_pimpl.h: change type of Position::par_pos to
8554 LyXParagraph::size_type.
8556 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8558 * BufferView_pimpl.C (savePosition, restorePosition): Write
8559 messages to minibuffer.
8561 2001-01-28 José Matos <jamatos@fep.up.pt>
8563 * buffer.C (makeDocBookFile): adds support for document language.
8564 A silly restriction on the name of LatexCommand types where removed.
8565 Added support for CDATA sections, allows to chars unescaped, used
8566 among others in code, to avoid escape < and >.
8568 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8570 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8571 saved positions instrad of a stack. Furthermore, a position is
8572 stored using paragraph id/paragraph position.
8574 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8575 Remove LFUN_REF_BACK.
8577 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8579 * converter.C (dvipdfm_options): New method.
8581 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8583 * vspace.C (isValidLength): Fix for empty input string.
8585 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8587 * LyXAction.C (init): change description of LFUN_FIGURE to
8590 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8592 * LaTeX.C: add using directive
8594 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8596 * MenuBackend.C (expand): Fix the sorting of the formats.
8598 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8600 * lyx_main.C: tiny error message fix
8602 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8604 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8605 calling fl_initialize(). This fixes the problem with ',' as
8606 decimal separator in text files.
8608 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8610 * trans.C (process): Fix the keymap bug.
8612 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8614 * LaTeX.C (scanAuxFiles): New method. Provides support for
8615 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8616 (scanLogFile) Scan for "run BibTeX" messages.
8618 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8619 OT1 font encoding. Also, load the aecompl package if the ae
8622 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8624 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8626 * texrow.C (increasePos): turn two error messages into debug
8629 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8631 * LaTeX.C (scanAux): Handle the \@input macro.
8632 (runBibTeX): Use scanAux().
8634 * language.C (latex_options_): New field.
8636 * LaTeXFeatures.C (getMacros): Add language macros.
8638 * buffer.C (makeLaTeXFile): Small fix.
8640 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8642 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8644 * text2.C: add a using directive.
8646 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8651 * lyxfunc.C: kill LyXBell.
8653 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8655 * text.C (IsBoundary): Remove the error message
8657 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8659 * lyxrc.C (setDefaults): Correct initialization value for
8662 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8664 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8667 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8670 * src/LyXAction.C: Added reference-next.
8672 * text.C (InsertChar): Use contains instead of strchr.
8674 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8676 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8678 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8679 alignment commands (when needed).
8681 * text.C (InsertChar): Add ':' to number separator chars.