1 2003-03-04 Angus Leeming <leeming@lyx.org>
4 * LyXAction.C: new LFUN_INSET_MODIFY.
6 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
11 * several files: ws changes only
13 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
14 (TeXEnvironment): ditto
17 * buffer.C (makeLaTeXFile): adjust
18 (latexParagraphs): make it take ParagraphList::iterator as args
20 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
22 * buffer.C (latexParagraphs): adjust
24 * paragraph.C (TeXOnePar): move function...
25 (optArgInset): move function...
26 (TeXEnvironment): move function...
27 * paragraph_pimpl.C (TeXDeeper): move function...
28 * paragraph_funcs.C: ...here
30 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
32 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
34 * buffer.C (readInset): remove compability code for old Figure and
37 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
39 * buffer.C: ws changes
42 * BufferView_pimpl.C: ditto
49 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
51 * converter.[Ch]: split into itself +
54 * Makefile.am: += graph.[Ch] + format.[Ch]
61 * lyxrc.C: added #include "format.h"
63 2003-02-27 Angus Leeming <leeming@lyx.org>
65 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
68 * factory.C (createInset): add "label" to the factory.
70 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
71 string and do no more.
73 2003-02-27 Angus Leeming <leeming@lyx.org>
77 * factory.C (createInset):
78 * BufferView_pimpl.C (dispatch):
79 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
81 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
83 * lyxfunc.C (dispatch):
84 * text3.C (dispatch): pass name to params2string.
86 2003-02-26 Angus Leeming <leeming@lyx.org>
88 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
90 Rearrange the ~includes. Strip out the unnecessary ones.
92 * factory.C (createInset): reformat.
93 create new insets for the various LFUN_XYZ_APPLY lfuns.
95 2003-02-26 John Levon <levon@movementarian.org>
98 * lyxrow.C: add isParStart,isParEnd helpers
100 * paragraph.h: make isInserted/DeletedText take refs
103 * paragraph_funcs.C: remove #if 0'd code
108 * text.C: use lyxrow helpers above.
109 Move draw and paint routines to RowPainter.
110 Make several methods use refs not pointers.
111 Make backgroundColor() const.
112 Add markChangeInDraw(), isInInset().
113 Merge changeRegionCase into changeCase.
114 Make workWidth() shouldn't-happen code into an Assert.
117 * rowpainter.C: new class for painting a row.
120 * vspace.C: make inPixels take a ref
122 2003-02-26 Angus Leeming <leeming@lyx.org>
124 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
127 2003-02-25 John Levon <levon@movementarian.org>
129 * ispell.C: give the forked command a more accurate name
131 2003-02-22 John Levon <levon@movementarian.org>
134 * toc.C: make TocItem store an id not a Paragraph *
137 2003-02-21 Angus Leeming <leeming@lyx.org>
139 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
140 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
141 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
142 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
143 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
144 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
146 * BufferView_pimpl.C (dispatch):
147 * LyXAction.C (init):
148 * factory.C (createInset):
149 * lyxfunc.C (getStatus, dispatch):
150 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
152 2003-02-21 Angus Leeming <leeming@lyx.org>
154 * BufferView_pimpl.C (MenuInsertLyXFile):
155 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
156 * lyxfunc.C (menuNew, open, doImport):
157 no longer pass a LyXView & to fileDlg.
159 2003-02-21 Angus Leeming <leeming@lyx.org>
161 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
162 * LyXAction.C: change, BIBKEY to BIBITEM.
163 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
164 Change InsetBibKey to InsetBibitem.
165 Change BIBKEY_CODE to BIBITEM_CODE.
166 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
167 * factory.C: replace insetbib.h with insetbibitem.h.
168 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
169 * paragraph.C: replace insetbib.h with insetbibitem.h.
170 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
171 Change bibkey() to bibitem().
172 * text.C: remove insetbib.h.
173 * text2.C: replace insetbib.h with insetbibitem.h.
174 change bibkey() to bibitem().
175 * text3.C: remove insetbib.h.
176 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
178 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
180 * lyxrc.C (output): enclose user email in quotes (in case there are
183 2003-02-18 John Levon <levon@movementarian.org>
185 * buffer.h: add std::
187 2003-02-17 John Levon <levon@movementarian.org>
193 * pspell.C: reworking. Especially in ispell, a large
194 number of clean ups and bug fixes.
196 * lyxfunc.C: fix revert to behave sensibly
198 2003-02-17 André Pönitz <poenitz@gmx.net>
201 * commandtags.h: new LFUN_INSERT_BIBKEY
211 * paragraph_func.C: remove special bibkey handling
213 2003-02-17 John Levon <levon@movementarian.org>
215 * text.C (Delete): fix case where delete at the end of
216 the very first paragraph would not merge the pars
218 2003-02-17 John Levon <levon@movementarian.org>
220 * lyxrow.C: fix lastPrintablePos()
222 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
224 * bufferparams.C (writeLaTeX): add a std:here
226 * buffer.C: and remove a using directive there
228 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
230 * buffer.C (makeLaTeXFile): move the code that generates the
233 * bufferparams.C (writeLaTeX): ... in this new method
235 * LaTeXFeatures.C (getEncodingSet): make const
236 (getLanguages): make const
238 * MenuBackend.C (binding): returns the binding associated to this
240 (add): sets the status of each item by calling getStatus. Adds
242 (read): add support for OptSubMenu
243 (expand): remove extra separator at the end of expanded menu
245 2003-02-15 John Levon <levon@movementarian.org>
248 * BufferView_pimpl.C:
250 * bufferlist.C: remove pointless BufferStorage bloat. Remove
251 inset code that had no actual effect. Remove unneeded status
254 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
256 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
259 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
261 * text.C (drawLengthMarker): also draw an arrow marker for
262 symbolic lengths (medskip...)
264 2003-02-14 John Levon <levon@movementarian.org>
267 * tabular.C: better method names
269 2003-02-14 John Levon <levon@movementarian.org>
271 * BufferView_pimpl.C:
276 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
277 it's a more accurate name. Remove some pointless uses.
279 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
281 * text2.C (LyXText): change order of initilizers to shut off
284 2003-02-14 John Levon <levon@movementarian.org>
286 * buffer.C: use ParIterator for getParFromID()
291 * paragraph_pimpl.C: remove unused getParFromID()
293 2003-02-14 John Levon <levon@movementarian.org>
295 * buffer.C: remove some very old #if 0'd parse code
297 2003-02-13 John Levon <levon@movementarian.org>
301 * text2.C: move hfillExpansion(), numberOfSeparators(),
302 rowLast(), rowLastPrintable(), numberofHfills(),
303 numberOfLabelHfills() ...
306 * lyxrow.C: ... to member functions here.
311 * text.C: remove LyXText::beginningOfMainBody(), and call
312 p->beginningOfMainBody() directly. Move the check for
313 LABEL_MANUAL into the latter.
320 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
326 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
327 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
329 2003-02-13 John Levon <levon@movementarian.org>
331 * CutAndPaste.C: remove debug
333 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
335 * paragraph.C (asString): remove two unused variables
337 * lyxtextclass.C (readTitleType):
339 (LyXTextClass): handle new members titletype_ and titlename_
341 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
343 2003-02-09 John Levon <levon@movementarian.org>
346 * buffer.C: replace hand-coded list with a map for the dep clean
348 2003-02-08 John Levon <levon@movementarian.org>
350 * LaTeX.C: consolidate code into showRunMessage() helper
352 2003-02-08 John Levon <levon@movementarian.org>
357 * BufferView.C: change setSelectionOverString() to setSelectionRange()
358 and pass the size in explicitly
360 * BufferView_pimpl.h:
361 * BufferView_pimpl.C:
363 * BufferView.C: add getCurrentChange()
365 * BufferView_pimpl.h:
366 * BufferView_pimpl.C: handle change lfuns
368 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
369 for changes. Mark pasted paragraphs as new.
373 * DepTable.C: abstract time_t as lyx::time_type
376 * LColor.C: add colours for new text, deleted text, changebars
378 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
379 package use "usenames" option.
383 * LyXAction.C: add change lfuns
387 * author.C: author handling
390 * buffer.C: add a per-buffer author list, with first entry as
391 current author. Handle new .lyx tokens for change tracking. Output
392 author list to .lyx file. Output dvipost stuff to .tex preamble.
393 Bump lyx format to 222.
396 * bufferlist.C: add setCurrentAuthor() to reset current author details
400 * bufferparams.C: add param for tracking
402 * bufferview_funcs.C: output change info in minibuffer
406 * changes.C: add change-tracking structure
409 * debug.C: add CHANGES debug flag
412 * lyxfind.C: add code for finding the next change piece
415 * lyxrc.C: add user_name and user_email
418 * lyxrow.C: add a metric for the top of the text line
421 * text.C: implement accept/rejectChange()
424 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
425 Strike through deleted text.
430 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
431 to the insert functions. Rework erase to mark text as deleted, adding
432 an eraseIntern() and a range-based erase(). Implement
433 per-paragraph change lookup and accept/reject.
435 * paragraph_funcs.C: Fixup paste for change tracking.
437 * tabular.C: mark added row/columns as new.
439 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
440 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
442 * text2.C: leave cursor at end of selection after a cut.
444 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
446 * text.C (getLengthMarkerHeight):
447 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
448 visible on screen too.
450 2003-02-07 John Levon <levon@movementarian.org>
452 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
454 2003-02-05 Angus Leeming <leeming@lyx.org>
456 * lyxserver.C (read_ready): revert my patch of 11 September last year
457 as it sends PC cpu through the roof. Presumably this means that
458 the lyxserver will no longer run on an Alpha...
460 2003-01-30 Angus Leeming <leeming@lyx.org>
462 * factory.C (createInset): create an InsetCommandParam of type "index"
463 and use it to 'do the right thing'.
465 * text2.C (getStringToIndex): ensure that cursor position is always
466 reset to the reset_cursor position.
468 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
470 * lyxfunc.C (getStatus): "buffer-export custom" should never be
473 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
477 * lyxfunc.C: Output messages with identical spelling, punctuation,
480 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
482 * MenuBackend.C (expandFormats): List only viewable export formats
485 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
488 * lyxfunc.C (getStatus): Make sure that formats other than
489 "fax" can also be disabled
491 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
493 * text3.C (dispatch): put the lfuns that insert insets in 3
494 groups, and call doInsertInset with appropriate arguments.
495 (doInsertInset): new function, that creates an inset and inserts
496 it according to some boolean parameters.
498 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
500 * buffer.C (readFile): remember to pass on 'par' when calling
501 readFile recursively.
503 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
505 * MenuBackend.C (expandFormats): add "..." to import formats.
507 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
509 * paragraph.C (asString): Remove XForms RTL hacks.
511 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
514 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
516 * Makefile.am (LIBS): delete var
517 (lyx_LDADD): add @LIBS@ here instead.
519 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
521 * Clarify the meaning of "wheel mouse jump"
523 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
525 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
528 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
530 * importer.C (Loaders): do not preallocate 3 elements in the
531 vector, since one ends up with 6 elements otherwise
533 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
535 * DepTable.C (write): write the file name as last element of the
536 .dep file (because it may contain spaces)
537 (read): read info in the right order
539 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
541 * paragraph_pimpl.C (simpleTeXBlanks):
542 (simpleTeXSpecialChars):
543 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
545 * tabular.C (latex): add some missing case statements. Reindent.
547 * MenuBackend.C (expandToc): remove unused variable.
549 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
558 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
561 2003-01-05 John Levon <levon@movementarian.org>
564 * BufferView.C: add getEncoding()
567 * kbsequence.C: do not store last keypress
570 * lyxfunc.C: store last keypress here instead. Pass encoding
573 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
575 * lyx_main.C (init): remove annoying error message when following
576 symbolic links (bug #780)
578 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
580 * text.C (insertChar):
581 * lyxrc.C (getDescription): remove extra spaces
583 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
585 * lyxrc.C (getDescription): remove extra spaces
587 2002-12-20 John Levon <levon@movementarian.org>
589 * text3.C: hack fix for page up/down across tall rows
591 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
593 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
596 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
598 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
599 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
600 thesaurus is not compiled in
602 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
604 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
606 2002-12-16 Angus Leeming <leeming@lyx.org>
609 * lyx_main.C (init): remove override_x_deadkeys stuff.
611 2002-12-12 John Levon <levon@movementarian.org>
613 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
614 insert. Only remove shift modifier under strict
617 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
619 * MenuBackend.C (expandToc): fix crash.
621 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
623 * MenuBackend.C (expandToc): gettext on float names.
625 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
627 * lyxlength.[Ch]: set default unit to UNIT_NONE,
628 implement bool empty() [bug 490]
630 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
632 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
634 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
636 * several files: ws changes
638 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
640 * text2.C (setCounter): clean up a bit, use boost.format.
641 (updateCounters): initialize par upon declaration.
643 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
644 if the layout exists. We do not just store the layout any more.
645 (SwitchLayoutsBetweenClasses): use boost.format
647 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
649 * converter.C (convert): if from and to files are the same, use a
650 temporary files as intermediary
652 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
655 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
657 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
659 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
661 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
663 * tabular.C (asciiPrintCell): use string(size, char) instead of
666 * sgml.C (openTag): fix order of arguments to string constructor
669 * lyxfunc.C (dispatch): use boost.format
671 * lots of files: change "c" -> 'c'
673 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
675 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
677 2002-11-25 Angus Leeming <leeming@lyx.org>
679 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
681 * lyx_main.C (init): compile fix.
683 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
685 * lyx_cb.C (start): boost.formatify
686 do not include <iostream>
688 * lengthcommon.C: ws only
690 * boost-inst.C,BoostFormat.h: add more explict instantations
692 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
694 * lots of files: handle USE_BOOST_FORMAT
696 2002-11-21 John Levon <levon@movementarian.org>
698 * pspell.C: fix compile
700 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
702 * lyxfunc.C (dispatch): use boost::format
706 * lyxfont.C (stateText): use boost::format
708 * lyx_main.C (LyX): use boost::format
710 (queryUserLyXDir): ditto
713 (typedef boost::function): use the recommened syntax.
715 * importer.C (Import): use boost::format
717 * debug.C (showLevel): use boost::format
719 * converter.C (view): use boost::format
724 * bufferview_funcs.C (currentState): use boost::format
726 * bufferlist.C (emergencyWrite): use boost::format
728 * buffer.C (readLyXformat2): use boost::format
729 (parseSingleLyXformat2Token): ditto
731 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
733 * LaTeX.C (run): use boost::format
735 * Chktex.C (scanLogFile): use boost::format
737 * BufferView_pimpl.C (savePosition): use boost::format
738 (restorePosition): ditto
739 (MenuInsertLyXFile): ditto
741 * BoostFormat.h: help file for explicit instation.
743 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
745 * tabular.C (latex): Support for block alignment in fixed width
748 2002-11-17 John Levon <levon@movementarian.org>
750 * BufferView_pimpl.C:
752 * lyxfunc.C: split filedialog into open/save
754 2002-11-08 Juergen Vigna <jug@sad.it>
756 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
757 by my last patch (hopefully).
759 2002-11-08 John Levon <levon@movementarian.org>
768 * toc.C: ParConstIterator, and use it (from Lars)
770 2002-11-07 Ben Stanley <bds02@uow.edu.au>
772 * lyxtextclass.[Ch]: revise and add doxygen comments
774 2002-11-07 John Levon <levon@movementarian.org>
776 * text.C: fix progress value for spellchecker
778 * toc.C: fix navigate menu for insetwrap inside minipage
780 * paragraph_funcs.C: added FIXME for suspect code
782 2002-11-07 John Levon <levon@movementarian.org>
784 * BufferView_pimpl.C: fix redrawing of insets
787 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
789 * text2.C (updateCounters): fix bug 668
791 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
793 * text3.C (dispatch): Do not make the buffer dirty when moving the
796 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
798 * vc-backend.C: STRCONV
801 * text2.C (setCounter): STRCONV
803 * paragraph.C (asString): STRCONV
805 * lyxlength.C (asString): STRCONV
806 (asLatexString): ditto
808 * lyxgluelength.C (asString): STRCONV
809 (asLatexString): ditto
811 * lyxfunc.C (dispatch): STRCONV
814 * lyxfont.C (stateText): STRCONV
816 * importer.C (Import): STRCONV
818 * counters.C (labelItem): STRCONV
820 (numberLabel): remove unused ostringstream o
825 * bufferview_funcs.C (currentState): STRCONV
827 * buffer.C (readFile): STRCONV
828 (asciiParagraph): ditto
829 (makeLaTeXFile): ditto
831 * Spacing.C (writeEnvirBegin): STRCONV
833 * LaTeXFeatures.C (getLanguages): STRCONV
836 (getBabelOptions): ditto
837 (getTClassPreamble): ditto
838 (getLyXSGMLEntities): ditto
839 (getIncludedFiles): ditto
846 * LString.h: add the STRCONV macros
848 * BufferView_pimpl.C (savePosition): STRCONV
849 (restorePosition): ditto
850 (MenuInsertLyXFile): ditto
852 * vc-backend.C (scanMaster): change from submatch[...] to
855 * funcrequest.C: include config.h
857 * factory.C: include config.h
859 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
861 * box.C: include config.h
863 * LaTeX.C (scanAuxFile): change from submatch[...] to
867 2002-10-25 Angus Leeming <leeming@lyx.org>
869 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
871 * ispell.[Ch] (setError): new method.
872 * ispell.C (c-tor): move out child process into new class LaunchIspell.
873 Use setError() insetead of goto END.
875 * lyx_cb.C (AutoSave): move out child process into new class
878 2002-10-30 John Levon <levon@movementarian.org>
880 * text3.C: make start appendix undoable
882 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
884 * lyxlength.C (inPixels): Fix returned value.
886 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
889 2002-10-24 Angus Leeming <leeming@lyx.org>
891 * lyxgluelength.h: no need to forward declare BufferParams
892 or BufferView, so don't.
894 2002-10-21 John Levon <levon@movementarian.org>
896 * BufferView.C: menuUndo ->undo, redo
898 * BufferView.h: document, remove dead, make some methods private
902 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
907 * sgml.C: move sgml open/close tag into sgml.C
909 * bufferview_funcs.h: unused prototype
912 * lyxfunc.C: remove unused
915 * text.C: remove unused
917 2002-10-21 John Levon <levon@movementarian.org>
921 * BufferView_pimpl.h:
922 * BufferView_pimpl.C: fix mouse wheel handling based on
923 patch from Darren Freeman
925 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
927 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
929 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
931 * lyxlength.C (inPixels): Fix hanfling of negative length.
932 Fix LyXLength::MU case.
934 2002-10-16 John Levon <levon@movementarian.org>
936 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
938 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
940 * converter.C (view): add support for $$i (file name) and $$p
941 (file path) for the viewer command. If $$i is not specified, then
942 it is appended to the command (for compatibility with old syntax)
944 2002-10-14 Juergen Vigna <jug@sad.it>
946 * undo_funcs.C (textHandleUndo): alter the order in which the
947 new undopar is added to the LyXText, as we have to set first
948 the right prev/next and then add it as otherwise the rebuild of
949 LyXText is not correct. Also reset the cursor to the right paragraph,
950 with this IMO we could remove the hack in "redoParagraphs()".
952 2002-10-09 Angus Leeming <leeming@lyx.org>
954 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
955 to turn off an optimisation if a new inset is to be inserted.
957 2002-10-11 André Pönitz <poenitz@gmx.net>
959 * lyxtext.h: make some functions public to allow access
960 from inset/lyxtext for handling LFUN_PRIOR/NEXT
962 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
964 * text3.C (dispatch): when changing layout, avoid an infinite loop
967 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
969 * lyxrc.C (read): treat a viewer or converter command of "none" as
972 * MenuBackend.C (expandFormats): for an update, also allow the
973 formats that are not viewable
975 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
976 script if it is newer than the lyxrc.defaults in user directory
978 2002-10-07 André Pönitz <poenitz@gmx.net>
980 * text.C: Vitaly Lipatov's small i18n fix
982 2002-09-25 Angus Leeming <leeming@lyx.org>
984 * ispell.h: doxygen fix.
986 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
988 * buffer.h (readFile): Add a new argument to the method, to allow
989 reading of old-format templates.
991 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
993 * toc.C (getTocList): Get TOC from InsetWrap.
995 2002-09-16 John Levon <levon@movementarian.org>
997 * lyxfunc.C: check tabular for cut/copy too
999 2002-09-12 John Levon <levon@movementarian.org>
1004 * factory.C: add header
1006 * paragraph_funcs.h:
1007 * paragraph_funcs.C: cleanup
1009 2002-09-11 John Levon <levon@movementarian.org>
1011 * PrinterParams.h: odd/even default to true
1013 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1015 * PrinterParams.h: update printer parameters for new xforms dialog
1017 2002-09-11 Angus Leeming <leeming@lyx.org>
1019 * lyxserver.C (read_ready): re-write to make it more transparent
1020 and to make it work in coherent fashion under Tru64 Unix.
1022 2002-09-11 André Pönitz <poenitz@gmx.net>
1026 * text3.C: implement LFUN_WORDSEL
1028 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1030 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1031 make floatlist_ a boost::shared_ptr<FloatList>
1033 * lyxtextclass.C: include FloatList.h
1034 (LyXTextClass): initialize floatlist_
1035 (TextClassTags): add TC_NOFLOAT
1036 (Read): match "nofloat" to TC_NOFLOAT and use it.
1037 (readFloat): modify call to floatlist_
1041 * FloatList.[Ch] (FloatList): remove commented out float
1043 (erase): new function
1045 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1047 * MenuBackend.C (expandToc): fix crash when there is no document
1050 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
1052 * many files: Add insetwrap.
1054 2002-09-09 John Levon <levon@movementarian.org>
1056 * text2.C: remove confusing and awkward depth wraparound
1058 2002-09-09 John Levon <levon@movementarian.org>
1060 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
1063 * buffer.C: remove getIncludeonlyList()
1066 * lyxfunc.C: remove headers
1068 2002-09-09 Juergen Vigna <jug@sad.it>
1070 * text.C (getColumnNearX): fix form Michael this is most
1071 probably a cut&paste bug.
1073 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1075 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
1077 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
1078 references, ws changes.
1080 * text2.C (init): update counters after init
1081 (insertParagraph): no need to set counter on idividual paragraphs.
1082 (setCounter): access the counters object in the textclass object
1083 on in the buffer object.
1084 (updateCounters): ditto
1086 * lyxtextclass.C: include counters.h, add variable ctrs_ as
1087 shared_ptr<Counters> to avoid loading counters.h in all
1089 (LyXTextClass): initialize ctrs_
1090 (TextClassTags): add TC_COUNTER, and ...
1091 (Read): use it here.
1092 (CounterTags): new tags
1093 (readCounter): new function
1094 (counters): new funtion
1095 (defaultLayoutName): return a const reference
1097 * counters.C (Counters): remove contructor
1098 (newCounter): remove a couple of unneeded statements.
1099 (newCounter): simplify a bit.
1100 (numberLabel): some small formatting changes.
1102 * buffer.[Ch]: remove all traces of counters, move the Counters
1103 object to the LyXTextClass.
1105 2002-09-06 Alain Castera <castera@in2p3.fr>
1107 * tabular.C: uses \tabularnewline; uses >{...} construct from array
1108 package to set the horizontal alignment on fixed width columns.
1111 * lyx_sty.h: added tabularnewline macro def.
1113 * LaTeXFeatures.C: added NeedTabularnewline macro feature
1115 2002-09-06 John Levon <levon@movementarian.org>
1117 * LyXAction.C: tooltips for sub/superscript
1119 * MenuBackend.C: a bit more verbose
1121 * lyxfunc.C: tiny clean
1123 * undo_funcs.C: document undo_frozen
1125 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
1127 * counters.C (Counters): add missing algorithm counter.
1129 * text2.C (setCounter): lookup the counter with layouts latexname
1130 instead of by section number.
1131 (setCounter): use a hackish way to lookup the correct enum
1133 a float name->type change
1134 reset enum couners with counter name directly instead of depth value.
1136 * counters.C (Counters): remove the push_backs, change to use the
1137 float type not the float name.
1138 (labelItem): remove unused string, float name->type change
1140 * counters.h: don't include vector, loose the enums and sects vectors
1142 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1144 * lyxtextclass.C (TextClassTags): add TC_FLOAT
1145 (Read): add float->TC_FLOAT to textclassTags
1146 (Read): and handle it in the switch
1147 (readFloat): new function
1149 * FloatList.C (FloatList): comment out the hardcoded float
1152 * lyxlayout.h: ws change.
1154 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
1156 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
1158 2002-09-03 Angus Leeming <leeming@lyx.org>
1160 * BufferView_pimpl.h: qualified name is not allowed in member
1161 declaration: WorkArea & Pimpl::workarea() const;
1163 * factory.C: added using std::endl directive.
1165 * text3.C: added using std::find and std::vector directives.
1167 2002-08-29 André Pönitz <poenitz@gmx.net>
1170 * text2.C: remove unused member number_of_rows
1173 * BufferView2.C: remove file, move contents to...
1174 * BufferView.C: ... here
1176 * BufferView_pimpl.C:
1177 * factory.C: move more inset creation to factory
1179 * vspace.C: avoid direct usage of LyXText, ws changes
1182 don't provide direct access to WorkArea, use two simple
1183 acessors haveSelction() and workHeight() instead
1186 2002-08-29 John Levon <levon@movementarian.org>
1188 * BufferView_pimpl.C (dispatch): do not continue when
1191 2002-08-28 André Pönitz <poenitz@gmx.net>
1193 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
1196 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
1198 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1200 * buffer.C: increment LYX_FORMAT to 221
1202 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
1203 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
1205 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
1207 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
1209 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1211 * factory.C (createInset): use LyXTextClass::floats
1213 * MenuBackend.C (expandFloatListInsert):
1214 (expandFloatInsert):
1217 * text2.C (setCounter):
1219 * LaTeXFeatures.C (useFloat):
1220 (getFloatDefinitions):
1222 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
1224 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
1225 floatlist_, with accessor floats().
1227 * FloatList.h: remove global FloatList
1229 2002-08-26 André Pönitz <poenitz@gmx.net>
1231 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
1235 * BufferView_pimpl.C:
1236 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
1238 2002-08-25 John Levon <levon@movementarian.org>
1240 * LyXAction.C: fix margin note description
1242 2002-08-24 John Levon <levon@movementarian.org>
1246 * bufferview_funcs.C:
1248 * undo_funcs.C: cleanups
1250 * lyxfunc.C: disable CUT/COPY when no selection
1252 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1254 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
1255 in "enum UNIT"; e.g. PTW for Percent of TextWidth
1257 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
1258 Add backward compatibility to "mono", "gray" and "no".
1260 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
1262 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
1263 (and file_format >= 200).
1265 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1267 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
1269 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1271 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
1273 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
1275 * BufferView_pimpl.C:
1282 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
1283 inset and code to make it work with the paragraph code. The inset
1284 can be anywhere in the paragraph, but will only do the expected
1285 thing in LaTeX if the layout file contains the parameter line
1287 (or more generally, a nonzero value) for that layout.
1289 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1291 * paragraph.h: remove the declaration of undefined counters class
1294 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
1296 * text2.C (setCounter): fixed enumeration mis-count as reported by
1297 Dr. Richard Hawkins.
1299 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1301 * paragraph_funcs.h: remove some unneeded includes
1303 * text.C (backspace): pasteParagraph now in global scipe
1305 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
1306 (pasteSelection): ditto
1308 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
1309 * paragraph_funcs.C (pasteParagraph): ... here
1311 2002-08-20 André Pönitz <poenitz@gmx.net>
1313 * commandtags.h: new LFUNs for swapping/copying table row/colums
1316 * lyxfunc.C: support for new lfuns
1318 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * buffer.[Ch]: remove NO_COMPABILITY stuff
1323 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
1325 * boost.C (throw_exception): new file, with helper function for
1326 boost compiled without exceptions.
1331 * ParameterStruct.h:
1332 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
1334 * bufferlist.C (emergencyWriteAll): use boost bind
1336 * BufferView_pimpl.C (moveCursorUpdate): remove inline
1338 * text.C: include paragraph_funcs.h
1339 (breakParagraph): breakParagraph is now in global scope
1341 * paragraph_funcs.[Ch]: new files
1343 * paragraph.C (breakParagraph,breakParagraphConservative): move to
1346 * buffer.C: include paragraph_funcs.h
1347 (insertStringAsLines): breakParagraph is now in global scope
1349 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
1352 * CutAndPaste.C: include paragraph_funcs.h
1353 (cutSelection): breakParagraphConservative is now in global scope
1354 (pasteSelection): ditto
1356 * buffer.h: declare oprator== and operator!= for
1357 Buffer::inset_iterator
1359 * bufferlist.C (emergencyWrite): don't use fmt(...)
1361 * text3.C: add using std::endl
1363 * BufferView.C (moveCursorUpdate): remove default arg
1365 2002-08-20 André Pönitz <poenitz@gmx.net>
1367 * buffer.[Ch]: move inline functions to .C
1370 * BufferView_pimpl.C:
1372 * buffer.[Ch]: use improved inset_iterator
1375 * paragraph.[Ch]: write one paragraph at a time
1377 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
1379 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
1380 style if style is not specified.
1382 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1384 * text2.C (setCounter): when searching for right label for a
1385 caption, make sure to recurse to parent insets (so that a caption
1386 in a minipage in a figure float works) (bug #568)
1388 2002-08-20 André Pönitz <poenitz@gmx.net>
1390 * text3.C: new file for LyXText::dispatch() and helpers
1392 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
1394 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
1396 2002-08-19 André Pönitz <poenitz@gmx.net>
1399 * text.C: new LyXText::dispatch()
1401 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
1403 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
1405 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
1407 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
1410 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1412 * Makefile.am: use $(variables) instead of @substitutions@
1414 2002-08-15 André Pönitz <poenitz@gmx.net>
1417 * BufferView_pimpl.C: streamlining mathed <-> outer world
1421 * LyXAction.C: remove unused LFUN_MATH
1423 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1425 * paragraph.[Ch]: add some NO_NEXT ifdefs.
1427 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * paragraph.C (Paragraph): reformat a bit
1430 (cutIntoMinibuffer): use builtin InsetList function instad of
1434 * buffer.C: include boost/bind.hpp, add using std::for_each
1435 (writeFileAscii): use ParagraphList iterators
1436 (validate): use for_each for validate traversal of paragraphs
1437 (getBibkeyList): use ParagraphList iterators
1438 (resizeInsets): use for_each to resizeInsetsLyXText for all
1440 (getParFromID): use ParagraphList iterators
1442 * BufferView2.C (lockInset): use paragraph list and iterators
1444 2002-08-14 John Levon <levon@movementarian.org>
1446 * lyxserver.C: remove spurious xforms include
1448 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1450 * lyxfunc.C (getStatus): disable math-extern outside of math mode
1452 2002-08-13 André Pönitz <poenitz@gmx.net>
1455 * lyxfunc.C: further cleaning
1457 2002-08-13 André Pönitz <poenitz@gmx.net>
1459 * funcrequest.h: new constructor
1461 * funcrequest.C: move stuff here from .h
1464 * BufferView_pimpl.C:
1467 * lyxfunc.C: subsequent changes
1469 * lyxfunc.h: new view() member function
1471 * lyxfunc.C: subsequent changes
1473 2002-08-13 Angus Leeming <leeming@lyx.org>
1476 * BufferView_pimpl.C:
1484 changes due to the changed LyXView interface that now returns references
1485 to member variables not pointers.
1487 2002-08-13 Angus Leeming <leeming@lyx.org>
1489 * WordLangTuple (word, lang_code): return references to strings,
1494 * lyxtext.h: forward-declare WordLangTuple.
1499 * text.C: #include "WordLangTuple.h".
1502 * text.C: (selectNextWordToSpellcheck): constify return type.
1504 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1510 * paragraph_pimpl.h:
1513 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1515 Made updateCounter always count from start of buffer, and removed
1516 second argument (par).
1517 Reverted floats number display to '#'. Perhaps I'll try again when the
1518 code base is sanitized a bit.
1520 2002-08-12 Angus Leeming <leeming@lyx.org>
1522 * buffer.[Ch] (getLabelList): constify.
1524 2002-08-07 André Pönitz <poenitz@gmx.net>
1526 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1528 * funcrequest.h: extension to keep mouse (x,y) position
1530 2002-08-12 Juergen Vigna <jug@sad.it>
1532 * BufferView2.C (insertErrors): forbid undo when inserting error
1535 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1537 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * ParagraphList.[Ch]: new files
1541 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1543 * BufferView2.C (lockInset): ParagraphList changes
1546 * bufferlist.C: ditto
1550 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1552 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1553 unused class variable counter_,
1555 * paragraph.[Ch] (getFirstCounter): delete unused function
1557 * counters.C: include LAssert.h
1558 (reset): add a new function with no arg, change other version to
1559 not have def. arg and to not allow empty arg.
1561 * text2.C (setCounter): remove empty arg from call to Counters::reset
1563 2002-08-11 John Levon <levon@movementarian.org>
1565 * Makefile.am: add WordLangTuple.h
1567 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1569 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1570 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1572 * insets/insettext.C: InsetList changes
1574 * graphics/GraphicsSupport.C (operator()): InsetList changes
1576 * toc.C (getTocList): InsetList changes
1578 * paragraph_pimpl.[Ch]: InsetList changes
1580 * paragraph.[Ch]: InsetList changes
1582 * buffer.C (inset_iterator): InsetList changes
1583 (setParagraph): ditto
1584 * buffer.h (inset_iterator): ditto
1585 * iterators.C (operator++): ditto
1586 * iterators.h: ditto
1588 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1590 * InsetList.[Ch]: new files, most InsetList handling moved out of
1593 * BufferView2.C (removeAutoInsets): InsetList changes
1595 (ChangeInsets): ditto
1597 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1599 * paragraph_pimpl.h (empty): new function
1601 * paragraph.[Ch] (empty): new function
1603 * other files: use the new Paragraph::empty function
1605 2002-08-09 John Levon <levon@movementarian.org>
1607 * lyxtext.h: remove unused refresh_height
1609 2002-08-09 John Levon <levon@movementarian.org>
1616 * paragraph.C: move sgml char escaping out of paragraph
1619 * paragraph.C: remove id setter
1623 * paragraph_pimpl.C: remove dead tex_code_break_column
1625 * bufferview_funcs.C: small cleanup
1627 * lyxfunc.C: remove dead proto
1629 * lyxtext.h: make some stuff private. Remove some dead stuff.
1631 * lyxgluelength.C: make as[LyX]String() readable
1633 2002-08-08 John Levon <levon@movementarian.org>
1638 * ToolbarDefaults.C:
1641 * toc.C: lyxaction cleanup
1643 2002-08-08 John Levon <levon@movementarian.org>
1645 * BufferView2.C: small cleanup
1648 * lyxfind.C: move unnecessary header into the .C
1650 2002-08-08 John Levon <levon@movementarian.org>
1652 * funcrequest.h: just tedious nonsense
1655 * lyx_main.C: cleanups
1658 * vspace.C: remove dead header lyx_main.h
1660 2002-08-07 Angus Leeming <leeming@lyx.org>
1663 * paragraph_pimpl.h:
1664 Forward declare class Counters in paragraph.h by moving the ctrs member
1665 variable into Paragraph::Pimpl.
1666 (counters): new method, returning a reference to pimpl_->ctrs.
1668 * text2.C: ensuing changes.
1670 2002-08-07 John Levon <levon@movementarian.org>
1672 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1674 * BufferView_pimpl.C: announce X selection on double/triple
1677 * lyx_main.C: use correct bool in batch dispatch
1679 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1681 2002-08-07 André Pönitz <poenitz@gmx.net>
1683 * funcrequest.h: new class to wrap a kb_action and its argument
1686 * BufferView_pimpl[Ch]:
1690 * lyxrc.C: subsequent changes
1693 2002-08-07 John Levon <levon@movementarian.org>
1695 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1696 document options change.
1698 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1703 * makefile.am: move counters functionality over from
1704 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1706 2002-08-06 John Levon <levon@movementarian.org>
1708 * WordLangTuple.h: new file for word + language code tuple
1719 * BufferView2.C: use WordLangTuple
1722 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1724 2002-08-06 John Levon <levon@movementarian.org>
1726 * lyx_main.C: fix cmdline batch handling
1728 2002-08-06 André Pönitz <poenitz@gmx.net>
1730 * lyxrc.C: set default for show_banner to true
1732 2002-08-06 John Levon <levon@movementarian.org>
1734 * pspell.C: fix a crash, and allow new aspell to work
1736 2002-08-06 John Levon <levon@movementarian.org>
1739 * kbmap.C: small cleanup
1742 * vspace.C: add const
1744 2002-08-05 John Levon <levon@movementarian.org>
1746 * LyXAction.C: back to tabular-insert
1748 2002-08-04 John Levon <levon@movementarian.org>
1751 * BufferView.C: cosmetic change
1753 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1763 * BufferView2.C: purge all "Lyx" not "LyX" strings
1766 * lyxcursor.C: attempt to add some documentation
1771 * ToolbarDefaults.C:
1772 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1773 merge with LFUN_TABULAR_INSERT
1780 * pspell.C: split up i/pspell implementations into separate
1781 files, many cleanups
1783 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1785 * text2.C: some cleanup
1787 * lyxfunc.C: don't check for isp_command == "none" any more, it
1788 didn't make any sense
1790 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1795 * makefile.am: move counters functionality over
1796 from text2.C/paragraph.[Ch] to counters.[Ch], and
1798 2002-08-02 John Levon <levon@movementarian.org>
1800 * buffer.C: s/lyxconvert/lyx2lyx/
1802 2002-08-02 Angus Leeming <leeming@lyx.org>
1804 * lyxlex.C: revert John's change as it breaks reading of the user
1807 2002-08-02 Angus Leeming <leeming@lyx.org>
1809 * importer.C (Import):
1810 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1811 changes due to LyXView::view() now returning a boost::shared_ptr.
1813 2002-08-02 John Levon <levon@movementarian.org>
1815 * lyxlex.C: small cleanup
1817 2002-08-02 John Levon <levon@movementarian.org>
1819 * text2.C (status): small cleanup, no logic change
1821 2002-08-01 John Levon <levon@movementarian.org>
1824 * buffer.C (writeFile): don't output alerts, caller
1828 * lyx_cb.C: from above
1830 * lyxfunc.C: allow to open non-existent files
1832 2002-07-31 John Levon <levon@movementarian.org>
1834 * lyxserver.C: don't let incidental errors get
1837 2002-07-30 John Levon <levon@movementarian.org>
1839 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1841 2002-07-30 John Levon <levon@movementarian.org>
1844 * lyxserver.C: remove I/O callback too
1846 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1848 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1851 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1853 * many files: strip,frontStrip -> trim,ltrim,rtrim
1855 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * PrinterParams.h: remove extern containsOnly, and include
1858 support/lstrings.h instead.
1860 * LaTeX.C (scanAuxFile): modify because of strip changes
1862 * buffer.C (makeLaTeXFile): ditto
1863 * bufferparams.C (writeFile): ditt
1864 * lyxfont.C (stateText): ditto
1865 * lyxserver.C (read_ready): ditto
1866 * vc-backend.C (scanMaster): ditto
1868 * BufferView_pimpl.h: ws changes
1870 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1872 2002-07-26 André Pönitz <poenitz@gmx.net>
1874 * kb_sequence.C: remove unnedred usings
1876 2002-07-26 Juergen Vigna <jug@sad.it>
1878 * lyxfind.C (LyXReplace): we have to check better if the returned
1879 text is not of theLockingInset()->getLockingInset().
1881 2002-07-25 Juergen Vigna <jug@sad.it>
1883 * lyxfind.C (LyXReplace): don't replace if we don't get the
1886 * undo_funcs.C (createUndo): remove debugging code.
1888 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1890 * buffer.C (parseSingleLyXformat2Token): Use default placement
1891 when reading old floats.
1893 * FloatList.C (FloatList): Change the default placement of figure
1894 and tables to "tbp".
1896 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1898 * MenuBackend.C: using std::max
1900 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1902 * MenuBackend.C (expandToc):
1903 (expandToc2): code moved from xforms menu frontend. It is now
1904 generic and TOCs are transparent to menu frontends.
1906 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1908 * toc.C (getTocList): protect against buf=0
1910 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1911 Menu as first parameter. Now, this calls itself recursively to
1912 expand a whole tree (this will be useful for TOC handling)
1913 (expandFloatInsert): remove 'wide' version of floats
1915 * MenuBackend.h (submenuname): returns the name of the submenu.
1916 (submenu): returns the submenu itself, provided it has been
1917 created by MenuBackend::expand
1919 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1921 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1922 insets which have noFontChange == true. (bug #172)
1924 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1926 * BufferView_pimpl.C: add connection objects and use them...
1929 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1931 * MenuBackend.C (expandLastfiles):
1934 (expandFloatListInsert):
1935 (expandFloatInsert):
1936 (expand): split expand in parts
1938 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1940 * lyx_gui.C: use lyx_gui::exit()
1942 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1944 * LyXAction.C: show the failing pseudo action
1946 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1948 * buffer.C (readFile): Run the lyxconvert script in order to read
1951 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1955 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1957 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1961 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1963 2002-07-22 Herbert Voss <voss@lyx.org>
1966 * lyxlength.[Ch]: add support for the vertical lengths
1968 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1970 * toc.[Ch]: std:: fixes
1972 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1974 * lyxrc.C: do not include lyx_main.h
1976 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1982 * BufferView2.C: include "lyxlex.h"
1985 * bufferparams.h: do not #include "lyxlex.h"
1987 * lyxtextclasslist.C (Add): remove method
1988 (classlist): renamed to classlist_
1990 * paragraph_pimpl.C:
1994 * bufferview_funcs.C:
1999 * toc.C (getTocList): use BufferParams::getLyXTextClass
2001 * toc.C (getTocList): use InsetFloat::addToToc
2003 * toc.[Ch]: new files, containing helper functions to handle table
2006 * lyxfunc.C (dispatch): no need to remove spaces around command
2008 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2009 first command of the sequence; it is not very clever, but I do not
2010 have a better idea, actually
2012 * LyXAction.C (LookupFunc): make sure to remove space at the
2013 beginning and end of the command
2015 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2017 * MenuBackend.C (getMenubar): new method: return the menubar of
2019 (read): treat differently reading of menu and menubar (in
2020 particular, the menubar has no name now)
2021 (Menu::menubar): remove
2023 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2026 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2028 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2029 a bibitem inset in a RTL paragraph.
2031 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2033 * paragraph_pimpl.C: constify
2035 * BufferView_pimpl.C:
2037 * lyxfunc.C: fix dispatch in a nicer way
2039 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2041 * lyxfunc.C (dispatch):
2042 * BufferView_pimpl.C:
2043 * BufferView_pimpl.h:
2045 * BufferView.h: rename Dispatch() to dispatch()
2047 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2049 * lyxlayout.C (Read): honor DependsOn tag
2051 * lyxlayout.[Ch] (depends_on): new method
2053 * version.C.in: update lyx_docversion
2055 * LaTeXFeatures.C (getMacros): only define \LyX when needed
2057 * paragraph.C (validate): remove from here...
2058 * paragraph_pimpl.C (validate): ... and move here
2059 (isTextAt): make it const
2061 * buffer.C (getLists): ws cleanup
2063 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2065 * language.C (read): Use iso8859-1 encoding in latex_lang
2066 (this prevents LyX from crashing when using iso10646-1 encoding).
2068 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2070 * text2.C (toggleInset): if cursor is inside an inset, close the
2071 inset and leave cursor _after_ it
2073 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2075 * lyxfunc.C: move minibuffer completion handling out of here
2077 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
2079 * BufferView_pimpl.C:
2080 * LaTeX.C: fix dispatch calls
2082 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
2084 * text.C (drawChars): Fix Arabic text rendering.
2086 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
2090 * lyxfunc.C: remove message-push/pop
2094 * lyxfunc.C: rationalise some code by removing verboseDispatch
2095 in favour of a bool argument to dispatch()
2097 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2099 * lyx_main.C (init): make sure to read symlinks as absolute paths
2101 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2104 * lyxfunc.C: no need for commandshortcut to be a member
2106 2002-07-15 André Pönitz <poenitz@gmx.net>
2108 * converter.C: add support for $$s (scripts from lib/scripts dir)
2109 * lyx_main.C: white space
2111 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2115 * lyxrc.C: remove second exit confirmation
2117 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2122 * BufferView_pimpl.h:
2123 * BufferView_pimpl.C:
2124 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
2126 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2128 * MenuBackend.C (expand): add numeric shortcuts to document menu
2130 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
2132 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2134 * lyxfont.C (setLyXFamily):
2141 * buffer.C (asciiParagraph): use ascii_lowercase
2143 2002-07-15 Mike Fabian <mfabian@suse.de>
2145 * lyxlex_pimpl.C (search_kw):
2146 * lyxlex.C (getLongString):
2147 * converter.h (operator<):
2148 * converter.C (operator<):
2149 * buffer.C (parseSingleLyXformat2Token):
2151 * ToolbarDefaults.C (read):
2152 * MenuBackend.C (checkShortcuts):
2154 * LColor.C (getFromGUIName):
2155 (getFromLyXName): use the compare_ascii_no_case instead of
2156 compare_no_case, because in turkish, 'i' is not the lowercase
2157 version of 'I', and thus turkish locale breaks parsing of tags.
2159 2002-07-16 Angus Leeming <leeming@lyx.org>
2161 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
2162 now takes a Buffer const & argument.
2164 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2166 * BufferView.C (resize): check there's a buffer to resize
2168 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
2170 * lyxfunc.C: remove dead code
2173 * lyxserver.C: use lyx_guii::set_read_callback
2175 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2177 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
2178 an inset in a RTL paragraph.
2180 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2182 * lyxfunc.C: repaint after a font size update
2184 2002-07-15 André Pönitz <poenitz@gmx.net>
2186 * lyxlength.C: inBP should be able to return negative values
2188 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2190 * lyxfunc.C: use lyx_gui::update_fonts()
2192 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
2194 * lyxfunc.C: use lyx_gui::update_color()
2196 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2202 * lyxrc.C: remove file->new asks for name option, and let
2203 buffer-new take an argument
2205 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
2207 * BufferView_pimpl.C: remove unneeded extra repaint()
2209 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
2211 * LyXAction.C: allow command-sequence with NoBuffer
2213 * lyxfunc.C: don't insist on trailing ';' for command-sequence
2215 2002-07-10 Angus Leeming <leeming@lyx.org>
2217 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
2219 2002-07-09 Angus Leeming <leeming@lyx.org>
2221 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
2223 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2225 * lengthcommon.h: whitespace
2227 * lyxfunc.C: update scrollbar after goto paragraph
2229 * lyxtext.h: factor out page break drawing, and fix it so
2230 page break/added space paints as selected nicely
2232 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
2234 * BufferView_pimpl.C: add FIXMEs, clean up a little
2236 2002-07-09 André Pönitz <poenitz@gmx.net>
2238 * lyxfont.[Ch]: support for wasy symbols
2240 2002-07-08 André Pönitz <poenitz@gmx.net>
2242 * BufferView_pimpl.C: apply John's patch for #93.
2244 2002-07-05 Angus Leeming <leeming@lyx.org>
2246 * BufferView_pimpl.C (buffer): generate previews if desired.
2248 * LColor.h: add "preview" to the color enum.
2250 * LColor.C (LColor): add a corresponding entry to the items array.
2252 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
2255 2002-07-05 Angus Leeming <leeming@lyx.org>
2257 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
2258 The body of the code is now in the method that is passed an ostream &
2259 rather than a file name.
2260 Pass an additional only_preamble parameter, useful for the forthcoming
2263 2002-07-03 André Pönitz <poenitz@gmx.net>
2265 * lyxfunc.C: simplify getStatus() a bit for math stuff
2267 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2269 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
2271 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2273 * text.C (changeRegionCase): do not change case of all the
2274 document when region ends at paragraph end (bug #461)
2276 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2278 * paragraph.C (startTeXParParams):
2279 (endTeXParParams): add \protect when necessary
2281 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2283 * BufferView_pimpl.C (workAreaExpose): remove warning
2285 2002-06-27 Angus Leeming <leeming@lyx.org>
2287 * Makefile.am: add lyxlayout_ptr_fwd.h.
2289 2002-06-26 André Pönitz <poenitz@gmx.net>
2291 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
2293 2002-06-25 Angus Leeming <leeming@lyx.org>
2295 * lyxfunc.C (dispatch): Comment out the call to
2296 grfx::GCache::changeDisplay. The method no longer exists now that the
2297 pixmap generation part of the graphics loader has been moved into
2300 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2302 * text2.C: layout as layout
2304 * text.C: layout as layout
2306 * tabular.C (OldFormatRead): layout as layout
2308 * paragraph_pimpl.C (TeXDeeper): layout as layout
2309 (realizeFont): layout as layout
2311 * paragraph.C (writeFile): layout as layout
2312 (validate): layout as layout
2313 (getFont): layout as layout
2314 (getLabelFont): layout as layout
2315 (getLayoutFont): layout as layout
2316 (breakParagraph): layout as layout
2317 (stripLeadingSpaces): layout as layout
2318 (getEndLabel): layout as layout
2319 (getMaxDepthAfter): layout as layout
2320 (applyLayout): layout as layout
2321 (TeXOnePar): layout as layout
2322 (simpleTeXOnePar): layout as layout
2323 (TeXEnvironment): layout as layout
2324 (layout): layout as layout
2325 (layout): layout as layout
2327 * lyxtextclass.C (compare_name): new functor to work with
2328 shared_ptr, layout as layout
2329 (Read): layout as layout
2330 (hasLayout): layout as layout
2331 (operator): layout as layout
2332 (delete_layout): layout as layout
2333 (defaultLayout): layout as layout
2335 * lyxlayout_ptr_fwd.h: new file
2337 * lyxlayout.C (Read): layout as layout
2339 * lyx_cb.C (MenuInsertLabel): layout as layout
2341 * bufferlist.C (newFile): layout as layout
2343 * buffer.C (readLyXformat2): layout as layout
2344 (parseSingleLyXformat2Token): layout as layout
2345 (insertStringAsLines): layout as layout
2346 (asciiParagraph): layout as layout
2347 (latexParagraphs): layout as layout
2348 (makeLinuxDocFile): layout as layout
2349 (simpleLinuxDocOnePar): layout as layout
2350 (makeDocBookFile): layout as layout
2351 (simpleDocBookOnePar): layout as layout
2352 (getLists): layout as layout
2354 * LaTeXFeatures.C (getTClassPreamble): layout as layout
2356 * CutAndPaste.C (cutSelection): layout as layout
2357 (pasteSelection): layout as layout
2358 (SwitchLayoutsBetweenClasses): layout as layout
2360 * BufferView_pimpl.C (Dispatch): layout as layout
2361 (smartQuote): layout as layout
2363 * BufferView2.C (unlockInset): layout as layout
2365 2002-06-24 André Pönitz <poenitz@gmx.net>
2367 * lyxfunc.C: fix #487
2369 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2373 * lyxfunc.C: remove display_shortcuts, show_banner
2375 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2377 * Buffer_pimpl.C: oops, update on resize
2379 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2386 * BufferView.C: use repaint()
2388 * BufferView_pimpl.h:
2389 * BufferView_pimpl.C: s/updateScreen()/repaint()/
2390 as it's a clearer description. Remove superfluous
2393 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
2395 * text.C: fix bug 488. Not ideal, but getting
2396 getWord() to work properly for the insets that
2397 matter is more difficult ...
2399 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2401 * BufferView_pimpl.C:
2404 * lyxfunc.C: remove the six million index lyxfuncs to just
2405 one, and DTRT (bug 458)
2407 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2411 * BufferView_pimpl.h:
2412 * BufferView_pimpl.C: clean up resize() stuff,
2413 and unnecessary updateScreen()s
2415 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
2419 * BufferView_pimpl.h:
2420 * BufferView_pimpl.C:
2423 * minibuffer.C: remove focus management of workarea,
2424 not needed. Use screen's greyOut()
2426 2002-06-17 Herbert Voss <voss@lyx.org>
2428 * converter.C: (convert) do not post a message, when converting
2429 fails, let the calling function decide what to do in this case
2431 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
2433 * lyxfunc.C: tidy up a little
2435 2002-06-16 <alstrup@diku.dk>
2437 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
2438 Got rid of FORMS_H_LOCATION include. Now we are
2441 2002-06-15 LyX Development team <lyx@rilke>
2443 * buffer.[Ch] (sgmlOpenTag):
2444 (sgmlCloseTag): Added support for avoiding pernicious mixed
2445 content. Return number of lines written.
2448 (makeDocBookFile): Fixed calls to sgml*Tag.
2449 Simple white space clean.
2451 (simpleDocBookOnePar): Simple white space clean.
2453 * tabular.[Ch] (docBook): Renamed to docbook and got another
2454 argument to related with the pernicious mixed content.
2456 (docbookRow): Fixed calls for docbook inset method.
2458 2002-06-15 Lyx Development team <larsbj@birdstep.com>
2460 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
2461 so it's X11 independent.
2465 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
2467 2002-06-15 Lyx Development team <lyx@electronia>
2469 * intl.h: Renamed getTrans to getTransManager.
2471 2002-06-14 Angus Leeming <leeming@lyx.org>
2473 * Makefile.am: nuke forgotten stl_string_fwd.h.
2475 2002-06-12 Angus Leeming <leeming@lyx.org>
2477 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2479 2002-06-13 Angus Leeming <leeming@lyx.org>
2482 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2484 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2486 * kbmap.C (getiso): add support for cyrillic and greek
2488 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2492 * BufferView_pimpl.h:
2493 * BufferView_pimpl.C: move bogus scrolling logic
2496 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2499 * BufferView_pimpl.C: view->resize() change
2501 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2503 * BufferView_pimpl.C: topCursorVisible
2506 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2510 * lyx_gui.C: move to frontends/
2514 * lyx_main.C: changes from above
2516 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2523 * lyx_main.C: minor tidy
2525 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2527 * BufferView_pimpl.h:
2528 * BufferView_pimpl.C:
2530 * BufferView.C: make painter() const,
2533 * BufferView2.C: use screen() accessor
2536 * lyx_main.C: some minor cleanup
2538 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2540 * BufferView_pimpl.h:
2541 * BufferView_pimpl.C: remove enter/leaveView,
2544 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2549 * BufferView_pimpl.h:
2550 * BufferView_pimpl.C: only construct screen once,
2553 * lyxrc.C: remove pointless comment
2555 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2558 * BufferView.C: remove active() and belowMouse()
2560 * BufferView_pimpl.h:
2561 * BufferView_pimpl.C: use workarea() not workarea_,
2562 and make it use a scoped_ptr instead
2564 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2566 * lyx_gui.C: add debug message on BadWindow
2568 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2570 * sp_spell.C: fdopen is not part of the C++ standard.
2572 * paragraph.C (InsetIterator): use >= instead of ==
2574 2002-06-07 Angus Leeming <leeming@lyx.org>
2576 Fixes needed to compile with Compaq cxx 6.5.
2577 * BufferView_pimpl.C:
2584 * lyxtextclasslist.C:
2589 all c-library variables have been moved into namespace std. Wrap
2590 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2595 Add a using std::abs declaration.
2597 * kbmap.h (modifier_pair):
2598 * paragraph.h (InsetTable, InsetList):
2599 * lyxfont.h (FontBits):
2600 type definition made public.
2602 * bufferlist.C (emergencyWriteAll): the compiler complains that
2603 there is more than one possible lyx::class_fun template to choose from.
2604 I re-named the void specialisation as lyx::void_class_fun.
2606 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2608 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2609 the compiler is is unable to find tostr in write_attribute.
2611 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2613 * buffer.C (sgmlError): hide #warning
2615 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2617 * xtl/*: get rid of xtl, which is not in use anyway
2619 * LyXAction.C (init):
2620 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2621 were unimplemented xtl experimentation
2623 2002-06-04 André Pönitz <poenitz@gmx.net>
2625 * lyxfunc.C: disable array operation on simple formulae
2627 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2629 * converter.C: constify a bit
2631 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2633 * lyx_gui.C: check xforms version correctly
2635 2002-04-30 Herbert Voss <voss@lyx.org>
2637 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2640 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2642 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2643 attempt to register it with a VCS)
2645 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2647 * lyx_main.C (init): honor variables LYX_DIR_13x and
2650 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2654 * lyx_main.C: fix a crash on bad command line,
2655 and give a useful exit status on error
2657 * lyxfunc.C (doImport): allow -i lyx to work
2659 2002-03-30 André Pönitz <poenitz@gmx.net>
2661 * lyxfunc.C: mathed font changes
2663 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2678 * trans_mgr.h: srcdocs, and some minor cleanups
2680 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2682 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2683 call getFont all the time)
2685 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2687 * switch from SigC signals to boost::signals
2689 2002-05-29 André Pönitz <poenitz@gmx.net>
2691 * paragraph_pimpl.C (getChar): don't call size() too often...
2693 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2695 * paragraph_pimpl.C (insertChar): do not try to update tables when
2696 appending (pos == size())
2698 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2699 in order to reduce drastically the number of comparisons needed to
2700 parse a large document
2702 2002-05-29 André Pönitz <poenitz@gmx.net>
2708 * textclasslist.[Ch]:
2709 * sp_ispell.h: whitespace change
2711 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2713 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2714 lyxaction directly now.
2716 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2720 * lyxvc.C: remove unused headers
2722 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2729 * undo_funcs.C: some cleanups. Use shared_ptr
2730 and a template for the undo stacks.
2732 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2734 * BufferView_pimpl.h:
2735 * BufferView_pimpl.C:
2742 * text2.C: use key_state/mouse_state
2744 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2746 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2749 * chset.C: change include order
2750 (loadFile): use boost regex and get rid of LRegex and LSubstring
2752 * Makefile.am (BOOST_LIBS): new variable
2755 * LaTeX.C: change include order.
2756 (scanAuxFile): use boost regex and get rid of LRegex and
2760 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2765 * FontInfo.C: moved to frontends/xforms/
2768 * FontLoader.C: moved into frontends for GUIIzation
2773 * lyxfunc.C: changes from above
2775 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2777 * LColor.C: remove spurious X include
2779 * BufferView_pimpl.C:
2784 * text2.C: move font metrics to frontends/
2786 2002-05-24 Juergen Vigna <jug@sad.it>
2788 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2789 setting the undo_cursor.
2791 * ParagraphParameters.h: include local includes first.
2793 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2795 * BufferView_pimpl.C:
2796 * BufferView_pimpl.h:
2800 * screen.C: move WorkArea into frontends/
2806 * BufferView2.C: move LyXScreen into frontends/
2810 * lyx_gui.C: move lyxlookup into frontends/xforms/
2812 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2815 * BufferView_pimpl.C:
2825 * bufferview_funcs.C:
2838 * vc-backend.C: move LyX/XFormsView into frontends/
2840 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2852 * text2.C: move Painter to frontends/
2854 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2856 * buffer.C: comment out some some code that depend upon lyx_format
2859 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2860 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2862 * buffer.h (NO_COMPABILITY): turn off compability
2864 * ColorHandler.C: include scoped_array.hpp
2866 * font.C: Use more specific smart_ptr header.
2869 * ShareContainer.h: ditto
2873 * BufferView_pimpl.h: ditto
2874 * ColorHandler.h: ditto
2876 * kbmap.C (defkey): change call to shared_ptr::reset
2878 2002-05-21 Juergen Vigna <jug@sad.it>
2880 * buffer.C (insertErtContents): fix to insert ert asis if it is
2881 non empty. Skip it completely if it contains only whitespaces.
2883 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2885 * BufferView_pimpl.C:
2886 * BufferView2.C: clear selection on paste (bug 393)
2888 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2890 * DepTable.C: include ctime
2892 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2894 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2896 2002-05-14 Juergen Vigna <jug@sad.it>
2898 * text.C (breakParagraph): fixed function to honor the keepempty
2899 layout in the right maner and also to permit the right breaking
2900 algorithm on empty or non empyt keepempty paragraphs.
2902 * paragraph.C (breakParagraph): we have to check also if the par
2903 is really empty (!size()) for isempty otherwise we do the wrong
2906 2002-05-10 Juergen Vigna <jug@sad.it>
2908 * buffer.[Ch] : The following are only changes to the ert
2909 compatibility read reading old LaTeX layout and font stuff and
2910 convert it to ERTInsets.
2912 * buffer.h: added isErtInset().
2914 * buffer.C (struct ErtComp): add a fromlayout bool to check
2915 if we're inside a LaTeX layout.
2916 (isErtInset): new helper function.
2917 (insertErtContents): look for other ert insets before this one
2918 and insert the contents there, so that we don't have subsequent
2919 ERT insets with nothing between them. This way we create only one
2920 inset with multiple paragraphs. Also check if we don't insert only
2921 spaces ' ' as they are ignored anyway afterwards in the .tex file
2922 so if we have only spaces we will ignore this latex part in the
2924 (parseSingleLyXformat2Token \\layout): better compatibility when
2925 reading layout-latex stuff.
2926 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2928 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2929 stuff after reading the inset only get the information back from
2932 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2934 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2936 * LaTeXFeatures.C (getBabelOptions): New method.
2938 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2940 * BufferView_pimpl.C (Dispatch): work around missing argument for
2943 2002-05-08 Juergen Vigna <jug@sad.it>
2945 * text.C (leftMargin): handle paragraph leftindent.
2947 * paragraph.C (writeFile): write the new \\leftindent tag.
2948 (validate): handle leftindent code.
2949 (TeXEnvironment): handle paragraphleftindent code again.
2951 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2953 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2954 for paragrap_extra indent code and new token \\leftindent.
2955 (latexParagraphs): handle the leftindent as environment.
2957 * ParameterStruct.h: added leftindent support.
2959 * ParagraphParameters.C (leftIndent): added support functions for
2960 the paragraph left indent.
2962 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2965 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2967 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2970 * text.C (computeBidiTables): No bidi in insetERT.
2972 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2975 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2977 * version.C.in: pre 5
2979 2002-05-02 José Matos <jamatos@fep.up.pt>
2980 * buffer.C (makeDocBookFile): white space changes, add newline to
2982 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2984 * tabular.C (docBook): fix typo.
2986 2002-05-03 Juergen Vigna <jug@sad.it>
2988 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2989 change in LyXText as we can not be sure it was not freed.
2990 (drawOneRow): remove unused code.
2992 * text.C (drawInset): redo the calculation of the need_break_row as
2993 it could have a row which was already freed.
2994 (draw): look at the return value of drawInset and return false if
2995 it also returned false.
2996 (paintRowText): look at the return value of draw and return false if
2997 it also returned false.
2999 * lyxtext.h: added bool return type to drawInset() and draw() so that
3000 if we have a change in the row so that the rowbreak has to be redone
3001 we abort drawing as it will be called again.
3003 2002-05-02 Juergen Vigna <jug@sad.it>
3005 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3006 a change in the maintext also if we're inside an inset.
3007 (Dispatch): set the cursor again after a break line and after the
3008 screen has been updated as it could be we're in a different row.
3010 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3011 to set the cursor behind the pargraph with > size().
3012 (setCursor): check also for the same paragraph when checking where
3013 to put the cursor if we have a NFR inset.
3015 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3016 parts of layout read further up as it still was in the wrong
3019 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3021 * screen.C (drawFromTo): change sine fullRebreak always return
3024 * buffer.C (parseSingleLyXformat2Token): reindent some
3026 * BufferView_pimpl.C (update): change since fullRebreak always
3028 (Dispatch): git rid of the last hardcoded "Standard"s.
3030 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3032 * text2.[Ch] (fullRebreak): make it return void now that we always
3035 2002-04-30 Juergen Vigna <jug@sad.it>
3037 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3038 ert compatibility check for "latex" layout.
3040 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3042 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3043 minipages: use col% instead of p%, and also use the current font.
3044 (makeLaTeXFile): Fix use babel condition.
3045 (parseSingleLyXformat2Token): Correct font when reading old floats.
3047 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3049 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3050 inserting list of floats.
3052 2002-04-25 Herbert Voss <voss@lyx.org>
3054 * MenuBackend.C (expand): don't add the graphics extensions to the
3057 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3059 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
3060 non-existing layout, do not complain if it was the default layout
3061 of the original class (bug #342)
3063 2002-04-24 Juergen Vigna <jug@sad.it>
3065 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
3066 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
3068 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3070 * buffer.C (getBibkeyList): If using \bibliography, return the
3071 option field with the reference itself. Enables us to provide natbib
3072 support when using \bibliography.
3074 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
3076 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
3078 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
3079 natbib is provided by the LaTeX class.
3081 2002-04-23 Juergen Vigna <jug@sad.it>
3083 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
3086 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
3088 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3090 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
3092 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
3093 ensuremath around textordmasculine, textordfeminine and
3096 2002-04-19 Juergen Vigna <jug@sad.it>
3098 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
3099 reinitializing the buffer otherwise row-dimensions may be wrong.
3100 (update): reset also the selection cursors if they do exits otherwise
3101 their x/y positions may be wrong.
3103 * text2.C (cursorDown): don't enter the inset if we came from a row
3104 above and are one row over the inset.
3106 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
3107 really leaving an inset.
3109 2002-04-18 Juergen Vigna <jug@sad.it>
3111 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
3112 of the selected paragraph does not have the selected layout also if
3115 * text2.C (setLayout): fixed bug which did not change last selected
3118 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
3119 changed the read and substituted \\end_float with \\end_inset!
3121 * BufferView_pimpl.C (cursorPrevious):
3122 (cursorNext): fixed to make it work with rows heigher than the work
3123 area without moving the cursor only the draw of the row.
3124 (workAreaMotionNotify): fix jumping over high rows.
3126 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
3128 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
3131 2002-04-16 Juergen Vigna <jug@sad.it>
3133 * text2.C (setCursor): set also the irow().
3134 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
3136 (cursorDown): support for locking an inset if the x_fix value goes
3137 inside it. That way I can transverse insets too with cursor up/down.
3139 * lyxrow.h: added irow helper function same as other (i) functions.
3141 * BufferView_pimpl.C (cursorPrevious):
3142 (cursorNext): fixed for insets!
3144 2002-04-15 Juergen Vigna <jug@sad.it>
3146 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
3147 position otherwise it is wrong in some cases.
3149 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
3150 inside the inset before the call.
3152 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3154 * buffer.[Ch] (getBibkeyList): make it const.
3156 2002-04-12 Juergen Vigna <jug@sad.it>
3158 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
3160 * text2.C (getCursorX): new helper function
3161 (setCursor): compute also ix_
3162 (setCursorFromCoordinates): set also ix.
3164 * lyxcursor.h: added ix_ and helper functions.
3166 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
3168 * buffer.C (insertStringAsLines): dont break paragraph if the this
3169 paragraph is inside an inset which does not permit it!
3171 * text.C (breakParagraph): honor keepempty flag and break the paragraph
3172 also with no chars on this paragraph.
3173 (paintRowText): only paint stuff if it's inside the workarea!
3175 * paragraph.C (breakParagraph): honor keepempty flag and break the
3176 paragraph always below not above.
3178 * BufferView2.C (unlockInset): update the paragraph layout on inset
3179 unlock as we changed paragraph in such a case.
3181 * lyxfind.C (LyXFind): clear the former selection if not found!
3183 * text2.C (insertInset): freeze Undo after setUndo so that it is not
3184 again called in insertChar().
3186 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
3187 an inset which uses the whole row!
3188 (rightMargin): ditto.
3189 (insertChar): force a rebreak if we inserted an inset!
3191 2002-03-28 Herbert Voss <voss@lyx.org>
3193 * lyxlength.[Ch]: add inBP() to get the right PS-point
3194 units (BigPoint). With inPixels we have rounding errors
3196 2002-04-11 Juergen Vigna <jug@sad.it>
3198 * text2.C (setCursorFromCoordinates): set iy to the right value.
3199 (setCursor): add check if row->previous exists!
3201 * buffer.C (parseSingleLyXformat2Token): reset font after read of
3202 an old float_type as this was the case in the old code!
3204 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
3206 * BufferView2.C (showLockedInsetCursor): use iy
3207 (fitLockedInsetCursor): ditto
3209 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
3210 locked insets as there we have the right value now.
3212 * lyxcursor.C: added iy_ variable and iy functions to set to the
3213 baseline of cursor-y of the locked inset.
3215 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
3216 (setCursor): fixed for insets which need a full row.
3218 * text.C (rowLastPrintable): don't ignore the last space when before
3219 an inset which needs a full row.
3220 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
3221 as last character of a row when before a inset which needs a full row.
3223 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3225 * version.C.in: update date
3227 * text2.C (fullRebreak): try to always return true and see what
3230 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3232 * MenuBackend.C (expand): use Floating::listName
3234 * FloatList.C (FloatList): add listName argument to the built-in
3237 * Floating.[Ch]: add listName member, which is the 'List of XXX'
3238 text associated with the float.
3240 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3242 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
3244 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3246 * ShareContainer.h: add a couple of missing typenames.
3248 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
3250 * lyxrc.C (getDescription): use _() correctly rather than N_().
3252 2002-03-28 Herbert Voss <voss@lyx.org>
3254 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
3255 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
3257 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3259 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
3260 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
3262 2002-03-29 Juergen Vigna <jug@sad.it>
3264 * lyxfunc.C (dispatch): add a missing fitCursor call.
3266 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
3267 it was scrolled by a cursor move, so return the bool status.
3269 * BufferView.C (fitCursor): return the bool flag also to the outside
3270 world as this is needed.
3272 * screen.C (toggleToggle): don't subtract the offset if it's positive.
3274 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
3275 call the edit() as it is not needed (and wrong) IMO.
3276 (workAreaButtonPress): set the screen_first variable before evt.
3277 unlock the inset as this may change screen_first and then we have
3278 a wrong y position for the click!
3280 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3282 * MenuBackend.C (expand): another translation that I missed
3284 2002-03-28 Juergen Vigna <jug@sad.it>
3286 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
3288 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
3290 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3292 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
3294 * MenuBackend.C (expand): fix export/view/update when there is no
3297 2002-03-27 Herbert Voss <voss@lyx.org>
3299 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
3302 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3304 * bufferview_funcs.C (currentState): only show paragraph number
3305 for is DEVEL_VERSION is set.
3307 * lyxfunc.C (dispatch): put warning in INFO channel
3309 * MenuBackend.C (expand): translate the name of floats
3311 * FloatList.C (FloatList): mark the float names for translation
3313 * converter.C (convert): use LibScriptSearch
3315 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3317 * MenuBackend.C (defaults): fix default menu (we might as well get
3320 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3322 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
3325 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3327 * lyxvc.C: reorder includes.
3329 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
3331 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
3334 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
3336 * CutAndPaste.C: change layouts earlier on paste
3337 to avoid crashing when calling getFont()
3339 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3341 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
3344 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3346 * WorkArea.C: remove 'Pending' debug message.
3348 * most files: ws cleanup
3350 * buffer.[Ch]: ws changes
3352 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
3354 2002-03-21 Juergen Vigna <jug@sad.it>
3356 * tabular.C (SetMultiColumn): collapse also the contents of the
3357 cells and set the last border right. Added a Buffer const * param.
3359 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3361 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
3364 2002-03-19 Juergen Vigna <jug@sad.it>
3366 * text2.C (clearSelection): reset also xsel_cache.
3368 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
3369 where it needs to be called (John tells us to do so too :)
3370 (selectionLost): reset sel_cache.
3372 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
3374 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3376 * text2.C (setCursorIntern): put debuging code in INSETS channel
3378 2002-03-19 André Pönitz <poenitz@gmx.net>
3380 * lyxfunc.C: tiny whitespace change
3382 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3384 * ToolbarDefaults.C (init):
3385 * LyXAction.C (init):
3387 * BufferView_pimpl.C (Dispatch):
3388 * lyxfunc.C (dispatch): remove LFUN_DEPTH
3390 2002-03-19 Allan Rae <rae@lyx.org>
3392 * exporter.C (Export): removeAutoInsets before doing anything else.
3393 While I've just introduced a dependency on BufferView this really is
3394 the best place to clean the buffer otherwise you need to cleanup in
3395 a dozen places before calling export or cleanup in a dozen functions
3398 * converter.C (runLaTeX):
3399 (scanLog): Better handling of removeAutoInsets and screen updates.
3401 * lyxfunc.C (dispatch): small whitespace changes
3403 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3405 * WorkArea.C (C_WorkAreaEvent): return a value.
3406 (event_cb): return 1 if we handled the event, 0 otherwise.
3408 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
3410 2002-03-18 Juergen Vigna <jug@sad.it>
3412 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
3413 (GetAdditionalWidth): ditto.
3417 * BufferView2.C (copy): use getLyXText() so that we do it inside an
3418 inset if we're there actually (probably not used right now but this
3419 is the direction to go for unifying code).
3420 (paste): disable code to clear the selection.
3422 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
3423 inside an InsetText and move the check further up as it is in the
3426 * text2.C (pasteSelection): set a selection over the pasted text.
3428 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
3430 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
3431 and libgraphics to build on Cygwin.
3433 2002-03-15 Juergen Vigna <jug@sad.it>
3435 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
3436 inserting an Inset into the paragraph. I know this is not the best
3437 fix but we already use current_view in CutAndPaste so we will remove
3438 all of it's using at the same time.
3440 * buffer.C (sgmlError): deactivated function till it is rewritten in
3441 the right mode, now it can create problems.
3443 * paragraph.C (isLineSeparator): check if getInset returns != 0,
3444 before accessing it.
3446 2002-03-14 Juergen Vigna <jug@sad.it>
3448 * undo_funcs.C (textHandleUndo): do the right thing when updating
3449 the inset after the undo/redo.
3451 * text2.C (setCursor): just some testcode for #44 not ready yet.
3453 * undo_funcs.C (textHandleUndo): set the next() and previous()
3454 pointers of the paragraph to 0 before deleting otherwise we have
3455 problems with the Paragraph::[destructor].
3457 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
3458 on a paragraph insertion.
3460 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3462 * buffer.C (asciiParagraph): use += operator for char append to
3465 * paragraph.C (getFontSettings): compare >= not just >
3466 (highestFontInRange): ditto
3469 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3471 * paragraph.C: change several algorithm to be more appripriate for
3472 the problem domain. This is lookip in FontList and in the InsetList.
3474 2002-03-13 André Pönitz <poenitz@gmx.net>
3477 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3479 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3484 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3486 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3488 * Painter.C (display): anon helper function, adjust code for this
3490 (pixmap): remove function.
3492 * Painter.h: remove private display variable.
3494 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3496 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3498 * WorkArea.[Ch]: remove figinset_canvas cruft.
3500 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3502 * lyxtextclass.C (operator): add one item cache optimization.
3504 * bufferlist.h: doxy changes
3506 * bufferlist.C: ws changes
3508 * DepTable.[Ch] (ext_exist): place const in the right spot.
3510 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3512 (workAreaExpose): call resizeInsets when the with BufferView changes.
3513 (Dispatch): adjust for protectedBlank removal
3514 (specialChar): call updateInset if the insert went ok.
3516 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3517 specialChar instead.
3519 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3521 * BufferView.h: doxy change
3523 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3525 * lyxtextclass.C (operator[]): remove non-const version
3526 (defaultLayout): remove non-const version
3528 2002-03-12 Juergen Vigna <jug@sad.it>
3530 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3531 did resize the LyXText too.
3533 * buffer.C (readLyXformat2): set layout information on newly allocated
3536 * tabular.C (OldFormatRead): set layout information on the paragraph.
3538 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3540 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3542 2002-03-11 Juergen Vigna <jug@sad.it>
3544 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3546 (resizeCurrentBuffer): force also the insets to resize themselfes.
3547 (moveCursorUpdate): fixed up for InsetText.
3549 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3552 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3553 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3554 value of Dialogs::tooltipsEnabled().
3555 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3557 2002-03-08 Juergen Vigna <jug@sad.it>
3559 * BufferView_pimpl.C (updateInset): update inset inside inset also
3560 if it isn't inside theLockingInset().
3562 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3564 * buffer.C (asciiParagraph): redo some of the word and line length
3566 (getLists): look for Caption instead of caption.
3568 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3570 * buffer.C (Buffer): initialize niceFile to true
3573 (makeDocBookFile): make sure niceFile is true on exit
3575 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3577 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3579 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3581 * LyXSendto.C: remove.
3582 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3583 * lyx_gui.C: remove now-redundant comment.
3584 * ColorHandler.h: remove forward declaration of class WorkArea.
3585 * lyxfunc.C: remove #include "WorkArea.h".
3587 2002-03-07 Juergen Vigna <jug@sad.it>
3589 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3590 got moved away with the DEPM and also set the inset_owner always
3591 right which before could have been omitted.
3593 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3595 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3596 wanted layout is not found.
3598 2002-03-07 Juergen Vigna <jug@sad.it>
3600 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3602 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3604 * paragraph.C (breakParagraph): use default layout not layout of
3606 (Paragraph): clear ParagraphParameters.
3608 2002-03-06 Juergen Vigna <jug@sad.it>
3610 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3611 otherwise it would not be a valid lenght. Fixed a special case in
3612 the minipage compatibility read where we end the document with a
3615 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3616 was set as it could be 0 for InsetTexts first entry.
3618 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3620 * paragraph.C (writeFile): if layout is empty write out
3621 defaultLayoutName().
3623 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3624 file without named layout we set layout to defaultLayoutName().
3626 2002-03-06 Juergen Vigna <jug@sad.it>
3628 * CutAndPaste.C (copySelection): set layout for new paragraph.
3630 * text.C (prepareToPrint): leave ERT inset left aligned
3631 (leftMargin): don't indent paragraphs inside ERT insets
3633 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3635 * paragraph.C (breakParagraph): dont call clear do the work manually
3637 * paragraph.[Ch] (clear): remove function
3639 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3641 * paragraph.C (Paragraph): dont call clear, the work has already
3644 * lyxtextclass.C (operator): assert if n is empty
3646 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3647 work manually instead.
3649 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3651 * BufferView_pimpl.C: protect selectionLost against text == 0
3653 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3655 * text.C (breakParagraph): fix a setting layout to '0' problem.
3657 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3659 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3660 final location of file, for the included files, and graphics.
3662 2002-03-05 Juergen Vigna <jug@sad.it>
3664 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3666 2002-03-04 Juergen Vigna <jug@sad.it>
3668 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3670 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3671 last column of multicolumn cells.
3672 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3674 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3676 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3677 file if it doesn't go to a temporary file.
3679 * buffer.C (sgmlOpenTag):
3680 (sgmlCloseTag): remove extra newline insertion.
3682 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3684 * text.C (getRowNearY): comment out debug msg
3686 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3688 * text2.C: first -> first_y
3690 * text.C (getRowNearY): add some attemts at a possible
3691 optimization, not working.
3693 * tabular.[Ch]: add BufferParams to several function so that newly
3694 created paragraph can be initialized to he default layotu for the
3697 * tabular-old.C (ReadOld): add buf->params to call of Init
3699 * screen.C: rename text->first to text->first_y
3701 * paragraph.C (breakParagraph): always set layout in the broken
3704 * lyxtextclass.C (Read): remove lowercase
3707 (delete_layout): ditto
3709 * lyxtext.h: rename first -> first_y
3711 * lyxlayout.C (Read): remove lowercase
3714 (obsoleted_by): ditto
3716 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3718 * buffer.C (insertErtContents): add params are to InsetERT
3719 (parseSingleLyXformat2Token): add code to check if a paragraphs
3720 layout really exist.
3721 (parseSingleLyXformat2Token): add params to several inset
3723 (asciiParagraph): remove lowercase, do the layout comparisons with
3726 * BufferView_pimpl.C (cursorNext): first -> first_y
3727 (resizeCurrentBuffer): first -> first_y
3728 (updateScrollbar): first -> first_y
3729 (scrollCB): first -> first_y
3730 (workAreaMotionNotify): first -> first_y
3731 (workAreaButtonPress): first -> first_y
3732 (checkInsetHit): first -> first_y
3733 (cursorPrevious): first -> first_y
3734 (cursorNext): first -> first_y
3735 (Dispatch): add buffer_->params to severl inset contructors
3737 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3739 * lyxlayout.C (Read): remove some debug info that I forgot.
3741 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3742 clean up the code slightly.
3743 (makeLinuxDocFile): ditto
3744 (makeDocBookFile): ditto
3746 * text2.C: layout as string
3748 * text.C: layout as string
3750 * paragraph_pimpl.C: layout as string
3752 * paragraph.[Ch]: layout as string
3754 * lyxtextclasslist.[Ch]: layout as string
3756 * lyxtextclass.[Ch]: layout as string
3758 * lyxtext.h: layout as string
3760 * lyxlayout.[Ch]: layout as string
3762 * lyx_cb.C: layout as string
3764 * bufferview_funcs.C: layout as string
3766 * bufferparams.C: layout as string
3768 * buffer.C: layout as string
3770 * LyXView.[Ch]: layout as string
3772 * LaTeXFeatures.[Ch]: layout as string
3774 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3776 * BufferView_pimpl.C: change current_layout to string, remove
3781 (workAreaButtonRelease): layout as string
3783 * BufferView2.C (unlockInset): adjust
3785 * vspace.C (asLatexCommand): use an explict temp variable.
3787 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3789 * Makefile.am: use FRONTEND_*
3791 2002-03-01 Juergen Vigna <jug@sad.it>
3793 * tabular.C (SetWidthOfMulticolCell): changed to something better
3794 I hope but still work in progress.
3795 (recalculateMulticolumnsOfColumn): renamed function from
3796 recalculateMulticolCells as it is more appropriate now.
3797 (SetWidthOfCell): calculate multicols better.
3799 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3801 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3803 * lyxfunc.C (processKeySym): print sequence also if it is
3804 `deleted' (complete)
3806 * kbsequence.C (print): print sequence even if it is deleted
3807 (complete would be a better word, actually).
3809 * lyxfunc.C (dispatch): print complete options after a prefix key
3811 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3813 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3815 * text2.C (setCharFont): eliminate setCharFont code duplication.
3817 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3819 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3820 LFUN_TABULAR_FEATURE (bug #177)
3822 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3824 * Makefile.am: remove figure.h
3826 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3828 * Bufferview_pimpl.C:
3840 * text2.C: remove #include "lyx_gui_misc.h".
3842 * LaTeX.C: added #include <cstdio>
3844 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3846 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3847 that the paragraph following this one can have.
3849 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3851 * vspace.C (asLatexCommand): fix bogus gcc warning
3853 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3855 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3857 * text2.C (setLayout): get rid of redundant code
3859 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3861 * text2.C (incDepth): make sure depth cannot be increased beyond
3864 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3866 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3867 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3869 * PainterBase.h (image):
3870 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3873 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3877 * BufferView_pimpl.C:
3878 * BufferView_pimpl.h:
3898 * sp_spell.C: remove fig inset, and the crap house of
3899 cards that follows it
3901 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3907 * nt_defines.h: move .h into support/
3909 * vms_defines.h: remove
3911 * WorkArea.C: add space in debug output
3915 * buffer.C: add WITH_WARNINGS
3919 * bufferlist.C: s/retrive/retrieve/, add docs
3930 * lyxgui.C: add ID to X error handler
3932 * lyxtestclass.c: fix typo
3934 2002-02-26 Juergen Vigna <jug@sad.it>
3936 * tabular_funcs.C (write_attribute): changed so that some default
3937 attributes are not written at all.
3938 (getTokenValue): set default values before trying to read the
3939 value so we have the return value always set as default if we don't
3940 find the token we search for.
3942 * tabular.C (Write): write bools as bools not as strings!
3944 2002-02-22 Juergen Vigna <jug@sad.it>
3946 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3947 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3949 * text.C (leftMargin): don't add an indent for paragraphs inside
3950 tabular cells (fix #208).
3952 2002-02-21 José Matos <jamatos@fep.up.pt>
3954 * tabular.C (docBook): fixed support for long tables.
3956 2002-02-20 Juergen Vigna <jug@sad.it>
3958 * text2.C (getFont): get the drawing font of the Inset if this
3959 paragraph is inside an inset (only important for InsetERT for now).
3961 * buffer.C (insertErtContents): use new lanugage params in ERT
3964 * CutAndPaste.C: commenting out seemingly uneeded code.
3966 2002-02-19 Allan Rae <rae@lyx.org>
3968 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3969 Iterators might be simple to use but they also get invalidated.
3970 (removeAutoInsets): renamed saved cursor tracking variables and added
3971 some comments to clarify what everything does.
3973 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3980 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3981 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3984 * vc-backend.h: remove #include "support/syscall.h"
3988 * converter.C: rearrange #includes in Lars' approved fashion.
3990 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3991 forward declare class Timeout in the header file.
3993 * XFormsView.C: changes due to the above.
3995 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3998 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3999 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4001 2002-02-18 José Matos <jamatos@fep.up.pt>
4003 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4006 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4008 * a lot of small ws changes
4009 * add a lot of using std::XXX
4010 * use std construcs some places where approp.
4011 * use some exisint stuff from lyxfunctional where approp.
4012 * Make file changes to use partial linking (lets test this now...)
4014 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4018 remove #include "support/syscontr.h" as it's redundant. Always has been.
4026 change Systemcalls::System to Systemcalls::Wait and
4027 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4028 No change of functionality, just reflects the stripped down Systemcalls
4031 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4033 * debug.[Ch]: add a GRAPHICS type to the enum.
4035 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4037 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4039 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4042 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4044 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4045 match the changes below.
4047 * text2.C (toggleInset): if there is not editable inset at cursor
4048 position, try to see if cursor is _inside_ a collapsable inset
4051 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4053 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
4054 document menu has a nice checkbox
4056 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4058 * lyxlength.C (asLatexString): change PW to output as percent of
4061 * lengthcommon.C: change '%' to 't%'
4063 * lyxfunc.C (dispatch): a few comments from Martin
4065 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
4069 * BufferView_pimpl.h:
4070 * BufferView_pimpl.C: clear our selection when X tells us we've lost
4073 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4075 * vspace.C (inPixels): fix compiler warning
4077 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4079 * lyxfunc.C (getStatus): fix status message for disabled commands.
4081 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
4083 * BufferView_pimpl.C: fix crash on close buffer
4084 during selection (#227)
4086 2002-01-27 Herbert Voss <voss@lyx.org>
4088 * buffer.C: link old Figure to new graphic inset
4090 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
4092 * FontLoader.C (getFontinfo): Change the latex font names in order
4093 to match the names of type1inst.
4095 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4097 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
4099 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
4102 (remove_files_with_extension): ditto
4103 (remove_file): ditto
4106 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
4107 document is smaller than the work area height. Do not initialize
4108 static variables to 0.
4110 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4112 * lyx_gui.C (init): give the toolbar tooltips a normal font.
4114 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
4115 LFUN_LAYOUT_PARAGRAPHS.
4117 * tabular.C (GetCellFromInset): new method. Finds an inset in a
4118 tabular. It is possible to provide a possible cell, which will
4119 typically be the actcell from the corresponding insettabular
4121 * lyxfunc.C (getStatus): small cleanup; disable
4122 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
4125 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4127 * tabular.C (Validate): remove broken optimization (fixes bug #201)
4129 * paragraph.C (startTeXParParams):
4130 (endTeXParParams): new methods. The LaTeX code to
4131 start/end paragraph formatting
4132 (simpleTeXOnePar): call startTeXParParams also when paragraph is
4133 empty (fixes bug #200)
4135 * vspace.C (inPixels): adapt to the change below
4136 (inPixels): [later] more cleanups (remove unused variables)
4138 * lyxlength.C (inPixels): change to use a width and a height as
4141 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4143 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
4144 Replaced with \paperwidth
4146 * DepTable.C (insert): add std:: qualifier
4148 2002-01-18 Allan Rae <rae@lyx.org>
4150 * text2.C (removeRow): add comment. Should other refresh_?? vars be
4153 * text.C (drawInset): Turned out I didn't know enough about how
4154 rebreaking worked. This fixes most of the redraw problems. I see
4155 an occasional cursor trail when a line is broken now and the cursor
4156 placement can seem out by a few pixels also after a rebreak.
4158 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4160 * buffer.C (parseSingleLyXformat2Token): update because minipage
4161 width is now a LyXLength
4163 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
4165 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
4168 2002-01-17 Juergen Vigna <jug@sad.it>
4170 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
4172 * BufferView2.C (lockInset): call edit() so that theLockingInset()
4173 is set correctly and the inset is updated correctly.
4175 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4177 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
4178 the beginning of the loop.
4180 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
4182 * lyxrc.C: improve help for use_scalable_fonts
4184 2002-01-17 Allan Rae <rae@lyx.org>
4186 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
4188 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4190 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
4191 make sure to set their inset_owner to the right value (bug #171)
4193 2001-12-12 Ben Stanley <bds02@uow.edu.au>
4196 * DepTable.C: Implement mtime checking to reduce time spent doing
4199 2002-01-16 Juergen Vigna <jug@sad.it>
4201 * tabular.C (GetAdditionalHeight): one of error fixed.
4203 * lyxrc.C (output): small fix in writing use_pspell.
4205 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
4207 * sp_base.h: #include LString.h
4209 2002-01-16 Allan Rae <rae@lyx.org>
4211 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
4212 Can someone check this please?
4214 * text.C (drawInset): It was possible that p.row would be removed by
4215 breakAgainOneRow upsetting a few other settings. There may be another
4216 small tweak possible by setting need_break_row = 0 when p.row has been
4217 removed but I don't know enough about the logic here.
4219 2002-01-15 Allan Rae <rae@lyx.org>
4221 * text.C (insertChar): removed conditional truism.
4223 * BufferView2.C (removeAutoInsets): More tweaks.
4224 cur_par_prev could be a stray pointer. Check for trailing empty line
4225 in case last line was cur_par and only had an error inset on it.
4227 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4229 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
4232 * vc-backend.C (most methods):
4233 * exporter.C (Export):
4234 * converter.C (convert):
4236 * LyXSendto.C (SendtoApplyCB):
4237 * lyxfunc.C (dispatch):
4241 * lyx_cb.C (AutoSave):
4243 * BufferView_pimpl.C (MenuInsertLyXFile):
4244 * buffer.C (runChktex): use Buffer::filePath().
4246 * buffer.h: rename filename to filename_; rename filepath to
4247 filepath_ and make it private
4248 (filePath): new method
4250 * buffer.C (writeFile): use fileName()
4253 * lyx_main.C (init): fix starting of LyX when the binary is a
4254 link from so,ewhere else.
4256 * minibuffer.C: include <cctype> for isprint
4258 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4260 * buffer.C (parseSingleLyXformat2Token): changes associated with the
4261 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
4262 name clash with InsetCollapsable's width function.
4264 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4266 * lastfiles.C: include <iterator>
4268 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4270 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
4273 * buffer.C (makeLaTeXFile): ditto.
4274 Also make loop operation more transparent.
4276 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4278 * ToolbarDefaults.C: remove trailing comma closing namespace.
4280 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
4282 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
4285 * trans.C (Load): comment out unused variable, allowed.
4287 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4289 * minibuffer.[Ch] (append_char): new method to recieve input from the
4290 drop-down completion browser. If a key was pressed, then recieve this
4291 char and append it to the existing string.
4292 (peek_event): modify the positioning data passed to the completion
4293 browser so that it can be placed above the minibuffer rather than below.
4294 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4296 * LyXAction.C (init): alloe error-next for readonly documents.
4298 * BufferView2.C (ChangeRefsIfUnique): use standard version of
4301 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4303 * bufferlist.C (readFile): create the buffer _after_ checking that
4306 * lyxfunc.C (verboseDispatch): fix handling of arguments
4308 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
4310 * lyxrc.C: use string::erase() instead of initializing to "".
4313 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4315 * BufferView_pimpl.h:
4316 * BufferView_pimpl.C:
4319 * text2.C: tell X when we have made a selection for copying
4321 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4323 * BufferView_pimpl.C (MenuInsertLyXFile):
4324 * lyxfunc.C (menuNew):
4326 (doImport): add shortcuts to directory buttons
4328 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
4331 * lyxfunc.C (setStatusMessage):
4332 (getStatusMessage): new methods
4333 (getStatus):use setStatusMessage instead of setErrorMessage
4334 (dispatch): when function is disabled, set error message here
4335 [instead of in getStatus previously]
4337 * BufferView_pimpl.C (workAreaButtonRelease): update
4338 toolbar/menubar here too.
4340 2002-01-13 Allan Rae <rae@lyx.org>
4342 * BufferView2.C (removeAutoInsets): finished off earlier fix.
4343 Now seems indestructible. Remaining task is to audit all other
4344 code affected by deleteEmptyParagraphMechanism. One small quirk
4345 left is that an empty document with an error in the preamble can
4346 be made to report an error but no error box appears. I don't know
4348 (removeAutoInsets): Improved comments.
4350 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
4353 * Thesaurus.C: update for Aiksaurus 0.14
4355 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4357 * text2.C (firstParagraph): removed member function, all uses
4358 replaces with ownerParagraph
4359 (redoParagraphs): here
4361 (toggleAppendix): here
4362 * BufferView2.C (insertErrors): here
4363 (setCursorFromRow): here
4365 2002-01-13 Allan Rae <rae@lyx.org>
4367 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
4368 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
4369 There is still a way to segfault this although you may have to do this
4370 multiple times: Have an InsetERT with an unknown command in it.
4371 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
4372 <down-arrow>, <Enter> again, View->DVI, BANG!
4374 * text2.C (setCursor):
4375 (deleteEmptyParagraphMechanism):
4376 * lyxtext.h (setCursor):
4377 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
4378 Making use of the return value may help fix other bugs.
4380 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4382 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
4384 * LyXView.C (updateMenubar): call MenuBar::update here
4385 (updateToolbar): but not here
4386 (showState): do not update toolbar/menubar
4388 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
4389 should need to care about that.
4391 * lyxfunc.C (verboseDispatch): simplify a bit
4392 (getStatus): have a version which takes a pseudoaction, and
4393 another which requires a (kb_action,string).
4395 * LyXAction.C (retrieveActionArg): make it work also when action
4396 is not a pseudo-action.
4397 (getActionName): simplify a bit
4400 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4402 * lyxfunc.C (verboseDispatch): new families of methods with
4403 several ways to specify a command and a bool to indicate whether
4404 the command name and shortcut should be displayed in minibuffer
4405 (eventually, we could extend that to a finer bitmask like
4406 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
4407 (dispatch): the pristine dispatch command which just, well,
4408 dispatchs! Note it still sets its result to minibuffer; I'm not
4411 * lyxfunc.h: remove setHintMessage
4413 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
4415 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4417 * BufferView_pimpl.C (specialChar): delete new inset if we have
4418 not been able to insert it.
4420 * kbmap.C: revert to using int instead of kb_action, since all we
4421 are dealing with is pseudo-actions.
4423 * LyXAction.C (searchActionArg): change to return int instead of
4424 kb_action, since the result is a pseudoaction.
4426 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
4428 * buffer.C (insertErtContents): Fix (partially) the font bug.
4430 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
4432 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
4433 as the other one is broken on my machine!
4435 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
4438 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
4440 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
4442 * lyxrc.[Ch]: change names and descriptions of popup font variables to
4443 reflect their actual use. Provide compatibility code for older lyxrc
4446 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
4448 change names of popup font variables in line with the changes to lyxrc.C
4450 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4452 * buffer.C (asciiParagraph): avoid outputing a word twice after
4455 * lyxrc.C (getDescription): document that document_path and
4456 template_path can be empty.
4458 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4460 * LaTeXFeatures.C (getMacros):
4461 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
4463 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
4465 * LaTeXFeatures.C (useFloat): require "float" here instead of in
4467 (getPackages): rename feature "floats" to "float". Use an array to
4468 iterate over 'simple' features (i.e. just a \usepackage). Add
4469 handling of "amsmath" (renamed from "amsstyle").
4471 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4473 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4476 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4478 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4479 FuncStaus::FuncStatus & FuncStaus::some_method().
4481 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4483 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4484 of the func_satus stuff. Edited and massaged in various ways by
4487 * lyxfunc.C (getStatus): use FuncStatus
4489 2002-01-08 Juergen Vigna <jug@sad.it>
4491 * text.C (nextBreakPoint): use function Inset::isChar().
4493 * paragraph.C (TeXOnePar): use function
4494 Inset::forceDefaultParagraphs.
4496 * buffer.C (latexParagraphs): use function
4497 Inset::forceDefaultParagraphs.
4499 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4501 * lyx_gui.C (init): set the style of the menu popups to
4502 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4504 2002-01-07 Juergen Vigna <jug@sad.it>
4506 * text.C (setHeightOfRow): small fix
4507 (prepareToPrint): don't look at alignment if we don't have the place
4510 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4512 * box.C: New file. Move the Box methods and functions out of box.h,
4513 following Lars' suggestion.
4515 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4517 * box.h: #include "support/LOstream.h", needed for inlined function.
4520 * lyxtextclasslist.C: added some using std declarations.
4522 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4524 * box.h: make signed dimensions to allow insets wider than
4525 the screen (bug #162)
4527 * BufferView_pimpl.C: add some insetHit debug
4529 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4531 * vc-backend.C: add FIXME
4533 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4535 * lyxfunc.C (getStatus): enable code for showing math font status
4538 2002-01-07 Juergen Vigna <jug@sad.it>
4540 * text.C (nextBreakPoint): removed debug output not needed anymore.
4542 2002-01-06 Juergen Vigna <jug@sad.it>
4544 * text.C (nextBreakPoint): fixed up this function we had this bug
4545 since ever but now hopefully we break row better.
4546 (insertChar): we have to check if an inset is the next char as it
4547 could now happen that a large inset is causing a break.
4549 2002-01-05 Juergen Vigna <jug@sad.it>
4551 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4552 if it doesn't like to be drawed.
4554 2002-01-04 Juergen Vigna <jug@sad.it>
4556 * BufferView2.C (lockInset): forgot to set a cursor.
4558 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4560 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4565 * form_maths_panel.C:
4566 * form_maths_panel.h:
4567 * form_maths_panel.fd: implemented sub- and super- buttons in math
4570 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4571 (or ^ space) to be used as in TeX (req'd by André).
4573 * lyxfunc.C: Allow ^ and _ again to be used both as
4574 super/subscript (mathed) and as themselves (in text).
4576 2002-01-03 Allan Rae <rae@lyx.org>
4578 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4579 "LyX" or the filename of the current buffer if it has one. This is a
4580 modified form of John Levon's patch.
4582 * XFormsView.C (setWindowTitle): also set icon title.
4584 * LyXView.h (setWindowTitle): signature changed.
4585 * XFormsView.h (setWindowTitle): ditto.
4587 2002-01-02 Juergen Vigna <jug@sad.it>
4589 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4591 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4593 * screen.C (topCursorVisible): introduce a temp var for
4594 text->cursor.row(), handle the case where this row is null. (kindo
4597 * text2.C (setCursor): add a couple of asserts.
4599 * paragraph.h (inset_iterator): add -> operator
4601 * paragraph.[Ch] (autoDeleteInsets): remove member function
4603 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4604 cursor pos correctly and handle inset deletion by itself.
4605 (insertErrors): move iterator declaration out of for expression
4607 * lyxtextclass.C: add <algorithm>
4609 * Makefile.am: added the new files to sources, removed layout.C
4611 * layout.C: removed file
4613 * layout.h: remove LYX_DUMMY_LAYOUT
4615 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4619 * lyxtextclass.[Ch]:
4620 * lyxtextclasslist.[Ch]: new files
4622 * include order changes to a lot of files, also changes because of
4625 2001-12-27 Juergen Vigna <jug@sad.it>
4627 * buffer.C (asciiParagraph): more fixes.
4629 * tabular.C (ascii): make ascii export support export of only the
4630 data separated by a column-delimiter.
4631 (ascii): better support for ascii export.
4633 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4635 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4637 * tabular_funcs.C: use a "using std::getline" instead of the
4638 previous fix from Angus (necessary for cxx + lyxstring)
4640 2001-12-24 Juergen Vigna <jug@sad.it>
4642 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4644 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4645 problems. First check a minipage also if we have some ert-contents
4646 (not only on par->size(), second set the right depth of the paragraph
4647 on the relink to the root-paragraph-list!
4649 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4650 which then did not anymore update the main paragraphs on undo/redo!
4652 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4654 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4655 code. Support all font-changing funcs (even those which are not in
4656 menu currently). Support for reporting font settings in
4657 mathed (disabled until Andre provides a function on mathed's side).
4659 * func_status.h (toggle): small helper function to set toggle
4662 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4664 * tabular_funcs.C: getline -> std::getline
4666 2001-12-21 Juergen Vigna <jug@sad.it>
4668 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4669 accessed and could be 0 (I couldn't generate this but it seems
4672 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4674 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4675 * tabular_funcs.h: here and include iosfwd
4677 2001-12-20 Juergen Vigna <jug@sad.it>
4679 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4680 inside inset but undo_par was.
4682 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4684 * Thesaurus.C: always include <config.h> in sources.
4688 * box.h: do not include <config.h> in header files
4690 * text.C (paintLastRow): remove unused variable
4692 * text.C (transformChar):
4694 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4697 * font.C (width): rewrite to use uppercase() instead of
4700 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4702 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4704 * lyxfind.C: clean up of find failure position change
4706 2001-12-20 Juergen Vigna <jug@sad.it>
4708 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4710 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4711 (TeXRow): added to LaTeX a single tabular row.
4712 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4713 (Latex): simplified and finally good LT-h/f support.
4714 (various_functions): just small adaptions for LT-h/f support.
4716 * tabular_funcs.[hC]: added and moved here all not classfunctions
4719 2001-12-19 Juergen Vigna <jug@sad.it>
4721 * tabular.[Ch]: better support for longtabular options (not finished
4724 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4726 * text.C (paintLastRow): use the label font instead of the font of
4727 the last character to compute the size of *_BOX. This makes more
4728 sense and avoids a crash with empty paragraphs.
4729 Use Painter::rectangle to draw EMPTY_BOX.
4731 2001-12-19 Juergen Vigna <jug@sad.it>
4733 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4734 the paragraphs if the replaced paragraph is not the first one!
4735 Tried to delete not used paragraphs but does not work yet so for
4736 now it's inside #ifdef's and by default off!
4738 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4740 * MenuBackend.C: include "lyx_main.h" instead of declaring
4741 lastfiles (actually was declared as LastFiles* instead of a
4744 2001-12-17 Juergen Vigna <jug@sad.it>
4746 * tabular.C (AppendColumn): applied John's fix
4748 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4752 * BufferView_pimpl.h:
4753 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4756 * box.h: new start of class for above
4758 * lyxfunc.C: ignore space-only minibuffer dispatches.
4759 Show the command name when it doesn't exist
4761 * minibuffer.C: don't add empty lines to the history
4763 * minibuffer.C: add a space on dropdown completion
4765 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4767 * text.C: fix line above/below drawing in insets
4769 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4771 * lyxlength.C (LyXLength): Initialize private variables.
4773 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4775 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4776 when inserting error insets.
4778 2001-12-13 Juergen Vigna <jug@sad.it>
4780 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4781 actually sometimes the before-paragraph.
4782 (setUndo): don't clear the redostack if we're not actually undoing!
4784 2001-12-06 Juergen Vigna <jug@sad.it>
4786 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4787 and fixed redoing of main paragraph, so we can use it now ;)
4789 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4791 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4793 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4796 2001-12-13 André Pönitz <poenitz@gmx.net>
4799 * undo_func.C: minor cleanup
4801 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4803 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4804 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4805 font in urw-fonts package which is marked as -urw-fontspecific and
4806 does not work (incidentally, changing the encoding in the
4807 fonts.dir of this package to -adobe-fontspecific fixes the
4810 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4811 is a crash when undoing first paragraph (Juergen, please take a
4812 look). THis does not mean the undo fix is wrong, just that it
4815 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4816 the (Paragraph*) version when needed instead of duplicating the
4819 * text.C (workWidth): use Inset::parOwner to find out where the
4820 inset has been inserted. This is a huge performance gain for large
4821 documents with lots of insets. If Inset::parOwner is not set, fall
4822 back on the brute force method
4824 * paragraph_pimpl.C (insertInset):
4825 * paragraph.C (Paragraph):
4826 (cutIntoMinibuffer): set parOwner of insets when
4827 inserting/removing them
4829 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4831 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4837 * mathed/formulabase.C:
4838 * mathed/math_cursor.[Ch]:
4839 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4842 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4844 * lyxlength.[Ch] (operator!=): new function
4846 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4848 * text.C (workWidth): use Inset::parOwner to find out where the
4849 inset has been inserted. This is a huge performance gain for large
4850 documents with lots of insets. If Inset::parOwner is not set, fall
4851 back on the brute force method
4853 * paragraph_pimpl.C (insertInset):
4854 * paragraph.C (Paragraph):
4855 (cutIntoMinibuffer): set parOwner of insets when
4856 inserting/removing them
4858 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4860 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4862 * tabular-old.C (getTokenValue):
4863 * tabular.C (getTokenValue):
4864 (write_attribute): new versions for LyXLength
4865 (everywhere): adjust the use of widths
4867 * tabular.h: change the type of widths from string to LyXLength
4869 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4871 * paragraph.C: fixed missing line number count when exporting
4872 Environments to LaTeX file
4874 * buffer.C: added informational message for checking line numbers.
4876 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4878 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4879 paragraph, do the 'double space' part, but not the 'empty
4882 * text.C (workWidth): small optimization
4883 (getLengthMarkerHeight): use minimal size for negative lengths.
4885 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4887 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4889 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4891 2001-12-11 André Pönitz <poenitz@gmx.net>
4894 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4896 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4898 * text2.C: keep selection on a setFont()
4900 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4902 * lyx_cb.C: another bv->text misuse, from insert label
4904 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4907 * kbsequence.C: re-instate nmodifier mask
4909 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4911 * lyx_main.h: make lyxGUI private.
4913 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4915 * lyxfind.C: place the cursor correctly on failed search
4917 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4919 * text.C (getLengthMarkerHeight): for small heights, the arrows
4920 are not always on top/bottom of the text
4921 (drawLengthMarker): smaller arrows; take the left margin in
4922 account; draw also vfills.
4924 (paintLastRow): remove special code for vfill and standard spaces,
4925 since everything is handled in drawLengthMarker now.
4927 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4929 * buffer.C (insertErtContents): try to handle font and language
4930 interaction a bit better.g
4932 * ColorHandler.C (updateColor): change the hash to cover the whole
4933 LColor enum, ws cleanup
4934 (getGCLinepars): ditto
4935 (getGCLinepars): only lookup in the linecache once.
4937 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4939 * iterators.C (operator++): Make the iterator more robust
4941 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4943 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4945 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4948 * text.C: better added space drawing
4950 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4953 * BufferView2.C: fix layout combo update on inset unlock
4955 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4957 * Makefile.am: don't compile unused files
4959 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4963 * LyXAction.C: remove old LFUN_LAYOUTNO
4965 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4967 * paragraph_pimpl.h:
4968 * paragraph_pimpl.C: isTextAt() doesn't need font param
4970 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4973 * lyxlex.C: little cleanup
4975 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4977 * BufferView_pimpl.C: fix insertAscii for insets
4979 2001-12-05 Juergen Vigna <jug@sad.it>
4981 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4982 set the right font on the "multi" paragraph paste!
4984 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4990 * lyxlength.C: remove out-commented code.
5006 * vc-backend.C: change "while(" to "while ("
5008 * lyxlength.[Ch]: add zero function to check if length is zero or
5010 * lyxgluelength.C: use it
5012 2001-12-05 Allan Rae <rae@lyx.org>
5014 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5015 Works for 2.95.3, from what I understand of Garst's reports this should
5016 work for other g++ versions. We're screwed if the abs(int) definition
5017 changed between bugfix releases of gcc.
5019 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5021 * text.C: fix chapter label offset !
5023 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5026 * text.C: fix hfill at end of line, clean up
5028 2001-12-04 Juergen Vigna <jug@sad.it>
5030 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5031 that we force an update of the inset and it's owners if neccessary.
5033 2001-12-03 Juergen Vigna <jug@sad.it>
5035 * text.C (rowLast): simplified code
5037 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5039 * lyxfunc.C: fix show options on timeout
5041 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5043 * screen.C (topCursorVisible): scroll half a page when the cursor
5044 reached top of bottom of screen
5046 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5048 * minibuffer.C: deactivate on loss of focus
5050 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5052 * vspace.[Ch] (operator!=): add operator.
5054 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5056 * BufferView_pimpl.C: refuse to open an inset when
5057 there's a selection.
5059 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
5061 * BufferView_pimpl.C: allow to click on RHS of full row insets
5063 2001-11-30 Juergen Vigna <jug@sad.it>
5065 * tabular.C (LyXTabular): add a same_id to set the same id's in the
5066 insets for undo reasons.
5068 2001-11-28 André Pönitz <poenitz@gmx.net>
5070 * vspace.[Ch]: cosmetical changes
5072 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5082 * kbsequence.C: part re-write of old kb code
5085 * WorkArea.C: remove Lgb_bug_find_hack
5087 2001-11-30 José Matos <jamatos@fep.up.pt>
5089 * buffer.C (makeDocBookFile): add a comment to point a hack.
5090 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
5091 Fixed a double write of labels.
5093 2001-11-29 Ben Stanley <bds02@uow.edu.au>
5096 * LaTeX.h Fixed bug in LaTeX class where it would not
5097 re-run latex if no depfiles were changed, but the .dvi was removed.
5099 2001-11-28 André Pönitz <poenitz@gmx.net>
5101 * all the files from the change on 2001/11/26:
5102 use lyx::layout_type instead of LyXTextClass::size_type
5103 use lyx::textclass_type instead of LyXTextClassList::size_type
5105 2001-11-29 Juergen Vigna <jug@sad.it>
5107 * text.C: added support for paragraph::isFreeSpacing()
5109 * buffer.C: same as above
5111 * paragraph.h: inserted isFreeSpacing() function to enable
5112 FreeSpacing inside InsetERT.
5114 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
5115 of the paragraph's in the cut/copy buffer to 0!
5117 * text2.C (removeRow): remove the assert as it can!
5119 * lyxtext.h: added helper function firstRow returning firstrow and
5120 made firstrow private again.
5122 * BufferView2.C (lockInset): don't relock if we're already locked!
5124 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
5126 (removeRow): added Assert::(firstrow)
5128 * debug.C: forgot to add INSETTEXT here.
5130 2001-11-28 Juergen Vigna <jug@sad.it>
5132 * sp_spell.C (initialize): changed error text to more general
5133 spellchecker command use (not only ispell!)
5135 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
5137 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
5139 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5141 * vspace.C: initialise lyxgluelength on failure
5143 2001-11-28 Allan Rae <rae@lyx.org>
5145 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
5146 declaration & definition that looks like a function declaration.
5148 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5150 * BufferView2.C (copy):
5151 (copyEnvironment): do not clear the selection when doing a copy.
5153 * text.C (paintFirstRow): compilation fix
5155 2001-11-27 Ben Stanley <bds02@uow.edu.au>
5157 * tabular.C (Latex): correct line count when writing latex.
5159 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
5161 * paragraph_pimpl.h:
5162 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
5165 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5169 * LColor.C: change vfillline->added_space
5171 * text.C: add markers and text for added space
5173 * vspace.C: fix comment
5175 2001-11-28 André Pönitz <poenitz@gmx.net>
5177 * paragraph.C: whitespace changes
5178 * all the other files from the change on 2001/11/26:
5179 change *::pos_type into lyx::pos_type
5181 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
5183 * buffer.C (parseSingleLyXformat2Token): Set the language to the
5184 language of the document when inserting error insets.
5186 2001-11-26 André Pönitz <poenitz@gmx.net>
5188 * BufferView_pimpl.[Ch]:
5196 * paragraph_pimpl.[Ch]:
5199 * text2.C: reduce header dependencies, introduce type for positions
5201 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5203 * <various>: change to use Alert.h
5205 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
5207 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
5208 when encountering an unknown token.
5209 (readLyXformat2): Show an error message if there were unknown tokens.
5211 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5214 * BufferView_pimpl.C:
5218 * text2.C: use par->isInset()
5220 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5222 * paragraph_pimpl.h:
5223 * paragraph_pimpl.C: cleanup
5225 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5227 * text2.C (removeRow):
5228 * text.C (setHeightOfRow): remove useless (and costly) call to
5231 2001-11-20 Allan Rae <rae@lyx.org>
5233 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
5234 Now need Inset*::checkInsertChar() to return true for appropriate
5235 cases so that the characters in the minibuffer will actually be
5238 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5240 * text.C: change the order of the includes.
5241 (workWidth): initialize it at once.
5242 (workWidth): make maxw unsigned
5243 (setHeightOfRow): remove unused variable (inset)
5244 (selectSelectedWord): remove unused variable (inset)
5245 (paintRowText): fix drawing of hfill characters, and clean up a bit.
5247 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5249 * lyxserver.C (emergencyCleanup): do not try to close pipes if
5250 server is not running.
5252 (closeConnection): add debug info when server is disabled.
5254 * ColorHandler.C (getGCForeground): send debug message to GUI
5257 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
5259 * kbmap.C (bind): modify because return conventions of
5260 kb_sequence::parse have changed.
5262 * kbsequence.C (parse): only ignore spaces and not any stupid
5263 control character. This avoids tests like s[i] <= ' ', which are
5264 guaranteed to fail with 8bit characters and signed chars.
5265 Change return code to string::npos when there have been no error
5266 (0 was a bad idea when error is at first character)
5268 2001-11-14 José Matos <jamatos@fep.up.pt>
5271 * buffer.C (simpleDocBookOnePar): removed unused argument.
5273 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5275 * text.C (selectNextWordToSpellcheck): do not test explicitely for
5276 insets which are part of a word. Paragraph::isLetter takes care of
5277 that now. Use Paragraph::isInset to identify insets.
5278 (selectSelectedWord): do not test for hyphenation break.
5280 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
5281 that protected spaces are considered as spaces.
5283 * paragraph.C (isLetter): cleanup the code for ispell extras; use
5286 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
5289 * lyxserver.C: fix it. and small cleanup.
5291 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5293 * BufferView_pimpl.C: use inline helpers
5296 * LaTeXFeatures.C: fix typos
5299 * Spacing.C: move spacing_string into class
5301 * ToolbarDefaults.C: move stuff into namespace anon
5303 * layout.h: update enum
5305 * lyxfunc.C: use better debug
5307 * minibuffer.h: fix typo
5311 * WorkArea.C: add and use Debug::WORKAREA
5315 * text2.C: code re-organisation, inline helpers
5317 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
5319 * Layout.C: replaced a few cases of std::vector.size() == 0 with
5320 std::vector.empty().
5322 2001-11-09 Allan Rae <rae@lyx.org>
5324 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
5325 '\n's after tables. Tabular and ERT inset work now makes this no
5328 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
5331 * minibuffer.C: fix crash, improve drop-down completion
5333 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
5336 * lyxserver.C: invalidate fd's when doing endPipe()
5338 2001-11-08 José Matos <jamatos@fep.up.pt>
5340 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
5341 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
5344 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
5346 2001-11-07 José Matos <jamatos@fep.up.pt>
5349 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
5352 * buffer.C (sgmlOpenTag):
5353 * buffer.C (sgmlCloseTag): removed debug info.
5355 * buffer.h (sgmlOpenTag):
5356 * buffer.h (sgmlCloseTag): made public.
5358 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5360 * buffer.C (saveParamsAsDefaults):
5361 * lyx_cb.C (MenuLayoutSave): remove
5363 * LyXAction.C (init):
5365 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
5367 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5369 * buffer.C (setPaperStuff): removed from here...
5371 * bufferparams.C (setPaperStuff): ... and moved there.
5373 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
5377 * XFormsView.C: add support for drop-down completion
5379 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
5381 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
5384 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5386 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
5389 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5391 * lyx_main.C: change ref to known bugs
5393 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5395 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
5396 to work around older babel problems.
5398 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5400 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
5402 2001-10-24 Juergen Vigna <jug@sad.it>
5404 * tabular-old.C (ReadOld): below variable changes reflected.
5406 * tabular.[Ch]: added ltType struct for longtable header/footer
5407 defines and changed all instances where they are used. Added
5408 future support for double top/bottom rows.
5410 2001-10-24 José Matos <jamatos@fep.up.pt>
5412 * buffer.h (docbookHandleCaption):
5413 * buffer.C (docbookHandleCaption): removed unused function.
5414 (makeDocBookFile): moved docbook supported version to v4.1.
5416 2001-10-24 José Matos <jamatos@fep.up.pt>
5419 * tabular.C (docbookRow): new function to export docbook code of a row.
5420 (DocBook): now honors the longtable flags.
5422 2001-10-23 José Matos <jamatos@fep.up.pt>
5425 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
5426 of the lyx defined sgml entities used in a docbook/linuxdoc document.
5428 * buffer.C (makeLinuxDocFile):
5429 (makeDocBookFile): reworked the preamble, more clean, and with
5430 support for lyx defined entities. Changed the document declaration
5431 to be more XML friendly.
5433 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
5434 if we need to output XML that should be done with a filter.
5436 2001-10-22 Juergen Vigna <jug@sad.it>
5438 * sp_pspell.h (class PSpell): add alive function needed in the
5439 controller to see if the spellchecker could be started.
5441 2001-10-22 Juergen Vigna <jug@sad.it>
5443 * buffer.C (insertStringAsLines): modify the font for inserting
5444 chars in certain conditions by calling checkInsertChar(font).
5446 2001-10-19 Juergen Vigna <jug@sad.it>
5448 * text.C (workWidth): use getRow instead of wrong algorithm.
5449 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
5451 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
5456 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
5458 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5460 * text.C (workWidth): do not search for the exact row when
5461 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
5462 optimization for big documents.
5464 2001-10-18 Juergen Vigna <jug@sad.it>
5466 * text.C (workWidth): new function with added Inset * parameter.
5468 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5470 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5472 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5473 change return type of getColumnNearX.
5476 * text.C (changeRegionCase): use uppercase/lowercase instead of
5479 (rightMargin): simplify code by factoring out the uses of
5484 (appendParagraph): use Paragraph::size_type
5486 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5488 * vspace.C (asLatexString): add a missing break
5490 2001-10-15 Herbert Voss <voss@perce.de>
5492 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5494 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5496 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5499 2001-10-10 André Pönitz <poenitz@gmx.net>
5501 * lyxfunc.C: removed greek_kb_flag.
5503 2001-10-10 Herbert Voss <voss@perce.de>
5505 * lyx_main.C: delete global string help_lyxdir.
5507 2001-10-09 Herbert Voss <voss@perce.de>
5509 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5511 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5513 * lyx_main.C: added global string help_lyxdir.
5515 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5517 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5519 * lyxrc.C (set_font_norm_type): support iso8859-4
5521 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5523 * LaTeX.C (deplog): add another regex for MikTeX
5525 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5527 * lyxrc.C (set_font_norm_type): support iso8859-3
5529 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5531 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5533 * LaTeXFeatures.C: remove special case of french and index
5535 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5536 before \begin{document}). This solves several incompatibilities.
5538 2001-10-03 Garst Reese <reese@isn.net>
5540 * lyx_cb.C: change CheckTex error msg.
5542 2001-10-03 José Matos <jamatos@fep.up.pt>
5544 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5546 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5548 * .cvsignore: update
5550 * lyx_main.C (commandLineVersionInfo): use new style version info.
5552 * buffer.C (writeFile):
5555 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5557 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5559 * version.h: update to use stuff in version.C
5561 * version.C.in: new file. Contains version information determined
5562 at compile time. This is a merging of version.h and
5565 2001-10-03 Juergen Vigna <jug@sad.it>
5567 * BufferView_pimpl.C (update): don't change "dirty" status in
5570 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5572 * WorkArea.C (c-tor): re-position version string slightly.
5574 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5576 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5577 revert to previous code.
5579 WorkArea.[Ch]: (show, destroySplash): methods removed.
5581 WorkArea.C: rework code so that it's an amalgam of the codes before and
5582 after the splash screen was moved to WorkArea.
5584 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5587 * vspace.C (inPixels):
5590 * buffer.C (insertStringAsLines):
5591 (asciiParagraph): fix types to be large enough
5593 * lyxlex_pimpl.h: change member status from short to int
5595 * layout.h: fix type of endlabeltype
5598 * kbsequence.C (parse): change return type to string::size_type
5600 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5603 * Bullet.C (bulletSize):
5604 (bulletEntry): do not use short ints as parameters
5606 * BufferView2.C (insertLyXFile): change a char to an int.
5608 * WorkArea.C (WorkArea): remove unneeded floats in computation
5610 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5612 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5614 * paragraph.C (asString): Do not ignore newline/hfill chars when
5615 copying to the clipboard.
5617 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5619 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5620 after a multi-line inset.
5622 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5624 * paragraph.C (validate): Set NeedLyXFootnoteCode
5626 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5628 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5629 and decrease-error to decrease.
5631 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5633 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5634 it more readable (should be equivalent)
5636 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5638 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5640 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5642 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5643 of a cursor (row, etc.) after a character has been deleted
5644 (deleteEmptyParagraphMechanism): call the method above on _all_
5645 cursors held by the LyXText when a double space has been
5648 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5650 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5652 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5654 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5655 background. Use greyOut() and the new show() methods to toggle between
5656 the foreground and background. Add code to remove the splash after
5657 its initial showing.
5659 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5660 (create_forms): no longer call Dialogs::showSplash.
5662 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5664 * .cvsignore: add version_info.h
5666 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5668 * version_info.h.in: new file
5670 * Makefile.am: add version_info.h.in
5672 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5673 version_info.h instead of VERSION_INFO
5675 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5677 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5678 The ERT inset now returns string().
5680 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5682 * lyxtext.h, text.C (selectNextWord): renamed as
5683 selectNextWordToSpellcheck.
5685 * text.C (selectNextWordToSpellcheck): Modified to not select
5686 words inside an ERT inset.
5688 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5690 * lyx_cb.C (MenuLayoutSave): change a bit the question
5692 * sp_base.h: include <sys/types.h>
5694 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5696 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5698 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5700 * several files: fix typos in user-visible strings
5702 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5704 * text2.C (pasteSelection): do not set the selection, since it
5705 will be cleared later. Actually, the intent was to fix the way the
5706 selection was set, but I figured rmoving the code was just as good.
5708 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5710 * FontLoader.C (available): Check if font is available without
5713 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5715 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5717 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5719 * lyxrc.[Ch]: added display_graphics variable and associated code.
5721 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5723 * bufferparams.C (hasClassDefaults): new method. Returns true if
5724 the buffer parameters correspond to known class defaults
5726 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5728 * XFormsView.C (show): set minimum size to the main window.
5730 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5732 * text2.C (copySelection):
5734 * lyxfind.C (LyXReplace):
5735 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5736 LyXText::selectionAsString.
5738 * paragraph.C (asString): add "label" argument to the second form
5740 * text2.C (selectionAsString): add "label" argument and pass it to
5741 Paragraph::asString.
5743 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5745 * lyx_main.C (commandLineHelp): remove version information
5747 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5749 * lyx_main.C: add -version commandline option
5751 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5753 * paragraph.h: make the optional constructor arg required instead.
5754 some modifications to other files because of this.
5756 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5758 * lyxserver.C (C_LyXComm_callback): make it static
5760 * lyx_main.C (error_handler): make it static
5762 * lyx_gui.C (LyX_XErrHandler): make it static
5764 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5766 * WorkArea.C: make the extern "C" methods static.
5768 * Makefile.am (lyx_LDADD): simplify
5770 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5772 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5773 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5775 * LyXAction.C (init):
5776 * lyxfunc.C (dispatch): associated code removal.
5778 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5780 * lyxfont.h (isSymbolFont): shut off warning
5782 * text.C (setHeightOfRow):
5783 (getVisibleRow): fix crash with empty paragraphs which have a
5786 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5788 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5791 2001-09-04 José Matos <jamatos@fep.up.pt>
5794 * tabular.C (docbook): rename docBook method to docbook.
5796 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5798 * Makefile.am: add dependencies to main.o.
5800 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5802 * FontLoader.C (available): Return false if !lyxrc.use_gui
5804 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5806 * FontInfo.C (query):
5807 * converter.C (view):
5808 * importer.C (Import):
5809 * exporter.C (Export): Can not -> cannot.
5811 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5813 * BufferView_pimpl.C: allow to create index inset even if
5816 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5818 * buffer.C (getLists): replace boost::tie code with an explicit pair
5819 as boost::tie can break some compilers.
5821 * iterators.h: Added a std:: declaration to the return type of
5824 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5826 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5829 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5831 * iterators.[Ch]: New files. Provide paragraph iterators.
5833 * buffer.C (changeLanguage): Use paragraph iterators.
5834 (isMultiLingual): ditto
5836 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5838 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5840 * FontLoader.C: Support for cmr font.
5842 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5844 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5845 (available): New method.
5847 * FontInfo.C (getFontname): Use scalable fonts even when
5848 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5851 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5853 * converter.C (Formats::view): reverted! Incorrect fix.
5855 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5857 * converter.C (Formats::view): only output the -paper option
5858 if the dvi viewer is xdvi, thereby fixing bug #233429.
5860 2001-08-23 Herbert Voss <voss@perce>
5862 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5864 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5866 * Spacing.h (Spacing): Set space to Default on in the default
5869 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5871 * vc-backend.h (RCS::versionString): add RCS to version
5872 (CVS::versionString): add CVS to version
5874 * vc-backend.C (scanMaster): do not add CVS to version.
5875 (scanMaster): do not add RCS to version
5877 * lyxvc.C (versionString): new method
5879 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5881 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5883 * Spacing.C (set): initialize fval
5885 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5887 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5890 2001-08-16 Juergen Vigna <jug@sad.it>
5892 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5894 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5896 * BufferView_pimpl.C:
5899 * text2.C: setParagraph takes linespacing now
5901 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5903 * LyxAction.C: add internal LFUN_CITATION_INSERT
5905 * LyXView.C: actually apply fix
5907 * bufferlist.C: fix open non-existent file
5909 * lyxfind.C: fix indentation
5911 * lyxfunc.C: remove unneeded assert, fix typo
5913 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5915 * MenuBackend.C: use "Floatname List"
5917 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5919 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5920 when converting LaTeX layout to insetERT.
5921 Generate a non-collapsed float when reading old float
5923 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5925 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5928 2001-08-13 Juergen Vigna <jug@sad.it>
5930 * text.C (fill): return 0 instead of 20 as this seems to be the more
5933 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5935 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5938 2001-08-13 Juergen Vigna <jug@sad.it>
5940 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5942 (SearchBackward): comment out the unlocking of the inset_owner this
5943 should not be needed!
5945 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5947 * Many files: Remove inherit_language, and add latex_language
5949 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5952 2001-08-10 Juergen Vigna <jug@sad.it>
5954 * text.C (prepareToPrint): fixed hfill-width in draw!
5956 * BufferView2.C (selectLastWord): save the selection cursor as this
5957 now is cleared in the function LyXText::clearSelection!
5959 2001-08-08 Juergen Vigna <jug@sad.it>
5961 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5962 BACKSPACE type functions.
5964 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5965 is only cutted from the document but not put in the cut-buffer, where
5966 still the old stuff should be.
5968 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5970 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5972 * tabular.C (SetWidthOfCell): fixed special case where the width
5974 (LeftLine): handle '|' in align_special.
5976 (LeftAlreadyDrawed): ditto
5977 (SetWidthOfCell): ditto
5979 2001-08-07 Juergen Vigna <jug@sad.it>
5981 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5983 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5985 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5986 * lyxlex.[hC]: ditto
5988 2001-08-06 Juergen Vigna <jug@sad.it>
5990 * text.C (getVisibleRow): fix up row clearing a bit.
5992 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5994 * minibuffer.C: make sure the X server sees the changes in the input.
5996 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5998 * paragraph.C (getFont): split into...
5999 (getLabelFont): this
6000 (getLayoutFont): and this
6001 * paragraph_pimpl.C (realizeFont): calling this
6003 * text2.C (getFont): split into...
6004 (getLayoutFont): this
6005 (getLabelFont): and this
6006 (realizeFont): all three calling this
6008 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6011 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6013 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6015 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6017 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6018 layouts from the Quote inset insertion.
6020 2001-08-03 Juergen Vigna <jug@sad.it>
6022 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6024 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6025 only if status not is already CHANGED_IN_DRAW (second level).
6027 * text.C (draw): don't set the need_break_row when inside an
6030 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6032 * buffer.C (parseSingleLyXformat2Token): handle more latex
6035 * bufferview_funcs.[hC]: change function names to
6036 begin with small char, adjust other files.
6038 2001-08-02 André Pönitz <poenitz@gmx.net>
6041 BufferView_pimpl.C: remove broken special code for math-greek
6043 2001-08-02 Juergen Vigna <jug@sad.it>
6045 * BufferView_pimpl.C (update): redone this function so that we
6046 update the text again if there was a CHANGE_IN_DRAW.
6048 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6049 (drawFromTo): added a new internal bool which is used by draw() and
6051 (general): some cursor drawing problems fixed.
6053 2001-08-01 Juergen Vigna <jug@sad.it>
6055 * lyxfind.C (LyXFind): fixed
6056 (SearchForward): ditto
6057 (SearchBackward): ditto
6059 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
6060 spurius drawing of the cursor in the main area.
6062 * text2.C (status): small fix which could lead to a segfault!
6063 (clearSelection): remove unneeded BufferView param.
6065 2001-08-01 André Pönitz <poenitz@gmx.net>
6067 * lyxfunc.C: small change due to changed mathed interface
6069 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6071 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
6073 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
6075 * lyxfunc.c: fail gracefully if file doesn't exist
6080 * BufferView_pimpl.C: IsDirWriteable() proto changed
6082 * LyXView.C: fix updateWindowTitle() to store the last title
6084 2001-07-31 Juergen Vigna <jug@sad.it>
6086 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
6087 the font (wrong since using of Paragraph::highestFontInRange).
6089 * paragraph.C (highestFontInRange): added a default_size parameter.
6091 * text.C (getVisibleRow): minor clear row changes (still not perfect).
6092 (setHeightOfRow): reformat
6094 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6096 * converter.[hC] + affected files: move to (inital-char)lowercase
6099 * ParagraphParameters.C (ParagraphParameters): remove commented code
6101 * PainterBase.[Ch]: remove commented code
6103 * LaTeXFeatures.h: add "bool floats" for float.sty
6105 * LaTeXFeatures.C (LaTeXFeatures): init floats
6106 (require): handle float
6107 (getPackages): do it with floats
6109 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6111 * BufferView_pimpl.C (Dispatch): improve handling of
6112 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
6114 * commandtags.h: #include lyxfont.h here temporarily to avoid
6117 * bufferlist.h: include LString.h here.
6119 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6121 * text2.C (getStringToIndex): new method.
6123 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
6125 * *: Reduced header file dependencies all over.
6127 2001-07-30 Baruch Even <baruch@lyx.org>
6129 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
6131 2001-07-29 Baruch Even <baruch@lyx.org>
6133 * buffer.C (readInset): Changed GRAPHICS to Graphics.
6135 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6137 * ParameterStruct.h (endif): add a default constructor to make
6138 sure that all variables is initialized.
6140 * ParagraphParameters.C (ParagraphParameters): adjust
6142 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6144 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
6145 index; also, check that there is something to index, and that it
6146 does not span over several paragraphs.
6147 (doubleClick): use WHOLE_WORD_STRICT for double click.
6149 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
6151 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
6154 2001-07-26 Baruch Even <baruch@lyx.org>
6156 * buffer.C (readInset): Changed to call up InsetGraphics when reading
6157 an InsetFig figure, backwards compatible reading of old figure code.
6159 2001-07-27 Juergen Vigna <jug@sad.it>
6161 * text2.C: font.realize function adaption.
6163 * text.C (draw): add a warnings lyxerr text if needed.
6165 * layout.C: font.realize function adaption.
6167 * language.C: add inherit_language and implement it's handlings
6169 * bufferview_funcs.C (StyleReset): remove language parameter from
6170 font creation (should be language_inherit now).
6172 * bufferparams.C (writeFile): handle ignore_language.
6174 * paragraph.C (getFontSettings): the language has to be resolved
6175 otherwise we have problems in LyXFont!
6177 * lyxfont.C (lyxWriteChanges): added document_language parameter
6178 (update): removed unneeded language parameter
6180 * paragraph.C (validate): fixed wrong output of color-package when
6181 using interface colors for certain fonts in certain environments,
6182 which should not seen as that on the final output.
6184 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
6186 * BufferView_pimpl.C:
6191 * LyXAction.C: add thesaurus support
6194 * lyxfind.C: add "once" parameter, for thesaurus, to not
6195 move to the next match
6197 2001-07-26 Juergen Vigna <jug@sad.it>
6199 * lyxfont.C (realize): honor ignore_language too!
6202 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
6204 * text.C (draw): one place more for ignore_language to not draw
6207 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
6209 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
6211 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6213 * buffer.C (parseSingleLyXformat2Token): a more general fix for
6214 the minipage conversion problem.
6216 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6218 * buffer.C (parseSingleLyXformat2Token): check minipage if we
6221 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6223 * BufferView.h: don't forward declare WorkArea
6225 * BufferView.C: don't include WorkArea.h
6227 2001-07-25 André Pönitz <poenitz@gmx.net>
6231 * lyxfunc.C: new LFUN 'math-space'
6233 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
6235 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6237 * text2.C (toggleInset): call open/close
6239 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6241 * lyxfunc.C (dispatch): add debug for the disabled case
6243 * font.C (buttonText): make similar to rectText
6245 * buffer.C (readInset): comment out parsing of insetlist and
6248 * PainterBase.C (rectText): small correction
6250 * BufferView_pimpl.C: comment out insettheorem and insetlist
6251 * LyXAction.C: ditto
6252 * commandtags.h: ditto
6254 2001-07-24 Juergen Vigna <jug@sad.it>
6256 * text.C (draw): honor the ignore_language.
6258 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
6260 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6262 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
6265 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6267 * lyxtext.h: remove unused (and unimplemented) methods
6269 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6271 * text.C (getVisibleRow): honor background color
6274 * Painter.h: remove default color argument for fillRectangle
6276 * text.C (backgroundColor): new method
6278 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6280 * text.C (getVisibleRow): adjust
6282 * font.[Ch] (rectText): new method, metrics
6283 (buttonText): new method, metrics
6285 * PainterBase.[hC]: make rectText and buttonText always draw and take
6288 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6290 * ToolbarDefaults.C (read):
6291 * MenuBackend.C (read): allow escaping in all strings
6293 * BufferView_pimpl.C (insertAndEditInset): new method.
6294 (Dispatch): use insertAndEditInset whenever appropriate.
6296 * BufferView_pimpl.C (insertNote): removed
6298 * BufferView_pimpl.C (smartQuote): new method, moved from
6299 BufferView; if an insetquote cannot be inserted, insert a '"'
6302 * BufferView2.C: remove insertCorrectQuote();
6304 * lyxfunc.C (getStatus): Add support for all remaingin
6307 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
6309 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
6310 command (necessary to pass " as parameter of self-insert.
6312 * text.C (selectWordWhenUnderCursor):
6313 (selectWord): add word_location parameter
6314 (selectWordWhenUnderCursor): same + remove special code for word
6316 (selectNextWord): use kind() to guess type of insetspecialchar,
6319 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
6320 (insertErtContents): create ert insets as collapsed.
6321 (readInset): better compatibility code for Info inset.
6323 2001-07-20 Juergen Vigna <jug@sad.it>
6325 * lyxfunc.C (dispatch): use always LyXFind now!
6327 * text2.C (init): add a reinit flag so that the LyXText can be
6328 reinited instead of deleted and reallocated (used in InsetText).
6330 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
6336 2001-07-18 Juergen Vigna <jug@sad.it>
6338 * text.C (selectNextWord): handle insets inside inset by calling
6339 always the bv->text functions so that we can go up the_locking_inset!
6341 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
6342 in strange locations when inside an inset!
6344 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
6345 handling to include insets.
6347 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
6349 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6351 * LyXAction.C (init):
6353 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
6354 LIGATURE_BREAK, since the name is so stupid.
6356 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6358 * buffer.C (readInset): enable reading of new InsetNotes as well as old
6361 * FontLoader.C: remove FORMS_H_LOCATION cruft.
6363 * sp_form.[Ch]: remove.
6365 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
6367 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
6370 * src/buffer.C (readInset): ditto.
6372 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6374 * BufferView_pimpl.C (specialChar): new method. Obsoletes
6375 menuSeparator(), endOfSentenceDot(), ldots() and
6376 hyphenationPoint(), which are therefore removed.
6377 (Dispatch): handle LFUN_HYPHENATION_BREAK.
6379 * LyXAction.C (init):
6380 * commandtags.h: add LFUN_HYPHENATION_BREAK.
6382 * paragraph.C (getWord): removed.
6384 * BufferView_pimpl.C (Dispatch): use last word or selection for
6385 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
6387 * lyx_main.C (queryUserLyXDir): do not ask before creating
6388 user_dir, except if it has been named explicitely.
6390 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6392 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
6393 a document of zero size.
6395 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6397 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
6398 approriately in the c-tor and in require().
6399 (getPackages): output the appropriate LaTeX for natbib support.
6401 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
6402 variables "use_natbib" and "use_numerical_citations" when reading the
6404 (readInset): read the various natbib cite commands.
6405 (validate): white-space change.
6407 * bufferparams.[Ch]: new variables "bool use_natbib" and
6408 "bool use_numerical_citations".
6409 (writeFile): output them in the LyX file.
6411 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6413 * lyxfunc.C (getStatus): add support for all the inset insertion
6416 * text2.C (insertInset):
6417 * paragraph.C (insetAllowed):
6418 * BufferView_pimpl.C (insertInset): update to take in account the
6419 renaming of insertInsetAllowed
6421 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
6423 * text2.C (getInset): new method. returns inset at cursor position.
6425 * BufferView_pimpl.C (Dispatch): changes because of this.
6427 * LyXAction.C (init): rename open-stuff to inset-toggle.
6429 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
6431 * text2.C (toggleInset): renamed from openStuff; use
6434 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6436 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
6438 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
6440 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
6442 * buffer.C (readLyXformat2): Add filename to the error dialog
6444 2001-07-18 Juergen Vigna <jug@sad.it>
6446 * tabular.C (GetCellNumber): put an assert here instead of the check!
6448 2001-07-17 Juergen Vigna <jug@sad.it>
6450 * BufferView_pimpl.C (toggleSelection): adapted too.
6452 * text.C (selectNextWord): adapted for use with insets.
6453 (selectSelectedWord): ditto
6455 2001-07-17 Juergen Vigna <jug@sad.it>
6457 * sp_spell.C (PSpell): fix initialitation order.
6459 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * paragraph.C: spacing
6463 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
6465 * sp_spell.C: repair language selection for pspell
6467 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6469 * lyxfunc.h: change more methods to begin with lower char.
6471 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6473 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6474 for unknown layouts.
6476 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6478 * buffer.C (readLyXformat2): Generate an error dialog if there are
6481 2001-07-16 Juergen Vigna <jug@sad.it>
6483 * sp_spell.C: always compile ISpell part.
6485 * lyxrc.C: added use_pspell entry and it's handling.
6487 2001-07-13 Juergen Vigna <jug@sad.it>
6489 * sp_spell.C: removed double includes.
6491 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6493 Consistent use of Lsstream.h:
6494 * Lsstream.h: added using std::stringstream for consistencies sake.
6496 * buffer.C: removed using std::stringstream
6498 * lyxfont.C (stateText):
6499 * paragraph.C (asString):
6500 * text.C (selectNextWord, selectSelectedWord):
6501 * text2.C (setCounter):
6502 * vspace.C (asString, asLatexString):
6503 std::ostringstream -> ostringstream.
6505 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6507 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6508 * commandtags.h: add LFUN_HELP_ABOUTLYX
6509 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6511 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6513 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6515 * lyx_gui_misc.C: remove spellchecker
6516 * lyxfunc.C: showSpellchecker
6518 * sp_ispell.h: added
6519 * sp_pspell.h: added
6521 * sp_form.[Ch]: removed
6522 * spellchecker.[Ch]: removed
6524 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6526 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6528 (simpleTeXSpecialChars): Simply print the input character without
6529 any special translation if pass_thru is set.
6531 * layout.h: Added bool pass_thru to layout class for being able to
6532 implement pass through of a paragraph for Literate Programming.
6534 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6535 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6536 * layout.C (Read): add "passthru" to list of layout tags and add
6537 code to set the pass_thru boolean when it is read.
6539 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6541 * trans_decl.h: remove allowed from KmodInfo
6543 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6547 * paragraph_pimpl.C (erase): use boost::prior
6549 * Painter.C (text): use data() instead of c_str() when length is
6551 * WorkArea.C (putClipboard): ditto
6552 * font.h (width): ditto
6554 * BufferView2.C: use it-> instead of (*it). for iterators
6556 * paragraph_pimpl.C: ditto
6557 * paragraph.C: ditto
6558 * minibuffer.C: ditto
6563 * converter.C: ditto
6565 * Variables.C: ditto
6566 * TextCache.C: ditto
6567 * MenuBackend.C: ditto
6568 * LyXAction.C: ditto
6570 * FloatList.C: ditto
6572 * ColorHandler.C (LyXColorHandler): ditto
6574 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6576 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6578 * text2.C (openStuff): reintroduce this method (which had been
6579 nuked in NEW_INSETS frenzy).
6581 * lyxfunc.C (Dispatch): when an action has not been handled, use
6582 its name in the error message, not its number.
6584 * paragraph.C (inInset): change method name to begin with lowercase.
6587 * text2.C: updates because of this.
6589 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6591 * ToolbarDefaults.C (add): add spaces in error message
6593 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6595 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6596 (readLyXformat2): rename return_par to first_par, use lyxlex's
6597 pushToken and remove the manual push handling.
6598 (parseSingleLyXformat2Token): add another ert comp. variable:
6599 in_tabular, rename return_par to first_par. handle newlines better
6601 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6603 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6605 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6607 * text2.C (getParFromID): removed
6609 * buffer.C (getParFromID): new method moved form lyxtext.
6610 * BufferView2.C (insertErrors): adjust
6611 (setCursorFromRow): adjust
6612 * BufferView_pimpl.C (restorePosition): adjust
6613 * lyxfunc.C (Dispatch): adjust
6614 * undo_funcs.C (textUndo): adjust
6616 (textHandleUndo): adjust
6617 (textHandleUndo): adjust
6619 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6621 * buffer.C: up' the LYX_FORMAT
6623 * lyxfont.h: turn NO_LATEX on as default
6625 * buffer.C (insertErtContents): new methods of tex style compability.
6626 (parseSingleLyXformat2Token): use it several places.
6627 * tabular.C (OldFormatRead): and here
6629 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6631 * text2.C: remove some commented code.
6634 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6635 * trans.C: changes because of the above.
6637 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6639 * text2.C (setCounter): Fix counters bug with bibliography layout.
6641 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6643 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6644 own member functions
6645 (simpleTeXSpecialChars): ditto
6647 2001-07-06 Juergen Vigna <jug@sad.it>
6649 * a lot of files: changed the access to LyXText::status and the
6650 call of undo-functions.
6652 * undo.[Ch]: added a inset_id to the undo informations.
6654 * undo_funcs.[Ch]: added and moved here all undo functions.
6656 * lyxtext.h: give the status enum a weight, made status_ a private
6657 variable and made accessor functions for it, removed the whole bunch
6658 of undo-functions as they are now in their own file, make some
6659 functions publically available. Added function ownerParagraph with
6662 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6663 made InInset() a const function, added getParFromID() function.
6665 * buffer.[Ch]: added const version for inset_iterator functions,
6666 added getInsetFromID() function.
6668 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6669 changed undo functions for new version.
6671 2001-07-05 Juergen Vigna <jug@sad.it>
6673 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6674 unknow mechanism does not call the proper constructor but only this
6675 one also if I request the other!?
6677 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6679 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6681 * text2.C (LyXText): use initialization lists.
6683 * lyxtext.h (Selection): initialize set_ and mark_
6684 (init): remove method
6686 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6688 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6690 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6692 * screen.[Ch]: change method names to begin with lowercase
6694 * BufferView_pimpl.C (updateScrollbar): simplify further and
6695 hopefully make it a bit faster.
6697 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6699 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6700 calling directly xforms functions.
6702 * Painter.C (Painter):
6703 * lyx_cb.C (MenuWrite):
6704 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6707 * lyx_gui.C: remove bogus guiruntime extern declaration.
6709 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6711 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6713 (redoDrawingOfParagraph): ditto
6714 (redoParagraphs): ditto
6715 (cutSelection): don't create a object for CutAndPaste use the
6716 static method directly
6717 (pasteSelection): ditto
6719 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6722 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6724 * modifications to some other files because of this.
6726 * Makefile.am (lyx_SOURCES): add XFormsView
6728 * XFormsView.[Ch]: new files
6730 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6731 the main window. Move the gui dependent stuff to XFormsView
6733 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6735 * tabular.C (GetCellInset): update cur_cell also in the row/col
6736 version of this function.
6738 * lyxfunc.C: no need to include figure_form.h here.
6744 * lyxvc.C: no need to include forms.h here.
6746 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6748 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6750 * lyxfunc.C (Dispatch):
6752 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6753 constructor argument.
6755 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6757 * paragraph.C (Paragraph): dont't clear, and just set layout.
6758 (makeSameLayout): use params's copy contructor.
6760 * ParagraphParameters.[Ch] (makeSame): delete method
6762 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6764 * Variables.[Ch]: fix indentation, rename set to isSet
6766 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6768 * lyxfunc.C (Dispatch): fix typo
6770 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6772 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6775 * bufferlist.C: include assert.h for emergencyWrite().
6777 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6779 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6780 give up at last (bug #425202) !
6782 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6788 * spellchecker.C: strip spellchecker options and bring up
6789 preferences tab instead
6791 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6793 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6794 the istringstream constructor
6796 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6798 * paragraph.C (getLayout): fix return value
6800 * paragraph.h: do not declare getLayout as inline.
6802 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6804 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6806 * lyxcursor.h (operator<): new func
6807 (operator>): new func
6808 (operator>=): new func
6809 (operator<=): new func
6811 * text.C (changeCase): use selection.start and selection.end
6812 (changeRegionCase): require from to be <= to. Require par to be a
6815 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6817 2001-06-27 Juergen Vigna <jug@sad.it>
6819 * text.C (cursorLeftOneWord): changed to return the cursor and added
6820 overlay with BufferView * parameter which calls this one.
6822 (selectWord): use new getWord function.
6823 (changeCase): renamed from changeWordCase as and extended to work
6826 * lyxtext.h: added enum word_location
6828 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6829 changeCase as this operates now also on selections.
6831 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6833 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6835 * many files: send debug output to Debug::INFO instead of
6838 * converter.C (View):
6840 (Move): send debug output to Debug::FILES instead of console.
6842 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6844 * lyxfunc.C (getStatus): use func_status
6846 * func_status.h: new header, describing the results of
6849 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6852 2001-06-25 The LyX Project <jug@sad.it>
6854 * buffer.C (sgmlOpenTag):
6856 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6858 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6860 * text2.C: remove some dead code
6862 * tabular.C (GetCellInset): store the last cell checked (gotten)
6864 * tabular.h: add the helper for the speedup
6866 * lyxtext.h: remove some dead code
6868 2001-06-26 The LyX Project <Asger>
6870 * paragraph.C: Change export to LaTeX of alignment to
6871 \begin{center} and family for better roundtrip work with reLyX.
6873 * Tune the math drawing a bit.
6875 2001-06-25 The LyX Project <Asger>
6877 * LColor.C (LColor): New color for math background. New color
6880 2001-06-25 The LyX Project <jug@sad.it>
6882 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6885 * bufferlist.C (newFile): do not restrict to files ending with
6888 * BufferView_pimpl.C (MenuInsertLyXFile):
6890 2001-06-24 The LyX Project <jug@sad.it>
6892 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6895 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6897 * lyxtext.h: rename most methods to begin with a small char.
6898 Lots of changes because of this.
6900 * paragraph.C (Paragraph): do not call fitToSize
6901 (erase): call Pimpl::erase
6902 (insertChar): call Pimpl::insertChar
6903 (insertInset): call Pipl::insertInset
6904 (breakParagraph): do not call fitToSize
6905 (breakParagraphConservative): do not call fitToSize
6906 (fitToSize): remove method
6908 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6910 2001-06-24 The LyX Project <Asger>
6912 * Fix Qt compilation^2
6914 2001-06-24 The LyX Project <jug@sad.it>
6916 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6917 depthHook(getDepth()-1).
6920 * ParagraphParameters.h:
6921 * ParameterStruct.h: change type of depth to unsigned int ==
6922 depth_type. Many adaptations to other files before of that.
6924 2001-06-24 The LyX Project <Asger>
6926 * Fix Qt compilation.
6928 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6930 * paragraph.h: renamed several methods to begin with small letter.
6931 several changes to many parts of the code because of this.
6933 2001-06-23 The LyX Project <jug@sad.it>
6935 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6936 rewritten to discard all double spaces when KeepEmpty is off
6937 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6938 to only handle newlines but not fiddle with spaces and friends.
6940 * lyxfunc.C (MenuNew): when doing 'new from template', use
6941 template_path as default directory
6943 2001-06-23 The LyX Project <Asger>
6945 * Clean-up of header file includes all over
6946 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6948 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6950 * paragraph.h: renamed from lyxparagraph.h
6952 2001-06-23 Asger <lyx@violet.home.sad.it>
6954 * Buffer.h: Removed Buffer::resize
6955 * BufferList.h: Removed BufferList::resize
6956 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6957 the document lazily when we change the width, or the font settings.
6959 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6961 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6963 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6965 * buffer.h: remove out of date comment
6967 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6970 * screen.C: fix "theoretical" GC leak
6972 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6974 * LaTeX.C (scanAuxFile):
6975 (deplog): remove trailing \r when reading stream (useful under
6978 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6980 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6981 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6982 and BufferView::theLockingInset(Inset*), so should use them and not
6983 access bv_->text->the_locking_inset directly.
6985 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6987 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6990 * tex-defs.h: remove old unused file
6992 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6994 * BufferView_pimpl.C: fix typo, remove minibuffer message
6995 when buffer has loaded
6997 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6999 * lyxfunc.C (Dispatch): use stringstream
7000 (MenuNew): use stringstream
7001 (Open): use stringstream
7003 * importer.C (Import): use stringstream
7005 * bufferview_funcs.C (CurrentState): use stringstream
7007 * LaTeX.C (run): use stringstream
7009 * BufferView_pimpl.C (savePosition): use stringstream
7010 (restorePosition): use stringstream
7011 (MenuInsertLyXFile): use stringstream
7013 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7026 * vspace.C: removed // -*- C++ -*- as first line.
7029 * version.h: added // -*- C++ -*- as first line.
7031 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7033 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7035 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7038 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7040 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7043 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7045 * gettext.C: include LString.h even when --disable-nls is on.
7047 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7049 * converter.h (Get): changed argument type from int to
7050 FormatList::size_type to avoid unnecessary conversion.
7052 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
7055 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7057 * gettext.h: include LString.h even when --disable-nls is on.
7059 2001-06-07 Juergen Vigna <jug@sad.it>
7061 * text.C (BreakAgain): subst spaces with tabs.
7063 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
7064 (resizeInsetsLyXText): set force on resizeLyXText.
7066 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7068 * gettext.h (gettext_init):
7069 (locale_init): use a real definition instead of a macro
7071 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7073 * Bufferview_pimpl.C:
7075 * LColor.C: further lcolor tidies
7077 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7079 * BufferView_pimpl.C (updateScrollbar): simplify.
7081 * BufferView2.C: don't include insets/insetinfo.h, change
7082 prototype for insertInset and call the Pimpl version. let
7083 updateInset call Pimpl version.
7085 * BufferView.h: move inset_slept to BufferView::Pimpl, move
7086 gotoInset to BufferView::Pimpl
7088 2001-06-01 Juergen Vigna <jug@sad.it>
7090 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
7091 inside a LockingInset (is the update needed at all?).
7093 2001-05-31 Juergen Vigna <jug@sad.it>
7095 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
7096 here not the old one otherwise how should we compare it afterwards
7099 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7104 * FontInfo.C: bring C functions into global namespace when
7107 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7109 * LString.h: make sure config.h has been loaded before LString.h.
7111 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
7112 (one for each char read by EatLine!).
7114 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
7117 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
7119 * paragraph.C (BreakParagraph): set the inset_owner in the new par
7120 to the same as the par we break from
7122 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
7124 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
7126 * MenuBackend.C (expand): also create menu entries for wide
7127 versions of the floats.
7129 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
7131 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
7133 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
7134 frontends/Makefile.am
7140 * tabular.C (getTokenValue): add std::
7142 * tabular-old.C (getTokenValue): add std::
7143 (getTokenValue): ditto
7144 (getTokenValue): ditto
7146 * screen.C (ToggleSelection): adjust
7148 * lyxtext.h: put selection cursors inside a Selection struct.
7150 * lyxfunc.C (moveCursorUpdate): adjust
7152 * lyxfont.C (latexWriteStartChanges): add std::
7156 * font.h: delete with(char const *, LyXFont const &)
7158 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
7160 * FontInfo.C (getFontname): add std::
7162 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7163 (workAreaButtonPress): adjust
7164 (tripleClick): adjust
7166 (moveCursorUpdate): adjust
7169 * BufferView2.C (gotoInset): adjust
7171 2001-05-30 Juergen Vigna <jug@sad.it>
7173 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
7174 to check pspell I add this as default as I now have new pspell
7175 libraries and they seem to use this.
7177 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7179 * text2.C (CutSelection): make the cursor valid before the call to
7182 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7184 * kbsequence.C (parse): de-uglify a bit the parsing code, which
7185 relied on 0 terminated strings and other horrors. Bug found due to
7186 the new assert in lyxstring!
7188 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
7191 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7193 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
7196 * lyxfunc.C (processKeySym): change method of getting to the
7199 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
7200 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
7201 * BufferView_pimpl.[Ch]: here as private methods.
7203 2001-05-28 Juergen Vigna <jug@sad.it>
7205 * text.C (SetHeightOfRow): added the update() call again as it is
7206 needed to initialize inset dimensions!
7208 2001-05-16 Juergen Vigna <jug@sad.it>
7210 * text2.C (SetCharFont): Add new function with BufferView * and
7211 bool toggleall parameters for setting insets internal fonts.
7212 (SetFont): Freeze the undo as we may change fonts in Insets and
7213 all this change should be inside only one Undo!
7215 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
7216 setting font's in insets as for them we have the SetFont function!
7218 2001-05-15 Juergen Vigna <jug@sad.it>
7220 * text2.C (ClearSelection): to be sure we REALLY don't have any
7223 * tabular.C (TeXCellPreamble): fixed the left border problem for
7226 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
7228 * LaTeX.C (deplog): Make sure that the main .tex file is in the
7231 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7233 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
7234 LFUN_BREAKPARAGRAPH.
7236 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
7237 help test to "internal only", similar for LFUN_INSERT_URL
7239 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
7240 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
7241 auto_region_delete and deadkeys.
7243 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
7246 * LColor.C: remove some dead entries, tidy a little
7248 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
7250 * lyxfunc.C (processKeySym): comment the Escape handling, remove
7252 (Dispatch): implement LFUN_ESCAPE
7254 * commandtags.h: add LFUN_ESCAPE
7256 * LyXAction.C (init): add entry for LFUN_ESCAPE
7258 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
7259 Remove commented code.
7260 (insertNote): moved here
7261 (open_new_inset): moved here
7263 * BufferView[2].[Ch]: move insertNote and open_new_inset to
7266 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7268 * kbmap.C (findbinding): clean it up and make it work correctly.
7270 * lyx_main.C (init): do not pass argc and argv as parameters
7272 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
7274 * buffer.C: fix path for OS/2 & Win32
7278 * lyx_main.C: Added os:: class.
7280 * os2_defines.h: update
7282 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7284 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
7285 better by trying again with reduced state.
7287 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7289 * lyxrc.C (read): print error about invalid key sequence only when
7290 debugging (because not all latinX keysyms are known to some X
7293 * kbsequence.C (getiso): add a few std:: qualifiers
7294 (getiso): comment out extra return statement.
7296 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
7298 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
7300 (Dispatch): enhance the accent inset a bit. (not perfect)
7302 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7304 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
7306 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7308 * bufferlist.C (emergencyWrite): fix assert() call
7310 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
7312 * text.C (InsertChar): Added trivial patch to only send the "you
7313 can not do multiple spaces this way" message once during a
7316 2001-05-08 Baruch Even <baruch@lyx.org>
7318 * Makefile.am: Changed order of libraries to get LyX to link properly
7319 with the gnome frontend.
7321 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7323 * LaTeXFeatures.h: add a std:: qualifier
7325 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7327 * paragraph.C (String): use stringstream
7329 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7331 * paragraph.C (writeFile): remove footflag arg
7333 * buffer.C (makeLaTeXFile): use stringstream
7334 (latexParagraphs): remove footnot gurba
7336 * LaTeXFeatures.C (getPackages): use stringstream
7337 (getMacros): likewise
7338 (getTClassPreamble): likewise
7339 (getFloatDefinitions): new method
7341 * paragraph.C (writeFile): reindent
7344 * WorkArea.h: revert the xpos + etc changes.
7346 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
7348 * lyxparagraph.[Ch]: add copy constructor, remove Clone
7350 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
7351 (pasteSelection): likewise
7352 * text2.C (CreateUndo): likewise
7354 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7356 * minibuffer.C (peek_event): temporarily reduce the functionality
7357 of the minibuffer (to allow args on lfuns)
7359 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
7360 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
7362 * buffer.C (readInset): add compability reading of old float
7363 lists, add reading of new style float list.
7364 (readInset): avoid reevaluation of inscmd.getCmdName()
7365 (getLists): reindent
7367 * MenuBackend.C (MenuItem): implement parsing of
7368 md_floatlistinsert and md_floatinsert.
7369 (expand::LastFiles): move initalizaton of iterators out of loop,
7371 (expand::Documents): introduce typdedef vector<string> Strings,
7373 (expand::ExportFormats): introduce typedef vector<Format const *>
7374 Formats, and use it.
7375 (expand): implement FloatListInsert and FloatInsert.
7377 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
7378 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
7379 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
7381 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
7383 (Dispatch::LFUN_FLOAT_LIST): implement
7385 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7387 * LaTeX.C (run): Fix problem with --export code.
7389 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7391 * BufferView.[Ch] (workarea): removed.
7392 (getClipboard) new method; wrapper for workarea()->getClipboard()
7394 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
7397 * WorkArea.h (width, height, xpos, ypos): These methods all
7398 returned the dimensions of the work_area sub-area of WorkArea,
7399 resulting in a position error if the WorkArea were resized. Now
7400 return the dimensions of the entire WorkArea.
7402 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
7404 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7406 * LaTeX.C (deplog): correct the syntax of regex reg1
7408 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7410 * undo.C: remove !NEW_INSETS cruft
7412 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7414 * text2.C: remove !NEW_INSETS cruft
7416 * text.C: remove !NEW_INSETS cruft
7418 * tabular.C: remove !NEW_INSETS cruft
7420 * spellchecker.C: remove !NEW_INSETS cruft
7422 * lyxtext.h: remove !NEW_INSETS cruft
7424 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
7426 * lyxfunc.C: remove !NEW_INSETS cruft
7428 * lyxfind.C: remove !NEW_INSETS cruft
7430 * lyx_cb.C: remove !NEW_INSETS cruft
7432 * figureForm.C: remove !NEW_INSETS cruft
7434 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
7436 * buffer.[Ch]: remove !NEW_INSETS cruft
7438 * ToolbarDefaults.C: remove !NEW_INSETS cruft
7440 * CutAndPaste.C: remove !NEW_INSETS cruft
7442 * BufferView_pimpl.C: remove !NEW_INSETS cruft
7444 * BufferView2.C: remove !NEW_INSETS cruft
7446 * BufferView.h: remove !NEW_INSETS cruft
7448 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7450 * Lsstream.h: include LString.h before the sstream headers to
7451 fix problem with gcc 2.95.3 and lyxstring
7453 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7455 * lyx_main.C: add using directives when needed for C functions
7456 declared in std:: namespace.
7458 2001-04-27 Juergen Vigna <jug@sad.it>
7460 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
7461 (SetHeightOfRow): comment out the update call should not be needed!
7463 2001-04-13 Juergen Vigna <jug@sad.it>
7465 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
7466 (LyXTabular): tried to minimize operator= operations (and realized
7467 hopfully Lars wish).
7469 2001-04-27 Juergen Vigna <jug@sad.it>
7471 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7473 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7475 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7477 * buffer.C (readInset): hack to make listof algorithm work
7479 * BufferView_pimpl.C: hack to make listof algorithm work
7481 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7483 * LyXAction.C: removed all !NEW_INSETS cruft
7484 (init): moved lfun_item in method
7486 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7488 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7490 * BufferView2.C (theLockingInset): white space.
7492 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7494 * minibuffer.C: include <iostream>
7496 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7498 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7500 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7502 * text.[Ch] (TransposeChars): new method
7504 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7506 * call message directly through LyXView instead of through LyXFunc
7507 * BufferView2.C: adjust
7508 * BufferView_pimpl.C: adjust
7509 * FontLoader.C: adjust
7511 * bufferview_funcs.C: adjust
7512 * converter.C: adjust
7513 * figureForm.C: adjust
7514 * importer.C: adjust
7516 * lyx_gui_misc.C: adjust
7520 + more files in subdirs
7522 * lyxparagraph.h (size): move up int file
7525 * adjust all uses of Assert to lyx::Assert.
7527 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7528 lyxfunctional in namespace lyx
7529 * layout.C (hasLayout): ditto
7532 (delete_layout): ditto
7533 (NumberOfClass): ditto
7534 * converter.C (GetFormat): ditto
7539 * bufferlist.C (getFileNames): ditto
7540 (emergencyWriteAll): ditto
7543 * MenuBackend.C (hasSubmenu): ditto
7546 * BufferView_pimpl.C (getInsetByCode): ditto
7548 2001-04-18 Juergen Vigna <jug@sad.it>
7550 * vspace.C (asLatexString): fixed the 100% problem.
7552 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7554 * lyxfunc.C (Dispatch):
7556 * minibuffer.h: add a few std:: qualifiers
7558 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7560 * minibuffer.[Ch]: reimplement so that commands is initiated and
7561 run from lyxfunc, simplified som handling, and made the completion
7562 and history code for complete. wip.
7564 * lyxfunc.C (processKeySym): call message
7565 (miniDispatch): new temporary method
7566 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7567 (LFUN_MESSAGE): implement
7568 (LFUN_MESSAGE_PUSH): implement
7569 (LFUN_MESSAGE_POP): implement
7570 (initMiniBuffer): the initial/defualt minibuffer message.
7572 * lyxfont.[Ch]: inline some more getters
7574 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7576 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7578 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7579 (AutoSave): use LFUN_MESSAGE
7580 (Reconfigure): ditto
7582 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7584 * figureForm.C: use LFUN_MESSAGE
7586 * converter.C (runLaTeX): use LFUN_MESSAGE
7588 * bufferview_funcs.C: use LFUN_MESSAGE
7590 (changeDepth): ditto
7592 * bufferparams.h: use boost::
7594 * bufferlist.h: inherit privately from noncopyable
7596 * bufferlist.C (loadLyXFile): remove some commented code.
7598 * buffer.C (runChktex): use LFUN_MESSAGE
7600 * ShareContainer.h: inherit privately from noncopyable
7602 * ParagraphParameters.[hC] (depth): inline it.
7604 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7606 (message): new method
7607 (messagePush): ditto
7609 (show): init minibuffer
7610 (showState): direct call
7612 * LaTeX.[Ch]: inherit privately from noncopyable
7613 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7614 instead of WriteStatus.
7616 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7618 * BufferView_pimpl.C (buffer): don't init minibuffer
7619 (workAreaButtonPress): use LFUN_MESSAGE
7620 (workAreaButtonRelease): ditto
7621 (savePosition): ditto
7622 (restorePosition): ditto
7623 (MenuInsertLyXFile): ditto
7624 (workAreaExpose): don't init minibuffer
7625 (update): remove commented code, simplify
7627 * BufferView2.C (openStuff): use LFUN_MESSAGE
7628 (toggleFloat): ditto
7631 (copyEnvironment): ditto
7632 (pasteEnvironment): ditto
7637 (updateInset): remove some commented code
7639 * lastfiles.h: inherit privately from noncopyable
7644 * lyxlex_pimpl.h: ditto
7646 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7647 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7648 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7650 * LyXAction.h: inherit privately from noncopyable, add methods
7651 func_begin, func_end, returning iterators to the func map.
7653 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7654 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7655 (func_begin): new method
7656 (func_end): new method
7658 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7660 (copySelection): ditto
7661 (pasteSelection): ditto
7663 * BufferView.C: whitespace change
7664 * BufferView.h: inherit privately from noncopyable
7666 2001-04-16 Allan Rae <rae@lyx.org>
7668 * tabular-old.C (l_getline):
7669 * spellchecker.C (sc_check_word):
7670 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7671 an unrecognised preprocessor directive. So ensure they're wrapped.
7673 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7675 * src/exporter.C (Export): Give an error message when path to file
7678 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7680 * LaTeX.C (deplog): Always check that foundfile exists.
7682 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7685 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7687 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7689 * tabular.[Ch] (getLabelList): implement new method
7691 * minibuffer.h: comment ouf setTiimer
7693 * minibuffer.C (ExecutingCB): constify res
7694 (peek_event): constify s
7695 (Set): constify ntext
7696 (Init): constify nicename
7698 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7700 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7701 (savePosition): use two params to Minibuffer::Set
7702 (restorePosition): ditto
7704 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7706 * lyx_main.C: include language.h
7708 * Makefile.am (lyx_main.o): add language.h
7710 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7716 * CutAndPaste.C: include gettext.h
7718 * lyxfont.h: remove old hack with ON and OFF.
7721 * lyxfont.h: do not include language.h...
7726 * bufferview_funcs.C:
7732 * paragraph.C: ... but do it here instead
7734 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7736 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7738 * tabular.C: small reformat
7740 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7743 (BreakParagraph): ditto
7744 (SetOnlyLayout): ditto
7747 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7750 * lastfiles.C: removed most using decl, add std:: where needed
7752 * buffer.C: ws changes
7754 * MenuBackend.C (class compare_format): put into anon namespace
7755 (expand): constify label, names, action, action2
7758 * text.C (SingleWidth): constify font
7759 (IsBoundary): constify rtl2
7760 (GetVisibleRow): constify ww
7762 * LaTeX.C (deplog): constify logfile
7764 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7766 (workAreaExpose): constify widthChange, heightChange
7768 * lyxrow.C (par): moved
7771 * lyxrow.h: as inlines here
7773 * lyxfont.h (shape): moved from lyxfont.C
7774 (emph): moved from lyxfont.C
7776 * lyxfont.C (LyXFont): use initialization list for all
7778 (shape): move to lyxfont.h as inline
7779 (emph): move to lyxfont.h as inline
7782 2001-04-04 Juergen Vigna <jug@sad.it>
7784 * vspace.C: had to include stdio.h for use of sscanf
7786 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7789 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7790 independent of xforms.
7792 2001-04-02 Juergen Vigna <jug@sad.it>
7794 * spellchecker.C: fixed namespace placing!
7796 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7798 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7799 the LyXParagraph * is 0.
7801 2001-03-29 Juergen Vigna <jug@sad.it>
7803 * vspace.C: added support for %, c%, p%, l%.
7804 (stringFromUnit): added helper function.
7805 (asLatexString): changed to give right results for the %-values.
7807 * buffer.C: convert the widthp in a width%.
7809 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7811 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7814 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7815 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7817 * lyx_cb.[Ch]: see above.
7819 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7823 * lyx.[Ch]: replaced by figure_form.[Ch].
7827 * lyxfunc.C: changed headers associated with above changes.
7829 2001-03-27 Juergen Vigna <jug@sad.it>
7831 * BufferView_pimpl.C: set the temporary cursor right!
7833 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7835 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7837 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7839 * LString.h: removed "using std::getline"!
7841 * BufferView_pimpl.C (Dispatch): changes due to changes in
7842 InsetInclude::Params.
7844 * buffer.C (tag_name): removed redundant break statements as they were
7845 producing lots of warnings with my compiler.
7847 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7849 * LString.h: add "using std::getline" when using the real <string>.
7851 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7853 * buffer.C: removed bitset usage.
7854 PAR_TAG moved to an anonymous name space.
7855 (tag_name): new funtion, also in the anonymous namespace.
7856 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7857 (makeDocBookFile): clean code. Completed transition from string arrays
7859 (SimpleDocBookOnePar): code clean.
7861 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7863 * tabular.C: add some comments.
7865 2001-03-22 Juergen Vigna <jug@sad.it>
7867 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7868 compatibility read a bit and fixed bug with minipage in different
7871 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7873 * buffer.C (pop_tag): removed.
7874 (push_tag): removed.
7875 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7876 array replaced with vector. Added support for CDATA sections.
7877 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7879 (makeDocBookFile): XML conformant declaration of CDATA section,
7880 fixed bug related to <emphasis> in the first paragraph char.
7881 (sgmlOpenTag): exclude empty tags.
7882 (sgmlCloseTag): ditto.
7884 * buffer.h (pop_tag): removed.
7885 (push_tag): removed.
7887 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7889 * language.h (Languages): added size_type and size().
7891 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7893 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7894 response on compability reading of minipages. One probliem is that
7895 the old usage of minipages was «flertydig»
7897 * several files here and in subdirs: don't use static at file
7898 scope use anon namespaces instead.
7900 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7902 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7903 LaTeX output. This is necessary for Literate document
7906 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7908 * buffer.C: insert hfill when needed.
7910 * tabular.C (l_getline): use string::erase, small whitespace change.
7912 * BufferView_pimpl.C: try the anon namespace.
7915 2001-03-16 Juergen Vigna <jug@sad.it>
7917 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7918 otherwise it won't open options-dialogs.
7920 * buffer.C: honor pextraWidth(p) on converting minipages.
7922 * tabular.C (l_getline): changed the functions to strip trailing \r.
7924 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7926 * BufferView_pimpl.C:
7927 * minibuffer..C: added "using SigC::slot" declaration.
7929 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7931 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7937 * paragraph.C: ditto
7939 * lyxtext.h: NO_PEXTRA
7941 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7943 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7944 * ParameterStruct.h: ditto
7945 * ParagraphParameters.h: ditto
7946 * lyxparagraph.h: ditto
7948 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7950 * buffer.C: add compability for minipage alignment.
7951 (latexParagraphs): remove unwanted pextra check.
7953 * several files: remove CXX_WORKING_NAMESPACES
7955 * buffer.C (pop_tag): tie is in namespace boost
7957 * BufferView.h: noncopyable is in namespace boost
7962 * lastfiles.h: ditto
7963 * bufferlist.h: ditto
7964 * ShareContainer.h: ditto
7966 * LyXAction.h: ditto
7969 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7971 * Merging changes from BRANCH_MVC back into HEAD.
7973 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7975 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7977 * BufferView_pimpl.C: change from intl.C
7981 * Makefile.am: move combox.*
7987 * intl.C: remove dialog (covered by prefs)
7989 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7991 * lyxfunc.C (Dispatch): removed redundant break statement.
7993 2001-03-14 Juergen Vigna <jug@sad.it>
7995 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7997 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7999 * buffer.C: add hack to fix compability reading of minipages.
8001 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8003 * buffer.C (getLists): Cleanup.
8005 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8007 * lyxfont.C (update): don't honor toggleall on font size.
8009 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8013 * Makefile.am: moved to frontends/xforms/
8017 * BufferView_pimpl.C: changes for moved mathpanel
8019 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8021 * gettext.h: fix gettext_init() in --disable-nls
8023 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8025 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8027 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8030 * lyx.h: strip external form
8032 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8034 * BufferView_pimpl.C: add comment, destroySplash()
8036 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8038 * BufferView_pimpl.C:
8042 * lyxfunc.C: use re-worked insetinclude
8044 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8046 * buffer.C: add using std::stringstream.
8048 * lyx_cb.C: readd using std::ios.
8050 * buffer.C: add using std::map.
8052 * BufferView_pimpl.C: add using std::vector.
8054 * ShareContainer.h: add std:: to swap.
8056 * buffer.h: add some typedefs
8057 * buffer.C (getLists): use them
8058 (getLists): renamed from getTocList.
8059 add a counter for the different float types and use it in the
8061 (getLists): use the same counter for the NEW_INSETS and the "non"
8064 * lyx_cb.h: remove unused items, includes, using etc.
8066 * ShareContainer.h: remove some commented code, add more comments
8067 and "documentation".
8069 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8071 * buffer.C (getTocList): make the list also when NEW_INSETS is
8074 * buffer.h: remove TocType
8076 * buffer.C (getTocList): change to return a map<string,
8077 vector<TocItem> >, implement for dynamic number of list.
8079 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
8080 * text2.C (PasteSelection): adjust
8081 * CutAndPaste.C (pasteSelection): adjust
8083 * FloatList.C (FloatList): update from the new_insets branch.
8084 * Floating.[Ch]: ditto
8085 * LaTeXFeatures.C: ditto
8087 * lyxlex_pimpl.C: ditto
8089 * paragraph.C (Last): remove when NEW_INSETS is defined.
8091 * other file: changes because of the above.
8093 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8095 * lyxparagraph.h: rename next to next_, previous to previous_,
8096 make them private for NEW_INSETS. Rename Next() to next(),
8097 Previous() to previous().
8099 * other files: changes because of the above.
8101 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
8104 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
8107 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8109 * main.C (main): pass lyx_localedir to gettext_init().
8111 * gettext.h: remove locale_init and gettext_init macros
8113 * gettext.C (locale_init): new function
8114 (gettext_init): new function
8116 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
8119 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
8121 * Moved credits to frontends:
8122 * credits.[Ch]: removed
8123 * credits_form.[Ch]: removed
8124 * lyx_gui_misc.C: remove credits stuff
8127 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8129 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
8131 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
8132 unneeded destructor.
8134 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
8135 a standalone pointer again.
8137 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
8139 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
8145 * ToolbarDefaults.C:
8154 * BufferView_pimpl.C: use new file dialog in GUII
8157 * lyx_cb.C: remove LayoutsCB to Toolbar
8159 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8161 * ShareContainer.h (get): add std:: qualifier
8163 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8165 * ShareContainer.h: define a proper ShareContainer::value_type
8166 type (and use typename to please compaq cxx)
8168 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8170 * lyxparagraph.h: move serveral local vars to
8171 ParameterStruct/ParagraphParameters., use ShareContainer in
8172 FontTable., make vars in FontTable private and add getter and
8175 * paragraph.C: changes because of the above.
8177 * lyxfont.h: remove copy constructor and copy assignment. (the
8178 default ones is ok), move number inside FontBits. move inlines to
8181 * lyxfont.C: add number to initializaton of statics, move several
8182 inlines here. constify several local vars. some whitespace
8183 cleanup. Dont hide outerscope variables.
8185 * Spacing.h: add two new constructors to match the set methods.
8187 * ShareContainer.h: new file, will perhaps be moved to support
8189 * ParameterStruct.h: new file
8191 * ParagraphParameters.h: new file
8193 * ParagraphParameters.C: new file
8195 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
8196 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
8198 * BufferView_pimpl.C: ParagraphParameter changes.
8199 * buffer.C: Likewise.
8200 * bufferview_funcs.C: Likewise.
8202 * text2.C: Likewise.
8204 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8206 * lyxfind.C (LyXReplace): do not redefine default argument in
8208 (IsStringInText): ditto
8209 (SearchForward): ditto
8210 (SearchBackward): ditto
8212 2001-03-06 Juergen Vigna <jug@sad.it>
8214 * lyxfind.C (IsStringInText): put parentes around expressions.
8216 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
8218 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
8220 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
8222 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
8224 * stl_string_fwd.h: add comment
8226 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
8229 * tabular.C: remove unused DocBook methods
8235 killed DO_USE_DEFAULT_LANGUAGE
8237 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8239 * lyx_gui.C: do not include language.h.
8241 * bufferview_funcs.C (ToggleAndShow): do not provide optional
8242 arguments in function implementation.
8244 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8246 * BufferView_pimpl.C: add <ctime>
8248 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8250 * BufferView_pimpl.C: add using std::find_if
8252 2001-02-27 José Matos <jamatos@fep.up.pt>
8254 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
8257 2001-02-11 José Matos <jamatos@fep.up.pt>
8259 * buffer.C (makeDocBookFile): command styles now have a parameter as
8262 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
8264 * layout_forms.[Ch]: removed
8265 * lyx_cb.[Ch]: out character
8266 * lyx_gui.C: out character
8267 * lyx_gui_misc.C: out character
8268 * bufferview_funcs.C: : out character,
8269 added toggleall as parameter in ToggleAndShow
8271 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
8273 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
8275 * text2.C (SetCurrentFont): Disable number property at boundary.
8277 2001-02-26 Juergen Vigna <jug@sad.it>
8279 * lyxfunc.C (getStatus): added a string argument override function so
8280 that this is correctly called from LyXFunc::Dispatch if it contains a
8281 do_not_use_argument which is used!
8282 (Dispatch): added check for "custom" export and call appropriate func.
8284 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
8286 * lyxrc.C: Add language_command_local, language_use_babel and
8287 language_global_options.
8289 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
8291 * buffer.C (makeLaTeXFile): Use language_use_babel and
8292 language_global_options.
8294 2001-02-23 Juergen Vigna <jug@sad.it>
8296 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
8297 which works with LyXText and putted it inside BufferView. Here now we
8298 only call for that part the BufferView::Dispatch() function.
8300 * BufferView.C (Dispatch): added.
8302 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
8303 functions which needs to use a LyXText over from LyXFunc.
8304 (MenuInsertLyXFile): added
8305 (getInsetByCode): added
8306 (moveCursorUpdate): added
8307 (static TEXT): added
8309 2001-02-22 Juergen Vigna <jug@sad.it>
8311 * BufferView_pimpl.C (update): call a status update to see if LyXText
8314 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8316 * vc-backend.C (revert): implement for CVS
8317 (getLog): implement for CVS
8319 2001-02-20 Juergen Vigna <jug@sad.it>
8321 * text2.C (ClearSelection): added BufferView param for inset_owner call
8323 * lyxfunc.C (TEXT): added this function and use it instead of
8324 directly owner->view()-text of getLyXText().
8326 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
8328 * src/layout_forms.C: out preamble
8329 * src/layout_forms.h: out preamble
8330 * src/lyx_cb.C: out preamble
8331 * src/lyx_cb.h: out preamble
8332 * src/lyx_gui.C: out preamble
8333 * src/lyx_gui_misc.C: out preamble
8334 * src/lyxfunc.C: connect with guii preamble
8336 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
8338 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
8340 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
8342 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
8343 whether to run bibtex.
8345 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
8347 * Makefile.am (lyx_SOURCES): Remove BackStack.h
8349 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
8351 * Makefile.am (lyx_SOURCES): removed bibforms.h
8355 * text.C (GetVisibleRow): make several local vars const
8357 * tabular.C: small cleanup.
8359 * lyxserver.C (callback): use compare instead of strncmp
8361 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
8362 inlines to after class or to paragraph.C
8364 * lyxfont.h: remove friend operator!=
8366 * converter.h: move friend bool operator< to non friend and after
8369 * combox.h: small cleanup
8371 * buffer.h: doxygen, remove unused constructor, move inclas inlies
8372 to inlines after class def.
8374 * buffer.C (pop_tag): use string operations instead of strcmp
8376 * bmtable.c: doxygen, small cleanup
8378 * LaTeX.h: remove friend operator==
8380 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
8392 * BufferView_pimpl.C:
8393 * BufferView.[Ch]: remove cruft
8395 2001-02-14 Juergen Vigna <jug@sad.it>
8397 * lyxfunc.C: removed #if 0 unused code
8399 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
8401 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
8403 * text2.C (SetSelection): added a BufferView * parameter
8405 2001-02-13 Juergen Vigna <jug@sad.it>
8407 * lyxfunc.C (Dispatch): fixed protected blank problem.
8408 * BufferView2.C (protectedBlank): added LyxText * parameter.
8410 * tabular.C (AppendRow): forgot to set row_info of newly added row.
8411 (AppendColumn): same as above for column_info.
8413 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
8414 (moveCursorUpdate): use a LyXText param for support of InsetText.
8416 * BufferView_pimpl.C (doubleClick): added support for InsetText.
8417 (tripleClick): ditto
8419 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
8421 * BufferView_pimpl.C (update): added LyXText param to honor insets.
8423 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
8425 * text2.C (SetSelection): set correct update status if inset_owner
8428 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
8430 * tabular.C: remove some commented code.
8432 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
8434 * BufferView_pimpl.C: call hideSplash()
8436 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
8439 * bibforms.h: remove
8442 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
8443 add LFUN_CHILD_CREATE
8445 * counters.h: fix tiny typo
8450 * lyx.C: move splash to frontends/xforms/
8452 * lyx_gui_misc.C: move Include and Bibform to frontends
8454 * lyxvc.h: clarify comment
8456 * vspace.C: tiny housekeeping
8458 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
8460 * text.C (PrepareToPrint): RTL Fix.
8462 * paragraph.C (GetUChar): New method.
8463 (String): Use GetUChar.
8465 * buffer.C (asciiParagraph): Use GetUChar.
8467 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
8469 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
8471 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8474 * buffer.C: rename to getLogName(), handle
8475 build log / latex log nicely
8477 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8480 * MenuBackend.h: remove support for reference menuitem type.
8482 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8484 * BufferView_pimpl.C: housekeeping
8485 * BufferView_pimpl.h:
8490 * minibuffer.h: move Timeout GUI-I
8492 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8494 * lyxrc.C (read): Update converters data-structures.
8496 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8498 * LaTeX.h (operator!=): add operator != for Aux_Info
8500 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8502 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8504 * LaTeXLog.C: deleted, useful code moved to Buffer
8507 * buffer.C: new function getLatexLogName()
8513 * lyxfunc.C: use frontends for LaTeX and VC logs
8515 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8517 * LaTeX.h: yet another std:: that Allan forgot.
8519 * Variables.C (set): renamed from isset(), because this clashes
8520 with some HP-UX macros (grr).
8522 2001-02-06 Allan Rae <rae@lyx.org>
8524 * LaTeX.h: Another bug fix. Missing std:: this time.
8526 2001-02-04 Allan Rae <rae@lyx.org>
8528 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8529 floats problem. I've left it commented out because it's not quite
8530 correct. It should also test that the current object is a table or
8531 figure inset. But I haven't gotten around to figuring out how to do
8532 that. I *think* it'll be something like: "table" == inset.type()
8534 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8537 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8539 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8540 all the citation/databases/styles in the auxilary file.
8541 (run): Rerun latex if there was a babel language error.
8543 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8545 * text.C (Backspace): Preserve the font when changing newline char
8547 (BreakParagraph): If the cursor is before a space, delete the space.
8549 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8551 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8553 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8554 new argument (code).
8555 (ChangeCitationsIfUnique): New method.
8557 * paragraph.C (GetPositionOfInset): Handle bibkey.
8559 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8561 * BufferView_pimpl.h: change type of Position::par_pos to
8562 LyXParagraph::size_type.
8564 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8566 * BufferView_pimpl.C (savePosition, restorePosition): Write
8567 messages to minibuffer.
8569 2001-01-28 José Matos <jamatos@fep.up.pt>
8571 * buffer.C (makeDocBookFile): adds support for document language.
8572 A silly restriction on the name of LatexCommand types where removed.
8573 Added support for CDATA sections, allows to chars unescaped, used
8574 among others in code, to avoid escape < and >.
8576 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8578 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8579 saved positions instrad of a stack. Furthermore, a position is
8580 stored using paragraph id/paragraph position.
8582 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8583 Remove LFUN_REF_BACK.
8585 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8587 * converter.C (dvipdfm_options): New method.
8589 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8591 * vspace.C (isValidLength): Fix for empty input string.
8593 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8595 * LyXAction.C (init): change description of LFUN_FIGURE to
8598 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8600 * LaTeX.C: add using directive
8602 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8604 * MenuBackend.C (expand): Fix the sorting of the formats.
8606 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8608 * lyx_main.C: tiny error message fix
8610 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8612 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8613 calling fl_initialize(). This fixes the problem with ',' as
8614 decimal separator in text files.
8616 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8618 * trans.C (process): Fix the keymap bug.
8620 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8622 * LaTeX.C (scanAuxFiles): New method. Provides support for
8623 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8624 (scanLogFile) Scan for "run BibTeX" messages.
8626 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8627 OT1 font encoding. Also, load the aecompl package if the ae
8630 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8632 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8634 * texrow.C (increasePos): turn two error messages into debug
8637 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8639 * LaTeX.C (scanAux): Handle the \@input macro.
8640 (runBibTeX): Use scanAux().
8642 * language.C (latex_options_): New field.
8644 * LaTeXFeatures.C (getMacros): Add language macros.
8646 * buffer.C (makeLaTeXFile): Small fix.
8648 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8650 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8652 * text2.C: add a using directive.
8654 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8659 * lyxfunc.C: kill LyXBell.
8661 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8663 * text.C (IsBoundary): Remove the error message
8665 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8667 * lyxrc.C (setDefaults): Correct initialization value for
8670 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8672 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8675 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8678 * src/LyXAction.C: Added reference-next.
8680 * text.C (InsertChar): Use contains instead of strchr.
8682 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8684 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8686 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8687 alignment commands (when needed).
8689 * text.C (InsertChar): Add ':' to number separator chars.