1 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * buffer.C (latexParagraphs): adjust
5 * paragraph.C (TeXOnePar): move function...
6 (optArgInset): move function...
7 (TeXEnvironment): move function...
8 * paragraph_pimpl.C (TeXDeeper): move function...
9 * paragraph_funcs.C: ...here
11 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
13 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
15 * buffer.C (readInset): remove compability code for old Figure and
18 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
20 * buffer.C: ws changes
23 * BufferView_pimpl.C: ditto
30 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
32 * converter.[Ch]: split into itself +
35 * Makefile.am: += graph.[Ch] + format.[Ch]
42 * lyxrc.C: added #include "format.h"
44 2003-02-27 Angus Leeming <leeming@lyx.org>
46 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
49 * factory.C (createInset): add "label" to the factory.
51 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
52 string and do no more.
54 2003-02-27 Angus Leeming <leeming@lyx.org>
58 * factory.C (createInset):
59 * BufferView_pimpl.C (dispatch):
60 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
62 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
64 * lyxfunc.C (dispatch):
65 * text3.C (dispatch): pass name to params2string.
67 2003-02-26 Angus Leeming <leeming@lyx.org>
69 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
71 Rearrange the ~includes. Strip out the unnecessary ones.
73 * factory.C (createInset): reformat.
74 create new insets for the various LFUN_XYZ_APPLY lfuns.
76 2003-02-26 John Levon <levon@movementarian.org>
79 * lyxrow.C: add isParStart,isParEnd helpers
81 * paragraph.h: make isInserted/DeletedText take refs
84 * paragraph_funcs.C: remove #if 0'd code
89 * text.C: use lyxrow helpers above.
90 Move draw and paint routines to RowPainter.
91 Make several methods use refs not pointers.
92 Make backgroundColor() const.
93 Add markChangeInDraw(), isInInset().
94 Merge changeRegionCase into changeCase.
95 Make workWidth() shouldn't-happen code into an Assert.
98 * rowpainter.C: new class for painting a row.
101 * vspace.C: make inPixels take a ref
103 2003-02-26 Angus Leeming <leeming@lyx.org>
105 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
108 2003-02-25 John Levon <levon@movementarian.org>
110 * ispell.C: give the forked command a more accurate name
112 2003-02-22 John Levon <levon@movementarian.org>
115 * toc.C: make TocItem store an id not a Paragraph *
118 2003-02-21 Angus Leeming <leeming@lyx.org>
120 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
121 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
122 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
123 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
124 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
125 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
127 * BufferView_pimpl.C (dispatch):
128 * LyXAction.C (init):
129 * factory.C (createInset):
130 * lyxfunc.C (getStatus, dispatch):
131 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
133 2003-02-21 Angus Leeming <leeming@lyx.org>
135 * BufferView_pimpl.C (MenuInsertLyXFile):
136 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
137 * lyxfunc.C (menuNew, open, doImport):
138 no longer pass a LyXView & to fileDlg.
140 2003-02-21 Angus Leeming <leeming@lyx.org>
142 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
143 * LyXAction.C: change, BIBKEY to BIBITEM.
144 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
145 Change InsetBibKey to InsetBibitem.
146 Change BIBKEY_CODE to BIBITEM_CODE.
147 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
148 * factory.C: replace insetbib.h with insetbibitem.h.
149 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
150 * paragraph.C: replace insetbib.h with insetbibitem.h.
151 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
152 Change bibkey() to bibitem().
153 * text.C: remove insetbib.h.
154 * text2.C: replace insetbib.h with insetbibitem.h.
155 change bibkey() to bibitem().
156 * text3.C: remove insetbib.h.
157 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
159 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
161 * lyxrc.C (output): enclose user email in quotes (in case there are
164 2003-02-18 John Levon <levon@movementarian.org>
166 * buffer.h: add std::
168 2003-02-17 John Levon <levon@movementarian.org>
174 * pspell.C: reworking. Especially in ispell, a large
175 number of clean ups and bug fixes.
177 * lyxfunc.C: fix revert to behave sensibly
179 2003-02-17 André Pönitz <poenitz@gmx.net>
182 * commandtags.h: new LFUN_INSERT_BIBKEY
192 * paragraph_func.C: remove special bibkey handling
194 2003-02-17 John Levon <levon@movementarian.org>
196 * text.C (Delete): fix case where delete at the end of
197 the very first paragraph would not merge the pars
199 2003-02-17 John Levon <levon@movementarian.org>
201 * lyxrow.C: fix lastPrintablePos()
203 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
205 * bufferparams.C (writeLaTeX): add a std:here
207 * buffer.C: and remove a using directive there
209 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
211 * buffer.C (makeLaTeXFile): move the code that generates the
214 * bufferparams.C (writeLaTeX): ... in this new method
216 * LaTeXFeatures.C (getEncodingSet): make const
217 (getLanguages): make const
219 * MenuBackend.C (binding): returns the binding associated to this
221 (add): sets the status of each item by calling getStatus. Adds
223 (read): add support for OptSubMenu
224 (expand): remove extra separator at the end of expanded menu
226 2003-02-15 John Levon <levon@movementarian.org>
229 * BufferView_pimpl.C:
231 * bufferlist.C: remove pointless BufferStorage bloat. Remove
232 inset code that had no actual effect. Remove unneeded status
235 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
237 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
240 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
242 * text.C (drawLengthMarker): also draw an arrow marker for
243 symbolic lengths (medskip...)
245 2003-02-14 John Levon <levon@movementarian.org>
248 * tabular.C: better method names
250 2003-02-14 John Levon <levon@movementarian.org>
252 * BufferView_pimpl.C:
257 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
258 it's a more accurate name. Remove some pointless uses.
260 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
262 * text2.C (LyXText): change order of initilizers to shut off
265 2003-02-14 John Levon <levon@movementarian.org>
267 * buffer.C: use ParIterator for getParFromID()
272 * paragraph_pimpl.C: remove unused getParFromID()
274 2003-02-14 John Levon <levon@movementarian.org>
276 * buffer.C: remove some very old #if 0'd parse code
278 2003-02-13 John Levon <levon@movementarian.org>
282 * text2.C: move hfillExpansion(), numberOfSeparators(),
283 rowLast(), rowLastPrintable(), numberofHfills(),
284 numberOfLabelHfills() ...
287 * lyxrow.C: ... to member functions here.
292 * text.C: remove LyXText::beginningOfMainBody(), and call
293 p->beginningOfMainBody() directly. Move the check for
294 LABEL_MANUAL into the latter.
301 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
307 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
308 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
310 2003-02-13 John Levon <levon@movementarian.org>
312 * CutAndPaste.C: remove debug
314 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
316 * paragraph.C (asString): remove two unused variables
318 * lyxtextclass.C (readTitleType):
320 (LyXTextClass): handle new members titletype_ and titlename_
322 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
324 2003-02-09 John Levon <levon@movementarian.org>
327 * buffer.C: replace hand-coded list with a map for the dep clean
329 2003-02-08 John Levon <levon@movementarian.org>
331 * LaTeX.C: consolidate code into showRunMessage() helper
333 2003-02-08 John Levon <levon@movementarian.org>
338 * BufferView.C: change setSelectionOverString() to setSelectionRange()
339 and pass the size in explicitly
341 * BufferView_pimpl.h:
342 * BufferView_pimpl.C:
344 * BufferView.C: add getCurrentChange()
346 * BufferView_pimpl.h:
347 * BufferView_pimpl.C: handle change lfuns
349 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
350 for changes. Mark pasted paragraphs as new.
354 * DepTable.C: abstract time_t as lyx::time_type
357 * LColor.C: add colours for new text, deleted text, changebars
359 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
360 package use "usenames" option.
364 * LyXAction.C: add change lfuns
368 * author.C: author handling
371 * buffer.C: add a per-buffer author list, with first entry as
372 current author. Handle new .lyx tokens for change tracking. Output
373 author list to .lyx file. Output dvipost stuff to .tex preamble.
374 Bump lyx format to 222.
377 * bufferlist.C: add setCurrentAuthor() to reset current author details
381 * bufferparams.C: add param for tracking
383 * bufferview_funcs.C: output change info in minibuffer
387 * changes.C: add change-tracking structure
390 * debug.C: add CHANGES debug flag
393 * lyxfind.C: add code for finding the next change piece
396 * lyxrc.C: add user_name and user_email
399 * lyxrow.C: add a metric for the top of the text line
402 * text.C: implement accept/rejectChange()
405 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
406 Strike through deleted text.
411 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
412 to the insert functions. Rework erase to mark text as deleted, adding
413 an eraseIntern() and a range-based erase(). Implement
414 per-paragraph change lookup and accept/reject.
416 * paragraph_funcs.C: Fixup paste for change tracking.
418 * tabular.C: mark added row/columns as new.
420 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
421 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
423 * text2.C: leave cursor at end of selection after a cut.
425 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
427 * text.C (getLengthMarkerHeight):
428 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
429 visible on screen too.
431 2003-02-07 John Levon <levon@movementarian.org>
433 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
435 2003-02-05 Angus Leeming <leeming@lyx.org>
437 * lyxserver.C (read_ready): revert my patch of 11 September last year
438 as it sends PC cpu through the roof. Presumably this means that
439 the lyxserver will no longer run on an Alpha...
441 2003-01-30 Angus Leeming <leeming@lyx.org>
443 * factory.C (createInset): create an InsetCommandParam of type "index"
444 and use it to 'do the right thing'.
446 * text2.C (getStringToIndex): ensure that cursor position is always
447 reset to the reset_cursor position.
449 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
451 * lyxfunc.C (getStatus): "buffer-export custom" should never be
454 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
458 * lyxfunc.C: Output messages with identical spelling, punctuation,
461 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
463 * MenuBackend.C (expandFormats): List only viewable export formats
466 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
469 * lyxfunc.C (getStatus): Make sure that formats other than
470 "fax" can also be disabled
472 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
474 * text3.C (dispatch): put the lfuns that insert insets in 3
475 groups, and call doInsertInset with appropriate arguments.
476 (doInsertInset): new function, that creates an inset and inserts
477 it according to some boolean parameters.
479 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
481 * buffer.C (readFile): remember to pass on 'par' when calling
482 readFile recursively.
484 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
486 * MenuBackend.C (expandFormats): add "..." to import formats.
488 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
490 * paragraph.C (asString): Remove XForms RTL hacks.
492 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
495 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
497 * Makefile.am (LIBS): delete var
498 (lyx_LDADD): add @LIBS@ here instead.
500 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
502 * Clarify the meaning of "wheel mouse jump"
504 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
506 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
509 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
511 * importer.C (Loaders): do not preallocate 3 elements in the
512 vector, since one ends up with 6 elements otherwise
514 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
516 * DepTable.C (write): write the file name as last element of the
517 .dep file (because it may contain spaces)
518 (read): read info in the right order
520 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
522 * paragraph_pimpl.C (simpleTeXBlanks):
523 (simpleTeXSpecialChars):
524 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
526 * tabular.C (latex): add some missing case statements. Reindent.
528 * MenuBackend.C (expandToc): remove unused variable.
530 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
539 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
542 2003-01-05 John Levon <levon@movementarian.org>
545 * BufferView.C: add getEncoding()
548 * kbsequence.C: do not store last keypress
551 * lyxfunc.C: store last keypress here instead. Pass encoding
554 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
556 * lyx_main.C (init): remove annoying error message when following
557 symbolic links (bug #780)
559 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
561 * text.C (insertChar):
562 * lyxrc.C (getDescription): remove extra spaces
564 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
566 * lyxrc.C (getDescription): remove extra spaces
568 2002-12-20 John Levon <levon@movementarian.org>
570 * text3.C: hack fix for page up/down across tall rows
572 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
574 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
577 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
579 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
580 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
581 thesaurus is not compiled in
583 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
585 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
587 2002-12-16 Angus Leeming <leeming@lyx.org>
590 * lyx_main.C (init): remove override_x_deadkeys stuff.
592 2002-12-12 John Levon <levon@movementarian.org>
594 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
595 insert. Only remove shift modifier under strict
598 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
600 * MenuBackend.C (expandToc): fix crash.
602 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
604 * MenuBackend.C (expandToc): gettext on float names.
606 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
608 * lyxlength.[Ch]: set default unit to UNIT_NONE,
609 implement bool empty() [bug 490]
611 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
613 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
615 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
617 * several files: ws changes
619 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
621 * text2.C (setCounter): clean up a bit, use boost.format.
622 (updateCounters): initialize par upon declaration.
624 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
625 if the layout exists. We do not just store the layout any more.
626 (SwitchLayoutsBetweenClasses): use boost.format
628 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
630 * converter.C (convert): if from and to files are the same, use a
631 temporary files as intermediary
633 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
636 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
638 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
640 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
642 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
644 * tabular.C (asciiPrintCell): use string(size, char) instead of
647 * sgml.C (openTag): fix order of arguments to string constructor
650 * lyxfunc.C (dispatch): use boost.format
652 * lots of files: change "c" -> 'c'
654 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
656 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
658 2002-11-25 Angus Leeming <leeming@lyx.org>
660 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
662 * lyx_main.C (init): compile fix.
664 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
666 * lyx_cb.C (start): boost.formatify
667 do not include <iostream>
669 * lengthcommon.C: ws only
671 * boost-inst.C,BoostFormat.h: add more explict instantations
673 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * lots of files: handle USE_BOOST_FORMAT
677 2002-11-21 John Levon <levon@movementarian.org>
679 * pspell.C: fix compile
681 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
683 * lyxfunc.C (dispatch): use boost::format
687 * lyxfont.C (stateText): use boost::format
689 * lyx_main.C (LyX): use boost::format
691 (queryUserLyXDir): ditto
694 (typedef boost::function): use the recommened syntax.
696 * importer.C (Import): use boost::format
698 * debug.C (showLevel): use boost::format
700 * converter.C (view): use boost::format
705 * bufferview_funcs.C (currentState): use boost::format
707 * bufferlist.C (emergencyWrite): use boost::format
709 * buffer.C (readLyXformat2): use boost::format
710 (parseSingleLyXformat2Token): ditto
712 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
714 * LaTeX.C (run): use boost::format
716 * Chktex.C (scanLogFile): use boost::format
718 * BufferView_pimpl.C (savePosition): use boost::format
719 (restorePosition): ditto
720 (MenuInsertLyXFile): ditto
722 * BoostFormat.h: help file for explicit instation.
724 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
726 * tabular.C (latex): Support for block alignment in fixed width
729 2002-11-17 John Levon <levon@movementarian.org>
731 * BufferView_pimpl.C:
733 * lyxfunc.C: split filedialog into open/save
735 2002-11-08 Juergen Vigna <jug@sad.it>
737 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
738 by my last patch (hopefully).
740 2002-11-08 John Levon <levon@movementarian.org>
749 * toc.C: ParConstIterator, and use it (from Lars)
751 2002-11-07 Ben Stanley <bds02@uow.edu.au>
753 * lyxtextclass.[Ch]: revise and add doxygen comments
755 2002-11-07 John Levon <levon@movementarian.org>
757 * text.C: fix progress value for spellchecker
759 * toc.C: fix navigate menu for insetwrap inside minipage
761 * paragraph_funcs.C: added FIXME for suspect code
763 2002-11-07 John Levon <levon@movementarian.org>
765 * BufferView_pimpl.C: fix redrawing of insets
768 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
770 * text2.C (updateCounters): fix bug 668
772 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
774 * text3.C (dispatch): Do not make the buffer dirty when moving the
777 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * vc-backend.C: STRCONV
782 * text2.C (setCounter): STRCONV
784 * paragraph.C (asString): STRCONV
786 * lyxlength.C (asString): STRCONV
787 (asLatexString): ditto
789 * lyxgluelength.C (asString): STRCONV
790 (asLatexString): ditto
792 * lyxfunc.C (dispatch): STRCONV
795 * lyxfont.C (stateText): STRCONV
797 * importer.C (Import): STRCONV
799 * counters.C (labelItem): STRCONV
801 (numberLabel): remove unused ostringstream o
806 * bufferview_funcs.C (currentState): STRCONV
808 * buffer.C (readFile): STRCONV
809 (asciiParagraph): ditto
810 (makeLaTeXFile): ditto
812 * Spacing.C (writeEnvirBegin): STRCONV
814 * LaTeXFeatures.C (getLanguages): STRCONV
817 (getBabelOptions): ditto
818 (getTClassPreamble): ditto
819 (getLyXSGMLEntities): ditto
820 (getIncludedFiles): ditto
827 * LString.h: add the STRCONV macros
829 * BufferView_pimpl.C (savePosition): STRCONV
830 (restorePosition): ditto
831 (MenuInsertLyXFile): ditto
833 * vc-backend.C (scanMaster): change from submatch[...] to
836 * funcrequest.C: include config.h
838 * factory.C: include config.h
840 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
842 * box.C: include config.h
844 * LaTeX.C (scanAuxFile): change from submatch[...] to
848 2002-10-25 Angus Leeming <leeming@lyx.org>
850 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
852 * ispell.[Ch] (setError): new method.
853 * ispell.C (c-tor): move out child process into new class LaunchIspell.
854 Use setError() insetead of goto END.
856 * lyx_cb.C (AutoSave): move out child process into new class
859 2002-10-30 John Levon <levon@movementarian.org>
861 * text3.C: make start appendix undoable
863 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
865 * lyxlength.C (inPixels): Fix returned value.
867 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
870 2002-10-24 Angus Leeming <leeming@lyx.org>
872 * lyxgluelength.h: no need to forward declare BufferParams
873 or BufferView, so don't.
875 2002-10-21 John Levon <levon@movementarian.org>
877 * BufferView.C: menuUndo ->undo, redo
879 * BufferView.h: document, remove dead, make some methods private
883 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
888 * sgml.C: move sgml open/close tag into sgml.C
890 * bufferview_funcs.h: unused prototype
893 * lyxfunc.C: remove unused
896 * text.C: remove unused
898 2002-10-21 John Levon <levon@movementarian.org>
902 * BufferView_pimpl.h:
903 * BufferView_pimpl.C: fix mouse wheel handling based on
904 patch from Darren Freeman
906 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
908 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
910 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
912 * lyxlength.C (inPixels): Fix hanfling of negative length.
913 Fix LyXLength::MU case.
915 2002-10-16 John Levon <levon@movementarian.org>
917 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
919 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
921 * converter.C (view): add support for $$i (file name) and $$p
922 (file path) for the viewer command. If $$i is not specified, then
923 it is appended to the command (for compatibility with old syntax)
925 2002-10-14 Juergen Vigna <jug@sad.it>
927 * undo_funcs.C (textHandleUndo): alter the order in which the
928 new undopar is added to the LyXText, as we have to set first
929 the right prev/next and then add it as otherwise the rebuild of
930 LyXText is not correct. Also reset the cursor to the right paragraph,
931 with this IMO we could remove the hack in "redoParagraphs()".
933 2002-10-09 Angus Leeming <leeming@lyx.org>
935 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
936 to turn off an optimisation if a new inset is to be inserted.
938 2002-10-11 André Pönitz <poenitz@gmx.net>
940 * lyxtext.h: make some functions public to allow access
941 from inset/lyxtext for handling LFUN_PRIOR/NEXT
943 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
945 * text3.C (dispatch): when changing layout, avoid an infinite loop
948 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
950 * lyxrc.C (read): treat a viewer or converter command of "none" as
953 * MenuBackend.C (expandFormats): for an update, also allow the
954 formats that are not viewable
956 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
957 script if it is newer than the lyxrc.defaults in user directory
959 2002-10-07 André Pönitz <poenitz@gmx.net>
961 * text.C: Vitaly Lipatov's small i18n fix
963 2002-09-25 Angus Leeming <leeming@lyx.org>
965 * ispell.h: doxygen fix.
967 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
969 * buffer.h (readFile): Add a new argument to the method, to allow
970 reading of old-format templates.
972 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
974 * toc.C (getTocList): Get TOC from InsetWrap.
976 2002-09-16 John Levon <levon@movementarian.org>
978 * lyxfunc.C: check tabular for cut/copy too
980 2002-09-12 John Levon <levon@movementarian.org>
985 * factory.C: add header
988 * paragraph_funcs.C: cleanup
990 2002-09-11 John Levon <levon@movementarian.org>
992 * PrinterParams.h: odd/even default to true
994 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
996 * PrinterParams.h: update printer parameters for new xforms dialog
998 2002-09-11 Angus Leeming <leeming@lyx.org>
1000 * lyxserver.C (read_ready): re-write to make it more transparent
1001 and to make it work in coherent fashion under Tru64 Unix.
1003 2002-09-11 André Pönitz <poenitz@gmx.net>
1007 * text3.C: implement LFUN_WORDSEL
1009 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1011 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1012 make floatlist_ a boost::shared_ptr<FloatList>
1014 * lyxtextclass.C: include FloatList.h
1015 (LyXTextClass): initialize floatlist_
1016 (TextClassTags): add TC_NOFLOAT
1017 (Read): match "nofloat" to TC_NOFLOAT and use it.
1018 (readFloat): modify call to floatlist_
1022 * FloatList.[Ch] (FloatList): remove commented out float
1024 (erase): new function
1026 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1028 * MenuBackend.C (expandToc): fix crash when there is no document
1031 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1033 * many files: Add insetwrap.
1035 2002-09-09 John Levon <levon@movementarian.org>
1037 * text2.C: remove confusing and awkward depth wraparound
1039 2002-09-09 John Levon <levon@movementarian.org>
1041 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1044 * buffer.C: remove getIncludeonlyList()
1047 * lyxfunc.C: remove headers
1049 2002-09-09 Juergen Vigna <jug@sad.it>
1051 * text.C (getColumnNearX): fix form Michael this is most
1052 probably a cut&paste bug.
1054 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1056 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1058 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1059 references, ws changes.
1061 * text2.C (init): update counters after init
1062 (insertParagraph): no need to set counter on idividual paragraphs.
1063 (setCounter): access the counters object in the textclass object
1064 on in the buffer object.
1065 (updateCounters): ditto
1067 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1068 shared_ptr<Counters> to avoid loading counters.h in all
1070 (LyXTextClass): initialize ctrs_
1071 (TextClassTags): add TC_COUNTER, and ...
1072 (Read): use it here.
1073 (CounterTags): new tags
1074 (readCounter): new function
1075 (counters): new funtion
1076 (defaultLayoutName): return a const reference
1078 * counters.C (Counters): remove contructor
1079 (newCounter): remove a couple of unneeded statements.
1080 (newCounter): simplify a bit.
1081 (numberLabel): some small formatting changes.
1083 * buffer.[Ch]: remove all traces of counters, move the Counters
1084 object to the LyXTextClass.
1086 2002-09-06 Alain Castera <castera@in2p3.fr>
1088 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1089 package to set the horizontal alignment on fixed width columns.
1092 * lyx_sty.h: added tabularnewline macro def.
1094 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1096 2002-09-06 John Levon <levon@movementarian.org>
1098 * LyXAction.C: tooltips for sub/superscript
1100 * MenuBackend.C: a bit more verbose
1102 * lyxfunc.C: tiny clean
1104 * undo_funcs.C: document undo_frozen
1106 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * counters.C (Counters): add missing algorithm counter.
1110 * text2.C (setCounter): lookup the counter with layouts latexname
1111 instead of by section number.
1112 (setCounter): use a hackish way to lookup the correct enum
1114 a float name->type change
1115 reset enum couners with counter name directly instead of depth value.
1117 * counters.C (Counters): remove the push_backs, change to use the
1118 float type not the float name.
1119 (labelItem): remove unused string, float name->type change
1121 * counters.h: don't include vector, loose the enums and sects vectors
1123 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1125 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1126 (Read): add float->TC_FLOAT to textclassTags
1127 (Read): and handle it in the switch
1128 (readFloat): new function
1130 * FloatList.C (FloatList): comment out the hardcoded float
1133 * lyxlayout.h: ws change.
1135 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1137 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1139 2002-09-03 Angus Leeming <leeming@lyx.org>
1141 * BufferView_pimpl.h: qualified name is not allowed in member
1142 declaration: WorkArea & Pimpl::workarea() const;
1144 * factory.C: added using std::endl directive.
1146 * text3.C: added using std::find and std::vector directives.
1148 2002-08-29 André Pönitz <poenitz@gmx.net>
1151 * text2.C: remove unused member number_of_rows
1154 * BufferView2.C: remove file, move contents to...
1155 * BufferView.C: ... here
1157 * BufferView_pimpl.C:
1158 * factory.C: move more inset creation to factory
1160 * vspace.C: avoid direct usage of LyXText, ws changes
1163 don't provide direct access to WorkArea, use two simple
1164 acessors haveSelction() and workHeight() instead
1167 2002-08-29 John Levon <levon@movementarian.org>
1169 * BufferView_pimpl.C (dispatch): do not continue when
1172 2002-08-28 André Pönitz <poenitz@gmx.net>
1174 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1177 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1179 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1181 * buffer.C: increment LYX_FORMAT to 221
1183 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1184 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1186 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1188 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1190 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1192 * factory.C (createInset): use LyXTextClass::floats
1194 * MenuBackend.C (expandFloatListInsert):
1195 (expandFloatInsert):
1198 * text2.C (setCounter):
1200 * LaTeXFeatures.C (useFloat):
1201 (getFloatDefinitions):
1203 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1205 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1206 floatlist_, with accessor floats().
1208 * FloatList.h: remove global FloatList
1210 2002-08-26 André Pönitz <poenitz@gmx.net>
1212 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1216 * BufferView_pimpl.C:
1217 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1219 2002-08-25 John Levon <levon@movementarian.org>
1221 * LyXAction.C: fix margin note description
1223 2002-08-24 John Levon <levon@movementarian.org>
1227 * bufferview_funcs.C:
1229 * undo_funcs.C: cleanups
1231 * lyxfunc.C: disable CUT/COPY when no selection
1233 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1235 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1236 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1238 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1239 Add backward compatibility to "mono", "gray" and "no".
1241 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1243 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1244 (and file_format >= 200).
1246 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1248 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1250 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1252 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1254 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1256 * BufferView_pimpl.C:
1263 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1264 inset and code to make it work with the paragraph code. The inset
1265 can be anywhere in the paragraph, but will only do the expected
1266 thing in LaTeX if the layout file contains the parameter line
1268 (or more generally, a nonzero value) for that layout.
1270 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * paragraph.h: remove the declaration of undefined counters class
1275 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1277 * text2.C (setCounter): fixed enumeration mis-count as reported by
1278 Dr. Richard Hawkins.
1280 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1282 * paragraph_funcs.h: remove some unneeded includes
1284 * text.C (backspace): pasteParagraph now in global scipe
1286 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1287 (pasteSelection): ditto
1289 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1290 * paragraph_funcs.C (pasteParagraph): ... here
1292 2002-08-20 André Pönitz <poenitz@gmx.net>
1294 * commandtags.h: new LFUNs for swapping/copying table row/colums
1297 * lyxfunc.C: support for new lfuns
1299 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1302 * buffer.[Ch]: remove NO_COMPABILITY stuff
1304 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * boost.C (throw_exception): new file, with helper function for
1307 boost compiled without exceptions.
1312 * ParameterStruct.h:
1313 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1315 * bufferlist.C (emergencyWriteAll): use boost bind
1317 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1319 * text.C: include paragraph_funcs.h
1320 (breakParagraph): breakParagraph is now in global scope
1322 * paragraph_funcs.[Ch]: new files
1324 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1327 * buffer.C: include paragraph_funcs.h
1328 (insertStringAsLines): breakParagraph is now in global scope
1330 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1333 * CutAndPaste.C: include paragraph_funcs.h
1334 (cutSelection): breakParagraphConservative is now in global scope
1335 (pasteSelection): ditto
1337 * buffer.h: declare oprator== and operator!= for
1338 Buffer::inset_iterator
1340 * bufferlist.C (emergencyWrite): don't use fmt(...)
1342 * text3.C: add using std::endl
1344 * BufferView.C (moveCursorUpdate): remove default arg
1346 2002-08-20 André Pönitz <poenitz@gmx.net>
1348 * buffer.[Ch]: move inline functions to .C
1351 * BufferView_pimpl.C:
1353 * buffer.[Ch]: use improved inset_iterator
1356 * paragraph.[Ch]: write one paragraph at a time
1358 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1360 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1361 style if style is not specified.
1363 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1365 * text2.C (setCounter): when searching for right label for a
1366 caption, make sure to recurse to parent insets (so that a caption
1367 in a minipage in a figure float works) (bug #568)
1369 2002-08-20 André Pönitz <poenitz@gmx.net>
1371 * text3.C: new file for LyXText::dispatch() and helpers
1373 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1375 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1377 2002-08-19 André Pönitz <poenitz@gmx.net>
1380 * text.C: new LyXText::dispatch()
1382 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1384 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1386 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1388 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1391 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1393 * Makefile.am: use $(variables) instead of @substitutions@
1395 2002-08-15 André Pönitz <poenitz@gmx.net>
1398 * BufferView_pimpl.C: streamlining mathed <-> outer world
1402 * LyXAction.C: remove unused LFUN_MATH
1404 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1406 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1408 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * paragraph.C (Paragraph): reformat a bit
1411 (cutIntoMinibuffer): use builtin InsetList function instad of
1415 * buffer.C: include boost/bind.hpp, add using std::for_each
1416 (writeFileAscii): use ParagraphList iterators
1417 (validate): use for_each for validate traversal of paragraphs
1418 (getBibkeyList): use ParagraphList iterators
1419 (resizeInsets): use for_each to resizeInsetsLyXText for all
1421 (getParFromID): use ParagraphList iterators
1423 * BufferView2.C (lockInset): use paragraph list and iterators
1425 2002-08-14 John Levon <levon@movementarian.org>
1427 * lyxserver.C: remove spurious xforms include
1429 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1431 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1433 2002-08-13 André Pönitz <poenitz@gmx.net>
1436 * lyxfunc.C: further cleaning
1438 2002-08-13 André Pönitz <poenitz@gmx.net>
1440 * funcrequest.h: new constructor
1442 * funcrequest.C: move stuff here from .h
1445 * BufferView_pimpl.C:
1448 * lyxfunc.C: subsequent changes
1450 * lyxfunc.h: new view() member function
1452 * lyxfunc.C: subsequent changes
1454 2002-08-13 Angus Leeming <leeming@lyx.org>
1457 * BufferView_pimpl.C:
1465 changes due to the changed LyXView interface that now returns references
1466 to member variables not pointers.
1468 2002-08-13 Angus Leeming <leeming@lyx.org>
1470 * WordLangTuple (word, lang_code): return references to strings,
1475 * lyxtext.h: forward-declare WordLangTuple.
1480 * text.C: #include "WordLangTuple.h".
1483 * text.C: (selectNextWordToSpellcheck): constify return type.
1485 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1491 * paragraph_pimpl.h:
1494 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1496 Made updateCounter always count from start of buffer, and removed
1497 second argument (par).
1498 Reverted floats number display to '#'. Perhaps I'll try again when the
1499 code base is sanitized a bit.
1501 2002-08-12 Angus Leeming <leeming@lyx.org>
1503 * buffer.[Ch] (getLabelList): constify.
1505 2002-08-07 André Pönitz <poenitz@gmx.net>
1507 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1509 * funcrequest.h: extension to keep mouse (x,y) position
1511 2002-08-12 Juergen Vigna <jug@sad.it>
1513 * BufferView2.C (insertErrors): forbid undo when inserting error
1516 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1518 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1520 * ParagraphList.[Ch]: new files
1522 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1524 * BufferView2.C (lockInset): ParagraphList changes
1527 * bufferlist.C: ditto
1531 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1533 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1534 unused class variable counter_,
1536 * paragraph.[Ch] (getFirstCounter): delete unused function
1538 * counters.C: include LAssert.h
1539 (reset): add a new function with no arg, change other version to
1540 not have def. arg and to not allow empty arg.
1542 * text2.C (setCounter): remove empty arg from call to Counters::reset
1544 2002-08-11 John Levon <levon@movementarian.org>
1546 * Makefile.am: add WordLangTuple.h
1548 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1550 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1551 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1553 * insets/insettext.C: InsetList changes
1555 * graphics/GraphicsSupport.C (operator()): InsetList changes
1557 * toc.C (getTocList): InsetList changes
1559 * paragraph_pimpl.[Ch]: InsetList changes
1561 * paragraph.[Ch]: InsetList changes
1563 * buffer.C (inset_iterator): InsetList changes
1564 (setParagraph): ditto
1565 * buffer.h (inset_iterator): ditto
1566 * iterators.C (operator++): ditto
1567 * iterators.h: ditto
1569 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1571 * InsetList.[Ch]: new files, most InsetList handling moved out of
1574 * BufferView2.C (removeAutoInsets): InsetList changes
1576 (ChangeInsets): ditto
1578 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1580 * paragraph_pimpl.h (empty): new function
1582 * paragraph.[Ch] (empty): new function
1584 * other files: use the new Paragraph::empty function
1586 2002-08-09 John Levon <levon@movementarian.org>
1588 * lyxtext.h: remove unused refresh_height
1590 2002-08-09 John Levon <levon@movementarian.org>
1597 * paragraph.C: move sgml char escaping out of paragraph
1600 * paragraph.C: remove id setter
1604 * paragraph_pimpl.C: remove dead tex_code_break_column
1606 * bufferview_funcs.C: small cleanup
1608 * lyxfunc.C: remove dead proto
1610 * lyxtext.h: make some stuff private. Remove some dead stuff.
1612 * lyxgluelength.C: make as[LyX]String() readable
1614 2002-08-08 John Levon <levon@movementarian.org>
1619 * ToolbarDefaults.C:
1622 * toc.C: lyxaction cleanup
1624 2002-08-08 John Levon <levon@movementarian.org>
1626 * BufferView2.C: small cleanup
1629 * lyxfind.C: move unnecessary header into the .C
1631 2002-08-08 John Levon <levon@movementarian.org>
1633 * funcrequest.h: just tedious nonsense
1636 * lyx_main.C: cleanups
1639 * vspace.C: remove dead header lyx_main.h
1641 2002-08-07 Angus Leeming <leeming@lyx.org>
1644 * paragraph_pimpl.h:
1645 Forward declare class Counters in paragraph.h by moving the ctrs member
1646 variable into Paragraph::Pimpl.
1647 (counters): new method, returning a reference to pimpl_->ctrs.
1649 * text2.C: ensuing changes.
1651 2002-08-07 John Levon <levon@movementarian.org>
1653 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1655 * BufferView_pimpl.C: announce X selection on double/triple
1658 * lyx_main.C: use correct bool in batch dispatch
1660 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1662 2002-08-07 André Pönitz <poenitz@gmx.net>
1664 * funcrequest.h: new class to wrap a kb_action and its argument
1667 * BufferView_pimpl[Ch]:
1671 * lyxrc.C: subsequent changes
1674 2002-08-07 John Levon <levon@movementarian.org>
1676 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1677 document options change.
1679 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1684 * makefile.am: move counters functionality over from
1685 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1687 2002-08-06 John Levon <levon@movementarian.org>
1689 * WordLangTuple.h: new file for word + language code tuple
1700 * BufferView2.C: use WordLangTuple
1703 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1705 2002-08-06 John Levon <levon@movementarian.org>
1707 * lyx_main.C: fix cmdline batch handling
1709 2002-08-06 André Pönitz <poenitz@gmx.net>
1711 * lyxrc.C: set default for show_banner to true
1713 2002-08-06 John Levon <levon@movementarian.org>
1715 * pspell.C: fix a crash, and allow new aspell to work
1717 2002-08-06 John Levon <levon@movementarian.org>
1720 * kbmap.C: small cleanup
1723 * vspace.C: add const
1725 2002-08-05 John Levon <levon@movementarian.org>
1727 * LyXAction.C: back to tabular-insert
1729 2002-08-04 John Levon <levon@movementarian.org>
1732 * BufferView.C: cosmetic change
1734 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1744 * BufferView2.C: purge all "Lyx" not "LyX" strings
1747 * lyxcursor.C: attempt to add some documentation
1752 * ToolbarDefaults.C:
1753 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1754 merge with LFUN_TABULAR_INSERT
1761 * pspell.C: split up i/pspell implementations into separate
1762 files, many cleanups
1764 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1766 * text2.C: some cleanup
1768 * lyxfunc.C: don't check for isp_command == "none" any more, it
1769 didn't make any sense
1771 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1776 * makefile.am: move counters functionality over
1777 from text2.C/paragraph.[Ch] to counters.[Ch], and
1779 2002-08-02 John Levon <levon@movementarian.org>
1781 * buffer.C: s/lyxconvert/lyx2lyx/
1783 2002-08-02 Angus Leeming <leeming@lyx.org>
1785 * lyxlex.C: revert John's change as it breaks reading of the user
1788 2002-08-02 Angus Leeming <leeming@lyx.org>
1790 * importer.C (Import):
1791 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1792 changes due to LyXView::view() now returning a boost::shared_ptr.
1794 2002-08-02 John Levon <levon@movementarian.org>
1796 * lyxlex.C: small cleanup
1798 2002-08-02 John Levon <levon@movementarian.org>
1800 * text2.C (status): small cleanup, no logic change
1802 2002-08-01 John Levon <levon@movementarian.org>
1805 * buffer.C (writeFile): don't output alerts, caller
1809 * lyx_cb.C: from above
1811 * lyxfunc.C: allow to open non-existent files
1813 2002-07-31 John Levon <levon@movementarian.org>
1815 * lyxserver.C: don't let incidental errors get
1818 2002-07-30 John Levon <levon@movementarian.org>
1820 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1822 2002-07-30 John Levon <levon@movementarian.org>
1825 * lyxserver.C: remove I/O callback too
1827 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1829 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1832 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * many files: strip,frontStrip -> trim,ltrim,rtrim
1836 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1838 * PrinterParams.h: remove extern containsOnly, and include
1839 support/lstrings.h instead.
1841 * LaTeX.C (scanAuxFile): modify because of strip changes
1843 * buffer.C (makeLaTeXFile): ditto
1844 * bufferparams.C (writeFile): ditt
1845 * lyxfont.C (stateText): ditto
1846 * lyxserver.C (read_ready): ditto
1847 * vc-backend.C (scanMaster): ditto
1849 * BufferView_pimpl.h: ws changes
1851 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1853 2002-07-26 André Pönitz <poenitz@gmx.net>
1855 * kb_sequence.C: remove unnedred usings
1857 2002-07-26 Juergen Vigna <jug@sad.it>
1859 * lyxfind.C (LyXReplace): we have to check better if the returned
1860 text is not of theLockingInset()->getLockingInset().
1862 2002-07-25 Juergen Vigna <jug@sad.it>
1864 * lyxfind.C (LyXReplace): don't replace if we don't get the
1867 * undo_funcs.C (createUndo): remove debugging code.
1869 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1871 * buffer.C (parseSingleLyXformat2Token): Use default placement
1872 when reading old floats.
1874 * FloatList.C (FloatList): Change the default placement of figure
1875 and tables to "tbp".
1877 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1879 * MenuBackend.C: using std::max
1881 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1883 * MenuBackend.C (expandToc):
1884 (expandToc2): code moved from xforms menu frontend. It is now
1885 generic and TOCs are transparent to menu frontends.
1887 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1889 * toc.C (getTocList): protect against buf=0
1891 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1892 Menu as first parameter. Now, this calls itself recursively to
1893 expand a whole tree (this will be useful for TOC handling)
1894 (expandFloatInsert): remove 'wide' version of floats
1896 * MenuBackend.h (submenuname): returns the name of the submenu.
1897 (submenu): returns the submenu itself, provided it has been
1898 created by MenuBackend::expand
1900 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1902 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1903 insets which have noFontChange == true. (bug #172)
1905 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1907 * BufferView_pimpl.C: add connection objects and use them...
1910 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1912 * MenuBackend.C (expandLastfiles):
1915 (expandFloatListInsert):
1916 (expandFloatInsert):
1917 (expand): split expand in parts
1919 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1921 * lyx_gui.C: use lyx_gui::exit()
1923 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1925 * LyXAction.C: show the failing pseudo action
1927 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1929 * buffer.C (readFile): Run the lyxconvert script in order to read
1932 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1936 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1938 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1942 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1944 2002-07-22 Herbert Voss <voss@lyx.org>
1947 * lyxlength.[Ch]: add support for the vertical lengths
1949 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1951 * toc.[Ch]: std:: fixes
1953 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1955 * lyxrc.C: do not include lyx_main.h
1957 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1963 * BufferView2.C: include "lyxlex.h"
1966 * bufferparams.h: do not #include "lyxlex.h"
1968 * lyxtextclasslist.C (Add): remove method
1969 (classlist): renamed to classlist_
1971 * paragraph_pimpl.C:
1975 * bufferview_funcs.C:
1980 * toc.C (getTocList): use BufferParams::getLyXTextClass
1982 * toc.C (getTocList): use InsetFloat::addToToc
1984 * toc.[Ch]: new files, containing helper functions to handle table
1987 * lyxfunc.C (dispatch): no need to remove spaces around command
1989 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1990 first command of the sequence; it is not very clever, but I do not
1991 have a better idea, actually
1993 * LyXAction.C (LookupFunc): make sure to remove space at the
1994 beginning and end of the command
1996 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1998 * MenuBackend.C (getMenubar): new method: return the menubar of
2000 (read): treat differently reading of menu and menubar (in
2001 particular, the menubar has no name now)
2002 (Menu::menubar): remove
2004 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2007 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2009 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2010 a bibitem inset in a RTL paragraph.
2012 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2014 * paragraph_pimpl.C: constify
2016 * BufferView_pimpl.C:
2018 * lyxfunc.C: fix dispatch in a nicer way
2020 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2022 * lyxfunc.C (dispatch):
2023 * BufferView_pimpl.C:
2024 * BufferView_pimpl.h:
2026 * BufferView.h: rename Dispatch() to dispatch()
2028 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2030 * lyxlayout.C (Read): honor DependsOn tag
2032 * lyxlayout.[Ch] (depends_on): new method
2034 * version.C.in: update lyx_docversion
2036 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2038 * paragraph.C (validate): remove from here...
2039 * paragraph_pimpl.C (validate): ... and move here
2040 (isTextAt): make it const
2042 * buffer.C (getLists): ws cleanup
2044 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2046 * language.C (read): Use iso8859-1 encoding in latex_lang
2047 (this prevents LyX from crashing when using iso10646-1 encoding).
2049 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2051 * text2.C (toggleInset): if cursor is inside an inset, close the
2052 inset and leave cursor _after_ it
2054 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2056 * lyxfunc.C: move minibuffer completion handling out of here
2058 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2060 * BufferView_pimpl.C:
2061 * LaTeX.C: fix dispatch calls
2063 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2065 * text.C (drawChars): Fix Arabic text rendering.
2067 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2071 * lyxfunc.C: remove message-push/pop
2075 * lyxfunc.C: rationalise some code by removing verboseDispatch
2076 in favour of a bool argument to dispatch()
2078 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2080 * lyx_main.C (init): make sure to read symlinks as absolute paths
2082 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2085 * lyxfunc.C: no need for commandshortcut to be a member
2087 2002-07-15 André Pönitz <poenitz@gmx.net>
2089 * converter.C: add support for $$s (scripts from lib/scripts dir)
2090 * lyx_main.C: white space
2092 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2096 * lyxrc.C: remove second exit confirmation
2098 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2103 * BufferView_pimpl.h:
2104 * BufferView_pimpl.C:
2105 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2107 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2109 * MenuBackend.C (expand): add numeric shortcuts to document menu
2111 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2113 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2115 * lyxfont.C (setLyXFamily):
2122 * buffer.C (asciiParagraph): use ascii_lowercase
2124 2002-07-15 Mike Fabian <mfabian@suse.de>
2126 * lyxlex_pimpl.C (search_kw):
2127 * lyxlex.C (getLongString):
2128 * converter.h (operator<):
2129 * converter.C (operator<):
2130 * buffer.C (parseSingleLyXformat2Token):
2132 * ToolbarDefaults.C (read):
2133 * MenuBackend.C (checkShortcuts):
2135 * LColor.C (getFromGUIName):
2136 (getFromLyXName): use the compare_ascii_no_case instead of
2137 compare_no_case, because in turkish, 'i' is not the lowercase
2138 version of 'I', and thus turkish locale breaks parsing of tags.
2140 2002-07-16 Angus Leeming <leeming@lyx.org>
2142 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2143 now takes a Buffer const & argument.
2145 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2147 * BufferView.C (resize): check there's a buffer to resize
2149 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2151 * lyxfunc.C: remove dead code
2154 * lyxserver.C: use lyx_guii::set_read_callback
2156 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2158 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2159 an inset in a RTL paragraph.
2161 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2163 * lyxfunc.C: repaint after a font size update
2165 2002-07-15 André Pönitz <poenitz@gmx.net>
2167 * lyxlength.C: inBP should be able to return negative values
2169 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2171 * lyxfunc.C: use lyx_gui::update_fonts()
2173 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2175 * lyxfunc.C: use lyx_gui::update_color()
2177 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2183 * lyxrc.C: remove file->new asks for name option, and let
2184 buffer-new take an argument
2186 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2188 * BufferView_pimpl.C: remove unneeded extra repaint()
2190 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2192 * LyXAction.C: allow command-sequence with NoBuffer
2194 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2196 2002-07-10 Angus Leeming <leeming@lyx.org>
2198 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2200 2002-07-09 Angus Leeming <leeming@lyx.org>
2202 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2204 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2206 * lengthcommon.h: whitespace
2208 * lyxfunc.C: update scrollbar after goto paragraph
2210 * lyxtext.h: factor out page break drawing, and fix it so
2211 page break/added space paints as selected nicely
2213 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2215 * BufferView_pimpl.C: add FIXMEs, clean up a little
2217 2002-07-09 André Pönitz <poenitz@gmx.net>
2219 * lyxfont.[Ch]: support for wasy symbols
2221 2002-07-08 André Pönitz <poenitz@gmx.net>
2223 * BufferView_pimpl.C: apply John's patch for #93.
2225 2002-07-05 Angus Leeming <leeming@lyx.org>
2227 * BufferView_pimpl.C (buffer): generate previews if desired.
2229 * LColor.h: add "preview" to the color enum.
2231 * LColor.C (LColor): add a corresponding entry to the items array.
2233 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2236 2002-07-05 Angus Leeming <leeming@lyx.org>
2238 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2239 The body of the code is now in the method that is passed an ostream &
2240 rather than a file name.
2241 Pass an additional only_preamble parameter, useful for the forthcoming
2244 2002-07-03 André Pönitz <poenitz@gmx.net>
2246 * lyxfunc.C: simplify getStatus() a bit for math stuff
2248 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2250 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2252 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2254 * text.C (changeRegionCase): do not change case of all the
2255 document when region ends at paragraph end (bug #461)
2257 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2259 * paragraph.C (startTeXParParams):
2260 (endTeXParParams): add \protect when necessary
2262 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2264 * BufferView_pimpl.C (workAreaExpose): remove warning
2266 2002-06-27 Angus Leeming <leeming@lyx.org>
2268 * Makefile.am: add lyxlayout_ptr_fwd.h.
2270 2002-06-26 André Pönitz <poenitz@gmx.net>
2272 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2274 2002-06-25 Angus Leeming <leeming@lyx.org>
2276 * lyxfunc.C (dispatch): Comment out the call to
2277 grfx::GCache::changeDisplay. The method no longer exists now that the
2278 pixmap generation part of the graphics loader has been moved into
2281 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2283 * text2.C: layout as layout
2285 * text.C: layout as layout
2287 * tabular.C (OldFormatRead): layout as layout
2289 * paragraph_pimpl.C (TeXDeeper): layout as layout
2290 (realizeFont): layout as layout
2292 * paragraph.C (writeFile): layout as layout
2293 (validate): layout as layout
2294 (getFont): layout as layout
2295 (getLabelFont): layout as layout
2296 (getLayoutFont): layout as layout
2297 (breakParagraph): layout as layout
2298 (stripLeadingSpaces): layout as layout
2299 (getEndLabel): layout as layout
2300 (getMaxDepthAfter): layout as layout
2301 (applyLayout): layout as layout
2302 (TeXOnePar): layout as layout
2303 (simpleTeXOnePar): layout as layout
2304 (TeXEnvironment): layout as layout
2305 (layout): layout as layout
2306 (layout): layout as layout
2308 * lyxtextclass.C (compare_name): new functor to work with
2309 shared_ptr, layout as layout
2310 (Read): layout as layout
2311 (hasLayout): layout as layout
2312 (operator): layout as layout
2313 (delete_layout): layout as layout
2314 (defaultLayout): layout as layout
2316 * lyxlayout_ptr_fwd.h: new file
2318 * lyxlayout.C (Read): layout as layout
2320 * lyx_cb.C (MenuInsertLabel): layout as layout
2322 * bufferlist.C (newFile): layout as layout
2324 * buffer.C (readLyXformat2): layout as layout
2325 (parseSingleLyXformat2Token): layout as layout
2326 (insertStringAsLines): layout as layout
2327 (asciiParagraph): layout as layout
2328 (latexParagraphs): layout as layout
2329 (makeLinuxDocFile): layout as layout
2330 (simpleLinuxDocOnePar): layout as layout
2331 (makeDocBookFile): layout as layout
2332 (simpleDocBookOnePar): layout as layout
2333 (getLists): layout as layout
2335 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2337 * CutAndPaste.C (cutSelection): layout as layout
2338 (pasteSelection): layout as layout
2339 (SwitchLayoutsBetweenClasses): layout as layout
2341 * BufferView_pimpl.C (Dispatch): layout as layout
2342 (smartQuote): layout as layout
2344 * BufferView2.C (unlockInset): layout as layout
2346 2002-06-24 André Pönitz <poenitz@gmx.net>
2348 * lyxfunc.C: fix #487
2350 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2354 * lyxfunc.C: remove display_shortcuts, show_banner
2356 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2358 * Buffer_pimpl.C: oops, update on resize
2360 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2367 * BufferView.C: use repaint()
2369 * BufferView_pimpl.h:
2370 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2371 as it's a clearer description. Remove superfluous
2374 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2376 * text.C: fix bug 488. Not ideal, but getting
2377 getWord() to work properly for the insets that
2378 matter is more difficult ...
2380 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2382 * BufferView_pimpl.C:
2385 * lyxfunc.C: remove the six million index lyxfuncs to just
2386 one, and DTRT (bug 458)
2388 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2392 * BufferView_pimpl.h:
2393 * BufferView_pimpl.C: clean up resize() stuff,
2394 and unnecessary updateScreen()s
2396 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2400 * BufferView_pimpl.h:
2401 * BufferView_pimpl.C:
2404 * minibuffer.C: remove focus management of workarea,
2405 not needed. Use screen's greyOut()
2407 2002-06-17 Herbert Voss <voss@lyx.org>
2409 * converter.C: (convert) do not post a message, when converting
2410 fails, let the calling function decide what to do in this case
2412 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2414 * lyxfunc.C: tidy up a little
2416 2002-06-16 <alstrup@diku.dk>
2418 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2419 Got rid of FORMS_H_LOCATION include. Now we are
2422 2002-06-15 LyX Development team <lyx@rilke>
2424 * buffer.[Ch] (sgmlOpenTag):
2425 (sgmlCloseTag): Added support for avoiding pernicious mixed
2426 content. Return number of lines written.
2429 (makeDocBookFile): Fixed calls to sgml*Tag.
2430 Simple white space clean.
2432 (simpleDocBookOnePar): Simple white space clean.
2434 * tabular.[Ch] (docBook): Renamed to docbook and got another
2435 argument to related with the pernicious mixed content.
2437 (docbookRow): Fixed calls for docbook inset method.
2439 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2441 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2442 so it's X11 independent.
2446 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2448 2002-06-15 Lyx Development team <lyx@electronia>
2450 * intl.h: Renamed getTrans to getTransManager.
2452 2002-06-14 Angus Leeming <leeming@lyx.org>
2454 * Makefile.am: nuke forgotten stl_string_fwd.h.
2456 2002-06-12 Angus Leeming <leeming@lyx.org>
2458 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2460 2002-06-13 Angus Leeming <leeming@lyx.org>
2463 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2465 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2467 * kbmap.C (getiso): add support for cyrillic and greek
2469 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2473 * BufferView_pimpl.h:
2474 * BufferView_pimpl.C: move bogus scrolling logic
2477 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2480 * BufferView_pimpl.C: view->resize() change
2482 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2484 * BufferView_pimpl.C: topCursorVisible
2487 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2491 * lyx_gui.C: move to frontends/
2495 * lyx_main.C: changes from above
2497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2504 * lyx_main.C: minor tidy
2506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2508 * BufferView_pimpl.h:
2509 * BufferView_pimpl.C:
2511 * BufferView.C: make painter() const,
2514 * BufferView2.C: use screen() accessor
2517 * lyx_main.C: some minor cleanup
2519 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2521 * BufferView_pimpl.h:
2522 * BufferView_pimpl.C: remove enter/leaveView,
2525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2530 * BufferView_pimpl.h:
2531 * BufferView_pimpl.C: only construct screen once,
2534 * lyxrc.C: remove pointless comment
2536 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2539 * BufferView.C: remove active() and belowMouse()
2541 * BufferView_pimpl.h:
2542 * BufferView_pimpl.C: use workarea() not workarea_,
2543 and make it use a scoped_ptr instead
2545 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2547 * lyx_gui.C: add debug message on BadWindow
2549 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2551 * sp_spell.C: fdopen is not part of the C++ standard.
2553 * paragraph.C (InsetIterator): use >= instead of ==
2555 2002-06-07 Angus Leeming <leeming@lyx.org>
2557 Fixes needed to compile with Compaq cxx 6.5.
2558 * BufferView_pimpl.C:
2565 * lyxtextclasslist.C:
2570 all c-library variables have been moved into namespace std. Wrap
2571 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2576 Add a using std::abs declaration.
2578 * kbmap.h (modifier_pair):
2579 * paragraph.h (InsetTable, InsetList):
2580 * lyxfont.h (FontBits):
2581 type definition made public.
2583 * bufferlist.C (emergencyWriteAll): the compiler complains that
2584 there is more than one possible lyx::class_fun template to choose from.
2585 I re-named the void specialisation as lyx::void_class_fun.
2587 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2589 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2590 the compiler is is unable to find tostr in write_attribute.
2592 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2594 * buffer.C (sgmlError): hide #warning
2596 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2598 * xtl/*: get rid of xtl, which is not in use anyway
2600 * LyXAction.C (init):
2601 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2602 were unimplemented xtl experimentation
2604 2002-06-04 André Pönitz <poenitz@gmx.net>
2606 * lyxfunc.C: disable array operation on simple formulae
2608 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2610 * converter.C: constify a bit
2612 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2614 * lyx_gui.C: check xforms version correctly
2616 2002-04-30 Herbert Voss <voss@lyx.org>
2618 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2621 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2623 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2624 attempt to register it with a VCS)
2626 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2628 * lyx_main.C (init): honor variables LYX_DIR_13x and
2631 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2635 * lyx_main.C: fix a crash on bad command line,
2636 and give a useful exit status on error
2638 * lyxfunc.C (doImport): allow -i lyx to work
2640 2002-03-30 André Pönitz <poenitz@gmx.net>
2642 * lyxfunc.C: mathed font changes
2644 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2659 * trans_mgr.h: srcdocs, and some minor cleanups
2661 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2663 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2664 call getFont all the time)
2666 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2668 * switch from SigC signals to boost::signals
2670 2002-05-29 André Pönitz <poenitz@gmx.net>
2672 * paragraph_pimpl.C (getChar): don't call size() too often...
2674 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2676 * paragraph_pimpl.C (insertChar): do not try to update tables when
2677 appending (pos == size())
2679 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2680 in order to reduce drastically the number of comparisons needed to
2681 parse a large document
2683 2002-05-29 André Pönitz <poenitz@gmx.net>
2689 * textclasslist.[Ch]:
2690 * sp_ispell.h: whitespace change
2692 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2694 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2695 lyxaction directly now.
2697 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2701 * lyxvc.C: remove unused headers
2703 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2710 * undo_funcs.C: some cleanups. Use shared_ptr
2711 and a template for the undo stacks.
2713 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2715 * BufferView_pimpl.h:
2716 * BufferView_pimpl.C:
2723 * text2.C: use key_state/mouse_state
2725 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2727 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2730 * chset.C: change include order
2731 (loadFile): use boost regex and get rid of LRegex and LSubstring
2733 * Makefile.am (BOOST_LIBS): new variable
2736 * LaTeX.C: change include order.
2737 (scanAuxFile): use boost regex and get rid of LRegex and
2741 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2746 * FontInfo.C: moved to frontends/xforms/
2749 * FontLoader.C: moved into frontends for GUIIzation
2754 * lyxfunc.C: changes from above
2756 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2758 * LColor.C: remove spurious X include
2760 * BufferView_pimpl.C:
2765 * text2.C: move font metrics to frontends/
2767 2002-05-24 Juergen Vigna <jug@sad.it>
2769 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2770 setting the undo_cursor.
2772 * ParagraphParameters.h: include local includes first.
2774 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2776 * BufferView_pimpl.C:
2777 * BufferView_pimpl.h:
2781 * screen.C: move WorkArea into frontends/
2787 * BufferView2.C: move LyXScreen into frontends/
2791 * lyx_gui.C: move lyxlookup into frontends/xforms/
2793 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2796 * BufferView_pimpl.C:
2806 * bufferview_funcs.C:
2819 * vc-backend.C: move LyX/XFormsView into frontends/
2821 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2833 * text2.C: move Painter to frontends/
2835 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2837 * buffer.C: comment out some some code that depend upon lyx_format
2840 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2841 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2843 * buffer.h (NO_COMPABILITY): turn off compability
2845 * ColorHandler.C: include scoped_array.hpp
2847 * font.C: Use more specific smart_ptr header.
2850 * ShareContainer.h: ditto
2854 * BufferView_pimpl.h: ditto
2855 * ColorHandler.h: ditto
2857 * kbmap.C (defkey): change call to shared_ptr::reset
2859 2002-05-21 Juergen Vigna <jug@sad.it>
2861 * buffer.C (insertErtContents): fix to insert ert asis if it is
2862 non empty. Skip it completely if it contains only whitespaces.
2864 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2866 * BufferView_pimpl.C:
2867 * BufferView2.C: clear selection on paste (bug 393)
2869 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2871 * DepTable.C: include ctime
2873 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2875 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2877 2002-05-14 Juergen Vigna <jug@sad.it>
2879 * text.C (breakParagraph): fixed function to honor the keepempty
2880 layout in the right maner and also to permit the right breaking
2881 algorithm on empty or non empyt keepempty paragraphs.
2883 * paragraph.C (breakParagraph): we have to check also if the par
2884 is really empty (!size()) for isempty otherwise we do the wrong
2887 2002-05-10 Juergen Vigna <jug@sad.it>
2889 * buffer.[Ch] : The following are only changes to the ert
2890 compatibility read reading old LaTeX layout and font stuff and
2891 convert it to ERTInsets.
2893 * buffer.h: added isErtInset().
2895 * buffer.C (struct ErtComp): add a fromlayout bool to check
2896 if we're inside a LaTeX layout.
2897 (isErtInset): new helper function.
2898 (insertErtContents): look for other ert insets before this one
2899 and insert the contents there, so that we don't have subsequent
2900 ERT insets with nothing between them. This way we create only one
2901 inset with multiple paragraphs. Also check if we don't insert only
2902 spaces ' ' as they are ignored anyway afterwards in the .tex file
2903 so if we have only spaces we will ignore this latex part in the
2905 (parseSingleLyXformat2Token \\layout): better compatibility when
2906 reading layout-latex stuff.
2907 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2909 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2910 stuff after reading the inset only get the information back from
2913 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2915 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2917 * LaTeXFeatures.C (getBabelOptions): New method.
2919 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2921 * BufferView_pimpl.C (Dispatch): work around missing argument for
2924 2002-05-08 Juergen Vigna <jug@sad.it>
2926 * text.C (leftMargin): handle paragraph leftindent.
2928 * paragraph.C (writeFile): write the new \\leftindent tag.
2929 (validate): handle leftindent code.
2930 (TeXEnvironment): handle paragraphleftindent code again.
2932 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2934 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2935 for paragrap_extra indent code and new token \\leftindent.
2936 (latexParagraphs): handle the leftindent as environment.
2938 * ParameterStruct.h: added leftindent support.
2940 * ParagraphParameters.C (leftIndent): added support functions for
2941 the paragraph left indent.
2943 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2946 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2948 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2951 * text.C (computeBidiTables): No bidi in insetERT.
2953 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2956 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2958 * version.C.in: pre 5
2960 2002-05-02 José Matos <jamatos@fep.up.pt>
2961 * buffer.C (makeDocBookFile): white space changes, add newline to
2963 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2965 * tabular.C (docBook): fix typo.
2967 2002-05-03 Juergen Vigna <jug@sad.it>
2969 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2970 change in LyXText as we can not be sure it was not freed.
2971 (drawOneRow): remove unused code.
2973 * text.C (drawInset): redo the calculation of the need_break_row as
2974 it could have a row which was already freed.
2975 (draw): look at the return value of drawInset and return false if
2976 it also returned false.
2977 (paintRowText): look at the return value of draw and return false if
2978 it also returned false.
2980 * lyxtext.h: added bool return type to drawInset() and draw() so that
2981 if we have a change in the row so that the rowbreak has to be redone
2982 we abort drawing as it will be called again.
2984 2002-05-02 Juergen Vigna <jug@sad.it>
2986 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2987 a change in the maintext also if we're inside an inset.
2988 (Dispatch): set the cursor again after a break line and after the
2989 screen has been updated as it could be we're in a different row.
2991 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2992 to set the cursor behind the pargraph with > size().
2993 (setCursor): check also for the same paragraph when checking where
2994 to put the cursor if we have a NFR inset.
2996 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2997 parts of layout read further up as it still was in the wrong
3000 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3002 * screen.C (drawFromTo): change sine fullRebreak always return
3005 * buffer.C (parseSingleLyXformat2Token): reindent some
3007 * BufferView_pimpl.C (update): change since fullRebreak always
3009 (Dispatch): git rid of the last hardcoded "Standard"s.
3011 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3013 * text2.[Ch] (fullRebreak): make it return void now that we always
3016 2002-04-30 Juergen Vigna <jug@sad.it>
3018 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3019 ert compatibility check for "latex" layout.
3021 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3023 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3024 minipages: use col% instead of p%, and also use the current font.
3025 (makeLaTeXFile): Fix use babel condition.
3026 (parseSingleLyXformat2Token): Correct font when reading old floats.
3028 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3030 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3031 inserting list of floats.
3033 2002-04-25 Herbert Voss <voss@lyx.org>
3035 * MenuBackend.C (expand): don't add the graphics extensions to the
3038 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3040 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3041 non-existing layout, do not complain if it was the default layout
3042 of the original class (bug #342)
3044 2002-04-24 Juergen Vigna <jug@sad.it>
3046 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3047 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3049 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3051 * buffer.C (getBibkeyList): If using \bibliography, return the
3052 option field with the reference itself. Enables us to provide natbib
3053 support when using \bibliography.
3055 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3057 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3059 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3060 natbib is provided by the LaTeX class.
3062 2002-04-23 Juergen Vigna <jug@sad.it>
3064 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3067 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3069 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3071 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3073 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3074 ensuremath around textordmasculine, textordfeminine and
3077 2002-04-19 Juergen Vigna <jug@sad.it>
3079 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3080 reinitializing the buffer otherwise row-dimensions may be wrong.
3081 (update): reset also the selection cursors if they do exits otherwise
3082 their x/y positions may be wrong.
3084 * text2.C (cursorDown): don't enter the inset if we came from a row
3085 above and are one row over the inset.
3087 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3088 really leaving an inset.
3090 2002-04-18 Juergen Vigna <jug@sad.it>
3092 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3093 of the selected paragraph does not have the selected layout also if
3096 * text2.C (setLayout): fixed bug which did not change last selected
3099 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3100 changed the read and substituted \\end_float with \\end_inset!
3102 * BufferView_pimpl.C (cursorPrevious):
3103 (cursorNext): fixed to make it work with rows heigher than the work
3104 area without moving the cursor only the draw of the row.
3105 (workAreaMotionNotify): fix jumping over high rows.
3107 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3109 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3112 2002-04-16 Juergen Vigna <jug@sad.it>
3114 * text2.C (setCursor): set also the irow().
3115 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3117 (cursorDown): support for locking an inset if the x_fix value goes
3118 inside it. That way I can transverse insets too with cursor up/down.
3120 * lyxrow.h: added irow helper function same as other (i) functions.
3122 * BufferView_pimpl.C (cursorPrevious):
3123 (cursorNext): fixed for insets!
3125 2002-04-15 Juergen Vigna <jug@sad.it>
3127 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3128 position otherwise it is wrong in some cases.
3130 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3131 inside the inset before the call.
3133 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3135 * buffer.[Ch] (getBibkeyList): make it const.
3137 2002-04-12 Juergen Vigna <jug@sad.it>
3139 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3141 * text2.C (getCursorX): new helper function
3142 (setCursor): compute also ix_
3143 (setCursorFromCoordinates): set also ix.
3145 * lyxcursor.h: added ix_ and helper functions.
3147 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3149 * buffer.C (insertStringAsLines): dont break paragraph if the this
3150 paragraph is inside an inset which does not permit it!
3152 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3153 also with no chars on this paragraph.
3154 (paintRowText): only paint stuff if it's inside the workarea!
3156 * paragraph.C (breakParagraph): honor keepempty flag and break the
3157 paragraph always below not above.
3159 * BufferView2.C (unlockInset): update the paragraph layout on inset
3160 unlock as we changed paragraph in such a case.
3162 * lyxfind.C (LyXFind): clear the former selection if not found!
3164 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3165 again called in insertChar().
3167 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3168 an inset which uses the whole row!
3169 (rightMargin): ditto.
3170 (insertChar): force a rebreak if we inserted an inset!
3172 2002-03-28 Herbert Voss <voss@lyx.org>
3174 * lyxlength.[Ch]: add inBP() to get the right PS-point
3175 units (BigPoint). With inPixels we have rounding errors
3177 2002-04-11 Juergen Vigna <jug@sad.it>
3179 * text2.C (setCursorFromCoordinates): set iy to the right value.
3180 (setCursor): add check if row->previous exists!
3182 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3183 an old float_type as this was the case in the old code!
3185 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3187 * BufferView2.C (showLockedInsetCursor): use iy
3188 (fitLockedInsetCursor): ditto
3190 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3191 locked insets as there we have the right value now.
3193 * lyxcursor.C: added iy_ variable and iy functions to set to the
3194 baseline of cursor-y of the locked inset.
3196 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3197 (setCursor): fixed for insets which need a full row.
3199 * text.C (rowLastPrintable): don't ignore the last space when before
3200 an inset which needs a full row.
3201 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3202 as last character of a row when before a inset which needs a full row.
3204 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3206 * version.C.in: update date
3208 * text2.C (fullRebreak): try to always return true and see what
3211 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3213 * MenuBackend.C (expand): use Floating::listName
3215 * FloatList.C (FloatList): add listName argument to the built-in
3218 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3219 text associated with the float.
3221 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3223 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3225 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3227 * ShareContainer.h: add a couple of missing typenames.
3229 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3231 * lyxrc.C (getDescription): use _() correctly rather than N_().
3233 2002-03-28 Herbert Voss <voss@lyx.org>
3235 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3236 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3238 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3240 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3241 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3243 2002-03-29 Juergen Vigna <jug@sad.it>
3245 * lyxfunc.C (dispatch): add a missing fitCursor call.
3247 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3248 it was scrolled by a cursor move, so return the bool status.
3250 * BufferView.C (fitCursor): return the bool flag also to the outside
3251 world as this is needed.
3253 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3255 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3256 call the edit() as it is not needed (and wrong) IMO.
3257 (workAreaButtonPress): set the screen_first variable before evt.
3258 unlock the inset as this may change screen_first and then we have
3259 a wrong y position for the click!
3261 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3263 * MenuBackend.C (expand): another translation that I missed
3265 2002-03-28 Juergen Vigna <jug@sad.it>
3267 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3269 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3271 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3273 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3275 * MenuBackend.C (expand): fix export/view/update when there is no
3278 2002-03-27 Herbert Voss <voss@lyx.org>
3280 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3283 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3285 * bufferview_funcs.C (currentState): only show paragraph number
3286 for is DEVEL_VERSION is set.
3288 * lyxfunc.C (dispatch): put warning in INFO channel
3290 * MenuBackend.C (expand): translate the name of floats
3292 * FloatList.C (FloatList): mark the float names for translation
3294 * converter.C (convert): use LibScriptSearch
3296 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3298 * MenuBackend.C (defaults): fix default menu (we might as well get
3301 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3303 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3306 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3308 * lyxvc.C: reorder includes.
3310 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3312 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3315 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3317 * CutAndPaste.C: change layouts earlier on paste
3318 to avoid crashing when calling getFont()
3320 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3322 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3325 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3327 * WorkArea.C: remove 'Pending' debug message.
3329 * most files: ws cleanup
3331 * buffer.[Ch]: ws changes
3333 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3335 2002-03-21 Juergen Vigna <jug@sad.it>
3337 * tabular.C (SetMultiColumn): collapse also the contents of the
3338 cells and set the last border right. Added a Buffer const * param.
3340 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3342 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3345 2002-03-19 Juergen Vigna <jug@sad.it>
3347 * text2.C (clearSelection): reset also xsel_cache.
3349 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3350 where it needs to be called (John tells us to do so too :)
3351 (selectionLost): reset sel_cache.
3353 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3355 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3357 * text2.C (setCursorIntern): put debuging code in INSETS channel
3359 2002-03-19 André Pönitz <poenitz@gmx.net>
3361 * lyxfunc.C: tiny whitespace change
3363 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3365 * ToolbarDefaults.C (init):
3366 * LyXAction.C (init):
3368 * BufferView_pimpl.C (Dispatch):
3369 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3371 2002-03-19 Allan Rae <rae@lyx.org>
3373 * exporter.C (Export): removeAutoInsets before doing anything else.
3374 While I've just introduced a dependency on BufferView this really is
3375 the best place to clean the buffer otherwise you need to cleanup in
3376 a dozen places before calling export or cleanup in a dozen functions
3379 * converter.C (runLaTeX):
3380 (scanLog): Better handling of removeAutoInsets and screen updates.
3382 * lyxfunc.C (dispatch): small whitespace changes
3384 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3386 * WorkArea.C (C_WorkAreaEvent): return a value.
3387 (event_cb): return 1 if we handled the event, 0 otherwise.
3389 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3391 2002-03-18 Juergen Vigna <jug@sad.it>
3393 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3394 (GetAdditionalWidth): ditto.
3398 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3399 inset if we're there actually (probably not used right now but this
3400 is the direction to go for unifying code).
3401 (paste): disable code to clear the selection.
3403 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3404 inside an InsetText and move the check further up as it is in the
3407 * text2.C (pasteSelection): set a selection over the pasted text.
3409 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3411 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3412 and libgraphics to build on Cygwin.
3414 2002-03-15 Juergen Vigna <jug@sad.it>
3416 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3417 inserting an Inset into the paragraph. I know this is not the best
3418 fix but we already use current_view in CutAndPaste so we will remove
3419 all of it's using at the same time.
3421 * buffer.C (sgmlError): deactivated function till it is rewritten in
3422 the right mode, now it can create problems.
3424 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3425 before accessing it.
3427 2002-03-14 Juergen Vigna <jug@sad.it>
3429 * undo_funcs.C (textHandleUndo): do the right thing when updating
3430 the inset after the undo/redo.
3432 * text2.C (setCursor): just some testcode for #44 not ready yet.
3434 * undo_funcs.C (textHandleUndo): set the next() and previous()
3435 pointers of the paragraph to 0 before deleting otherwise we have
3436 problems with the Paragraph::[destructor].
3438 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3439 on a paragraph insertion.
3441 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3443 * buffer.C (asciiParagraph): use += operator for char append to
3446 * paragraph.C (getFontSettings): compare >= not just >
3447 (highestFontInRange): ditto
3450 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3452 * paragraph.C: change several algorithm to be more appripriate for
3453 the problem domain. This is lookip in FontList and in the InsetList.
3455 2002-03-13 André Pönitz <poenitz@gmx.net>
3458 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3460 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3465 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3467 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3469 * Painter.C (display): anon helper function, adjust code for this
3471 (pixmap): remove function.
3473 * Painter.h: remove private display variable.
3475 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3477 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3479 * WorkArea.[Ch]: remove figinset_canvas cruft.
3481 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3483 * lyxtextclass.C (operator): add one item cache optimization.
3485 * bufferlist.h: doxy changes
3487 * bufferlist.C: ws changes
3489 * DepTable.[Ch] (ext_exist): place const in the right spot.
3491 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3493 (workAreaExpose): call resizeInsets when the with BufferView changes.
3494 (Dispatch): adjust for protectedBlank removal
3495 (specialChar): call updateInset if the insert went ok.
3497 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3498 specialChar instead.
3500 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3502 * BufferView.h: doxy change
3504 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3506 * lyxtextclass.C (operator[]): remove non-const version
3507 (defaultLayout): remove non-const version
3509 2002-03-12 Juergen Vigna <jug@sad.it>
3511 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3512 did resize the LyXText too.
3514 * buffer.C (readLyXformat2): set layout information on newly allocated
3517 * tabular.C (OldFormatRead): set layout information on the paragraph.
3519 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3521 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3523 2002-03-11 Juergen Vigna <jug@sad.it>
3525 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3527 (resizeCurrentBuffer): force also the insets to resize themselfes.
3528 (moveCursorUpdate): fixed up for InsetText.
3530 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3533 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3534 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3535 value of Dialogs::tooltipsEnabled().
3536 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3538 2002-03-08 Juergen Vigna <jug@sad.it>
3540 * BufferView_pimpl.C (updateInset): update inset inside inset also
3541 if it isn't inside theLockingInset().
3543 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3545 * buffer.C (asciiParagraph): redo some of the word and line length
3547 (getLists): look for Caption instead of caption.
3549 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3551 * buffer.C (Buffer): initialize niceFile to true
3554 (makeDocBookFile): make sure niceFile is true on exit
3556 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3558 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3560 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3562 * LyXSendto.C: remove.
3563 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3564 * lyx_gui.C: remove now-redundant comment.
3565 * ColorHandler.h: remove forward declaration of class WorkArea.
3566 * lyxfunc.C: remove #include "WorkArea.h".
3568 2002-03-07 Juergen Vigna <jug@sad.it>
3570 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3571 got moved away with the DEPM and also set the inset_owner always
3572 right which before could have been omitted.
3574 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3576 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3577 wanted layout is not found.
3579 2002-03-07 Juergen Vigna <jug@sad.it>
3581 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3583 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3585 * paragraph.C (breakParagraph): use default layout not layout of
3587 (Paragraph): clear ParagraphParameters.
3589 2002-03-06 Juergen Vigna <jug@sad.it>
3591 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3592 otherwise it would not be a valid lenght. Fixed a special case in
3593 the minipage compatibility read where we end the document with a
3596 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3597 was set as it could be 0 for InsetTexts first entry.
3599 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3601 * paragraph.C (writeFile): if layout is empty write out
3602 defaultLayoutName().
3604 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3605 file without named layout we set layout to defaultLayoutName().
3607 2002-03-06 Juergen Vigna <jug@sad.it>
3609 * CutAndPaste.C (copySelection): set layout for new paragraph.
3611 * text.C (prepareToPrint): leave ERT inset left aligned
3612 (leftMargin): don't indent paragraphs inside ERT insets
3614 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3616 * paragraph.C (breakParagraph): dont call clear do the work manually
3618 * paragraph.[Ch] (clear): remove function
3620 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3622 * paragraph.C (Paragraph): dont call clear, the work has already
3625 * lyxtextclass.C (operator): assert if n is empty
3627 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3628 work manually instead.
3630 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3632 * BufferView_pimpl.C: protect selectionLost against text == 0
3634 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3636 * text.C (breakParagraph): fix a setting layout to '0' problem.
3638 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3640 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3641 final location of file, for the included files, and graphics.
3643 2002-03-05 Juergen Vigna <jug@sad.it>
3645 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3647 2002-03-04 Juergen Vigna <jug@sad.it>
3649 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3651 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3652 last column of multicolumn cells.
3653 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3655 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3657 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3658 file if it doesn't go to a temporary file.
3660 * buffer.C (sgmlOpenTag):
3661 (sgmlCloseTag): remove extra newline insertion.
3663 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3665 * text.C (getRowNearY): comment out debug msg
3667 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3669 * text2.C: first -> first_y
3671 * text.C (getRowNearY): add some attemts at a possible
3672 optimization, not working.
3674 * tabular.[Ch]: add BufferParams to several function so that newly
3675 created paragraph can be initialized to he default layotu for the
3678 * tabular-old.C (ReadOld): add buf->params to call of Init
3680 * screen.C: rename text->first to text->first_y
3682 * paragraph.C (breakParagraph): always set layout in the broken
3685 * lyxtextclass.C (Read): remove lowercase
3688 (delete_layout): ditto
3690 * lyxtext.h: rename first -> first_y
3692 * lyxlayout.C (Read): remove lowercase
3695 (obsoleted_by): ditto
3697 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3699 * buffer.C (insertErtContents): add params are to InsetERT
3700 (parseSingleLyXformat2Token): add code to check if a paragraphs
3701 layout really exist.
3702 (parseSingleLyXformat2Token): add params to several inset
3704 (asciiParagraph): remove lowercase, do the layout comparisons with
3707 * BufferView_pimpl.C (cursorNext): first -> first_y
3708 (resizeCurrentBuffer): first -> first_y
3709 (updateScrollbar): first -> first_y
3710 (scrollCB): first -> first_y
3711 (workAreaMotionNotify): first -> first_y
3712 (workAreaButtonPress): first -> first_y
3713 (checkInsetHit): first -> first_y
3714 (cursorPrevious): first -> first_y
3715 (cursorNext): first -> first_y
3716 (Dispatch): add buffer_->params to severl inset contructors
3718 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3720 * lyxlayout.C (Read): remove some debug info that I forgot.
3722 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3723 clean up the code slightly.
3724 (makeLinuxDocFile): ditto
3725 (makeDocBookFile): ditto
3727 * text2.C: layout as string
3729 * text.C: layout as string
3731 * paragraph_pimpl.C: layout as string
3733 * paragraph.[Ch]: layout as string
3735 * lyxtextclasslist.[Ch]: layout as string
3737 * lyxtextclass.[Ch]: layout as string
3739 * lyxtext.h: layout as string
3741 * lyxlayout.[Ch]: layout as string
3743 * lyx_cb.C: layout as string
3745 * bufferview_funcs.C: layout as string
3747 * bufferparams.C: layout as string
3749 * buffer.C: layout as string
3751 * LyXView.[Ch]: layout as string
3753 * LaTeXFeatures.[Ch]: layout as string
3755 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3757 * BufferView_pimpl.C: change current_layout to string, remove
3762 (workAreaButtonRelease): layout as string
3764 * BufferView2.C (unlockInset): adjust
3766 * vspace.C (asLatexCommand): use an explict temp variable.
3768 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3770 * Makefile.am: use FRONTEND_*
3772 2002-03-01 Juergen Vigna <jug@sad.it>
3774 * tabular.C (SetWidthOfMulticolCell): changed to something better
3775 I hope but still work in progress.
3776 (recalculateMulticolumnsOfColumn): renamed function from
3777 recalculateMulticolCells as it is more appropriate now.
3778 (SetWidthOfCell): calculate multicols better.
3780 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3782 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3784 * lyxfunc.C (processKeySym): print sequence also if it is
3785 `deleted' (complete)
3787 * kbsequence.C (print): print sequence even if it is deleted
3788 (complete would be a better word, actually).
3790 * lyxfunc.C (dispatch): print complete options after a prefix key
3792 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3794 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3796 * text2.C (setCharFont): eliminate setCharFont code duplication.
3798 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3800 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3801 LFUN_TABULAR_FEATURE (bug #177)
3803 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3805 * Makefile.am: remove figure.h
3807 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3809 * Bufferview_pimpl.C:
3821 * text2.C: remove #include "lyx_gui_misc.h".
3823 * LaTeX.C: added #include <cstdio>
3825 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3827 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3828 that the paragraph following this one can have.
3830 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3832 * vspace.C (asLatexCommand): fix bogus gcc warning
3834 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3836 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3838 * text2.C (setLayout): get rid of redundant code
3840 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3842 * text2.C (incDepth): make sure depth cannot be increased beyond
3845 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3847 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3848 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3850 * PainterBase.h (image):
3851 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3854 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3858 * BufferView_pimpl.C:
3859 * BufferView_pimpl.h:
3879 * sp_spell.C: remove fig inset, and the crap house of
3880 cards that follows it
3882 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3888 * nt_defines.h: move .h into support/
3890 * vms_defines.h: remove
3892 * WorkArea.C: add space in debug output
3896 * buffer.C: add WITH_WARNINGS
3900 * bufferlist.C: s/retrive/retrieve/, add docs
3911 * lyxgui.C: add ID to X error handler
3913 * lyxtestclass.c: fix typo
3915 2002-02-26 Juergen Vigna <jug@sad.it>
3917 * tabular_funcs.C (write_attribute): changed so that some default
3918 attributes are not written at all.
3919 (getTokenValue): set default values before trying to read the
3920 value so we have the return value always set as default if we don't
3921 find the token we search for.
3923 * tabular.C (Write): write bools as bools not as strings!
3925 2002-02-22 Juergen Vigna <jug@sad.it>
3927 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3928 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3930 * text.C (leftMargin): don't add an indent for paragraphs inside
3931 tabular cells (fix #208).
3933 2002-02-21 José Matos <jamatos@fep.up.pt>
3935 * tabular.C (docBook): fixed support for long tables.
3937 2002-02-20 Juergen Vigna <jug@sad.it>
3939 * text2.C (getFont): get the drawing font of the Inset if this
3940 paragraph is inside an inset (only important for InsetERT for now).
3942 * buffer.C (insertErtContents): use new lanugage params in ERT
3945 * CutAndPaste.C: commenting out seemingly uneeded code.
3947 2002-02-19 Allan Rae <rae@lyx.org>
3949 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3950 Iterators might be simple to use but they also get invalidated.
3951 (removeAutoInsets): renamed saved cursor tracking variables and added
3952 some comments to clarify what everything does.
3954 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3961 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3962 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3965 * vc-backend.h: remove #include "support/syscall.h"
3969 * converter.C: rearrange #includes in Lars' approved fashion.
3971 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3972 forward declare class Timeout in the header file.
3974 * XFormsView.C: changes due to the above.
3976 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3979 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3980 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3982 2002-02-18 José Matos <jamatos@fep.up.pt>
3984 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3987 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3989 * a lot of small ws changes
3990 * add a lot of using std::XXX
3991 * use std construcs some places where approp.
3992 * use some exisint stuff from lyxfunctional where approp.
3993 * Make file changes to use partial linking (lets test this now...)
3995 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3999 remove #include "support/syscontr.h" as it's redundant. Always has been.
4007 change Systemcalls::System to Systemcalls::Wait and
4008 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4009 No change of functionality, just reflects the stripped down Systemcalls
4012 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4014 * debug.[Ch]: add a GRAPHICS type to the enum.
4016 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4018 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4020 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4023 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4025 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4026 match the changes below.
4028 * text2.C (toggleInset): if there is not editable inset at cursor
4029 position, try to see if cursor is _inside_ a collapsable inset
4032 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4034 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4035 document menu has a nice checkbox
4037 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4039 * lyxlength.C (asLatexString): change PW to output as percent of
4042 * lengthcommon.C: change '%' to 't%'
4044 * lyxfunc.C (dispatch): a few comments from Martin
4046 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4050 * BufferView_pimpl.h:
4051 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4054 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4056 * vspace.C (inPixels): fix compiler warning
4058 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4060 * lyxfunc.C (getStatus): fix status message for disabled commands.
4062 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4064 * BufferView_pimpl.C: fix crash on close buffer
4065 during selection (#227)
4067 2002-01-27 Herbert Voss <voss@lyx.org>
4069 * buffer.C: link old Figure to new graphic inset
4071 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4073 * FontLoader.C (getFontinfo): Change the latex font names in order
4074 to match the names of type1inst.
4076 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4078 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4080 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4083 (remove_files_with_extension): ditto
4084 (remove_file): ditto
4087 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4088 document is smaller than the work area height. Do not initialize
4089 static variables to 0.
4091 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4093 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4095 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4096 LFUN_LAYOUT_PARAGRAPHS.
4098 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4099 tabular. It is possible to provide a possible cell, which will
4100 typically be the actcell from the corresponding insettabular
4102 * lyxfunc.C (getStatus): small cleanup; disable
4103 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4106 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4108 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4110 * paragraph.C (startTeXParParams):
4111 (endTeXParParams): new methods. The LaTeX code to
4112 start/end paragraph formatting
4113 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4114 empty (fixes bug #200)
4116 * vspace.C (inPixels): adapt to the change below
4117 (inPixels): [later] more cleanups (remove unused variables)
4119 * lyxlength.C (inPixels): change to use a width and a height as
4122 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4124 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4125 Replaced with \paperwidth
4127 * DepTable.C (insert): add std:: qualifier
4129 2002-01-18 Allan Rae <rae@lyx.org>
4131 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4134 * text.C (drawInset): Turned out I didn't know enough about how
4135 rebreaking worked. This fixes most of the redraw problems. I see
4136 an occasional cursor trail when a line is broken now and the cursor
4137 placement can seem out by a few pixels also after a rebreak.
4139 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4141 * buffer.C (parseSingleLyXformat2Token): update because minipage
4142 width is now a LyXLength
4144 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4146 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4149 2002-01-17 Juergen Vigna <jug@sad.it>
4151 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4153 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4154 is set correctly and the inset is updated correctly.
4156 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4158 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4159 the beginning of the loop.
4161 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4163 * lyxrc.C: improve help for use_scalable_fonts
4165 2002-01-17 Allan Rae <rae@lyx.org>
4167 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4169 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4171 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4172 make sure to set their inset_owner to the right value (bug #171)
4174 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4177 * DepTable.C: Implement mtime checking to reduce time spent doing
4180 2002-01-16 Juergen Vigna <jug@sad.it>
4182 * tabular.C (GetAdditionalHeight): one of error fixed.
4184 * lyxrc.C (output): small fix in writing use_pspell.
4186 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4188 * sp_base.h: #include LString.h
4190 2002-01-16 Allan Rae <rae@lyx.org>
4192 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4193 Can someone check this please?
4195 * text.C (drawInset): It was possible that p.row would be removed by
4196 breakAgainOneRow upsetting a few other settings. There may be another
4197 small tweak possible by setting need_break_row = 0 when p.row has been
4198 removed but I don't know enough about the logic here.
4200 2002-01-15 Allan Rae <rae@lyx.org>
4202 * text.C (insertChar): removed conditional truism.
4204 * BufferView2.C (removeAutoInsets): More tweaks.
4205 cur_par_prev could be a stray pointer. Check for trailing empty line
4206 in case last line was cur_par and only had an error inset on it.
4208 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4210 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4213 * vc-backend.C (most methods):
4214 * exporter.C (Export):
4215 * converter.C (convert):
4217 * LyXSendto.C (SendtoApplyCB):
4218 * lyxfunc.C (dispatch):
4222 * lyx_cb.C (AutoSave):
4224 * BufferView_pimpl.C (MenuInsertLyXFile):
4225 * buffer.C (runChktex): use Buffer::filePath().
4227 * buffer.h: rename filename to filename_; rename filepath to
4228 filepath_ and make it private
4229 (filePath): new method
4231 * buffer.C (writeFile): use fileName()
4234 * lyx_main.C (init): fix starting of LyX when the binary is a
4235 link from so,ewhere else.
4237 * minibuffer.C: include <cctype> for isprint
4239 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4241 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4242 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4243 name clash with InsetCollapsable's width function.
4245 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4247 * lastfiles.C: include <iterator>
4249 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4251 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4254 * buffer.C (makeLaTeXFile): ditto.
4255 Also make loop operation more transparent.
4257 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4259 * ToolbarDefaults.C: remove trailing comma closing namespace.
4261 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4263 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4266 * trans.C (Load): comment out unused variable, allowed.
4268 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4270 * minibuffer.[Ch] (append_char): new method to recieve input from the
4271 drop-down completion browser. If a key was pressed, then recieve this
4272 char and append it to the existing string.
4273 (peek_event): modify the positioning data passed to the completion
4274 browser so that it can be placed above the minibuffer rather than below.
4275 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4277 * LyXAction.C (init): alloe error-next for readonly documents.
4279 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4282 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4284 * bufferlist.C (readFile): create the buffer _after_ checking that
4287 * lyxfunc.C (verboseDispatch): fix handling of arguments
4289 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4291 * lyxrc.C: use string::erase() instead of initializing to "".
4294 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4296 * BufferView_pimpl.h:
4297 * BufferView_pimpl.C:
4300 * text2.C: tell X when we have made a selection for copying
4302 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4304 * BufferView_pimpl.C (MenuInsertLyXFile):
4305 * lyxfunc.C (menuNew):
4307 (doImport): add shortcuts to directory buttons
4309 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4312 * lyxfunc.C (setStatusMessage):
4313 (getStatusMessage): new methods
4314 (getStatus):use setStatusMessage instead of setErrorMessage
4315 (dispatch): when function is disabled, set error message here
4316 [instead of in getStatus previously]
4318 * BufferView_pimpl.C (workAreaButtonRelease): update
4319 toolbar/menubar here too.
4321 2002-01-13 Allan Rae <rae@lyx.org>
4323 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4324 Now seems indestructible. Remaining task is to audit all other
4325 code affected by deleteEmptyParagraphMechanism. One small quirk
4326 left is that an empty document with an error in the preamble can
4327 be made to report an error but no error box appears. I don't know
4329 (removeAutoInsets): Improved comments.
4331 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4334 * Thesaurus.C: update for Aiksaurus 0.14
4336 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4338 * text2.C (firstParagraph): removed member function, all uses
4339 replaces with ownerParagraph
4340 (redoParagraphs): here
4342 (toggleAppendix): here
4343 * BufferView2.C (insertErrors): here
4344 (setCursorFromRow): here
4346 2002-01-13 Allan Rae <rae@lyx.org>
4348 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4349 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4350 There is still a way to segfault this although you may have to do this
4351 multiple times: Have an InsetERT with an unknown command in it.
4352 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4353 <down-arrow>, <Enter> again, View->DVI, BANG!
4355 * text2.C (setCursor):
4356 (deleteEmptyParagraphMechanism):
4357 * lyxtext.h (setCursor):
4358 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4359 Making use of the return value may help fix other bugs.
4361 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4363 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4365 * LyXView.C (updateMenubar): call MenuBar::update here
4366 (updateToolbar): but not here
4367 (showState): do not update toolbar/menubar
4369 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4370 should need to care about that.
4372 * lyxfunc.C (verboseDispatch): simplify a bit
4373 (getStatus): have a version which takes a pseudoaction, and
4374 another which requires a (kb_action,string).
4376 * LyXAction.C (retrieveActionArg): make it work also when action
4377 is not a pseudo-action.
4378 (getActionName): simplify a bit
4381 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4383 * lyxfunc.C (verboseDispatch): new families of methods with
4384 several ways to specify a command and a bool to indicate whether
4385 the command name and shortcut should be displayed in minibuffer
4386 (eventually, we could extend that to a finer bitmask like
4387 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4388 (dispatch): the pristine dispatch command which just, well,
4389 dispatchs! Note it still sets its result to minibuffer; I'm not
4392 * lyxfunc.h: remove setHintMessage
4394 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4396 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4398 * BufferView_pimpl.C (specialChar): delete new inset if we have
4399 not been able to insert it.
4401 * kbmap.C: revert to using int instead of kb_action, since all we
4402 are dealing with is pseudo-actions.
4404 * LyXAction.C (searchActionArg): change to return int instead of
4405 kb_action, since the result is a pseudoaction.
4407 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4409 * buffer.C (insertErtContents): Fix (partially) the font bug.
4411 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4413 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4414 as the other one is broken on my machine!
4416 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4419 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4421 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4423 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4424 reflect their actual use. Provide compatibility code for older lyxrc
4427 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4429 change names of popup font variables in line with the changes to lyxrc.C
4431 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4433 * buffer.C (asciiParagraph): avoid outputing a word twice after
4436 * lyxrc.C (getDescription): document that document_path and
4437 template_path can be empty.
4439 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4441 * LaTeXFeatures.C (getMacros):
4442 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4444 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4446 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4448 (getPackages): rename feature "floats" to "float". Use an array to
4449 iterate over 'simple' features (i.e. just a \usepackage). Add
4450 handling of "amsmath" (renamed from "amsstyle").
4452 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4454 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4457 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4459 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4460 FuncStaus::FuncStatus & FuncStaus::some_method().
4462 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4464 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4465 of the func_satus stuff. Edited and massaged in various ways by
4468 * lyxfunc.C (getStatus): use FuncStatus
4470 2002-01-08 Juergen Vigna <jug@sad.it>
4472 * text.C (nextBreakPoint): use function Inset::isChar().
4474 * paragraph.C (TeXOnePar): use function
4475 Inset::forceDefaultParagraphs.
4477 * buffer.C (latexParagraphs): use function
4478 Inset::forceDefaultParagraphs.
4480 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4482 * lyx_gui.C (init): set the style of the menu popups to
4483 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4485 2002-01-07 Juergen Vigna <jug@sad.it>
4487 * text.C (setHeightOfRow): small fix
4488 (prepareToPrint): don't look at alignment if we don't have the place
4491 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4493 * box.C: New file. Move the Box methods and functions out of box.h,
4494 following Lars' suggestion.
4496 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4498 * box.h: #include "support/LOstream.h", needed for inlined function.
4501 * lyxtextclasslist.C: added some using std declarations.
4503 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4505 * box.h: make signed dimensions to allow insets wider than
4506 the screen (bug #162)
4508 * BufferView_pimpl.C: add some insetHit debug
4510 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4512 * vc-backend.C: add FIXME
4514 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4516 * lyxfunc.C (getStatus): enable code for showing math font status
4519 2002-01-07 Juergen Vigna <jug@sad.it>
4521 * text.C (nextBreakPoint): removed debug output not needed anymore.
4523 2002-01-06 Juergen Vigna <jug@sad.it>
4525 * text.C (nextBreakPoint): fixed up this function we had this bug
4526 since ever but now hopefully we break row better.
4527 (insertChar): we have to check if an inset is the next char as it
4528 could now happen that a large inset is causing a break.
4530 2002-01-05 Juergen Vigna <jug@sad.it>
4532 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4533 if it doesn't like to be drawed.
4535 2002-01-04 Juergen Vigna <jug@sad.it>
4537 * BufferView2.C (lockInset): forgot to set a cursor.
4539 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4541 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4546 * form_maths_panel.C:
4547 * form_maths_panel.h:
4548 * form_maths_panel.fd: implemented sub- and super- buttons in math
4551 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4552 (or ^ space) to be used as in TeX (req'd by André).
4554 * lyxfunc.C: Allow ^ and _ again to be used both as
4555 super/subscript (mathed) and as themselves (in text).
4557 2002-01-03 Allan Rae <rae@lyx.org>
4559 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4560 "LyX" or the filename of the current buffer if it has one. This is a
4561 modified form of John Levon's patch.
4563 * XFormsView.C (setWindowTitle): also set icon title.
4565 * LyXView.h (setWindowTitle): signature changed.
4566 * XFormsView.h (setWindowTitle): ditto.
4568 2002-01-02 Juergen Vigna <jug@sad.it>
4570 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4572 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4574 * screen.C (topCursorVisible): introduce a temp var for
4575 text->cursor.row(), handle the case where this row is null. (kindo
4578 * text2.C (setCursor): add a couple of asserts.
4580 * paragraph.h (inset_iterator): add -> operator
4582 * paragraph.[Ch] (autoDeleteInsets): remove member function
4584 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4585 cursor pos correctly and handle inset deletion by itself.
4586 (insertErrors): move iterator declaration out of for expression
4588 * lyxtextclass.C: add <algorithm>
4590 * Makefile.am: added the new files to sources, removed layout.C
4592 * layout.C: removed file
4594 * layout.h: remove LYX_DUMMY_LAYOUT
4596 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4600 * lyxtextclass.[Ch]:
4601 * lyxtextclasslist.[Ch]: new files
4603 * include order changes to a lot of files, also changes because of
4606 2001-12-27 Juergen Vigna <jug@sad.it>
4608 * buffer.C (asciiParagraph): more fixes.
4610 * tabular.C (ascii): make ascii export support export of only the
4611 data separated by a column-delimiter.
4612 (ascii): better support for ascii export.
4614 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4616 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4618 * tabular_funcs.C: use a "using std::getline" instead of the
4619 previous fix from Angus (necessary for cxx + lyxstring)
4621 2001-12-24 Juergen Vigna <jug@sad.it>
4623 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4625 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4626 problems. First check a minipage also if we have some ert-contents
4627 (not only on par->size(), second set the right depth of the paragraph
4628 on the relink to the root-paragraph-list!
4630 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4631 which then did not anymore update the main paragraphs on undo/redo!
4633 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4635 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4636 code. Support all font-changing funcs (even those which are not in
4637 menu currently). Support for reporting font settings in
4638 mathed (disabled until Andre provides a function on mathed's side).
4640 * func_status.h (toggle): small helper function to set toggle
4643 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4645 * tabular_funcs.C: getline -> std::getline
4647 2001-12-21 Juergen Vigna <jug@sad.it>
4649 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4650 accessed and could be 0 (I couldn't generate this but it seems
4653 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4655 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4656 * tabular_funcs.h: here and include iosfwd
4658 2001-12-20 Juergen Vigna <jug@sad.it>
4660 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4661 inside inset but undo_par was.
4663 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4665 * Thesaurus.C: always include <config.h> in sources.
4669 * box.h: do not include <config.h> in header files
4671 * text.C (paintLastRow): remove unused variable
4673 * text.C (transformChar):
4675 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4678 * font.C (width): rewrite to use uppercase() instead of
4681 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4683 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4685 * lyxfind.C: clean up of find failure position change
4687 2001-12-20 Juergen Vigna <jug@sad.it>
4689 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4691 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4692 (TeXRow): added to LaTeX a single tabular row.
4693 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4694 (Latex): simplified and finally good LT-h/f support.
4695 (various_functions): just small adaptions for LT-h/f support.
4697 * tabular_funcs.[hC]: added and moved here all not classfunctions
4700 2001-12-19 Juergen Vigna <jug@sad.it>
4702 * tabular.[Ch]: better support for longtabular options (not finished
4705 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4707 * text.C (paintLastRow): use the label font instead of the font of
4708 the last character to compute the size of *_BOX. This makes more
4709 sense and avoids a crash with empty paragraphs.
4710 Use Painter::rectangle to draw EMPTY_BOX.
4712 2001-12-19 Juergen Vigna <jug@sad.it>
4714 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4715 the paragraphs if the replaced paragraph is not the first one!
4716 Tried to delete not used paragraphs but does not work yet so for
4717 now it's inside #ifdef's and by default off!
4719 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4721 * MenuBackend.C: include "lyx_main.h" instead of declaring
4722 lastfiles (actually was declared as LastFiles* instead of a
4725 2001-12-17 Juergen Vigna <jug@sad.it>
4727 * tabular.C (AppendColumn): applied John's fix
4729 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4733 * BufferView_pimpl.h:
4734 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4737 * box.h: new start of class for above
4739 * lyxfunc.C: ignore space-only minibuffer dispatches.
4740 Show the command name when it doesn't exist
4742 * minibuffer.C: don't add empty lines to the history
4744 * minibuffer.C: add a space on dropdown completion
4746 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4748 * text.C: fix line above/below drawing in insets
4750 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4752 * lyxlength.C (LyXLength): Initialize private variables.
4754 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4756 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4757 when inserting error insets.
4759 2001-12-13 Juergen Vigna <jug@sad.it>
4761 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4762 actually sometimes the before-paragraph.
4763 (setUndo): don't clear the redostack if we're not actually undoing!
4765 2001-12-06 Juergen Vigna <jug@sad.it>
4767 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4768 and fixed redoing of main paragraph, so we can use it now ;)
4770 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4772 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4774 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4777 2001-12-13 André Pönitz <poenitz@gmx.net>
4780 * undo_func.C: minor cleanup
4782 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4784 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4785 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4786 font in urw-fonts package which is marked as -urw-fontspecific and
4787 does not work (incidentally, changing the encoding in the
4788 fonts.dir of this package to -adobe-fontspecific fixes the
4791 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4792 is a crash when undoing first paragraph (Juergen, please take a
4793 look). THis does not mean the undo fix is wrong, just that it
4796 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4797 the (Paragraph*) version when needed instead of duplicating the
4800 * text.C (workWidth): use Inset::parOwner to find out where the
4801 inset has been inserted. This is a huge performance gain for large
4802 documents with lots of insets. If Inset::parOwner is not set, fall
4803 back on the brute force method
4805 * paragraph_pimpl.C (insertInset):
4806 * paragraph.C (Paragraph):
4807 (cutIntoMinibuffer): set parOwner of insets when
4808 inserting/removing them
4810 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4812 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4818 * mathed/formulabase.C:
4819 * mathed/math_cursor.[Ch]:
4820 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4823 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4825 * lyxlength.[Ch] (operator!=): new function
4827 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4829 * text.C (workWidth): use Inset::parOwner to find out where the
4830 inset has been inserted. This is a huge performance gain for large
4831 documents with lots of insets. If Inset::parOwner is not set, fall
4832 back on the brute force method
4834 * paragraph_pimpl.C (insertInset):
4835 * paragraph.C (Paragraph):
4836 (cutIntoMinibuffer): set parOwner of insets when
4837 inserting/removing them
4839 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4841 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4843 * tabular-old.C (getTokenValue):
4844 * tabular.C (getTokenValue):
4845 (write_attribute): new versions for LyXLength
4846 (everywhere): adjust the use of widths
4848 * tabular.h: change the type of widths from string to LyXLength
4850 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4852 * paragraph.C: fixed missing line number count when exporting
4853 Environments to LaTeX file
4855 * buffer.C: added informational message for checking line numbers.
4857 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4859 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4860 paragraph, do the 'double space' part, but not the 'empty
4863 * text.C (workWidth): small optimization
4864 (getLengthMarkerHeight): use minimal size for negative lengths.
4866 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4868 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4870 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4872 2001-12-11 André Pönitz <poenitz@gmx.net>
4875 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4877 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4879 * text2.C: keep selection on a setFont()
4881 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4883 * lyx_cb.C: another bv->text misuse, from insert label
4885 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4888 * kbsequence.C: re-instate nmodifier mask
4890 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4892 * lyx_main.h: make lyxGUI private.
4894 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4896 * lyxfind.C: place the cursor correctly on failed search
4898 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4900 * text.C (getLengthMarkerHeight): for small heights, the arrows
4901 are not always on top/bottom of the text
4902 (drawLengthMarker): smaller arrows; take the left margin in
4903 account; draw also vfills.
4905 (paintLastRow): remove special code for vfill and standard spaces,
4906 since everything is handled in drawLengthMarker now.
4908 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4910 * buffer.C (insertErtContents): try to handle font and language
4911 interaction a bit better.g
4913 * ColorHandler.C (updateColor): change the hash to cover the whole
4914 LColor enum, ws cleanup
4915 (getGCLinepars): ditto
4916 (getGCLinepars): only lookup in the linecache once.
4918 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4920 * iterators.C (operator++): Make the iterator more robust
4922 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4924 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4926 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4929 * text.C: better added space drawing
4931 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4934 * BufferView2.C: fix layout combo update on inset unlock
4936 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4938 * Makefile.am: don't compile unused files
4940 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4944 * LyXAction.C: remove old LFUN_LAYOUTNO
4946 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4948 * paragraph_pimpl.h:
4949 * paragraph_pimpl.C: isTextAt() doesn't need font param
4951 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4954 * lyxlex.C: little cleanup
4956 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4958 * BufferView_pimpl.C: fix insertAscii for insets
4960 2001-12-05 Juergen Vigna <jug@sad.it>
4962 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4963 set the right font on the "multi" paragraph paste!
4965 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4971 * lyxlength.C: remove out-commented code.
4987 * vc-backend.C: change "while(" to "while ("
4989 * lyxlength.[Ch]: add zero function to check if length is zero or
4991 * lyxgluelength.C: use it
4993 2001-12-05 Allan Rae <rae@lyx.org>
4995 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4996 Works for 2.95.3, from what I understand of Garst's reports this should
4997 work for other g++ versions. We're screwed if the abs(int) definition
4998 changed between bugfix releases of gcc.
5000 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5002 * text.C: fix chapter label offset !
5004 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5007 * text.C: fix hfill at end of line, clean up
5009 2001-12-04 Juergen Vigna <jug@sad.it>
5011 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5012 that we force an update of the inset and it's owners if neccessary.
5014 2001-12-03 Juergen Vigna <jug@sad.it>
5016 * text.C (rowLast): simplified code
5018 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5020 * lyxfunc.C: fix show options on timeout
5022 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5024 * screen.C (topCursorVisible): scroll half a page when the cursor
5025 reached top of bottom of screen
5027 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5029 * minibuffer.C: deactivate on loss of focus
5031 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5033 * vspace.[Ch] (operator!=): add operator.
5035 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5037 * BufferView_pimpl.C: refuse to open an inset when
5038 there's a selection.
5040 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5042 * BufferView_pimpl.C: allow to click on RHS of full row insets
5044 2001-11-30 Juergen Vigna <jug@sad.it>
5046 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5047 insets for undo reasons.
5049 2001-11-28 André Pönitz <poenitz@gmx.net>
5051 * vspace.[Ch]: cosmetical changes
5053 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5063 * kbsequence.C: part re-write of old kb code
5066 * WorkArea.C: remove Lgb_bug_find_hack
5068 2001-11-30 José Matos <jamatos@fep.up.pt>
5070 * buffer.C (makeDocBookFile): add a comment to point a hack.
5071 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5072 Fixed a double write of labels.
5074 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5077 * LaTeX.h Fixed bug in LaTeX class where it would not
5078 re-run latex if no depfiles were changed, but the .dvi was removed.
5080 2001-11-28 André Pönitz <poenitz@gmx.net>
5082 * all the files from the change on 2001/11/26:
5083 use lyx::layout_type instead of LyXTextClass::size_type
5084 use lyx::textclass_type instead of LyXTextClassList::size_type
5086 2001-11-29 Juergen Vigna <jug@sad.it>
5088 * text.C: added support for paragraph::isFreeSpacing()
5090 * buffer.C: same as above
5092 * paragraph.h: inserted isFreeSpacing() function to enable
5093 FreeSpacing inside InsetERT.
5095 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5096 of the paragraph's in the cut/copy buffer to 0!
5098 * text2.C (removeRow): remove the assert as it can!
5100 * lyxtext.h: added helper function firstRow returning firstrow and
5101 made firstrow private again.
5103 * BufferView2.C (lockInset): don't relock if we're already locked!
5105 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5107 (removeRow): added Assert::(firstrow)
5109 * debug.C: forgot to add INSETTEXT here.
5111 2001-11-28 Juergen Vigna <jug@sad.it>
5113 * sp_spell.C (initialize): changed error text to more general
5114 spellchecker command use (not only ispell!)
5116 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5118 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5120 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5122 * vspace.C: initialise lyxgluelength on failure
5124 2001-11-28 Allan Rae <rae@lyx.org>
5126 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5127 declaration & definition that looks like a function declaration.
5129 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5131 * BufferView2.C (copy):
5132 (copyEnvironment): do not clear the selection when doing a copy.
5134 * text.C (paintFirstRow): compilation fix
5136 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5138 * tabular.C (Latex): correct line count when writing latex.
5140 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5142 * paragraph_pimpl.h:
5143 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5146 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5150 * LColor.C: change vfillline->added_space
5152 * text.C: add markers and text for added space
5154 * vspace.C: fix comment
5156 2001-11-28 André Pönitz <poenitz@gmx.net>
5158 * paragraph.C: whitespace changes
5159 * all the other files from the change on 2001/11/26:
5160 change *::pos_type into lyx::pos_type
5162 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5164 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5165 language of the document when inserting error insets.
5167 2001-11-26 André Pönitz <poenitz@gmx.net>
5169 * BufferView_pimpl.[Ch]:
5177 * paragraph_pimpl.[Ch]:
5180 * text2.C: reduce header dependencies, introduce type for positions
5182 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5184 * <various>: change to use Alert.h
5186 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5188 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5189 when encountering an unknown token.
5190 (readLyXformat2): Show an error message if there were unknown tokens.
5192 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5195 * BufferView_pimpl.C:
5199 * text2.C: use par->isInset()
5201 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5203 * paragraph_pimpl.h:
5204 * paragraph_pimpl.C: cleanup
5206 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5208 * text2.C (removeRow):
5209 * text.C (setHeightOfRow): remove useless (and costly) call to
5212 2001-11-20 Allan Rae <rae@lyx.org>
5214 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5215 Now need Inset*::checkInsertChar() to return true for appropriate
5216 cases so that the characters in the minibuffer will actually be
5219 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5221 * text.C: change the order of the includes.
5222 (workWidth): initialize it at once.
5223 (workWidth): make maxw unsigned
5224 (setHeightOfRow): remove unused variable (inset)
5225 (selectSelectedWord): remove unused variable (inset)
5226 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5228 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5230 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5231 server is not running.
5233 (closeConnection): add debug info when server is disabled.
5235 * ColorHandler.C (getGCForeground): send debug message to GUI
5238 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5240 * kbmap.C (bind): modify because return conventions of
5241 kb_sequence::parse have changed.
5243 * kbsequence.C (parse): only ignore spaces and not any stupid
5244 control character. This avoids tests like s[i] <= ' ', which are
5245 guaranteed to fail with 8bit characters and signed chars.
5246 Change return code to string::npos when there have been no error
5247 (0 was a bad idea when error is at first character)
5249 2001-11-14 José Matos <jamatos@fep.up.pt>
5252 * buffer.C (simpleDocBookOnePar): removed unused argument.
5254 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5256 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5257 insets which are part of a word. Paragraph::isLetter takes care of
5258 that now. Use Paragraph::isInset to identify insets.
5259 (selectSelectedWord): do not test for hyphenation break.
5261 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5262 that protected spaces are considered as spaces.
5264 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5267 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5270 * lyxserver.C: fix it. and small cleanup.
5272 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5274 * BufferView_pimpl.C: use inline helpers
5277 * LaTeXFeatures.C: fix typos
5280 * Spacing.C: move spacing_string into class
5282 * ToolbarDefaults.C: move stuff into namespace anon
5284 * layout.h: update enum
5286 * lyxfunc.C: use better debug
5288 * minibuffer.h: fix typo
5292 * WorkArea.C: add and use Debug::WORKAREA
5296 * text2.C: code re-organisation, inline helpers
5298 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5300 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5301 std::vector.empty().
5303 2001-11-09 Allan Rae <rae@lyx.org>
5305 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5306 '\n's after tables. Tabular and ERT inset work now makes this no
5309 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5312 * minibuffer.C: fix crash, improve drop-down completion
5314 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5317 * lyxserver.C: invalidate fd's when doing endPipe()
5319 2001-11-08 José Matos <jamatos@fep.up.pt>
5321 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5322 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5325 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5327 2001-11-07 José Matos <jamatos@fep.up.pt>
5330 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5333 * buffer.C (sgmlOpenTag):
5334 * buffer.C (sgmlCloseTag): removed debug info.
5336 * buffer.h (sgmlOpenTag):
5337 * buffer.h (sgmlCloseTag): made public.
5339 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5341 * buffer.C (saveParamsAsDefaults):
5342 * lyx_cb.C (MenuLayoutSave): remove
5344 * LyXAction.C (init):
5346 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5348 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5350 * buffer.C (setPaperStuff): removed from here...
5352 * bufferparams.C (setPaperStuff): ... and moved there.
5354 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5358 * XFormsView.C: add support for drop-down completion
5360 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5362 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5365 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5367 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5370 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5372 * lyx_main.C: change ref to known bugs
5374 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5376 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5377 to work around older babel problems.
5379 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5381 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5383 2001-10-24 Juergen Vigna <jug@sad.it>
5385 * tabular-old.C (ReadOld): below variable changes reflected.
5387 * tabular.[Ch]: added ltType struct for longtable header/footer
5388 defines and changed all instances where they are used. Added
5389 future support for double top/bottom rows.
5391 2001-10-24 José Matos <jamatos@fep.up.pt>
5393 * buffer.h (docbookHandleCaption):
5394 * buffer.C (docbookHandleCaption): removed unused function.
5395 (makeDocBookFile): moved docbook supported version to v4.1.
5397 2001-10-24 José Matos <jamatos@fep.up.pt>
5400 * tabular.C (docbookRow): new function to export docbook code of a row.
5401 (DocBook): now honors the longtable flags.
5403 2001-10-23 José Matos <jamatos@fep.up.pt>
5406 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5407 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5409 * buffer.C (makeLinuxDocFile):
5410 (makeDocBookFile): reworked the preamble, more clean, and with
5411 support for lyx defined entities. Changed the document declaration
5412 to be more XML friendly.
5414 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5415 if we need to output XML that should be done with a filter.
5417 2001-10-22 Juergen Vigna <jug@sad.it>
5419 * sp_pspell.h (class PSpell): add alive function needed in the
5420 controller to see if the spellchecker could be started.
5422 2001-10-22 Juergen Vigna <jug@sad.it>
5424 * buffer.C (insertStringAsLines): modify the font for inserting
5425 chars in certain conditions by calling checkInsertChar(font).
5427 2001-10-19 Juergen Vigna <jug@sad.it>
5429 * text.C (workWidth): use getRow instead of wrong algorithm.
5430 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5432 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5437 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5439 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5441 * text.C (workWidth): do not search for the exact row when
5442 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5443 optimization for big documents.
5445 2001-10-18 Juergen Vigna <jug@sad.it>
5447 * text.C (workWidth): new function with added Inset * parameter.
5449 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5451 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5453 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5454 change return type of getColumnNearX.
5457 * text.C (changeRegionCase): use uppercase/lowercase instead of
5460 (rightMargin): simplify code by factoring out the uses of
5465 (appendParagraph): use Paragraph::size_type
5467 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5469 * vspace.C (asLatexString): add a missing break
5471 2001-10-15 Herbert Voss <voss@perce.de>
5473 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5475 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5477 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5480 2001-10-10 André Pönitz <poenitz@gmx.net>
5482 * lyxfunc.C: removed greek_kb_flag.
5484 2001-10-10 Herbert Voss <voss@perce.de>
5486 * lyx_main.C: delete global string help_lyxdir.
5488 2001-10-09 Herbert Voss <voss@perce.de>
5490 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5492 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5494 * lyx_main.C: added global string help_lyxdir.
5496 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5498 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5500 * lyxrc.C (set_font_norm_type): support iso8859-4
5502 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5504 * LaTeX.C (deplog): add another regex for MikTeX
5506 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5508 * lyxrc.C (set_font_norm_type): support iso8859-3
5510 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5512 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5514 * LaTeXFeatures.C: remove special case of french and index
5516 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5517 before \begin{document}). This solves several incompatibilities.
5519 2001-10-03 Garst Reese <reese@isn.net>
5521 * lyx_cb.C: change CheckTex error msg.
5523 2001-10-03 José Matos <jamatos@fep.up.pt>
5525 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5527 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5529 * .cvsignore: update
5531 * lyx_main.C (commandLineVersionInfo): use new style version info.
5533 * buffer.C (writeFile):
5536 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5538 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5540 * version.h: update to use stuff in version.C
5542 * version.C.in: new file. Contains version information determined
5543 at compile time. This is a merging of version.h and
5546 2001-10-03 Juergen Vigna <jug@sad.it>
5548 * BufferView_pimpl.C (update): don't change "dirty" status in
5551 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5553 * WorkArea.C (c-tor): re-position version string slightly.
5555 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5557 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5558 revert to previous code.
5560 WorkArea.[Ch]: (show, destroySplash): methods removed.
5562 WorkArea.C: rework code so that it's an amalgam of the codes before and
5563 after the splash screen was moved to WorkArea.
5565 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5568 * vspace.C (inPixels):
5571 * buffer.C (insertStringAsLines):
5572 (asciiParagraph): fix types to be large enough
5574 * lyxlex_pimpl.h: change member status from short to int
5576 * layout.h: fix type of endlabeltype
5579 * kbsequence.C (parse): change return type to string::size_type
5581 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5584 * Bullet.C (bulletSize):
5585 (bulletEntry): do not use short ints as parameters
5587 * BufferView2.C (insertLyXFile): change a char to an int.
5589 * WorkArea.C (WorkArea): remove unneeded floats in computation
5591 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5593 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5595 * paragraph.C (asString): Do not ignore newline/hfill chars when
5596 copying to the clipboard.
5598 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5600 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5601 after a multi-line inset.
5603 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5605 * paragraph.C (validate): Set NeedLyXFootnoteCode
5607 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5609 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5610 and decrease-error to decrease.
5612 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5614 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5615 it more readable (should be equivalent)
5617 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5619 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5621 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5623 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5624 of a cursor (row, etc.) after a character has been deleted
5625 (deleteEmptyParagraphMechanism): call the method above on _all_
5626 cursors held by the LyXText when a double space has been
5629 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5631 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5633 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5635 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5636 background. Use greyOut() and the new show() methods to toggle between
5637 the foreground and background. Add code to remove the splash after
5638 its initial showing.
5640 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5641 (create_forms): no longer call Dialogs::showSplash.
5643 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5645 * .cvsignore: add version_info.h
5647 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5649 * version_info.h.in: new file
5651 * Makefile.am: add version_info.h.in
5653 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5654 version_info.h instead of VERSION_INFO
5656 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5658 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5659 The ERT inset now returns string().
5661 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5663 * lyxtext.h, text.C (selectNextWord): renamed as
5664 selectNextWordToSpellcheck.
5666 * text.C (selectNextWordToSpellcheck): Modified to not select
5667 words inside an ERT inset.
5669 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5671 * lyx_cb.C (MenuLayoutSave): change a bit the question
5673 * sp_base.h: include <sys/types.h>
5675 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5677 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5679 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5681 * several files: fix typos in user-visible strings
5683 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5685 * text2.C (pasteSelection): do not set the selection, since it
5686 will be cleared later. Actually, the intent was to fix the way the
5687 selection was set, but I figured rmoving the code was just as good.
5689 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5691 * FontLoader.C (available): Check if font is available without
5694 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5696 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5698 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5700 * lyxrc.[Ch]: added display_graphics variable and associated code.
5702 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5704 * bufferparams.C (hasClassDefaults): new method. Returns true if
5705 the buffer parameters correspond to known class defaults
5707 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5709 * XFormsView.C (show): set minimum size to the main window.
5711 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5713 * text2.C (copySelection):
5715 * lyxfind.C (LyXReplace):
5716 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5717 LyXText::selectionAsString.
5719 * paragraph.C (asString): add "label" argument to the second form
5721 * text2.C (selectionAsString): add "label" argument and pass it to
5722 Paragraph::asString.
5724 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5726 * lyx_main.C (commandLineHelp): remove version information
5728 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5730 * lyx_main.C: add -version commandline option
5732 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5734 * paragraph.h: make the optional constructor arg required instead.
5735 some modifications to other files because of this.
5737 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5739 * lyxserver.C (C_LyXComm_callback): make it static
5741 * lyx_main.C (error_handler): make it static
5743 * lyx_gui.C (LyX_XErrHandler): make it static
5745 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5747 * WorkArea.C: make the extern "C" methods static.
5749 * Makefile.am (lyx_LDADD): simplify
5751 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5753 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5754 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5756 * LyXAction.C (init):
5757 * lyxfunc.C (dispatch): associated code removal.
5759 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5761 * lyxfont.h (isSymbolFont): shut off warning
5763 * text.C (setHeightOfRow):
5764 (getVisibleRow): fix crash with empty paragraphs which have a
5767 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5769 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5772 2001-09-04 José Matos <jamatos@fep.up.pt>
5775 * tabular.C (docbook): rename docBook method to docbook.
5777 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5779 * Makefile.am: add dependencies to main.o.
5781 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5783 * FontLoader.C (available): Return false if !lyxrc.use_gui
5785 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5787 * FontInfo.C (query):
5788 * converter.C (view):
5789 * importer.C (Import):
5790 * exporter.C (Export): Can not -> cannot.
5792 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5794 * BufferView_pimpl.C: allow to create index inset even if
5797 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5799 * buffer.C (getLists): replace boost::tie code with an explicit pair
5800 as boost::tie can break some compilers.
5802 * iterators.h: Added a std:: declaration to the return type of
5805 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5807 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5810 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5812 * iterators.[Ch]: New files. Provide paragraph iterators.
5814 * buffer.C (changeLanguage): Use paragraph iterators.
5815 (isMultiLingual): ditto
5817 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5819 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5821 * FontLoader.C: Support for cmr font.
5823 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5825 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5826 (available): New method.
5828 * FontInfo.C (getFontname): Use scalable fonts even when
5829 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5832 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5834 * converter.C (Formats::view): reverted! Incorrect fix.
5836 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5838 * converter.C (Formats::view): only output the -paper option
5839 if the dvi viewer is xdvi, thereby fixing bug #233429.
5841 2001-08-23 Herbert Voss <voss@perce>
5843 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5845 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5847 * Spacing.h (Spacing): Set space to Default on in the default
5850 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5852 * vc-backend.h (RCS::versionString): add RCS to version
5853 (CVS::versionString): add CVS to version
5855 * vc-backend.C (scanMaster): do not add CVS to version.
5856 (scanMaster): do not add RCS to version
5858 * lyxvc.C (versionString): new method
5860 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5862 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5864 * Spacing.C (set): initialize fval
5866 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5868 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5871 2001-08-16 Juergen Vigna <jug@sad.it>
5873 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5875 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5877 * BufferView_pimpl.C:
5880 * text2.C: setParagraph takes linespacing now
5882 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5884 * LyxAction.C: add internal LFUN_CITATION_INSERT
5886 * LyXView.C: actually apply fix
5888 * bufferlist.C: fix open non-existent file
5890 * lyxfind.C: fix indentation
5892 * lyxfunc.C: remove unneeded assert, fix typo
5894 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5896 * MenuBackend.C: use "Floatname List"
5898 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5900 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5901 when converting LaTeX layout to insetERT.
5902 Generate a non-collapsed float when reading old float
5904 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5906 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5909 2001-08-13 Juergen Vigna <jug@sad.it>
5911 * text.C (fill): return 0 instead of 20 as this seems to be the more
5914 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5916 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5919 2001-08-13 Juergen Vigna <jug@sad.it>
5921 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5923 (SearchBackward): comment out the unlocking of the inset_owner this
5924 should not be needed!
5926 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5928 * Many files: Remove inherit_language, and add latex_language
5930 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5933 2001-08-10 Juergen Vigna <jug@sad.it>
5935 * text.C (prepareToPrint): fixed hfill-width in draw!
5937 * BufferView2.C (selectLastWord): save the selection cursor as this
5938 now is cleared in the function LyXText::clearSelection!
5940 2001-08-08 Juergen Vigna <jug@sad.it>
5942 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5943 BACKSPACE type functions.
5945 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5946 is only cutted from the document but not put in the cut-buffer, where
5947 still the old stuff should be.
5949 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5951 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5953 * tabular.C (SetWidthOfCell): fixed special case where the width
5955 (LeftLine): handle '|' in align_special.
5957 (LeftAlreadyDrawed): ditto
5958 (SetWidthOfCell): ditto
5960 2001-08-07 Juergen Vigna <jug@sad.it>
5962 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5964 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5966 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5967 * lyxlex.[hC]: ditto
5969 2001-08-06 Juergen Vigna <jug@sad.it>
5971 * text.C (getVisibleRow): fix up row clearing a bit.
5973 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5975 * minibuffer.C: make sure the X server sees the changes in the input.
5977 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5979 * paragraph.C (getFont): split into...
5980 (getLabelFont): this
5981 (getLayoutFont): and this
5982 * paragraph_pimpl.C (realizeFont): calling this
5984 * text2.C (getFont): split into...
5985 (getLayoutFont): this
5986 (getLabelFont): and this
5987 (realizeFont): all three calling this
5989 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5992 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5994 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5996 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5998 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5999 layouts from the Quote inset insertion.
6001 2001-08-03 Juergen Vigna <jug@sad.it>
6003 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6005 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6006 only if status not is already CHANGED_IN_DRAW (second level).
6008 * text.C (draw): don't set the need_break_row when inside an
6011 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6013 * buffer.C (parseSingleLyXformat2Token): handle more latex
6016 * bufferview_funcs.[hC]: change function names to
6017 begin with small char, adjust other files.
6019 2001-08-02 André Pönitz <poenitz@gmx.net>
6022 BufferView_pimpl.C: remove broken special code for math-greek
6024 2001-08-02 Juergen Vigna <jug@sad.it>
6026 * BufferView_pimpl.C (update): redone this function so that we
6027 update the text again if there was a CHANGE_IN_DRAW.
6029 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6030 (drawFromTo): added a new internal bool which is used by draw() and
6032 (general): some cursor drawing problems fixed.
6034 2001-08-01 Juergen Vigna <jug@sad.it>
6036 * lyxfind.C (LyXFind): fixed
6037 (SearchForward): ditto
6038 (SearchBackward): ditto
6040 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6041 spurius drawing of the cursor in the main area.
6043 * text2.C (status): small fix which could lead to a segfault!
6044 (clearSelection): remove unneeded BufferView param.
6046 2001-08-01 André Pönitz <poenitz@gmx.net>
6048 * lyxfunc.C: small change due to changed mathed interface
6050 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6052 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6054 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6056 * lyxfunc.c: fail gracefully if file doesn't exist
6061 * BufferView_pimpl.C: IsDirWriteable() proto changed
6063 * LyXView.C: fix updateWindowTitle() to store the last title
6065 2001-07-31 Juergen Vigna <jug@sad.it>
6067 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6068 the font (wrong since using of Paragraph::highestFontInRange).
6070 * paragraph.C (highestFontInRange): added a default_size parameter.
6072 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6073 (setHeightOfRow): reformat
6075 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6077 * converter.[hC] + affected files: move to (inital-char)lowercase
6080 * ParagraphParameters.C (ParagraphParameters): remove commented code
6082 * PainterBase.[Ch]: remove commented code
6084 * LaTeXFeatures.h: add "bool floats" for float.sty
6086 * LaTeXFeatures.C (LaTeXFeatures): init floats
6087 (require): handle float
6088 (getPackages): do it with floats
6090 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6092 * BufferView_pimpl.C (Dispatch): improve handling of
6093 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6095 * commandtags.h: #include lyxfont.h here temporarily to avoid
6098 * bufferlist.h: include LString.h here.
6100 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6102 * text2.C (getStringToIndex): new method.
6104 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6106 * *: Reduced header file dependencies all over.
6108 2001-07-30 Baruch Even <baruch@lyx.org>
6110 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6112 2001-07-29 Baruch Even <baruch@lyx.org>
6114 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6116 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6118 * ParameterStruct.h (endif): add a default constructor to make
6119 sure that all variables is initialized.
6121 * ParagraphParameters.C (ParagraphParameters): adjust
6123 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6125 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6126 index; also, check that there is something to index, and that it
6127 does not span over several paragraphs.
6128 (doubleClick): use WHOLE_WORD_STRICT for double click.
6130 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6132 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6135 2001-07-26 Baruch Even <baruch@lyx.org>
6137 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6138 an InsetFig figure, backwards compatible reading of old figure code.
6140 2001-07-27 Juergen Vigna <jug@sad.it>
6142 * text2.C: font.realize function adaption.
6144 * text.C (draw): add a warnings lyxerr text if needed.
6146 * layout.C: font.realize function adaption.
6148 * language.C: add inherit_language and implement it's handlings
6150 * bufferview_funcs.C (StyleReset): remove language parameter from
6151 font creation (should be language_inherit now).
6153 * bufferparams.C (writeFile): handle ignore_language.
6155 * paragraph.C (getFontSettings): the language has to be resolved
6156 otherwise we have problems in LyXFont!
6158 * lyxfont.C (lyxWriteChanges): added document_language parameter
6159 (update): removed unneeded language parameter
6161 * paragraph.C (validate): fixed wrong output of color-package when
6162 using interface colors for certain fonts in certain environments,
6163 which should not seen as that on the final output.
6165 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6167 * BufferView_pimpl.C:
6172 * LyXAction.C: add thesaurus support
6175 * lyxfind.C: add "once" parameter, for thesaurus, to not
6176 move to the next match
6178 2001-07-26 Juergen Vigna <jug@sad.it>
6180 * lyxfont.C (realize): honor ignore_language too!
6183 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6185 * text.C (draw): one place more for ignore_language to not draw
6188 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6190 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6192 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6194 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6195 the minipage conversion problem.
6197 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6199 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6202 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6204 * BufferView.h: don't forward declare WorkArea
6206 * BufferView.C: don't include WorkArea.h
6208 2001-07-25 André Pönitz <poenitz@gmx.net>
6212 * lyxfunc.C: new LFUN 'math-space'
6214 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6216 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6218 * text2.C (toggleInset): call open/close
6220 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6222 * lyxfunc.C (dispatch): add debug for the disabled case
6224 * font.C (buttonText): make similar to rectText
6226 * buffer.C (readInset): comment out parsing of insetlist and
6229 * PainterBase.C (rectText): small correction
6231 * BufferView_pimpl.C: comment out insettheorem and insetlist
6232 * LyXAction.C: ditto
6233 * commandtags.h: ditto
6235 2001-07-24 Juergen Vigna <jug@sad.it>
6237 * text.C (draw): honor the ignore_language.
6239 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6241 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6243 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6246 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6248 * lyxtext.h: remove unused (and unimplemented) methods
6250 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6252 * text.C (getVisibleRow): honor background color
6255 * Painter.h: remove default color argument for fillRectangle
6257 * text.C (backgroundColor): new method
6259 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6261 * text.C (getVisibleRow): adjust
6263 * font.[Ch] (rectText): new method, metrics
6264 (buttonText): new method, metrics
6266 * PainterBase.[hC]: make rectText and buttonText always draw and take
6269 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6271 * ToolbarDefaults.C (read):
6272 * MenuBackend.C (read): allow escaping in all strings
6274 * BufferView_pimpl.C (insertAndEditInset): new method.
6275 (Dispatch): use insertAndEditInset whenever appropriate.
6277 * BufferView_pimpl.C (insertNote): removed
6279 * BufferView_pimpl.C (smartQuote): new method, moved from
6280 BufferView; if an insetquote cannot be inserted, insert a '"'
6283 * BufferView2.C: remove insertCorrectQuote();
6285 * lyxfunc.C (getStatus): Add support for all remaingin
6288 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6290 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6291 command (necessary to pass " as parameter of self-insert.
6293 * text.C (selectWordWhenUnderCursor):
6294 (selectWord): add word_location parameter
6295 (selectWordWhenUnderCursor): same + remove special code for word
6297 (selectNextWord): use kind() to guess type of insetspecialchar,
6300 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6301 (insertErtContents): create ert insets as collapsed.
6302 (readInset): better compatibility code for Info inset.
6304 2001-07-20 Juergen Vigna <jug@sad.it>
6306 * lyxfunc.C (dispatch): use always LyXFind now!
6308 * text2.C (init): add a reinit flag so that the LyXText can be
6309 reinited instead of deleted and reallocated (used in InsetText).
6311 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6317 2001-07-18 Juergen Vigna <jug@sad.it>
6319 * text.C (selectNextWord): handle insets inside inset by calling
6320 always the bv->text functions so that we can go up the_locking_inset!
6322 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6323 in strange locations when inside an inset!
6325 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6326 handling to include insets.
6328 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6330 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6332 * LyXAction.C (init):
6334 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6335 LIGATURE_BREAK, since the name is so stupid.
6337 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6339 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6342 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6344 * sp_form.[Ch]: remove.
6346 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6348 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6351 * src/buffer.C (readInset): ditto.
6353 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6355 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6356 menuSeparator(), endOfSentenceDot(), ldots() and
6357 hyphenationPoint(), which are therefore removed.
6358 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6360 * LyXAction.C (init):
6361 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6363 * paragraph.C (getWord): removed.
6365 * BufferView_pimpl.C (Dispatch): use last word or selection for
6366 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6368 * lyx_main.C (queryUserLyXDir): do not ask before creating
6369 user_dir, except if it has been named explicitely.
6371 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6373 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6374 a document of zero size.
6376 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6378 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6379 approriately in the c-tor and in require().
6380 (getPackages): output the appropriate LaTeX for natbib support.
6382 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6383 variables "use_natbib" and "use_numerical_citations" when reading the
6385 (readInset): read the various natbib cite commands.
6386 (validate): white-space change.
6388 * bufferparams.[Ch]: new variables "bool use_natbib" and
6389 "bool use_numerical_citations".
6390 (writeFile): output them in the LyX file.
6392 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6394 * lyxfunc.C (getStatus): add support for all the inset insertion
6397 * text2.C (insertInset):
6398 * paragraph.C (insetAllowed):
6399 * BufferView_pimpl.C (insertInset): update to take in account the
6400 renaming of insertInsetAllowed
6402 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6404 * text2.C (getInset): new method. returns inset at cursor position.
6406 * BufferView_pimpl.C (Dispatch): changes because of this.
6408 * LyXAction.C (init): rename open-stuff to inset-toggle.
6410 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6412 * text2.C (toggleInset): renamed from openStuff; use
6415 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6417 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6419 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6421 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6423 * buffer.C (readLyXformat2): Add filename to the error dialog
6425 2001-07-18 Juergen Vigna <jug@sad.it>
6427 * tabular.C (GetCellNumber): put an assert here instead of the check!
6429 2001-07-17 Juergen Vigna <jug@sad.it>
6431 * BufferView_pimpl.C (toggleSelection): adapted too.
6433 * text.C (selectNextWord): adapted for use with insets.
6434 (selectSelectedWord): ditto
6436 2001-07-17 Juergen Vigna <jug@sad.it>
6438 * sp_spell.C (PSpell): fix initialitation order.
6440 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6442 * paragraph.C: spacing
6444 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6446 * sp_spell.C: repair language selection for pspell
6448 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6450 * lyxfunc.h: change more methods to begin with lower char.
6452 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6454 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6455 for unknown layouts.
6457 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6459 * buffer.C (readLyXformat2): Generate an error dialog if there are
6462 2001-07-16 Juergen Vigna <jug@sad.it>
6464 * sp_spell.C: always compile ISpell part.
6466 * lyxrc.C: added use_pspell entry and it's handling.
6468 2001-07-13 Juergen Vigna <jug@sad.it>
6470 * sp_spell.C: removed double includes.
6472 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6474 Consistent use of Lsstream.h:
6475 * Lsstream.h: added using std::stringstream for consistencies sake.
6477 * buffer.C: removed using std::stringstream
6479 * lyxfont.C (stateText):
6480 * paragraph.C (asString):
6481 * text.C (selectNextWord, selectSelectedWord):
6482 * text2.C (setCounter):
6483 * vspace.C (asString, asLatexString):
6484 std::ostringstream -> ostringstream.
6486 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6488 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6489 * commandtags.h: add LFUN_HELP_ABOUTLYX
6490 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6492 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6494 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6496 * lyx_gui_misc.C: remove spellchecker
6497 * lyxfunc.C: showSpellchecker
6499 * sp_ispell.h: added
6500 * sp_pspell.h: added
6502 * sp_form.[Ch]: removed
6503 * spellchecker.[Ch]: removed
6505 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6507 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6509 (simpleTeXSpecialChars): Simply print the input character without
6510 any special translation if pass_thru is set.
6512 * layout.h: Added bool pass_thru to layout class for being able to
6513 implement pass through of a paragraph for Literate Programming.
6515 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6516 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6517 * layout.C (Read): add "passthru" to list of layout tags and add
6518 code to set the pass_thru boolean when it is read.
6520 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6522 * trans_decl.h: remove allowed from KmodInfo
6524 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6528 * paragraph_pimpl.C (erase): use boost::prior
6530 * Painter.C (text): use data() instead of c_str() when length is
6532 * WorkArea.C (putClipboard): ditto
6533 * font.h (width): ditto
6535 * BufferView2.C: use it-> instead of (*it). for iterators
6537 * paragraph_pimpl.C: ditto
6538 * paragraph.C: ditto
6539 * minibuffer.C: ditto
6544 * converter.C: ditto
6546 * Variables.C: ditto
6547 * TextCache.C: ditto
6548 * MenuBackend.C: ditto
6549 * LyXAction.C: ditto
6551 * FloatList.C: ditto
6553 * ColorHandler.C (LyXColorHandler): ditto
6555 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6557 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6559 * text2.C (openStuff): reintroduce this method (which had been
6560 nuked in NEW_INSETS frenzy).
6562 * lyxfunc.C (Dispatch): when an action has not been handled, use
6563 its name in the error message, not its number.
6565 * paragraph.C (inInset): change method name to begin with lowercase.
6568 * text2.C: updates because of this.
6570 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6572 * ToolbarDefaults.C (add): add spaces in error message
6574 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6576 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6577 (readLyXformat2): rename return_par to first_par, use lyxlex's
6578 pushToken and remove the manual push handling.
6579 (parseSingleLyXformat2Token): add another ert comp. variable:
6580 in_tabular, rename return_par to first_par. handle newlines better
6582 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6584 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6586 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6588 * text2.C (getParFromID): removed
6590 * buffer.C (getParFromID): new method moved form lyxtext.
6591 * BufferView2.C (insertErrors): adjust
6592 (setCursorFromRow): adjust
6593 * BufferView_pimpl.C (restorePosition): adjust
6594 * lyxfunc.C (Dispatch): adjust
6595 * undo_funcs.C (textUndo): adjust
6597 (textHandleUndo): adjust
6598 (textHandleUndo): adjust
6600 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6602 * buffer.C: up' the LYX_FORMAT
6604 * lyxfont.h: turn NO_LATEX on as default
6606 * buffer.C (insertErtContents): new methods of tex style compability.
6607 (parseSingleLyXformat2Token): use it several places.
6608 * tabular.C (OldFormatRead): and here
6610 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6612 * text2.C: remove some commented code.
6615 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6616 * trans.C: changes because of the above.
6618 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6620 * text2.C (setCounter): Fix counters bug with bibliography layout.
6622 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6624 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6625 own member functions
6626 (simpleTeXSpecialChars): ditto
6628 2001-07-06 Juergen Vigna <jug@sad.it>
6630 * a lot of files: changed the access to LyXText::status and the
6631 call of undo-functions.
6633 * undo.[Ch]: added a inset_id to the undo informations.
6635 * undo_funcs.[Ch]: added and moved here all undo functions.
6637 * lyxtext.h: give the status enum a weight, made status_ a private
6638 variable and made accessor functions for it, removed the whole bunch
6639 of undo-functions as they are now in their own file, make some
6640 functions publically available. Added function ownerParagraph with
6643 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6644 made InInset() a const function, added getParFromID() function.
6646 * buffer.[Ch]: added const version for inset_iterator functions,
6647 added getInsetFromID() function.
6649 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6650 changed undo functions for new version.
6652 2001-07-05 Juergen Vigna <jug@sad.it>
6654 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6655 unknow mechanism does not call the proper constructor but only this
6656 one also if I request the other!?
6658 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6660 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6662 * text2.C (LyXText): use initialization lists.
6664 * lyxtext.h (Selection): initialize set_ and mark_
6665 (init): remove method
6667 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6669 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6671 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6673 * screen.[Ch]: change method names to begin with lowercase
6675 * BufferView_pimpl.C (updateScrollbar): simplify further and
6676 hopefully make it a bit faster.
6678 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6680 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6681 calling directly xforms functions.
6683 * Painter.C (Painter):
6684 * lyx_cb.C (MenuWrite):
6685 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6688 * lyx_gui.C: remove bogus guiruntime extern declaration.
6690 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6692 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6694 (redoDrawingOfParagraph): ditto
6695 (redoParagraphs): ditto
6696 (cutSelection): don't create a object for CutAndPaste use the
6697 static method directly
6698 (pasteSelection): ditto
6700 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6703 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6705 * modifications to some other files because of this.
6707 * Makefile.am (lyx_SOURCES): add XFormsView
6709 * XFormsView.[Ch]: new files
6711 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6712 the main window. Move the gui dependent stuff to XFormsView
6714 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6716 * tabular.C (GetCellInset): update cur_cell also in the row/col
6717 version of this function.
6719 * lyxfunc.C: no need to include figure_form.h here.
6725 * lyxvc.C: no need to include forms.h here.
6727 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6729 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6731 * lyxfunc.C (Dispatch):
6733 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6734 constructor argument.
6736 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6738 * paragraph.C (Paragraph): dont't clear, and just set layout.
6739 (makeSameLayout): use params's copy contructor.
6741 * ParagraphParameters.[Ch] (makeSame): delete method
6743 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6745 * Variables.[Ch]: fix indentation, rename set to isSet
6747 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6749 * lyxfunc.C (Dispatch): fix typo
6751 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6753 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6756 * bufferlist.C: include assert.h for emergencyWrite().
6758 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6760 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6761 give up at last (bug #425202) !
6763 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6769 * spellchecker.C: strip spellchecker options and bring up
6770 preferences tab instead
6772 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6774 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6775 the istringstream constructor
6777 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6779 * paragraph.C (getLayout): fix return value
6781 * paragraph.h: do not declare getLayout as inline.
6783 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6785 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6787 * lyxcursor.h (operator<): new func
6788 (operator>): new func
6789 (operator>=): new func
6790 (operator<=): new func
6792 * text.C (changeCase): use selection.start and selection.end
6793 (changeRegionCase): require from to be <= to. Require par to be a
6796 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6798 2001-06-27 Juergen Vigna <jug@sad.it>
6800 * text.C (cursorLeftOneWord): changed to return the cursor and added
6801 overlay with BufferView * parameter which calls this one.
6803 (selectWord): use new getWord function.
6804 (changeCase): renamed from changeWordCase as and extended to work
6807 * lyxtext.h: added enum word_location
6809 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6810 changeCase as this operates now also on selections.
6812 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6814 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6816 * many files: send debug output to Debug::INFO instead of
6819 * converter.C (View):
6821 (Move): send debug output to Debug::FILES instead of console.
6823 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6825 * lyxfunc.C (getStatus): use func_status
6827 * func_status.h: new header, describing the results of
6830 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6833 2001-06-25 The LyX Project <jug@sad.it>
6835 * buffer.C (sgmlOpenTag):
6837 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6839 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6841 * text2.C: remove some dead code
6843 * tabular.C (GetCellInset): store the last cell checked (gotten)
6845 * tabular.h: add the helper for the speedup
6847 * lyxtext.h: remove some dead code
6849 2001-06-26 The LyX Project <Asger>
6851 * paragraph.C: Change export to LaTeX of alignment to
6852 \begin{center} and family for better roundtrip work with reLyX.
6854 * Tune the math drawing a bit.
6856 2001-06-25 The LyX Project <Asger>
6858 * LColor.C (LColor): New color for math background. New color
6861 2001-06-25 The LyX Project <jug@sad.it>
6863 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6866 * bufferlist.C (newFile): do not restrict to files ending with
6869 * BufferView_pimpl.C (MenuInsertLyXFile):
6871 2001-06-24 The LyX Project <jug@sad.it>
6873 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6876 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6878 * lyxtext.h: rename most methods to begin with a small char.
6879 Lots of changes because of this.
6881 * paragraph.C (Paragraph): do not call fitToSize
6882 (erase): call Pimpl::erase
6883 (insertChar): call Pimpl::insertChar
6884 (insertInset): call Pipl::insertInset
6885 (breakParagraph): do not call fitToSize
6886 (breakParagraphConservative): do not call fitToSize
6887 (fitToSize): remove method
6889 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6891 2001-06-24 The LyX Project <Asger>
6893 * Fix Qt compilation^2
6895 2001-06-24 The LyX Project <jug@sad.it>
6897 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6898 depthHook(getDepth()-1).
6901 * ParagraphParameters.h:
6902 * ParameterStruct.h: change type of depth to unsigned int ==
6903 depth_type. Many adaptations to other files before of that.
6905 2001-06-24 The LyX Project <Asger>
6907 * Fix Qt compilation.
6909 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6911 * paragraph.h: renamed several methods to begin with small letter.
6912 several changes to many parts of the code because of this.
6914 2001-06-23 The LyX Project <jug@sad.it>
6916 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6917 rewritten to discard all double spaces when KeepEmpty is off
6918 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6919 to only handle newlines but not fiddle with spaces and friends.
6921 * lyxfunc.C (MenuNew): when doing 'new from template', use
6922 template_path as default directory
6924 2001-06-23 The LyX Project <Asger>
6926 * Clean-up of header file includes all over
6927 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6929 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6931 * paragraph.h: renamed from lyxparagraph.h
6933 2001-06-23 Asger <lyx@violet.home.sad.it>
6935 * Buffer.h: Removed Buffer::resize
6936 * BufferList.h: Removed BufferList::resize
6937 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6938 the document lazily when we change the width, or the font settings.
6940 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6942 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6944 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6946 * buffer.h: remove out of date comment
6948 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6951 * screen.C: fix "theoretical" GC leak
6953 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6955 * LaTeX.C (scanAuxFile):
6956 (deplog): remove trailing \r when reading stream (useful under
6959 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6961 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6962 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6963 and BufferView::theLockingInset(Inset*), so should use them and not
6964 access bv_->text->the_locking_inset directly.
6966 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6968 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6971 * tex-defs.h: remove old unused file
6973 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6975 * BufferView_pimpl.C: fix typo, remove minibuffer message
6976 when buffer has loaded
6978 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6980 * lyxfunc.C (Dispatch): use stringstream
6981 (MenuNew): use stringstream
6982 (Open): use stringstream
6984 * importer.C (Import): use stringstream
6986 * bufferview_funcs.C (CurrentState): use stringstream
6988 * LaTeX.C (run): use stringstream
6990 * BufferView_pimpl.C (savePosition): use stringstream
6991 (restorePosition): use stringstream
6992 (MenuInsertLyXFile): use stringstream
6994 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7007 * vspace.C: removed // -*- C++ -*- as first line.
7010 * version.h: added // -*- C++ -*- as first line.
7012 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7014 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7016 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7019 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7021 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7024 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7026 * gettext.C: include LString.h even when --disable-nls is on.
7028 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7030 * converter.h (Get): changed argument type from int to
7031 FormatList::size_type to avoid unnecessary conversion.
7033 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7036 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7038 * gettext.h: include LString.h even when --disable-nls is on.
7040 2001-06-07 Juergen Vigna <jug@sad.it>
7042 * text.C (BreakAgain): subst spaces with tabs.
7044 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7045 (resizeInsetsLyXText): set force on resizeLyXText.
7047 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7049 * gettext.h (gettext_init):
7050 (locale_init): use a real definition instead of a macro
7052 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7054 * Bufferview_pimpl.C:
7056 * LColor.C: further lcolor tidies
7058 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7060 * BufferView_pimpl.C (updateScrollbar): simplify.
7062 * BufferView2.C: don't include insets/insetinfo.h, change
7063 prototype for insertInset and call the Pimpl version. let
7064 updateInset call Pimpl version.
7066 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7067 gotoInset to BufferView::Pimpl
7069 2001-06-01 Juergen Vigna <jug@sad.it>
7071 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7072 inside a LockingInset (is the update needed at all?).
7074 2001-05-31 Juergen Vigna <jug@sad.it>
7076 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7077 here not the old one otherwise how should we compare it afterwards
7080 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7085 * FontInfo.C: bring C functions into global namespace when
7088 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7090 * LString.h: make sure config.h has been loaded before LString.h.
7092 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7093 (one for each char read by EatLine!).
7095 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7098 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7100 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7101 to the same as the par we break from
7103 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7105 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7107 * MenuBackend.C (expand): also create menu entries for wide
7108 versions of the floats.
7110 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7112 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7114 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7115 frontends/Makefile.am
7121 * tabular.C (getTokenValue): add std::
7123 * tabular-old.C (getTokenValue): add std::
7124 (getTokenValue): ditto
7125 (getTokenValue): ditto
7127 * screen.C (ToggleSelection): adjust
7129 * lyxtext.h: put selection cursors inside a Selection struct.
7131 * lyxfunc.C (moveCursorUpdate): adjust
7133 * lyxfont.C (latexWriteStartChanges): add std::
7137 * font.h: delete with(char const *, LyXFont const &)
7139 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7141 * FontInfo.C (getFontname): add std::
7143 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7144 (workAreaButtonPress): adjust
7145 (tripleClick): adjust
7147 (moveCursorUpdate): adjust
7150 * BufferView2.C (gotoInset): adjust
7152 2001-05-30 Juergen Vigna <jug@sad.it>
7154 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7155 to check pspell I add this as default as I now have new pspell
7156 libraries and they seem to use this.
7158 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7160 * text2.C (CutSelection): make the cursor valid before the call to
7163 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7165 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7166 relied on 0 terminated strings and other horrors. Bug found due to
7167 the new assert in lyxstring!
7169 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7172 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7174 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7177 * lyxfunc.C (processKeySym): change method of getting to the
7180 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7181 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7182 * BufferView_pimpl.[Ch]: here as private methods.
7184 2001-05-28 Juergen Vigna <jug@sad.it>
7186 * text.C (SetHeightOfRow): added the update() call again as it is
7187 needed to initialize inset dimensions!
7189 2001-05-16 Juergen Vigna <jug@sad.it>
7191 * text2.C (SetCharFont): Add new function with BufferView * and
7192 bool toggleall parameters for setting insets internal fonts.
7193 (SetFont): Freeze the undo as we may change fonts in Insets and
7194 all this change should be inside only one Undo!
7196 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7197 setting font's in insets as for them we have the SetFont function!
7199 2001-05-15 Juergen Vigna <jug@sad.it>
7201 * text2.C (ClearSelection): to be sure we REALLY don't have any
7204 * tabular.C (TeXCellPreamble): fixed the left border problem for
7207 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7209 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7212 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7214 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7215 LFUN_BREAKPARAGRAPH.
7217 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7218 help test to "internal only", similar for LFUN_INSERT_URL
7220 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7221 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7222 auto_region_delete and deadkeys.
7224 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7227 * LColor.C: remove some dead entries, tidy a little
7229 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7231 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7233 (Dispatch): implement LFUN_ESCAPE
7235 * commandtags.h: add LFUN_ESCAPE
7237 * LyXAction.C (init): add entry for LFUN_ESCAPE
7239 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7240 Remove commented code.
7241 (insertNote): moved here
7242 (open_new_inset): moved here
7244 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7247 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7249 * kbmap.C (findbinding): clean it up and make it work correctly.
7251 * lyx_main.C (init): do not pass argc and argv as parameters
7253 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7255 * buffer.C: fix path for OS/2 & Win32
7259 * lyx_main.C: Added os:: class.
7261 * os2_defines.h: update
7263 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7265 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7266 better by trying again with reduced state.
7268 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7270 * lyxrc.C (read): print error about invalid key sequence only when
7271 debugging (because not all latinX keysyms are known to some X
7274 * kbsequence.C (getiso): add a few std:: qualifiers
7275 (getiso): comment out extra return statement.
7277 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7279 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7281 (Dispatch): enhance the accent inset a bit. (not perfect)
7283 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7285 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7287 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7289 * bufferlist.C (emergencyWrite): fix assert() call
7291 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7293 * text.C (InsertChar): Added trivial patch to only send the "you
7294 can not do multiple spaces this way" message once during a
7297 2001-05-08 Baruch Even <baruch@lyx.org>
7299 * Makefile.am: Changed order of libraries to get LyX to link properly
7300 with the gnome frontend.
7302 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7304 * LaTeXFeatures.h: add a std:: qualifier
7306 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7308 * paragraph.C (String): use stringstream
7310 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7312 * paragraph.C (writeFile): remove footflag arg
7314 * buffer.C (makeLaTeXFile): use stringstream
7315 (latexParagraphs): remove footnot gurba
7317 * LaTeXFeatures.C (getPackages): use stringstream
7318 (getMacros): likewise
7319 (getTClassPreamble): likewise
7320 (getFloatDefinitions): new method
7322 * paragraph.C (writeFile): reindent
7325 * WorkArea.h: revert the xpos + etc changes.
7327 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7329 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7331 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7332 (pasteSelection): likewise
7333 * text2.C (CreateUndo): likewise
7335 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7337 * minibuffer.C (peek_event): temporarily reduce the functionality
7338 of the minibuffer (to allow args on lfuns)
7340 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7341 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7343 * buffer.C (readInset): add compability reading of old float
7344 lists, add reading of new style float list.
7345 (readInset): avoid reevaluation of inscmd.getCmdName()
7346 (getLists): reindent
7348 * MenuBackend.C (MenuItem): implement parsing of
7349 md_floatlistinsert and md_floatinsert.
7350 (expand::LastFiles): move initalizaton of iterators out of loop,
7352 (expand::Documents): introduce typdedef vector<string> Strings,
7354 (expand::ExportFormats): introduce typedef vector<Format const *>
7355 Formats, and use it.
7356 (expand): implement FloatListInsert and FloatInsert.
7358 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7359 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7360 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7362 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7364 (Dispatch::LFUN_FLOAT_LIST): implement
7366 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7368 * LaTeX.C (run): Fix problem with --export code.
7370 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7372 * BufferView.[Ch] (workarea): removed.
7373 (getClipboard) new method; wrapper for workarea()->getClipboard()
7375 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7378 * WorkArea.h (width, height, xpos, ypos): These methods all
7379 returned the dimensions of the work_area sub-area of WorkArea,
7380 resulting in a position error if the WorkArea were resized. Now
7381 return the dimensions of the entire WorkArea.
7383 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7385 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7387 * LaTeX.C (deplog): correct the syntax of regex reg1
7389 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7391 * undo.C: remove !NEW_INSETS cruft
7393 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7395 * text2.C: remove !NEW_INSETS cruft
7397 * text.C: remove !NEW_INSETS cruft
7399 * tabular.C: remove !NEW_INSETS cruft
7401 * spellchecker.C: remove !NEW_INSETS cruft
7403 * lyxtext.h: remove !NEW_INSETS cruft
7405 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7407 * lyxfunc.C: remove !NEW_INSETS cruft
7409 * lyxfind.C: remove !NEW_INSETS cruft
7411 * lyx_cb.C: remove !NEW_INSETS cruft
7413 * figureForm.C: remove !NEW_INSETS cruft
7415 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7417 * buffer.[Ch]: remove !NEW_INSETS cruft
7419 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7421 * CutAndPaste.C: remove !NEW_INSETS cruft
7423 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7425 * BufferView2.C: remove !NEW_INSETS cruft
7427 * BufferView.h: remove !NEW_INSETS cruft
7429 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7431 * Lsstream.h: include LString.h before the sstream headers to
7432 fix problem with gcc 2.95.3 and lyxstring
7434 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7436 * lyx_main.C: add using directives when needed for C functions
7437 declared in std:: namespace.
7439 2001-04-27 Juergen Vigna <jug@sad.it>
7441 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7442 (SetHeightOfRow): comment out the update call should not be needed!
7444 2001-04-13 Juergen Vigna <jug@sad.it>
7446 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7447 (LyXTabular): tried to minimize operator= operations (and realized
7448 hopfully Lars wish).
7450 2001-04-27 Juergen Vigna <jug@sad.it>
7452 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7454 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7456 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7458 * buffer.C (readInset): hack to make listof algorithm work
7460 * BufferView_pimpl.C: hack to make listof algorithm work
7462 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7464 * LyXAction.C: removed all !NEW_INSETS cruft
7465 (init): moved lfun_item in method
7467 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7469 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7471 * BufferView2.C (theLockingInset): white space.
7473 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7475 * minibuffer.C: include <iostream>
7477 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7479 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7481 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7483 * text.[Ch] (TransposeChars): new method
7485 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7487 * call message directly through LyXView instead of through LyXFunc
7488 * BufferView2.C: adjust
7489 * BufferView_pimpl.C: adjust
7490 * FontLoader.C: adjust
7492 * bufferview_funcs.C: adjust
7493 * converter.C: adjust
7494 * figureForm.C: adjust
7495 * importer.C: adjust
7497 * lyx_gui_misc.C: adjust
7501 + more files in subdirs
7503 * lyxparagraph.h (size): move up int file
7506 * adjust all uses of Assert to lyx::Assert.
7508 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7509 lyxfunctional in namespace lyx
7510 * layout.C (hasLayout): ditto
7513 (delete_layout): ditto
7514 (NumberOfClass): ditto
7515 * converter.C (GetFormat): ditto
7520 * bufferlist.C (getFileNames): ditto
7521 (emergencyWriteAll): ditto
7524 * MenuBackend.C (hasSubmenu): ditto
7527 * BufferView_pimpl.C (getInsetByCode): ditto
7529 2001-04-18 Juergen Vigna <jug@sad.it>
7531 * vspace.C (asLatexString): fixed the 100% problem.
7533 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7535 * lyxfunc.C (Dispatch):
7537 * minibuffer.h: add a few std:: qualifiers
7539 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7541 * minibuffer.[Ch]: reimplement so that commands is initiated and
7542 run from lyxfunc, simplified som handling, and made the completion
7543 and history code for complete. wip.
7545 * lyxfunc.C (processKeySym): call message
7546 (miniDispatch): new temporary method
7547 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7548 (LFUN_MESSAGE): implement
7549 (LFUN_MESSAGE_PUSH): implement
7550 (LFUN_MESSAGE_POP): implement
7551 (initMiniBuffer): the initial/defualt minibuffer message.
7553 * lyxfont.[Ch]: inline some more getters
7555 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7557 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7559 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7560 (AutoSave): use LFUN_MESSAGE
7561 (Reconfigure): ditto
7563 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7565 * figureForm.C: use LFUN_MESSAGE
7567 * converter.C (runLaTeX): use LFUN_MESSAGE
7569 * bufferview_funcs.C: use LFUN_MESSAGE
7571 (changeDepth): ditto
7573 * bufferparams.h: use boost::
7575 * bufferlist.h: inherit privately from noncopyable
7577 * bufferlist.C (loadLyXFile): remove some commented code.
7579 * buffer.C (runChktex): use LFUN_MESSAGE
7581 * ShareContainer.h: inherit privately from noncopyable
7583 * ParagraphParameters.[hC] (depth): inline it.
7585 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7587 (message): new method
7588 (messagePush): ditto
7590 (show): init minibuffer
7591 (showState): direct call
7593 * LaTeX.[Ch]: inherit privately from noncopyable
7594 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7595 instead of WriteStatus.
7597 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7599 * BufferView_pimpl.C (buffer): don't init minibuffer
7600 (workAreaButtonPress): use LFUN_MESSAGE
7601 (workAreaButtonRelease): ditto
7602 (savePosition): ditto
7603 (restorePosition): ditto
7604 (MenuInsertLyXFile): ditto
7605 (workAreaExpose): don't init minibuffer
7606 (update): remove commented code, simplify
7608 * BufferView2.C (openStuff): use LFUN_MESSAGE
7609 (toggleFloat): ditto
7612 (copyEnvironment): ditto
7613 (pasteEnvironment): ditto
7618 (updateInset): remove some commented code
7620 * lastfiles.h: inherit privately from noncopyable
7625 * lyxlex_pimpl.h: ditto
7627 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7628 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7629 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7631 * LyXAction.h: inherit privately from noncopyable, add methods
7632 func_begin, func_end, returning iterators to the func map.
7634 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7635 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7636 (func_begin): new method
7637 (func_end): new method
7639 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7641 (copySelection): ditto
7642 (pasteSelection): ditto
7644 * BufferView.C: whitespace change
7645 * BufferView.h: inherit privately from noncopyable
7647 2001-04-16 Allan Rae <rae@lyx.org>
7649 * tabular-old.C (l_getline):
7650 * spellchecker.C (sc_check_word):
7651 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7652 an unrecognised preprocessor directive. So ensure they're wrapped.
7654 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7656 * src/exporter.C (Export): Give an error message when path to file
7659 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7661 * LaTeX.C (deplog): Always check that foundfile exists.
7663 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7666 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7668 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7670 * tabular.[Ch] (getLabelList): implement new method
7672 * minibuffer.h: comment ouf setTiimer
7674 * minibuffer.C (ExecutingCB): constify res
7675 (peek_event): constify s
7676 (Set): constify ntext
7677 (Init): constify nicename
7679 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7681 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7682 (savePosition): use two params to Minibuffer::Set
7683 (restorePosition): ditto
7685 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7687 * lyx_main.C: include language.h
7689 * Makefile.am (lyx_main.o): add language.h
7691 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7697 * CutAndPaste.C: include gettext.h
7699 * lyxfont.h: remove old hack with ON and OFF.
7702 * lyxfont.h: do not include language.h...
7707 * bufferview_funcs.C:
7713 * paragraph.C: ... but do it here instead
7715 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7717 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7719 * tabular.C: small reformat
7721 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7724 (BreakParagraph): ditto
7725 (SetOnlyLayout): ditto
7728 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7731 * lastfiles.C: removed most using decl, add std:: where needed
7733 * buffer.C: ws changes
7735 * MenuBackend.C (class compare_format): put into anon namespace
7736 (expand): constify label, names, action, action2
7739 * text.C (SingleWidth): constify font
7740 (IsBoundary): constify rtl2
7741 (GetVisibleRow): constify ww
7743 * LaTeX.C (deplog): constify logfile
7745 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7747 (workAreaExpose): constify widthChange, heightChange
7749 * lyxrow.C (par): moved
7752 * lyxrow.h: as inlines here
7754 * lyxfont.h (shape): moved from lyxfont.C
7755 (emph): moved from lyxfont.C
7757 * lyxfont.C (LyXFont): use initialization list for all
7759 (shape): move to lyxfont.h as inline
7760 (emph): move to lyxfont.h as inline
7763 2001-04-04 Juergen Vigna <jug@sad.it>
7765 * vspace.C: had to include stdio.h for use of sscanf
7767 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7770 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7771 independent of xforms.
7773 2001-04-02 Juergen Vigna <jug@sad.it>
7775 * spellchecker.C: fixed namespace placing!
7777 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7779 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7780 the LyXParagraph * is 0.
7782 2001-03-29 Juergen Vigna <jug@sad.it>
7784 * vspace.C: added support for %, c%, p%, l%.
7785 (stringFromUnit): added helper function.
7786 (asLatexString): changed to give right results for the %-values.
7788 * buffer.C: convert the widthp in a width%.
7790 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7792 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7795 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7796 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7798 * lyx_cb.[Ch]: see above.
7800 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7804 * lyx.[Ch]: replaced by figure_form.[Ch].
7808 * lyxfunc.C: changed headers associated with above changes.
7810 2001-03-27 Juergen Vigna <jug@sad.it>
7812 * BufferView_pimpl.C: set the temporary cursor right!
7814 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7816 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7818 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7820 * LString.h: removed "using std::getline"!
7822 * BufferView_pimpl.C (Dispatch): changes due to changes in
7823 InsetInclude::Params.
7825 * buffer.C (tag_name): removed redundant break statements as they were
7826 producing lots of warnings with my compiler.
7828 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7830 * LString.h: add "using std::getline" when using the real <string>.
7832 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7834 * buffer.C: removed bitset usage.
7835 PAR_TAG moved to an anonymous name space.
7836 (tag_name): new funtion, also in the anonymous namespace.
7837 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7838 (makeDocBookFile): clean code. Completed transition from string arrays
7840 (SimpleDocBookOnePar): code clean.
7842 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7844 * tabular.C: add some comments.
7846 2001-03-22 Juergen Vigna <jug@sad.it>
7848 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7849 compatibility read a bit and fixed bug with minipage in different
7852 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7854 * buffer.C (pop_tag): removed.
7855 (push_tag): removed.
7856 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7857 array replaced with vector. Added support for CDATA sections.
7858 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7860 (makeDocBookFile): XML conformant declaration of CDATA section,
7861 fixed bug related to <emphasis> in the first paragraph char.
7862 (sgmlOpenTag): exclude empty tags.
7863 (sgmlCloseTag): ditto.
7865 * buffer.h (pop_tag): removed.
7866 (push_tag): removed.
7868 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7870 * language.h (Languages): added size_type and size().
7872 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7874 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7875 response on compability reading of minipages. One probliem is that
7876 the old usage of minipages was «flertydig»
7878 * several files here and in subdirs: don't use static at file
7879 scope use anon namespaces instead.
7881 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7883 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7884 LaTeX output. This is necessary for Literate document
7887 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7889 * buffer.C: insert hfill when needed.
7891 * tabular.C (l_getline): use string::erase, small whitespace change.
7893 * BufferView_pimpl.C: try the anon namespace.
7896 2001-03-16 Juergen Vigna <jug@sad.it>
7898 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7899 otherwise it won't open options-dialogs.
7901 * buffer.C: honor pextraWidth(p) on converting minipages.
7903 * tabular.C (l_getline): changed the functions to strip trailing \r.
7905 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7907 * BufferView_pimpl.C:
7908 * minibuffer..C: added "using SigC::slot" declaration.
7910 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7912 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7918 * paragraph.C: ditto
7920 * lyxtext.h: NO_PEXTRA
7922 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7924 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7925 * ParameterStruct.h: ditto
7926 * ParagraphParameters.h: ditto
7927 * lyxparagraph.h: ditto
7929 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7931 * buffer.C: add compability for minipage alignment.
7932 (latexParagraphs): remove unwanted pextra check.
7934 * several files: remove CXX_WORKING_NAMESPACES
7936 * buffer.C (pop_tag): tie is in namespace boost
7938 * BufferView.h: noncopyable is in namespace boost
7943 * lastfiles.h: ditto
7944 * bufferlist.h: ditto
7945 * ShareContainer.h: ditto
7947 * LyXAction.h: ditto
7950 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7952 * Merging changes from BRANCH_MVC back into HEAD.
7954 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7956 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7958 * BufferView_pimpl.C: change from intl.C
7962 * Makefile.am: move combox.*
7968 * intl.C: remove dialog (covered by prefs)
7970 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7972 * lyxfunc.C (Dispatch): removed redundant break statement.
7974 2001-03-14 Juergen Vigna <jug@sad.it>
7976 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7978 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7980 * buffer.C: add hack to fix compability reading of minipages.
7982 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7984 * buffer.C (getLists): Cleanup.
7986 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7988 * lyxfont.C (update): don't honor toggleall on font size.
7990 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7994 * Makefile.am: moved to frontends/xforms/
7998 * BufferView_pimpl.C: changes for moved mathpanel
8000 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8002 * gettext.h: fix gettext_init() in --disable-nls
8004 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8006 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8008 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8011 * lyx.h: strip external form
8013 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8015 * BufferView_pimpl.C: add comment, destroySplash()
8017 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8019 * BufferView_pimpl.C:
8023 * lyxfunc.C: use re-worked insetinclude
8025 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8027 * buffer.C: add using std::stringstream.
8029 * lyx_cb.C: readd using std::ios.
8031 * buffer.C: add using std::map.
8033 * BufferView_pimpl.C: add using std::vector.
8035 * ShareContainer.h: add std:: to swap.
8037 * buffer.h: add some typedefs
8038 * buffer.C (getLists): use them
8039 (getLists): renamed from getTocList.
8040 add a counter for the different float types and use it in the
8042 (getLists): use the same counter for the NEW_INSETS and the "non"
8045 * lyx_cb.h: remove unused items, includes, using etc.
8047 * ShareContainer.h: remove some commented code, add more comments
8048 and "documentation".
8050 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8052 * buffer.C (getTocList): make the list also when NEW_INSETS is
8055 * buffer.h: remove TocType
8057 * buffer.C (getTocList): change to return a map<string,
8058 vector<TocItem> >, implement for dynamic number of list.
8060 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8061 * text2.C (PasteSelection): adjust
8062 * CutAndPaste.C (pasteSelection): adjust
8064 * FloatList.C (FloatList): update from the new_insets branch.
8065 * Floating.[Ch]: ditto
8066 * LaTeXFeatures.C: ditto
8068 * lyxlex_pimpl.C: ditto
8070 * paragraph.C (Last): remove when NEW_INSETS is defined.
8072 * other file: changes because of the above.
8074 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8076 * lyxparagraph.h: rename next to next_, previous to previous_,
8077 make them private for NEW_INSETS. Rename Next() to next(),
8078 Previous() to previous().
8080 * other files: changes because of the above.
8082 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8085 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8088 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8090 * main.C (main): pass lyx_localedir to gettext_init().
8092 * gettext.h: remove locale_init and gettext_init macros
8094 * gettext.C (locale_init): new function
8095 (gettext_init): new function
8097 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8100 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8102 * Moved credits to frontends:
8103 * credits.[Ch]: removed
8104 * credits_form.[Ch]: removed
8105 * lyx_gui_misc.C: remove credits stuff
8108 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8110 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8112 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8113 unneeded destructor.
8115 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8116 a standalone pointer again.
8118 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8120 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8126 * ToolbarDefaults.C:
8135 * BufferView_pimpl.C: use new file dialog in GUII
8138 * lyx_cb.C: remove LayoutsCB to Toolbar
8140 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8142 * ShareContainer.h (get): add std:: qualifier
8144 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8146 * ShareContainer.h: define a proper ShareContainer::value_type
8147 type (and use typename to please compaq cxx)
8149 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8151 * lyxparagraph.h: move serveral local vars to
8152 ParameterStruct/ParagraphParameters., use ShareContainer in
8153 FontTable., make vars in FontTable private and add getter and
8156 * paragraph.C: changes because of the above.
8158 * lyxfont.h: remove copy constructor and copy assignment. (the
8159 default ones is ok), move number inside FontBits. move inlines to
8162 * lyxfont.C: add number to initializaton of statics, move several
8163 inlines here. constify several local vars. some whitespace
8164 cleanup. Dont hide outerscope variables.
8166 * Spacing.h: add two new constructors to match the set methods.
8168 * ShareContainer.h: new file, will perhaps be moved to support
8170 * ParameterStruct.h: new file
8172 * ParagraphParameters.h: new file
8174 * ParagraphParameters.C: new file
8176 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8177 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8179 * BufferView_pimpl.C: ParagraphParameter changes.
8180 * buffer.C: Likewise.
8181 * bufferview_funcs.C: Likewise.
8183 * text2.C: Likewise.
8185 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8187 * lyxfind.C (LyXReplace): do not redefine default argument in
8189 (IsStringInText): ditto
8190 (SearchForward): ditto
8191 (SearchBackward): ditto
8193 2001-03-06 Juergen Vigna <jug@sad.it>
8195 * lyxfind.C (IsStringInText): put parentes around expressions.
8197 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8199 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8201 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8203 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8205 * stl_string_fwd.h: add comment
8207 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8210 * tabular.C: remove unused DocBook methods
8216 killed DO_USE_DEFAULT_LANGUAGE
8218 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8220 * lyx_gui.C: do not include language.h.
8222 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8223 arguments in function implementation.
8225 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8227 * BufferView_pimpl.C: add <ctime>
8229 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8231 * BufferView_pimpl.C: add using std::find_if
8233 2001-02-27 José Matos <jamatos@fep.up.pt>
8235 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8238 2001-02-11 José Matos <jamatos@fep.up.pt>
8240 * buffer.C (makeDocBookFile): command styles now have a parameter as
8243 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8245 * layout_forms.[Ch]: removed
8246 * lyx_cb.[Ch]: out character
8247 * lyx_gui.C: out character
8248 * lyx_gui_misc.C: out character
8249 * bufferview_funcs.C: : out character,
8250 added toggleall as parameter in ToggleAndShow
8252 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8254 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8256 * text2.C (SetCurrentFont): Disable number property at boundary.
8258 2001-02-26 Juergen Vigna <jug@sad.it>
8260 * lyxfunc.C (getStatus): added a string argument override function so
8261 that this is correctly called from LyXFunc::Dispatch if it contains a
8262 do_not_use_argument which is used!
8263 (Dispatch): added check for "custom" export and call appropriate func.
8265 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8267 * lyxrc.C: Add language_command_local, language_use_babel and
8268 language_global_options.
8270 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8272 * buffer.C (makeLaTeXFile): Use language_use_babel and
8273 language_global_options.
8275 2001-02-23 Juergen Vigna <jug@sad.it>
8277 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8278 which works with LyXText and putted it inside BufferView. Here now we
8279 only call for that part the BufferView::Dispatch() function.
8281 * BufferView.C (Dispatch): added.
8283 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8284 functions which needs to use a LyXText over from LyXFunc.
8285 (MenuInsertLyXFile): added
8286 (getInsetByCode): added
8287 (moveCursorUpdate): added
8288 (static TEXT): added
8290 2001-02-22 Juergen Vigna <jug@sad.it>
8292 * BufferView_pimpl.C (update): call a status update to see if LyXText
8295 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8297 * vc-backend.C (revert): implement for CVS
8298 (getLog): implement for CVS
8300 2001-02-20 Juergen Vigna <jug@sad.it>
8302 * text2.C (ClearSelection): added BufferView param for inset_owner call
8304 * lyxfunc.C (TEXT): added this function and use it instead of
8305 directly owner->view()-text of getLyXText().
8307 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8309 * src/layout_forms.C: out preamble
8310 * src/layout_forms.h: out preamble
8311 * src/lyx_cb.C: out preamble
8312 * src/lyx_cb.h: out preamble
8313 * src/lyx_gui.C: out preamble
8314 * src/lyx_gui_misc.C: out preamble
8315 * src/lyxfunc.C: connect with guii preamble
8317 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8319 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8321 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8323 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8324 whether to run bibtex.
8326 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8328 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8330 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8332 * Makefile.am (lyx_SOURCES): removed bibforms.h
8336 * text.C (GetVisibleRow): make several local vars const
8338 * tabular.C: small cleanup.
8340 * lyxserver.C (callback): use compare instead of strncmp
8342 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8343 inlines to after class or to paragraph.C
8345 * lyxfont.h: remove friend operator!=
8347 * converter.h: move friend bool operator< to non friend and after
8350 * combox.h: small cleanup
8352 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8353 to inlines after class def.
8355 * buffer.C (pop_tag): use string operations instead of strcmp
8357 * bmtable.c: doxygen, small cleanup
8359 * LaTeX.h: remove friend operator==
8361 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8373 * BufferView_pimpl.C:
8374 * BufferView.[Ch]: remove cruft
8376 2001-02-14 Juergen Vigna <jug@sad.it>
8378 * lyxfunc.C: removed #if 0 unused code
8380 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8382 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8384 * text2.C (SetSelection): added a BufferView * parameter
8386 2001-02-13 Juergen Vigna <jug@sad.it>
8388 * lyxfunc.C (Dispatch): fixed protected blank problem.
8389 * BufferView2.C (protectedBlank): added LyxText * parameter.
8391 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8392 (AppendColumn): same as above for column_info.
8394 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8395 (moveCursorUpdate): use a LyXText param for support of InsetText.
8397 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8398 (tripleClick): ditto
8400 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8402 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8404 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8406 * text2.C (SetSelection): set correct update status if inset_owner
8409 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8411 * tabular.C: remove some commented code.
8413 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8415 * BufferView_pimpl.C: call hideSplash()
8417 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8420 * bibforms.h: remove
8423 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8424 add LFUN_CHILD_CREATE
8426 * counters.h: fix tiny typo
8431 * lyx.C: move splash to frontends/xforms/
8433 * lyx_gui_misc.C: move Include and Bibform to frontends
8435 * lyxvc.h: clarify comment
8437 * vspace.C: tiny housekeeping
8439 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8441 * text.C (PrepareToPrint): RTL Fix.
8443 * paragraph.C (GetUChar): New method.
8444 (String): Use GetUChar.
8446 * buffer.C (asciiParagraph): Use GetUChar.
8448 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8450 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8452 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8455 * buffer.C: rename to getLogName(), handle
8456 build log / latex log nicely
8458 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8461 * MenuBackend.h: remove support for reference menuitem type.
8463 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8465 * BufferView_pimpl.C: housekeeping
8466 * BufferView_pimpl.h:
8471 * minibuffer.h: move Timeout GUI-I
8473 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8475 * lyxrc.C (read): Update converters data-structures.
8477 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8479 * LaTeX.h (operator!=): add operator != for Aux_Info
8481 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8483 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8485 * LaTeXLog.C: deleted, useful code moved to Buffer
8488 * buffer.C: new function getLatexLogName()
8494 * lyxfunc.C: use frontends for LaTeX and VC logs
8496 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8498 * LaTeX.h: yet another std:: that Allan forgot.
8500 * Variables.C (set): renamed from isset(), because this clashes
8501 with some HP-UX macros (grr).
8503 2001-02-06 Allan Rae <rae@lyx.org>
8505 * LaTeX.h: Another bug fix. Missing std:: this time.
8507 2001-02-04 Allan Rae <rae@lyx.org>
8509 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8510 floats problem. I've left it commented out because it's not quite
8511 correct. It should also test that the current object is a table or
8512 figure inset. But I haven't gotten around to figuring out how to do
8513 that. I *think* it'll be something like: "table" == inset.type()
8515 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8518 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8520 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8521 all the citation/databases/styles in the auxilary file.
8522 (run): Rerun latex if there was a babel language error.
8524 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8526 * text.C (Backspace): Preserve the font when changing newline char
8528 (BreakParagraph): If the cursor is before a space, delete the space.
8530 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8532 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8534 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8535 new argument (code).
8536 (ChangeCitationsIfUnique): New method.
8538 * paragraph.C (GetPositionOfInset): Handle bibkey.
8540 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8542 * BufferView_pimpl.h: change type of Position::par_pos to
8543 LyXParagraph::size_type.
8545 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8547 * BufferView_pimpl.C (savePosition, restorePosition): Write
8548 messages to minibuffer.
8550 2001-01-28 José Matos <jamatos@fep.up.pt>
8552 * buffer.C (makeDocBookFile): adds support for document language.
8553 A silly restriction on the name of LatexCommand types where removed.
8554 Added support for CDATA sections, allows to chars unescaped, used
8555 among others in code, to avoid escape < and >.
8557 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8559 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8560 saved positions instrad of a stack. Furthermore, a position is
8561 stored using paragraph id/paragraph position.
8563 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8564 Remove LFUN_REF_BACK.
8566 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8568 * converter.C (dvipdfm_options): New method.
8570 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8572 * vspace.C (isValidLength): Fix for empty input string.
8574 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8576 * LyXAction.C (init): change description of LFUN_FIGURE to
8579 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8581 * LaTeX.C: add using directive
8583 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8585 * MenuBackend.C (expand): Fix the sorting of the formats.
8587 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8589 * lyx_main.C: tiny error message fix
8591 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8593 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8594 calling fl_initialize(). This fixes the problem with ',' as
8595 decimal separator in text files.
8597 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8599 * trans.C (process): Fix the keymap bug.
8601 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8603 * LaTeX.C (scanAuxFiles): New method. Provides support for
8604 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8605 (scanLogFile) Scan for "run BibTeX" messages.
8607 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8608 OT1 font encoding. Also, load the aecompl package if the ae
8611 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8613 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8615 * texrow.C (increasePos): turn two error messages into debug
8618 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8620 * LaTeX.C (scanAux): Handle the \@input macro.
8621 (runBibTeX): Use scanAux().
8623 * language.C (latex_options_): New field.
8625 * LaTeXFeatures.C (getMacros): Add language macros.
8627 * buffer.C (makeLaTeXFile): Small fix.
8629 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8631 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8633 * text2.C: add a using directive.
8635 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8640 * lyxfunc.C: kill LyXBell.
8642 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8644 * text.C (IsBoundary): Remove the error message
8646 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8648 * lyxrc.C (setDefaults): Correct initialization value for
8651 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8653 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8656 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8659 * src/LyXAction.C: Added reference-next.
8661 * text.C (InsertChar): Use contains instead of strchr.
8663 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8665 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8667 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8668 alignment commands (when needed).
8670 * text.C (InsertChar): Add ':' to number separator chars.