1 2002-12-12 John Levon <levon@movementarian.org>
3 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4 insert. Only remove shift modifier under strict
7 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9 * MenuBackend.C (expandToc): fix crash.
11 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
13 * MenuBackend.C (expandToc): gettext on float names.
15 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
17 * lyxlength.[Ch]: set default unit to UNIT_NONE,
18 implement bool empty() [bug 490]
20 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
22 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
24 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
26 * several files: ws changes
28 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
30 * text2.C (setCounter): clean up a bit, use boost.format.
31 (updateCounters): initialize par upon declaration.
33 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
34 if the layout exists. We do not just store the layout any more.
35 (SwitchLayoutsBetweenClasses): use boost.format
37 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
39 * converter.C (convert): if from and to files are the same, use a
40 temporary files as intermediary
42 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
45 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
47 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
49 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
51 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
53 * tabular.C (asciiPrintCell): use string(size, char) instead of
56 * sgml.C (openTag): fix order of arguments to string constructor
59 * lyxfunc.C (dispatch): use boost.format
61 * lots of files: change "c" -> 'c'
63 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
65 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
67 2002-11-25 Angus Leeming <leeming@lyx.org>
69 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
71 * lyx_main.C (init): compile fix.
73 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * lyx_cb.C (start): boost.formatify
76 do not include <iostream>
78 * lengthcommon.C: ws only
80 * boost-inst.C,BoostFormat.h: add more explict instantations
82 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
84 * lots of files: handle USE_BOOST_FORMAT
86 2002-11-21 John Levon <levon@movementarian.org>
88 * pspell.C: fix compile
90 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
92 * lyxfunc.C (dispatch): use boost::format
96 * lyxfont.C (stateText): use boost::format
98 * lyx_main.C (LyX): use boost::format
100 (queryUserLyXDir): ditto
103 (typedef boost::function): use the recommened syntax.
105 * importer.C (Import): use boost::format
107 * debug.C (showLevel): use boost::format
109 * converter.C (view): use boost::format
114 * bufferview_funcs.C (currentState): use boost::format
116 * bufferlist.C (emergencyWrite): use boost::format
118 * buffer.C (readLyXformat2): use boost::format
119 (parseSingleLyXformat2Token): ditto
121 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
123 * LaTeX.C (run): use boost::format
125 * Chktex.C (scanLogFile): use boost::format
127 * BufferView_pimpl.C (savePosition): use boost::format
128 (restorePosition): ditto
129 (MenuInsertLyXFile): ditto
131 * BoostFormat.h: help file for explicit instation.
133 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
135 * tabular.C (latex): Support for block alignment in fixed width
138 2002-11-17 John Levon <levon@movementarian.org>
140 * BufferView_pimpl.C:
142 * lyxfunc.C: split filedialog into open/save
144 2002-11-08 Juergen Vigna <jug@sad.it>
146 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
147 by my last patch (hopefully).
149 2002-11-08 John Levon <levon@movementarian.org>
158 * toc.C: ParConstIterator, and use it (from Lars)
160 2002-11-07 Ben Stanley <bds02@uow.edu.au>
162 * lyxtextclass.[Ch]: revise and add doxygen comments
164 2002-11-07 John Levon <levon@movementarian.org>
166 * text.C: fix progress value for spellchecker
168 * toc.C: fix navigate menu for insetwrap inside minipage
170 * paragraph_funcs.C: added FIXME for suspect code
172 2002-11-07 John Levon <levon@movementarian.org>
174 * BufferView_pimpl.C: fix redrawing of insets
177 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
179 * text2.C (updateCounters): fix bug 668
181 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
183 * text3.C (dispatch): Do not make the buffer dirty when moving the
186 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
188 * vc-backend.C: STRCONV
191 * text2.C (setCounter): STRCONV
193 * paragraph.C (asString): STRCONV
195 * lyxlength.C (asString): STRCONV
196 (asLatexString): ditto
198 * lyxgluelength.C (asString): STRCONV
199 (asLatexString): ditto
201 * lyxfunc.C (dispatch): STRCONV
204 * lyxfont.C (stateText): STRCONV
206 * importer.C (Import): STRCONV
208 * counters.C (labelItem): STRCONV
210 (numberLabel): remove unused ostringstream o
215 * bufferview_funcs.C (currentState): STRCONV
217 * buffer.C (readFile): STRCONV
218 (asciiParagraph): ditto
219 (makeLaTeXFile): ditto
221 * Spacing.C (writeEnvirBegin): STRCONV
223 * LaTeXFeatures.C (getLanguages): STRCONV
226 (getBabelOptions): ditto
227 (getTClassPreamble): ditto
228 (getLyXSGMLEntities): ditto
229 (getIncludedFiles): ditto
236 * LString.h: add the STRCONV macros
238 * BufferView_pimpl.C (savePosition): STRCONV
239 (restorePosition): ditto
240 (MenuInsertLyXFile): ditto
242 * vc-backend.C (scanMaster): change from submatch[...] to
245 * funcrequest.C: include config.h
247 * factory.C: include config.h
249 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
251 * box.C: include config.h
253 * LaTeX.C (scanAuxFile): change from submatch[...] to
257 2002-10-25 Angus Leeming <leeming@lyx.org>
259 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
261 * ispell.[Ch] (setError): new method.
262 * ispell.C (c-tor): move out child process into new class LaunchIspell.
263 Use setError() insetead of goto END.
265 * lyx_cb.C (AutoSave): move out child process into new class
268 2002-10-30 John Levon <levon@movementarian.org>
270 * text3.C: make start appendix undoable
272 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
274 * lyxlength.C (inPixels): Fix returned value.
276 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
279 2002-10-24 Angus Leeming <leeming@lyx.org>
281 * lyxgluelength.h: no need to forward declare BufferParams
282 or BufferView, so don't.
284 2002-10-21 John Levon <levon@movementarian.org>
286 * BufferView.C: menuUndo ->undo, redo
288 * BufferView.h: document, remove dead, make some methods private
292 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
297 * sgml.C: move sgml open/close tag into sgml.C
299 * bufferview_funcs.h: unused prototype
302 * lyxfunc.C: remove unused
305 * text.C: remove unused
307 2002-10-21 John Levon <levon@movementarian.org>
311 * BufferView_pimpl.h:
312 * BufferView_pimpl.C: fix mouse wheel handling based on
313 patch from Darren Freeman
315 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
317 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
319 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
321 * lyxlength.C (inPixels): Fix hanfling of negative length.
322 Fix LyXLength::MU case.
324 2002-10-16 John Levon <levon@movementarian.org>
326 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
328 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
330 * converter.C (view): add support for $$i (file name) and $$p
331 (file path) for the viewer command. If $$i is not specified, then
332 it is appended to the command (for compatibility with old syntax)
334 2002-10-14 Juergen Vigna <jug@sad.it>
336 * undo_funcs.C (textHandleUndo): alter the order in which the
337 new undopar is added to the LyXText, as we have to set first
338 the right prev/next and then add it as otherwise the rebuild of
339 LyXText is not correct. Also reset the cursor to the right paragraph,
340 with this IMO we could remove the hack in "redoParagraphs()".
342 2002-10-09 Angus Leeming <leeming@lyx.org>
344 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
345 to turn off an optimisation if a new inset is to be inserted.
347 2002-10-11 André Pönitz <poenitz@gmx.net>
349 * lytext.h: make some functions public to allow access
350 from inset/lyxtext for handling LFUN_PRIOR/NEXT
352 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
354 * text3.C (dispatch): when changing layout, avoid an infinite loop
357 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
359 * lyxrc.C (read): treat a viewer or converter command of "none" as
362 * MenuBackend.C (expandFormats): for an update, also allow the
363 formats that are not viewable
365 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
366 script if it is newer than the lyxrc.defaults in user directory
368 2002-10-07 André Pönitz <poenitz@gmx.net>
370 * text.C: Vitaly Lipatov's small i18n fix
372 2002-09-25 Angus Leeming <leeming@lyx.org>
374 * ispell.h: doxygen fix.
376 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
378 * buffer.h (readFile): Add a new argument to the method, to allow
379 reading of old-format templates.
381 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
383 * toc.C (getTocList): Get TOC from InsetWrap.
385 2002-09-16 John Levon <levon@movementarian.org>
387 * lyxfunc.C: check tabular for cut/copy too
389 2002-09-12 John Levon <levon@movementarian.org>
394 * factory.C: add header
397 * paragraph_funcs.C: cleanup
399 2002-09-11 John Levon <levon@movementarian.org>
401 * PrinterParams.h: odd/even default to true
403 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
405 * PrinterParams.h: update printer parameters for new xforms dialog
407 2002-09-11 Angus Leeming <leeming@lyx.org>
409 * lyxserver.C (read_ready): re-write to make it more transparent
410 and to make it work in coherent fashion under Tru64 Unix.
412 2002-09-11 André Pönitz <poenitz@gmx.net>
416 * text3.C: implement LFUN_WORDSEL
418 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
420 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
421 make floatlist_ a boost::shared_ptr<FloatList>
423 * lyxtextclass.C: include FloatList.h
424 (LyXTextClass): initialize floatlist_
425 (TextClassTags): add TC_NOFLOAT
426 (Read): match "nofloat" to TC_NOFLOAT and use it.
427 (readFloat): modify call to floatlist_
431 * FloatList.[Ch] (FloatList): remove commented out float
433 (erase): new function
435 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
437 * MenuBackend.C (expandToc): fix crash when there is no document
440 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
442 * many files: Add insetwrap.
444 2002-09-09 John Levon <levon@movementarian.org>
446 * text2.C: remove confusing and awkward depth wraparound
448 2002-09-09 John Levon <levon@movementarian.org>
450 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
453 * buffer.C: remove getIncludeonlyList()
456 * lyxfunc.C: remove headers
458 2002-09-09 Juergen Vigna <jug@sad.it>
460 * text.C (getColumnNearX): fix form Michael this is most
461 probably a cut&paste bug.
463 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
465 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
467 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
468 references, ws changes.
470 * text2.C (init): update counters after init
471 (insertParagraph): no need to set counter on idividual paragraphs.
472 (setCounter): access the counters object in the textclass object
473 on in the buffer object.
474 (updateCounters): ditto
476 * lyxtextclass.C: include counters.h, add variable ctrs_ as
477 shared_ptr<Counters> to avoid loading counters.h in all
479 (LyXTextClass): initialize ctrs_
480 (TextClassTags): add TC_COUNTER, and ...
482 (CounterTags): new tags
483 (readCounter): new function
484 (counters): new funtion
485 (defaultLayoutName): return a const reference
487 * counters.C (Counters): remove contructor
488 (newCounter): remove a couple of unneeded statements.
489 (newCounter): simplify a bit.
490 (numberLabel): some small formatting changes.
492 * buffer.[Ch]: remove all traces of counters, move the Counters
493 object to the LyXTextClass.
495 2002-09-06 Alain Castera <castera@in2p3.fr>
497 * tabular.C: uses \tabularnewline; uses >{...} construct from array
498 package to set the horizontal alignment on fixed width columns.
501 * lyx_sty.h: added tabularnewline macro def.
503 * LaTeXFeatures.C: added NeedTabularnewline macro feature
505 2002-09-06 John Levon <levon@movementarian.org>
507 * LyXAction.C: tooltips for sub/superscript
509 * MenuBackend.C: a bit more verbose
511 * lyxfunc.C: tiny clean
513 * undo_funcs.C: document undo_frozen
515 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
517 * counters.C (Counters): add missing algorithm counter.
519 * text2.C (setCounter): lookup the counter with layouts latexname
520 instead of by section number.
521 (setCounter): use a hackish way to lookup the correct enum
523 a float name->type change
524 reset enum couners with counter name directly instead of depth value.
526 * counters.C (Counters): remove the push_backs, change to use the
527 float type not the float name.
528 (labelItem): remove unused string, float name->type change
530 * counters.h: don't include vector, loose the enums and sects vectors
532 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
534 * lyxtextclass.C (TextClassTags): add TC_FLOAT
535 (Read): add float->TC_FLOAT to textclassTags
536 (Read): and handle it in the switch
537 (readFloat): new function
539 * FloatList.C (FloatList): comment out the hardcoded float
542 * lyxlayout.h: ws change.
544 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
546 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
548 2002-09-03 Angus Leeming <leeming@lyx.org>
550 * BufferView_pimpl.h: qualified name is not allowed in member
551 declaration: WorkArea & Pimpl::workarea() const;
553 * factory.C: added using std::endl directive.
555 * text3.C: added using std::find and std::vector directives.
557 2002-08-29 André Pönitz <poenitz@gmx.net>
560 * text2.C: remove unused member number_of_rows
563 * BufferView2.C: remove file, move contents to...
564 * BufferView.C: ... here
566 * BufferView_pimpl.C:
567 * factory.C: move more inset creation to factory
569 * vspace.C: avoid direct usage of LyXText, ws changes
572 don't provide direct access to WorkArea, use two simple
573 acessors haveSelction() and workHeight() instead
576 2002-08-29 John Levon <levon@movementarian.org>
578 * BufferView_pimpl.C (dispatch): do not continue when
581 2002-08-28 André Pönitz <poenitz@gmx.net>
583 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
586 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
588 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
590 * buffer.C: increment LYX_FORMAT to 221
592 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
593 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
595 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
597 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
599 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
601 * factory.C (createInset): use LyXTextClass::floats
603 * MenuBackend.C (expandFloatListInsert):
607 * text2.C (setCounter):
609 * LaTeXFeatures.C (useFloat):
610 (getFloatDefinitions):
612 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
614 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
615 floatlist_, with accessor floats().
617 * FloatList.h: remove global FloatList
619 2002-08-26 André Pönitz <poenitz@gmx.net>
621 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
625 * BufferView_pimpl.C:
626 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
628 2002-08-25 John Levon <levon@movementarian.org>
630 * LyXAction.C: fix margin note description
632 2002-08-24 John Levon <levon@movementarian.org>
636 * bufferview_funcs.C:
638 * undo_funcs.C: cleanups
640 * lyxfunc.C: disable CUT/COPY when no selection
642 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
644 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
645 in "enum UNIT"; e.g. PTW for Percent of TextWidth
647 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
648 Add backward compatibility to "mono", "gray" and "no".
650 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
652 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
653 (and file_format >= 200).
655 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
657 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
659 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
661 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
663 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
665 * BufferView_pimpl.C:
672 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
673 inset and code to make it work with the paragraph code. The inset
674 can be anywhere in the paragraph, but will only do the expected
675 thing in LaTeX if the layout file contains the parameter line
677 (or more generally, a nonzero value) for that layout.
679 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
681 * paragraph.h: remove the declaration of undefined counters class
684 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
686 * text2.C (setCounter): fixed enumeration mis-count as reported by
689 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
691 * paragraph_funcs.h: remove some unneeded includes
693 * text.C (backspace): pasteParagraph now in global scipe
695 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
696 (pasteSelection): ditto
698 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
699 * paragraph_funcs.C (pasteParagraph): ... here
701 2002-08-20 André Pönitz <poenitz@gmx.net>
703 * commandtags.h: new LFUNs for swapping/copying table row/colums
706 * lyxfunc.C: support for new lfuns
708 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
711 * buffer.[Ch]: remove NO_COMPABILITY stuff
713 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
715 * boost.C (throw_exception): new file, with helper function for
716 boost compiled without exceptions.
722 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
724 * bufferlist.C (emergencyWriteAll): use boost bind
726 * BufferView_pimpl.C (moveCursorUpdate): remove inline
728 * text.C: include paragraph_funcs.h
729 (breakParagraph): breakParagraph is now in global scope
731 * paragraph_funcs.[Ch]: new files
733 * paragraph.C (breakParagraph,breakParagraphConservative): move to
736 * buffer.C: include paragraph_funcs.h
737 (insertStringAsLines): breakParagraph is now in global scope
739 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
742 * CutAndPaste.C: include paragraph_funcs.h
743 (cutSelection): breakParagraphConservative is now in global scope
744 (pasteSelection): ditto
746 * buffer.h: declare oprator== and operator!= for
747 Buffer::inset_iterator
749 * bufferlist.C (emergencyWrite): don't use fmt(...)
751 * text3.C: add using std::endl
753 * BufferView.C (moveCursorUpdate): remove default arg
755 2002-08-20 André Pönitz <poenitz@gmx.net>
757 * buffer.[Ch]: move inline functions to .C
760 * BufferView_pimpl.C:
762 * buffer.[Ch]: use improved inset_iterator
765 * paragraph.[Ch]: write one paragraph at a time
767 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
769 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
770 style if style is not specified.
772 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
774 * text2.C (setCounter): when searching for right label for a
775 caption, make sure to recurse to parent insets (so that a caption
776 in a minipage in a figure float works) (bug #568)
778 2002-08-20 André Pönitz <poenitz@gmx.net>
780 * text3.C: new file for LyXText::dispatch() and helpers
782 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
784 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
786 2002-08-19 André Pönitz <poenitz@gmx.net>
789 * text.C: new LyXText::dispatch()
791 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
793 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
795 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
797 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
800 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
802 * Makefile.am: use $(variables) instead of @substitutions@
804 2002-08-15 André Pönitz <poenitz@gmx.net>
807 * BufferView_pimpl.C: streamlining mathed <-> outer world
811 * LyXAction.C: remove unused LFUN_MATH
813 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * paragraph.[Ch]: add some NO_NEXT ifdefs.
817 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * paragraph.C (Paragraph): reformat a bit
820 (cutIntoMinibuffer): use builtin InsetList function instad of
824 * buffer.C: include boost/bind.hpp, add using std::for_each
825 (writeFileAscii): use ParagraphList iterators
826 (validate): use for_each for validate traversal of paragraphs
827 (getBibkeyList): use ParagraphList iterators
828 (resizeInsets): use for_each to resizeInsetsLyXText for all
830 (getParFromID): use ParagraphList iterators
832 * BufferView2.C (lockInset): use paragraph list and iterators
834 2002-08-14 John Levon <levon@movementarian.org>
836 * lyxserver.C: remove spurious xforms include
838 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
840 * lyxfunc.C (getStatus): disable math-extern outside of math mode
842 2002-08-13 André Pönitz <poenitz@gmx.net>
845 * lyxfunc.C: further cleaning
847 2002-08-13 André Pönitz <poenitz@gmx.net>
849 * funcrequest.h: new constructor
851 * funcrequest.C: move stuff here from .h
854 * BufferView_pimpl.C:
857 * lyxfunc.C: subsequent changes
859 * lyxfunc.h: new view() member function
861 * lyxfunc.C: subsequent changes
863 2002-08-13 Angus Leeming <leeming@lyx.org>
866 * BufferView_pimpl.C:
874 changes due to the changed LyXView interface that now returns references
875 to member variables not pointers.
877 2002-08-13 Angus Leeming <leeming@lyx.org>
879 * WordLangTuple (word, lang_code): return references to strings,
884 * lyxtext.h: forward-declare WordLangTuple.
889 * text.C: #include "WordLangTuple.h".
892 * text.C: (selectNextWordToSpellcheck): constify return type.
894 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
903 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
905 Made updateCounter always count from start of buffer, and removed
906 second argument (par).
907 Reverted floats number display to '#'. Perhaps I'll try again when the
908 code base is sanitized a bit.
910 2002-08-12 Angus Leeming <leeming@lyx.org>
912 * buffer.[Ch] (getLabelList): constify.
914 2002-08-07 André Pönitz <poenitz@gmx.net>
916 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
918 * funcrequest.h: extension to keep mouse (x,y) position
920 2002-08-12 Juergen Vigna <jug@sad.it>
922 * BufferView2.C (insertErrors): forbid undo when inserting error
925 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
927 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
929 * ParagraphList.[Ch]: new files
931 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
933 * BufferView2.C (lockInset): ParagraphList changes
936 * bufferlist.C: ditto
940 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
942 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
943 unused class variable counter_,
945 * paragraph.[Ch] (getFirstCounter): delete unused function
947 * counters.C: include LAssert.h
948 (reset): add a new function with no arg, change other version to
949 not have def. arg and to not allow empty arg.
951 * text2.C (setCounter): remove empty arg from call to Counters::reset
953 2002-08-11 John Levon <levon@movementarian.org>
955 * Makefile.am: add WordLangTuple.h
957 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
959 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
960 lyxfunc.C lyxlex_pimpl.C: ws changes only.
962 * insets/insettext.C: InsetList changes
964 * graphics/GraphicsSupport.C (operator()): InsetList changes
966 * toc.C (getTocList): InsetList changes
968 * paragraph_pimpl.[Ch]: InsetList changes
970 * paragraph.[Ch]: InsetList changes
972 * buffer.C (inset_iterator): InsetList changes
973 (setParagraph): ditto
974 * buffer.h (inset_iterator): ditto
975 * iterators.C (operator++): ditto
978 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
980 * InsetList.[Ch]: new files, most InsetList handling moved out of
983 * BufferView2.C (removeAutoInsets): InsetList changes
985 (ChangeInsets): ditto
987 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
989 * paragraph_pimpl.h (empty): new function
991 * paragraph.[Ch] (empty): new function
993 * other files: use the new Paragraph::empty function
995 2002-08-09 John Levon <levon@movementarian.org>
997 * lyxtext.h: remove unused refresh_height
999 2002-08-09 John Levon <levon@movementarian.org>
1006 * paragraph.C: move sgml char escaping out of paragraph
1009 * paragraph.C: remove id setter
1013 * paragraph_pimpl.C: remove dead tex_code_break_column
1015 * bufferview_funcs.C: small cleanup
1017 * lyxfunc.C: remove dead proto
1019 * lyxtext.h: make some stuff private. Remove some dead stuff.
1021 * lyxgluelength.C: make as[LyX]String() readable
1023 2002-08-08 John Levon <levon@movementarian.org>
1028 * ToolbarDefaults.C:
1031 * toc.C: lyxaction cleanup
1033 2002-08-08 John Levon <levon@movementarian.org>
1035 * BufferView2.C: small cleanup
1038 * lyxfind.C: move unnecessary header into the .C
1040 2002-08-08 John Levon <levon@movementarian.org>
1042 * funcrequest.h: just tedious nonsense
1045 * lyx_main.C: cleanups
1048 * vspace.C: remove dead header lyx_main.h
1050 2002-08-07 Angus Leeming <leeming@lyx.org>
1053 * paragraph_pimpl.h:
1054 Forward declare class Counters in paragraph.h by moving the ctrs member
1055 variable into Paragraph::Pimpl.
1056 (counters): new method, returning a reference to pimpl_->ctrs.
1058 * text2.C: ensuing changes.
1060 2002-08-07 John Levon <levon@movementarian.org>
1062 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1064 * BufferView_pimpl.C: announce X selection on double/triple
1067 * lyx_main.C: use correct bool in batch dispatch
1069 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1071 2002-08-07 André Pönitz <poenitz@gmx.net>
1073 * funcrequest.h: new class to wrap a kb_action and its argument
1076 * BufferView_pimpl[Ch]:
1080 * lyxrc.C: subsequent changes
1083 2002-08-07 John Levon <levon@movementarian.org>
1085 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1086 document options change.
1088 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1093 * makefile.am: move counters functionality over from
1094 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1096 2002-08-06 John Levon <levon@movementarian.org>
1098 * WordLangTuple.h: new file for word + language code tuple
1109 * BufferView2.C: use WordLangTuple
1112 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1114 2002-08-06 John Levon <levon@movementarian.org>
1116 * lyx_main.C: fix cmdline batch handling
1118 2002-08-06 André Pönitz <poenitz@gmx.net>
1120 * lyxrc.C: set default for show_banner to true
1122 2002-08-06 John Levon <levon@movementarian.org>
1124 * pspell.C: fix a crash, and allow new aspell to work
1126 2002-08-06 John Levon <levon@movementarian.org>
1129 * kbmap.C: small cleanup
1132 * vspace.C: add const
1134 2002-08-05 John Levon <levon@movementarian.org>
1136 * LyXAction.C: back to tabular-insert
1138 2002-08-04 John Levon <levon@movementarian.org>
1141 * BufferView.C: cosmetic change
1143 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1153 * BufferView2.C: purge all "Lyx" not "LyX" strings
1156 * lyxcursor.C: attempt to add some documentation
1161 * ToolbarDefaults.C:
1162 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1163 merge with LFUN_TABULAR_INSERT
1170 * pspell.C: split up i/pspell implementations into separate
1171 files, many cleanups
1173 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1175 * text2.C: some cleanup
1177 * lyxfunc.C: don't check for isp_command == "none" any more, it
1178 didn't make any sense
1180 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1185 * makefile.am: move counters functionality over
1186 from text2.C/paragraph.[Ch] to counters.[Ch], and
1188 2002-08-02 John Levon <levon@movementarian.org>
1190 * buffer.C: s/lyxconvert/lyx2lyx/
1192 2002-08-02 Angus Leeming <leeming@lyx.org>
1194 * lyxlex.C: revert John's change as it breaks reading of the user
1197 2002-08-02 Angus Leeming <leeming@lyx.org>
1199 * importer.C (Import):
1200 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1201 changes due to LyXView::view() now returning a boost::shared_ptr.
1203 2002-08-02 John Levon <levon@movementarian.org>
1205 * lyxlex.C: small cleanup
1207 2002-08-02 John Levon <levon@movementarian.org>
1209 * text2.C (status): small cleanup, no logic change
1211 2002-08-01 John Levon <levon@movementarian.org>
1214 * buffer.C (writeFile): don't output alerts, caller
1218 * lyx_cb.C: from above
1220 * lyxfunc.C: allow to open non-existent files
1222 2002-07-31 John Levon <levon@movementarian.org>
1224 * lyxserver.C: don't let incidental errors get
1227 2002-07-30 John Levon <levon@movementarian.org>
1229 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1231 2002-07-30 John Levon <levon@movementarian.org>
1234 * lyxserver.C: remove I/O callback too
1236 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1238 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1241 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1243 * many files: strip,frontStrip -> trim,ltrim,rtrim
1245 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1247 * PrinterParams.h: remove extern containsOnly, and include
1248 support/lstrings.h instead.
1250 * LaTeX.C (scanAuxFile): modify because of strip changes
1252 * buffer.C (makeLaTeXFile): ditto
1253 * bufferparams.C (writeFile): ditt
1254 * lyxfont.C (stateText): ditto
1255 * lyxserver.C (read_ready): ditto
1256 * vc-backend.C (scanMaster): ditto
1258 * BufferView_pimpl.h: ws changes
1260 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1262 2002-07-26 André Pönitz <poenitz@gmx.net>
1264 * kb_sequence.C: remove unnedred usings
1266 2002-07-26 Juergen Vigna <jug@sad.it>
1268 * lyxfind.C (LyXReplace): we have to check better if the returned
1269 text is not of theLockingInset()->getLockingInset().
1271 2002-07-25 Juergen Vigna <jug@sad.it>
1273 * lyxfind.C (LyXReplace): don't replace if we don't get the
1276 * undo_funcs.C (createUndo): remove debugging code.
1278 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1280 * buffer.C (parseSingleLyXformat2Token): Use default placement
1281 when reading old floats.
1283 * FloatList.C (FloatList): Change the default placement of figure
1284 and tables to "tbp".
1286 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1288 * MenuBackend.C: using std::max
1290 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1292 * MenuBackend.C (expandToc):
1293 (expandToc2): code moved from xforms menu frontend. It is now
1294 generic and TOCs are transparent to menu frontends.
1296 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1298 * toc.C (getTocList): protect against buf=0
1300 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1301 Menu as first parameter. Now, this calls itself recursively to
1302 expand a whole tree (this will be useful for TOC handling)
1303 (expandFloatInsert): remove 'wide' version of floats
1305 * MenuBackend.h (submenuname): returns the name of the submenu.
1306 (submenu): returns the submenu itself, provided it has been
1307 created by MenuBackend::expand
1309 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1311 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1312 insets which have noFontChange == true. (bug #172)
1314 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1316 * BufferView_pimpl.C: add connection objects and use them...
1319 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1321 * MenuBackend.C (expandLastfiles):
1324 (expandFloatListInsert):
1325 (expandFloatInsert):
1326 (expand): split expand in parts
1328 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1330 * lyx_gui.C: use lyx_gui::exit()
1332 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1334 * LyXAction.C: show the failing pseudo action
1336 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1338 * buffer.C (readFile): Run the lyxconvert script in order to read
1341 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1345 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1347 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1351 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1353 2002-07-22 Herbert Voss <voss@lyx.org>
1356 * lyxlength.[Ch]: add support for the vertical lengths
1358 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1360 * toc.[Ch]: std:: fixes
1362 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1364 * lyxrc.C: do not include lyx_main.h
1366 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1372 * BufferView2.C: include "lyxlex.h"
1375 * bufferparams.h: do not #include "lyxlex.h"
1377 * lyxtextclasslist.C (Add): remove method
1378 (classlist): renamed to classlist_
1380 * paragraph_pimpl.C:
1384 * bufferview_funcs.C:
1389 * toc.C (getTocList): use BufferParams::getLyXTextClass
1391 * toc.C (getTocList): use InsetFloat::addToToc
1393 * toc.[Ch]: new files, containing helper functions to handle table
1396 * lyxfunc.C (dispatch): no need to remove spaces around command
1398 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1399 first command of the sequence; it is not very clever, but I do not
1400 have a better idea, actually
1402 * LyXAction.C (LookupFunc): make sure to remove space at the
1403 beginning and end of the command
1405 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1407 * MenuBackend.C (getMenubar): new method: return the menubar of
1409 (read): treat differently reading of menu and menubar (in
1410 particular, the menubar has no name now)
1411 (Menu::menubar): remove
1413 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1416 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1418 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1419 a bibitem inset in a RTL paragraph.
1421 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1423 * paragraph_pimpl.C: constify
1425 * BufferView_pimpl.C:
1427 * lyxfunc.C: fix dispatch in a nicer way
1429 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1431 * lyxfunc.C (dispatch):
1432 * BufferView_pimpl.C:
1433 * BufferView_pimpl.h:
1435 * BufferView.h: rename Dispatch() to dispatch()
1437 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1439 * lyxlayout.C (Read): honor DependsOn tag
1441 * lyxlayout.[Ch] (depends_on): new method
1443 * version.C.in: update lyx_docversion
1445 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1447 * paragraph.C (validate): remove from here...
1448 * paragraph_pimpl.C (validate): ... and move here
1449 (isTextAt): make it const
1451 * buffer.C (getLists): ws cleanup
1453 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1455 * language.C (read): Use iso8859-1 encoding in latex_lang
1456 (this prevents LyX from crashing when using iso10646-1 encoding).
1458 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1460 * text2.C (toggleInset): if cursor is inside an inset, close the
1461 inset and leave cursor _after_ it
1463 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1465 * lyxfunc.C: move minibuffer completion handling out of here
1467 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1469 * BufferView_pimpl.C:
1470 * LaTeX.C: fix dispatch calls
1472 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1474 * text.C (drawChars): Fix Arabic text rendering.
1476 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1480 * lyxfunc.C: remove message-push/pop
1484 * lyxfunc.C: rationalise some code by removing verboseDispatch
1485 in favour of a bool argument to dispatch()
1487 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1489 * lyx_main.C (init): make sure to read symlinks as absolute paths
1491 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1494 * lyxfunc.C: no need for commandshortcut to be a member
1496 2002-07-15 André Pönitz <poenitz@gmx.net>
1498 * converter.C: add support for $$s (scripts from lib/scripts dir)
1499 * lyx_main.C: white space
1501 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1505 * lyxrc.C: remove second exit confirmation
1507 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1512 * BufferView_pimpl.h:
1513 * BufferView_pimpl.C:
1514 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1516 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1518 * MenuBackend.C (expand): add numeric shortcuts to document menu
1520 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1522 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1524 * lyxfont.C (setLyXFamily):
1531 * buffer.C (asciiParagraph): use ascii_lowercase
1533 2002-07-15 Mike Fabian <mfabian@suse.de>
1535 * lyxlex_pimpl.C (search_kw):
1536 * lyxlex.C (getLongString):
1537 * converter.h (operator<):
1538 * converter.C (operator<):
1539 * buffer.C (parseSingleLyXformat2Token):
1541 * ToolbarDefaults.C (read):
1542 * MenuBackend.C (checkShortcuts):
1544 * LColor.C (getFromGUIName):
1545 (getFromLyXName): use the compare_ascii_no_case instead of
1546 compare_no_case, because in turkish, 'i' is not the lowercase
1547 version of 'I', and thus turkish locale breaks parsing of tags.
1549 2002-07-16 Angus Leeming <leeming@lyx.org>
1551 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1552 now takes a Buffer const & argument.
1554 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1556 * BufferView.C (resize): check there's a buffer to resize
1558 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1560 * lyxfunc.C: remove dead code
1563 * lyxserver.C: use lyx_guii::set_read_callback
1565 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1567 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1568 an inset in a RTL paragraph.
1570 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1572 * lyxfunc.C: repaint after a font size update
1574 2002-07-15 André Pönitz <poenitz@gmx.net>
1576 * lyxlength.C: inBP should be able to return negative values
1578 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1580 * lyxfunc.C: use lyx_gui::update_fonts()
1582 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1584 * lyxfunc.C: use lyx_gui::update_color()
1586 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1592 * lyxrc.C: remove file->new asks for name option, and let
1593 buffer-new take an argument
1595 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1597 * BufferView_pimpl.C: remove unneeded extra repaint()
1599 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1601 * LyXAction.C: allow command-sequence with NoBuffer
1603 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1605 2002-07-10 Angus Leeming <leeming@lyx.org>
1607 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1609 2002-07-09 Angus Leeming <leeming@lyx.org>
1611 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1613 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1615 * lengthcommon.h: whitespace
1617 * lyxfunc.C: update scrollbar after goto paragraph
1619 * lyxtext.h: factor out page break drawing, and fix it so
1620 page break/added space paints as selected nicely
1622 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1624 * BufferView_pimpl.C: add FIXMEs, clean up a little
1626 2002-07-09 André Pönitz <poenitz@gmx.net>
1628 * lyxfont.[Ch]: support for wasy symbols
1630 2002-07-08 André Pönitz <poenitz@gmx.net>
1632 * BufferView_pimpl.C: apply John's patch for #93.
1634 2002-07-05 Angus Leeming <leeming@lyx.org>
1636 * BufferView_pimpl.C (buffer): generate previews if desired.
1638 * LColor.h: add "preview" to the color enum.
1640 * LColor.C (LColor): add a corresponding entry to the items array.
1642 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1645 2002-07-05 Angus Leeming <leeming@lyx.org>
1647 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1648 The body of the code is now in the method that is passed an ostream &
1649 rather than a file name.
1650 Pass an additional only_preamble parameter, useful for the forthcoming
1653 2002-07-03 André Pönitz <poenitz@gmx.net>
1655 * lyxfunc.C: simplify getStatus() a bit for math stuff
1657 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1659 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1661 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1663 * text.C (changeRegionCase): do not change case of all the
1664 document when region ends at paragraph end (bug #461)
1666 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1668 * paragraph.C (startTeXParParams):
1669 (endTeXParParams): add \protect when necessary
1671 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1673 * BufferView_pimpl.C (workAreaExpose): remove warning
1675 2002-06-27 Angus Leeming <leeming@lyx.org>
1677 * Makefile.am: add lyxlayout_ptr_fwd.h.
1679 2002-06-26 André Pönitz <poenitz@gmx.net>
1681 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1683 2002-06-25 Angus Leeming <leeming@lyx.org>
1685 * lyxfunc.C (dispatch): Comment out the call to
1686 grfx::GCache::changeDisplay. The method no longer exists now that the
1687 pixmap generation part of the graphics loader has been moved into
1690 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1692 * text2.C: layout as layout
1694 * text.C: layout as layout
1696 * tabular.C (OldFormatRead): layout as layout
1698 * paragraph_pimpl.C (TeXDeeper): layout as layout
1699 (realizeFont): layout as layout
1701 * paragraph.C (writeFile): layout as layout
1702 (validate): layout as layout
1703 (getFont): layout as layout
1704 (getLabelFont): layout as layout
1705 (getLayoutFont): layout as layout
1706 (breakParagraph): layout as layout
1707 (stripLeadingSpaces): layout as layout
1708 (getEndLabel): layout as layout
1709 (getMaxDepthAfter): layout as layout
1710 (applyLayout): layout as layout
1711 (TeXOnePar): layout as layout
1712 (simpleTeXOnePar): layout as layout
1713 (TeXEnvironment): layout as layout
1714 (layout): layout as layout
1715 (layout): layout as layout
1717 * lyxtextclass.C (compare_name): new functor to work with
1718 shared_ptr, layout as layout
1719 (Read): layout as layout
1720 (hasLayout): layout as layout
1721 (operator): layout as layout
1722 (delete_layout): layout as layout
1723 (defaultLayout): layout as layout
1725 * lyxlayout_ptr_fwd.h: new file
1727 * lyxlayout.C (Read): layout as layout
1729 * lyx_cb.C (MenuInsertLabel): layout as layout
1731 * bufferlist.C (newFile): layout as layout
1733 * buffer.C (readLyXformat2): layout as layout
1734 (parseSingleLyXformat2Token): layout as layout
1735 (insertStringAsLines): layout as layout
1736 (asciiParagraph): layout as layout
1737 (latexParagraphs): layout as layout
1738 (makeLinuxDocFile): layout as layout
1739 (simpleLinuxDocOnePar): layout as layout
1740 (makeDocBookFile): layout as layout
1741 (simpleDocBookOnePar): layout as layout
1742 (getLists): layout as layout
1744 * LaTeXFeatures.C (getTClassPreamble): layout as layout
1746 * CutAndPaste.C (cutSelection): layout as layout
1747 (pasteSelection): layout as layout
1748 (SwitchLayoutsBetweenClasses): layout as layout
1750 * BufferView_pimpl.C (Dispatch): layout as layout
1751 (smartQuote): layout as layout
1753 * BufferView2.C (unlockInset): layout as layout
1755 2002-06-24 André Pönitz <poenitz@gmx.net>
1757 * lyxfunc.C: fix #487
1759 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1763 * lyxfunc.C: remove display_shortcuts, show_banner
1765 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1767 * Buffer_pimpl.C: oops, update on resize
1769 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1776 * BufferView.C: use repaint()
1778 * BufferView_pimpl.h:
1779 * BufferView_pimpl.C: s/updateScreen()/repaint()/
1780 as it's a clearer description. Remove superfluous
1783 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1785 * text.C: fix bug 488. Not ideal, but getting
1786 getWord() to work properly for the insets that
1787 matter is more difficult ...
1789 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1791 * BufferView_pimpl.C:
1794 * lyxfunc.C: remove the six million index lyxfuncs to just
1795 one, and DTRT (bug 458)
1797 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1801 * BufferView_pimpl.h:
1802 * BufferView_pimpl.C: clean up resize() stuff,
1803 and unnecessary updateScreen()s
1805 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1809 * BufferView_pimpl.h:
1810 * BufferView_pimpl.C:
1813 * minibuffer.C: remove focus management of workarea,
1814 not needed. Use screen's greyOut()
1816 2002-06-17 Herbert Voss <voss@lyx.org>
1818 * converter.C: (convert) do not post a message, when converting
1819 fails, let the calling function decide what to do in this case
1821 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1823 * lyxfunc.C: tidy up a little
1825 2002-06-16 <alstrup@diku.dk>
1827 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1828 Got rid of FORMS_H_LOCATION include. Now we are
1831 2002-06-15 LyX Development team <lyx@rilke>
1833 * buffer.[Ch] (sgmlOpenTag):
1834 (sgmlCloseTag): Added support for avoiding pernicious mixed
1835 content. Return number of lines written.
1838 (makeDocBookFile): Fixed calls to sgml*Tag.
1839 Simple white space clean.
1841 (simpleDocBookOnePar): Simple white space clean.
1843 * tabular.[Ch] (docBook): Renamed to docbook and got another
1844 argument to related with the pernicious mixed content.
1846 (docbookRow): Fixed calls for docbook inset method.
1848 2002-06-15 Lyx Development team <larsbj@birdstep.com>
1850 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1851 so it's X11 independent.
1855 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1857 2002-06-15 Lyx Development team <lyx@electronia>
1859 * intl.h: Renamed getTrans to getTransManager.
1861 2002-06-14 Angus Leeming <leeming@lyx.org>
1863 * Makefile.am: nuke forgotten stl_string_fwd.h.
1865 2002-06-12 Angus Leeming <leeming@lyx.org>
1867 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1869 2002-06-13 Angus Leeming <leeming@lyx.org>
1872 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1874 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
1876 * kbmap.C (getiso): add support for cyrillic and greek
1878 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1882 * BufferView_pimpl.h:
1883 * BufferView_pimpl.C: move bogus scrolling logic
1886 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1889 * BufferView_pimpl.C: view->resize() change
1891 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1893 * BufferView_pimpl.C: topCursorVisible
1896 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1900 * lyx_gui.C: move to frontends/
1904 * lyx_main.C: changes from above
1906 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1913 * lyx_main.C: minor tidy
1915 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1917 * BufferView_pimpl.h:
1918 * BufferView_pimpl.C:
1920 * BufferView.C: make painter() const,
1923 * BufferView2.C: use screen() accessor
1926 * lyx_main.C: some minor cleanup
1928 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1930 * BufferView_pimpl.h:
1931 * BufferView_pimpl.C: remove enter/leaveView,
1934 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1939 * BufferView_pimpl.h:
1940 * BufferView_pimpl.C: only construct screen once,
1943 * lyxrc.C: remove pointless comment
1945 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1948 * BufferView.C: remove active() and belowMouse()
1950 * BufferView_pimpl.h:
1951 * BufferView_pimpl.C: use workarea() not workarea_,
1952 and make it use a scoped_ptr instead
1954 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1956 * lyx_gui.C: add debug message on BadWindow
1958 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1960 * sp_spell.C: fdopen is not part of the C++ standard.
1962 * paragraph.C (InsetIterator): use >= instead of ==
1964 2002-06-07 Angus Leeming <leeming@lyx.org>
1966 Fixes needed to compile with Compaq cxx 6.5.
1967 * BufferView_pimpl.C:
1974 * lyxtextclasslist.C:
1979 all c-library variables have been moved into namespace std. Wrap
1980 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1985 Add a using std::abs declaration.
1987 * kbmap.h (modifier_pair):
1988 * paragraph.h (InsetTable, InsetList):
1989 * lyxfont.h (FontBits):
1990 type definition made public.
1992 * bufferlist.C (emergencyWriteAll): the compiler complains that
1993 there is more than one possible lyx::class_fun template to choose from.
1994 I re-named the void specialisation as lyx::void_class_fun.
1996 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
1998 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
1999 the compiler is is unable to find tostr in write_attribute.
2001 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2003 * buffer.C (sgmlError): hide #warning
2005 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2007 * xtl/*: get rid of xtl, which is not in use anyway
2009 * LyXAction.C (init):
2010 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2011 were unimplemented xtl experimentation
2013 2002-06-04 André Pönitz <poenitz@gmx.net>
2015 * lyxfunc.C: disable array operation on simple formulae
2017 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2019 * converter.C: constify a bit
2021 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2023 * lyx_gui.C: check xforms version correctly
2025 2002-04-30 Herbert Voss <voss@lyx.org>
2027 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2030 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2032 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2033 attempt to register it with a VCS)
2035 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2037 * lyx_main.C (init): honor variables LYX_DIR_13x and
2040 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2044 * lyx_main.C: fix a crash on bad command line,
2045 and give a useful exit status on error
2047 * lyxfunc.C (doImport): allow -i lyx to work
2049 2002-03-30 André Pönitz <poenitz@gmx.net>
2051 * lyxfunc.C: mathed font changes
2053 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2068 * trans_mgr.h: srcdocs, and some minor cleanups
2070 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2072 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2073 call getFont all the time)
2075 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2077 * switch from SigC signals to boost::signals
2079 2002-05-29 André Pönitz <poenitz@gmx.net>
2081 * paragraph_pimpl.C (getChar): don't call size() too often...
2083 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2085 * paragraph_pimpl.C (insertChar): do not try to update tables when
2086 appending (pos == size())
2088 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2089 in order to reduce drastically the number of comparisons needed to
2090 parse a large document
2092 2002-05-29 André Pönitz <poenitz@gmx.net>
2098 * textclasslist.[Ch]:
2099 * sp_ispell.h: whitespace change
2101 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2103 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2104 lyxaction directly now.
2106 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2110 * lyxvc.C: remove unused headers
2112 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2119 * undo_funcs.C: some cleanups. Use shared_ptr
2120 and a template for the undo stacks.
2122 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2124 * BufferView_pimpl.h:
2125 * BufferView_pimpl.C:
2132 * text2.C: use key_state/mouse_state
2134 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2136 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2139 * chset.C: change include order
2140 (loadFile): use boost regex and get rid of LRegex and LSubstring
2142 * Makefile.am (BOOST_LIBS): new variable
2145 * LaTeX.C: change include order.
2146 (scanAuxFile): use boost regex and get rid of LRegex and
2150 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2155 * FontInfo.C: moved to frontends/xforms/
2158 * FontLoader.C: moved into frontends for GUIIzation
2163 * lyxfunc.C: changes from above
2165 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2167 * LColor.C: remove spurious X include
2169 * BufferView_pimpl.C:
2174 * text2.C: move font metrics to frontends/
2176 2002-05-24 Juergen Vigna <jug@sad.it>
2178 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2179 setting the undo_cursor.
2181 * ParagraphParameters.h: include local includes first.
2183 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2185 * BufferView_pimpl.C:
2186 * BufferView_pimpl.h:
2190 * screen.C: move WorkArea into frontends/
2196 * BufferView2.C: move LyXScreen into frontends/
2200 * lyx_gui.C: move lyxlookup into frontends/xforms/
2202 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2205 * BufferView_pimpl.C:
2215 * bufferview_funcs.C:
2228 * vc-backend.C: move LyX/XFormsView into frontends/
2230 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2242 * text2.C: move Painter to frontends/
2244 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2246 * buffer.C: comment out some some code that depend upon lyx_format
2249 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2250 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2252 * buffer.h (NO_COMPABILITY): turn off compability
2254 * ColorHandler.C: include scoped_array.hpp
2256 * font.C: Use more specific smart_ptr header.
2259 * ShareContainer.h: ditto
2263 * BufferView_pimpl.h: ditto
2264 * ColorHandler.h: ditto
2266 * kbmap.C (defkey): change call to shared_ptr::reset
2268 2002-05-21 Juergen Vigna <jug@sad.it>
2270 * buffer.C (insertErtContents): fix to insert ert asis if it is
2271 non empty. Skip it completely if it contains only whitespaces.
2273 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2275 * BufferView_pimpl.C:
2276 * BufferView2.C: clear selection on paste (bug 393)
2278 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2280 * DepTable.C: include ctime
2282 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2284 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2286 2002-05-14 Juergen Vigna <jug@sad.it>
2288 * text.C (breakParagraph): fixed function to honor the keepempty
2289 layout in the right maner and also to permit the right breaking
2290 algorithm on empty or non empyt keepempty paragraphs.
2292 * paragraph.C (breakParagraph): we have to check also if the par
2293 is really empty (!size()) for isempty otherwise we do the wrong
2296 2002-05-10 Juergen Vigna <jug@sad.it>
2298 * buffer.[Ch] : The following are only changes to the ert
2299 compatibility read reading old LaTeX layout and font stuff and
2300 convert it to ERTInsets.
2302 * buffer.h: added isErtInset().
2304 * buffer.C (struct ErtComp): add a fromlayout bool to check
2305 if we're inside a LaTeX layout.
2306 (isErtInset): new helper function.
2307 (insertErtContents): look for other ert insets before this one
2308 and insert the contents there, so that we don't have subsequent
2309 ERT insets with nothing between them. This way we create only one
2310 inset with multiple paragraphs. Also check if we don't insert only
2311 spaces ' ' as they are ignored anyway afterwards in the .tex file
2312 so if we have only spaces we will ignore this latex part in the
2314 (parseSingleLyXformat2Token \\layout): better compatibility when
2315 reading layout-latex stuff.
2316 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2318 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2319 stuff after reading the inset only get the information back from
2322 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2324 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2326 * LaTeXFeatures.C (getBabelOptions): New method.
2328 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2330 * BufferView_pimpl.C (Dispatch): work around missing argument for
2333 2002-05-08 Juergen Vigna <jug@sad.it>
2335 * text.C (leftMargin): handle paragraph leftindent.
2337 * paragraph.C (writeFile): write the new \\leftindent tag.
2338 (validate): handle leftindent code.
2339 (TeXEnvironment): handle paragraphleftindent code again.
2341 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2343 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2344 for paragrap_extra indent code and new token \\leftindent.
2345 (latexParagraphs): handle the leftindent as environment.
2347 * ParameterStruct.h: added leftindent support.
2349 * ParagraphParameters.C (leftIndent): added support functions for
2350 the paragraph left indent.
2352 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2355 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2357 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2360 * text.C (computeBidiTables): No bidi in insetERT.
2362 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2365 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2367 * version.C.in: pre 5
2369 2002-05-02 José Matos <jamatos@fep.up.pt>
2370 * buffer.C (makeDocBookFile): white space changes, add newline to
2372 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2374 * tabular.C (docBook): fix typo.
2376 2002-05-03 Juergen Vigna <jug@sad.it>
2378 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2379 change in LyXText as we can not be sure it was not freed.
2380 (drawOneRow): remove unused code.
2382 * text.C (drawInset): redo the calculation of the need_break_row as
2383 it could have a row which was already freed.
2384 (draw): look at the return value of drawInset and return false if
2385 it also returned false.
2386 (paintRowText): look at the return value of draw and return false if
2387 it also returned false.
2389 * lyxtext.h: added bool return type to drawInset() and draw() so that
2390 if we have a change in the row so that the rowbreak has to be redone
2391 we abort drawing as it will be called again.
2393 2002-05-02 Juergen Vigna <jug@sad.it>
2395 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2396 a change in the maintext also if we're inside an inset.
2397 (Dispatch): set the cursor again after a break line and after the
2398 screen has been updated as it could be we're in a different row.
2400 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2401 to set the cursor behind the pargraph with > size().
2402 (setCursor): check also for the same paragraph when checking where
2403 to put the cursor if we have a NFR inset.
2405 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2406 parts of layout read further up as it still was in the wrong
2409 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2411 * screen.C (drawFromTo): change sine fullRebreak always return
2414 * buffer.C (parseSingleLyXformat2Token): reindent some
2416 * BufferView_pimpl.C (update): change since fullRebreak always
2418 (Dispatch): git rid of the last hardcoded "Standard"s.
2420 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2422 * text2.[Ch] (fullRebreak): make it return void now that we always
2425 2002-04-30 Juergen Vigna <jug@sad.it>
2427 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2428 ert compatibility check for "latex" layout.
2430 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2432 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2433 minipages: use col% instead of p%, and also use the current font.
2434 (makeLaTeXFile): Fix use babel condition.
2435 (parseSingleLyXformat2Token): Correct font when reading old floats.
2437 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2439 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2440 inserting list of floats.
2442 2002-04-25 Herbert Voss <voss@lyx.org>
2444 * MenuBackend.C (expand): don't add the graphics extensions to the
2447 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2449 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2450 non-existing layout, do not complain if it was the default layout
2451 of the original class (bug #342)
2453 2002-04-24 Juergen Vigna <jug@sad.it>
2455 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2456 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2458 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2460 * buffer.C (getBibkeyList): If using \bibliography, return the
2461 option field with the reference itself. Enables us to provide natbib
2462 support when using \bibliography.
2464 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2466 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2468 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2469 natbib is provided by the LaTeX class.
2471 2002-04-23 Juergen Vigna <jug@sad.it>
2473 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2476 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2478 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2480 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2482 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2483 ensuremath around textordmasculine, textordfeminine and
2486 2002-04-19 Juergen Vigna <jug@sad.it>
2488 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2489 reinitializing the buffer otherwise row-dimensions may be wrong.
2490 (update): reset also the selection cursors if they do exits otherwise
2491 their x/y positions may be wrong.
2493 * text2.C (cursorDown): don't enter the inset if we came from a row
2494 above and are one row over the inset.
2496 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2497 really leaving an inset.
2499 2002-04-18 Juergen Vigna <jug@sad.it>
2501 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2502 of the selected paragraph does not have the selected layout also if
2505 * text2.C (setLayout): fixed bug which did not change last selected
2508 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2509 changed the read and substituted \\end_float with \\end_inset!
2511 * BufferView_pimpl.C (cursorPrevious):
2512 (cursorNext): fixed to make it work with rows heigher than the work
2513 area without moving the cursor only the draw of the row.
2514 (workAreaMotionNotify): fix jumping over high rows.
2516 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2518 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2521 2002-04-16 Juergen Vigna <jug@sad.it>
2523 * text2.C (setCursor): set also the irow().
2524 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2526 (cursorDown): support for locking an inset if the x_fix value goes
2527 inside it. That way I can transverse insets too with cursor up/down.
2529 * lyxrow.h: added irow helper function same as other (i) functions.
2531 * BufferView_pimpl.C (cursorPrevious):
2532 (cursorNext): fixed for insets!
2534 2002-04-15 Juergen Vigna <jug@sad.it>
2536 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2537 position otherwise it is wrong in some cases.
2539 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2540 inside the inset before the call.
2542 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2544 * buffer.[Ch] (getBibkeyList): make it const.
2546 2002-04-12 Juergen Vigna <jug@sad.it>
2548 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2550 * text2.C (getCursorX): new helper function
2551 (setCursor): compute also ix_
2552 (setCursorFromCoordinates): set also ix.
2554 * lyxcursor.h: added ix_ and helper functions.
2556 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2558 * buffer.C (insertStringAsLines): dont break paragraph if the this
2559 paragraph is inside an inset which does not permit it!
2561 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2562 also with no chars on this paragraph.
2563 (paintRowText): only paint stuff if it's inside the workarea!
2565 * paragraph.C (breakParagraph): honor keepempty flag and break the
2566 paragraph always below not above.
2568 * BufferView2.C (unlockInset): update the paragraph layout on inset
2569 unlock as we changed paragraph in such a case.
2571 * lyxfind.C (LyXFind): clear the former selection if not found!
2573 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2574 again called in insertChar().
2576 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2577 an inset which uses the whole row!
2578 (rightMargin): ditto.
2579 (insertChar): force a rebreak if we inserted an inset!
2581 2002-03-28 Herbert Voss <voss@lyx.org>
2583 * lyxlength.[Ch]: add inBP() to get the right PS-point
2584 units (BigPoint). With inPixels we have rounding errors
2586 2002-04-11 Juergen Vigna <jug@sad.it>
2588 * text2.C (setCursorFromCoordinates): set iy to the right value.
2589 (setCursor): add check if row->previous exists!
2591 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2592 an old float_type as this was the case in the old code!
2594 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2596 * BufferView2.C (showLockedInsetCursor): use iy
2597 (fitLockedInsetCursor): ditto
2599 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2600 locked insets as there we have the right value now.
2602 * lyxcursor.C: added iy_ variable and iy functions to set to the
2603 baseline of cursor-y of the locked inset.
2605 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2606 (setCursor): fixed for insets which need a full row.
2608 * text.C (rowLastPrintable): don't ignore the last space when before
2609 an inset which needs a full row.
2610 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2611 as last character of a row when before a inset which needs a full row.
2613 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2615 * version.C.in: update date
2617 * text2.C (fullRebreak): try to always return true and see what
2620 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2622 * MenuBackend.C (expand): use Floating::listName
2624 * FloatList.C (FloatList): add listName argument to the built-in
2627 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2628 text associated with the float.
2630 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2632 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2634 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2636 * ShareContainer.h: add a couple of missing typenames.
2638 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
2640 * lyxrc.C (getDescription): use _() correctly rather than N_().
2642 2002-03-28 Herbert Voss <voss@lyx.org>
2644 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2645 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2647 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2649 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2650 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2652 2002-03-29 Juergen Vigna <jug@sad.it>
2654 * lyxfunc.C (dispatch): add a missing fitCursor call.
2656 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2657 it was scrolled by a cursor move, so return the bool status.
2659 * BufferView.C (fitCursor): return the bool flag also to the outside
2660 world as this is needed.
2662 * screen.C (toggleToggle): don't subtract the offset if it's positive.
2664 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2665 call the edit() as it is not needed (and wrong) IMO.
2666 (workAreaButtonPress): set the screen_first variable before evt.
2667 unlock the inset as this may change screen_first and then we have
2668 a wrong y position for the click!
2670 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2672 * MenuBackend.C (expand): another translation that I missed
2674 2002-03-28 Juergen Vigna <jug@sad.it>
2676 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2678 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2680 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2682 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2684 * MenuBackend.C (expand): fix export/view/update when there is no
2687 2002-03-27 Herbert Voss <voss@lyx.org>
2689 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2692 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2694 * bufferview_funcs.C (currentState): only show paragraph number
2695 for is DEVEL_VERSION is set.
2697 * lyxfunc.C (dispatch): put warning in INFO channel
2699 * MenuBackend.C (expand): translate the name of floats
2701 * FloatList.C (FloatList): mark the float names for translation
2703 * converter.C (convert): use LibScriptSearch
2705 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2707 * MenuBackend.C (defaults): fix default menu (we might as well get
2710 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2712 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2715 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2717 * lyxvc.C: reorder includes.
2719 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
2721 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2724 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
2726 * CutAndPaste.C: change layouts earlier on paste
2727 to avoid crashing when calling getFont()
2729 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2731 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2734 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2736 * WorkArea.C: remove 'Pending' debug message.
2738 * most files: ws cleanup
2740 * buffer.[Ch]: ws changes
2742 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
2744 2002-03-21 Juergen Vigna <jug@sad.it>
2746 * tabular.C (SetMultiColumn): collapse also the contents of the
2747 cells and set the last border right. Added a Buffer const * param.
2749 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2751 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
2754 2002-03-19 Juergen Vigna <jug@sad.it>
2756 * text2.C (clearSelection): reset also xsel_cache.
2758 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
2759 where it needs to be called (John tells us to do so too :)
2760 (selectionLost): reset sel_cache.
2762 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
2764 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2766 * text2.C (setCursorIntern): put debuging code in INSETS channel
2768 2002-03-19 André Pönitz <poenitz@gmx.net>
2770 * lyxfunc.C: tiny whitespace change
2772 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2774 * ToolbarDefaults.C (init):
2775 * LyXAction.C (init):
2777 * BufferView_pimpl.C (Dispatch):
2778 * lyxfunc.C (dispatch): remove LFUN_DEPTH
2780 2002-03-19 Allan Rae <rae@lyx.org>
2782 * exporter.C (Export): removeAutoInsets before doing anything else.
2783 While I've just introduced a dependency on BufferView this really is
2784 the best place to clean the buffer otherwise you need to cleanup in
2785 a dozen places before calling export or cleanup in a dozen functions
2788 * converter.C (runLaTeX):
2789 (scanLog): Better handling of removeAutoInsets and screen updates.
2791 * lyxfunc.C (dispatch): small whitespace changes
2793 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2795 * WorkArea.C (C_WorkAreaEvent): return a value.
2796 (event_cb): return 1 if we handled the event, 0 otherwise.
2798 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
2800 2002-03-18 Juergen Vigna <jug@sad.it>
2802 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2803 (GetAdditionalWidth): ditto.
2807 * BufferView2.C (copy): use getLyXText() so that we do it inside an
2808 inset if we're there actually (probably not used right now but this
2809 is the direction to go for unifying code).
2810 (paste): disable code to clear the selection.
2812 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2813 inside an InsetText and move the check further up as it is in the
2816 * text2.C (pasteSelection): set a selection over the pasted text.
2818 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
2820 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2821 and libgraphics to build on Cygwin.
2823 2002-03-15 Juergen Vigna <jug@sad.it>
2825 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2826 inserting an Inset into the paragraph. I know this is not the best
2827 fix but we already use current_view in CutAndPaste so we will remove
2828 all of it's using at the same time.
2830 * buffer.C (sgmlError): deactivated function till it is rewritten in
2831 the right mode, now it can create problems.
2833 * paragraph.C (isLineSeparator): check if getInset returns != 0,
2834 before accessing it.
2836 2002-03-14 Juergen Vigna <jug@sad.it>
2838 * undo_funcs.C (textHandleUndo): do the right thing when updating
2839 the inset after the undo/redo.
2841 * text2.C (setCursor): just some testcode for #44 not ready yet.
2843 * undo_funcs.C (textHandleUndo): set the next() and previous()
2844 pointers of the paragraph to 0 before deleting otherwise we have
2845 problems with the Paragraph::[destructor].
2847 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2848 on a paragraph insertion.
2850 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2852 * buffer.C (asciiParagraph): use += operator for char append to
2855 * paragraph.C (getFontSettings): compare >= not just >
2856 (highestFontInRange): ditto
2859 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2861 * paragraph.C: change several algorithm to be more appripriate for
2862 the problem domain. This is lookip in FontList and in the InsetList.
2864 2002-03-13 André Pönitz <poenitz@gmx.net>
2867 * LyXAction.C: remove unused LFUN_MATH_MACROARG
2869 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
2874 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2876 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2878 * Painter.C (display): anon helper function, adjust code for this
2880 (pixmap): remove function.
2882 * Painter.h: remove private display variable.
2884 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2886 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
2888 * WorkArea.[Ch]: remove figinset_canvas cruft.
2890 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2892 * lyxtextclass.C (operator): add one item cache optimization.
2894 * bufferlist.h: doxy changes
2896 * bufferlist.C: ws changes
2898 * DepTable.[Ch] (ext_exist): place const in the right spot.
2900 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
2902 (workAreaExpose): call resizeInsets when the with BufferView changes.
2903 (Dispatch): adjust for protectedBlank removal
2904 (specialChar): call updateInset if the insert went ok.
2906 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
2907 specialChar instead.
2909 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
2911 * BufferView.h: doxy change
2913 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
2915 * lyxtextclass.C (operator[]): remove non-const version
2916 (defaultLayout): remove non-const version
2918 2002-03-12 Juergen Vigna <jug@sad.it>
2920 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
2921 did resize the LyXText too.
2923 * buffer.C (readLyXformat2): set layout information on newly allocated
2926 * tabular.C (OldFormatRead): set layout information on the paragraph.
2928 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2930 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
2932 2002-03-11 Juergen Vigna <jug@sad.it>
2934 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
2936 (resizeCurrentBuffer): force also the insets to resize themselfes.
2937 (moveCursorUpdate): fixed up for InsetText.
2939 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
2942 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
2943 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
2944 value of Dialogs::tooltipsEnabled().
2945 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
2947 2002-03-08 Juergen Vigna <jug@sad.it>
2949 * BufferView_pimpl.C (updateInset): update inset inside inset also
2950 if it isn't inside theLockingInset().
2952 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2954 * buffer.C (asciiParagraph): redo some of the word and line length
2956 (getLists): look for Caption instead of caption.
2958 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2960 * buffer.C (Buffer): initialize niceFile to true
2963 (makeDocBookFile): make sure niceFile is true on exit
2965 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2967 * buffer.C (makeLaTeXFile): escape ~ in \input@path
2969 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2971 * LyXSendto.C: remove.
2972 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
2973 * lyx_gui.C: remove now-redundant comment.
2974 * ColorHandler.h: remove forward declaration of class WorkArea.
2975 * lyxfunc.C: remove #include "WorkArea.h".
2977 2002-03-07 Juergen Vigna <jug@sad.it>
2979 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
2980 got moved away with the DEPM and also set the inset_owner always
2981 right which before could have been omitted.
2983 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2985 * buffer.C (parseSingleLyXformat2Token): use default layout is the
2986 wanted layout is not found.
2988 2002-03-07 Juergen Vigna <jug@sad.it>
2990 * CutAndPaste.C (cutSelection): another layout settings forgotten.
2992 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2994 * paragraph.C (breakParagraph): use default layout not layout of
2996 (Paragraph): clear ParagraphParameters.
2998 2002-03-06 Juergen Vigna <jug@sad.it>
3000 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3001 otherwise it would not be a valid lenght. Fixed a special case in
3002 the minipage compatibility read where we end the document with a
3005 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3006 was set as it could be 0 for InsetTexts first entry.
3008 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3010 * paragraph.C (writeFile): if layout is empty write out
3011 defaultLayoutName().
3013 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3014 file without named layout we set layout to defaultLayoutName().
3016 2002-03-06 Juergen Vigna <jug@sad.it>
3018 * CutAndPaste.C (copySelection): set layout for new paragraph.
3020 * text.C (prepareToPrint): leave ERT inset left aligned
3021 (leftMargin): don't indent paragraphs inside ERT insets
3023 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3025 * paragraph.C (breakParagraph): dont call clear do the work manually
3027 * paragraph.[Ch] (clear): remove function
3029 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3031 * paragraph.C (Paragraph): dont call clear, the work has already
3034 * lyxtextclass.C (operator): assert if n is empty
3036 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3037 work manually instead.
3039 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3041 * BufferView_pimpl.C: protect selectionLost against text == 0
3043 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3045 * text.C (breakParagraph): fix a setting layout to '0' problem.
3047 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3049 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3050 final location of file, for the included files, and graphics.
3052 2002-03-05 Juergen Vigna <jug@sad.it>
3054 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3056 2002-03-04 Juergen Vigna <jug@sad.it>
3058 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3060 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3061 last column of multicolumn cells.
3062 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3064 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3066 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3067 file if it doesn't go to a temporary file.
3069 * buffer.C (sgmlOpenTag):
3070 (sgmlCloseTag): remove extra newline insertion.
3072 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3074 * text.C (getRowNearY): comment out debug msg
3076 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3078 * text2.C: first -> first_y
3080 * text.C (getRowNearY): add some attemts at a possible
3081 optimization, not working.
3083 * tabular.[Ch]: add BufferParams to several function so that newly
3084 created paragraph can be initialized to he default layotu for the
3087 * tabular-old.C (ReadOld): add buf->params to call of Init
3089 * screen.C: rename text->first to text->first_y
3091 * paragraph.C (breakParagraph): always set layout in the broken
3094 * lyxtextclass.C (Read): remove lowercase
3097 (delete_layout): ditto
3099 * lyxtext.h: rename first -> first_y
3101 * lyxlayout.C (Read): remove lowercase
3104 (obsoleted_by): ditto
3106 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3108 * buffer.C (insertErtContents): add params are to InsetERT
3109 (parseSingleLyXformat2Token): add code to check if a paragraphs
3110 layout really exist.
3111 (parseSingleLyXformat2Token): add params to several inset
3113 (asciiParagraph): remove lowercase, do the layout comparisons with
3116 * BufferView_pimpl.C (cursorNext): first -> first_y
3117 (resizeCurrentBuffer): first -> first_y
3118 (updateScrollbar): first -> first_y
3119 (scrollCB): first -> first_y
3120 (workAreaMotionNotify): first -> first_y
3121 (workAreaButtonPress): first -> first_y
3122 (checkInsetHit): first -> first_y
3123 (cursorPrevious): first -> first_y
3124 (cursorNext): first -> first_y
3125 (Dispatch): add buffer_->params to severl inset contructors
3127 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3129 * lyxlayout.C (Read): remove some debug info that I forgot.
3131 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3132 clean up the code slightly.
3133 (makeLinuxDocFile): ditto
3134 (makeDocBookFile): ditto
3136 * text2.C: layout as string
3138 * text.C: layout as string
3140 * paragraph_pimpl.C: layout as string
3142 * paragraph.[Ch]: layout as string
3144 * lyxtextclasslist.[Ch]: layout as string
3146 * lyxtextclass.[Ch]: layout as string
3148 * lyxtext.h: layout as string
3150 * lyxlayout.[Ch]: layout as string
3152 * lyx_cb.C: layout as string
3154 * bufferview_funcs.C: layout as string
3156 * bufferparams.C: layout as string
3158 * buffer.C: layout as string
3160 * LyXView.[Ch]: layout as string
3162 * LaTeXFeatures.[Ch]: layout as string
3164 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3166 * BufferView_pimpl.C: change current_layout to string, remove
3171 (workAreaButtonRelease): layout as string
3173 * BufferView2.C (unlockInset): adjust
3175 * vspace.C (asLatexCommand): use an explict temp variable.
3177 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3179 * Makefile.am: use FRONTEND_*
3181 2002-03-01 Juergen Vigna <jug@sad.it>
3183 * tabular.C (SetWidthOfMulticolCell): changed to something better
3184 I hope but still work in progress.
3185 (recalculateMulticolumnsOfColumn): renamed function from
3186 recalculateMulticolCells as it is more appropriate now.
3187 (SetWidthOfCell): calculate multicols better.
3189 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3191 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3193 * lyxfunc.C (processKeySym): print sequence also if it is
3194 `deleted' (complete)
3196 * kbsequence.C (print): print sequence even if it is deleted
3197 (complete would be a better word, actually).
3199 * lyxfunc.C (dispatch): print complete options after a prefix key
3201 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3203 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3205 * text2.C (setCharFont): eliminate setCharFont code duplication.
3207 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3209 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3210 LFUN_TABULAR_FEATURE (bug #177)
3212 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3214 * Makefile.am: remove figure.h
3216 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3218 * Bufferview_pimpl.C:
3230 * text2.C: remove #include "lyx_gui_misc.h".
3232 * LaTeX.C: added #include <cstdio>
3234 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3236 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3237 that the paragraph following this one can have.
3239 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3241 * vspace.C (asLatexCommand): fix bogus gcc warning
3243 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3245 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3247 * text2.C (setLayout): get rid of redundant code
3249 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3251 * text2.C (incDepth): make sure depth cannot be increased beyond
3254 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3256 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3257 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3259 * PainterBase.h (image):
3260 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3263 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3267 * BufferView_pimpl.C:
3268 * BufferView_pimpl.h:
3288 * sp_spell.C: remove fig inset, and the crap house of
3289 cards that follows it
3291 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3297 * nt_defines.h: move .h into support/
3299 * vms_defines.h: remove
3301 * WorkArea.C: add space in debug output
3305 * buffer.C: add WITH_WARNINGS
3309 * bufferlist.C: s/retrive/retrieve/, add docs
3320 * lyxgui.C: add ID to X error handler
3322 * lyxtestclass.c: fix typo
3324 2002-02-26 Juergen Vigna <jug@sad.it>
3326 * tabular_funcs.C (write_attribute): changed so that some default
3327 attributes are not written at all.
3328 (getTokenValue): set default values before trying to read the
3329 value so we have the return value always set as default if we don't
3330 find the token we search for.
3332 * tabular.C (Write): write bools as bools not as strings!
3334 2002-02-22 Juergen Vigna <jug@sad.it>
3336 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3337 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3339 * text.C (leftMargin): don't add an indent for paragraphs inside
3340 tabular cells (fix #208).
3342 2002-02-21 José Matos <jamatos@fep.up.pt>
3344 * tabular.C (docBook): fixed support for long tables.
3346 2002-02-20 Juergen Vigna <jug@sad.it>
3348 * text2.C (getFont): get the drawing font of the Inset if this
3349 paragraph is inside an inset (only important for InsetERT for now).
3351 * buffer.C (insertErtContents): use new lanugage params in ERT
3354 * CutAndPaste.C: commenting out seemingly uneeded code.
3356 2002-02-19 Allan Rae <rae@lyx.org>
3358 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3359 Iterators might be simple to use but they also get invalidated.
3360 (removeAutoInsets): renamed saved cursor tracking variables and added
3361 some comments to clarify what everything does.
3363 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3370 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3371 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3374 * vc-backend.h: remove #include "support/syscall.h"
3378 * converter.C: rearrange #includes in Lars' approved fashion.
3380 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3381 forward declare class Timeout in the header file.
3383 * XFormsView.C: changes due to the above.
3385 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3388 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3389 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3391 2002-02-18 José Matos <jamatos@fep.up.pt>
3393 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3396 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3398 * a lot of small ws changes
3399 * add a lot of using std::XXX
3400 * use std construcs some places where approp.
3401 * use some exisint stuff from lyxfunctional where approp.
3402 * Make file changes to use partial linking (lets test this now...)
3404 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3408 remove #include "support/syscontr.h" as it's redundant. Always has been.
3416 change Systemcalls::System to Systemcalls::Wait and
3417 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3418 No change of functionality, just reflects the stripped down Systemcalls
3421 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3423 * debug.[Ch]: add a GRAPHICS type to the enum.
3425 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3427 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3429 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3432 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3434 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3435 match the changes below.
3437 * text2.C (toggleInset): if there is not editable inset at cursor
3438 position, try to see if cursor is _inside_ a collapsable inset
3441 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3443 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3444 document menu has a nice checkbox
3446 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3448 * lyxlength.C (asLatexString): change PW to output as percent of
3451 * lengthcommon.C: change '%' to 't%'
3453 * lyxfunc.C (dispatch): a few comments from Martin
3455 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3459 * BufferView_pimpl.h:
3460 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3463 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3465 * vspace.C (inPixels): fix compiler warning
3467 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3469 * lyxfunc.C (getStatus): fix status message for disabled commands.
3471 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3473 * BufferView_pimpl.C: fix crash on close buffer
3474 during selection (#227)
3476 2002-01-27 Herbert Voss <voss@lyx.org>
3478 * buffer.C: link old Figure to new graphic inset
3480 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3482 * FontLoader.C (getFontinfo): Change the latex font names in order
3483 to match the names of type1inst.
3485 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3487 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3489 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3492 (remove_files_with_extension): ditto
3493 (remove_file): ditto
3496 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3497 document is smaller than the work area height. Do not initialize
3498 static variables to 0.
3500 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3502 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3504 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3505 LFUN_LAYOUT_PARAGRAPHS.
3507 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3508 tabular. It is possible to provide a possible cell, which will
3509 typically be the actcell from the corresponding insettabular
3511 * lyxfunc.C (getStatus): small cleanup; disable
3512 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3515 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3517 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3519 * paragraph.C (startTeXParParams):
3520 (endTeXParParams): new methods. The LaTeX code to
3521 start/end paragraph formatting
3522 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3523 empty (fixes bug #200)
3525 * vspace.C (inPixels): adapt to the change below
3526 (inPixels): [later] more cleanups (remove unused variables)
3528 * lyxlength.C (inPixels): change to use a width and a height as
3531 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3533 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3534 Replaced with \paperwidth
3536 * DepTable.C (insert): add std:: qualifier
3538 2002-01-18 Allan Rae <rae@lyx.org>
3540 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3543 * text.C (drawInset): Turned out I didn't know enough about how
3544 rebreaking worked. This fixes most of the redraw problems. I see
3545 an occasional cursor trail when a line is broken now and the cursor
3546 placement can seem out by a few pixels also after a rebreak.
3548 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3550 * buffer.C (parseSingleLyXformat2Token): update because minipage
3551 width is now a LyXLength
3553 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3555 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3558 2002-01-17 Juergen Vigna <jug@sad.it>
3560 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3562 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3563 is set correctly and the inset is updated correctly.
3565 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3567 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3568 the beginning of the loop.
3570 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3572 * lyxrc.C: improve help for use_scalable_fonts
3574 2002-01-17 Allan Rae <rae@lyx.org>
3576 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3578 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3580 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3581 make sure to set their inset_owner to the right value (bug #171)
3583 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3586 * DepTable.C: Implement mtime checking to reduce time spent doing
3589 2002-01-16 Juergen Vigna <jug@sad.it>
3591 * tabular.C (GetAdditionalHeight): one of error fixed.
3593 * lyxrc.C (output): small fix in writing use_pspell.
3595 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3597 * sp_base.h: #include LString.h
3599 2002-01-16 Allan Rae <rae@lyx.org>
3601 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3602 Can someone check this please?
3604 * text.C (drawInset): It was possible that p.row would be removed by
3605 breakAgainOneRow upsetting a few other settings. There may be another
3606 small tweak possible by setting need_break_row = 0 when p.row has been
3607 removed but I don't know enough about the logic here.
3609 2002-01-15 Allan Rae <rae@lyx.org>
3611 * text.C (insertChar): removed conditional truism.
3613 * BufferView2.C (removeAutoInsets): More tweaks.
3614 cur_par_prev could be a stray pointer. Check for trailing empty line
3615 in case last line was cur_par and only had an error inset on it.
3617 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3619 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3622 * vc-backend.C (most methods):
3623 * exporter.C (Export):
3624 * converter.C (convert):
3626 * LyXSendto.C (SendtoApplyCB):
3627 * lyxfunc.C (dispatch):
3631 * lyx_cb.C (AutoSave):
3633 * BufferView_pimpl.C (MenuInsertLyXFile):
3634 * buffer.C (runChktex): use Buffer::filePath().
3636 * buffer.h: rename filename to filename_; rename filepath to
3637 filepath_ and make it private
3638 (filePath): new method
3640 * buffer.C (writeFile): use fileName()
3643 * lyx_main.C (init): fix starting of LyX when the binary is a
3644 link from so,ewhere else.
3646 * minibuffer.C: include <cctype> for isprint
3648 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3650 * buffer.C (parseSingleLyXformat2Token): changes associated with the
3651 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3652 name clash with InsetCollapsable's width function.
3654 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3656 * lastfiles.C: include <iterator>
3658 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3660 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3663 * buffer.C (makeLaTeXFile): ditto.
3664 Also make loop operation more transparent.
3666 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3668 * ToolbarDefaults.C: remove trailing comma closing namespace.
3670 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3672 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3675 * trans.C (Load): comment out unused variable, allowed.
3677 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3679 * minibuffer.[Ch] (append_char): new method to recieve input from the
3680 drop-down completion browser. If a key was pressed, then recieve this
3681 char and append it to the existing string.
3682 (peek_event): modify the positioning data passed to the completion
3683 browser so that it can be placed above the minibuffer rather than below.
3684 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3686 * LyXAction.C (init): alloe error-next for readonly documents.
3688 * BufferView2.C (ChangeRefsIfUnique): use standard version of
3691 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3693 * bufferlist.C (readFile): create the buffer _after_ checking that
3696 * lyxfunc.C (verboseDispatch): fix handling of arguments
3698 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3700 * lyxrc.C: use string::erase() instead of initializing to "".
3703 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3705 * BufferView_pimpl.h:
3706 * BufferView_pimpl.C:
3709 * text2.C: tell X when we have made a selection for copying
3711 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3713 * BufferView_pimpl.C (MenuInsertLyXFile):
3714 * lyxfunc.C (menuNew):
3716 (doImport): add shortcuts to directory buttons
3718 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3721 * lyxfunc.C (setStatusMessage):
3722 (getStatusMessage): new methods
3723 (getStatus):use setStatusMessage instead of setErrorMessage
3724 (dispatch): when function is disabled, set error message here
3725 [instead of in getStatus previously]
3727 * BufferView_pimpl.C (workAreaButtonRelease): update
3728 toolbar/menubar here too.
3730 2002-01-13 Allan Rae <rae@lyx.org>
3732 * BufferView2.C (removeAutoInsets): finished off earlier fix.
3733 Now seems indestructible. Remaining task is to audit all other
3734 code affected by deleteEmptyParagraphMechanism. One small quirk
3735 left is that an empty document with an error in the preamble can
3736 be made to report an error but no error box appears. I don't know
3738 (removeAutoInsets): Improved comments.
3740 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
3743 * Thesaurus.C: update for Aiksaurus 0.14
3745 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3747 * text2.C (firstParagraph): removed member function, all uses
3748 replaces with ownerParagraph
3749 (redoParagraphs): here
3751 (toggleAppendix): here
3752 * BufferView2.C (insertErrors): here
3753 (setCursorFromRow): here
3755 2002-01-13 Allan Rae <rae@lyx.org>
3757 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
3758 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
3759 There is still a way to segfault this although you may have to do this
3760 multiple times: Have an InsetERT with an unknown command in it.
3761 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
3762 <down-arrow>, <Enter> again, View->DVI, BANG!
3764 * text2.C (setCursor):
3765 (deleteEmptyParagraphMechanism):
3766 * lyxtext.h (setCursor):
3767 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
3768 Making use of the return value may help fix other bugs.
3770 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3772 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
3774 * LyXView.C (updateMenubar): call MenuBar::update here
3775 (updateToolbar): but not here
3776 (showState): do not update toolbar/menubar
3778 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
3779 should need to care about that.
3781 * lyxfunc.C (verboseDispatch): simplify a bit
3782 (getStatus): have a version which takes a pseudoaction, and
3783 another which requires a (kb_action,string).
3785 * LyXAction.C (retrieveActionArg): make it work also when action
3786 is not a pseudo-action.
3787 (getActionName): simplify a bit
3790 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3792 * lyxfunc.C (verboseDispatch): new families of methods with
3793 several ways to specify a command and a bool to indicate whether
3794 the command name and shortcut should be displayed in minibuffer
3795 (eventually, we could extend that to a finer bitmask like
3796 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
3797 (dispatch): the pristine dispatch command which just, well,
3798 dispatchs! Note it still sets its result to minibuffer; I'm not
3801 * lyxfunc.h: remove setHintMessage
3803 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3805 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3807 * BufferView_pimpl.C (specialChar): delete new inset if we have
3808 not been able to insert it.
3810 * kbmap.C: revert to using int instead of kb_action, since all we
3811 are dealing with is pseudo-actions.
3813 * LyXAction.C (searchActionArg): change to return int instead of
3814 kb_action, since the result is a pseudoaction.
3816 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
3818 * buffer.C (insertErtContents): Fix (partially) the font bug.
3820 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3822 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3823 as the other one is broken on my machine!
3825 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
3828 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3830 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
3832 * lyxrc.[Ch]: change names and descriptions of popup font variables to
3833 reflect their actual use. Provide compatibility code for older lyxrc
3836 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3838 change names of popup font variables in line with the changes to lyxrc.C
3840 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3842 * buffer.C (asciiParagraph): avoid outputing a word twice after
3845 * lyxrc.C (getDescription): document that document_path and
3846 template_path can be empty.
3848 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3850 * LaTeXFeatures.C (getMacros):
3851 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3853 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3855 * LaTeXFeatures.C (useFloat): require "float" here instead of in
3857 (getPackages): rename feature "floats" to "float". Use an array to
3858 iterate over 'simple' features (i.e. just a \usepackage). Add
3859 handling of "amsmath" (renamed from "amsstyle").
3861 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
3863 * LaTeXFeatures.C (require): Prevent duplicate entries in the
3866 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
3868 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3869 FuncStaus::FuncStatus & FuncStaus::some_method().
3871 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3873 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3874 of the func_satus stuff. Edited and massaged in various ways by
3877 * lyxfunc.C (getStatus): use FuncStatus
3879 2002-01-08 Juergen Vigna <jug@sad.it>
3881 * text.C (nextBreakPoint): use function Inset::isChar().
3883 * paragraph.C (TeXOnePar): use function
3884 Inset::forceDefaultParagraphs.
3886 * buffer.C (latexParagraphs): use function
3887 Inset::forceDefaultParagraphs.
3889 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3891 * lyx_gui.C (init): set the style of the menu popups to
3892 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3894 2002-01-07 Juergen Vigna <jug@sad.it>
3896 * text.C (setHeightOfRow): small fix
3897 (prepareToPrint): don't look at alignment if we don't have the place
3900 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3902 * box.C: New file. Move the Box methods and functions out of box.h,
3903 following Lars' suggestion.
3905 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3907 * box.h: #include "support/LOstream.h", needed for inlined function.
3910 * lyxtextclasslist.C: added some using std declarations.
3912 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
3914 * box.h: make signed dimensions to allow insets wider than
3915 the screen (bug #162)
3917 * BufferView_pimpl.C: add some insetHit debug
3919 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3921 * vc-backend.C: add FIXME
3923 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3925 * lyxfunc.C (getStatus): enable code for showing math font status
3928 2002-01-07 Juergen Vigna <jug@sad.it>
3930 * text.C (nextBreakPoint): removed debug output not needed anymore.
3932 2002-01-06 Juergen Vigna <jug@sad.it>
3934 * text.C (nextBreakPoint): fixed up this function we had this bug
3935 since ever but now hopefully we break row better.
3936 (insertChar): we have to check if an inset is the next char as it
3937 could now happen that a large inset is causing a break.
3939 2002-01-05 Juergen Vigna <jug@sad.it>
3941 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
3942 if it doesn't like to be drawed.
3944 2002-01-04 Juergen Vigna <jug@sad.it>
3946 * BufferView2.C (lockInset): forgot to set a cursor.
3948 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
3950 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
3955 * form_maths_panel.C:
3956 * form_maths_panel.h:
3957 * form_maths_panel.fd: implemented sub- and super- buttons in math
3960 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
3961 (or ^ space) to be used as in TeX (req'd by André).
3963 * lyxfunc.C: Allow ^ and _ again to be used both as
3964 super/subscript (mathed) and as themselves (in text).
3966 2002-01-03 Allan Rae <rae@lyx.org>
3968 * LyXView.C (updateWindowTitle): Setup a short icon title of either
3969 "LyX" or the filename of the current buffer if it has one. This is a
3970 modified form of John Levon's patch.
3972 * XFormsView.C (setWindowTitle): also set icon title.
3974 * LyXView.h (setWindowTitle): signature changed.
3975 * XFormsView.h (setWindowTitle): ditto.
3977 2002-01-02 Juergen Vigna <jug@sad.it>
3979 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
3981 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3983 * screen.C (topCursorVisible): introduce a temp var for
3984 text->cursor.row(), handle the case where this row is null. (kindo
3987 * text2.C (setCursor): add a couple of asserts.
3989 * paragraph.h (inset_iterator): add -> operator
3991 * paragraph.[Ch] (autoDeleteInsets): remove member function
3993 * BufferView2.C (removeAutoInsets): rewrite to handle the old
3994 cursor pos correctly and handle inset deletion by itself.
3995 (insertErrors): move iterator declaration out of for expression
3997 * lyxtextclass.C: add <algorithm>
3999 * Makefile.am: added the new files to sources, removed layout.C
4001 * layout.C: removed file
4003 * layout.h: remove LYX_DUMMY_LAYOUT
4005 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4009 * lyxtextclass.[Ch]:
4010 * lyxtextclasslist.[Ch]: new files
4012 * include order changes to a lot of files, also changes because of
4015 2001-12-27 Juergen Vigna <jug@sad.it>
4017 * buffer.C (asciiParagraph): more fixes.
4019 * tabular.C (ascii): make ascii export support export of only the
4020 data separated by a column-delimiter.
4021 (ascii): better support for ascii export.
4023 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4025 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4027 * tabular_funcs.C: use a "using std::getline" instead of the
4028 previous fix from Angus (necessary for cxx + lyxstring)
4030 2001-12-24 Juergen Vigna <jug@sad.it>
4032 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4034 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4035 problems. First check a minipage also if we have some ert-contents
4036 (not only on par->size(), second set the right depth of the paragraph
4037 on the relink to the root-paragraph-list!
4039 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4040 which then did not anymore update the main paragraphs on undo/redo!
4042 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4044 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4045 code. Support all font-changing funcs (even those which are not in
4046 menu currently). Support for reporting font settings in
4047 mathed (disabled until Andre provides a function on mathed's side).
4049 * func_status.h (toggle): small helper function to set toggle
4052 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4054 * tabular_funcs.C: getline -> std::getline
4056 2001-12-21 Juergen Vigna <jug@sad.it>
4058 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4059 accessed and could be 0 (I couldn't generate this but it seems
4062 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4064 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4065 * tabular_funcs.h: here and include iosfwd
4067 2001-12-20 Juergen Vigna <jug@sad.it>
4069 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4070 inside inset but undo_par was.
4072 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4074 * Thesaurus.C: always include <config.h> in sources.
4078 * box.h: do not include <config.h> in header files
4080 * text.C (paintLastRow): remove unused variable
4082 * text.C (transformChar):
4084 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4087 * font.C (width): rewrite to use uppercase() instead of
4090 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4092 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4094 * lyxfind.C: clean up of find failure position change
4096 2001-12-20 Juergen Vigna <jug@sad.it>
4098 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4100 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4101 (TeXRow): added to LaTeX a single tabular row.
4102 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4103 (Latex): simplified and finally good LT-h/f support.
4104 (various_functions): just small adaptions for LT-h/f support.
4106 * tabular_funcs.[hC]: added and moved here all not classfunctions
4109 2001-12-19 Juergen Vigna <jug@sad.it>
4111 * tabular.[Ch]: better support for longtabular options (not finished
4114 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4116 * text.C (paintLastRow): use the label font instead of the font of
4117 the last character to compute the size of *_BOX. This makes more
4118 sense and avoids a crash with empty paragraphs.
4119 Use Painter::rectangle to draw EMPTY_BOX.
4121 2001-12-19 Juergen Vigna <jug@sad.it>
4123 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4124 the paragraphs if the replaced paragraph is not the first one!
4125 Tried to delete not used paragraphs but does not work yet so for
4126 now it's inside #ifdef's and by default off!
4128 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4130 * MenuBackend.C: include "lyx_main.h" instead of declaring
4131 lastfiles (actually was declared as LastFiles* instead of a
4134 2001-12-17 Juergen Vigna <jug@sad.it>
4136 * tabular.C (AppendColumn): applied John's fix
4138 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4142 * BufferView_pimpl.h:
4143 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4146 * box.h: new start of class for above
4148 * lyxfunc.C: ignore space-only minibuffer dispatches.
4149 Show the command name when it doesn't exist
4151 * minibuffer.C: don't add empty lines to the history
4153 * minibuffer.C: add a space on dropdown completion
4155 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4157 * text.C: fix line above/below drawing in insets
4159 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4161 * lyxlength.C (LyXLength): Initialize private variables.
4163 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4166 when inserting error insets.
4168 2001-12-13 Juergen Vigna <jug@sad.it>
4170 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4171 actually sometimes the before-paragraph.
4172 (setUndo): don't clear the redostack if we're not actually undoing!
4174 2001-12-06 Juergen Vigna <jug@sad.it>
4176 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4177 and fixed redoing of main paragraph, so we can use it now ;)
4179 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4181 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4183 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4186 2001-12-13 André Pönitz <poenitz@gmx.net>
4189 * undo_func.C: minor cleanup
4191 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4193 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4194 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4195 font in urw-fonts package which is marked as -urw-fontspecific and
4196 does not work (incidentally, changing the encoding in the
4197 fonts.dir of this package to -adobe-fontspecific fixes the
4200 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4201 is a crash when undoing first paragraph (Juergen, please take a
4202 look). THis does not mean the undo fix is wrong, just that it
4205 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4206 the (Paragraph*) version when needed instead of duplicating the
4209 * text.C (workWidth): use Inset::parOwner to find out where the
4210 inset has been inserted. This is a huge performance gain for large
4211 documents with lots of insets. If Inset::parOwner is not set, fall
4212 back on the brute force method
4214 * paragraph_pimpl.C (insertInset):
4215 * paragraph.C (Paragraph):
4216 (cutIntoMinibuffer): set parOwner of insets when
4217 inserting/removing them
4219 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4221 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4227 * mathed/formulabase.C:
4228 * mathed/math_cursor.[Ch]:
4229 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4232 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4234 * lyxlength.[Ch] (operator!=): new function
4236 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4238 * text.C (workWidth): use Inset::parOwner to find out where the
4239 inset has been inserted. This is a huge performance gain for large
4240 documents with lots of insets. If Inset::parOwner is not set, fall
4241 back on the brute force method
4243 * paragraph_pimpl.C (insertInset):
4244 * paragraph.C (Paragraph):
4245 (cutIntoMinibuffer): set parOwner of insets when
4246 inserting/removing them
4248 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4250 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4252 * tabular-old.C (getTokenValue):
4253 * tabular.C (getTokenValue):
4254 (write_attribute): new versions for LyXLength
4255 (everywhere): adjust the use of widths
4257 * tabular.h: change the type of widths from string to LyXLength
4259 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4261 * paragraph.C: fixed missing line number count when exporting
4262 Environments to LaTeX file
4264 * buffer.C: added informational message for checking line numbers.
4266 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4268 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4269 paragraph, do the 'double space' part, but not the 'empty
4272 * text.C (workWidth): small optimization
4273 (getLengthMarkerHeight): use minimal size for negative lengths.
4275 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4277 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4279 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4281 2001-12-11 André Pönitz <poenitz@gmx.net>
4284 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4286 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4288 * text2.C: keep selection on a setFont()
4290 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4292 * lyx_cb.C: another bv->text misuse, from insert label
4294 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4297 * kbsequence.C: re-instate nmodifier mask
4299 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4301 * lyx_main.h: make lyxGUI private.
4303 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4305 * lyxfind.C: place the cursor correctly on failed search
4307 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4309 * text.C (getLengthMarkerHeight): for small heights, the arrows
4310 are not always on top/bottom of the text
4311 (drawLengthMarker): smaller arrows; take the left margin in
4312 account; draw also vfills.
4314 (paintLastRow): remove special code for vfill and standard spaces,
4315 since everything is handled in drawLengthMarker now.
4317 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4319 * buffer.C (insertErtContents): try to handle font and language
4320 interaction a bit better.g
4322 * ColorHandler.C (updateColor): change the hash to cover the whole
4323 LColor enum, ws cleanup
4324 (getGCLinepars): ditto
4325 (getGCLinepars): only lookup in the linecache once.
4327 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4329 * iterators.C (operator++): Make the iterator more robust
4331 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4333 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4335 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4338 * text.C: better added space drawing
4340 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4343 * BufferView2.C: fix layout combo update on inset unlock
4345 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4347 * Makefile.am: don't compile unused files
4349 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4353 * LyXAction.C: remove old LFUN_LAYOUTNO
4355 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4357 * paragraph_pimpl.h:
4358 * paragraph_pimpl.C: isTextAt() doesn't need font param
4360 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4363 * lyxlex.C: little cleanup
4365 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4367 * BufferView_pimpl.C: fix insertAscii for insets
4369 2001-12-05 Juergen Vigna <jug@sad.it>
4371 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4372 set the right font on the "multi" paragraph paste!
4374 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4380 * lyxlength.C: remove out-commented code.
4396 * vc-backend.C: change "while(" to "while ("
4398 * lyxlength.[Ch]: add zero function to check if length is zero or
4400 * lyxgluelength.C: use it
4402 2001-12-05 Allan Rae <rae@lyx.org>
4404 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4405 Works for 2.95.3, from what I understand of Garst's reports this should
4406 work for other g++ versions. We're screwed if the abs(int) definition
4407 changed between bugfix releases of gcc.
4409 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4411 * text.C: fix chapter label offset !
4413 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4416 * text.C: fix hfill at end of line, clean up
4418 2001-12-04 Juergen Vigna <jug@sad.it>
4420 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4421 that we force an update of the inset and it's owners if neccessary.
4423 2001-12-03 Juergen Vigna <jug@sad.it>
4425 * text.C (rowLast): simplified code
4427 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4429 * lyxfunc.C: fix show options on timeout
4431 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4433 * screen.C (topCursorVisible): scroll half a page when the cursor
4434 reached top of bottom of screen
4436 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4438 * minibuffer.C: deactivate on loss of focus
4440 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4442 * vspace.[Ch] (operator!=): add operator.
4444 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4446 * BufferView_pimpl.C: refuse to open an inset when
4447 there's a selection.
4449 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4451 * BufferView_pimpl.C: allow to click on RHS of full row insets
4453 2001-11-30 Juergen Vigna <jug@sad.it>
4455 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4456 insets for undo reasons.
4458 2001-11-28 André Pönitz <poenitz@gmx.net>
4460 * vspace.[Ch]: cosmetical changes
4462 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4472 * kbsequence.C: part re-write of old kb code
4475 * WorkArea.C: remove Lgb_bug_find_hack
4477 2001-11-30 José Matos <jamatos@fep.up.pt>
4479 * buffer.C (makeDocBookFile): add a comment to point a hack.
4480 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4481 Fixed a double write of labels.
4483 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4486 * LaTeX.h Fixed bug in LaTeX class where it would not
4487 re-run latex if no depfiles were changed, but the .dvi was removed.
4489 2001-11-28 André Pönitz <poenitz@gmx.net>
4491 * all the files from the change on 2001/11/26:
4492 use lyx::layout_type instead of LyXTextClass::size_type
4493 use lyx::textclass_type instead of LyXTextClassList::size_type
4495 2001-11-29 Juergen Vigna <jug@sad.it>
4497 * text.C: added support for paragraph::isFreeSpacing()
4499 * buffer.C: same as above
4501 * paragraph.h: inserted isFreeSpacing() function to enable
4502 FreeSpacing inside InsetERT.
4504 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4505 of the paragraph's in the cut/copy buffer to 0!
4507 * text2.C (removeRow): remove the assert as it can!
4509 * lyxtext.h: added helper function firstRow returning firstrow and
4510 made firstrow private again.
4512 * BufferView2.C (lockInset): don't relock if we're already locked!
4514 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4516 (removeRow): added Assert::(firstrow)
4518 * debug.C: forgot to add INSETTEXT here.
4520 2001-11-28 Juergen Vigna <jug@sad.it>
4522 * sp_spell.C (initialize): changed error text to more general
4523 spellchecker command use (not only ispell!)
4525 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4527 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4529 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4531 * vspace.C: initialise lyxgluelength on failure
4533 2001-11-28 Allan Rae <rae@lyx.org>
4535 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4536 declaration & definition that looks like a function declaration.
4538 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4540 * BufferView2.C (copy):
4541 (copyEnvironment): do not clear the selection when doing a copy.
4543 * text.C (paintFirstRow): compilation fix
4545 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4547 * tabular.C (Latex): correct line count when writing latex.
4549 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4551 * paragraph_pimpl.h:
4552 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4555 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4559 * LColor.C: change vfillline->added_space
4561 * text.C: add markers and text for added space
4563 * vspace.C: fix comment
4565 2001-11-28 André Pönitz <poenitz@gmx.net>
4567 * paragraph.C: whitespace changes
4568 * all the other files from the change on 2001/11/26:
4569 change *::pos_type into lyx::pos_type
4571 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4573 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4574 language of the document when inserting error insets.
4576 2001-11-26 André Pönitz <poenitz@gmx.net>
4578 * BufferView_pimpl.[Ch]:
4586 * paragraph_pimpl.[Ch]:
4589 * text2.C: reduce header dependencies, introduce type for positions
4591 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4593 * <various>: change to use Alert.h
4595 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4597 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4598 when encountering an unknown token.
4599 (readLyXformat2): Show an error message if there were unknown tokens.
4601 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4604 * BufferView_pimpl.C:
4608 * text2.C: use par->isInset()
4610 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4612 * paragraph_pimpl.h:
4613 * paragraph_pimpl.C: cleanup
4615 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4617 * text2.C (removeRow):
4618 * text.C (setHeightOfRow): remove useless (and costly) call to
4621 2001-11-20 Allan Rae <rae@lyx.org>
4623 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4624 Now need Inset*::checkInsertChar() to return true for appropriate
4625 cases so that the characters in the minibuffer will actually be
4628 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4630 * text.C: change the order of the includes.
4631 (workWidth): initialize it at once.
4632 (workWidth): make maxw unsigned
4633 (setHeightOfRow): remove unused variable (inset)
4634 (selectSelectedWord): remove unused variable (inset)
4635 (paintRowText): fix drawing of hfill characters, and clean up a bit.
4637 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4639 * lyxserver.C (emergencyCleanup): do not try to close pipes if
4640 server is not running.
4642 (closeConnection): add debug info when server is disabled.
4644 * ColorHandler.C (getGCForeground): send debug message to GUI
4647 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4649 * kbmap.C (bind): modify because return conventions of
4650 kb_sequence::parse have changed.
4652 * kbsequence.C (parse): only ignore spaces and not any stupid
4653 control character. This avoids tests like s[i] <= ' ', which are
4654 guaranteed to fail with 8bit characters and signed chars.
4655 Change return code to string::npos when there have been no error
4656 (0 was a bad idea when error is at first character)
4658 2001-11-14 José Matos <jamatos@fep.up.pt>
4661 * buffer.C (simpleDocBookOnePar): removed unused argument.
4663 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4665 * text.C (selectNextWordToSpellcheck): do not test explicitely for
4666 insets which are part of a word. Paragraph::isLetter takes care of
4667 that now. Use Paragraph::isInset to identify insets.
4668 (selectSelectedWord): do not test for hyphenation break.
4670 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4671 that protected spaces are considered as spaces.
4673 * paragraph.C (isLetter): cleanup the code for ispell extras; use
4676 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
4679 * lyxserver.C: fix it. and small cleanup.
4681 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4683 * BufferView_pimpl.C: use inline helpers
4686 * LaTeXFeatures.C: fix typos
4689 * Spacing.C: move spacing_string into class
4691 * ToolbarDefaults.C: move stuff into namespace anon
4693 * layout.h: update enum
4695 * lyxfunc.C: use better debug
4697 * minibuffer.h: fix typo
4701 * WorkArea.C: add and use Debug::WORKAREA
4705 * text2.C: code re-organisation, inline helpers
4707 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
4709 * Layout.C: replaced a few cases of std::vector.size() == 0 with
4710 std::vector.empty().
4712 2001-11-09 Allan Rae <rae@lyx.org>
4714 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4715 '\n's after tables. Tabular and ERT inset work now makes this no
4718 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4721 * minibuffer.C: fix crash, improve drop-down completion
4723 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
4726 * lyxserver.C: invalidate fd's when doing endPipe()
4728 2001-11-08 José Matos <jamatos@fep.up.pt>
4730 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4731 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4734 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4736 2001-11-07 José Matos <jamatos@fep.up.pt>
4739 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
4742 * buffer.C (sgmlOpenTag):
4743 * buffer.C (sgmlCloseTag): removed debug info.
4745 * buffer.h (sgmlOpenTag):
4746 * buffer.h (sgmlCloseTag): made public.
4748 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4750 * buffer.C (saveParamsAsDefaults):
4751 * lyx_cb.C (MenuLayoutSave): remove
4753 * LyXAction.C (init):
4755 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
4757 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4759 * buffer.C (setPaperStuff): removed from here...
4761 * bufferparams.C (setPaperStuff): ... and moved there.
4763 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
4767 * XFormsView.C: add support for drop-down completion
4769 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
4771 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
4774 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4776 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
4779 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4781 * lyx_main.C: change ref to known bugs
4783 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4785 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
4786 to work around older babel problems.
4788 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4790 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
4792 2001-10-24 Juergen Vigna <jug@sad.it>
4794 * tabular-old.C (ReadOld): below variable changes reflected.
4796 * tabular.[Ch]: added ltType struct for longtable header/footer
4797 defines and changed all instances where they are used. Added
4798 future support for double top/bottom rows.
4800 2001-10-24 José Matos <jamatos@fep.up.pt>
4802 * buffer.h (docbookHandleCaption):
4803 * buffer.C (docbookHandleCaption): removed unused function.
4804 (makeDocBookFile): moved docbook supported version to v4.1.
4806 2001-10-24 José Matos <jamatos@fep.up.pt>
4809 * tabular.C (docbookRow): new function to export docbook code of a row.
4810 (DocBook): now honors the longtable flags.
4812 2001-10-23 José Matos <jamatos@fep.up.pt>
4815 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4816 of the lyx defined sgml entities used in a docbook/linuxdoc document.
4818 * buffer.C (makeLinuxDocFile):
4819 (makeDocBookFile): reworked the preamble, more clean, and with
4820 support for lyx defined entities. Changed the document declaration
4821 to be more XML friendly.
4823 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4824 if we need to output XML that should be done with a filter.
4826 2001-10-22 Juergen Vigna <jug@sad.it>
4828 * sp_pspell.h (class PSpell): add alive function needed in the
4829 controller to see if the spellchecker could be started.
4831 2001-10-22 Juergen Vigna <jug@sad.it>
4833 * buffer.C (insertStringAsLines): modify the font for inserting
4834 chars in certain conditions by calling checkInsertChar(font).
4836 2001-10-19 Juergen Vigna <jug@sad.it>
4838 * text.C (workWidth): use getRow instead of wrong algorithm.
4839 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4841 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
4846 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4848 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4850 * text.C (workWidth): do not search for the exact row when
4851 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4852 optimization for big documents.
4854 2001-10-18 Juergen Vigna <jug@sad.it>
4856 * text.C (workWidth): new function with added Inset * parameter.
4858 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4860 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4862 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4863 change return type of getColumnNearX.
4866 * text.C (changeRegionCase): use uppercase/lowercase instead of
4869 (rightMargin): simplify code by factoring out the uses of
4874 (appendParagraph): use Paragraph::size_type
4876 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4878 * vspace.C (asLatexString): add a missing break
4880 2001-10-15 Herbert Voss <voss@perce.de>
4882 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4884 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4886 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4889 2001-10-10 André Pönitz <poenitz@gmx.net>
4891 * lyxfunc.C: removed greek_kb_flag.
4893 2001-10-10 Herbert Voss <voss@perce.de>
4895 * lyx_main.C: delete global string help_lyxdir.
4897 2001-10-09 Herbert Voss <voss@perce.de>
4899 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
4901 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
4903 * lyx_main.C: added global string help_lyxdir.
4905 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
4907 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4909 * lyxrc.C (set_font_norm_type): support iso8859-4
4911 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
4913 * LaTeX.C (deplog): add another regex for MikTeX
4915 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
4917 * lyxrc.C (set_font_norm_type): support iso8859-3
4919 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4921 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
4923 * LaTeXFeatures.C: remove special case of french and index
4925 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
4926 before \begin{document}). This solves several incompatibilities.
4928 2001-10-03 Garst Reese <reese@isn.net>
4930 * lyx_cb.C: change CheckTex error msg.
4932 2001-10-03 José Matos <jamatos@fep.up.pt>
4934 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
4936 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4938 * .cvsignore: update
4940 * lyx_main.C (commandLineVersionInfo): use new style version info.
4942 * buffer.C (writeFile):
4945 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
4947 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
4949 * version.h: update to use stuff in version.C
4951 * version.C.in: new file. Contains version information determined
4952 at compile time. This is a merging of version.h and
4955 2001-10-03 Juergen Vigna <jug@sad.it>
4957 * BufferView_pimpl.C (update): don't change "dirty" status in
4960 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
4962 * WorkArea.C (c-tor): re-position version string slightly.
4964 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
4966 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
4967 revert to previous code.
4969 WorkArea.[Ch]: (show, destroySplash): methods removed.
4971 WorkArea.C: rework code so that it's an amalgam of the codes before and
4972 after the splash screen was moved to WorkArea.
4974 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4977 * vspace.C (inPixels):
4980 * buffer.C (insertStringAsLines):
4981 (asciiParagraph): fix types to be large enough
4983 * lyxlex_pimpl.h: change member status from short to int
4985 * layout.h: fix type of endlabeltype
4988 * kbsequence.C (parse): change return type to string::size_type
4990 * LaTeX.C (updateBibtexDependencies): comment out unneeded
4993 * Bullet.C (bulletSize):
4994 (bulletEntry): do not use short ints as parameters
4996 * BufferView2.C (insertLyXFile): change a char to an int.
4998 * WorkArea.C (WorkArea): remove unneeded floats in computation
5000 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5002 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5004 * paragraph.C (asString): Do not ignore newline/hfill chars when
5005 copying to the clipboard.
5007 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5009 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5010 after a multi-line inset.
5012 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5014 * paragraph.C (validate): Set NeedLyXFootnoteCode
5016 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5018 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5019 and decrease-error to decrease.
5021 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5023 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5024 it more readable (should be equivalent)
5026 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5028 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5030 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5032 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5033 of a cursor (row, etc.) after a character has been deleted
5034 (deleteEmptyParagraphMechanism): call the method above on _all_
5035 cursors held by the LyXText when a double space has been
5038 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5040 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5042 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5044 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5045 background. Use greyOut() and the new show() methods to toggle between
5046 the foreground and background. Add code to remove the splash after
5047 its initial showing.
5049 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5050 (create_forms): no longer call Dialogs::showSplash.
5052 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5054 * .cvsignore: add version_info.h
5056 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5058 * version_info.h.in: new file
5060 * Makefile.am: add version_info.h.in
5062 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5063 version_info.h instead of VERSION_INFO
5065 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5067 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5068 The ERT inset now returns string().
5070 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5072 * lyxtext.h, text.C (selectNextWord): renamed as
5073 selectNextWordToSpellcheck.
5075 * text.C (selectNextWordToSpellcheck): Modified to not select
5076 words inside an ERT inset.
5078 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5080 * lyx_cb.C (MenuLayoutSave): change a bit the question
5082 * sp_base.h: include <sys/types.h>
5084 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5086 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5088 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5090 * several files: fix typos in user-visible strings
5092 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5094 * text2.C (pasteSelection): do not set the selection, since it
5095 will be cleared later. Actually, the intent was to fix the way the
5096 selection was set, but I figured rmoving the code was just as good.
5098 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5100 * FontLoader.C (available): Check if font is available without
5103 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5105 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5107 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5109 * lyxrc.[Ch]: added display_graphics variable and associated code.
5111 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5113 * bufferparams.C (hasClassDefaults): new method. Returns true if
5114 the buffer parameters correspond to known class defaults
5116 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5118 * XFormsView.C (show): set minimum size to the main window.
5120 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5122 * text2.C (copySelection):
5124 * lyxfind.C (LyXReplace):
5125 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5126 LyXText::selectionAsString.
5128 * paragraph.C (asString): add "label" argument to the second form
5130 * text2.C (selectionAsString): add "label" argument and pass it to
5131 Paragraph::asString.
5133 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5135 * lyx_main.C (commandLineHelp): remove version information
5137 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5139 * lyx_main.C: add -version commandline option
5141 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5143 * paragraph.h: make the optional constructor arg required instead.
5144 some modifications to other files because of this.
5146 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5148 * lyxserver.C (C_LyXComm_callback): make it static
5150 * lyx_main.C (error_handler): make it static
5152 * lyx_gui.C (LyX_XErrHandler): make it static
5154 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5156 * WorkArea.C: make the extern "C" methods static.
5158 * Makefile.am (lyx_LDADD): simplify
5160 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5162 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5163 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5165 * LyXAction.C (init):
5166 * lyxfunc.C (dispatch): associated code removal.
5168 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5170 * lyxfont.h (isSymbolFont): shut off warning
5172 * text.C (setHeightOfRow):
5173 (getVisibleRow): fix crash with empty paragraphs which have a
5176 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5178 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5181 2001-09-04 José Matos <jamatos@fep.up.pt>
5184 * tabular.C (docbook): rename docBook method to docbook.
5186 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5188 * Makefile.am: add dependencies to main.o.
5190 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5192 * FontLoader.C (available): Return false if !lyxrc.use_gui
5194 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5196 * FontInfo.C (query):
5197 * converter.C (view):
5198 * importer.C (Import):
5199 * exporter.C (Export): Can not -> cannot.
5201 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5203 * BufferView_pimpl.C: allow to create index inset even if
5206 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5208 * buffer.C (getLists): replace boost::tie code with an explicit pair
5209 as boost::tie can break some compilers.
5211 * iterators.h: Added a std:: declaration to the return type of
5214 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5216 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5219 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5221 * iterators.[Ch]: New files. Provide paragraph iterators.
5223 * buffer.C (changeLanguage): Use paragraph iterators.
5224 (isMultiLingual): ditto
5226 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5228 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5230 * FontLoader.C: Support for cmr font.
5232 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5234 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5235 (available): New method.
5237 * FontInfo.C (getFontname): Use scalable fonts even when
5238 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5241 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5243 * converter.C (Formats::view): reverted! Incorrect fix.
5245 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5247 * converter.C (Formats::view): only output the -paper option
5248 if the dvi viewer is xdvi, thereby fixing bug #233429.
5250 2001-08-23 Herbert Voss <voss@perce>
5252 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5254 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5256 * Spacing.h (Spacing): Set space to Default on in the default
5259 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5261 * vc-backend.h (RCS::versionString): add RCS to version
5262 (CVS::versionString): add CVS to version
5264 * vc-backend.C (scanMaster): do not add CVS to version.
5265 (scanMaster): do not add RCS to version
5267 * lyxvc.C (versionString): new method
5269 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5271 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5273 * Spacing.C (set): initialize fval
5275 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5277 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5280 2001-08-16 Juergen Vigna <jug@sad.it>
5282 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5284 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5286 * BufferView_pimpl.C:
5289 * text2.C: setParagraph takes linespacing now
5291 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5293 * LyxAction.C: add internal LFUN_CITATION_INSERT
5295 * LyXView.C: actually apply fix
5297 * bufferlist.C: fix open non-existent file
5299 * lyxfind.C: fix indentation
5301 * lyxfunc.C: remove unneeded assert, fix typo
5303 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5305 * MenuBackend.C: use "Floatname List"
5307 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5309 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5310 when converting LaTeX layout to insetERT.
5311 Generate a non-collapsed float when reading old float
5313 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5315 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5318 2001-08-13 Juergen Vigna <jug@sad.it>
5320 * text.C (fill): return 0 instead of 20 as this seems to be the more
5323 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5325 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5328 2001-08-13 Juergen Vigna <jug@sad.it>
5330 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5332 (SearchBackward): comment out the unlocking of the inset_owner this
5333 should not be needed!
5335 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5337 * Many files: Remove inherit_language, and add latex_language
5339 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5342 2001-08-10 Juergen Vigna <jug@sad.it>
5344 * text.C (prepareToPrint): fixed hfill-width in draw!
5346 * BufferView2.C (selectLastWord): save the selection cursor as this
5347 now is cleared in the function LyXText::clearSelection!
5349 2001-08-08 Juergen Vigna <jug@sad.it>
5351 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5352 BACKSPACE type functions.
5354 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5355 is only cutted from the document but not put in the cut-buffer, where
5356 still the old stuff should be.
5358 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5360 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5362 * tabular.C (SetWidthOfCell): fixed special case where the width
5364 (LeftLine): handle '|' in align_special.
5366 (LeftAlreadyDrawed): ditto
5367 (SetWidthOfCell): ditto
5369 2001-08-07 Juergen Vigna <jug@sad.it>
5371 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5373 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5375 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5376 * lyxlex.[hC]: ditto
5378 2001-08-06 Juergen Vigna <jug@sad.it>
5380 * text.C (getVisibleRow): fix up row clearing a bit.
5382 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5384 * minibuffer.C: make sure the X server sees the changes in the input.
5386 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5388 * paragraph.C (getFont): split into...
5389 (getLabelFont): this
5390 (getLayoutFont): and this
5391 * paragraph_pimpl.C (realizeFont): calling this
5393 * text2.C (getFont): split into...
5394 (getLayoutFont): this
5395 (getLabelFont): and this
5396 (realizeFont): all three calling this
5398 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5401 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5403 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5405 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5407 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5408 layouts from the Quote inset insertion.
5410 2001-08-03 Juergen Vigna <jug@sad.it>
5412 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5414 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5415 only if status not is already CHANGED_IN_DRAW (second level).
5417 * text.C (draw): don't set the need_break_row when inside an
5420 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5422 * buffer.C (parseSingleLyXformat2Token): handle more latex
5425 * bufferview_funcs.[hC]: change function names to
5426 begin with small char, adjust other files.
5428 2001-08-02 André Pönitz <poenitz@gmx.net>
5431 BufferView_pimpl.C: remove broken special code for math-greek
5433 2001-08-02 Juergen Vigna <jug@sad.it>
5435 * BufferView_pimpl.C (update): redone this function so that we
5436 update the text again if there was a CHANGE_IN_DRAW.
5438 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5439 (drawFromTo): added a new internal bool which is used by draw() and
5441 (general): some cursor drawing problems fixed.
5443 2001-08-01 Juergen Vigna <jug@sad.it>
5445 * lyxfind.C (LyXFind): fixed
5446 (SearchForward): ditto
5447 (SearchBackward): ditto
5449 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5450 spurius drawing of the cursor in the main area.
5452 * text2.C (status): small fix which could lead to a segfault!
5453 (clearSelection): remove unneeded BufferView param.
5455 2001-08-01 André Pönitz <poenitz@gmx.net>
5457 * lyxfunc.C: small change due to changed mathed interface
5459 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5461 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5463 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5465 * lyxfunc.c: fail gracefully if file doesn't exist
5470 * BufferView_pimpl.C: IsDirWriteable() proto changed
5472 * LyXView.C: fix updateWindowTitle() to store the last title
5474 2001-07-31 Juergen Vigna <jug@sad.it>
5476 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5477 the font (wrong since using of Paragraph::highestFontInRange).
5479 * paragraph.C (highestFontInRange): added a default_size parameter.
5481 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5482 (setHeightOfRow): reformat
5484 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5486 * converter.[hC] + affected files: move to (inital-char)lowercase
5489 * ParagraphParameters.C (ParagraphParameters): remove commented code
5491 * PainterBase.[Ch]: remove commented code
5493 * LaTeXFeatures.h: add "bool floats" for float.sty
5495 * LaTeXFeatures.C (LaTeXFeatures): init floats
5496 (require): handle float
5497 (getPackages): do it with floats
5499 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5501 * BufferView_pimpl.C (Dispatch): improve handling of
5502 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5504 * commandtags.h: #include lyxfont.h here temporarily to avoid
5507 * bufferlist.h: include LString.h here.
5509 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5511 * text2.C (getStringToIndex): new method.
5513 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5515 * *: Reduced header file dependencies all over.
5517 2001-07-30 Baruch Even <baruch@lyx.org>
5519 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5521 2001-07-29 Baruch Even <baruch@lyx.org>
5523 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5525 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5527 * ParameterStruct.h (endif): add a default constructor to make
5528 sure that all variables is initialized.
5530 * ParagraphParameters.C (ParagraphParameters): adjust
5532 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5534 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5535 index; also, check that there is something to index, and that it
5536 does not span over several paragraphs.
5537 (doubleClick): use WHOLE_WORD_STRICT for double click.
5539 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5541 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5544 2001-07-26 Baruch Even <baruch@lyx.org>
5546 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5547 an InsetFig figure, backwards compatible reading of old figure code.
5549 2001-07-27 Juergen Vigna <jug@sad.it>
5551 * text2.C: font.realize function adaption.
5553 * text.C (draw): add a warnings lyxerr text if needed.
5555 * layout.C: font.realize function adaption.
5557 * language.C: add inherit_language and implement it's handlings
5559 * bufferview_funcs.C (StyleReset): remove language parameter from
5560 font creation (should be language_inherit now).
5562 * bufferparams.C (writeFile): handle ignore_language.
5564 * paragraph.C (getFontSettings): the language has to be resolved
5565 otherwise we have problems in LyXFont!
5567 * lyxfont.C (lyxWriteChanges): added document_language parameter
5568 (update): removed unneeded language parameter
5570 * paragraph.C (validate): fixed wrong output of color-package when
5571 using interface colors for certain fonts in certain environments,
5572 which should not seen as that on the final output.
5574 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5576 * BufferView_pimpl.C:
5581 * LyXAction.C: add thesaurus support
5584 * lyxfind.C: add "once" parameter, for thesaurus, to not
5585 move to the next match
5587 2001-07-26 Juergen Vigna <jug@sad.it>
5589 * lyxfont.C (realize): honor ignore_language too!
5592 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5594 * text.C (draw): one place more for ignore_language to not draw
5597 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5599 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5601 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5603 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5604 the minipage conversion problem.
5606 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5608 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5611 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5613 * BufferView.h: don't forward declare WorkArea
5615 * BufferView.C: don't include WorkArea.h
5617 2001-07-25 André Pönitz <poenitz@gmx.net>
5621 * lyxfunc.C: new LFUN 'math-space'
5623 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5625 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5627 * text2.C (toggleInset): call open/close
5629 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5631 * lyxfunc.C (dispatch): add debug for the disabled case
5633 * font.C (buttonText): make similar to rectText
5635 * buffer.C (readInset): comment out parsing of insetlist and
5638 * PainterBase.C (rectText): small correction
5640 * BufferView_pimpl.C: comment out insettheorem and insetlist
5641 * LyXAction.C: ditto
5642 * commandtags.h: ditto
5644 2001-07-24 Juergen Vigna <jug@sad.it>
5646 * text.C (draw): honor the ignore_language.
5648 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5650 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5652 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5655 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5657 * lyxtext.h: remove unused (and unimplemented) methods
5659 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5661 * text.C (getVisibleRow): honor background color
5664 * Painter.h: remove default color argument for fillRectangle
5666 * text.C (backgroundColor): new method
5668 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5670 * text.C (getVisibleRow): adjust
5672 * font.[Ch] (rectText): new method, metrics
5673 (buttonText): new method, metrics
5675 * PainterBase.[hC]: make rectText and buttonText always draw and take
5678 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5680 * ToolbarDefaults.C (read):
5681 * MenuBackend.C (read): allow escaping in all strings
5683 * BufferView_pimpl.C (insertAndEditInset): new method.
5684 (Dispatch): use insertAndEditInset whenever appropriate.
5686 * BufferView_pimpl.C (insertNote): removed
5688 * BufferView_pimpl.C (smartQuote): new method, moved from
5689 BufferView; if an insetquote cannot be inserted, insert a '"'
5692 * BufferView2.C: remove insertCorrectQuote();
5694 * lyxfunc.C (getStatus): Add support for all remaingin
5697 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5699 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5700 command (necessary to pass " as parameter of self-insert.
5702 * text.C (selectWordWhenUnderCursor):
5703 (selectWord): add word_location parameter
5704 (selectWordWhenUnderCursor): same + remove special code for word
5706 (selectNextWord): use kind() to guess type of insetspecialchar,
5709 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5710 (insertErtContents): create ert insets as collapsed.
5711 (readInset): better compatibility code for Info inset.
5713 2001-07-20 Juergen Vigna <jug@sad.it>
5715 * lyxfunc.C (dispatch): use always LyXFind now!
5717 * text2.C (init): add a reinit flag so that the LyXText can be
5718 reinited instead of deleted and reallocated (used in InsetText).
5720 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5726 2001-07-18 Juergen Vigna <jug@sad.it>
5728 * text.C (selectNextWord): handle insets inside inset by calling
5729 always the bv->text functions so that we can go up the_locking_inset!
5731 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5732 in strange locations when inside an inset!
5734 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5735 handling to include insets.
5737 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
5739 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5741 * LyXAction.C (init):
5743 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
5744 LIGATURE_BREAK, since the name is so stupid.
5746 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5748 * buffer.C (readInset): enable reading of new InsetNotes as well as old
5751 * FontLoader.C: remove FORMS_H_LOCATION cruft.
5753 * sp_form.[Ch]: remove.
5755 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
5757 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
5760 * src/buffer.C (readInset): ditto.
5762 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5764 * BufferView_pimpl.C (specialChar): new method. Obsoletes
5765 menuSeparator(), endOfSentenceDot(), ldots() and
5766 hyphenationPoint(), which are therefore removed.
5767 (Dispatch): handle LFUN_HYPHENATION_BREAK.
5769 * LyXAction.C (init):
5770 * commandtags.h: add LFUN_HYPHENATION_BREAK.
5772 * paragraph.C (getWord): removed.
5774 * BufferView_pimpl.C (Dispatch): use last word or selection for
5775 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
5777 * lyx_main.C (queryUserLyXDir): do not ask before creating
5778 user_dir, except if it has been named explicitely.
5780 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5782 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
5783 a document of zero size.
5785 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5787 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
5788 approriately in the c-tor and in require().
5789 (getPackages): output the appropriate LaTeX for natbib support.
5791 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
5792 variables "use_natbib" and "use_numerical_citations" when reading the
5794 (readInset): read the various natbib cite commands.
5795 (validate): white-space change.
5797 * bufferparams.[Ch]: new variables "bool use_natbib" and
5798 "bool use_numerical_citations".
5799 (writeFile): output them in the LyX file.
5801 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5803 * lyxfunc.C (getStatus): add support for all the inset insertion
5806 * text2.C (insertInset):
5807 * paragraph.C (insetAllowed):
5808 * BufferView_pimpl.C (insertInset): update to take in account the
5809 renaming of insertInsetAllowed
5811 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5813 * text2.C (getInset): new method. returns inset at cursor position.
5815 * BufferView_pimpl.C (Dispatch): changes because of this.
5817 * LyXAction.C (init): rename open-stuff to inset-toggle.
5819 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5821 * text2.C (toggleInset): renamed from openStuff; use
5824 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5826 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5828 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5830 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
5832 * buffer.C (readLyXformat2): Add filename to the error dialog
5834 2001-07-18 Juergen Vigna <jug@sad.it>
5836 * tabular.C (GetCellNumber): put an assert here instead of the check!
5838 2001-07-17 Juergen Vigna <jug@sad.it>
5840 * BufferView_pimpl.C (toggleSelection): adapted too.
5842 * text.C (selectNextWord): adapted for use with insets.
5843 (selectSelectedWord): ditto
5845 2001-07-17 Juergen Vigna <jug@sad.it>
5847 * sp_spell.C (PSpell): fix initialitation order.
5849 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5851 * paragraph.C: spacing
5853 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
5855 * sp_spell.C: repair language selection for pspell
5857 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5859 * lyxfunc.h: change more methods to begin with lower char.
5861 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
5863 * buffer.C (parseSingleLyXformat2Token): Generate error insets
5864 for unknown layouts.
5866 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
5868 * buffer.C (readLyXformat2): Generate an error dialog if there are
5871 2001-07-16 Juergen Vigna <jug@sad.it>
5873 * sp_spell.C: always compile ISpell part.
5875 * lyxrc.C: added use_pspell entry and it's handling.
5877 2001-07-13 Juergen Vigna <jug@sad.it>
5879 * sp_spell.C: removed double includes.
5881 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5883 Consistent use of Lsstream.h:
5884 * Lsstream.h: added using std::stringstream for consistencies sake.
5886 * buffer.C: removed using std::stringstream
5888 * lyxfont.C (stateText):
5889 * paragraph.C (asString):
5890 * text.C (selectNextWord, selectSelectedWord):
5891 * text2.C (setCounter):
5892 * vspace.C (asString, asLatexString):
5893 std::ostringstream -> ostringstream.
5895 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5897 * LyXAction.C: add LFUN_HELP_ABOUTLYX
5898 * commandtags.h: add LFUN_HELP_ABOUTLYX
5899 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
5901 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5903 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
5905 * lyx_gui_misc.C: remove spellchecker
5906 * lyxfunc.C: showSpellchecker
5908 * sp_ispell.h: added
5909 * sp_pspell.h: added
5911 * sp_form.[Ch]: removed
5912 * spellchecker.[Ch]: removed
5914 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
5916 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
5918 (simpleTeXSpecialChars): Simply print the input character without
5919 any special translation if pass_thru is set.
5921 * layout.h: Added bool pass_thru to layout class for being able to
5922 implement pass through of a paragraph for Literate Programming.
5924 * layout.C: add LT_PASS_THRU to LayoutTags enum.
5925 * layout.C (LyXLayout): set pass_thru to flase in constructor.
5926 * layout.C (Read): add "passthru" to list of layout tags and add
5927 code to set the pass_thru boolean when it is read.
5929 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5931 * trans_decl.h: remove allowed from KmodInfo
5933 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
5937 * paragraph_pimpl.C (erase): use boost::prior
5939 * Painter.C (text): use data() instead of c_str() when length is
5941 * WorkArea.C (putClipboard): ditto
5942 * font.h (width): ditto
5944 * BufferView2.C: use it-> instead of (*it). for iterators
5946 * paragraph_pimpl.C: ditto
5947 * paragraph.C: ditto
5948 * minibuffer.C: ditto
5953 * converter.C: ditto
5955 * Variables.C: ditto
5956 * TextCache.C: ditto
5957 * MenuBackend.C: ditto
5958 * LyXAction.C: ditto
5960 * FloatList.C: ditto
5962 * ColorHandler.C (LyXColorHandler): ditto
5964 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5966 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
5968 * text2.C (openStuff): reintroduce this method (which had been
5969 nuked in NEW_INSETS frenzy).
5971 * lyxfunc.C (Dispatch): when an action has not been handled, use
5972 its name in the error message, not its number.
5974 * paragraph.C (inInset): change method name to begin with lowercase.
5977 * text2.C: updates because of this.
5979 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5981 * ToolbarDefaults.C (add): add spaces in error message
5983 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5985 * buffer.C (readLyXformat2): initialize the ert comp. variables.
5986 (readLyXformat2): rename return_par to first_par, use lyxlex's
5987 pushToken and remove the manual push handling.
5988 (parseSingleLyXformat2Token): add another ert comp. variable:
5989 in_tabular, rename return_par to first_par. handle newlines better
5991 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5993 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
5995 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5997 * text2.C (getParFromID): removed
5999 * buffer.C (getParFromID): new method moved form lyxtext.
6000 * BufferView2.C (insertErrors): adjust
6001 (setCursorFromRow): adjust
6002 * BufferView_pimpl.C (restorePosition): adjust
6003 * lyxfunc.C (Dispatch): adjust
6004 * undo_funcs.C (textUndo): adjust
6006 (textHandleUndo): adjust
6007 (textHandleUndo): adjust
6009 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6011 * buffer.C: up' the LYX_FORMAT
6013 * lyxfont.h: turn NO_LATEX on as default
6015 * buffer.C (insertErtContents): new methods of tex style compability.
6016 (parseSingleLyXformat2Token): use it several places.
6017 * tabular.C (OldFormatRead): and here
6019 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6021 * text2.C: remove some commented code.
6024 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6025 * trans.C: changes because of the above.
6027 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6029 * text2.C (setCounter): Fix counters bug with bibliography layout.
6031 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6033 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6034 own member functions
6035 (simpleTeXSpecialChars): ditto
6037 2001-07-06 Juergen Vigna <jug@sad.it>
6039 * a lot of files: changed the access to LyXText::status and the
6040 call of undo-functions.
6042 * undo.[Ch]: added a inset_id to the undo informations.
6044 * undo_funcs.[Ch]: added and moved here all undo functions.
6046 * lyxtext.h: give the status enum a weight, made status_ a private
6047 variable and made accessor functions for it, removed the whole bunch
6048 of undo-functions as they are now in their own file, make some
6049 functions publically available. Added function ownerParagraph with
6052 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6053 made InInset() a const function, added getParFromID() function.
6055 * buffer.[Ch]: added const version for inset_iterator functions,
6056 added getInsetFromID() function.
6058 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6059 changed undo functions for new version.
6061 2001-07-05 Juergen Vigna <jug@sad.it>
6063 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6064 unknow mechanism does not call the proper constructor but only this
6065 one also if I request the other!?
6067 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6069 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6071 * text2.C (LyXText): use initialization lists.
6073 * lyxtext.h (Selection): initialize set_ and mark_
6074 (init): remove method
6076 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6078 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6080 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6082 * screen.[Ch]: change method names to begin with lowercase
6084 * BufferView_pimpl.C (updateScrollbar): simplify further and
6085 hopefully make it a bit faster.
6087 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6089 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6090 calling directly xforms functions.
6092 * Painter.C (Painter):
6093 * lyx_cb.C (MenuWrite):
6094 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6097 * lyx_gui.C: remove bogus guiruntime extern declaration.
6099 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6101 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6103 (redoDrawingOfParagraph): ditto
6104 (redoParagraphs): ditto
6105 (cutSelection): don't create a object for CutAndPaste use the
6106 static method directly
6107 (pasteSelection): ditto
6109 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6112 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6114 * modifications to some other files because of this.
6116 * Makefile.am (lyx_SOURCES): add XFormsView
6118 * XFormsView.[Ch]: new files
6120 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6121 the main window. Move the gui dependent stuff to XFormsView
6123 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6125 * tabular.C (GetCellInset): update cur_cell also in the row/col
6126 version of this function.
6128 * lyxfunc.C: no need to include figure_form.h here.
6134 * lyxvc.C: no need to include forms.h here.
6136 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6138 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6140 * lyxfunc.C (Dispatch):
6142 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6143 constructor argument.
6145 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6147 * paragraph.C (Paragraph): dont't clear, and just set layout.
6148 (makeSameLayout): use params's copy contructor.
6150 * ParagraphParameters.[Ch] (makeSame): delete method
6152 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6154 * Variables.[Ch]: fix indentation, rename set to isSet
6156 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6158 * lyxfunc.C (Dispatch): fix typo
6160 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6162 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6165 * bufferlist.C: include assert.h for emergencyWrite().
6167 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6169 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6170 give up at last (bug #425202) !
6172 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6178 * spellchecker.C: strip spellchecker options and bring up
6179 preferences tab instead
6181 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6183 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6184 the istringstream constructor
6186 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6188 * paragraph.C (getLayout): fix return value
6190 * paragraph.h: do not declare getLayout as inline.
6192 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6194 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6196 * lyxcursor.h (operator<): new func
6197 (operator>): new func
6198 (operator>=): new func
6199 (operator<=): new func
6201 * text.C (changeCase): use selection.start and selection.end
6202 (changeRegionCase): require from to be <= to. Require par to be a
6205 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6207 2001-06-27 Juergen Vigna <jug@sad.it>
6209 * text.C (cursorLeftOneWord): changed to return the cursor and added
6210 overlay with BufferView * parameter which calls this one.
6212 (selectWord): use new getWord function.
6213 (changeCase): renamed from changeWordCase as and extended to work
6216 * lyxtext.h: added enum word_location
6218 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6219 changeCase as this operates now also on selections.
6221 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6223 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6225 * many files: send debug output to Debug::INFO instead of
6228 * converter.C (View):
6230 (Move): send debug output to Debug::FILES instead of console.
6232 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6234 * lyxfunc.C (getStatus): use func_status
6236 * func_status.h: new header, describing the results of
6239 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6242 2001-06-25 The LyX Project <jug@sad.it>
6244 * buffer.C (sgmlOpenTag):
6246 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6248 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6250 * text2.C: remove some dead code
6252 * tabular.C (GetCellInset): store the last cell checked (gotten)
6254 * tabular.h: add the helper for the speedup
6256 * lyxtext.h: remove some dead code
6258 2001-06-26 The LyX Project <Asger>
6260 * paragraph.C: Change export to LaTeX of alignment to
6261 \begin{center} and family for better roundtrip work with reLyX.
6263 * Tune the math drawing a bit.
6265 2001-06-25 The LyX Project <Asger>
6267 * LColor.C (LColor): New color for math background. New color
6270 2001-06-25 The LyX Project <jug@sad.it>
6272 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6275 * bufferlist.C (newFile): do not restrict to files ending with
6278 * BufferView_pimpl.C (MenuInsertLyXFile):
6280 2001-06-24 The LyX Project <jug@sad.it>
6282 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6285 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6287 * lyxtext.h: rename most methods to begin with a small char.
6288 Lots of changes because of this.
6290 * paragraph.C (Paragraph): do not call fitToSize
6291 (erase): call Pimpl::erase
6292 (insertChar): call Pimpl::insertChar
6293 (insertInset): call Pipl::insertInset
6294 (breakParagraph): do not call fitToSize
6295 (breakParagraphConservative): do not call fitToSize
6296 (fitToSize): remove method
6298 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6300 2001-06-24 The LyX Project <Asger>
6302 * Fix Qt compilation^2
6304 2001-06-24 The LyX Project <jug@sad.it>
6306 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6307 depthHook(getDepth()-1).
6310 * ParagraphParameters.h:
6311 * ParameterStruct.h: change type of depth to unsigned int ==
6312 depth_type. Many adaptations to other files before of that.
6314 2001-06-24 The LyX Project <Asger>
6316 * Fix Qt compilation.
6318 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6320 * paragraph.h: renamed several methods to begin with small letter.
6321 several changes to many parts of the code because of this.
6323 2001-06-23 The LyX Project <jug@sad.it>
6325 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6326 rewritten to discard all double spaces when KeepEmpty is off
6327 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6328 to only handle newlines but not fiddle with spaces and friends.
6330 * lyxfunc.C (MenuNew): when doing 'new from template', use
6331 template_path as default directory
6333 2001-06-23 The LyX Project <Asger>
6335 * Clean-up of header file includes all over
6336 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6338 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6340 * paragraph.h: renamed from lyxparagraph.h
6342 2001-06-23 Asger <lyx@violet.home.sad.it>
6344 * Buffer.h: Removed Buffer::resize
6345 * BufferList.h: Removed BufferList::resize
6346 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6347 the document lazily when we change the width, or the font settings.
6349 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6351 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6353 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6355 * buffer.h: remove out of date comment
6357 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6360 * screen.C: fix "theoretical" GC leak
6362 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6364 * LaTeX.C (scanAuxFile):
6365 (deplog): remove trailing \r when reading stream (useful under
6368 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6370 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6371 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6372 and BufferView::theLockingInset(Inset*), so should use them and not
6373 access bv_->text->the_locking_inset directly.
6375 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6377 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6380 * tex-defs.h: remove old unused file
6382 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6384 * BufferView_pimpl.C: fix typo, remove minibuffer message
6385 when buffer has loaded
6387 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6389 * lyxfunc.C (Dispatch): use stringstream
6390 (MenuNew): use stringstream
6391 (Open): use stringstream
6393 * importer.C (Import): use stringstream
6395 * bufferview_funcs.C (CurrentState): use stringstream
6397 * LaTeX.C (run): use stringstream
6399 * BufferView_pimpl.C (savePosition): use stringstream
6400 (restorePosition): use stringstream
6401 (MenuInsertLyXFile): use stringstream
6403 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6416 * vspace.C: removed // -*- C++ -*- as first line.
6419 * version.h: added // -*- C++ -*- as first line.
6421 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6423 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6425 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6428 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6430 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6433 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6435 * gettext.C: include LString.h even when --disable-nls is on.
6437 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6439 * converter.h (Get): changed argument type from int to
6440 FormatList::size_type to avoid unnecessary conversion.
6442 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6445 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6447 * gettext.h: include LString.h even when --disable-nls is on.
6449 2001-06-07 Juergen Vigna <jug@sad.it>
6451 * text.C (BreakAgain): subst spaces with tabs.
6453 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6454 (resizeInsetsLyXText): set force on resizeLyXText.
6456 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6458 * gettext.h (gettext_init):
6459 (locale_init): use a real definition instead of a macro
6461 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6463 * Bufferview_pimpl.C:
6465 * LColor.C: further lcolor tidies
6467 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6469 * BufferView_pimpl.C (updateScrollbar): simplify.
6471 * BufferView2.C: don't include insets/insetinfo.h, change
6472 prototype for insertInset and call the Pimpl version. let
6473 updateInset call Pimpl version.
6475 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6476 gotoInset to BufferView::Pimpl
6478 2001-06-01 Juergen Vigna <jug@sad.it>
6480 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6481 inside a LockingInset (is the update needed at all?).
6483 2001-05-31 Juergen Vigna <jug@sad.it>
6485 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6486 here not the old one otherwise how should we compare it afterwards
6489 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6494 * FontInfo.C: bring C functions into global namespace when
6497 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6499 * LString.h: make sure config.h has been loaded before LString.h.
6501 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6502 (one for each char read by EatLine!).
6504 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6507 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6509 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6510 to the same as the par we break from
6512 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6514 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6516 * MenuBackend.C (expand): also create menu entries for wide
6517 versions of the floats.
6519 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6521 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6523 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6524 frontends/Makefile.am
6530 * tabular.C (getTokenValue): add std::
6532 * tabular-old.C (getTokenValue): add std::
6533 (getTokenValue): ditto
6534 (getTokenValue): ditto
6536 * screen.C (ToggleSelection): adjust
6538 * lyxtext.h: put selection cursors inside a Selection struct.
6540 * lyxfunc.C (moveCursorUpdate): adjust
6542 * lyxfont.C (latexWriteStartChanges): add std::
6546 * font.h: delete with(char const *, LyXFont const &)
6548 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6550 * FontInfo.C (getFontname): add std::
6552 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6553 (workAreaButtonPress): adjust
6554 (tripleClick): adjust
6556 (moveCursorUpdate): adjust
6559 * BufferView2.C (gotoInset): adjust
6561 2001-05-30 Juergen Vigna <jug@sad.it>
6563 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6564 to check pspell I add this as default as I now have new pspell
6565 libraries and they seem to use this.
6567 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6569 * text2.C (CutSelection): make the cursor valid before the call to
6572 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6574 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6575 relied on 0 terminated strings and other horrors. Bug found due to
6576 the new assert in lyxstring!
6578 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6581 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6583 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6586 * lyxfunc.C (processKeySym): change method of getting to the
6589 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6590 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6591 * BufferView_pimpl.[Ch]: here as private methods.
6593 2001-05-28 Juergen Vigna <jug@sad.it>
6595 * text.C (SetHeightOfRow): added the update() call again as it is
6596 needed to initialize inset dimensions!
6598 2001-05-16 Juergen Vigna <jug@sad.it>
6600 * text2.C (SetCharFont): Add new function with BufferView * and
6601 bool toggleall parameters for setting insets internal fonts.
6602 (SetFont): Freeze the undo as we may change fonts in Insets and
6603 all this change should be inside only one Undo!
6605 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6606 setting font's in insets as for them we have the SetFont function!
6608 2001-05-15 Juergen Vigna <jug@sad.it>
6610 * text2.C (ClearSelection): to be sure we REALLY don't have any
6613 * tabular.C (TeXCellPreamble): fixed the left border problem for
6616 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6618 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6621 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6623 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6624 LFUN_BREAKPARAGRAPH.
6626 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6627 help test to "internal only", similar for LFUN_INSERT_URL
6629 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6630 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6631 auto_region_delete and deadkeys.
6633 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
6636 * LColor.C: remove some dead entries, tidy a little
6638 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6640 * lyxfunc.C (processKeySym): comment the Escape handling, remove
6642 (Dispatch): implement LFUN_ESCAPE
6644 * commandtags.h: add LFUN_ESCAPE
6646 * LyXAction.C (init): add entry for LFUN_ESCAPE
6648 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6649 Remove commented code.
6650 (insertNote): moved here
6651 (open_new_inset): moved here
6653 * BufferView[2].[Ch]: move insertNote and open_new_inset to
6656 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6658 * kbmap.C (findbinding): clean it up and make it work correctly.
6660 * lyx_main.C (init): do not pass argc and argv as parameters
6662 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6664 * buffer.C: fix path for OS/2 & Win32
6668 * lyx_main.C: Added os:: class.
6670 * os2_defines.h: update
6672 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6674 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6675 better by trying again with reduced state.
6677 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6679 * lyxrc.C (read): print error about invalid key sequence only when
6680 debugging (because not all latinX keysyms are known to some X
6683 * kbsequence.C (getiso): add a few std:: qualifiers
6684 (getiso): comment out extra return statement.
6686 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
6688 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6690 (Dispatch): enhance the accent inset a bit. (not perfect)
6692 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6694 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6696 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6698 * bufferlist.C (emergencyWrite): fix assert() call
6700 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
6702 * text.C (InsertChar): Added trivial patch to only send the "you
6703 can not do multiple spaces this way" message once during a
6706 2001-05-08 Baruch Even <baruch@lyx.org>
6708 * Makefile.am: Changed order of libraries to get LyX to link properly
6709 with the gnome frontend.
6711 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6713 * LaTeXFeatures.h: add a std:: qualifier
6715 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6717 * paragraph.C (String): use stringstream
6719 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6721 * paragraph.C (writeFile): remove footflag arg
6723 * buffer.C (makeLaTeXFile): use stringstream
6724 (latexParagraphs): remove footnot gurba
6726 * LaTeXFeatures.C (getPackages): use stringstream
6727 (getMacros): likewise
6728 (getTClassPreamble): likewise
6729 (getFloatDefinitions): new method
6731 * paragraph.C (writeFile): reindent
6734 * WorkArea.h: revert the xpos + etc changes.
6736 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
6738 * lyxparagraph.[Ch]: add copy constructor, remove Clone
6740 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6741 (pasteSelection): likewise
6742 * text2.C (CreateUndo): likewise
6744 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6746 * minibuffer.C (peek_event): temporarily reduce the functionality
6747 of the minibuffer (to allow args on lfuns)
6749 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
6750 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
6752 * buffer.C (readInset): add compability reading of old float
6753 lists, add reading of new style float list.
6754 (readInset): avoid reevaluation of inscmd.getCmdName()
6755 (getLists): reindent
6757 * MenuBackend.C (MenuItem): implement parsing of
6758 md_floatlistinsert and md_floatinsert.
6759 (expand::LastFiles): move initalizaton of iterators out of loop,
6761 (expand::Documents): introduce typdedef vector<string> Strings,
6763 (expand::ExportFormats): introduce typedef vector<Format const *>
6764 Formats, and use it.
6765 (expand): implement FloatListInsert and FloatInsert.
6767 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
6768 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
6769 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
6771 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
6773 (Dispatch::LFUN_FLOAT_LIST): implement
6775 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6777 * LaTeX.C (run): Fix problem with --export code.
6779 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6781 * BufferView.[Ch] (workarea): removed.
6782 (getClipboard) new method; wrapper for workarea()->getClipboard()
6784 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
6787 * WorkArea.h (width, height, xpos, ypos): These methods all
6788 returned the dimensions of the work_area sub-area of WorkArea,
6789 resulting in a position error if the WorkArea were resized. Now
6790 return the dimensions of the entire WorkArea.
6792 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
6794 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6796 * LaTeX.C (deplog): correct the syntax of regex reg1
6798 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6800 * undo.C: remove !NEW_INSETS cruft
6802 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6804 * text2.C: remove !NEW_INSETS cruft
6806 * text.C: remove !NEW_INSETS cruft
6808 * tabular.C: remove !NEW_INSETS cruft
6810 * spellchecker.C: remove !NEW_INSETS cruft
6812 * lyxtext.h: remove !NEW_INSETS cruft
6814 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6816 * lyxfunc.C: remove !NEW_INSETS cruft
6818 * lyxfind.C: remove !NEW_INSETS cruft
6820 * lyx_cb.C: remove !NEW_INSETS cruft
6822 * figureForm.C: remove !NEW_INSETS cruft
6824 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6826 * buffer.[Ch]: remove !NEW_INSETS cruft
6828 * ToolbarDefaults.C: remove !NEW_INSETS cruft
6830 * CutAndPaste.C: remove !NEW_INSETS cruft
6832 * BufferView_pimpl.C: remove !NEW_INSETS cruft
6834 * BufferView2.C: remove !NEW_INSETS cruft
6836 * BufferView.h: remove !NEW_INSETS cruft
6838 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6840 * Lsstream.h: include LString.h before the sstream headers to
6841 fix problem with gcc 2.95.3 and lyxstring
6843 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6845 * lyx_main.C: add using directives when needed for C functions
6846 declared in std:: namespace.
6848 2001-04-27 Juergen Vigna <jug@sad.it>
6850 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6851 (SetHeightOfRow): comment out the update call should not be needed!
6853 2001-04-13 Juergen Vigna <jug@sad.it>
6855 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6856 (LyXTabular): tried to minimize operator= operations (and realized
6857 hopfully Lars wish).
6859 2001-04-27 Juergen Vigna <jug@sad.it>
6861 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6863 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6865 * lyxfunc.C (Dispatch): hack to make listof algorithm work
6867 * buffer.C (readInset): hack to make listof algorithm work
6869 * BufferView_pimpl.C: hack to make listof algorithm work
6871 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6873 * LyXAction.C: removed all !NEW_INSETS cruft
6874 (init): moved lfun_item in method
6876 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6878 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6880 * BufferView2.C (theLockingInset): white space.
6882 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6884 * minibuffer.C: include <iostream>
6886 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6888 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6890 * commandtags.h: add LFUN_TRANSPOSE_CHARS
6892 * text.[Ch] (TransposeChars): new method
6894 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6896 * call message directly through LyXView instead of through LyXFunc
6897 * BufferView2.C: adjust
6898 * BufferView_pimpl.C: adjust
6899 * FontLoader.C: adjust
6901 * bufferview_funcs.C: adjust
6902 * converter.C: adjust
6903 * figureForm.C: adjust
6904 * importer.C: adjust
6906 * lyx_gui_misc.C: adjust
6910 + more files in subdirs
6912 * lyxparagraph.h (size): move up int file
6915 * adjust all uses of Assert to lyx::Assert.
6917 * BufferView2.C (ChangeCitationsIfUnique): adjust for
6918 lyxfunctional in namespace lyx
6919 * layout.C (hasLayout): ditto
6922 (delete_layout): ditto
6923 (NumberOfClass): ditto
6924 * converter.C (GetFormat): ditto
6929 * bufferlist.C (getFileNames): ditto
6930 (emergencyWriteAll): ditto
6933 * MenuBackend.C (hasSubmenu): ditto
6936 * BufferView_pimpl.C (getInsetByCode): ditto
6938 2001-04-18 Juergen Vigna <jug@sad.it>
6940 * vspace.C (asLatexString): fixed the 100% problem.
6942 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6944 * lyxfunc.C (Dispatch):
6946 * minibuffer.h: add a few std:: qualifiers
6948 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6950 * minibuffer.[Ch]: reimplement so that commands is initiated and
6951 run from lyxfunc, simplified som handling, and made the completion
6952 and history code for complete. wip.
6954 * lyxfunc.C (processKeySym): call message
6955 (miniDispatch): new temporary method
6956 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
6957 (LFUN_MESSAGE): implement
6958 (LFUN_MESSAGE_PUSH): implement
6959 (LFUN_MESSAGE_POP): implement
6960 (initMiniBuffer): the initial/defualt minibuffer message.
6962 * lyxfont.[Ch]: inline some more getters
6964 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
6966 * lyx_gui_misc.[Ch] (WriteStatus): remove method
6968 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
6969 (AutoSave): use LFUN_MESSAGE
6970 (Reconfigure): ditto
6972 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
6974 * figureForm.C: use LFUN_MESSAGE
6976 * converter.C (runLaTeX): use LFUN_MESSAGE
6978 * bufferview_funcs.C: use LFUN_MESSAGE
6980 (changeDepth): ditto
6982 * bufferparams.h: use boost::
6984 * bufferlist.h: inherit privately from noncopyable
6986 * bufferlist.C (loadLyXFile): remove some commented code.
6988 * buffer.C (runChktex): use LFUN_MESSAGE
6990 * ShareContainer.h: inherit privately from noncopyable
6992 * ParagraphParameters.[hC] (depth): inline it.
6994 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
6996 (message): new method
6997 (messagePush): ditto
6999 (show): init minibuffer
7000 (showState): direct call
7002 * LaTeX.[Ch]: inherit privately from noncopyable
7003 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7004 instead of WriteStatus.
7006 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7008 * BufferView_pimpl.C (buffer): don't init minibuffer
7009 (workAreaButtonPress): use LFUN_MESSAGE
7010 (workAreaButtonRelease): ditto
7011 (savePosition): ditto
7012 (restorePosition): ditto
7013 (MenuInsertLyXFile): ditto
7014 (workAreaExpose): don't init minibuffer
7015 (update): remove commented code, simplify
7017 * BufferView2.C (openStuff): use LFUN_MESSAGE
7018 (toggleFloat): ditto
7021 (copyEnvironment): ditto
7022 (pasteEnvironment): ditto
7027 (updateInset): remove some commented code
7029 * lastfiles.h: inherit privately from noncopyable
7034 * lyxlex_pimpl.h: ditto
7036 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7037 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7038 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7040 * LyXAction.h: inherit privately from noncopyable, add methods
7041 func_begin, func_end, returning iterators to the func map.
7043 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7044 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7045 (func_begin): new method
7046 (func_end): new method
7048 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7050 (copySelection): ditto
7051 (pasteSelection): ditto
7053 * BufferView.C: whitespace change
7054 * BufferView.h: inherit privately from noncopyable
7056 2001-04-16 Allan Rae <rae@lyx.org>
7058 * tabular-old.C (l_getline):
7059 * spellchecker.C (sc_check_word):
7060 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7061 an unrecognised preprocessor directive. So ensure they're wrapped.
7063 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7065 * src/exporter.C (Export): Give an error message when path to file
7068 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7070 * LaTeX.C (deplog): Always check that foundfile exists.
7072 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7075 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7077 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7079 * tabular.[Ch] (getLabelList): implement new method
7081 * minibuffer.h: comment ouf setTiimer
7083 * minibuffer.C (ExecutingCB): constify res
7084 (peek_event): constify s
7085 (Set): constify ntext
7086 (Init): constify nicename
7088 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7090 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7091 (savePosition): use two params to Minibuffer::Set
7092 (restorePosition): ditto
7094 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7096 * lyx_main.C: include language.h
7098 * Makefile.am (lyx_main.o): add language.h
7100 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7106 * CutAndPaste.C: include gettext.h
7108 * lyxfont.h: remove old hack with ON and OFF.
7111 * lyxfont.h: do not include language.h...
7116 * bufferview_funcs.C:
7122 * paragraph.C: ... but do it here instead
7124 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7126 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7128 * tabular.C: small reformat
7130 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7133 (BreakParagraph): ditto
7134 (SetOnlyLayout): ditto
7137 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7140 * lastfiles.C: removed most using decl, add std:: where needed
7142 * buffer.C: ws changes
7144 * MenuBackend.C (class compare_format): put into anon namespace
7145 (expand): constify label, names, action, action2
7148 * text.C (SingleWidth): constify font
7149 (IsBoundary): constify rtl2
7150 (GetVisibleRow): constify ww
7152 * LaTeX.C (deplog): constify logfile
7154 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7156 (workAreaExpose): constify widthChange, heightChange
7158 * lyxrow.C (par): moved
7161 * lyxrow.h: as inlines here
7163 * lyxfont.h (shape): moved from lyxfont.C
7164 (emph): moved from lyxfont.C
7166 * lyxfont.C (LyXFont): use initialization list for all
7168 (shape): move to lyxfont.h as inline
7169 (emph): move to lyxfont.h as inline
7172 2001-04-04 Juergen Vigna <jug@sad.it>
7174 * vspace.C: had to include stdio.h for use of sscanf
7176 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7179 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7180 independent of xforms.
7182 2001-04-02 Juergen Vigna <jug@sad.it>
7184 * spellchecker.C: fixed namespace placing!
7186 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7188 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7189 the LyXParagraph * is 0.
7191 2001-03-29 Juergen Vigna <jug@sad.it>
7193 * vspace.C: added support for %, c%, p%, l%.
7194 (stringFromUnit): added helper function.
7195 (asLatexString): changed to give right results for the %-values.
7197 * buffer.C: convert the widthp in a width%.
7199 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7201 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7204 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7205 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7207 * lyx_cb.[Ch]: see above.
7209 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7213 * lyx.[Ch]: replaced by figure_form.[Ch].
7217 * lyxfunc.C: changed headers associated with above changes.
7219 2001-03-27 Juergen Vigna <jug@sad.it>
7221 * BufferView_pimpl.C: set the temporary cursor right!
7223 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7225 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7227 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7229 * LString.h: removed "using std::getline"!
7231 * BufferView_pimpl.C (Dispatch): changes due to changes in
7232 InsetInclude::Params.
7234 * buffer.C (tag_name): removed redundant break statements as they were
7235 producing lots of warnings with my compiler.
7237 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7239 * LString.h: add "using std::getline" when using the real <string>.
7241 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7243 * buffer.C: removed bitset usage.
7244 PAR_TAG moved to an anonymous name space.
7245 (tag_name): new funtion, also in the anonymous namespace.
7246 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7247 (makeDocBookFile): clean code. Completed transition from string arrays
7249 (SimpleDocBookOnePar): code clean.
7251 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7253 * tabular.C: add some comments.
7255 2001-03-22 Juergen Vigna <jug@sad.it>
7257 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7258 compatibility read a bit and fixed bug with minipage in different
7261 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7263 * buffer.C (pop_tag): removed.
7264 (push_tag): removed.
7265 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7266 array replaced with vector. Added support for CDATA sections.
7267 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7269 (makeDocBookFile): XML conformant declaration of CDATA section,
7270 fixed bug related to <emphasis> in the first paragraph char.
7271 (sgmlOpenTag): exclude empty tags.
7272 (sgmlCloseTag): ditto.
7274 * buffer.h (pop_tag): removed.
7275 (push_tag): removed.
7277 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7279 * language.h (Languages): added size_type and size().
7281 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7283 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7284 response on compability reading of minipages. One probliem is that
7285 the old usage of minipages was «flertydig»
7287 * several files here and in subdirs: don't use static at file
7288 scope use anon namespaces instead.
7290 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7292 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7293 LaTeX output. This is necessary for Literate document
7296 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7298 * buffer.C: insert hfill when needed.
7300 * tabular.C (l_getline): use string::erase, small whitespace change.
7302 * BufferView_pimpl.C: try the anon namespace.
7305 2001-03-16 Juergen Vigna <jug@sad.it>
7307 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7308 otherwise it won't open options-dialogs.
7310 * buffer.C: honor pextraWidth(p) on converting minipages.
7312 * tabular.C (l_getline): changed the functions to strip trailing \r.
7314 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7316 * BufferView_pimpl.C:
7317 * minibuffer..C: added "using SigC::slot" declaration.
7319 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7321 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7327 * paragraph.C: ditto
7329 * lyxtext.h: NO_PEXTRA
7331 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7333 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7334 * ParameterStruct.h: ditto
7335 * ParagraphParameters.h: ditto
7336 * lyxparagraph.h: ditto
7338 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7340 * buffer.C: add compability for minipage alignment.
7341 (latexParagraphs): remove unwanted pextra check.
7343 * several files: remove CXX_WORKING_NAMESPACES
7345 * buffer.C (pop_tag): tie is in namespace boost
7347 * BufferView.h: noncopyable is in namespace boost
7352 * lastfiles.h: ditto
7353 * bufferlist.h: ditto
7354 * ShareContainer.h: ditto
7356 * LyXAction.h: ditto
7359 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7361 * Merging changes from BRANCH_MVC back into HEAD.
7363 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7365 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7367 * BufferView_pimpl.C: change from intl.C
7371 * Makefile.am: move combox.*
7377 * intl.C: remove dialog (covered by prefs)
7379 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7381 * lyxfunc.C (Dispatch): removed redundant break statement.
7383 2001-03-14 Juergen Vigna <jug@sad.it>
7385 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7387 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7389 * buffer.C: add hack to fix compability reading of minipages.
7391 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7393 * buffer.C (getLists): Cleanup.
7395 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7397 * lyxfont.C (update): don't honor toggleall on font size.
7399 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7403 * Makefile.am: moved to frontends/xforms/
7407 * BufferView_pimpl.C: changes for moved mathpanel
7409 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7411 * gettext.h: fix gettext_init() in --disable-nls
7413 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7415 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7417 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7420 * lyx.h: strip external form
7422 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7424 * BufferView_pimpl.C: add comment, destroySplash()
7426 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7428 * BufferView_pimpl.C:
7432 * lyxfunc.C: use re-worked insetinclude
7434 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7436 * buffer.C: add using std::stringstream.
7438 * lyx_cb.C: readd using std::ios.
7440 * buffer.C: add using std::map.
7442 * BufferView_pimpl.C: add using std::vector.
7444 * ShareContainer.h: add std:: to swap.
7446 * buffer.h: add some typedefs
7447 * buffer.C (getLists): use them
7448 (getLists): renamed from getTocList.
7449 add a counter for the different float types and use it in the
7451 (getLists): use the same counter for the NEW_INSETS and the "non"
7454 * lyx_cb.h: remove unused items, includes, using etc.
7456 * ShareContainer.h: remove some commented code, add more comments
7457 and "documentation".
7459 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7461 * buffer.C (getTocList): make the list also when NEW_INSETS is
7464 * buffer.h: remove TocType
7466 * buffer.C (getTocList): change to return a map<string,
7467 vector<TocItem> >, implement for dynamic number of list.
7469 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7470 * text2.C (PasteSelection): adjust
7471 * CutAndPaste.C (pasteSelection): adjust
7473 * FloatList.C (FloatList): update from the new_insets branch.
7474 * Floating.[Ch]: ditto
7475 * LaTeXFeatures.C: ditto
7477 * lyxlex_pimpl.C: ditto
7479 * paragraph.C (Last): remove when NEW_INSETS is defined.
7481 * other file: changes because of the above.
7483 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7485 * lyxparagraph.h: rename next to next_, previous to previous_,
7486 make them private for NEW_INSETS. Rename Next() to next(),
7487 Previous() to previous().
7489 * other files: changes because of the above.
7491 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7494 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7497 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7499 * main.C (main): pass lyx_localedir to gettext_init().
7501 * gettext.h: remove locale_init and gettext_init macros
7503 * gettext.C (locale_init): new function
7504 (gettext_init): new function
7506 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7509 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7511 * Moved credits to frontends:
7512 * credits.[Ch]: removed
7513 * credits_form.[Ch]: removed
7514 * lyx_gui_misc.C: remove credits stuff
7517 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7519 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7521 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7522 unneeded destructor.
7524 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7525 a standalone pointer again.
7527 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7529 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7535 * ToolbarDefaults.C:
7544 * BufferView_pimpl.C: use new file dialog in GUII
7547 * lyx_cb.C: remove LayoutsCB to Toolbar
7549 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7551 * ShareContainer.h (get): add std:: qualifier
7553 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7555 * ShareContainer.h: define a proper ShareContainer::value_type
7556 type (and use typename to please compaq cxx)
7558 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7560 * lyxparagraph.h: move serveral local vars to
7561 ParameterStruct/ParagraphParameters., use ShareContainer in
7562 FontTable., make vars in FontTable private and add getter and
7565 * paragraph.C: changes because of the above.
7567 * lyxfont.h: remove copy constructor and copy assignment. (the
7568 default ones is ok), move number inside FontBits. move inlines to
7571 * lyxfont.C: add number to initializaton of statics, move several
7572 inlines here. constify several local vars. some whitespace
7573 cleanup. Dont hide outerscope variables.
7575 * Spacing.h: add two new constructors to match the set methods.
7577 * ShareContainer.h: new file, will perhaps be moved to support
7579 * ParameterStruct.h: new file
7581 * ParagraphParameters.h: new file
7583 * ParagraphParameters.C: new file
7585 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7586 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7588 * BufferView_pimpl.C: ParagraphParameter changes.
7589 * buffer.C: Likewise.
7590 * bufferview_funcs.C: Likewise.
7592 * text2.C: Likewise.
7594 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7596 * lyxfind.C (LyXReplace): do not redefine default argument in
7598 (IsStringInText): ditto
7599 (SearchForward): ditto
7600 (SearchBackward): ditto
7602 2001-03-06 Juergen Vigna <jug@sad.it>
7604 * lyxfind.C (IsStringInText): put parentes around expressions.
7606 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7608 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7610 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7612 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7614 * stl_string_fwd.h: add comment
7616 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7619 * tabular.C: remove unused DocBook methods
7625 killed DO_USE_DEFAULT_LANGUAGE
7627 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7629 * lyx_gui.C: do not include language.h.
7631 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7632 arguments in function implementation.
7634 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7636 * BufferView_pimpl.C: add <ctime>
7638 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7640 * BufferView_pimpl.C: add using std::find_if
7642 2001-02-27 José Matos <jamatos@fep.up.pt>
7644 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7647 2001-02-11 José Matos <jamatos@fep.up.pt>
7649 * buffer.C (makeDocBookFile): command styles now have a parameter as
7652 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
7654 * layout_forms.[Ch]: removed
7655 * lyx_cb.[Ch]: out character
7656 * lyx_gui.C: out character
7657 * lyx_gui_misc.C: out character
7658 * bufferview_funcs.C: : out character,
7659 added toggleall as parameter in ToggleAndShow
7661 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
7663 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7665 * text2.C (SetCurrentFont): Disable number property at boundary.
7667 2001-02-26 Juergen Vigna <jug@sad.it>
7669 * lyxfunc.C (getStatus): added a string argument override function so
7670 that this is correctly called from LyXFunc::Dispatch if it contains a
7671 do_not_use_argument which is used!
7672 (Dispatch): added check for "custom" export and call appropriate func.
7674 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
7676 * lyxrc.C: Add language_command_local, language_use_babel and
7677 language_global_options.
7679 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7681 * buffer.C (makeLaTeXFile): Use language_use_babel and
7682 language_global_options.
7684 2001-02-23 Juergen Vigna <jug@sad.it>
7686 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7687 which works with LyXText and putted it inside BufferView. Here now we
7688 only call for that part the BufferView::Dispatch() function.
7690 * BufferView.C (Dispatch): added.
7692 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7693 functions which needs to use a LyXText over from LyXFunc.
7694 (MenuInsertLyXFile): added
7695 (getInsetByCode): added
7696 (moveCursorUpdate): added
7697 (static TEXT): added
7699 2001-02-22 Juergen Vigna <jug@sad.it>
7701 * BufferView_pimpl.C (update): call a status update to see if LyXText
7704 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7706 * vc-backend.C (revert): implement for CVS
7707 (getLog): implement for CVS
7709 2001-02-20 Juergen Vigna <jug@sad.it>
7711 * text2.C (ClearSelection): added BufferView param for inset_owner call
7713 * lyxfunc.C (TEXT): added this function and use it instead of
7714 directly owner->view()-text of getLyXText().
7716 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
7718 * src/layout_forms.C: out preamble
7719 * src/layout_forms.h: out preamble
7720 * src/lyx_cb.C: out preamble
7721 * src/lyx_cb.h: out preamble
7722 * src/lyx_gui.C: out preamble
7723 * src/lyx_gui_misc.C: out preamble
7724 * src/lyxfunc.C: connect with guii preamble
7726 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7728 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7730 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
7732 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7733 whether to run bibtex.
7735 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
7737 * Makefile.am (lyx_SOURCES): Remove BackStack.h
7739 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7741 * Makefile.am (lyx_SOURCES): removed bibforms.h
7745 * text.C (GetVisibleRow): make several local vars const
7747 * tabular.C: small cleanup.
7749 * lyxserver.C (callback): use compare instead of strncmp
7751 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
7752 inlines to after class or to paragraph.C
7754 * lyxfont.h: remove friend operator!=
7756 * converter.h: move friend bool operator< to non friend and after
7759 * combox.h: small cleanup
7761 * buffer.h: doxygen, remove unused constructor, move inclas inlies
7762 to inlines after class def.
7764 * buffer.C (pop_tag): use string operations instead of strcmp
7766 * bmtable.c: doxygen, small cleanup
7768 * LaTeX.h: remove friend operator==
7770 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7782 * BufferView_pimpl.C:
7783 * BufferView.[Ch]: remove cruft
7785 2001-02-14 Juergen Vigna <jug@sad.it>
7787 * lyxfunc.C: removed #if 0 unused code
7789 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
7791 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
7793 * text2.C (SetSelection): added a BufferView * parameter
7795 2001-02-13 Juergen Vigna <jug@sad.it>
7797 * lyxfunc.C (Dispatch): fixed protected blank problem.
7798 * BufferView2.C (protectedBlank): added LyxText * parameter.
7800 * tabular.C (AppendRow): forgot to set row_info of newly added row.
7801 (AppendColumn): same as above for column_info.
7803 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7804 (moveCursorUpdate): use a LyXText param for support of InsetText.
7806 * BufferView_pimpl.C (doubleClick): added support for InsetText.
7807 (tripleClick): ditto
7809 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7811 * BufferView_pimpl.C (update): added LyXText param to honor insets.
7813 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7815 * text2.C (SetSelection): set correct update status if inset_owner
7818 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
7820 * tabular.C: remove some commented code.
7822 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7824 * BufferView_pimpl.C: call hideSplash()
7826 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7829 * bibforms.h: remove
7832 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7833 add LFUN_CHILD_CREATE
7835 * counters.h: fix tiny typo
7840 * lyx.C: move splash to frontends/xforms/
7842 * lyx_gui_misc.C: move Include and Bibform to frontends
7844 * lyxvc.h: clarify comment
7846 * vspace.C: tiny housekeeping
7848 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7850 * text.C (PrepareToPrint): RTL Fix.
7852 * paragraph.C (GetUChar): New method.
7853 (String): Use GetUChar.
7855 * buffer.C (asciiParagraph): Use GetUChar.
7857 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7859 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7861 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
7864 * buffer.C: rename to getLogName(), handle
7865 build log / latex log nicely
7867 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7870 * MenuBackend.h: remove support for reference menuitem type.
7872 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
7874 * BufferView_pimpl.C: housekeeping
7875 * BufferView_pimpl.h:
7880 * minibuffer.h: move Timeout GUI-I
7882 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
7884 * lyxrc.C (read): Update converters data-structures.
7886 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
7888 * LaTeX.h (operator!=): add operator != for Aux_Info
7890 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
7892 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7894 * LaTeXLog.C: deleted, useful code moved to Buffer
7897 * buffer.C: new function getLatexLogName()
7903 * lyxfunc.C: use frontends for LaTeX and VC logs
7905 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7907 * LaTeX.h: yet another std:: that Allan forgot.
7909 * Variables.C (set): renamed from isset(), because this clashes
7910 with some HP-UX macros (grr).
7912 2001-02-06 Allan Rae <rae@lyx.org>
7914 * LaTeX.h: Another bug fix. Missing std:: this time.
7916 2001-02-04 Allan Rae <rae@lyx.org>
7918 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
7919 floats problem. I've left it commented out because it's not quite
7920 correct. It should also test that the current object is a table or
7921 figure inset. But I haven't gotten around to figuring out how to do
7922 that. I *think* it'll be something like: "table" == inset.type()
7924 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
7927 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
7929 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
7930 all the citation/databases/styles in the auxilary file.
7931 (run): Rerun latex if there was a babel language error.
7933 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
7935 * text.C (Backspace): Preserve the font when changing newline char
7937 (BreakParagraph): If the cursor is before a space, delete the space.
7939 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
7941 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7943 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
7944 new argument (code).
7945 (ChangeCitationsIfUnique): New method.
7947 * paragraph.C (GetPositionOfInset): Handle bibkey.
7949 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7951 * BufferView_pimpl.h: change type of Position::par_pos to
7952 LyXParagraph::size_type.
7954 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
7956 * BufferView_pimpl.C (savePosition, restorePosition): Write
7957 messages to minibuffer.
7959 2001-01-28 José Matos <jamatos@fep.up.pt>
7961 * buffer.C (makeDocBookFile): adds support for document language.
7962 A silly restriction on the name of LatexCommand types where removed.
7963 Added support for CDATA sections, allows to chars unescaped, used
7964 among others in code, to avoid escape < and >.
7966 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7968 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
7969 saved positions instrad of a stack. Furthermore, a position is
7970 stored using paragraph id/paragraph position.
7972 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
7973 Remove LFUN_REF_BACK.
7975 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7977 * converter.C (dvipdfm_options): New method.
7979 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7981 * vspace.C (isValidLength): Fix for empty input string.
7983 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7985 * LyXAction.C (init): change description of LFUN_FIGURE to
7988 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7990 * LaTeX.C: add using directive
7992 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7994 * MenuBackend.C (expand): Fix the sorting of the formats.
7996 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
7998 * lyx_main.C: tiny error message fix
8000 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8002 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8003 calling fl_initialize(). This fixes the problem with ',' as
8004 decimal separator in text files.
8006 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8008 * trans.C (process): Fix the keymap bug.
8010 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8012 * LaTeX.C (scanAuxFiles): New method. Provides support for
8013 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8014 (scanLogFile) Scan for "run BibTeX" messages.
8016 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8017 OT1 font encoding. Also, load the aecompl package if the ae
8020 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8022 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8024 * texrow.C (increasePos): turn two error messages into debug
8027 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8029 * LaTeX.C (scanAux): Handle the \@input macro.
8030 (runBibTeX): Use scanAux().
8032 * language.C (latex_options_): New field.
8034 * LaTeXFeatures.C (getMacros): Add language macros.
8036 * buffer.C (makeLaTeXFile): Small fix.
8038 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8040 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8042 * text2.C: add a using directive.
8044 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8049 * lyxfunc.C: kill LyXBell.
8051 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8053 * text.C (IsBoundary): Remove the error message
8055 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8057 * lyxrc.C (setDefaults): Correct initialization value for
8060 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8062 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8065 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8068 * src/LyXAction.C: Added reference-next.
8070 * text.C (InsertChar): Use contains instead of strchr.
8072 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8074 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8076 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8077 alignment commands (when needed).
8079 * text.C (InsertChar): Add ':' to number separator chars.