1 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3 * paragraph_pimpl.C (simpleTeXBlanks):
4 (simpleTeXSpecialChars):
5 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7 * tabular.C (latex): add some missing case statements. Reindent.
9 * MenuBackend.C (expandToc): remove unused variable.
11 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
20 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
23 2003-01-05 John Levon <levon@movementarian.org>
26 * BufferView.C: add getEncoding()
29 * kbsequence.C: do not store last keypress
32 * lyxfunc.C: store last keypress here instead. Pass encoding
35 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
37 * lyx_main.C (init): remove annoying error message when following
38 symbolic links (bug #780)
40 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
42 * text.C (insertChar):
43 * lyxrc.C (getDescription): remove extra spaces
45 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
47 * lyxrc.C (getDescription): remove extra spaces
49 2002-12-20 John Levon <levon@movementarian.org>
51 * text3.C: hack fix for page up/down across tall rows
53 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
55 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
58 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
60 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
61 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
62 thesaurus is not compiled in
64 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
66 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
68 2002-12-16 Angus Leeming <leeming@lyx.org>
71 * lyx_main.C (init): remove override_x_deadkeys stuff.
73 2002-12-12 John Levon <levon@movementarian.org>
75 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
76 insert. Only remove shift modifier under strict
79 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
81 * MenuBackend.C (expandToc): fix crash.
83 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
85 * MenuBackend.C (expandToc): gettext on float names.
87 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
89 * lyxlength.[Ch]: set default unit to UNIT_NONE,
90 implement bool empty() [bug 490]
92 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
94 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
96 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
98 * several files: ws changes
100 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
102 * text2.C (setCounter): clean up a bit, use boost.format.
103 (updateCounters): initialize par upon declaration.
105 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
106 if the layout exists. We do not just store the layout any more.
107 (SwitchLayoutsBetweenClasses): use boost.format
109 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
111 * converter.C (convert): if from and to files are the same, use a
112 temporary files as intermediary
114 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
117 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
119 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
121 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
123 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
125 * tabular.C (asciiPrintCell): use string(size, char) instead of
128 * sgml.C (openTag): fix order of arguments to string constructor
131 * lyxfunc.C (dispatch): use boost.format
133 * lots of files: change "c" -> 'c'
135 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
137 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
139 2002-11-25 Angus Leeming <leeming@lyx.org>
141 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
143 * lyx_main.C (init): compile fix.
145 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
147 * lyx_cb.C (start): boost.formatify
148 do not include <iostream>
150 * lengthcommon.C: ws only
152 * boost-inst.C,BoostFormat.h: add more explict instantations
154 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
156 * lots of files: handle USE_BOOST_FORMAT
158 2002-11-21 John Levon <levon@movementarian.org>
160 * pspell.C: fix compile
162 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
164 * lyxfunc.C (dispatch): use boost::format
168 * lyxfont.C (stateText): use boost::format
170 * lyx_main.C (LyX): use boost::format
172 (queryUserLyXDir): ditto
175 (typedef boost::function): use the recommened syntax.
177 * importer.C (Import): use boost::format
179 * debug.C (showLevel): use boost::format
181 * converter.C (view): use boost::format
186 * bufferview_funcs.C (currentState): use boost::format
188 * bufferlist.C (emergencyWrite): use boost::format
190 * buffer.C (readLyXformat2): use boost::format
191 (parseSingleLyXformat2Token): ditto
193 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
195 * LaTeX.C (run): use boost::format
197 * Chktex.C (scanLogFile): use boost::format
199 * BufferView_pimpl.C (savePosition): use boost::format
200 (restorePosition): ditto
201 (MenuInsertLyXFile): ditto
203 * BoostFormat.h: help file for explicit instation.
205 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
207 * tabular.C (latex): Support for block alignment in fixed width
210 2002-11-17 John Levon <levon@movementarian.org>
212 * BufferView_pimpl.C:
214 * lyxfunc.C: split filedialog into open/save
216 2002-11-08 Juergen Vigna <jug@sad.it>
218 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
219 by my last patch (hopefully).
221 2002-11-08 John Levon <levon@movementarian.org>
230 * toc.C: ParConstIterator, and use it (from Lars)
232 2002-11-07 Ben Stanley <bds02@uow.edu.au>
234 * lyxtextclass.[Ch]: revise and add doxygen comments
236 2002-11-07 John Levon <levon@movementarian.org>
238 * text.C: fix progress value for spellchecker
240 * toc.C: fix navigate menu for insetwrap inside minipage
242 * paragraph_funcs.C: added FIXME for suspect code
244 2002-11-07 John Levon <levon@movementarian.org>
246 * BufferView_pimpl.C: fix redrawing of insets
249 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
251 * text2.C (updateCounters): fix bug 668
253 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
255 * text3.C (dispatch): Do not make the buffer dirty when moving the
258 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
260 * vc-backend.C: STRCONV
263 * text2.C (setCounter): STRCONV
265 * paragraph.C (asString): STRCONV
267 * lyxlength.C (asString): STRCONV
268 (asLatexString): ditto
270 * lyxgluelength.C (asString): STRCONV
271 (asLatexString): ditto
273 * lyxfunc.C (dispatch): STRCONV
276 * lyxfont.C (stateText): STRCONV
278 * importer.C (Import): STRCONV
280 * counters.C (labelItem): STRCONV
282 (numberLabel): remove unused ostringstream o
287 * bufferview_funcs.C (currentState): STRCONV
289 * buffer.C (readFile): STRCONV
290 (asciiParagraph): ditto
291 (makeLaTeXFile): ditto
293 * Spacing.C (writeEnvirBegin): STRCONV
295 * LaTeXFeatures.C (getLanguages): STRCONV
298 (getBabelOptions): ditto
299 (getTClassPreamble): ditto
300 (getLyXSGMLEntities): ditto
301 (getIncludedFiles): ditto
308 * LString.h: add the STRCONV macros
310 * BufferView_pimpl.C (savePosition): STRCONV
311 (restorePosition): ditto
312 (MenuInsertLyXFile): ditto
314 * vc-backend.C (scanMaster): change from submatch[...] to
317 * funcrequest.C: include config.h
319 * factory.C: include config.h
321 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
323 * box.C: include config.h
325 * LaTeX.C (scanAuxFile): change from submatch[...] to
329 2002-10-25 Angus Leeming <leeming@lyx.org>
331 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
333 * ispell.[Ch] (setError): new method.
334 * ispell.C (c-tor): move out child process into new class LaunchIspell.
335 Use setError() insetead of goto END.
337 * lyx_cb.C (AutoSave): move out child process into new class
340 2002-10-30 John Levon <levon@movementarian.org>
342 * text3.C: make start appendix undoable
344 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
346 * lyxlength.C (inPixels): Fix returned value.
348 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
351 2002-10-24 Angus Leeming <leeming@lyx.org>
353 * lyxgluelength.h: no need to forward declare BufferParams
354 or BufferView, so don't.
356 2002-10-21 John Levon <levon@movementarian.org>
358 * BufferView.C: menuUndo ->undo, redo
360 * BufferView.h: document, remove dead, make some methods private
364 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
369 * sgml.C: move sgml open/close tag into sgml.C
371 * bufferview_funcs.h: unused prototype
374 * lyxfunc.C: remove unused
377 * text.C: remove unused
379 2002-10-21 John Levon <levon@movementarian.org>
383 * BufferView_pimpl.h:
384 * BufferView_pimpl.C: fix mouse wheel handling based on
385 patch from Darren Freeman
387 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
389 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
391 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
393 * lyxlength.C (inPixels): Fix hanfling of negative length.
394 Fix LyXLength::MU case.
396 2002-10-16 John Levon <levon@movementarian.org>
398 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
400 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
402 * converter.C (view): add support for $$i (file name) and $$p
403 (file path) for the viewer command. If $$i is not specified, then
404 it is appended to the command (for compatibility with old syntax)
406 2002-10-14 Juergen Vigna <jug@sad.it>
408 * undo_funcs.C (textHandleUndo): alter the order in which the
409 new undopar is added to the LyXText, as we have to set first
410 the right prev/next and then add it as otherwise the rebuild of
411 LyXText is not correct. Also reset the cursor to the right paragraph,
412 with this IMO we could remove the hack in "redoParagraphs()".
414 2002-10-09 Angus Leeming <leeming@lyx.org>
416 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
417 to turn off an optimisation if a new inset is to be inserted.
419 2002-10-11 André Pönitz <poenitz@gmx.net>
421 * lytext.h: make some functions public to allow access
422 from inset/lyxtext for handling LFUN_PRIOR/NEXT
424 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
426 * text3.C (dispatch): when changing layout, avoid an infinite loop
429 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
431 * lyxrc.C (read): treat a viewer or converter command of "none" as
434 * MenuBackend.C (expandFormats): for an update, also allow the
435 formats that are not viewable
437 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
438 script if it is newer than the lyxrc.defaults in user directory
440 2002-10-07 André Pönitz <poenitz@gmx.net>
442 * text.C: Vitaly Lipatov's small i18n fix
444 2002-09-25 Angus Leeming <leeming@lyx.org>
446 * ispell.h: doxygen fix.
448 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
450 * buffer.h (readFile): Add a new argument to the method, to allow
451 reading of old-format templates.
453 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
455 * toc.C (getTocList): Get TOC from InsetWrap.
457 2002-09-16 John Levon <levon@movementarian.org>
459 * lyxfunc.C: check tabular for cut/copy too
461 2002-09-12 John Levon <levon@movementarian.org>
466 * factory.C: add header
469 * paragraph_funcs.C: cleanup
471 2002-09-11 John Levon <levon@movementarian.org>
473 * PrinterParams.h: odd/even default to true
475 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
477 * PrinterParams.h: update printer parameters for new xforms dialog
479 2002-09-11 Angus Leeming <leeming@lyx.org>
481 * lyxserver.C (read_ready): re-write to make it more transparent
482 and to make it work in coherent fashion under Tru64 Unix.
484 2002-09-11 André Pönitz <poenitz@gmx.net>
488 * text3.C: implement LFUN_WORDSEL
490 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
492 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
493 make floatlist_ a boost::shared_ptr<FloatList>
495 * lyxtextclass.C: include FloatList.h
496 (LyXTextClass): initialize floatlist_
497 (TextClassTags): add TC_NOFLOAT
498 (Read): match "nofloat" to TC_NOFLOAT and use it.
499 (readFloat): modify call to floatlist_
503 * FloatList.[Ch] (FloatList): remove commented out float
505 (erase): new function
507 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
509 * MenuBackend.C (expandToc): fix crash when there is no document
512 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
514 * many files: Add insetwrap.
516 2002-09-09 John Levon <levon@movementarian.org>
518 * text2.C: remove confusing and awkward depth wraparound
520 2002-09-09 John Levon <levon@movementarian.org>
522 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
525 * buffer.C: remove getIncludeonlyList()
528 * lyxfunc.C: remove headers
530 2002-09-09 Juergen Vigna <jug@sad.it>
532 * text.C (getColumnNearX): fix form Michael this is most
533 probably a cut&paste bug.
535 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
537 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
539 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
540 references, ws changes.
542 * text2.C (init): update counters after init
543 (insertParagraph): no need to set counter on idividual paragraphs.
544 (setCounter): access the counters object in the textclass object
545 on in the buffer object.
546 (updateCounters): ditto
548 * lyxtextclass.C: include counters.h, add variable ctrs_ as
549 shared_ptr<Counters> to avoid loading counters.h in all
551 (LyXTextClass): initialize ctrs_
552 (TextClassTags): add TC_COUNTER, and ...
554 (CounterTags): new tags
555 (readCounter): new function
556 (counters): new funtion
557 (defaultLayoutName): return a const reference
559 * counters.C (Counters): remove contructor
560 (newCounter): remove a couple of unneeded statements.
561 (newCounter): simplify a bit.
562 (numberLabel): some small formatting changes.
564 * buffer.[Ch]: remove all traces of counters, move the Counters
565 object to the LyXTextClass.
567 2002-09-06 Alain Castera <castera@in2p3.fr>
569 * tabular.C: uses \tabularnewline; uses >{...} construct from array
570 package to set the horizontal alignment on fixed width columns.
573 * lyx_sty.h: added tabularnewline macro def.
575 * LaTeXFeatures.C: added NeedTabularnewline macro feature
577 2002-09-06 John Levon <levon@movementarian.org>
579 * LyXAction.C: tooltips for sub/superscript
581 * MenuBackend.C: a bit more verbose
583 * lyxfunc.C: tiny clean
585 * undo_funcs.C: document undo_frozen
587 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
589 * counters.C (Counters): add missing algorithm counter.
591 * text2.C (setCounter): lookup the counter with layouts latexname
592 instead of by section number.
593 (setCounter): use a hackish way to lookup the correct enum
595 a float name->type change
596 reset enum couners with counter name directly instead of depth value.
598 * counters.C (Counters): remove the push_backs, change to use the
599 float type not the float name.
600 (labelItem): remove unused string, float name->type change
602 * counters.h: don't include vector, loose the enums and sects vectors
604 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * lyxtextclass.C (TextClassTags): add TC_FLOAT
607 (Read): add float->TC_FLOAT to textclassTags
608 (Read): and handle it in the switch
609 (readFloat): new function
611 * FloatList.C (FloatList): comment out the hardcoded float
614 * lyxlayout.h: ws change.
616 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
618 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
620 2002-09-03 Angus Leeming <leeming@lyx.org>
622 * BufferView_pimpl.h: qualified name is not allowed in member
623 declaration: WorkArea & Pimpl::workarea() const;
625 * factory.C: added using std::endl directive.
627 * text3.C: added using std::find and std::vector directives.
629 2002-08-29 André Pönitz <poenitz@gmx.net>
632 * text2.C: remove unused member number_of_rows
635 * BufferView2.C: remove file, move contents to...
636 * BufferView.C: ... here
638 * BufferView_pimpl.C:
639 * factory.C: move more inset creation to factory
641 * vspace.C: avoid direct usage of LyXText, ws changes
644 don't provide direct access to WorkArea, use two simple
645 acessors haveSelction() and workHeight() instead
648 2002-08-29 John Levon <levon@movementarian.org>
650 * BufferView_pimpl.C (dispatch): do not continue when
653 2002-08-28 André Pönitz <poenitz@gmx.net>
655 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
658 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
660 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
662 * buffer.C: increment LYX_FORMAT to 221
664 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
665 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
667 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
669 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
671 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
673 * factory.C (createInset): use LyXTextClass::floats
675 * MenuBackend.C (expandFloatListInsert):
679 * text2.C (setCounter):
681 * LaTeXFeatures.C (useFloat):
682 (getFloatDefinitions):
684 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
686 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
687 floatlist_, with accessor floats().
689 * FloatList.h: remove global FloatList
691 2002-08-26 André Pönitz <poenitz@gmx.net>
693 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
697 * BufferView_pimpl.C:
698 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
700 2002-08-25 John Levon <levon@movementarian.org>
702 * LyXAction.C: fix margin note description
704 2002-08-24 John Levon <levon@movementarian.org>
708 * bufferview_funcs.C:
710 * undo_funcs.C: cleanups
712 * lyxfunc.C: disable CUT/COPY when no selection
714 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
716 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
717 in "enum UNIT"; e.g. PTW for Percent of TextWidth
719 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
720 Add backward compatibility to "mono", "gray" and "no".
722 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
724 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
725 (and file_format >= 200).
727 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
729 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
731 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
733 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
735 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
737 * BufferView_pimpl.C:
744 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
745 inset and code to make it work with the paragraph code. The inset
746 can be anywhere in the paragraph, but will only do the expected
747 thing in LaTeX if the layout file contains the parameter line
749 (or more generally, a nonzero value) for that layout.
751 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
753 * paragraph.h: remove the declaration of undefined counters class
756 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
758 * text2.C (setCounter): fixed enumeration mis-count as reported by
761 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
763 * paragraph_funcs.h: remove some unneeded includes
765 * text.C (backspace): pasteParagraph now in global scipe
767 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
768 (pasteSelection): ditto
770 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
771 * paragraph_funcs.C (pasteParagraph): ... here
773 2002-08-20 André Pönitz <poenitz@gmx.net>
775 * commandtags.h: new LFUNs for swapping/copying table row/colums
778 * lyxfunc.C: support for new lfuns
780 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
783 * buffer.[Ch]: remove NO_COMPABILITY stuff
785 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
787 * boost.C (throw_exception): new file, with helper function for
788 boost compiled without exceptions.
794 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
796 * bufferlist.C (emergencyWriteAll): use boost bind
798 * BufferView_pimpl.C (moveCursorUpdate): remove inline
800 * text.C: include paragraph_funcs.h
801 (breakParagraph): breakParagraph is now in global scope
803 * paragraph_funcs.[Ch]: new files
805 * paragraph.C (breakParagraph,breakParagraphConservative): move to
808 * buffer.C: include paragraph_funcs.h
809 (insertStringAsLines): breakParagraph is now in global scope
811 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
814 * CutAndPaste.C: include paragraph_funcs.h
815 (cutSelection): breakParagraphConservative is now in global scope
816 (pasteSelection): ditto
818 * buffer.h: declare oprator== and operator!= for
819 Buffer::inset_iterator
821 * bufferlist.C (emergencyWrite): don't use fmt(...)
823 * text3.C: add using std::endl
825 * BufferView.C (moveCursorUpdate): remove default arg
827 2002-08-20 André Pönitz <poenitz@gmx.net>
829 * buffer.[Ch]: move inline functions to .C
832 * BufferView_pimpl.C:
834 * buffer.[Ch]: use improved inset_iterator
837 * paragraph.[Ch]: write one paragraph at a time
839 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
841 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
842 style if style is not specified.
844 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
846 * text2.C (setCounter): when searching for right label for a
847 caption, make sure to recurse to parent insets (so that a caption
848 in a minipage in a figure float works) (bug #568)
850 2002-08-20 André Pönitz <poenitz@gmx.net>
852 * text3.C: new file for LyXText::dispatch() and helpers
854 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
856 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
858 2002-08-19 André Pönitz <poenitz@gmx.net>
861 * text.C: new LyXText::dispatch()
863 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
865 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
867 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
869 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
872 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
874 * Makefile.am: use $(variables) instead of @substitutions@
876 2002-08-15 André Pönitz <poenitz@gmx.net>
879 * BufferView_pimpl.C: streamlining mathed <-> outer world
883 * LyXAction.C: remove unused LFUN_MATH
885 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * paragraph.[Ch]: add some NO_NEXT ifdefs.
889 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
891 * paragraph.C (Paragraph): reformat a bit
892 (cutIntoMinibuffer): use builtin InsetList function instad of
896 * buffer.C: include boost/bind.hpp, add using std::for_each
897 (writeFileAscii): use ParagraphList iterators
898 (validate): use for_each for validate traversal of paragraphs
899 (getBibkeyList): use ParagraphList iterators
900 (resizeInsets): use for_each to resizeInsetsLyXText for all
902 (getParFromID): use ParagraphList iterators
904 * BufferView2.C (lockInset): use paragraph list and iterators
906 2002-08-14 John Levon <levon@movementarian.org>
908 * lyxserver.C: remove spurious xforms include
910 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
912 * lyxfunc.C (getStatus): disable math-extern outside of math mode
914 2002-08-13 André Pönitz <poenitz@gmx.net>
917 * lyxfunc.C: further cleaning
919 2002-08-13 André Pönitz <poenitz@gmx.net>
921 * funcrequest.h: new constructor
923 * funcrequest.C: move stuff here from .h
926 * BufferView_pimpl.C:
929 * lyxfunc.C: subsequent changes
931 * lyxfunc.h: new view() member function
933 * lyxfunc.C: subsequent changes
935 2002-08-13 Angus Leeming <leeming@lyx.org>
938 * BufferView_pimpl.C:
946 changes due to the changed LyXView interface that now returns references
947 to member variables not pointers.
949 2002-08-13 Angus Leeming <leeming@lyx.org>
951 * WordLangTuple (word, lang_code): return references to strings,
956 * lyxtext.h: forward-declare WordLangTuple.
961 * text.C: #include "WordLangTuple.h".
964 * text.C: (selectNextWordToSpellcheck): constify return type.
966 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
975 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
977 Made updateCounter always count from start of buffer, and removed
978 second argument (par).
979 Reverted floats number display to '#'. Perhaps I'll try again when the
980 code base is sanitized a bit.
982 2002-08-12 Angus Leeming <leeming@lyx.org>
984 * buffer.[Ch] (getLabelList): constify.
986 2002-08-07 André Pönitz <poenitz@gmx.net>
988 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
990 * funcrequest.h: extension to keep mouse (x,y) position
992 2002-08-12 Juergen Vigna <jug@sad.it>
994 * BufferView2.C (insertErrors): forbid undo when inserting error
997 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
999 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1001 * ParagraphList.[Ch]: new files
1003 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1005 * BufferView2.C (lockInset): ParagraphList changes
1008 * bufferlist.C: ditto
1012 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1014 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1015 unused class variable counter_,
1017 * paragraph.[Ch] (getFirstCounter): delete unused function
1019 * counters.C: include LAssert.h
1020 (reset): add a new function with no arg, change other version to
1021 not have def. arg and to not allow empty arg.
1023 * text2.C (setCounter): remove empty arg from call to Counters::reset
1025 2002-08-11 John Levon <levon@movementarian.org>
1027 * Makefile.am: add WordLangTuple.h
1029 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1032 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1034 * insets/insettext.C: InsetList changes
1036 * graphics/GraphicsSupport.C (operator()): InsetList changes
1038 * toc.C (getTocList): InsetList changes
1040 * paragraph_pimpl.[Ch]: InsetList changes
1042 * paragraph.[Ch]: InsetList changes
1044 * buffer.C (inset_iterator): InsetList changes
1045 (setParagraph): ditto
1046 * buffer.h (inset_iterator): ditto
1047 * iterators.C (operator++): ditto
1048 * iterators.h: ditto
1050 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1052 * InsetList.[Ch]: new files, most InsetList handling moved out of
1055 * BufferView2.C (removeAutoInsets): InsetList changes
1057 (ChangeInsets): ditto
1059 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1061 * paragraph_pimpl.h (empty): new function
1063 * paragraph.[Ch] (empty): new function
1065 * other files: use the new Paragraph::empty function
1067 2002-08-09 John Levon <levon@movementarian.org>
1069 * lyxtext.h: remove unused refresh_height
1071 2002-08-09 John Levon <levon@movementarian.org>
1078 * paragraph.C: move sgml char escaping out of paragraph
1081 * paragraph.C: remove id setter
1085 * paragraph_pimpl.C: remove dead tex_code_break_column
1087 * bufferview_funcs.C: small cleanup
1089 * lyxfunc.C: remove dead proto
1091 * lyxtext.h: make some stuff private. Remove some dead stuff.
1093 * lyxgluelength.C: make as[LyX]String() readable
1095 2002-08-08 John Levon <levon@movementarian.org>
1100 * ToolbarDefaults.C:
1103 * toc.C: lyxaction cleanup
1105 2002-08-08 John Levon <levon@movementarian.org>
1107 * BufferView2.C: small cleanup
1110 * lyxfind.C: move unnecessary header into the .C
1112 2002-08-08 John Levon <levon@movementarian.org>
1114 * funcrequest.h: just tedious nonsense
1117 * lyx_main.C: cleanups
1120 * vspace.C: remove dead header lyx_main.h
1122 2002-08-07 Angus Leeming <leeming@lyx.org>
1125 * paragraph_pimpl.h:
1126 Forward declare class Counters in paragraph.h by moving the ctrs member
1127 variable into Paragraph::Pimpl.
1128 (counters): new method, returning a reference to pimpl_->ctrs.
1130 * text2.C: ensuing changes.
1132 2002-08-07 John Levon <levon@movementarian.org>
1134 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1136 * BufferView_pimpl.C: announce X selection on double/triple
1139 * lyx_main.C: use correct bool in batch dispatch
1141 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1143 2002-08-07 André Pönitz <poenitz@gmx.net>
1145 * funcrequest.h: new class to wrap a kb_action and its argument
1148 * BufferView_pimpl[Ch]:
1152 * lyxrc.C: subsequent changes
1155 2002-08-07 John Levon <levon@movementarian.org>
1157 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1158 document options change.
1160 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1165 * makefile.am: move counters functionality over from
1166 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1168 2002-08-06 John Levon <levon@movementarian.org>
1170 * WordLangTuple.h: new file for word + language code tuple
1181 * BufferView2.C: use WordLangTuple
1184 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1186 2002-08-06 John Levon <levon@movementarian.org>
1188 * lyx_main.C: fix cmdline batch handling
1190 2002-08-06 André Pönitz <poenitz@gmx.net>
1192 * lyxrc.C: set default for show_banner to true
1194 2002-08-06 John Levon <levon@movementarian.org>
1196 * pspell.C: fix a crash, and allow new aspell to work
1198 2002-08-06 John Levon <levon@movementarian.org>
1201 * kbmap.C: small cleanup
1204 * vspace.C: add const
1206 2002-08-05 John Levon <levon@movementarian.org>
1208 * LyXAction.C: back to tabular-insert
1210 2002-08-04 John Levon <levon@movementarian.org>
1213 * BufferView.C: cosmetic change
1215 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1225 * BufferView2.C: purge all "Lyx" not "LyX" strings
1228 * lyxcursor.C: attempt to add some documentation
1233 * ToolbarDefaults.C:
1234 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1235 merge with LFUN_TABULAR_INSERT
1242 * pspell.C: split up i/pspell implementations into separate
1243 files, many cleanups
1245 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1247 * text2.C: some cleanup
1249 * lyxfunc.C: don't check for isp_command == "none" any more, it
1250 didn't make any sense
1252 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1257 * makefile.am: move counters functionality over
1258 from text2.C/paragraph.[Ch] to counters.[Ch], and
1260 2002-08-02 John Levon <levon@movementarian.org>
1262 * buffer.C: s/lyxconvert/lyx2lyx/
1264 2002-08-02 Angus Leeming <leeming@lyx.org>
1266 * lyxlex.C: revert John's change as it breaks reading of the user
1269 2002-08-02 Angus Leeming <leeming@lyx.org>
1271 * importer.C (Import):
1272 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1273 changes due to LyXView::view() now returning a boost::shared_ptr.
1275 2002-08-02 John Levon <levon@movementarian.org>
1277 * lyxlex.C: small cleanup
1279 2002-08-02 John Levon <levon@movementarian.org>
1281 * text2.C (status): small cleanup, no logic change
1283 2002-08-01 John Levon <levon@movementarian.org>
1286 * buffer.C (writeFile): don't output alerts, caller
1290 * lyx_cb.C: from above
1292 * lyxfunc.C: allow to open non-existent files
1294 2002-07-31 John Levon <levon@movementarian.org>
1296 * lyxserver.C: don't let incidental errors get
1299 2002-07-30 John Levon <levon@movementarian.org>
1301 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1303 2002-07-30 John Levon <levon@movementarian.org>
1306 * lyxserver.C: remove I/O callback too
1308 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1310 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1313 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * many files: strip,frontStrip -> trim,ltrim,rtrim
1317 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * PrinterParams.h: remove extern containsOnly, and include
1320 support/lstrings.h instead.
1322 * LaTeX.C (scanAuxFile): modify because of strip changes
1324 * buffer.C (makeLaTeXFile): ditto
1325 * bufferparams.C (writeFile): ditt
1326 * lyxfont.C (stateText): ditto
1327 * lyxserver.C (read_ready): ditto
1328 * vc-backend.C (scanMaster): ditto
1330 * BufferView_pimpl.h: ws changes
1332 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1334 2002-07-26 André Pönitz <poenitz@gmx.net>
1336 * kb_sequence.C: remove unnedred usings
1338 2002-07-26 Juergen Vigna <jug@sad.it>
1340 * lyxfind.C (LyXReplace): we have to check better if the returned
1341 text is not of theLockingInset()->getLockingInset().
1343 2002-07-25 Juergen Vigna <jug@sad.it>
1345 * lyxfind.C (LyXReplace): don't replace if we don't get the
1348 * undo_funcs.C (createUndo): remove debugging code.
1350 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1352 * buffer.C (parseSingleLyXformat2Token): Use default placement
1353 when reading old floats.
1355 * FloatList.C (FloatList): Change the default placement of figure
1356 and tables to "tbp".
1358 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1360 * MenuBackend.C: using std::max
1362 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1364 * MenuBackend.C (expandToc):
1365 (expandToc2): code moved from xforms menu frontend. It is now
1366 generic and TOCs are transparent to menu frontends.
1368 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1370 * toc.C (getTocList): protect against buf=0
1372 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1373 Menu as first parameter. Now, this calls itself recursively to
1374 expand a whole tree (this will be useful for TOC handling)
1375 (expandFloatInsert): remove 'wide' version of floats
1377 * MenuBackend.h (submenuname): returns the name of the submenu.
1378 (submenu): returns the submenu itself, provided it has been
1379 created by MenuBackend::expand
1381 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1383 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1384 insets which have noFontChange == true. (bug #172)
1386 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1388 * BufferView_pimpl.C: add connection objects and use them...
1391 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1393 * MenuBackend.C (expandLastfiles):
1396 (expandFloatListInsert):
1397 (expandFloatInsert):
1398 (expand): split expand in parts
1400 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1402 * lyx_gui.C: use lyx_gui::exit()
1404 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1406 * LyXAction.C: show the failing pseudo action
1408 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1410 * buffer.C (readFile): Run the lyxconvert script in order to read
1413 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1417 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1419 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1423 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1425 2002-07-22 Herbert Voss <voss@lyx.org>
1428 * lyxlength.[Ch]: add support for the vertical lengths
1430 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1432 * toc.[Ch]: std:: fixes
1434 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1436 * lyxrc.C: do not include lyx_main.h
1438 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1444 * BufferView2.C: include "lyxlex.h"
1447 * bufferparams.h: do not #include "lyxlex.h"
1449 * lyxtextclasslist.C (Add): remove method
1450 (classlist): renamed to classlist_
1452 * paragraph_pimpl.C:
1456 * bufferview_funcs.C:
1461 * toc.C (getTocList): use BufferParams::getLyXTextClass
1463 * toc.C (getTocList): use InsetFloat::addToToc
1465 * toc.[Ch]: new files, containing helper functions to handle table
1468 * lyxfunc.C (dispatch): no need to remove spaces around command
1470 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1471 first command of the sequence; it is not very clever, but I do not
1472 have a better idea, actually
1474 * LyXAction.C (LookupFunc): make sure to remove space at the
1475 beginning and end of the command
1477 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1479 * MenuBackend.C (getMenubar): new method: return the menubar of
1481 (read): treat differently reading of menu and menubar (in
1482 particular, the menubar has no name now)
1483 (Menu::menubar): remove
1485 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1488 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1490 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1491 a bibitem inset in a RTL paragraph.
1493 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1495 * paragraph_pimpl.C: constify
1497 * BufferView_pimpl.C:
1499 * lyxfunc.C: fix dispatch in a nicer way
1501 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1503 * lyxfunc.C (dispatch):
1504 * BufferView_pimpl.C:
1505 * BufferView_pimpl.h:
1507 * BufferView.h: rename Dispatch() to dispatch()
1509 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1511 * lyxlayout.C (Read): honor DependsOn tag
1513 * lyxlayout.[Ch] (depends_on): new method
1515 * version.C.in: update lyx_docversion
1517 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1519 * paragraph.C (validate): remove from here...
1520 * paragraph_pimpl.C (validate): ... and move here
1521 (isTextAt): make it const
1523 * buffer.C (getLists): ws cleanup
1525 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1527 * language.C (read): Use iso8859-1 encoding in latex_lang
1528 (this prevents LyX from crashing when using iso10646-1 encoding).
1530 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1532 * text2.C (toggleInset): if cursor is inside an inset, close the
1533 inset and leave cursor _after_ it
1535 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1537 * lyxfunc.C: move minibuffer completion handling out of here
1539 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1541 * BufferView_pimpl.C:
1542 * LaTeX.C: fix dispatch calls
1544 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1546 * text.C (drawChars): Fix Arabic text rendering.
1548 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1552 * lyxfunc.C: remove message-push/pop
1556 * lyxfunc.C: rationalise some code by removing verboseDispatch
1557 in favour of a bool argument to dispatch()
1559 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1561 * lyx_main.C (init): make sure to read symlinks as absolute paths
1563 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1566 * lyxfunc.C: no need for commandshortcut to be a member
1568 2002-07-15 André Pönitz <poenitz@gmx.net>
1570 * converter.C: add support for $$s (scripts from lib/scripts dir)
1571 * lyx_main.C: white space
1573 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1577 * lyxrc.C: remove second exit confirmation
1579 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1584 * BufferView_pimpl.h:
1585 * BufferView_pimpl.C:
1586 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1588 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1590 * MenuBackend.C (expand): add numeric shortcuts to document menu
1592 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1594 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1596 * lyxfont.C (setLyXFamily):
1603 * buffer.C (asciiParagraph): use ascii_lowercase
1605 2002-07-15 Mike Fabian <mfabian@suse.de>
1607 * lyxlex_pimpl.C (search_kw):
1608 * lyxlex.C (getLongString):
1609 * converter.h (operator<):
1610 * converter.C (operator<):
1611 * buffer.C (parseSingleLyXformat2Token):
1613 * ToolbarDefaults.C (read):
1614 * MenuBackend.C (checkShortcuts):
1616 * LColor.C (getFromGUIName):
1617 (getFromLyXName): use the compare_ascii_no_case instead of
1618 compare_no_case, because in turkish, 'i' is not the lowercase
1619 version of 'I', and thus turkish locale breaks parsing of tags.
1621 2002-07-16 Angus Leeming <leeming@lyx.org>
1623 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1624 now takes a Buffer const & argument.
1626 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1628 * BufferView.C (resize): check there's a buffer to resize
1630 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1632 * lyxfunc.C: remove dead code
1635 * lyxserver.C: use lyx_guii::set_read_callback
1637 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1639 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1640 an inset in a RTL paragraph.
1642 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1644 * lyxfunc.C: repaint after a font size update
1646 2002-07-15 André Pönitz <poenitz@gmx.net>
1648 * lyxlength.C: inBP should be able to return negative values
1650 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1652 * lyxfunc.C: use lyx_gui::update_fonts()
1654 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1656 * lyxfunc.C: use lyx_gui::update_color()
1658 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1664 * lyxrc.C: remove file->new asks for name option, and let
1665 buffer-new take an argument
1667 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1669 * BufferView_pimpl.C: remove unneeded extra repaint()
1671 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1673 * LyXAction.C: allow command-sequence with NoBuffer
1675 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1677 2002-07-10 Angus Leeming <leeming@lyx.org>
1679 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1681 2002-07-09 Angus Leeming <leeming@lyx.org>
1683 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1685 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1687 * lengthcommon.h: whitespace
1689 * lyxfunc.C: update scrollbar after goto paragraph
1691 * lyxtext.h: factor out page break drawing, and fix it so
1692 page break/added space paints as selected nicely
1694 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1696 * BufferView_pimpl.C: add FIXMEs, clean up a little
1698 2002-07-09 André Pönitz <poenitz@gmx.net>
1700 * lyxfont.[Ch]: support for wasy symbols
1702 2002-07-08 André Pönitz <poenitz@gmx.net>
1704 * BufferView_pimpl.C: apply John's patch for #93.
1706 2002-07-05 Angus Leeming <leeming@lyx.org>
1708 * BufferView_pimpl.C (buffer): generate previews if desired.
1710 * LColor.h: add "preview" to the color enum.
1712 * LColor.C (LColor): add a corresponding entry to the items array.
1714 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1717 2002-07-05 Angus Leeming <leeming@lyx.org>
1719 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1720 The body of the code is now in the method that is passed an ostream &
1721 rather than a file name.
1722 Pass an additional only_preamble parameter, useful for the forthcoming
1725 2002-07-03 André Pönitz <poenitz@gmx.net>
1727 * lyxfunc.C: simplify getStatus() a bit for math stuff
1729 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1731 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1733 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1735 * text.C (changeRegionCase): do not change case of all the
1736 document when region ends at paragraph end (bug #461)
1738 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1740 * paragraph.C (startTeXParParams):
1741 (endTeXParParams): add \protect when necessary
1743 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1745 * BufferView_pimpl.C (workAreaExpose): remove warning
1747 2002-06-27 Angus Leeming <leeming@lyx.org>
1749 * Makefile.am: add lyxlayout_ptr_fwd.h.
1751 2002-06-26 André Pönitz <poenitz@gmx.net>
1753 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1755 2002-06-25 Angus Leeming <leeming@lyx.org>
1757 * lyxfunc.C (dispatch): Comment out the call to
1758 grfx::GCache::changeDisplay. The method no longer exists now that the
1759 pixmap generation part of the graphics loader has been moved into
1762 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1764 * text2.C: layout as layout
1766 * text.C: layout as layout
1768 * tabular.C (OldFormatRead): layout as layout
1770 * paragraph_pimpl.C (TeXDeeper): layout as layout
1771 (realizeFont): layout as layout
1773 * paragraph.C (writeFile): layout as layout
1774 (validate): layout as layout
1775 (getFont): layout as layout
1776 (getLabelFont): layout as layout
1777 (getLayoutFont): layout as layout
1778 (breakParagraph): layout as layout
1779 (stripLeadingSpaces): layout as layout
1780 (getEndLabel): layout as layout
1781 (getMaxDepthAfter): layout as layout
1782 (applyLayout): layout as layout
1783 (TeXOnePar): layout as layout
1784 (simpleTeXOnePar): layout as layout
1785 (TeXEnvironment): layout as layout
1786 (layout): layout as layout
1787 (layout): layout as layout
1789 * lyxtextclass.C (compare_name): new functor to work with
1790 shared_ptr, layout as layout
1791 (Read): layout as layout
1792 (hasLayout): layout as layout
1793 (operator): layout as layout
1794 (delete_layout): layout as layout
1795 (defaultLayout): layout as layout
1797 * lyxlayout_ptr_fwd.h: new file
1799 * lyxlayout.C (Read): layout as layout
1801 * lyx_cb.C (MenuInsertLabel): layout as layout
1803 * bufferlist.C (newFile): layout as layout
1805 * buffer.C (readLyXformat2): layout as layout
1806 (parseSingleLyXformat2Token): layout as layout
1807 (insertStringAsLines): layout as layout
1808 (asciiParagraph): layout as layout
1809 (latexParagraphs): layout as layout
1810 (makeLinuxDocFile): layout as layout
1811 (simpleLinuxDocOnePar): layout as layout
1812 (makeDocBookFile): layout as layout
1813 (simpleDocBookOnePar): layout as layout
1814 (getLists): layout as layout
1816 * LaTeXFeatures.C (getTClassPreamble): layout as layout
1818 * CutAndPaste.C (cutSelection): layout as layout
1819 (pasteSelection): layout as layout
1820 (SwitchLayoutsBetweenClasses): layout as layout
1822 * BufferView_pimpl.C (Dispatch): layout as layout
1823 (smartQuote): layout as layout
1825 * BufferView2.C (unlockInset): layout as layout
1827 2002-06-24 André Pönitz <poenitz@gmx.net>
1829 * lyxfunc.C: fix #487
1831 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1835 * lyxfunc.C: remove display_shortcuts, show_banner
1837 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1839 * Buffer_pimpl.C: oops, update on resize
1841 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1848 * BufferView.C: use repaint()
1850 * BufferView_pimpl.h:
1851 * BufferView_pimpl.C: s/updateScreen()/repaint()/
1852 as it's a clearer description. Remove superfluous
1855 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1857 * text.C: fix bug 488. Not ideal, but getting
1858 getWord() to work properly for the insets that
1859 matter is more difficult ...
1861 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1863 * BufferView_pimpl.C:
1866 * lyxfunc.C: remove the six million index lyxfuncs to just
1867 one, and DTRT (bug 458)
1869 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1873 * BufferView_pimpl.h:
1874 * BufferView_pimpl.C: clean up resize() stuff,
1875 and unnecessary updateScreen()s
1877 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1881 * BufferView_pimpl.h:
1882 * BufferView_pimpl.C:
1885 * minibuffer.C: remove focus management of workarea,
1886 not needed. Use screen's greyOut()
1888 2002-06-17 Herbert Voss <voss@lyx.org>
1890 * converter.C: (convert) do not post a message, when converting
1891 fails, let the calling function decide what to do in this case
1893 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1895 * lyxfunc.C: tidy up a little
1897 2002-06-16 <alstrup@diku.dk>
1899 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1900 Got rid of FORMS_H_LOCATION include. Now we are
1903 2002-06-15 LyX Development team <lyx@rilke>
1905 * buffer.[Ch] (sgmlOpenTag):
1906 (sgmlCloseTag): Added support for avoiding pernicious mixed
1907 content. Return number of lines written.
1910 (makeDocBookFile): Fixed calls to sgml*Tag.
1911 Simple white space clean.
1913 (simpleDocBookOnePar): Simple white space clean.
1915 * tabular.[Ch] (docBook): Renamed to docbook and got another
1916 argument to related with the pernicious mixed content.
1918 (docbookRow): Fixed calls for docbook inset method.
1920 2002-06-15 Lyx Development team <larsbj@birdstep.com>
1922 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1923 so it's X11 independent.
1927 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1929 2002-06-15 Lyx Development team <lyx@electronia>
1931 * intl.h: Renamed getTrans to getTransManager.
1933 2002-06-14 Angus Leeming <leeming@lyx.org>
1935 * Makefile.am: nuke forgotten stl_string_fwd.h.
1937 2002-06-12 Angus Leeming <leeming@lyx.org>
1939 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1941 2002-06-13 Angus Leeming <leeming@lyx.org>
1944 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1946 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
1948 * kbmap.C (getiso): add support for cyrillic and greek
1950 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1954 * BufferView_pimpl.h:
1955 * BufferView_pimpl.C: move bogus scrolling logic
1958 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1961 * BufferView_pimpl.C: view->resize() change
1963 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1965 * BufferView_pimpl.C: topCursorVisible
1968 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1972 * lyx_gui.C: move to frontends/
1976 * lyx_main.C: changes from above
1978 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1985 * lyx_main.C: minor tidy
1987 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1989 * BufferView_pimpl.h:
1990 * BufferView_pimpl.C:
1992 * BufferView.C: make painter() const,
1995 * BufferView2.C: use screen() accessor
1998 * lyx_main.C: some minor cleanup
2000 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2002 * BufferView_pimpl.h:
2003 * BufferView_pimpl.C: remove enter/leaveView,
2006 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2011 * BufferView_pimpl.h:
2012 * BufferView_pimpl.C: only construct screen once,
2015 * lyxrc.C: remove pointless comment
2017 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2020 * BufferView.C: remove active() and belowMouse()
2022 * BufferView_pimpl.h:
2023 * BufferView_pimpl.C: use workarea() not workarea_,
2024 and make it use a scoped_ptr instead
2026 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2028 * lyx_gui.C: add debug message on BadWindow
2030 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2032 * sp_spell.C: fdopen is not part of the C++ standard.
2034 * paragraph.C (InsetIterator): use >= instead of ==
2036 2002-06-07 Angus Leeming <leeming@lyx.org>
2038 Fixes needed to compile with Compaq cxx 6.5.
2039 * BufferView_pimpl.C:
2046 * lyxtextclasslist.C:
2051 all c-library variables have been moved into namespace std. Wrap
2052 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2057 Add a using std::abs declaration.
2059 * kbmap.h (modifier_pair):
2060 * paragraph.h (InsetTable, InsetList):
2061 * lyxfont.h (FontBits):
2062 type definition made public.
2064 * bufferlist.C (emergencyWriteAll): the compiler complains that
2065 there is more than one possible lyx::class_fun template to choose from.
2066 I re-named the void specialisation as lyx::void_class_fun.
2068 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2070 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2071 the compiler is is unable to find tostr in write_attribute.
2073 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2075 * buffer.C (sgmlError): hide #warning
2077 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2079 * xtl/*: get rid of xtl, which is not in use anyway
2081 * LyXAction.C (init):
2082 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2083 were unimplemented xtl experimentation
2085 2002-06-04 André Pönitz <poenitz@gmx.net>
2087 * lyxfunc.C: disable array operation on simple formulae
2089 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2091 * converter.C: constify a bit
2093 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2095 * lyx_gui.C: check xforms version correctly
2097 2002-04-30 Herbert Voss <voss@lyx.org>
2099 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2102 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2104 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2105 attempt to register it with a VCS)
2107 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2109 * lyx_main.C (init): honor variables LYX_DIR_13x and
2112 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2116 * lyx_main.C: fix a crash on bad command line,
2117 and give a useful exit status on error
2119 * lyxfunc.C (doImport): allow -i lyx to work
2121 2002-03-30 André Pönitz <poenitz@gmx.net>
2123 * lyxfunc.C: mathed font changes
2125 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2140 * trans_mgr.h: srcdocs, and some minor cleanups
2142 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2144 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2145 call getFont all the time)
2147 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2149 * switch from SigC signals to boost::signals
2151 2002-05-29 André Pönitz <poenitz@gmx.net>
2153 * paragraph_pimpl.C (getChar): don't call size() too often...
2155 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2157 * paragraph_pimpl.C (insertChar): do not try to update tables when
2158 appending (pos == size())
2160 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2161 in order to reduce drastically the number of comparisons needed to
2162 parse a large document
2164 2002-05-29 André Pönitz <poenitz@gmx.net>
2170 * textclasslist.[Ch]:
2171 * sp_ispell.h: whitespace change
2173 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2175 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2176 lyxaction directly now.
2178 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2182 * lyxvc.C: remove unused headers
2184 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2191 * undo_funcs.C: some cleanups. Use shared_ptr
2192 and a template for the undo stacks.
2194 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2196 * BufferView_pimpl.h:
2197 * BufferView_pimpl.C:
2204 * text2.C: use key_state/mouse_state
2206 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2208 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2211 * chset.C: change include order
2212 (loadFile): use boost regex and get rid of LRegex and LSubstring
2214 * Makefile.am (BOOST_LIBS): new variable
2217 * LaTeX.C: change include order.
2218 (scanAuxFile): use boost regex and get rid of LRegex and
2222 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2227 * FontInfo.C: moved to frontends/xforms/
2230 * FontLoader.C: moved into frontends for GUIIzation
2235 * lyxfunc.C: changes from above
2237 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2239 * LColor.C: remove spurious X include
2241 * BufferView_pimpl.C:
2246 * text2.C: move font metrics to frontends/
2248 2002-05-24 Juergen Vigna <jug@sad.it>
2250 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2251 setting the undo_cursor.
2253 * ParagraphParameters.h: include local includes first.
2255 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2257 * BufferView_pimpl.C:
2258 * BufferView_pimpl.h:
2262 * screen.C: move WorkArea into frontends/
2268 * BufferView2.C: move LyXScreen into frontends/
2272 * lyx_gui.C: move lyxlookup into frontends/xforms/
2274 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2277 * BufferView_pimpl.C:
2287 * bufferview_funcs.C:
2300 * vc-backend.C: move LyX/XFormsView into frontends/
2302 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2314 * text2.C: move Painter to frontends/
2316 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2318 * buffer.C: comment out some some code that depend upon lyx_format
2321 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2322 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2324 * buffer.h (NO_COMPABILITY): turn off compability
2326 * ColorHandler.C: include scoped_array.hpp
2328 * font.C: Use more specific smart_ptr header.
2331 * ShareContainer.h: ditto
2335 * BufferView_pimpl.h: ditto
2336 * ColorHandler.h: ditto
2338 * kbmap.C (defkey): change call to shared_ptr::reset
2340 2002-05-21 Juergen Vigna <jug@sad.it>
2342 * buffer.C (insertErtContents): fix to insert ert asis if it is
2343 non empty. Skip it completely if it contains only whitespaces.
2345 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2347 * BufferView_pimpl.C:
2348 * BufferView2.C: clear selection on paste (bug 393)
2350 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2352 * DepTable.C: include ctime
2354 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2356 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2358 2002-05-14 Juergen Vigna <jug@sad.it>
2360 * text.C (breakParagraph): fixed function to honor the keepempty
2361 layout in the right maner and also to permit the right breaking
2362 algorithm on empty or non empyt keepempty paragraphs.
2364 * paragraph.C (breakParagraph): we have to check also if the par
2365 is really empty (!size()) for isempty otherwise we do the wrong
2368 2002-05-10 Juergen Vigna <jug@sad.it>
2370 * buffer.[Ch] : The following are only changes to the ert
2371 compatibility read reading old LaTeX layout and font stuff and
2372 convert it to ERTInsets.
2374 * buffer.h: added isErtInset().
2376 * buffer.C (struct ErtComp): add a fromlayout bool to check
2377 if we're inside a LaTeX layout.
2378 (isErtInset): new helper function.
2379 (insertErtContents): look for other ert insets before this one
2380 and insert the contents there, so that we don't have subsequent
2381 ERT insets with nothing between them. This way we create only one
2382 inset with multiple paragraphs. Also check if we don't insert only
2383 spaces ' ' as they are ignored anyway afterwards in the .tex file
2384 so if we have only spaces we will ignore this latex part in the
2386 (parseSingleLyXformat2Token \\layout): better compatibility when
2387 reading layout-latex stuff.
2388 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2390 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2391 stuff after reading the inset only get the information back from
2394 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2396 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2398 * LaTeXFeatures.C (getBabelOptions): New method.
2400 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2402 * BufferView_pimpl.C (Dispatch): work around missing argument for
2405 2002-05-08 Juergen Vigna <jug@sad.it>
2407 * text.C (leftMargin): handle paragraph leftindent.
2409 * paragraph.C (writeFile): write the new \\leftindent tag.
2410 (validate): handle leftindent code.
2411 (TeXEnvironment): handle paragraphleftindent code again.
2413 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2415 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2416 for paragrap_extra indent code and new token \\leftindent.
2417 (latexParagraphs): handle the leftindent as environment.
2419 * ParameterStruct.h: added leftindent support.
2421 * ParagraphParameters.C (leftIndent): added support functions for
2422 the paragraph left indent.
2424 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2427 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2429 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2432 * text.C (computeBidiTables): No bidi in insetERT.
2434 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2437 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2439 * version.C.in: pre 5
2441 2002-05-02 José Matos <jamatos@fep.up.pt>
2442 * buffer.C (makeDocBookFile): white space changes, add newline to
2444 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2446 * tabular.C (docBook): fix typo.
2448 2002-05-03 Juergen Vigna <jug@sad.it>
2450 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2451 change in LyXText as we can not be sure it was not freed.
2452 (drawOneRow): remove unused code.
2454 * text.C (drawInset): redo the calculation of the need_break_row as
2455 it could have a row which was already freed.
2456 (draw): look at the return value of drawInset and return false if
2457 it also returned false.
2458 (paintRowText): look at the return value of draw and return false if
2459 it also returned false.
2461 * lyxtext.h: added bool return type to drawInset() and draw() so that
2462 if we have a change in the row so that the rowbreak has to be redone
2463 we abort drawing as it will be called again.
2465 2002-05-02 Juergen Vigna <jug@sad.it>
2467 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2468 a change in the maintext also if we're inside an inset.
2469 (Dispatch): set the cursor again after a break line and after the
2470 screen has been updated as it could be we're in a different row.
2472 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2473 to set the cursor behind the pargraph with > size().
2474 (setCursor): check also for the same paragraph when checking where
2475 to put the cursor if we have a NFR inset.
2477 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2478 parts of layout read further up as it still was in the wrong
2481 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2483 * screen.C (drawFromTo): change sine fullRebreak always return
2486 * buffer.C (parseSingleLyXformat2Token): reindent some
2488 * BufferView_pimpl.C (update): change since fullRebreak always
2490 (Dispatch): git rid of the last hardcoded "Standard"s.
2492 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2494 * text2.[Ch] (fullRebreak): make it return void now that we always
2497 2002-04-30 Juergen Vigna <jug@sad.it>
2499 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2500 ert compatibility check for "latex" layout.
2502 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2504 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2505 minipages: use col% instead of p%, and also use the current font.
2506 (makeLaTeXFile): Fix use babel condition.
2507 (parseSingleLyXformat2Token): Correct font when reading old floats.
2509 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2511 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2512 inserting list of floats.
2514 2002-04-25 Herbert Voss <voss@lyx.org>
2516 * MenuBackend.C (expand): don't add the graphics extensions to the
2519 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2521 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2522 non-existing layout, do not complain if it was the default layout
2523 of the original class (bug #342)
2525 2002-04-24 Juergen Vigna <jug@sad.it>
2527 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2528 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2530 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2532 * buffer.C (getBibkeyList): If using \bibliography, return the
2533 option field with the reference itself. Enables us to provide natbib
2534 support when using \bibliography.
2536 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2538 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2540 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2541 natbib is provided by the LaTeX class.
2543 2002-04-23 Juergen Vigna <jug@sad.it>
2545 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2548 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2550 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2552 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2554 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2555 ensuremath around textordmasculine, textordfeminine and
2558 2002-04-19 Juergen Vigna <jug@sad.it>
2560 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2561 reinitializing the buffer otherwise row-dimensions may be wrong.
2562 (update): reset also the selection cursors if they do exits otherwise
2563 their x/y positions may be wrong.
2565 * text2.C (cursorDown): don't enter the inset if we came from a row
2566 above and are one row over the inset.
2568 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2569 really leaving an inset.
2571 2002-04-18 Juergen Vigna <jug@sad.it>
2573 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2574 of the selected paragraph does not have the selected layout also if
2577 * text2.C (setLayout): fixed bug which did not change last selected
2580 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2581 changed the read and substituted \\end_float with \\end_inset!
2583 * BufferView_pimpl.C (cursorPrevious):
2584 (cursorNext): fixed to make it work with rows heigher than the work
2585 area without moving the cursor only the draw of the row.
2586 (workAreaMotionNotify): fix jumping over high rows.
2588 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2590 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2593 2002-04-16 Juergen Vigna <jug@sad.it>
2595 * text2.C (setCursor): set also the irow().
2596 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2598 (cursorDown): support for locking an inset if the x_fix value goes
2599 inside it. That way I can transverse insets too with cursor up/down.
2601 * lyxrow.h: added irow helper function same as other (i) functions.
2603 * BufferView_pimpl.C (cursorPrevious):
2604 (cursorNext): fixed for insets!
2606 2002-04-15 Juergen Vigna <jug@sad.it>
2608 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2609 position otherwise it is wrong in some cases.
2611 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2612 inside the inset before the call.
2614 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2616 * buffer.[Ch] (getBibkeyList): make it const.
2618 2002-04-12 Juergen Vigna <jug@sad.it>
2620 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2622 * text2.C (getCursorX): new helper function
2623 (setCursor): compute also ix_
2624 (setCursorFromCoordinates): set also ix.
2626 * lyxcursor.h: added ix_ and helper functions.
2628 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2630 * buffer.C (insertStringAsLines): dont break paragraph if the this
2631 paragraph is inside an inset which does not permit it!
2633 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2634 also with no chars on this paragraph.
2635 (paintRowText): only paint stuff if it's inside the workarea!
2637 * paragraph.C (breakParagraph): honor keepempty flag and break the
2638 paragraph always below not above.
2640 * BufferView2.C (unlockInset): update the paragraph layout on inset
2641 unlock as we changed paragraph in such a case.
2643 * lyxfind.C (LyXFind): clear the former selection if not found!
2645 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2646 again called in insertChar().
2648 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2649 an inset which uses the whole row!
2650 (rightMargin): ditto.
2651 (insertChar): force a rebreak if we inserted an inset!
2653 2002-03-28 Herbert Voss <voss@lyx.org>
2655 * lyxlength.[Ch]: add inBP() to get the right PS-point
2656 units (BigPoint). With inPixels we have rounding errors
2658 2002-04-11 Juergen Vigna <jug@sad.it>
2660 * text2.C (setCursorFromCoordinates): set iy to the right value.
2661 (setCursor): add check if row->previous exists!
2663 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2664 an old float_type as this was the case in the old code!
2666 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2668 * BufferView2.C (showLockedInsetCursor): use iy
2669 (fitLockedInsetCursor): ditto
2671 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2672 locked insets as there we have the right value now.
2674 * lyxcursor.C: added iy_ variable and iy functions to set to the
2675 baseline of cursor-y of the locked inset.
2677 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2678 (setCursor): fixed for insets which need a full row.
2680 * text.C (rowLastPrintable): don't ignore the last space when before
2681 an inset which needs a full row.
2682 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2683 as last character of a row when before a inset which needs a full row.
2685 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2687 * version.C.in: update date
2689 * text2.C (fullRebreak): try to always return true and see what
2692 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2694 * MenuBackend.C (expand): use Floating::listName
2696 * FloatList.C (FloatList): add listName argument to the built-in
2699 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2700 text associated with the float.
2702 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2704 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2706 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2708 * ShareContainer.h: add a couple of missing typenames.
2710 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
2712 * lyxrc.C (getDescription): use _() correctly rather than N_().
2714 2002-03-28 Herbert Voss <voss@lyx.org>
2716 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2717 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2719 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2721 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2722 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2724 2002-03-29 Juergen Vigna <jug@sad.it>
2726 * lyxfunc.C (dispatch): add a missing fitCursor call.
2728 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2729 it was scrolled by a cursor move, so return the bool status.
2731 * BufferView.C (fitCursor): return the bool flag also to the outside
2732 world as this is needed.
2734 * screen.C (toggleToggle): don't subtract the offset if it's positive.
2736 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2737 call the edit() as it is not needed (and wrong) IMO.
2738 (workAreaButtonPress): set the screen_first variable before evt.
2739 unlock the inset as this may change screen_first and then we have
2740 a wrong y position for the click!
2742 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2744 * MenuBackend.C (expand): another translation that I missed
2746 2002-03-28 Juergen Vigna <jug@sad.it>
2748 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2750 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2752 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2754 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2756 * MenuBackend.C (expand): fix export/view/update when there is no
2759 2002-03-27 Herbert Voss <voss@lyx.org>
2761 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2764 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2766 * bufferview_funcs.C (currentState): only show paragraph number
2767 for is DEVEL_VERSION is set.
2769 * lyxfunc.C (dispatch): put warning in INFO channel
2771 * MenuBackend.C (expand): translate the name of floats
2773 * FloatList.C (FloatList): mark the float names for translation
2775 * converter.C (convert): use LibScriptSearch
2777 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2779 * MenuBackend.C (defaults): fix default menu (we might as well get
2782 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2784 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2787 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2789 * lyxvc.C: reorder includes.
2791 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
2793 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2796 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
2798 * CutAndPaste.C: change layouts earlier on paste
2799 to avoid crashing when calling getFont()
2801 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2803 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2806 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2808 * WorkArea.C: remove 'Pending' debug message.
2810 * most files: ws cleanup
2812 * buffer.[Ch]: ws changes
2814 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
2816 2002-03-21 Juergen Vigna <jug@sad.it>
2818 * tabular.C (SetMultiColumn): collapse also the contents of the
2819 cells and set the last border right. Added a Buffer const * param.
2821 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2823 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
2826 2002-03-19 Juergen Vigna <jug@sad.it>
2828 * text2.C (clearSelection): reset also xsel_cache.
2830 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
2831 where it needs to be called (John tells us to do so too :)
2832 (selectionLost): reset sel_cache.
2834 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
2836 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2838 * text2.C (setCursorIntern): put debuging code in INSETS channel
2840 2002-03-19 André Pönitz <poenitz@gmx.net>
2842 * lyxfunc.C: tiny whitespace change
2844 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2846 * ToolbarDefaults.C (init):
2847 * LyXAction.C (init):
2849 * BufferView_pimpl.C (Dispatch):
2850 * lyxfunc.C (dispatch): remove LFUN_DEPTH
2852 2002-03-19 Allan Rae <rae@lyx.org>
2854 * exporter.C (Export): removeAutoInsets before doing anything else.
2855 While I've just introduced a dependency on BufferView this really is
2856 the best place to clean the buffer otherwise you need to cleanup in
2857 a dozen places before calling export or cleanup in a dozen functions
2860 * converter.C (runLaTeX):
2861 (scanLog): Better handling of removeAutoInsets and screen updates.
2863 * lyxfunc.C (dispatch): small whitespace changes
2865 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2867 * WorkArea.C (C_WorkAreaEvent): return a value.
2868 (event_cb): return 1 if we handled the event, 0 otherwise.
2870 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
2872 2002-03-18 Juergen Vigna <jug@sad.it>
2874 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2875 (GetAdditionalWidth): ditto.
2879 * BufferView2.C (copy): use getLyXText() so that we do it inside an
2880 inset if we're there actually (probably not used right now but this
2881 is the direction to go for unifying code).
2882 (paste): disable code to clear the selection.
2884 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2885 inside an InsetText and move the check further up as it is in the
2888 * text2.C (pasteSelection): set a selection over the pasted text.
2890 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
2892 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2893 and libgraphics to build on Cygwin.
2895 2002-03-15 Juergen Vigna <jug@sad.it>
2897 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2898 inserting an Inset into the paragraph. I know this is not the best
2899 fix but we already use current_view in CutAndPaste so we will remove
2900 all of it's using at the same time.
2902 * buffer.C (sgmlError): deactivated function till it is rewritten in
2903 the right mode, now it can create problems.
2905 * paragraph.C (isLineSeparator): check if getInset returns != 0,
2906 before accessing it.
2908 2002-03-14 Juergen Vigna <jug@sad.it>
2910 * undo_funcs.C (textHandleUndo): do the right thing when updating
2911 the inset after the undo/redo.
2913 * text2.C (setCursor): just some testcode for #44 not ready yet.
2915 * undo_funcs.C (textHandleUndo): set the next() and previous()
2916 pointers of the paragraph to 0 before deleting otherwise we have
2917 problems with the Paragraph::[destructor].
2919 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2920 on a paragraph insertion.
2922 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2924 * buffer.C (asciiParagraph): use += operator for char append to
2927 * paragraph.C (getFontSettings): compare >= not just >
2928 (highestFontInRange): ditto
2931 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2933 * paragraph.C: change several algorithm to be more appripriate for
2934 the problem domain. This is lookip in FontList and in the InsetList.
2936 2002-03-13 André Pönitz <poenitz@gmx.net>
2939 * LyXAction.C: remove unused LFUN_MATH_MACROARG
2941 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
2946 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2948 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2950 * Painter.C (display): anon helper function, adjust code for this
2952 (pixmap): remove function.
2954 * Painter.h: remove private display variable.
2956 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2958 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
2960 * WorkArea.[Ch]: remove figinset_canvas cruft.
2962 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2964 * lyxtextclass.C (operator): add one item cache optimization.
2966 * bufferlist.h: doxy changes
2968 * bufferlist.C: ws changes
2970 * DepTable.[Ch] (ext_exist): place const in the right spot.
2972 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
2974 (workAreaExpose): call resizeInsets when the with BufferView changes.
2975 (Dispatch): adjust for protectedBlank removal
2976 (specialChar): call updateInset if the insert went ok.
2978 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
2979 specialChar instead.
2981 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
2983 * BufferView.h: doxy change
2985 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
2987 * lyxtextclass.C (operator[]): remove non-const version
2988 (defaultLayout): remove non-const version
2990 2002-03-12 Juergen Vigna <jug@sad.it>
2992 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
2993 did resize the LyXText too.
2995 * buffer.C (readLyXformat2): set layout information on newly allocated
2998 * tabular.C (OldFormatRead): set layout information on the paragraph.
3000 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3002 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3004 2002-03-11 Juergen Vigna <jug@sad.it>
3006 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3008 (resizeCurrentBuffer): force also the insets to resize themselfes.
3009 (moveCursorUpdate): fixed up for InsetText.
3011 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3014 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3015 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3016 value of Dialogs::tooltipsEnabled().
3017 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3019 2002-03-08 Juergen Vigna <jug@sad.it>
3021 * BufferView_pimpl.C (updateInset): update inset inside inset also
3022 if it isn't inside theLockingInset().
3024 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3026 * buffer.C (asciiParagraph): redo some of the word and line length
3028 (getLists): look for Caption instead of caption.
3030 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3032 * buffer.C (Buffer): initialize niceFile to true
3035 (makeDocBookFile): make sure niceFile is true on exit
3037 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3039 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3041 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3043 * LyXSendto.C: remove.
3044 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3045 * lyx_gui.C: remove now-redundant comment.
3046 * ColorHandler.h: remove forward declaration of class WorkArea.
3047 * lyxfunc.C: remove #include "WorkArea.h".
3049 2002-03-07 Juergen Vigna <jug@sad.it>
3051 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3052 got moved away with the DEPM and also set the inset_owner always
3053 right which before could have been omitted.
3055 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3057 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3058 wanted layout is not found.
3060 2002-03-07 Juergen Vigna <jug@sad.it>
3062 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3064 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3066 * paragraph.C (breakParagraph): use default layout not layout of
3068 (Paragraph): clear ParagraphParameters.
3070 2002-03-06 Juergen Vigna <jug@sad.it>
3072 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3073 otherwise it would not be a valid lenght. Fixed a special case in
3074 the minipage compatibility read where we end the document with a
3077 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3078 was set as it could be 0 for InsetTexts first entry.
3080 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3082 * paragraph.C (writeFile): if layout is empty write out
3083 defaultLayoutName().
3085 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3086 file without named layout we set layout to defaultLayoutName().
3088 2002-03-06 Juergen Vigna <jug@sad.it>
3090 * CutAndPaste.C (copySelection): set layout for new paragraph.
3092 * text.C (prepareToPrint): leave ERT inset left aligned
3093 (leftMargin): don't indent paragraphs inside ERT insets
3095 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3097 * paragraph.C (breakParagraph): dont call clear do the work manually
3099 * paragraph.[Ch] (clear): remove function
3101 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3103 * paragraph.C (Paragraph): dont call clear, the work has already
3106 * lyxtextclass.C (operator): assert if n is empty
3108 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3109 work manually instead.
3111 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3113 * BufferView_pimpl.C: protect selectionLost against text == 0
3115 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3117 * text.C (breakParagraph): fix a setting layout to '0' problem.
3119 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3121 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3122 final location of file, for the included files, and graphics.
3124 2002-03-05 Juergen Vigna <jug@sad.it>
3126 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3128 2002-03-04 Juergen Vigna <jug@sad.it>
3130 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3132 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3133 last column of multicolumn cells.
3134 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3136 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3138 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3139 file if it doesn't go to a temporary file.
3141 * buffer.C (sgmlOpenTag):
3142 (sgmlCloseTag): remove extra newline insertion.
3144 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3146 * text.C (getRowNearY): comment out debug msg
3148 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3150 * text2.C: first -> first_y
3152 * text.C (getRowNearY): add some attemts at a possible
3153 optimization, not working.
3155 * tabular.[Ch]: add BufferParams to several function so that newly
3156 created paragraph can be initialized to he default layotu for the
3159 * tabular-old.C (ReadOld): add buf->params to call of Init
3161 * screen.C: rename text->first to text->first_y
3163 * paragraph.C (breakParagraph): always set layout in the broken
3166 * lyxtextclass.C (Read): remove lowercase
3169 (delete_layout): ditto
3171 * lyxtext.h: rename first -> first_y
3173 * lyxlayout.C (Read): remove lowercase
3176 (obsoleted_by): ditto
3178 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3180 * buffer.C (insertErtContents): add params are to InsetERT
3181 (parseSingleLyXformat2Token): add code to check if a paragraphs
3182 layout really exist.
3183 (parseSingleLyXformat2Token): add params to several inset
3185 (asciiParagraph): remove lowercase, do the layout comparisons with
3188 * BufferView_pimpl.C (cursorNext): first -> first_y
3189 (resizeCurrentBuffer): first -> first_y
3190 (updateScrollbar): first -> first_y
3191 (scrollCB): first -> first_y
3192 (workAreaMotionNotify): first -> first_y
3193 (workAreaButtonPress): first -> first_y
3194 (checkInsetHit): first -> first_y
3195 (cursorPrevious): first -> first_y
3196 (cursorNext): first -> first_y
3197 (Dispatch): add buffer_->params to severl inset contructors
3199 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3201 * lyxlayout.C (Read): remove some debug info that I forgot.
3203 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3204 clean up the code slightly.
3205 (makeLinuxDocFile): ditto
3206 (makeDocBookFile): ditto
3208 * text2.C: layout as string
3210 * text.C: layout as string
3212 * paragraph_pimpl.C: layout as string
3214 * paragraph.[Ch]: layout as string
3216 * lyxtextclasslist.[Ch]: layout as string
3218 * lyxtextclass.[Ch]: layout as string
3220 * lyxtext.h: layout as string
3222 * lyxlayout.[Ch]: layout as string
3224 * lyx_cb.C: layout as string
3226 * bufferview_funcs.C: layout as string
3228 * bufferparams.C: layout as string
3230 * buffer.C: layout as string
3232 * LyXView.[Ch]: layout as string
3234 * LaTeXFeatures.[Ch]: layout as string
3236 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3238 * BufferView_pimpl.C: change current_layout to string, remove
3243 (workAreaButtonRelease): layout as string
3245 * BufferView2.C (unlockInset): adjust
3247 * vspace.C (asLatexCommand): use an explict temp variable.
3249 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3251 * Makefile.am: use FRONTEND_*
3253 2002-03-01 Juergen Vigna <jug@sad.it>
3255 * tabular.C (SetWidthOfMulticolCell): changed to something better
3256 I hope but still work in progress.
3257 (recalculateMulticolumnsOfColumn): renamed function from
3258 recalculateMulticolCells as it is more appropriate now.
3259 (SetWidthOfCell): calculate multicols better.
3261 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3263 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3265 * lyxfunc.C (processKeySym): print sequence also if it is
3266 `deleted' (complete)
3268 * kbsequence.C (print): print sequence even if it is deleted
3269 (complete would be a better word, actually).
3271 * lyxfunc.C (dispatch): print complete options after a prefix key
3273 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3275 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3277 * text2.C (setCharFont): eliminate setCharFont code duplication.
3279 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3281 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3282 LFUN_TABULAR_FEATURE (bug #177)
3284 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3286 * Makefile.am: remove figure.h
3288 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3290 * Bufferview_pimpl.C:
3302 * text2.C: remove #include "lyx_gui_misc.h".
3304 * LaTeX.C: added #include <cstdio>
3306 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3308 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3309 that the paragraph following this one can have.
3311 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3313 * vspace.C (asLatexCommand): fix bogus gcc warning
3315 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3317 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3319 * text2.C (setLayout): get rid of redundant code
3321 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3323 * text2.C (incDepth): make sure depth cannot be increased beyond
3326 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3328 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3329 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3331 * PainterBase.h (image):
3332 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3335 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3339 * BufferView_pimpl.C:
3340 * BufferView_pimpl.h:
3360 * sp_spell.C: remove fig inset, and the crap house of
3361 cards that follows it
3363 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3369 * nt_defines.h: move .h into support/
3371 * vms_defines.h: remove
3373 * WorkArea.C: add space in debug output
3377 * buffer.C: add WITH_WARNINGS
3381 * bufferlist.C: s/retrive/retrieve/, add docs
3392 * lyxgui.C: add ID to X error handler
3394 * lyxtestclass.c: fix typo
3396 2002-02-26 Juergen Vigna <jug@sad.it>
3398 * tabular_funcs.C (write_attribute): changed so that some default
3399 attributes are not written at all.
3400 (getTokenValue): set default values before trying to read the
3401 value so we have the return value always set as default if we don't
3402 find the token we search for.
3404 * tabular.C (Write): write bools as bools not as strings!
3406 2002-02-22 Juergen Vigna <jug@sad.it>
3408 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3409 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3411 * text.C (leftMargin): don't add an indent for paragraphs inside
3412 tabular cells (fix #208).
3414 2002-02-21 José Matos <jamatos@fep.up.pt>
3416 * tabular.C (docBook): fixed support for long tables.
3418 2002-02-20 Juergen Vigna <jug@sad.it>
3420 * text2.C (getFont): get the drawing font of the Inset if this
3421 paragraph is inside an inset (only important for InsetERT for now).
3423 * buffer.C (insertErtContents): use new lanugage params in ERT
3426 * CutAndPaste.C: commenting out seemingly uneeded code.
3428 2002-02-19 Allan Rae <rae@lyx.org>
3430 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3431 Iterators might be simple to use but they also get invalidated.
3432 (removeAutoInsets): renamed saved cursor tracking variables and added
3433 some comments to clarify what everything does.
3435 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3442 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3443 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3446 * vc-backend.h: remove #include "support/syscall.h"
3450 * converter.C: rearrange #includes in Lars' approved fashion.
3452 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3453 forward declare class Timeout in the header file.
3455 * XFormsView.C: changes due to the above.
3457 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3460 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3461 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3463 2002-02-18 José Matos <jamatos@fep.up.pt>
3465 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3468 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3470 * a lot of small ws changes
3471 * add a lot of using std::XXX
3472 * use std construcs some places where approp.
3473 * use some exisint stuff from lyxfunctional where approp.
3474 * Make file changes to use partial linking (lets test this now...)
3476 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3480 remove #include "support/syscontr.h" as it's redundant. Always has been.
3488 change Systemcalls::System to Systemcalls::Wait and
3489 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3490 No change of functionality, just reflects the stripped down Systemcalls
3493 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3495 * debug.[Ch]: add a GRAPHICS type to the enum.
3497 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3499 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3501 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3504 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3506 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3507 match the changes below.
3509 * text2.C (toggleInset): if there is not editable inset at cursor
3510 position, try to see if cursor is _inside_ a collapsable inset
3513 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3515 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3516 document menu has a nice checkbox
3518 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3520 * lyxlength.C (asLatexString): change PW to output as percent of
3523 * lengthcommon.C: change '%' to 't%'
3525 * lyxfunc.C (dispatch): a few comments from Martin
3527 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3531 * BufferView_pimpl.h:
3532 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3535 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3537 * vspace.C (inPixels): fix compiler warning
3539 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3541 * lyxfunc.C (getStatus): fix status message for disabled commands.
3543 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3545 * BufferView_pimpl.C: fix crash on close buffer
3546 during selection (#227)
3548 2002-01-27 Herbert Voss <voss@lyx.org>
3550 * buffer.C: link old Figure to new graphic inset
3552 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3554 * FontLoader.C (getFontinfo): Change the latex font names in order
3555 to match the names of type1inst.
3557 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3559 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3561 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3564 (remove_files_with_extension): ditto
3565 (remove_file): ditto
3568 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3569 document is smaller than the work area height. Do not initialize
3570 static variables to 0.
3572 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3574 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3576 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3577 LFUN_LAYOUT_PARAGRAPHS.
3579 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3580 tabular. It is possible to provide a possible cell, which will
3581 typically be the actcell from the corresponding insettabular
3583 * lyxfunc.C (getStatus): small cleanup; disable
3584 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3587 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3589 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3591 * paragraph.C (startTeXParParams):
3592 (endTeXParParams): new methods. The LaTeX code to
3593 start/end paragraph formatting
3594 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3595 empty (fixes bug #200)
3597 * vspace.C (inPixels): adapt to the change below
3598 (inPixels): [later] more cleanups (remove unused variables)
3600 * lyxlength.C (inPixels): change to use a width and a height as
3603 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3605 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3606 Replaced with \paperwidth
3608 * DepTable.C (insert): add std:: qualifier
3610 2002-01-18 Allan Rae <rae@lyx.org>
3612 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3615 * text.C (drawInset): Turned out I didn't know enough about how
3616 rebreaking worked. This fixes most of the redraw problems. I see
3617 an occasional cursor trail when a line is broken now and the cursor
3618 placement can seem out by a few pixels also after a rebreak.
3620 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3622 * buffer.C (parseSingleLyXformat2Token): update because minipage
3623 width is now a LyXLength
3625 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3627 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3630 2002-01-17 Juergen Vigna <jug@sad.it>
3632 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3634 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3635 is set correctly and the inset is updated correctly.
3637 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3639 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3640 the beginning of the loop.
3642 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3644 * lyxrc.C: improve help for use_scalable_fonts
3646 2002-01-17 Allan Rae <rae@lyx.org>
3648 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3650 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3652 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3653 make sure to set their inset_owner to the right value (bug #171)
3655 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3658 * DepTable.C: Implement mtime checking to reduce time spent doing
3661 2002-01-16 Juergen Vigna <jug@sad.it>
3663 * tabular.C (GetAdditionalHeight): one of error fixed.
3665 * lyxrc.C (output): small fix in writing use_pspell.
3667 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3669 * sp_base.h: #include LString.h
3671 2002-01-16 Allan Rae <rae@lyx.org>
3673 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3674 Can someone check this please?
3676 * text.C (drawInset): It was possible that p.row would be removed by
3677 breakAgainOneRow upsetting a few other settings. There may be another
3678 small tweak possible by setting need_break_row = 0 when p.row has been
3679 removed but I don't know enough about the logic here.
3681 2002-01-15 Allan Rae <rae@lyx.org>
3683 * text.C (insertChar): removed conditional truism.
3685 * BufferView2.C (removeAutoInsets): More tweaks.
3686 cur_par_prev could be a stray pointer. Check for trailing empty line
3687 in case last line was cur_par and only had an error inset on it.
3689 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3691 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3694 * vc-backend.C (most methods):
3695 * exporter.C (Export):
3696 * converter.C (convert):
3698 * LyXSendto.C (SendtoApplyCB):
3699 * lyxfunc.C (dispatch):
3703 * lyx_cb.C (AutoSave):
3705 * BufferView_pimpl.C (MenuInsertLyXFile):
3706 * buffer.C (runChktex): use Buffer::filePath().
3708 * buffer.h: rename filename to filename_; rename filepath to
3709 filepath_ and make it private
3710 (filePath): new method
3712 * buffer.C (writeFile): use fileName()
3715 * lyx_main.C (init): fix starting of LyX when the binary is a
3716 link from so,ewhere else.
3718 * minibuffer.C: include <cctype> for isprint
3720 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3722 * buffer.C (parseSingleLyXformat2Token): changes associated with the
3723 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3724 name clash with InsetCollapsable's width function.
3726 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3728 * lastfiles.C: include <iterator>
3730 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3732 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3735 * buffer.C (makeLaTeXFile): ditto.
3736 Also make loop operation more transparent.
3738 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3740 * ToolbarDefaults.C: remove trailing comma closing namespace.
3742 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3744 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3747 * trans.C (Load): comment out unused variable, allowed.
3749 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3751 * minibuffer.[Ch] (append_char): new method to recieve input from the
3752 drop-down completion browser. If a key was pressed, then recieve this
3753 char and append it to the existing string.
3754 (peek_event): modify the positioning data passed to the completion
3755 browser so that it can be placed above the minibuffer rather than below.
3756 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3758 * LyXAction.C (init): alloe error-next for readonly documents.
3760 * BufferView2.C (ChangeRefsIfUnique): use standard version of
3763 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3765 * bufferlist.C (readFile): create the buffer _after_ checking that
3768 * lyxfunc.C (verboseDispatch): fix handling of arguments
3770 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3772 * lyxrc.C: use string::erase() instead of initializing to "".
3775 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3777 * BufferView_pimpl.h:
3778 * BufferView_pimpl.C:
3781 * text2.C: tell X when we have made a selection for copying
3783 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3785 * BufferView_pimpl.C (MenuInsertLyXFile):
3786 * lyxfunc.C (menuNew):
3788 (doImport): add shortcuts to directory buttons
3790 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3793 * lyxfunc.C (setStatusMessage):
3794 (getStatusMessage): new methods
3795 (getStatus):use setStatusMessage instead of setErrorMessage
3796 (dispatch): when function is disabled, set error message here
3797 [instead of in getStatus previously]
3799 * BufferView_pimpl.C (workAreaButtonRelease): update
3800 toolbar/menubar here too.
3802 2002-01-13 Allan Rae <rae@lyx.org>
3804 * BufferView2.C (removeAutoInsets): finished off earlier fix.
3805 Now seems indestructible. Remaining task is to audit all other
3806 code affected by deleteEmptyParagraphMechanism. One small quirk
3807 left is that an empty document with an error in the preamble can
3808 be made to report an error but no error box appears. I don't know
3810 (removeAutoInsets): Improved comments.
3812 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
3815 * Thesaurus.C: update for Aiksaurus 0.14
3817 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3819 * text2.C (firstParagraph): removed member function, all uses
3820 replaces with ownerParagraph
3821 (redoParagraphs): here
3823 (toggleAppendix): here
3824 * BufferView2.C (insertErrors): here
3825 (setCursorFromRow): here
3827 2002-01-13 Allan Rae <rae@lyx.org>
3829 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
3830 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
3831 There is still a way to segfault this although you may have to do this
3832 multiple times: Have an InsetERT with an unknown command in it.
3833 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
3834 <down-arrow>, <Enter> again, View->DVI, BANG!
3836 * text2.C (setCursor):
3837 (deleteEmptyParagraphMechanism):
3838 * lyxtext.h (setCursor):
3839 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
3840 Making use of the return value may help fix other bugs.
3842 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3844 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
3846 * LyXView.C (updateMenubar): call MenuBar::update here
3847 (updateToolbar): but not here
3848 (showState): do not update toolbar/menubar
3850 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
3851 should need to care about that.
3853 * lyxfunc.C (verboseDispatch): simplify a bit
3854 (getStatus): have a version which takes a pseudoaction, and
3855 another which requires a (kb_action,string).
3857 * LyXAction.C (retrieveActionArg): make it work also when action
3858 is not a pseudo-action.
3859 (getActionName): simplify a bit
3862 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3864 * lyxfunc.C (verboseDispatch): new families of methods with
3865 several ways to specify a command and a bool to indicate whether
3866 the command name and shortcut should be displayed in minibuffer
3867 (eventually, we could extend that to a finer bitmask like
3868 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
3869 (dispatch): the pristine dispatch command which just, well,
3870 dispatchs! Note it still sets its result to minibuffer; I'm not
3873 * lyxfunc.h: remove setHintMessage
3875 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3877 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3879 * BufferView_pimpl.C (specialChar): delete new inset if we have
3880 not been able to insert it.
3882 * kbmap.C: revert to using int instead of kb_action, since all we
3883 are dealing with is pseudo-actions.
3885 * LyXAction.C (searchActionArg): change to return int instead of
3886 kb_action, since the result is a pseudoaction.
3888 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
3890 * buffer.C (insertErtContents): Fix (partially) the font bug.
3892 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3894 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3895 as the other one is broken on my machine!
3897 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
3900 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3902 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
3904 * lyxrc.[Ch]: change names and descriptions of popup font variables to
3905 reflect their actual use. Provide compatibility code for older lyxrc
3908 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3910 change names of popup font variables in line with the changes to lyxrc.C
3912 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3914 * buffer.C (asciiParagraph): avoid outputing a word twice after
3917 * lyxrc.C (getDescription): document that document_path and
3918 template_path can be empty.
3920 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3922 * LaTeXFeatures.C (getMacros):
3923 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3925 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3927 * LaTeXFeatures.C (useFloat): require "float" here instead of in
3929 (getPackages): rename feature "floats" to "float". Use an array to
3930 iterate over 'simple' features (i.e. just a \usepackage). Add
3931 handling of "amsmath" (renamed from "amsstyle").
3933 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
3935 * LaTeXFeatures.C (require): Prevent duplicate entries in the
3938 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
3940 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3941 FuncStaus::FuncStatus & FuncStaus::some_method().
3943 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3945 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3946 of the func_satus stuff. Edited and massaged in various ways by
3949 * lyxfunc.C (getStatus): use FuncStatus
3951 2002-01-08 Juergen Vigna <jug@sad.it>
3953 * text.C (nextBreakPoint): use function Inset::isChar().
3955 * paragraph.C (TeXOnePar): use function
3956 Inset::forceDefaultParagraphs.
3958 * buffer.C (latexParagraphs): use function
3959 Inset::forceDefaultParagraphs.
3961 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3963 * lyx_gui.C (init): set the style of the menu popups to
3964 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3966 2002-01-07 Juergen Vigna <jug@sad.it>
3968 * text.C (setHeightOfRow): small fix
3969 (prepareToPrint): don't look at alignment if we don't have the place
3972 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3974 * box.C: New file. Move the Box methods and functions out of box.h,
3975 following Lars' suggestion.
3977 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3979 * box.h: #include "support/LOstream.h", needed for inlined function.
3982 * lyxtextclasslist.C: added some using std declarations.
3984 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
3986 * box.h: make signed dimensions to allow insets wider than
3987 the screen (bug #162)
3989 * BufferView_pimpl.C: add some insetHit debug
3991 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3993 * vc-backend.C: add FIXME
3995 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3997 * lyxfunc.C (getStatus): enable code for showing math font status
4000 2002-01-07 Juergen Vigna <jug@sad.it>
4002 * text.C (nextBreakPoint): removed debug output not needed anymore.
4004 2002-01-06 Juergen Vigna <jug@sad.it>
4006 * text.C (nextBreakPoint): fixed up this function we had this bug
4007 since ever but now hopefully we break row better.
4008 (insertChar): we have to check if an inset is the next char as it
4009 could now happen that a large inset is causing a break.
4011 2002-01-05 Juergen Vigna <jug@sad.it>
4013 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4014 if it doesn't like to be drawed.
4016 2002-01-04 Juergen Vigna <jug@sad.it>
4018 * BufferView2.C (lockInset): forgot to set a cursor.
4020 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4022 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4027 * form_maths_panel.C:
4028 * form_maths_panel.h:
4029 * form_maths_panel.fd: implemented sub- and super- buttons in math
4032 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4033 (or ^ space) to be used as in TeX (req'd by André).
4035 * lyxfunc.C: Allow ^ and _ again to be used both as
4036 super/subscript (mathed) and as themselves (in text).
4038 2002-01-03 Allan Rae <rae@lyx.org>
4040 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4041 "LyX" or the filename of the current buffer if it has one. This is a
4042 modified form of John Levon's patch.
4044 * XFormsView.C (setWindowTitle): also set icon title.
4046 * LyXView.h (setWindowTitle): signature changed.
4047 * XFormsView.h (setWindowTitle): ditto.
4049 2002-01-02 Juergen Vigna <jug@sad.it>
4051 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4053 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4055 * screen.C (topCursorVisible): introduce a temp var for
4056 text->cursor.row(), handle the case where this row is null. (kindo
4059 * text2.C (setCursor): add a couple of asserts.
4061 * paragraph.h (inset_iterator): add -> operator
4063 * paragraph.[Ch] (autoDeleteInsets): remove member function
4065 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4066 cursor pos correctly and handle inset deletion by itself.
4067 (insertErrors): move iterator declaration out of for expression
4069 * lyxtextclass.C: add <algorithm>
4071 * Makefile.am: added the new files to sources, removed layout.C
4073 * layout.C: removed file
4075 * layout.h: remove LYX_DUMMY_LAYOUT
4077 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4081 * lyxtextclass.[Ch]:
4082 * lyxtextclasslist.[Ch]: new files
4084 * include order changes to a lot of files, also changes because of
4087 2001-12-27 Juergen Vigna <jug@sad.it>
4089 * buffer.C (asciiParagraph): more fixes.
4091 * tabular.C (ascii): make ascii export support export of only the
4092 data separated by a column-delimiter.
4093 (ascii): better support for ascii export.
4095 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4097 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4099 * tabular_funcs.C: use a "using std::getline" instead of the
4100 previous fix from Angus (necessary for cxx + lyxstring)
4102 2001-12-24 Juergen Vigna <jug@sad.it>
4104 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4106 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4107 problems. First check a minipage also if we have some ert-contents
4108 (not only on par->size(), second set the right depth of the paragraph
4109 on the relink to the root-paragraph-list!
4111 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4112 which then did not anymore update the main paragraphs on undo/redo!
4114 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4116 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4117 code. Support all font-changing funcs (even those which are not in
4118 menu currently). Support for reporting font settings in
4119 mathed (disabled until Andre provides a function on mathed's side).
4121 * func_status.h (toggle): small helper function to set toggle
4124 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4126 * tabular_funcs.C: getline -> std::getline
4128 2001-12-21 Juergen Vigna <jug@sad.it>
4130 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4131 accessed and could be 0 (I couldn't generate this but it seems
4134 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4136 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4137 * tabular_funcs.h: here and include iosfwd
4139 2001-12-20 Juergen Vigna <jug@sad.it>
4141 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4142 inside inset but undo_par was.
4144 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4146 * Thesaurus.C: always include <config.h> in sources.
4150 * box.h: do not include <config.h> in header files
4152 * text.C (paintLastRow): remove unused variable
4154 * text.C (transformChar):
4156 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4159 * font.C (width): rewrite to use uppercase() instead of
4162 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4164 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4166 * lyxfind.C: clean up of find failure position change
4168 2001-12-20 Juergen Vigna <jug@sad.it>
4170 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4172 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4173 (TeXRow): added to LaTeX a single tabular row.
4174 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4175 (Latex): simplified and finally good LT-h/f support.
4176 (various_functions): just small adaptions for LT-h/f support.
4178 * tabular_funcs.[hC]: added and moved here all not classfunctions
4181 2001-12-19 Juergen Vigna <jug@sad.it>
4183 * tabular.[Ch]: better support for longtabular options (not finished
4186 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4188 * text.C (paintLastRow): use the label font instead of the font of
4189 the last character to compute the size of *_BOX. This makes more
4190 sense and avoids a crash with empty paragraphs.
4191 Use Painter::rectangle to draw EMPTY_BOX.
4193 2001-12-19 Juergen Vigna <jug@sad.it>
4195 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4196 the paragraphs if the replaced paragraph is not the first one!
4197 Tried to delete not used paragraphs but does not work yet so for
4198 now it's inside #ifdef's and by default off!
4200 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4202 * MenuBackend.C: include "lyx_main.h" instead of declaring
4203 lastfiles (actually was declared as LastFiles* instead of a
4206 2001-12-17 Juergen Vigna <jug@sad.it>
4208 * tabular.C (AppendColumn): applied John's fix
4210 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4214 * BufferView_pimpl.h:
4215 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4218 * box.h: new start of class for above
4220 * lyxfunc.C: ignore space-only minibuffer dispatches.
4221 Show the command name when it doesn't exist
4223 * minibuffer.C: don't add empty lines to the history
4225 * minibuffer.C: add a space on dropdown completion
4227 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4229 * text.C: fix line above/below drawing in insets
4231 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4233 * lyxlength.C (LyXLength): Initialize private variables.
4235 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4237 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4238 when inserting error insets.
4240 2001-12-13 Juergen Vigna <jug@sad.it>
4242 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4243 actually sometimes the before-paragraph.
4244 (setUndo): don't clear the redostack if we're not actually undoing!
4246 2001-12-06 Juergen Vigna <jug@sad.it>
4248 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4249 and fixed redoing of main paragraph, so we can use it now ;)
4251 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4253 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4255 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4258 2001-12-13 André Pönitz <poenitz@gmx.net>
4261 * undo_func.C: minor cleanup
4263 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4265 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4266 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4267 font in urw-fonts package which is marked as -urw-fontspecific and
4268 does not work (incidentally, changing the encoding in the
4269 fonts.dir of this package to -adobe-fontspecific fixes the
4272 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4273 is a crash when undoing first paragraph (Juergen, please take a
4274 look). THis does not mean the undo fix is wrong, just that it
4277 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4278 the (Paragraph*) version when needed instead of duplicating the
4281 * text.C (workWidth): use Inset::parOwner to find out where the
4282 inset has been inserted. This is a huge performance gain for large
4283 documents with lots of insets. If Inset::parOwner is not set, fall
4284 back on the brute force method
4286 * paragraph_pimpl.C (insertInset):
4287 * paragraph.C (Paragraph):
4288 (cutIntoMinibuffer): set parOwner of insets when
4289 inserting/removing them
4291 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4293 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4299 * mathed/formulabase.C:
4300 * mathed/math_cursor.[Ch]:
4301 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4304 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4306 * lyxlength.[Ch] (operator!=): new function
4308 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4310 * text.C (workWidth): use Inset::parOwner to find out where the
4311 inset has been inserted. This is a huge performance gain for large
4312 documents with lots of insets. If Inset::parOwner is not set, fall
4313 back on the brute force method
4315 * paragraph_pimpl.C (insertInset):
4316 * paragraph.C (Paragraph):
4317 (cutIntoMinibuffer): set parOwner of insets when
4318 inserting/removing them
4320 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4322 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4324 * tabular-old.C (getTokenValue):
4325 * tabular.C (getTokenValue):
4326 (write_attribute): new versions for LyXLength
4327 (everywhere): adjust the use of widths
4329 * tabular.h: change the type of widths from string to LyXLength
4331 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4333 * paragraph.C: fixed missing line number count when exporting
4334 Environments to LaTeX file
4336 * buffer.C: added informational message for checking line numbers.
4338 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4340 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4341 paragraph, do the 'double space' part, but not the 'empty
4344 * text.C (workWidth): small optimization
4345 (getLengthMarkerHeight): use minimal size for negative lengths.
4347 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4349 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4351 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4353 2001-12-11 André Pönitz <poenitz@gmx.net>
4356 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4358 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4360 * text2.C: keep selection on a setFont()
4362 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4364 * lyx_cb.C: another bv->text misuse, from insert label
4366 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4369 * kbsequence.C: re-instate nmodifier mask
4371 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4373 * lyx_main.h: make lyxGUI private.
4375 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4377 * lyxfind.C: place the cursor correctly on failed search
4379 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4381 * text.C (getLengthMarkerHeight): for small heights, the arrows
4382 are not always on top/bottom of the text
4383 (drawLengthMarker): smaller arrows; take the left margin in
4384 account; draw also vfills.
4386 (paintLastRow): remove special code for vfill and standard spaces,
4387 since everything is handled in drawLengthMarker now.
4389 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4391 * buffer.C (insertErtContents): try to handle font and language
4392 interaction a bit better.g
4394 * ColorHandler.C (updateColor): change the hash to cover the whole
4395 LColor enum, ws cleanup
4396 (getGCLinepars): ditto
4397 (getGCLinepars): only lookup in the linecache once.
4399 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4401 * iterators.C (operator++): Make the iterator more robust
4403 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4405 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4407 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4410 * text.C: better added space drawing
4412 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4415 * BufferView2.C: fix layout combo update on inset unlock
4417 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4419 * Makefile.am: don't compile unused files
4421 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4425 * LyXAction.C: remove old LFUN_LAYOUTNO
4427 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4429 * paragraph_pimpl.h:
4430 * paragraph_pimpl.C: isTextAt() doesn't need font param
4432 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4435 * lyxlex.C: little cleanup
4437 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4439 * BufferView_pimpl.C: fix insertAscii for insets
4441 2001-12-05 Juergen Vigna <jug@sad.it>
4443 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4444 set the right font on the "multi" paragraph paste!
4446 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4452 * lyxlength.C: remove out-commented code.
4468 * vc-backend.C: change "while(" to "while ("
4470 * lyxlength.[Ch]: add zero function to check if length is zero or
4472 * lyxgluelength.C: use it
4474 2001-12-05 Allan Rae <rae@lyx.org>
4476 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4477 Works for 2.95.3, from what I understand of Garst's reports this should
4478 work for other g++ versions. We're screwed if the abs(int) definition
4479 changed between bugfix releases of gcc.
4481 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4483 * text.C: fix chapter label offset !
4485 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4488 * text.C: fix hfill at end of line, clean up
4490 2001-12-04 Juergen Vigna <jug@sad.it>
4492 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4493 that we force an update of the inset and it's owners if neccessary.
4495 2001-12-03 Juergen Vigna <jug@sad.it>
4497 * text.C (rowLast): simplified code
4499 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4501 * lyxfunc.C: fix show options on timeout
4503 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4505 * screen.C (topCursorVisible): scroll half a page when the cursor
4506 reached top of bottom of screen
4508 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4510 * minibuffer.C: deactivate on loss of focus
4512 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4514 * vspace.[Ch] (operator!=): add operator.
4516 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4518 * BufferView_pimpl.C: refuse to open an inset when
4519 there's a selection.
4521 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4523 * BufferView_pimpl.C: allow to click on RHS of full row insets
4525 2001-11-30 Juergen Vigna <jug@sad.it>
4527 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4528 insets for undo reasons.
4530 2001-11-28 André Pönitz <poenitz@gmx.net>
4532 * vspace.[Ch]: cosmetical changes
4534 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4544 * kbsequence.C: part re-write of old kb code
4547 * WorkArea.C: remove Lgb_bug_find_hack
4549 2001-11-30 José Matos <jamatos@fep.up.pt>
4551 * buffer.C (makeDocBookFile): add a comment to point a hack.
4552 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4553 Fixed a double write of labels.
4555 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4558 * LaTeX.h Fixed bug in LaTeX class where it would not
4559 re-run latex if no depfiles were changed, but the .dvi was removed.
4561 2001-11-28 André Pönitz <poenitz@gmx.net>
4563 * all the files from the change on 2001/11/26:
4564 use lyx::layout_type instead of LyXTextClass::size_type
4565 use lyx::textclass_type instead of LyXTextClassList::size_type
4567 2001-11-29 Juergen Vigna <jug@sad.it>
4569 * text.C: added support for paragraph::isFreeSpacing()
4571 * buffer.C: same as above
4573 * paragraph.h: inserted isFreeSpacing() function to enable
4574 FreeSpacing inside InsetERT.
4576 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4577 of the paragraph's in the cut/copy buffer to 0!
4579 * text2.C (removeRow): remove the assert as it can!
4581 * lyxtext.h: added helper function firstRow returning firstrow and
4582 made firstrow private again.
4584 * BufferView2.C (lockInset): don't relock if we're already locked!
4586 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4588 (removeRow): added Assert::(firstrow)
4590 * debug.C: forgot to add INSETTEXT here.
4592 2001-11-28 Juergen Vigna <jug@sad.it>
4594 * sp_spell.C (initialize): changed error text to more general
4595 spellchecker command use (not only ispell!)
4597 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4599 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4601 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4603 * vspace.C: initialise lyxgluelength on failure
4605 2001-11-28 Allan Rae <rae@lyx.org>
4607 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4608 declaration & definition that looks like a function declaration.
4610 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4612 * BufferView2.C (copy):
4613 (copyEnvironment): do not clear the selection when doing a copy.
4615 * text.C (paintFirstRow): compilation fix
4617 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4619 * tabular.C (Latex): correct line count when writing latex.
4621 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4623 * paragraph_pimpl.h:
4624 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4627 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4631 * LColor.C: change vfillline->added_space
4633 * text.C: add markers and text for added space
4635 * vspace.C: fix comment
4637 2001-11-28 André Pönitz <poenitz@gmx.net>
4639 * paragraph.C: whitespace changes
4640 * all the other files from the change on 2001/11/26:
4641 change *::pos_type into lyx::pos_type
4643 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4645 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4646 language of the document when inserting error insets.
4648 2001-11-26 André Pönitz <poenitz@gmx.net>
4650 * BufferView_pimpl.[Ch]:
4658 * paragraph_pimpl.[Ch]:
4661 * text2.C: reduce header dependencies, introduce type for positions
4663 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4665 * <various>: change to use Alert.h
4667 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4669 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4670 when encountering an unknown token.
4671 (readLyXformat2): Show an error message if there were unknown tokens.
4673 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4676 * BufferView_pimpl.C:
4680 * text2.C: use par->isInset()
4682 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4684 * paragraph_pimpl.h:
4685 * paragraph_pimpl.C: cleanup
4687 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4689 * text2.C (removeRow):
4690 * text.C (setHeightOfRow): remove useless (and costly) call to
4693 2001-11-20 Allan Rae <rae@lyx.org>
4695 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4696 Now need Inset*::checkInsertChar() to return true for appropriate
4697 cases so that the characters in the minibuffer will actually be
4700 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4702 * text.C: change the order of the includes.
4703 (workWidth): initialize it at once.
4704 (workWidth): make maxw unsigned
4705 (setHeightOfRow): remove unused variable (inset)
4706 (selectSelectedWord): remove unused variable (inset)
4707 (paintRowText): fix drawing of hfill characters, and clean up a bit.
4709 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4711 * lyxserver.C (emergencyCleanup): do not try to close pipes if
4712 server is not running.
4714 (closeConnection): add debug info when server is disabled.
4716 * ColorHandler.C (getGCForeground): send debug message to GUI
4719 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4721 * kbmap.C (bind): modify because return conventions of
4722 kb_sequence::parse have changed.
4724 * kbsequence.C (parse): only ignore spaces and not any stupid
4725 control character. This avoids tests like s[i] <= ' ', which are
4726 guaranteed to fail with 8bit characters and signed chars.
4727 Change return code to string::npos when there have been no error
4728 (0 was a bad idea when error is at first character)
4730 2001-11-14 José Matos <jamatos@fep.up.pt>
4733 * buffer.C (simpleDocBookOnePar): removed unused argument.
4735 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4737 * text.C (selectNextWordToSpellcheck): do not test explicitely for
4738 insets which are part of a word. Paragraph::isLetter takes care of
4739 that now. Use Paragraph::isInset to identify insets.
4740 (selectSelectedWord): do not test for hyphenation break.
4742 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4743 that protected spaces are considered as spaces.
4745 * paragraph.C (isLetter): cleanup the code for ispell extras; use
4748 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
4751 * lyxserver.C: fix it. and small cleanup.
4753 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4755 * BufferView_pimpl.C: use inline helpers
4758 * LaTeXFeatures.C: fix typos
4761 * Spacing.C: move spacing_string into class
4763 * ToolbarDefaults.C: move stuff into namespace anon
4765 * layout.h: update enum
4767 * lyxfunc.C: use better debug
4769 * minibuffer.h: fix typo
4773 * WorkArea.C: add and use Debug::WORKAREA
4777 * text2.C: code re-organisation, inline helpers
4779 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
4781 * Layout.C: replaced a few cases of std::vector.size() == 0 with
4782 std::vector.empty().
4784 2001-11-09 Allan Rae <rae@lyx.org>
4786 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4787 '\n's after tables. Tabular and ERT inset work now makes this no
4790 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4793 * minibuffer.C: fix crash, improve drop-down completion
4795 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
4798 * lyxserver.C: invalidate fd's when doing endPipe()
4800 2001-11-08 José Matos <jamatos@fep.up.pt>
4802 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4803 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4806 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4808 2001-11-07 José Matos <jamatos@fep.up.pt>
4811 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
4814 * buffer.C (sgmlOpenTag):
4815 * buffer.C (sgmlCloseTag): removed debug info.
4817 * buffer.h (sgmlOpenTag):
4818 * buffer.h (sgmlCloseTag): made public.
4820 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4822 * buffer.C (saveParamsAsDefaults):
4823 * lyx_cb.C (MenuLayoutSave): remove
4825 * LyXAction.C (init):
4827 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
4829 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4831 * buffer.C (setPaperStuff): removed from here...
4833 * bufferparams.C (setPaperStuff): ... and moved there.
4835 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
4839 * XFormsView.C: add support for drop-down completion
4841 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
4843 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
4846 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4848 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
4851 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4853 * lyx_main.C: change ref to known bugs
4855 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4857 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
4858 to work around older babel problems.
4860 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4862 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
4864 2001-10-24 Juergen Vigna <jug@sad.it>
4866 * tabular-old.C (ReadOld): below variable changes reflected.
4868 * tabular.[Ch]: added ltType struct for longtable header/footer
4869 defines and changed all instances where they are used. Added
4870 future support for double top/bottom rows.
4872 2001-10-24 José Matos <jamatos@fep.up.pt>
4874 * buffer.h (docbookHandleCaption):
4875 * buffer.C (docbookHandleCaption): removed unused function.
4876 (makeDocBookFile): moved docbook supported version to v4.1.
4878 2001-10-24 José Matos <jamatos@fep.up.pt>
4881 * tabular.C (docbookRow): new function to export docbook code of a row.
4882 (DocBook): now honors the longtable flags.
4884 2001-10-23 José Matos <jamatos@fep.up.pt>
4887 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4888 of the lyx defined sgml entities used in a docbook/linuxdoc document.
4890 * buffer.C (makeLinuxDocFile):
4891 (makeDocBookFile): reworked the preamble, more clean, and with
4892 support for lyx defined entities. Changed the document declaration
4893 to be more XML friendly.
4895 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4896 if we need to output XML that should be done with a filter.
4898 2001-10-22 Juergen Vigna <jug@sad.it>
4900 * sp_pspell.h (class PSpell): add alive function needed in the
4901 controller to see if the spellchecker could be started.
4903 2001-10-22 Juergen Vigna <jug@sad.it>
4905 * buffer.C (insertStringAsLines): modify the font for inserting
4906 chars in certain conditions by calling checkInsertChar(font).
4908 2001-10-19 Juergen Vigna <jug@sad.it>
4910 * text.C (workWidth): use getRow instead of wrong algorithm.
4911 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4913 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
4918 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4920 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4922 * text.C (workWidth): do not search for the exact row when
4923 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4924 optimization for big documents.
4926 2001-10-18 Juergen Vigna <jug@sad.it>
4928 * text.C (workWidth): new function with added Inset * parameter.
4930 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4932 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4934 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4935 change return type of getColumnNearX.
4938 * text.C (changeRegionCase): use uppercase/lowercase instead of
4941 (rightMargin): simplify code by factoring out the uses of
4946 (appendParagraph): use Paragraph::size_type
4948 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4950 * vspace.C (asLatexString): add a missing break
4952 2001-10-15 Herbert Voss <voss@perce.de>
4954 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4956 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4958 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4961 2001-10-10 André Pönitz <poenitz@gmx.net>
4963 * lyxfunc.C: removed greek_kb_flag.
4965 2001-10-10 Herbert Voss <voss@perce.de>
4967 * lyx_main.C: delete global string help_lyxdir.
4969 2001-10-09 Herbert Voss <voss@perce.de>
4971 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
4973 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
4975 * lyx_main.C: added global string help_lyxdir.
4977 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
4979 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4981 * lyxrc.C (set_font_norm_type): support iso8859-4
4983 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
4985 * LaTeX.C (deplog): add another regex for MikTeX
4987 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
4989 * lyxrc.C (set_font_norm_type): support iso8859-3
4991 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4993 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
4995 * LaTeXFeatures.C: remove special case of french and index
4997 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
4998 before \begin{document}). This solves several incompatibilities.
5000 2001-10-03 Garst Reese <reese@isn.net>
5002 * lyx_cb.C: change CheckTex error msg.
5004 2001-10-03 José Matos <jamatos@fep.up.pt>
5006 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5008 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5010 * .cvsignore: update
5012 * lyx_main.C (commandLineVersionInfo): use new style version info.
5014 * buffer.C (writeFile):
5017 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5019 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5021 * version.h: update to use stuff in version.C
5023 * version.C.in: new file. Contains version information determined
5024 at compile time. This is a merging of version.h and
5027 2001-10-03 Juergen Vigna <jug@sad.it>
5029 * BufferView_pimpl.C (update): don't change "dirty" status in
5032 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5034 * WorkArea.C (c-tor): re-position version string slightly.
5036 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5038 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5039 revert to previous code.
5041 WorkArea.[Ch]: (show, destroySplash): methods removed.
5043 WorkArea.C: rework code so that it's an amalgam of the codes before and
5044 after the splash screen was moved to WorkArea.
5046 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5049 * vspace.C (inPixels):
5052 * buffer.C (insertStringAsLines):
5053 (asciiParagraph): fix types to be large enough
5055 * lyxlex_pimpl.h: change member status from short to int
5057 * layout.h: fix type of endlabeltype
5060 * kbsequence.C (parse): change return type to string::size_type
5062 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5065 * Bullet.C (bulletSize):
5066 (bulletEntry): do not use short ints as parameters
5068 * BufferView2.C (insertLyXFile): change a char to an int.
5070 * WorkArea.C (WorkArea): remove unneeded floats in computation
5072 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5074 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5076 * paragraph.C (asString): Do not ignore newline/hfill chars when
5077 copying to the clipboard.
5079 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5081 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5082 after a multi-line inset.
5084 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5086 * paragraph.C (validate): Set NeedLyXFootnoteCode
5088 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5090 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5091 and decrease-error to decrease.
5093 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5095 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5096 it more readable (should be equivalent)
5098 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5100 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5102 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5104 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5105 of a cursor (row, etc.) after a character has been deleted
5106 (deleteEmptyParagraphMechanism): call the method above on _all_
5107 cursors held by the LyXText when a double space has been
5110 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5112 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5114 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5116 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5117 background. Use greyOut() and the new show() methods to toggle between
5118 the foreground and background. Add code to remove the splash after
5119 its initial showing.
5121 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5122 (create_forms): no longer call Dialogs::showSplash.
5124 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5126 * .cvsignore: add version_info.h
5128 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5130 * version_info.h.in: new file
5132 * Makefile.am: add version_info.h.in
5134 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5135 version_info.h instead of VERSION_INFO
5137 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5139 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5140 The ERT inset now returns string().
5142 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5144 * lyxtext.h, text.C (selectNextWord): renamed as
5145 selectNextWordToSpellcheck.
5147 * text.C (selectNextWordToSpellcheck): Modified to not select
5148 words inside an ERT inset.
5150 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5152 * lyx_cb.C (MenuLayoutSave): change a bit the question
5154 * sp_base.h: include <sys/types.h>
5156 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5158 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5160 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5162 * several files: fix typos in user-visible strings
5164 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5166 * text2.C (pasteSelection): do not set the selection, since it
5167 will be cleared later. Actually, the intent was to fix the way the
5168 selection was set, but I figured rmoving the code was just as good.
5170 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5172 * FontLoader.C (available): Check if font is available without
5175 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5177 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5179 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5181 * lyxrc.[Ch]: added display_graphics variable and associated code.
5183 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5185 * bufferparams.C (hasClassDefaults): new method. Returns true if
5186 the buffer parameters correspond to known class defaults
5188 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5190 * XFormsView.C (show): set minimum size to the main window.
5192 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5194 * text2.C (copySelection):
5196 * lyxfind.C (LyXReplace):
5197 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5198 LyXText::selectionAsString.
5200 * paragraph.C (asString): add "label" argument to the second form
5202 * text2.C (selectionAsString): add "label" argument and pass it to
5203 Paragraph::asString.
5205 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5207 * lyx_main.C (commandLineHelp): remove version information
5209 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5211 * lyx_main.C: add -version commandline option
5213 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5215 * paragraph.h: make the optional constructor arg required instead.
5216 some modifications to other files because of this.
5218 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5220 * lyxserver.C (C_LyXComm_callback): make it static
5222 * lyx_main.C (error_handler): make it static
5224 * lyx_gui.C (LyX_XErrHandler): make it static
5226 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5228 * WorkArea.C: make the extern "C" methods static.
5230 * Makefile.am (lyx_LDADD): simplify
5232 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5234 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5235 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5237 * LyXAction.C (init):
5238 * lyxfunc.C (dispatch): associated code removal.
5240 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5242 * lyxfont.h (isSymbolFont): shut off warning
5244 * text.C (setHeightOfRow):
5245 (getVisibleRow): fix crash with empty paragraphs which have a
5248 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5250 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5253 2001-09-04 José Matos <jamatos@fep.up.pt>
5256 * tabular.C (docbook): rename docBook method to docbook.
5258 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5260 * Makefile.am: add dependencies to main.o.
5262 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5264 * FontLoader.C (available): Return false if !lyxrc.use_gui
5266 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5268 * FontInfo.C (query):
5269 * converter.C (view):
5270 * importer.C (Import):
5271 * exporter.C (Export): Can not -> cannot.
5273 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5275 * BufferView_pimpl.C: allow to create index inset even if
5278 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5280 * buffer.C (getLists): replace boost::tie code with an explicit pair
5281 as boost::tie can break some compilers.
5283 * iterators.h: Added a std:: declaration to the return type of
5286 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5288 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5291 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5293 * iterators.[Ch]: New files. Provide paragraph iterators.
5295 * buffer.C (changeLanguage): Use paragraph iterators.
5296 (isMultiLingual): ditto
5298 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5300 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5302 * FontLoader.C: Support for cmr font.
5304 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5306 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5307 (available): New method.
5309 * FontInfo.C (getFontname): Use scalable fonts even when
5310 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5313 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5315 * converter.C (Formats::view): reverted! Incorrect fix.
5317 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5319 * converter.C (Formats::view): only output the -paper option
5320 if the dvi viewer is xdvi, thereby fixing bug #233429.
5322 2001-08-23 Herbert Voss <voss@perce>
5324 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5326 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5328 * Spacing.h (Spacing): Set space to Default on in the default
5331 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5333 * vc-backend.h (RCS::versionString): add RCS to version
5334 (CVS::versionString): add CVS to version
5336 * vc-backend.C (scanMaster): do not add CVS to version.
5337 (scanMaster): do not add RCS to version
5339 * lyxvc.C (versionString): new method
5341 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5343 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5345 * Spacing.C (set): initialize fval
5347 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5349 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5352 2001-08-16 Juergen Vigna <jug@sad.it>
5354 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5356 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5358 * BufferView_pimpl.C:
5361 * text2.C: setParagraph takes linespacing now
5363 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5365 * LyxAction.C: add internal LFUN_CITATION_INSERT
5367 * LyXView.C: actually apply fix
5369 * bufferlist.C: fix open non-existent file
5371 * lyxfind.C: fix indentation
5373 * lyxfunc.C: remove unneeded assert, fix typo
5375 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5377 * MenuBackend.C: use "Floatname List"
5379 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5381 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5382 when converting LaTeX layout to insetERT.
5383 Generate a non-collapsed float when reading old float
5385 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5387 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5390 2001-08-13 Juergen Vigna <jug@sad.it>
5392 * text.C (fill): return 0 instead of 20 as this seems to be the more
5395 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5397 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5400 2001-08-13 Juergen Vigna <jug@sad.it>
5402 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5404 (SearchBackward): comment out the unlocking of the inset_owner this
5405 should not be needed!
5407 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5409 * Many files: Remove inherit_language, and add latex_language
5411 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5414 2001-08-10 Juergen Vigna <jug@sad.it>
5416 * text.C (prepareToPrint): fixed hfill-width in draw!
5418 * BufferView2.C (selectLastWord): save the selection cursor as this
5419 now is cleared in the function LyXText::clearSelection!
5421 2001-08-08 Juergen Vigna <jug@sad.it>
5423 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5424 BACKSPACE type functions.
5426 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5427 is only cutted from the document but not put in the cut-buffer, where
5428 still the old stuff should be.
5430 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5432 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5434 * tabular.C (SetWidthOfCell): fixed special case where the width
5436 (LeftLine): handle '|' in align_special.
5438 (LeftAlreadyDrawed): ditto
5439 (SetWidthOfCell): ditto
5441 2001-08-07 Juergen Vigna <jug@sad.it>
5443 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5445 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5447 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5448 * lyxlex.[hC]: ditto
5450 2001-08-06 Juergen Vigna <jug@sad.it>
5452 * text.C (getVisibleRow): fix up row clearing a bit.
5454 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5456 * minibuffer.C: make sure the X server sees the changes in the input.
5458 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5460 * paragraph.C (getFont): split into...
5461 (getLabelFont): this
5462 (getLayoutFont): and this
5463 * paragraph_pimpl.C (realizeFont): calling this
5465 * text2.C (getFont): split into...
5466 (getLayoutFont): this
5467 (getLabelFont): and this
5468 (realizeFont): all three calling this
5470 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5473 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5475 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5477 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5479 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5480 layouts from the Quote inset insertion.
5482 2001-08-03 Juergen Vigna <jug@sad.it>
5484 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5486 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5487 only if status not is already CHANGED_IN_DRAW (second level).
5489 * text.C (draw): don't set the need_break_row when inside an
5492 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5494 * buffer.C (parseSingleLyXformat2Token): handle more latex
5497 * bufferview_funcs.[hC]: change function names to
5498 begin with small char, adjust other files.
5500 2001-08-02 André Pönitz <poenitz@gmx.net>
5503 BufferView_pimpl.C: remove broken special code for math-greek
5505 2001-08-02 Juergen Vigna <jug@sad.it>
5507 * BufferView_pimpl.C (update): redone this function so that we
5508 update the text again if there was a CHANGE_IN_DRAW.
5510 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5511 (drawFromTo): added a new internal bool which is used by draw() and
5513 (general): some cursor drawing problems fixed.
5515 2001-08-01 Juergen Vigna <jug@sad.it>
5517 * lyxfind.C (LyXFind): fixed
5518 (SearchForward): ditto
5519 (SearchBackward): ditto
5521 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5522 spurius drawing of the cursor in the main area.
5524 * text2.C (status): small fix which could lead to a segfault!
5525 (clearSelection): remove unneeded BufferView param.
5527 2001-08-01 André Pönitz <poenitz@gmx.net>
5529 * lyxfunc.C: small change due to changed mathed interface
5531 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5533 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5535 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5537 * lyxfunc.c: fail gracefully if file doesn't exist
5542 * BufferView_pimpl.C: IsDirWriteable() proto changed
5544 * LyXView.C: fix updateWindowTitle() to store the last title
5546 2001-07-31 Juergen Vigna <jug@sad.it>
5548 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5549 the font (wrong since using of Paragraph::highestFontInRange).
5551 * paragraph.C (highestFontInRange): added a default_size parameter.
5553 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5554 (setHeightOfRow): reformat
5556 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5558 * converter.[hC] + affected files: move to (inital-char)lowercase
5561 * ParagraphParameters.C (ParagraphParameters): remove commented code
5563 * PainterBase.[Ch]: remove commented code
5565 * LaTeXFeatures.h: add "bool floats" for float.sty
5567 * LaTeXFeatures.C (LaTeXFeatures): init floats
5568 (require): handle float
5569 (getPackages): do it with floats
5571 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5573 * BufferView_pimpl.C (Dispatch): improve handling of
5574 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5576 * commandtags.h: #include lyxfont.h here temporarily to avoid
5579 * bufferlist.h: include LString.h here.
5581 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5583 * text2.C (getStringToIndex): new method.
5585 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5587 * *: Reduced header file dependencies all over.
5589 2001-07-30 Baruch Even <baruch@lyx.org>
5591 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5593 2001-07-29 Baruch Even <baruch@lyx.org>
5595 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5597 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5599 * ParameterStruct.h (endif): add a default constructor to make
5600 sure that all variables is initialized.
5602 * ParagraphParameters.C (ParagraphParameters): adjust
5604 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5606 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5607 index; also, check that there is something to index, and that it
5608 does not span over several paragraphs.
5609 (doubleClick): use WHOLE_WORD_STRICT for double click.
5611 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5613 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5616 2001-07-26 Baruch Even <baruch@lyx.org>
5618 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5619 an InsetFig figure, backwards compatible reading of old figure code.
5621 2001-07-27 Juergen Vigna <jug@sad.it>
5623 * text2.C: font.realize function adaption.
5625 * text.C (draw): add a warnings lyxerr text if needed.
5627 * layout.C: font.realize function adaption.
5629 * language.C: add inherit_language and implement it's handlings
5631 * bufferview_funcs.C (StyleReset): remove language parameter from
5632 font creation (should be language_inherit now).
5634 * bufferparams.C (writeFile): handle ignore_language.
5636 * paragraph.C (getFontSettings): the language has to be resolved
5637 otherwise we have problems in LyXFont!
5639 * lyxfont.C (lyxWriteChanges): added document_language parameter
5640 (update): removed unneeded language parameter
5642 * paragraph.C (validate): fixed wrong output of color-package when
5643 using interface colors for certain fonts in certain environments,
5644 which should not seen as that on the final output.
5646 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5648 * BufferView_pimpl.C:
5653 * LyXAction.C: add thesaurus support
5656 * lyxfind.C: add "once" parameter, for thesaurus, to not
5657 move to the next match
5659 2001-07-26 Juergen Vigna <jug@sad.it>
5661 * lyxfont.C (realize): honor ignore_language too!
5664 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5666 * text.C (draw): one place more for ignore_language to not draw
5669 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5671 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5673 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5675 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5676 the minipage conversion problem.
5678 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5680 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5683 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5685 * BufferView.h: don't forward declare WorkArea
5687 * BufferView.C: don't include WorkArea.h
5689 2001-07-25 André Pönitz <poenitz@gmx.net>
5693 * lyxfunc.C: new LFUN 'math-space'
5695 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5697 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5699 * text2.C (toggleInset): call open/close
5701 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5703 * lyxfunc.C (dispatch): add debug for the disabled case
5705 * font.C (buttonText): make similar to rectText
5707 * buffer.C (readInset): comment out parsing of insetlist and
5710 * PainterBase.C (rectText): small correction
5712 * BufferView_pimpl.C: comment out insettheorem and insetlist
5713 * LyXAction.C: ditto
5714 * commandtags.h: ditto
5716 2001-07-24 Juergen Vigna <jug@sad.it>
5718 * text.C (draw): honor the ignore_language.
5720 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5722 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5724 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5727 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5729 * lyxtext.h: remove unused (and unimplemented) methods
5731 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5733 * text.C (getVisibleRow): honor background color
5736 * Painter.h: remove default color argument for fillRectangle
5738 * text.C (backgroundColor): new method
5740 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5742 * text.C (getVisibleRow): adjust
5744 * font.[Ch] (rectText): new method, metrics
5745 (buttonText): new method, metrics
5747 * PainterBase.[hC]: make rectText and buttonText always draw and take
5750 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5752 * ToolbarDefaults.C (read):
5753 * MenuBackend.C (read): allow escaping in all strings
5755 * BufferView_pimpl.C (insertAndEditInset): new method.
5756 (Dispatch): use insertAndEditInset whenever appropriate.
5758 * BufferView_pimpl.C (insertNote): removed
5760 * BufferView_pimpl.C (smartQuote): new method, moved from
5761 BufferView; if an insetquote cannot be inserted, insert a '"'
5764 * BufferView2.C: remove insertCorrectQuote();
5766 * lyxfunc.C (getStatus): Add support for all remaingin
5769 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5771 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5772 command (necessary to pass " as parameter of self-insert.
5774 * text.C (selectWordWhenUnderCursor):
5775 (selectWord): add word_location parameter
5776 (selectWordWhenUnderCursor): same + remove special code for word
5778 (selectNextWord): use kind() to guess type of insetspecialchar,
5781 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5782 (insertErtContents): create ert insets as collapsed.
5783 (readInset): better compatibility code for Info inset.
5785 2001-07-20 Juergen Vigna <jug@sad.it>
5787 * lyxfunc.C (dispatch): use always LyXFind now!
5789 * text2.C (init): add a reinit flag so that the LyXText can be
5790 reinited instead of deleted and reallocated (used in InsetText).
5792 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5798 2001-07-18 Juergen Vigna <jug@sad.it>
5800 * text.C (selectNextWord): handle insets inside inset by calling
5801 always the bv->text functions so that we can go up the_locking_inset!
5803 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5804 in strange locations when inside an inset!
5806 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5807 handling to include insets.
5809 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
5811 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5813 * LyXAction.C (init):
5815 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
5816 LIGATURE_BREAK, since the name is so stupid.
5818 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5820 * buffer.C (readInset): enable reading of new InsetNotes as well as old
5823 * FontLoader.C: remove FORMS_H_LOCATION cruft.
5825 * sp_form.[Ch]: remove.
5827 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
5829 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
5832 * src/buffer.C (readInset): ditto.
5834 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5836 * BufferView_pimpl.C (specialChar): new method. Obsoletes
5837 menuSeparator(), endOfSentenceDot(), ldots() and
5838 hyphenationPoint(), which are therefore removed.
5839 (Dispatch): handle LFUN_HYPHENATION_BREAK.
5841 * LyXAction.C (init):
5842 * commandtags.h: add LFUN_HYPHENATION_BREAK.
5844 * paragraph.C (getWord): removed.
5846 * BufferView_pimpl.C (Dispatch): use last word or selection for
5847 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
5849 * lyx_main.C (queryUserLyXDir): do not ask before creating
5850 user_dir, except if it has been named explicitely.
5852 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5854 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
5855 a document of zero size.
5857 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5859 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
5860 approriately in the c-tor and in require().
5861 (getPackages): output the appropriate LaTeX for natbib support.
5863 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
5864 variables "use_natbib" and "use_numerical_citations" when reading the
5866 (readInset): read the various natbib cite commands.
5867 (validate): white-space change.
5869 * bufferparams.[Ch]: new variables "bool use_natbib" and
5870 "bool use_numerical_citations".
5871 (writeFile): output them in the LyX file.
5873 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5875 * lyxfunc.C (getStatus): add support for all the inset insertion
5878 * text2.C (insertInset):
5879 * paragraph.C (insetAllowed):
5880 * BufferView_pimpl.C (insertInset): update to take in account the
5881 renaming of insertInsetAllowed
5883 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5885 * text2.C (getInset): new method. returns inset at cursor position.
5887 * BufferView_pimpl.C (Dispatch): changes because of this.
5889 * LyXAction.C (init): rename open-stuff to inset-toggle.
5891 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5893 * text2.C (toggleInset): renamed from openStuff; use
5896 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5898 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5900 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5902 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
5904 * buffer.C (readLyXformat2): Add filename to the error dialog
5906 2001-07-18 Juergen Vigna <jug@sad.it>
5908 * tabular.C (GetCellNumber): put an assert here instead of the check!
5910 2001-07-17 Juergen Vigna <jug@sad.it>
5912 * BufferView_pimpl.C (toggleSelection): adapted too.
5914 * text.C (selectNextWord): adapted for use with insets.
5915 (selectSelectedWord): ditto
5917 2001-07-17 Juergen Vigna <jug@sad.it>
5919 * sp_spell.C (PSpell): fix initialitation order.
5921 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5923 * paragraph.C: spacing
5925 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
5927 * sp_spell.C: repair language selection for pspell
5929 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5931 * lyxfunc.h: change more methods to begin with lower char.
5933 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
5935 * buffer.C (parseSingleLyXformat2Token): Generate error insets
5936 for unknown layouts.
5938 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
5940 * buffer.C (readLyXformat2): Generate an error dialog if there are
5943 2001-07-16 Juergen Vigna <jug@sad.it>
5945 * sp_spell.C: always compile ISpell part.
5947 * lyxrc.C: added use_pspell entry and it's handling.
5949 2001-07-13 Juergen Vigna <jug@sad.it>
5951 * sp_spell.C: removed double includes.
5953 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5955 Consistent use of Lsstream.h:
5956 * Lsstream.h: added using std::stringstream for consistencies sake.
5958 * buffer.C: removed using std::stringstream
5960 * lyxfont.C (stateText):
5961 * paragraph.C (asString):
5962 * text.C (selectNextWord, selectSelectedWord):
5963 * text2.C (setCounter):
5964 * vspace.C (asString, asLatexString):
5965 std::ostringstream -> ostringstream.
5967 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5969 * LyXAction.C: add LFUN_HELP_ABOUTLYX
5970 * commandtags.h: add LFUN_HELP_ABOUTLYX
5971 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
5973 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5975 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
5977 * lyx_gui_misc.C: remove spellchecker
5978 * lyxfunc.C: showSpellchecker
5980 * sp_ispell.h: added
5981 * sp_pspell.h: added
5983 * sp_form.[Ch]: removed
5984 * spellchecker.[Ch]: removed
5986 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
5988 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
5990 (simpleTeXSpecialChars): Simply print the input character without
5991 any special translation if pass_thru is set.
5993 * layout.h: Added bool pass_thru to layout class for being able to
5994 implement pass through of a paragraph for Literate Programming.
5996 * layout.C: add LT_PASS_THRU to LayoutTags enum.
5997 * layout.C (LyXLayout): set pass_thru to flase in constructor.
5998 * layout.C (Read): add "passthru" to list of layout tags and add
5999 code to set the pass_thru boolean when it is read.
6001 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6003 * trans_decl.h: remove allowed from KmodInfo
6005 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6009 * paragraph_pimpl.C (erase): use boost::prior
6011 * Painter.C (text): use data() instead of c_str() when length is
6013 * WorkArea.C (putClipboard): ditto
6014 * font.h (width): ditto
6016 * BufferView2.C: use it-> instead of (*it). for iterators
6018 * paragraph_pimpl.C: ditto
6019 * paragraph.C: ditto
6020 * minibuffer.C: ditto
6025 * converter.C: ditto
6027 * Variables.C: ditto
6028 * TextCache.C: ditto
6029 * MenuBackend.C: ditto
6030 * LyXAction.C: ditto
6032 * FloatList.C: ditto
6034 * ColorHandler.C (LyXColorHandler): ditto
6036 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6038 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6040 * text2.C (openStuff): reintroduce this method (which had been
6041 nuked in NEW_INSETS frenzy).
6043 * lyxfunc.C (Dispatch): when an action has not been handled, use
6044 its name in the error message, not its number.
6046 * paragraph.C (inInset): change method name to begin with lowercase.
6049 * text2.C: updates because of this.
6051 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6053 * ToolbarDefaults.C (add): add spaces in error message
6055 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6057 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6058 (readLyXformat2): rename return_par to first_par, use lyxlex's
6059 pushToken and remove the manual push handling.
6060 (parseSingleLyXformat2Token): add another ert comp. variable:
6061 in_tabular, rename return_par to first_par. handle newlines better
6063 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6065 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6067 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6069 * text2.C (getParFromID): removed
6071 * buffer.C (getParFromID): new method moved form lyxtext.
6072 * BufferView2.C (insertErrors): adjust
6073 (setCursorFromRow): adjust
6074 * BufferView_pimpl.C (restorePosition): adjust
6075 * lyxfunc.C (Dispatch): adjust
6076 * undo_funcs.C (textUndo): adjust
6078 (textHandleUndo): adjust
6079 (textHandleUndo): adjust
6081 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6083 * buffer.C: up' the LYX_FORMAT
6085 * lyxfont.h: turn NO_LATEX on as default
6087 * buffer.C (insertErtContents): new methods of tex style compability.
6088 (parseSingleLyXformat2Token): use it several places.
6089 * tabular.C (OldFormatRead): and here
6091 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6093 * text2.C: remove some commented code.
6096 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6097 * trans.C: changes because of the above.
6099 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6101 * text2.C (setCounter): Fix counters bug with bibliography layout.
6103 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6105 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6106 own member functions
6107 (simpleTeXSpecialChars): ditto
6109 2001-07-06 Juergen Vigna <jug@sad.it>
6111 * a lot of files: changed the access to LyXText::status and the
6112 call of undo-functions.
6114 * undo.[Ch]: added a inset_id to the undo informations.
6116 * undo_funcs.[Ch]: added and moved here all undo functions.
6118 * lyxtext.h: give the status enum a weight, made status_ a private
6119 variable and made accessor functions for it, removed the whole bunch
6120 of undo-functions as they are now in their own file, make some
6121 functions publically available. Added function ownerParagraph with
6124 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6125 made InInset() a const function, added getParFromID() function.
6127 * buffer.[Ch]: added const version for inset_iterator functions,
6128 added getInsetFromID() function.
6130 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6131 changed undo functions for new version.
6133 2001-07-05 Juergen Vigna <jug@sad.it>
6135 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6136 unknow mechanism does not call the proper constructor but only this
6137 one also if I request the other!?
6139 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6141 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6143 * text2.C (LyXText): use initialization lists.
6145 * lyxtext.h (Selection): initialize set_ and mark_
6146 (init): remove method
6148 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6150 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6152 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6154 * screen.[Ch]: change method names to begin with lowercase
6156 * BufferView_pimpl.C (updateScrollbar): simplify further and
6157 hopefully make it a bit faster.
6159 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6161 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6162 calling directly xforms functions.
6164 * Painter.C (Painter):
6165 * lyx_cb.C (MenuWrite):
6166 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6169 * lyx_gui.C: remove bogus guiruntime extern declaration.
6171 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6173 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6175 (redoDrawingOfParagraph): ditto
6176 (redoParagraphs): ditto
6177 (cutSelection): don't create a object for CutAndPaste use the
6178 static method directly
6179 (pasteSelection): ditto
6181 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6184 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6186 * modifications to some other files because of this.
6188 * Makefile.am (lyx_SOURCES): add XFormsView
6190 * XFormsView.[Ch]: new files
6192 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6193 the main window. Move the gui dependent stuff to XFormsView
6195 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6197 * tabular.C (GetCellInset): update cur_cell also in the row/col
6198 version of this function.
6200 * lyxfunc.C: no need to include figure_form.h here.
6206 * lyxvc.C: no need to include forms.h here.
6208 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6210 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6212 * lyxfunc.C (Dispatch):
6214 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6215 constructor argument.
6217 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6219 * paragraph.C (Paragraph): dont't clear, and just set layout.
6220 (makeSameLayout): use params's copy contructor.
6222 * ParagraphParameters.[Ch] (makeSame): delete method
6224 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6226 * Variables.[Ch]: fix indentation, rename set to isSet
6228 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6230 * lyxfunc.C (Dispatch): fix typo
6232 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6234 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6237 * bufferlist.C: include assert.h for emergencyWrite().
6239 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6241 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6242 give up at last (bug #425202) !
6244 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6250 * spellchecker.C: strip spellchecker options and bring up
6251 preferences tab instead
6253 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6255 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6256 the istringstream constructor
6258 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6260 * paragraph.C (getLayout): fix return value
6262 * paragraph.h: do not declare getLayout as inline.
6264 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6266 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6268 * lyxcursor.h (operator<): new func
6269 (operator>): new func
6270 (operator>=): new func
6271 (operator<=): new func
6273 * text.C (changeCase): use selection.start and selection.end
6274 (changeRegionCase): require from to be <= to. Require par to be a
6277 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6279 2001-06-27 Juergen Vigna <jug@sad.it>
6281 * text.C (cursorLeftOneWord): changed to return the cursor and added
6282 overlay with BufferView * parameter which calls this one.
6284 (selectWord): use new getWord function.
6285 (changeCase): renamed from changeWordCase as and extended to work
6288 * lyxtext.h: added enum word_location
6290 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6291 changeCase as this operates now also on selections.
6293 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6295 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6297 * many files: send debug output to Debug::INFO instead of
6300 * converter.C (View):
6302 (Move): send debug output to Debug::FILES instead of console.
6304 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6306 * lyxfunc.C (getStatus): use func_status
6308 * func_status.h: new header, describing the results of
6311 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6314 2001-06-25 The LyX Project <jug@sad.it>
6316 * buffer.C (sgmlOpenTag):
6318 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6320 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6322 * text2.C: remove some dead code
6324 * tabular.C (GetCellInset): store the last cell checked (gotten)
6326 * tabular.h: add the helper for the speedup
6328 * lyxtext.h: remove some dead code
6330 2001-06-26 The LyX Project <Asger>
6332 * paragraph.C: Change export to LaTeX of alignment to
6333 \begin{center} and family for better roundtrip work with reLyX.
6335 * Tune the math drawing a bit.
6337 2001-06-25 The LyX Project <Asger>
6339 * LColor.C (LColor): New color for math background. New color
6342 2001-06-25 The LyX Project <jug@sad.it>
6344 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6347 * bufferlist.C (newFile): do not restrict to files ending with
6350 * BufferView_pimpl.C (MenuInsertLyXFile):
6352 2001-06-24 The LyX Project <jug@sad.it>
6354 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6357 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6359 * lyxtext.h: rename most methods to begin with a small char.
6360 Lots of changes because of this.
6362 * paragraph.C (Paragraph): do not call fitToSize
6363 (erase): call Pimpl::erase
6364 (insertChar): call Pimpl::insertChar
6365 (insertInset): call Pipl::insertInset
6366 (breakParagraph): do not call fitToSize
6367 (breakParagraphConservative): do not call fitToSize
6368 (fitToSize): remove method
6370 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6372 2001-06-24 The LyX Project <Asger>
6374 * Fix Qt compilation^2
6376 2001-06-24 The LyX Project <jug@sad.it>
6378 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6379 depthHook(getDepth()-1).
6382 * ParagraphParameters.h:
6383 * ParameterStruct.h: change type of depth to unsigned int ==
6384 depth_type. Many adaptations to other files before of that.
6386 2001-06-24 The LyX Project <Asger>
6388 * Fix Qt compilation.
6390 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6392 * paragraph.h: renamed several methods to begin with small letter.
6393 several changes to many parts of the code because of this.
6395 2001-06-23 The LyX Project <jug@sad.it>
6397 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6398 rewritten to discard all double spaces when KeepEmpty is off
6399 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6400 to only handle newlines but not fiddle with spaces and friends.
6402 * lyxfunc.C (MenuNew): when doing 'new from template', use
6403 template_path as default directory
6405 2001-06-23 The LyX Project <Asger>
6407 * Clean-up of header file includes all over
6408 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6410 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6412 * paragraph.h: renamed from lyxparagraph.h
6414 2001-06-23 Asger <lyx@violet.home.sad.it>
6416 * Buffer.h: Removed Buffer::resize
6417 * BufferList.h: Removed BufferList::resize
6418 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6419 the document lazily when we change the width, or the font settings.
6421 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6423 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6425 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6427 * buffer.h: remove out of date comment
6429 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6432 * screen.C: fix "theoretical" GC leak
6434 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6436 * LaTeX.C (scanAuxFile):
6437 (deplog): remove trailing \r when reading stream (useful under
6440 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6442 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6443 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6444 and BufferView::theLockingInset(Inset*), so should use them and not
6445 access bv_->text->the_locking_inset directly.
6447 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6449 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6452 * tex-defs.h: remove old unused file
6454 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6456 * BufferView_pimpl.C: fix typo, remove minibuffer message
6457 when buffer has loaded
6459 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * lyxfunc.C (Dispatch): use stringstream
6462 (MenuNew): use stringstream
6463 (Open): use stringstream
6465 * importer.C (Import): use stringstream
6467 * bufferview_funcs.C (CurrentState): use stringstream
6469 * LaTeX.C (run): use stringstream
6471 * BufferView_pimpl.C (savePosition): use stringstream
6472 (restorePosition): use stringstream
6473 (MenuInsertLyXFile): use stringstream
6475 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6488 * vspace.C: removed // -*- C++ -*- as first line.
6491 * version.h: added // -*- C++ -*- as first line.
6493 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6495 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6497 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6500 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6502 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6505 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6507 * gettext.C: include LString.h even when --disable-nls is on.
6509 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6511 * converter.h (Get): changed argument type from int to
6512 FormatList::size_type to avoid unnecessary conversion.
6514 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6517 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6519 * gettext.h: include LString.h even when --disable-nls is on.
6521 2001-06-07 Juergen Vigna <jug@sad.it>
6523 * text.C (BreakAgain): subst spaces with tabs.
6525 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6526 (resizeInsetsLyXText): set force on resizeLyXText.
6528 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6530 * gettext.h (gettext_init):
6531 (locale_init): use a real definition instead of a macro
6533 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6535 * Bufferview_pimpl.C:
6537 * LColor.C: further lcolor tidies
6539 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6541 * BufferView_pimpl.C (updateScrollbar): simplify.
6543 * BufferView2.C: don't include insets/insetinfo.h, change
6544 prototype for insertInset and call the Pimpl version. let
6545 updateInset call Pimpl version.
6547 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6548 gotoInset to BufferView::Pimpl
6550 2001-06-01 Juergen Vigna <jug@sad.it>
6552 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6553 inside a LockingInset (is the update needed at all?).
6555 2001-05-31 Juergen Vigna <jug@sad.it>
6557 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6558 here not the old one otherwise how should we compare it afterwards
6561 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6566 * FontInfo.C: bring C functions into global namespace when
6569 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6571 * LString.h: make sure config.h has been loaded before LString.h.
6573 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6574 (one for each char read by EatLine!).
6576 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6579 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6581 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6582 to the same as the par we break from
6584 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6586 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6588 * MenuBackend.C (expand): also create menu entries for wide
6589 versions of the floats.
6591 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6593 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6595 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6596 frontends/Makefile.am
6602 * tabular.C (getTokenValue): add std::
6604 * tabular-old.C (getTokenValue): add std::
6605 (getTokenValue): ditto
6606 (getTokenValue): ditto
6608 * screen.C (ToggleSelection): adjust
6610 * lyxtext.h: put selection cursors inside a Selection struct.
6612 * lyxfunc.C (moveCursorUpdate): adjust
6614 * lyxfont.C (latexWriteStartChanges): add std::
6618 * font.h: delete with(char const *, LyXFont const &)
6620 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6622 * FontInfo.C (getFontname): add std::
6624 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6625 (workAreaButtonPress): adjust
6626 (tripleClick): adjust
6628 (moveCursorUpdate): adjust
6631 * BufferView2.C (gotoInset): adjust
6633 2001-05-30 Juergen Vigna <jug@sad.it>
6635 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6636 to check pspell I add this as default as I now have new pspell
6637 libraries and they seem to use this.
6639 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6641 * text2.C (CutSelection): make the cursor valid before the call to
6644 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6646 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6647 relied on 0 terminated strings and other horrors. Bug found due to
6648 the new assert in lyxstring!
6650 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6653 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6655 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6658 * lyxfunc.C (processKeySym): change method of getting to the
6661 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6662 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6663 * BufferView_pimpl.[Ch]: here as private methods.
6665 2001-05-28 Juergen Vigna <jug@sad.it>
6667 * text.C (SetHeightOfRow): added the update() call again as it is
6668 needed to initialize inset dimensions!
6670 2001-05-16 Juergen Vigna <jug@sad.it>
6672 * text2.C (SetCharFont): Add new function with BufferView * and
6673 bool toggleall parameters for setting insets internal fonts.
6674 (SetFont): Freeze the undo as we may change fonts in Insets and
6675 all this change should be inside only one Undo!
6677 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6678 setting font's in insets as for them we have the SetFont function!
6680 2001-05-15 Juergen Vigna <jug@sad.it>
6682 * text2.C (ClearSelection): to be sure we REALLY don't have any
6685 * tabular.C (TeXCellPreamble): fixed the left border problem for
6688 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6690 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6693 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6695 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6696 LFUN_BREAKPARAGRAPH.
6698 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6699 help test to "internal only", similar for LFUN_INSERT_URL
6701 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6702 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6703 auto_region_delete and deadkeys.
6705 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
6708 * LColor.C: remove some dead entries, tidy a little
6710 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6712 * lyxfunc.C (processKeySym): comment the Escape handling, remove
6714 (Dispatch): implement LFUN_ESCAPE
6716 * commandtags.h: add LFUN_ESCAPE
6718 * LyXAction.C (init): add entry for LFUN_ESCAPE
6720 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6721 Remove commented code.
6722 (insertNote): moved here
6723 (open_new_inset): moved here
6725 * BufferView[2].[Ch]: move insertNote and open_new_inset to
6728 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6730 * kbmap.C (findbinding): clean it up and make it work correctly.
6732 * lyx_main.C (init): do not pass argc and argv as parameters
6734 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6736 * buffer.C: fix path for OS/2 & Win32
6740 * lyx_main.C: Added os:: class.
6742 * os2_defines.h: update
6744 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6746 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6747 better by trying again with reduced state.
6749 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6751 * lyxrc.C (read): print error about invalid key sequence only when
6752 debugging (because not all latinX keysyms are known to some X
6755 * kbsequence.C (getiso): add a few std:: qualifiers
6756 (getiso): comment out extra return statement.
6758 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
6760 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6762 (Dispatch): enhance the accent inset a bit. (not perfect)
6764 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6766 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6768 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6770 * bufferlist.C (emergencyWrite): fix assert() call
6772 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
6774 * text.C (InsertChar): Added trivial patch to only send the "you
6775 can not do multiple spaces this way" message once during a
6778 2001-05-08 Baruch Even <baruch@lyx.org>
6780 * Makefile.am: Changed order of libraries to get LyX to link properly
6781 with the gnome frontend.
6783 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6785 * LaTeXFeatures.h: add a std:: qualifier
6787 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6789 * paragraph.C (String): use stringstream
6791 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6793 * paragraph.C (writeFile): remove footflag arg
6795 * buffer.C (makeLaTeXFile): use stringstream
6796 (latexParagraphs): remove footnot gurba
6798 * LaTeXFeatures.C (getPackages): use stringstream
6799 (getMacros): likewise
6800 (getTClassPreamble): likewise
6801 (getFloatDefinitions): new method
6803 * paragraph.C (writeFile): reindent
6806 * WorkArea.h: revert the xpos + etc changes.
6808 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
6810 * lyxparagraph.[Ch]: add copy constructor, remove Clone
6812 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6813 (pasteSelection): likewise
6814 * text2.C (CreateUndo): likewise
6816 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6818 * minibuffer.C (peek_event): temporarily reduce the functionality
6819 of the minibuffer (to allow args on lfuns)
6821 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
6822 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
6824 * buffer.C (readInset): add compability reading of old float
6825 lists, add reading of new style float list.
6826 (readInset): avoid reevaluation of inscmd.getCmdName()
6827 (getLists): reindent
6829 * MenuBackend.C (MenuItem): implement parsing of
6830 md_floatlistinsert and md_floatinsert.
6831 (expand::LastFiles): move initalizaton of iterators out of loop,
6833 (expand::Documents): introduce typdedef vector<string> Strings,
6835 (expand::ExportFormats): introduce typedef vector<Format const *>
6836 Formats, and use it.
6837 (expand): implement FloatListInsert and FloatInsert.
6839 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
6840 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
6841 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
6843 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
6845 (Dispatch::LFUN_FLOAT_LIST): implement
6847 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6849 * LaTeX.C (run): Fix problem with --export code.
6851 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6853 * BufferView.[Ch] (workarea): removed.
6854 (getClipboard) new method; wrapper for workarea()->getClipboard()
6856 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
6859 * WorkArea.h (width, height, xpos, ypos): These methods all
6860 returned the dimensions of the work_area sub-area of WorkArea,
6861 resulting in a position error if the WorkArea were resized. Now
6862 return the dimensions of the entire WorkArea.
6864 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
6866 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6868 * LaTeX.C (deplog): correct the syntax of regex reg1
6870 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6872 * undo.C: remove !NEW_INSETS cruft
6874 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6876 * text2.C: remove !NEW_INSETS cruft
6878 * text.C: remove !NEW_INSETS cruft
6880 * tabular.C: remove !NEW_INSETS cruft
6882 * spellchecker.C: remove !NEW_INSETS cruft
6884 * lyxtext.h: remove !NEW_INSETS cruft
6886 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6888 * lyxfunc.C: remove !NEW_INSETS cruft
6890 * lyxfind.C: remove !NEW_INSETS cruft
6892 * lyx_cb.C: remove !NEW_INSETS cruft
6894 * figureForm.C: remove !NEW_INSETS cruft
6896 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6898 * buffer.[Ch]: remove !NEW_INSETS cruft
6900 * ToolbarDefaults.C: remove !NEW_INSETS cruft
6902 * CutAndPaste.C: remove !NEW_INSETS cruft
6904 * BufferView_pimpl.C: remove !NEW_INSETS cruft
6906 * BufferView2.C: remove !NEW_INSETS cruft
6908 * BufferView.h: remove !NEW_INSETS cruft
6910 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6912 * Lsstream.h: include LString.h before the sstream headers to
6913 fix problem with gcc 2.95.3 and lyxstring
6915 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6917 * lyx_main.C: add using directives when needed for C functions
6918 declared in std:: namespace.
6920 2001-04-27 Juergen Vigna <jug@sad.it>
6922 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6923 (SetHeightOfRow): comment out the update call should not be needed!
6925 2001-04-13 Juergen Vigna <jug@sad.it>
6927 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6928 (LyXTabular): tried to minimize operator= operations (and realized
6929 hopfully Lars wish).
6931 2001-04-27 Juergen Vigna <jug@sad.it>
6933 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6935 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6937 * lyxfunc.C (Dispatch): hack to make listof algorithm work
6939 * buffer.C (readInset): hack to make listof algorithm work
6941 * BufferView_pimpl.C: hack to make listof algorithm work
6943 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6945 * LyXAction.C: removed all !NEW_INSETS cruft
6946 (init): moved lfun_item in method
6948 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6950 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6952 * BufferView2.C (theLockingInset): white space.
6954 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6956 * minibuffer.C: include <iostream>
6958 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6960 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6962 * commandtags.h: add LFUN_TRANSPOSE_CHARS
6964 * text.[Ch] (TransposeChars): new method
6966 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6968 * call message directly through LyXView instead of through LyXFunc
6969 * BufferView2.C: adjust
6970 * BufferView_pimpl.C: adjust
6971 * FontLoader.C: adjust
6973 * bufferview_funcs.C: adjust
6974 * converter.C: adjust
6975 * figureForm.C: adjust
6976 * importer.C: adjust
6978 * lyx_gui_misc.C: adjust
6982 + more files in subdirs
6984 * lyxparagraph.h (size): move up int file
6987 * adjust all uses of Assert to lyx::Assert.
6989 * BufferView2.C (ChangeCitationsIfUnique): adjust for
6990 lyxfunctional in namespace lyx
6991 * layout.C (hasLayout): ditto
6994 (delete_layout): ditto
6995 (NumberOfClass): ditto
6996 * converter.C (GetFormat): ditto
7001 * bufferlist.C (getFileNames): ditto
7002 (emergencyWriteAll): ditto
7005 * MenuBackend.C (hasSubmenu): ditto
7008 * BufferView_pimpl.C (getInsetByCode): ditto
7010 2001-04-18 Juergen Vigna <jug@sad.it>
7012 * vspace.C (asLatexString): fixed the 100% problem.
7014 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7016 * lyxfunc.C (Dispatch):
7018 * minibuffer.h: add a few std:: qualifiers
7020 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7022 * minibuffer.[Ch]: reimplement so that commands is initiated and
7023 run from lyxfunc, simplified som handling, and made the completion
7024 and history code for complete. wip.
7026 * lyxfunc.C (processKeySym): call message
7027 (miniDispatch): new temporary method
7028 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7029 (LFUN_MESSAGE): implement
7030 (LFUN_MESSAGE_PUSH): implement
7031 (LFUN_MESSAGE_POP): implement
7032 (initMiniBuffer): the initial/defualt minibuffer message.
7034 * lyxfont.[Ch]: inline some more getters
7036 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7038 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7040 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7041 (AutoSave): use LFUN_MESSAGE
7042 (Reconfigure): ditto
7044 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7046 * figureForm.C: use LFUN_MESSAGE
7048 * converter.C (runLaTeX): use LFUN_MESSAGE
7050 * bufferview_funcs.C: use LFUN_MESSAGE
7052 (changeDepth): ditto
7054 * bufferparams.h: use boost::
7056 * bufferlist.h: inherit privately from noncopyable
7058 * bufferlist.C (loadLyXFile): remove some commented code.
7060 * buffer.C (runChktex): use LFUN_MESSAGE
7062 * ShareContainer.h: inherit privately from noncopyable
7064 * ParagraphParameters.[hC] (depth): inline it.
7066 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7068 (message): new method
7069 (messagePush): ditto
7071 (show): init minibuffer
7072 (showState): direct call
7074 * LaTeX.[Ch]: inherit privately from noncopyable
7075 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7076 instead of WriteStatus.
7078 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7080 * BufferView_pimpl.C (buffer): don't init minibuffer
7081 (workAreaButtonPress): use LFUN_MESSAGE
7082 (workAreaButtonRelease): ditto
7083 (savePosition): ditto
7084 (restorePosition): ditto
7085 (MenuInsertLyXFile): ditto
7086 (workAreaExpose): don't init minibuffer
7087 (update): remove commented code, simplify
7089 * BufferView2.C (openStuff): use LFUN_MESSAGE
7090 (toggleFloat): ditto
7093 (copyEnvironment): ditto
7094 (pasteEnvironment): ditto
7099 (updateInset): remove some commented code
7101 * lastfiles.h: inherit privately from noncopyable
7106 * lyxlex_pimpl.h: ditto
7108 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7109 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7110 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7112 * LyXAction.h: inherit privately from noncopyable, add methods
7113 func_begin, func_end, returning iterators to the func map.
7115 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7116 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7117 (func_begin): new method
7118 (func_end): new method
7120 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7122 (copySelection): ditto
7123 (pasteSelection): ditto
7125 * BufferView.C: whitespace change
7126 * BufferView.h: inherit privately from noncopyable
7128 2001-04-16 Allan Rae <rae@lyx.org>
7130 * tabular-old.C (l_getline):
7131 * spellchecker.C (sc_check_word):
7132 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7133 an unrecognised preprocessor directive. So ensure they're wrapped.
7135 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7137 * src/exporter.C (Export): Give an error message when path to file
7140 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7142 * LaTeX.C (deplog): Always check that foundfile exists.
7144 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7147 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7149 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7151 * tabular.[Ch] (getLabelList): implement new method
7153 * minibuffer.h: comment ouf setTiimer
7155 * minibuffer.C (ExecutingCB): constify res
7156 (peek_event): constify s
7157 (Set): constify ntext
7158 (Init): constify nicename
7160 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7162 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7163 (savePosition): use two params to Minibuffer::Set
7164 (restorePosition): ditto
7166 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7168 * lyx_main.C: include language.h
7170 * Makefile.am (lyx_main.o): add language.h
7172 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7178 * CutAndPaste.C: include gettext.h
7180 * lyxfont.h: remove old hack with ON and OFF.
7183 * lyxfont.h: do not include language.h...
7188 * bufferview_funcs.C:
7194 * paragraph.C: ... but do it here instead
7196 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7198 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7200 * tabular.C: small reformat
7202 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7205 (BreakParagraph): ditto
7206 (SetOnlyLayout): ditto
7209 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7212 * lastfiles.C: removed most using decl, add std:: where needed
7214 * buffer.C: ws changes
7216 * MenuBackend.C (class compare_format): put into anon namespace
7217 (expand): constify label, names, action, action2
7220 * text.C (SingleWidth): constify font
7221 (IsBoundary): constify rtl2
7222 (GetVisibleRow): constify ww
7224 * LaTeX.C (deplog): constify logfile
7226 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7228 (workAreaExpose): constify widthChange, heightChange
7230 * lyxrow.C (par): moved
7233 * lyxrow.h: as inlines here
7235 * lyxfont.h (shape): moved from lyxfont.C
7236 (emph): moved from lyxfont.C
7238 * lyxfont.C (LyXFont): use initialization list for all
7240 (shape): move to lyxfont.h as inline
7241 (emph): move to lyxfont.h as inline
7244 2001-04-04 Juergen Vigna <jug@sad.it>
7246 * vspace.C: had to include stdio.h for use of sscanf
7248 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7251 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7252 independent of xforms.
7254 2001-04-02 Juergen Vigna <jug@sad.it>
7256 * spellchecker.C: fixed namespace placing!
7258 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7260 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7261 the LyXParagraph * is 0.
7263 2001-03-29 Juergen Vigna <jug@sad.it>
7265 * vspace.C: added support for %, c%, p%, l%.
7266 (stringFromUnit): added helper function.
7267 (asLatexString): changed to give right results for the %-values.
7269 * buffer.C: convert the widthp in a width%.
7271 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7273 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7276 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7277 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7279 * lyx_cb.[Ch]: see above.
7281 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7285 * lyx.[Ch]: replaced by figure_form.[Ch].
7289 * lyxfunc.C: changed headers associated with above changes.
7291 2001-03-27 Juergen Vigna <jug@sad.it>
7293 * BufferView_pimpl.C: set the temporary cursor right!
7295 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7297 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7299 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7301 * LString.h: removed "using std::getline"!
7303 * BufferView_pimpl.C (Dispatch): changes due to changes in
7304 InsetInclude::Params.
7306 * buffer.C (tag_name): removed redundant break statements as they were
7307 producing lots of warnings with my compiler.
7309 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7311 * LString.h: add "using std::getline" when using the real <string>.
7313 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7315 * buffer.C: removed bitset usage.
7316 PAR_TAG moved to an anonymous name space.
7317 (tag_name): new funtion, also in the anonymous namespace.
7318 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7319 (makeDocBookFile): clean code. Completed transition from string arrays
7321 (SimpleDocBookOnePar): code clean.
7323 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7325 * tabular.C: add some comments.
7327 2001-03-22 Juergen Vigna <jug@sad.it>
7329 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7330 compatibility read a bit and fixed bug with minipage in different
7333 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7335 * buffer.C (pop_tag): removed.
7336 (push_tag): removed.
7337 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7338 array replaced with vector. Added support for CDATA sections.
7339 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7341 (makeDocBookFile): XML conformant declaration of CDATA section,
7342 fixed bug related to <emphasis> in the first paragraph char.
7343 (sgmlOpenTag): exclude empty tags.
7344 (sgmlCloseTag): ditto.
7346 * buffer.h (pop_tag): removed.
7347 (push_tag): removed.
7349 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7351 * language.h (Languages): added size_type and size().
7353 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7355 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7356 response on compability reading of minipages. One probliem is that
7357 the old usage of minipages was «flertydig»
7359 * several files here and in subdirs: don't use static at file
7360 scope use anon namespaces instead.
7362 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7364 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7365 LaTeX output. This is necessary for Literate document
7368 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7370 * buffer.C: insert hfill when needed.
7372 * tabular.C (l_getline): use string::erase, small whitespace change.
7374 * BufferView_pimpl.C: try the anon namespace.
7377 2001-03-16 Juergen Vigna <jug@sad.it>
7379 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7380 otherwise it won't open options-dialogs.
7382 * buffer.C: honor pextraWidth(p) on converting minipages.
7384 * tabular.C (l_getline): changed the functions to strip trailing \r.
7386 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7388 * BufferView_pimpl.C:
7389 * minibuffer..C: added "using SigC::slot" declaration.
7391 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7393 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7399 * paragraph.C: ditto
7401 * lyxtext.h: NO_PEXTRA
7403 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7405 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7406 * ParameterStruct.h: ditto
7407 * ParagraphParameters.h: ditto
7408 * lyxparagraph.h: ditto
7410 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7412 * buffer.C: add compability for minipage alignment.
7413 (latexParagraphs): remove unwanted pextra check.
7415 * several files: remove CXX_WORKING_NAMESPACES
7417 * buffer.C (pop_tag): tie is in namespace boost
7419 * BufferView.h: noncopyable is in namespace boost
7424 * lastfiles.h: ditto
7425 * bufferlist.h: ditto
7426 * ShareContainer.h: ditto
7428 * LyXAction.h: ditto
7431 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7433 * Merging changes from BRANCH_MVC back into HEAD.
7435 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7437 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7439 * BufferView_pimpl.C: change from intl.C
7443 * Makefile.am: move combox.*
7449 * intl.C: remove dialog (covered by prefs)
7451 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7453 * lyxfunc.C (Dispatch): removed redundant break statement.
7455 2001-03-14 Juergen Vigna <jug@sad.it>
7457 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7459 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7461 * buffer.C: add hack to fix compability reading of minipages.
7463 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7465 * buffer.C (getLists): Cleanup.
7467 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7469 * lyxfont.C (update): don't honor toggleall on font size.
7471 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7475 * Makefile.am: moved to frontends/xforms/
7479 * BufferView_pimpl.C: changes for moved mathpanel
7481 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7483 * gettext.h: fix gettext_init() in --disable-nls
7485 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7487 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7489 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7492 * lyx.h: strip external form
7494 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7496 * BufferView_pimpl.C: add comment, destroySplash()
7498 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7500 * BufferView_pimpl.C:
7504 * lyxfunc.C: use re-worked insetinclude
7506 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7508 * buffer.C: add using std::stringstream.
7510 * lyx_cb.C: readd using std::ios.
7512 * buffer.C: add using std::map.
7514 * BufferView_pimpl.C: add using std::vector.
7516 * ShareContainer.h: add std:: to swap.
7518 * buffer.h: add some typedefs
7519 * buffer.C (getLists): use them
7520 (getLists): renamed from getTocList.
7521 add a counter for the different float types and use it in the
7523 (getLists): use the same counter for the NEW_INSETS and the "non"
7526 * lyx_cb.h: remove unused items, includes, using etc.
7528 * ShareContainer.h: remove some commented code, add more comments
7529 and "documentation".
7531 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7533 * buffer.C (getTocList): make the list also when NEW_INSETS is
7536 * buffer.h: remove TocType
7538 * buffer.C (getTocList): change to return a map<string,
7539 vector<TocItem> >, implement for dynamic number of list.
7541 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7542 * text2.C (PasteSelection): adjust
7543 * CutAndPaste.C (pasteSelection): adjust
7545 * FloatList.C (FloatList): update from the new_insets branch.
7546 * Floating.[Ch]: ditto
7547 * LaTeXFeatures.C: ditto
7549 * lyxlex_pimpl.C: ditto
7551 * paragraph.C (Last): remove when NEW_INSETS is defined.
7553 * other file: changes because of the above.
7555 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7557 * lyxparagraph.h: rename next to next_, previous to previous_,
7558 make them private for NEW_INSETS. Rename Next() to next(),
7559 Previous() to previous().
7561 * other files: changes because of the above.
7563 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7566 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7569 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7571 * main.C (main): pass lyx_localedir to gettext_init().
7573 * gettext.h: remove locale_init and gettext_init macros
7575 * gettext.C (locale_init): new function
7576 (gettext_init): new function
7578 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7581 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7583 * Moved credits to frontends:
7584 * credits.[Ch]: removed
7585 * credits_form.[Ch]: removed
7586 * lyx_gui_misc.C: remove credits stuff
7589 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7591 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7593 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7594 unneeded destructor.
7596 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7597 a standalone pointer again.
7599 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7601 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7607 * ToolbarDefaults.C:
7616 * BufferView_pimpl.C: use new file dialog in GUII
7619 * lyx_cb.C: remove LayoutsCB to Toolbar
7621 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7623 * ShareContainer.h (get): add std:: qualifier
7625 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7627 * ShareContainer.h: define a proper ShareContainer::value_type
7628 type (and use typename to please compaq cxx)
7630 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7632 * lyxparagraph.h: move serveral local vars to
7633 ParameterStruct/ParagraphParameters., use ShareContainer in
7634 FontTable., make vars in FontTable private and add getter and
7637 * paragraph.C: changes because of the above.
7639 * lyxfont.h: remove copy constructor and copy assignment. (the
7640 default ones is ok), move number inside FontBits. move inlines to
7643 * lyxfont.C: add number to initializaton of statics, move several
7644 inlines here. constify several local vars. some whitespace
7645 cleanup. Dont hide outerscope variables.
7647 * Spacing.h: add two new constructors to match the set methods.
7649 * ShareContainer.h: new file, will perhaps be moved to support
7651 * ParameterStruct.h: new file
7653 * ParagraphParameters.h: new file
7655 * ParagraphParameters.C: new file
7657 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7658 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7660 * BufferView_pimpl.C: ParagraphParameter changes.
7661 * buffer.C: Likewise.
7662 * bufferview_funcs.C: Likewise.
7664 * text2.C: Likewise.
7666 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7668 * lyxfind.C (LyXReplace): do not redefine default argument in
7670 (IsStringInText): ditto
7671 (SearchForward): ditto
7672 (SearchBackward): ditto
7674 2001-03-06 Juergen Vigna <jug@sad.it>
7676 * lyxfind.C (IsStringInText): put parentes around expressions.
7678 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7680 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7682 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7684 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7686 * stl_string_fwd.h: add comment
7688 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7691 * tabular.C: remove unused DocBook methods
7697 killed DO_USE_DEFAULT_LANGUAGE
7699 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7701 * lyx_gui.C: do not include language.h.
7703 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7704 arguments in function implementation.
7706 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7708 * BufferView_pimpl.C: add <ctime>
7710 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7712 * BufferView_pimpl.C: add using std::find_if
7714 2001-02-27 José Matos <jamatos@fep.up.pt>
7716 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7719 2001-02-11 José Matos <jamatos@fep.up.pt>
7721 * buffer.C (makeDocBookFile): command styles now have a parameter as
7724 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
7726 * layout_forms.[Ch]: removed
7727 * lyx_cb.[Ch]: out character
7728 * lyx_gui.C: out character
7729 * lyx_gui_misc.C: out character
7730 * bufferview_funcs.C: : out character,
7731 added toggleall as parameter in ToggleAndShow
7733 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
7735 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7737 * text2.C (SetCurrentFont): Disable number property at boundary.
7739 2001-02-26 Juergen Vigna <jug@sad.it>
7741 * lyxfunc.C (getStatus): added a string argument override function so
7742 that this is correctly called from LyXFunc::Dispatch if it contains a
7743 do_not_use_argument which is used!
7744 (Dispatch): added check for "custom" export and call appropriate func.
7746 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
7748 * lyxrc.C: Add language_command_local, language_use_babel and
7749 language_global_options.
7751 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7753 * buffer.C (makeLaTeXFile): Use language_use_babel and
7754 language_global_options.
7756 2001-02-23 Juergen Vigna <jug@sad.it>
7758 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7759 which works with LyXText and putted it inside BufferView. Here now we
7760 only call for that part the BufferView::Dispatch() function.
7762 * BufferView.C (Dispatch): added.
7764 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7765 functions which needs to use a LyXText over from LyXFunc.
7766 (MenuInsertLyXFile): added
7767 (getInsetByCode): added
7768 (moveCursorUpdate): added
7769 (static TEXT): added
7771 2001-02-22 Juergen Vigna <jug@sad.it>
7773 * BufferView_pimpl.C (update): call a status update to see if LyXText
7776 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7778 * vc-backend.C (revert): implement for CVS
7779 (getLog): implement for CVS
7781 2001-02-20 Juergen Vigna <jug@sad.it>
7783 * text2.C (ClearSelection): added BufferView param for inset_owner call
7785 * lyxfunc.C (TEXT): added this function and use it instead of
7786 directly owner->view()-text of getLyXText().
7788 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
7790 * src/layout_forms.C: out preamble
7791 * src/layout_forms.h: out preamble
7792 * src/lyx_cb.C: out preamble
7793 * src/lyx_cb.h: out preamble
7794 * src/lyx_gui.C: out preamble
7795 * src/lyx_gui_misc.C: out preamble
7796 * src/lyxfunc.C: connect with guii preamble
7798 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7800 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7802 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
7804 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7805 whether to run bibtex.
7807 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
7809 * Makefile.am (lyx_SOURCES): Remove BackStack.h
7811 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7813 * Makefile.am (lyx_SOURCES): removed bibforms.h
7817 * text.C (GetVisibleRow): make several local vars const
7819 * tabular.C: small cleanup.
7821 * lyxserver.C (callback): use compare instead of strncmp
7823 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
7824 inlines to after class or to paragraph.C
7826 * lyxfont.h: remove friend operator!=
7828 * converter.h: move friend bool operator< to non friend and after
7831 * combox.h: small cleanup
7833 * buffer.h: doxygen, remove unused constructor, move inclas inlies
7834 to inlines after class def.
7836 * buffer.C (pop_tag): use string operations instead of strcmp
7838 * bmtable.c: doxygen, small cleanup
7840 * LaTeX.h: remove friend operator==
7842 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7854 * BufferView_pimpl.C:
7855 * BufferView.[Ch]: remove cruft
7857 2001-02-14 Juergen Vigna <jug@sad.it>
7859 * lyxfunc.C: removed #if 0 unused code
7861 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
7863 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
7865 * text2.C (SetSelection): added a BufferView * parameter
7867 2001-02-13 Juergen Vigna <jug@sad.it>
7869 * lyxfunc.C (Dispatch): fixed protected blank problem.
7870 * BufferView2.C (protectedBlank): added LyxText * parameter.
7872 * tabular.C (AppendRow): forgot to set row_info of newly added row.
7873 (AppendColumn): same as above for column_info.
7875 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7876 (moveCursorUpdate): use a LyXText param for support of InsetText.
7878 * BufferView_pimpl.C (doubleClick): added support for InsetText.
7879 (tripleClick): ditto
7881 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7883 * BufferView_pimpl.C (update): added LyXText param to honor insets.
7885 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7887 * text2.C (SetSelection): set correct update status if inset_owner
7890 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
7892 * tabular.C: remove some commented code.
7894 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7896 * BufferView_pimpl.C: call hideSplash()
7898 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7901 * bibforms.h: remove
7904 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7905 add LFUN_CHILD_CREATE
7907 * counters.h: fix tiny typo
7912 * lyx.C: move splash to frontends/xforms/
7914 * lyx_gui_misc.C: move Include and Bibform to frontends
7916 * lyxvc.h: clarify comment
7918 * vspace.C: tiny housekeeping
7920 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7922 * text.C (PrepareToPrint): RTL Fix.
7924 * paragraph.C (GetUChar): New method.
7925 (String): Use GetUChar.
7927 * buffer.C (asciiParagraph): Use GetUChar.
7929 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7931 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7933 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
7936 * buffer.C: rename to getLogName(), handle
7937 build log / latex log nicely
7939 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7942 * MenuBackend.h: remove support for reference menuitem type.
7944 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
7946 * BufferView_pimpl.C: housekeeping
7947 * BufferView_pimpl.h:
7952 * minibuffer.h: move Timeout GUI-I
7954 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
7956 * lyxrc.C (read): Update converters data-structures.
7958 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
7960 * LaTeX.h (operator!=): add operator != for Aux_Info
7962 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
7964 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7966 * LaTeXLog.C: deleted, useful code moved to Buffer
7969 * buffer.C: new function getLatexLogName()
7975 * lyxfunc.C: use frontends for LaTeX and VC logs
7977 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7979 * LaTeX.h: yet another std:: that Allan forgot.
7981 * Variables.C (set): renamed from isset(), because this clashes
7982 with some HP-UX macros (grr).
7984 2001-02-06 Allan Rae <rae@lyx.org>
7986 * LaTeX.h: Another bug fix. Missing std:: this time.
7988 2001-02-04 Allan Rae <rae@lyx.org>
7990 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
7991 floats problem. I've left it commented out because it's not quite
7992 correct. It should also test that the current object is a table or
7993 figure inset. But I haven't gotten around to figuring out how to do
7994 that. I *think* it'll be something like: "table" == inset.type()
7996 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
7999 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8001 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8002 all the citation/databases/styles in the auxilary file.
8003 (run): Rerun latex if there was a babel language error.
8005 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8007 * text.C (Backspace): Preserve the font when changing newline char
8009 (BreakParagraph): If the cursor is before a space, delete the space.
8011 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8013 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8015 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8016 new argument (code).
8017 (ChangeCitationsIfUnique): New method.
8019 * paragraph.C (GetPositionOfInset): Handle bibkey.
8021 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8023 * BufferView_pimpl.h: change type of Position::par_pos to
8024 LyXParagraph::size_type.
8026 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8028 * BufferView_pimpl.C (savePosition, restorePosition): Write
8029 messages to minibuffer.
8031 2001-01-28 José Matos <jamatos@fep.up.pt>
8033 * buffer.C (makeDocBookFile): adds support for document language.
8034 A silly restriction on the name of LatexCommand types where removed.
8035 Added support for CDATA sections, allows to chars unescaped, used
8036 among others in code, to avoid escape < and >.
8038 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8040 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8041 saved positions instrad of a stack. Furthermore, a position is
8042 stored using paragraph id/paragraph position.
8044 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8045 Remove LFUN_REF_BACK.
8047 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8049 * converter.C (dvipdfm_options): New method.
8051 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8053 * vspace.C (isValidLength): Fix for empty input string.
8055 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8057 * LyXAction.C (init): change description of LFUN_FIGURE to
8060 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8062 * LaTeX.C: add using directive
8064 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8066 * MenuBackend.C (expand): Fix the sorting of the formats.
8068 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8070 * lyx_main.C: tiny error message fix
8072 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8074 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8075 calling fl_initialize(). This fixes the problem with ',' as
8076 decimal separator in text files.
8078 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8080 * trans.C (process): Fix the keymap bug.
8082 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8084 * LaTeX.C (scanAuxFiles): New method. Provides support for
8085 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8086 (scanLogFile) Scan for "run BibTeX" messages.
8088 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8089 OT1 font encoding. Also, load the aecompl package if the ae
8092 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8094 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8096 * texrow.C (increasePos): turn two error messages into debug
8099 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8101 * LaTeX.C (scanAux): Handle the \@input macro.
8102 (runBibTeX): Use scanAux().
8104 * language.C (latex_options_): New field.
8106 * LaTeXFeatures.C (getMacros): Add language macros.
8108 * buffer.C (makeLaTeXFile): Small fix.
8110 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8112 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8114 * text2.C: add a using directive.
8116 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8121 * lyxfunc.C: kill LyXBell.
8123 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8125 * text.C (IsBoundary): Remove the error message
8127 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8129 * lyxrc.C (setDefaults): Correct initialization value for
8132 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8134 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8137 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8140 * src/LyXAction.C: Added reference-next.
8142 * text.C (InsertChar): Use contains instead of strchr.
8144 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8146 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8148 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8149 alignment commands (when needed).
8151 * text.C (InsertChar): Add ':' to number separator chars.