1 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
5 * lyxfunc.C: Output messages with identical spelling, punctuation,
8 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
10 * MenuBackend.C (expandFormats): List only viewable export formats
13 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
16 * lyxfunc.C (getStatus): Make sure that formats other than
17 "fax" can also be disabled
19 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
21 * text3.C (dispatch): put the lfuns that insert insets in 3
22 groups, and call doInsertInset with appropriate arguments.
23 (doInsertInset): new function, that creates an inset and inserts
24 it according to some boolean parameters.
26 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
28 * buffer.C (readFile): remember to pass on 'par' when calling
31 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
33 * MenuBackend.C (expandFormats): add "..." to import formats.
35 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
37 * paragraph.C (asString): Remove XForms RTL hacks.
39 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
42 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
44 * Makefile.am (LIBS): delete var
45 (lyx_LDADD): add @LIBS@ here instead.
47 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
49 * Clarify the meaning of "wheel mouse jump"
51 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
53 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
56 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
58 * importer.C (Loaders): do not preallocate 3 elements in the
59 vector, since one ends up with 6 elements otherwise
61 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
63 * DepTable.C (write): write the file name as last element of the
64 .dep file (because it may contain spaces)
65 (read): read info in the right order
67 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
69 * paragraph_pimpl.C (simpleTeXBlanks):
70 (simpleTeXSpecialChars):
71 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
73 * tabular.C (latex): add some missing case statements. Reindent.
75 * MenuBackend.C (expandToc): remove unused variable.
77 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
86 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
89 2003-01-05 John Levon <levon@movementarian.org>
92 * BufferView.C: add getEncoding()
95 * kbsequence.C: do not store last keypress
98 * lyxfunc.C: store last keypress here instead. Pass encoding
101 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
103 * lyx_main.C (init): remove annoying error message when following
104 symbolic links (bug #780)
106 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
108 * text.C (insertChar):
109 * lyxrc.C (getDescription): remove extra spaces
111 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
113 * lyxrc.C (getDescription): remove extra spaces
115 2002-12-20 John Levon <levon@movementarian.org>
117 * text3.C: hack fix for page up/down across tall rows
119 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
121 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
124 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
126 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
127 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
128 thesaurus is not compiled in
130 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
132 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
134 2002-12-16 Angus Leeming <leeming@lyx.org>
137 * lyx_main.C (init): remove override_x_deadkeys stuff.
139 2002-12-12 John Levon <levon@movementarian.org>
141 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
142 insert. Only remove shift modifier under strict
145 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
147 * MenuBackend.C (expandToc): fix crash.
149 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
151 * MenuBackend.C (expandToc): gettext on float names.
153 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
155 * lyxlength.[Ch]: set default unit to UNIT_NONE,
156 implement bool empty() [bug 490]
158 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
160 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
162 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
164 * several files: ws changes
166 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
168 * text2.C (setCounter): clean up a bit, use boost.format.
169 (updateCounters): initialize par upon declaration.
171 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
172 if the layout exists. We do not just store the layout any more.
173 (SwitchLayoutsBetweenClasses): use boost.format
175 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
177 * converter.C (convert): if from and to files are the same, use a
178 temporary files as intermediary
180 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
183 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
185 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
187 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
189 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
191 * tabular.C (asciiPrintCell): use string(size, char) instead of
194 * sgml.C (openTag): fix order of arguments to string constructor
197 * lyxfunc.C (dispatch): use boost.format
199 * lots of files: change "c" -> 'c'
201 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
203 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
205 2002-11-25 Angus Leeming <leeming@lyx.org>
207 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
209 * lyx_main.C (init): compile fix.
211 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
213 * lyx_cb.C (start): boost.formatify
214 do not include <iostream>
216 * lengthcommon.C: ws only
218 * boost-inst.C,BoostFormat.h: add more explict instantations
220 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
222 * lots of files: handle USE_BOOST_FORMAT
224 2002-11-21 John Levon <levon@movementarian.org>
226 * pspell.C: fix compile
228 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
230 * lyxfunc.C (dispatch): use boost::format
234 * lyxfont.C (stateText): use boost::format
236 * lyx_main.C (LyX): use boost::format
238 (queryUserLyXDir): ditto
241 (typedef boost::function): use the recommened syntax.
243 * importer.C (Import): use boost::format
245 * debug.C (showLevel): use boost::format
247 * converter.C (view): use boost::format
252 * bufferview_funcs.C (currentState): use boost::format
254 * bufferlist.C (emergencyWrite): use boost::format
256 * buffer.C (readLyXformat2): use boost::format
257 (parseSingleLyXformat2Token): ditto
259 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
261 * LaTeX.C (run): use boost::format
263 * Chktex.C (scanLogFile): use boost::format
265 * BufferView_pimpl.C (savePosition): use boost::format
266 (restorePosition): ditto
267 (MenuInsertLyXFile): ditto
269 * BoostFormat.h: help file for explicit instation.
271 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
273 * tabular.C (latex): Support for block alignment in fixed width
276 2002-11-17 John Levon <levon@movementarian.org>
278 * BufferView_pimpl.C:
280 * lyxfunc.C: split filedialog into open/save
282 2002-11-08 Juergen Vigna <jug@sad.it>
284 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
285 by my last patch (hopefully).
287 2002-11-08 John Levon <levon@movementarian.org>
296 * toc.C: ParConstIterator, and use it (from Lars)
298 2002-11-07 Ben Stanley <bds02@uow.edu.au>
300 * lyxtextclass.[Ch]: revise and add doxygen comments
302 2002-11-07 John Levon <levon@movementarian.org>
304 * text.C: fix progress value for spellchecker
306 * toc.C: fix navigate menu for insetwrap inside minipage
308 * paragraph_funcs.C: added FIXME for suspect code
310 2002-11-07 John Levon <levon@movementarian.org>
312 * BufferView_pimpl.C: fix redrawing of insets
315 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
317 * text2.C (updateCounters): fix bug 668
319 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
321 * text3.C (dispatch): Do not make the buffer dirty when moving the
324 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
326 * vc-backend.C: STRCONV
329 * text2.C (setCounter): STRCONV
331 * paragraph.C (asString): STRCONV
333 * lyxlength.C (asString): STRCONV
334 (asLatexString): ditto
336 * lyxgluelength.C (asString): STRCONV
337 (asLatexString): ditto
339 * lyxfunc.C (dispatch): STRCONV
342 * lyxfont.C (stateText): STRCONV
344 * importer.C (Import): STRCONV
346 * counters.C (labelItem): STRCONV
348 (numberLabel): remove unused ostringstream o
353 * bufferview_funcs.C (currentState): STRCONV
355 * buffer.C (readFile): STRCONV
356 (asciiParagraph): ditto
357 (makeLaTeXFile): ditto
359 * Spacing.C (writeEnvirBegin): STRCONV
361 * LaTeXFeatures.C (getLanguages): STRCONV
364 (getBabelOptions): ditto
365 (getTClassPreamble): ditto
366 (getLyXSGMLEntities): ditto
367 (getIncludedFiles): ditto
374 * LString.h: add the STRCONV macros
376 * BufferView_pimpl.C (savePosition): STRCONV
377 (restorePosition): ditto
378 (MenuInsertLyXFile): ditto
380 * vc-backend.C (scanMaster): change from submatch[...] to
383 * funcrequest.C: include config.h
385 * factory.C: include config.h
387 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
389 * box.C: include config.h
391 * LaTeX.C (scanAuxFile): change from submatch[...] to
395 2002-10-25 Angus Leeming <leeming@lyx.org>
397 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
399 * ispell.[Ch] (setError): new method.
400 * ispell.C (c-tor): move out child process into new class LaunchIspell.
401 Use setError() insetead of goto END.
403 * lyx_cb.C (AutoSave): move out child process into new class
406 2002-10-30 John Levon <levon@movementarian.org>
408 * text3.C: make start appendix undoable
410 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
412 * lyxlength.C (inPixels): Fix returned value.
414 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
417 2002-10-24 Angus Leeming <leeming@lyx.org>
419 * lyxgluelength.h: no need to forward declare BufferParams
420 or BufferView, so don't.
422 2002-10-21 John Levon <levon@movementarian.org>
424 * BufferView.C: menuUndo ->undo, redo
426 * BufferView.h: document, remove dead, make some methods private
430 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
435 * sgml.C: move sgml open/close tag into sgml.C
437 * bufferview_funcs.h: unused prototype
440 * lyxfunc.C: remove unused
443 * text.C: remove unused
445 2002-10-21 John Levon <levon@movementarian.org>
449 * BufferView_pimpl.h:
450 * BufferView_pimpl.C: fix mouse wheel handling based on
451 patch from Darren Freeman
453 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
455 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
457 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
459 * lyxlength.C (inPixels): Fix hanfling of negative length.
460 Fix LyXLength::MU case.
462 2002-10-16 John Levon <levon@movementarian.org>
464 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
466 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
468 * converter.C (view): add support for $$i (file name) and $$p
469 (file path) for the viewer command. If $$i is not specified, then
470 it is appended to the command (for compatibility with old syntax)
472 2002-10-14 Juergen Vigna <jug@sad.it>
474 * undo_funcs.C (textHandleUndo): alter the order in which the
475 new undopar is added to the LyXText, as we have to set first
476 the right prev/next and then add it as otherwise the rebuild of
477 LyXText is not correct. Also reset the cursor to the right paragraph,
478 with this IMO we could remove the hack in "redoParagraphs()".
480 2002-10-09 Angus Leeming <leeming@lyx.org>
482 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
483 to turn off an optimisation if a new inset is to be inserted.
485 2002-10-11 André Pönitz <poenitz@gmx.net>
487 * lytext.h: make some functions public to allow access
488 from inset/lyxtext for handling LFUN_PRIOR/NEXT
490 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
492 * text3.C (dispatch): when changing layout, avoid an infinite loop
495 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
497 * lyxrc.C (read): treat a viewer or converter command of "none" as
500 * MenuBackend.C (expandFormats): for an update, also allow the
501 formats that are not viewable
503 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
504 script if it is newer than the lyxrc.defaults in user directory
506 2002-10-07 André Pönitz <poenitz@gmx.net>
508 * text.C: Vitaly Lipatov's small i18n fix
510 2002-09-25 Angus Leeming <leeming@lyx.org>
512 * ispell.h: doxygen fix.
514 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
516 * buffer.h (readFile): Add a new argument to the method, to allow
517 reading of old-format templates.
519 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
521 * toc.C (getTocList): Get TOC from InsetWrap.
523 2002-09-16 John Levon <levon@movementarian.org>
525 * lyxfunc.C: check tabular for cut/copy too
527 2002-09-12 John Levon <levon@movementarian.org>
532 * factory.C: add header
535 * paragraph_funcs.C: cleanup
537 2002-09-11 John Levon <levon@movementarian.org>
539 * PrinterParams.h: odd/even default to true
541 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
543 * PrinterParams.h: update printer parameters for new xforms dialog
545 2002-09-11 Angus Leeming <leeming@lyx.org>
547 * lyxserver.C (read_ready): re-write to make it more transparent
548 and to make it work in coherent fashion under Tru64 Unix.
550 2002-09-11 André Pönitz <poenitz@gmx.net>
554 * text3.C: implement LFUN_WORDSEL
556 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
558 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
559 make floatlist_ a boost::shared_ptr<FloatList>
561 * lyxtextclass.C: include FloatList.h
562 (LyXTextClass): initialize floatlist_
563 (TextClassTags): add TC_NOFLOAT
564 (Read): match "nofloat" to TC_NOFLOAT and use it.
565 (readFloat): modify call to floatlist_
569 * FloatList.[Ch] (FloatList): remove commented out float
571 (erase): new function
573 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
575 * MenuBackend.C (expandToc): fix crash when there is no document
578 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
580 * many files: Add insetwrap.
582 2002-09-09 John Levon <levon@movementarian.org>
584 * text2.C: remove confusing and awkward depth wraparound
586 2002-09-09 John Levon <levon@movementarian.org>
588 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
591 * buffer.C: remove getIncludeonlyList()
594 * lyxfunc.C: remove headers
596 2002-09-09 Juergen Vigna <jug@sad.it>
598 * text.C (getColumnNearX): fix form Michael this is most
599 probably a cut&paste bug.
601 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
603 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
605 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
606 references, ws changes.
608 * text2.C (init): update counters after init
609 (insertParagraph): no need to set counter on idividual paragraphs.
610 (setCounter): access the counters object in the textclass object
611 on in the buffer object.
612 (updateCounters): ditto
614 * lyxtextclass.C: include counters.h, add variable ctrs_ as
615 shared_ptr<Counters> to avoid loading counters.h in all
617 (LyXTextClass): initialize ctrs_
618 (TextClassTags): add TC_COUNTER, and ...
620 (CounterTags): new tags
621 (readCounter): new function
622 (counters): new funtion
623 (defaultLayoutName): return a const reference
625 * counters.C (Counters): remove contructor
626 (newCounter): remove a couple of unneeded statements.
627 (newCounter): simplify a bit.
628 (numberLabel): some small formatting changes.
630 * buffer.[Ch]: remove all traces of counters, move the Counters
631 object to the LyXTextClass.
633 2002-09-06 Alain Castera <castera@in2p3.fr>
635 * tabular.C: uses \tabularnewline; uses >{...} construct from array
636 package to set the horizontal alignment on fixed width columns.
639 * lyx_sty.h: added tabularnewline macro def.
641 * LaTeXFeatures.C: added NeedTabularnewline macro feature
643 2002-09-06 John Levon <levon@movementarian.org>
645 * LyXAction.C: tooltips for sub/superscript
647 * MenuBackend.C: a bit more verbose
649 * lyxfunc.C: tiny clean
651 * undo_funcs.C: document undo_frozen
653 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
655 * counters.C (Counters): add missing algorithm counter.
657 * text2.C (setCounter): lookup the counter with layouts latexname
658 instead of by section number.
659 (setCounter): use a hackish way to lookup the correct enum
661 a float name->type change
662 reset enum couners with counter name directly instead of depth value.
664 * counters.C (Counters): remove the push_backs, change to use the
665 float type not the float name.
666 (labelItem): remove unused string, float name->type change
668 * counters.h: don't include vector, loose the enums and sects vectors
670 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
672 * lyxtextclass.C (TextClassTags): add TC_FLOAT
673 (Read): add float->TC_FLOAT to textclassTags
674 (Read): and handle it in the switch
675 (readFloat): new function
677 * FloatList.C (FloatList): comment out the hardcoded float
680 * lyxlayout.h: ws change.
682 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
684 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
686 2002-09-03 Angus Leeming <leeming@lyx.org>
688 * BufferView_pimpl.h: qualified name is not allowed in member
689 declaration: WorkArea & Pimpl::workarea() const;
691 * factory.C: added using std::endl directive.
693 * text3.C: added using std::find and std::vector directives.
695 2002-08-29 André Pönitz <poenitz@gmx.net>
698 * text2.C: remove unused member number_of_rows
701 * BufferView2.C: remove file, move contents to...
702 * BufferView.C: ... here
704 * BufferView_pimpl.C:
705 * factory.C: move more inset creation to factory
707 * vspace.C: avoid direct usage of LyXText, ws changes
710 don't provide direct access to WorkArea, use two simple
711 acessors haveSelction() and workHeight() instead
714 2002-08-29 John Levon <levon@movementarian.org>
716 * BufferView_pimpl.C (dispatch): do not continue when
719 2002-08-28 André Pönitz <poenitz@gmx.net>
721 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
724 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
726 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
728 * buffer.C: increment LYX_FORMAT to 221
730 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
731 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
733 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
735 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
737 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
739 * factory.C (createInset): use LyXTextClass::floats
741 * MenuBackend.C (expandFloatListInsert):
745 * text2.C (setCounter):
747 * LaTeXFeatures.C (useFloat):
748 (getFloatDefinitions):
750 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
752 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
753 floatlist_, with accessor floats().
755 * FloatList.h: remove global FloatList
757 2002-08-26 André Pönitz <poenitz@gmx.net>
759 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
763 * BufferView_pimpl.C:
764 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
766 2002-08-25 John Levon <levon@movementarian.org>
768 * LyXAction.C: fix margin note description
770 2002-08-24 John Levon <levon@movementarian.org>
774 * bufferview_funcs.C:
776 * undo_funcs.C: cleanups
778 * lyxfunc.C: disable CUT/COPY when no selection
780 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
782 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
783 in "enum UNIT"; e.g. PTW for Percent of TextWidth
785 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
786 Add backward compatibility to "mono", "gray" and "no".
788 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
790 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
791 (and file_format >= 200).
793 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
795 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
797 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
799 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
801 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
803 * BufferView_pimpl.C:
810 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
811 inset and code to make it work with the paragraph code. The inset
812 can be anywhere in the paragraph, but will only do the expected
813 thing in LaTeX if the layout file contains the parameter line
815 (or more generally, a nonzero value) for that layout.
817 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * paragraph.h: remove the declaration of undefined counters class
822 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
824 * text2.C (setCounter): fixed enumeration mis-count as reported by
827 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
829 * paragraph_funcs.h: remove some unneeded includes
831 * text.C (backspace): pasteParagraph now in global scipe
833 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
834 (pasteSelection): ditto
836 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
837 * paragraph_funcs.C (pasteParagraph): ... here
839 2002-08-20 André Pönitz <poenitz@gmx.net>
841 * commandtags.h: new LFUNs for swapping/copying table row/colums
844 * lyxfunc.C: support for new lfuns
846 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * buffer.[Ch]: remove NO_COMPABILITY stuff
851 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
853 * boost.C (throw_exception): new file, with helper function for
854 boost compiled without exceptions.
860 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
862 * bufferlist.C (emergencyWriteAll): use boost bind
864 * BufferView_pimpl.C (moveCursorUpdate): remove inline
866 * text.C: include paragraph_funcs.h
867 (breakParagraph): breakParagraph is now in global scope
869 * paragraph_funcs.[Ch]: new files
871 * paragraph.C (breakParagraph,breakParagraphConservative): move to
874 * buffer.C: include paragraph_funcs.h
875 (insertStringAsLines): breakParagraph is now in global scope
877 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
880 * CutAndPaste.C: include paragraph_funcs.h
881 (cutSelection): breakParagraphConservative is now in global scope
882 (pasteSelection): ditto
884 * buffer.h: declare oprator== and operator!= for
885 Buffer::inset_iterator
887 * bufferlist.C (emergencyWrite): don't use fmt(...)
889 * text3.C: add using std::endl
891 * BufferView.C (moveCursorUpdate): remove default arg
893 2002-08-20 André Pönitz <poenitz@gmx.net>
895 * buffer.[Ch]: move inline functions to .C
898 * BufferView_pimpl.C:
900 * buffer.[Ch]: use improved inset_iterator
903 * paragraph.[Ch]: write one paragraph at a time
905 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
907 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
908 style if style is not specified.
910 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
912 * text2.C (setCounter): when searching for right label for a
913 caption, make sure to recurse to parent insets (so that a caption
914 in a minipage in a figure float works) (bug #568)
916 2002-08-20 André Pönitz <poenitz@gmx.net>
918 * text3.C: new file for LyXText::dispatch() and helpers
920 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
922 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
924 2002-08-19 André Pönitz <poenitz@gmx.net>
927 * text.C: new LyXText::dispatch()
929 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
931 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
933 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
935 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
938 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
940 * Makefile.am: use $(variables) instead of @substitutions@
942 2002-08-15 André Pönitz <poenitz@gmx.net>
945 * BufferView_pimpl.C: streamlining mathed <-> outer world
949 * LyXAction.C: remove unused LFUN_MATH
951 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * paragraph.[Ch]: add some NO_NEXT ifdefs.
955 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
957 * paragraph.C (Paragraph): reformat a bit
958 (cutIntoMinibuffer): use builtin InsetList function instad of
962 * buffer.C: include boost/bind.hpp, add using std::for_each
963 (writeFileAscii): use ParagraphList iterators
964 (validate): use for_each for validate traversal of paragraphs
965 (getBibkeyList): use ParagraphList iterators
966 (resizeInsets): use for_each to resizeInsetsLyXText for all
968 (getParFromID): use ParagraphList iterators
970 * BufferView2.C (lockInset): use paragraph list and iterators
972 2002-08-14 John Levon <levon@movementarian.org>
974 * lyxserver.C: remove spurious xforms include
976 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
978 * lyxfunc.C (getStatus): disable math-extern outside of math mode
980 2002-08-13 André Pönitz <poenitz@gmx.net>
983 * lyxfunc.C: further cleaning
985 2002-08-13 André Pönitz <poenitz@gmx.net>
987 * funcrequest.h: new constructor
989 * funcrequest.C: move stuff here from .h
992 * BufferView_pimpl.C:
995 * lyxfunc.C: subsequent changes
997 * lyxfunc.h: new view() member function
999 * lyxfunc.C: subsequent changes
1001 2002-08-13 Angus Leeming <leeming@lyx.org>
1004 * BufferView_pimpl.C:
1012 changes due to the changed LyXView interface that now returns references
1013 to member variables not pointers.
1015 2002-08-13 Angus Leeming <leeming@lyx.org>
1017 * WordLangTuple (word, lang_code): return references to strings,
1022 * lyxtext.h: forward-declare WordLangTuple.
1027 * text.C: #include "WordLangTuple.h".
1030 * text.C: (selectNextWordToSpellcheck): constify return type.
1032 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1038 * paragraph_pimpl.h:
1041 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1043 Made updateCounter always count from start of buffer, and removed
1044 second argument (par).
1045 Reverted floats number display to '#'. Perhaps I'll try again when the
1046 code base is sanitized a bit.
1048 2002-08-12 Angus Leeming <leeming@lyx.org>
1050 * buffer.[Ch] (getLabelList): constify.
1052 2002-08-07 André Pönitz <poenitz@gmx.net>
1054 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1056 * funcrequest.h: extension to keep mouse (x,y) position
1058 2002-08-12 Juergen Vigna <jug@sad.it>
1060 * BufferView2.C (insertErrors): forbid undo when inserting error
1063 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1065 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * ParagraphList.[Ch]: new files
1069 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1071 * BufferView2.C (lockInset): ParagraphList changes
1074 * bufferlist.C: ditto
1078 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1081 unused class variable counter_,
1083 * paragraph.[Ch] (getFirstCounter): delete unused function
1085 * counters.C: include LAssert.h
1086 (reset): add a new function with no arg, change other version to
1087 not have def. arg and to not allow empty arg.
1089 * text2.C (setCounter): remove empty arg from call to Counters::reset
1091 2002-08-11 John Levon <levon@movementarian.org>
1093 * Makefile.am: add WordLangTuple.h
1095 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1097 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1098 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1100 * insets/insettext.C: InsetList changes
1102 * graphics/GraphicsSupport.C (operator()): InsetList changes
1104 * toc.C (getTocList): InsetList changes
1106 * paragraph_pimpl.[Ch]: InsetList changes
1108 * paragraph.[Ch]: InsetList changes
1110 * buffer.C (inset_iterator): InsetList changes
1111 (setParagraph): ditto
1112 * buffer.h (inset_iterator): ditto
1113 * iterators.C (operator++): ditto
1114 * iterators.h: ditto
1116 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1118 * InsetList.[Ch]: new files, most InsetList handling moved out of
1121 * BufferView2.C (removeAutoInsets): InsetList changes
1123 (ChangeInsets): ditto
1125 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1127 * paragraph_pimpl.h (empty): new function
1129 * paragraph.[Ch] (empty): new function
1131 * other files: use the new Paragraph::empty function
1133 2002-08-09 John Levon <levon@movementarian.org>
1135 * lyxtext.h: remove unused refresh_height
1137 2002-08-09 John Levon <levon@movementarian.org>
1144 * paragraph.C: move sgml char escaping out of paragraph
1147 * paragraph.C: remove id setter
1151 * paragraph_pimpl.C: remove dead tex_code_break_column
1153 * bufferview_funcs.C: small cleanup
1155 * lyxfunc.C: remove dead proto
1157 * lyxtext.h: make some stuff private. Remove some dead stuff.
1159 * lyxgluelength.C: make as[LyX]String() readable
1161 2002-08-08 John Levon <levon@movementarian.org>
1166 * ToolbarDefaults.C:
1169 * toc.C: lyxaction cleanup
1171 2002-08-08 John Levon <levon@movementarian.org>
1173 * BufferView2.C: small cleanup
1176 * lyxfind.C: move unnecessary header into the .C
1178 2002-08-08 John Levon <levon@movementarian.org>
1180 * funcrequest.h: just tedious nonsense
1183 * lyx_main.C: cleanups
1186 * vspace.C: remove dead header lyx_main.h
1188 2002-08-07 Angus Leeming <leeming@lyx.org>
1191 * paragraph_pimpl.h:
1192 Forward declare class Counters in paragraph.h by moving the ctrs member
1193 variable into Paragraph::Pimpl.
1194 (counters): new method, returning a reference to pimpl_->ctrs.
1196 * text2.C: ensuing changes.
1198 2002-08-07 John Levon <levon@movementarian.org>
1200 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1202 * BufferView_pimpl.C: announce X selection on double/triple
1205 * lyx_main.C: use correct bool in batch dispatch
1207 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1209 2002-08-07 André Pönitz <poenitz@gmx.net>
1211 * funcrequest.h: new class to wrap a kb_action and its argument
1214 * BufferView_pimpl[Ch]:
1218 * lyxrc.C: subsequent changes
1221 2002-08-07 John Levon <levon@movementarian.org>
1223 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1224 document options change.
1226 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1231 * makefile.am: move counters functionality over from
1232 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1234 2002-08-06 John Levon <levon@movementarian.org>
1236 * WordLangTuple.h: new file for word + language code tuple
1247 * BufferView2.C: use WordLangTuple
1250 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1252 2002-08-06 John Levon <levon@movementarian.org>
1254 * lyx_main.C: fix cmdline batch handling
1256 2002-08-06 André Pönitz <poenitz@gmx.net>
1258 * lyxrc.C: set default for show_banner to true
1260 2002-08-06 John Levon <levon@movementarian.org>
1262 * pspell.C: fix a crash, and allow new aspell to work
1264 2002-08-06 John Levon <levon@movementarian.org>
1267 * kbmap.C: small cleanup
1270 * vspace.C: add const
1272 2002-08-05 John Levon <levon@movementarian.org>
1274 * LyXAction.C: back to tabular-insert
1276 2002-08-04 John Levon <levon@movementarian.org>
1279 * BufferView.C: cosmetic change
1281 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1291 * BufferView2.C: purge all "Lyx" not "LyX" strings
1294 * lyxcursor.C: attempt to add some documentation
1299 * ToolbarDefaults.C:
1300 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1301 merge with LFUN_TABULAR_INSERT
1308 * pspell.C: split up i/pspell implementations into separate
1309 files, many cleanups
1311 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1313 * text2.C: some cleanup
1315 * lyxfunc.C: don't check for isp_command == "none" any more, it
1316 didn't make any sense
1318 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1323 * makefile.am: move counters functionality over
1324 from text2.C/paragraph.[Ch] to counters.[Ch], and
1326 2002-08-02 John Levon <levon@movementarian.org>
1328 * buffer.C: s/lyxconvert/lyx2lyx/
1330 2002-08-02 Angus Leeming <leeming@lyx.org>
1332 * lyxlex.C: revert John's change as it breaks reading of the user
1335 2002-08-02 Angus Leeming <leeming@lyx.org>
1337 * importer.C (Import):
1338 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1339 changes due to LyXView::view() now returning a boost::shared_ptr.
1341 2002-08-02 John Levon <levon@movementarian.org>
1343 * lyxlex.C: small cleanup
1345 2002-08-02 John Levon <levon@movementarian.org>
1347 * text2.C (status): small cleanup, no logic change
1349 2002-08-01 John Levon <levon@movementarian.org>
1352 * buffer.C (writeFile): don't output alerts, caller
1356 * lyx_cb.C: from above
1358 * lyxfunc.C: allow to open non-existent files
1360 2002-07-31 John Levon <levon@movementarian.org>
1362 * lyxserver.C: don't let incidental errors get
1365 2002-07-30 John Levon <levon@movementarian.org>
1367 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1369 2002-07-30 John Levon <levon@movementarian.org>
1372 * lyxserver.C: remove I/O callback too
1374 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1376 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1379 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1381 * many files: strip,frontStrip -> trim,ltrim,rtrim
1383 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1385 * PrinterParams.h: remove extern containsOnly, and include
1386 support/lstrings.h instead.
1388 * LaTeX.C (scanAuxFile): modify because of strip changes
1390 * buffer.C (makeLaTeXFile): ditto
1391 * bufferparams.C (writeFile): ditt
1392 * lyxfont.C (stateText): ditto
1393 * lyxserver.C (read_ready): ditto
1394 * vc-backend.C (scanMaster): ditto
1396 * BufferView_pimpl.h: ws changes
1398 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1400 2002-07-26 André Pönitz <poenitz@gmx.net>
1402 * kb_sequence.C: remove unnedred usings
1404 2002-07-26 Juergen Vigna <jug@sad.it>
1406 * lyxfind.C (LyXReplace): we have to check better if the returned
1407 text is not of theLockingInset()->getLockingInset().
1409 2002-07-25 Juergen Vigna <jug@sad.it>
1411 * lyxfind.C (LyXReplace): don't replace if we don't get the
1414 * undo_funcs.C (createUndo): remove debugging code.
1416 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1418 * buffer.C (parseSingleLyXformat2Token): Use default placement
1419 when reading old floats.
1421 * FloatList.C (FloatList): Change the default placement of figure
1422 and tables to "tbp".
1424 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1426 * MenuBackend.C: using std::max
1428 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1430 * MenuBackend.C (expandToc):
1431 (expandToc2): code moved from xforms menu frontend. It is now
1432 generic and TOCs are transparent to menu frontends.
1434 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1436 * toc.C (getTocList): protect against buf=0
1438 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1439 Menu as first parameter. Now, this calls itself recursively to
1440 expand a whole tree (this will be useful for TOC handling)
1441 (expandFloatInsert): remove 'wide' version of floats
1443 * MenuBackend.h (submenuname): returns the name of the submenu.
1444 (submenu): returns the submenu itself, provided it has been
1445 created by MenuBackend::expand
1447 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1449 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1450 insets which have noFontChange == true. (bug #172)
1452 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1454 * BufferView_pimpl.C: add connection objects and use them...
1457 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1459 * MenuBackend.C (expandLastfiles):
1462 (expandFloatListInsert):
1463 (expandFloatInsert):
1464 (expand): split expand in parts
1466 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1468 * lyx_gui.C: use lyx_gui::exit()
1470 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1472 * LyXAction.C: show the failing pseudo action
1474 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1476 * buffer.C (readFile): Run the lyxconvert script in order to read
1479 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1483 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1485 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1489 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1491 2002-07-22 Herbert Voss <voss@lyx.org>
1494 * lyxlength.[Ch]: add support for the vertical lengths
1496 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1498 * toc.[Ch]: std:: fixes
1500 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1502 * lyxrc.C: do not include lyx_main.h
1504 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1510 * BufferView2.C: include "lyxlex.h"
1513 * bufferparams.h: do not #include "lyxlex.h"
1515 * lyxtextclasslist.C (Add): remove method
1516 (classlist): renamed to classlist_
1518 * paragraph_pimpl.C:
1522 * bufferview_funcs.C:
1527 * toc.C (getTocList): use BufferParams::getLyXTextClass
1529 * toc.C (getTocList): use InsetFloat::addToToc
1531 * toc.[Ch]: new files, containing helper functions to handle table
1534 * lyxfunc.C (dispatch): no need to remove spaces around command
1536 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1537 first command of the sequence; it is not very clever, but I do not
1538 have a better idea, actually
1540 * LyXAction.C (LookupFunc): make sure to remove space at the
1541 beginning and end of the command
1543 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1545 * MenuBackend.C (getMenubar): new method: return the menubar of
1547 (read): treat differently reading of menu and menubar (in
1548 particular, the menubar has no name now)
1549 (Menu::menubar): remove
1551 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1554 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1556 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1557 a bibitem inset in a RTL paragraph.
1559 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1561 * paragraph_pimpl.C: constify
1563 * BufferView_pimpl.C:
1565 * lyxfunc.C: fix dispatch in a nicer way
1567 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1569 * lyxfunc.C (dispatch):
1570 * BufferView_pimpl.C:
1571 * BufferView_pimpl.h:
1573 * BufferView.h: rename Dispatch() to dispatch()
1575 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1577 * lyxlayout.C (Read): honor DependsOn tag
1579 * lyxlayout.[Ch] (depends_on): new method
1581 * version.C.in: update lyx_docversion
1583 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1585 * paragraph.C (validate): remove from here...
1586 * paragraph_pimpl.C (validate): ... and move here
1587 (isTextAt): make it const
1589 * buffer.C (getLists): ws cleanup
1591 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1593 * language.C (read): Use iso8859-1 encoding in latex_lang
1594 (this prevents LyX from crashing when using iso10646-1 encoding).
1596 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1598 * text2.C (toggleInset): if cursor is inside an inset, close the
1599 inset and leave cursor _after_ it
1601 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1603 * lyxfunc.C: move minibuffer completion handling out of here
1605 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1607 * BufferView_pimpl.C:
1608 * LaTeX.C: fix dispatch calls
1610 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1612 * text.C (drawChars): Fix Arabic text rendering.
1614 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1618 * lyxfunc.C: remove message-push/pop
1622 * lyxfunc.C: rationalise some code by removing verboseDispatch
1623 in favour of a bool argument to dispatch()
1625 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1627 * lyx_main.C (init): make sure to read symlinks as absolute paths
1629 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1632 * lyxfunc.C: no need for commandshortcut to be a member
1634 2002-07-15 André Pönitz <poenitz@gmx.net>
1636 * converter.C: add support for $$s (scripts from lib/scripts dir)
1637 * lyx_main.C: white space
1639 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1643 * lyxrc.C: remove second exit confirmation
1645 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1650 * BufferView_pimpl.h:
1651 * BufferView_pimpl.C:
1652 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1654 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1656 * MenuBackend.C (expand): add numeric shortcuts to document menu
1658 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1660 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1662 * lyxfont.C (setLyXFamily):
1669 * buffer.C (asciiParagraph): use ascii_lowercase
1671 2002-07-15 Mike Fabian <mfabian@suse.de>
1673 * lyxlex_pimpl.C (search_kw):
1674 * lyxlex.C (getLongString):
1675 * converter.h (operator<):
1676 * converter.C (operator<):
1677 * buffer.C (parseSingleLyXformat2Token):
1679 * ToolbarDefaults.C (read):
1680 * MenuBackend.C (checkShortcuts):
1682 * LColor.C (getFromGUIName):
1683 (getFromLyXName): use the compare_ascii_no_case instead of
1684 compare_no_case, because in turkish, 'i' is not the lowercase
1685 version of 'I', and thus turkish locale breaks parsing of tags.
1687 2002-07-16 Angus Leeming <leeming@lyx.org>
1689 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1690 now takes a Buffer const & argument.
1692 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1694 * BufferView.C (resize): check there's a buffer to resize
1696 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1698 * lyxfunc.C: remove dead code
1701 * lyxserver.C: use lyx_guii::set_read_callback
1703 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1705 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1706 an inset in a RTL paragraph.
1708 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1710 * lyxfunc.C: repaint after a font size update
1712 2002-07-15 André Pönitz <poenitz@gmx.net>
1714 * lyxlength.C: inBP should be able to return negative values
1716 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1718 * lyxfunc.C: use lyx_gui::update_fonts()
1720 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1722 * lyxfunc.C: use lyx_gui::update_color()
1724 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1730 * lyxrc.C: remove file->new asks for name option, and let
1731 buffer-new take an argument
1733 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1735 * BufferView_pimpl.C: remove unneeded extra repaint()
1737 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1739 * LyXAction.C: allow command-sequence with NoBuffer
1741 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1743 2002-07-10 Angus Leeming <leeming@lyx.org>
1745 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1747 2002-07-09 Angus Leeming <leeming@lyx.org>
1749 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1751 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1753 * lengthcommon.h: whitespace
1755 * lyxfunc.C: update scrollbar after goto paragraph
1757 * lyxtext.h: factor out page break drawing, and fix it so
1758 page break/added space paints as selected nicely
1760 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1762 * BufferView_pimpl.C: add FIXMEs, clean up a little
1764 2002-07-09 André Pönitz <poenitz@gmx.net>
1766 * lyxfont.[Ch]: support for wasy symbols
1768 2002-07-08 André Pönitz <poenitz@gmx.net>
1770 * BufferView_pimpl.C: apply John's patch for #93.
1772 2002-07-05 Angus Leeming <leeming@lyx.org>
1774 * BufferView_pimpl.C (buffer): generate previews if desired.
1776 * LColor.h: add "preview" to the color enum.
1778 * LColor.C (LColor): add a corresponding entry to the items array.
1780 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1783 2002-07-05 Angus Leeming <leeming@lyx.org>
1785 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1786 The body of the code is now in the method that is passed an ostream &
1787 rather than a file name.
1788 Pass an additional only_preamble parameter, useful for the forthcoming
1791 2002-07-03 André Pönitz <poenitz@gmx.net>
1793 * lyxfunc.C: simplify getStatus() a bit for math stuff
1795 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1797 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1799 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1801 * text.C (changeRegionCase): do not change case of all the
1802 document when region ends at paragraph end (bug #461)
1804 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1806 * paragraph.C (startTeXParParams):
1807 (endTeXParParams): add \protect when necessary
1809 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1811 * BufferView_pimpl.C (workAreaExpose): remove warning
1813 2002-06-27 Angus Leeming <leeming@lyx.org>
1815 * Makefile.am: add lyxlayout_ptr_fwd.h.
1817 2002-06-26 André Pönitz <poenitz@gmx.net>
1819 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1821 2002-06-25 Angus Leeming <leeming@lyx.org>
1823 * lyxfunc.C (dispatch): Comment out the call to
1824 grfx::GCache::changeDisplay. The method no longer exists now that the
1825 pixmap generation part of the graphics loader has been moved into
1828 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1830 * text2.C: layout as layout
1832 * text.C: layout as layout
1834 * tabular.C (OldFormatRead): layout as layout
1836 * paragraph_pimpl.C (TeXDeeper): layout as layout
1837 (realizeFont): layout as layout
1839 * paragraph.C (writeFile): layout as layout
1840 (validate): layout as layout
1841 (getFont): layout as layout
1842 (getLabelFont): layout as layout
1843 (getLayoutFont): layout as layout
1844 (breakParagraph): layout as layout
1845 (stripLeadingSpaces): layout as layout
1846 (getEndLabel): layout as layout
1847 (getMaxDepthAfter): layout as layout
1848 (applyLayout): layout as layout
1849 (TeXOnePar): layout as layout
1850 (simpleTeXOnePar): layout as layout
1851 (TeXEnvironment): layout as layout
1852 (layout): layout as layout
1853 (layout): layout as layout
1855 * lyxtextclass.C (compare_name): new functor to work with
1856 shared_ptr, layout as layout
1857 (Read): layout as layout
1858 (hasLayout): layout as layout
1859 (operator): layout as layout
1860 (delete_layout): layout as layout
1861 (defaultLayout): layout as layout
1863 * lyxlayout_ptr_fwd.h: new file
1865 * lyxlayout.C (Read): layout as layout
1867 * lyx_cb.C (MenuInsertLabel): layout as layout
1869 * bufferlist.C (newFile): layout as layout
1871 * buffer.C (readLyXformat2): layout as layout
1872 (parseSingleLyXformat2Token): layout as layout
1873 (insertStringAsLines): layout as layout
1874 (asciiParagraph): layout as layout
1875 (latexParagraphs): layout as layout
1876 (makeLinuxDocFile): layout as layout
1877 (simpleLinuxDocOnePar): layout as layout
1878 (makeDocBookFile): layout as layout
1879 (simpleDocBookOnePar): layout as layout
1880 (getLists): layout as layout
1882 * LaTeXFeatures.C (getTClassPreamble): layout as layout
1884 * CutAndPaste.C (cutSelection): layout as layout
1885 (pasteSelection): layout as layout
1886 (SwitchLayoutsBetweenClasses): layout as layout
1888 * BufferView_pimpl.C (Dispatch): layout as layout
1889 (smartQuote): layout as layout
1891 * BufferView2.C (unlockInset): layout as layout
1893 2002-06-24 André Pönitz <poenitz@gmx.net>
1895 * lyxfunc.C: fix #487
1897 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1901 * lyxfunc.C: remove display_shortcuts, show_banner
1903 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1905 * Buffer_pimpl.C: oops, update on resize
1907 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1914 * BufferView.C: use repaint()
1916 * BufferView_pimpl.h:
1917 * BufferView_pimpl.C: s/updateScreen()/repaint()/
1918 as it's a clearer description. Remove superfluous
1921 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1923 * text.C: fix bug 488. Not ideal, but getting
1924 getWord() to work properly for the insets that
1925 matter is more difficult ...
1927 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1929 * BufferView_pimpl.C:
1932 * lyxfunc.C: remove the six million index lyxfuncs to just
1933 one, and DTRT (bug 458)
1935 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1939 * BufferView_pimpl.h:
1940 * BufferView_pimpl.C: clean up resize() stuff,
1941 and unnecessary updateScreen()s
1943 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1947 * BufferView_pimpl.h:
1948 * BufferView_pimpl.C:
1951 * minibuffer.C: remove focus management of workarea,
1952 not needed. Use screen's greyOut()
1954 2002-06-17 Herbert Voss <voss@lyx.org>
1956 * converter.C: (convert) do not post a message, when converting
1957 fails, let the calling function decide what to do in this case
1959 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1961 * lyxfunc.C: tidy up a little
1963 2002-06-16 <alstrup@diku.dk>
1965 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1966 Got rid of FORMS_H_LOCATION include. Now we are
1969 2002-06-15 LyX Development team <lyx@rilke>
1971 * buffer.[Ch] (sgmlOpenTag):
1972 (sgmlCloseTag): Added support for avoiding pernicious mixed
1973 content. Return number of lines written.
1976 (makeDocBookFile): Fixed calls to sgml*Tag.
1977 Simple white space clean.
1979 (simpleDocBookOnePar): Simple white space clean.
1981 * tabular.[Ch] (docBook): Renamed to docbook and got another
1982 argument to related with the pernicious mixed content.
1984 (docbookRow): Fixed calls for docbook inset method.
1986 2002-06-15 Lyx Development team <larsbj@birdstep.com>
1988 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1989 so it's X11 independent.
1993 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1995 2002-06-15 Lyx Development team <lyx@electronia>
1997 * intl.h: Renamed getTrans to getTransManager.
1999 2002-06-14 Angus Leeming <leeming@lyx.org>
2001 * Makefile.am: nuke forgotten stl_string_fwd.h.
2003 2002-06-12 Angus Leeming <leeming@lyx.org>
2005 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
2007 2002-06-13 Angus Leeming <leeming@lyx.org>
2010 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
2012 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
2014 * kbmap.C (getiso): add support for cyrillic and greek
2016 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2020 * BufferView_pimpl.h:
2021 * BufferView_pimpl.C: move bogus scrolling logic
2024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2027 * BufferView_pimpl.C: view->resize() change
2029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2031 * BufferView_pimpl.C: topCursorVisible
2034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2038 * lyx_gui.C: move to frontends/
2042 * lyx_main.C: changes from above
2044 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2051 * lyx_main.C: minor tidy
2053 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2055 * BufferView_pimpl.h:
2056 * BufferView_pimpl.C:
2058 * BufferView.C: make painter() const,
2061 * BufferView2.C: use screen() accessor
2064 * lyx_main.C: some minor cleanup
2066 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2068 * BufferView_pimpl.h:
2069 * BufferView_pimpl.C: remove enter/leaveView,
2072 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2077 * BufferView_pimpl.h:
2078 * BufferView_pimpl.C: only construct screen once,
2081 * lyxrc.C: remove pointless comment
2083 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2086 * BufferView.C: remove active() and belowMouse()
2088 * BufferView_pimpl.h:
2089 * BufferView_pimpl.C: use workarea() not workarea_,
2090 and make it use a scoped_ptr instead
2092 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2094 * lyx_gui.C: add debug message on BadWindow
2096 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2098 * sp_spell.C: fdopen is not part of the C++ standard.
2100 * paragraph.C (InsetIterator): use >= instead of ==
2102 2002-06-07 Angus Leeming <leeming@lyx.org>
2104 Fixes needed to compile with Compaq cxx 6.5.
2105 * BufferView_pimpl.C:
2112 * lyxtextclasslist.C:
2117 all c-library variables have been moved into namespace std. Wrap
2118 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2123 Add a using std::abs declaration.
2125 * kbmap.h (modifier_pair):
2126 * paragraph.h (InsetTable, InsetList):
2127 * lyxfont.h (FontBits):
2128 type definition made public.
2130 * bufferlist.C (emergencyWriteAll): the compiler complains that
2131 there is more than one possible lyx::class_fun template to choose from.
2132 I re-named the void specialisation as lyx::void_class_fun.
2134 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2136 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2137 the compiler is is unable to find tostr in write_attribute.
2139 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2141 * buffer.C (sgmlError): hide #warning
2143 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2145 * xtl/*: get rid of xtl, which is not in use anyway
2147 * LyXAction.C (init):
2148 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2149 were unimplemented xtl experimentation
2151 2002-06-04 André Pönitz <poenitz@gmx.net>
2153 * lyxfunc.C: disable array operation on simple formulae
2155 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2157 * converter.C: constify a bit
2159 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2161 * lyx_gui.C: check xforms version correctly
2163 2002-04-30 Herbert Voss <voss@lyx.org>
2165 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2168 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2170 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2171 attempt to register it with a VCS)
2173 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2175 * lyx_main.C (init): honor variables LYX_DIR_13x and
2178 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2182 * lyx_main.C: fix a crash on bad command line,
2183 and give a useful exit status on error
2185 * lyxfunc.C (doImport): allow -i lyx to work
2187 2002-03-30 André Pönitz <poenitz@gmx.net>
2189 * lyxfunc.C: mathed font changes
2191 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2206 * trans_mgr.h: srcdocs, and some minor cleanups
2208 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2210 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2211 call getFont all the time)
2213 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2215 * switch from SigC signals to boost::signals
2217 2002-05-29 André Pönitz <poenitz@gmx.net>
2219 * paragraph_pimpl.C (getChar): don't call size() too often...
2221 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2223 * paragraph_pimpl.C (insertChar): do not try to update tables when
2224 appending (pos == size())
2226 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2227 in order to reduce drastically the number of comparisons needed to
2228 parse a large document
2230 2002-05-29 André Pönitz <poenitz@gmx.net>
2236 * textclasslist.[Ch]:
2237 * sp_ispell.h: whitespace change
2239 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2241 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2242 lyxaction directly now.
2244 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2248 * lyxvc.C: remove unused headers
2250 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2257 * undo_funcs.C: some cleanups. Use shared_ptr
2258 and a template for the undo stacks.
2260 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2262 * BufferView_pimpl.h:
2263 * BufferView_pimpl.C:
2270 * text2.C: use key_state/mouse_state
2272 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2274 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2277 * chset.C: change include order
2278 (loadFile): use boost regex and get rid of LRegex and LSubstring
2280 * Makefile.am (BOOST_LIBS): new variable
2283 * LaTeX.C: change include order.
2284 (scanAuxFile): use boost regex and get rid of LRegex and
2288 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2293 * FontInfo.C: moved to frontends/xforms/
2296 * FontLoader.C: moved into frontends for GUIIzation
2301 * lyxfunc.C: changes from above
2303 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2305 * LColor.C: remove spurious X include
2307 * BufferView_pimpl.C:
2312 * text2.C: move font metrics to frontends/
2314 2002-05-24 Juergen Vigna <jug@sad.it>
2316 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2317 setting the undo_cursor.
2319 * ParagraphParameters.h: include local includes first.
2321 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2323 * BufferView_pimpl.C:
2324 * BufferView_pimpl.h:
2328 * screen.C: move WorkArea into frontends/
2334 * BufferView2.C: move LyXScreen into frontends/
2338 * lyx_gui.C: move lyxlookup into frontends/xforms/
2340 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2343 * BufferView_pimpl.C:
2353 * bufferview_funcs.C:
2366 * vc-backend.C: move LyX/XFormsView into frontends/
2368 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2380 * text2.C: move Painter to frontends/
2382 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2384 * buffer.C: comment out some some code that depend upon lyx_format
2387 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2388 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2390 * buffer.h (NO_COMPABILITY): turn off compability
2392 * ColorHandler.C: include scoped_array.hpp
2394 * font.C: Use more specific smart_ptr header.
2397 * ShareContainer.h: ditto
2401 * BufferView_pimpl.h: ditto
2402 * ColorHandler.h: ditto
2404 * kbmap.C (defkey): change call to shared_ptr::reset
2406 2002-05-21 Juergen Vigna <jug@sad.it>
2408 * buffer.C (insertErtContents): fix to insert ert asis if it is
2409 non empty. Skip it completely if it contains only whitespaces.
2411 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2413 * BufferView_pimpl.C:
2414 * BufferView2.C: clear selection on paste (bug 393)
2416 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2418 * DepTable.C: include ctime
2420 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2422 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2424 2002-05-14 Juergen Vigna <jug@sad.it>
2426 * text.C (breakParagraph): fixed function to honor the keepempty
2427 layout in the right maner and also to permit the right breaking
2428 algorithm on empty or non empyt keepempty paragraphs.
2430 * paragraph.C (breakParagraph): we have to check also if the par
2431 is really empty (!size()) for isempty otherwise we do the wrong
2434 2002-05-10 Juergen Vigna <jug@sad.it>
2436 * buffer.[Ch] : The following are only changes to the ert
2437 compatibility read reading old LaTeX layout and font stuff and
2438 convert it to ERTInsets.
2440 * buffer.h: added isErtInset().
2442 * buffer.C (struct ErtComp): add a fromlayout bool to check
2443 if we're inside a LaTeX layout.
2444 (isErtInset): new helper function.
2445 (insertErtContents): look for other ert insets before this one
2446 and insert the contents there, so that we don't have subsequent
2447 ERT insets with nothing between them. This way we create only one
2448 inset with multiple paragraphs. Also check if we don't insert only
2449 spaces ' ' as they are ignored anyway afterwards in the .tex file
2450 so if we have only spaces we will ignore this latex part in the
2452 (parseSingleLyXformat2Token \\layout): better compatibility when
2453 reading layout-latex stuff.
2454 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2456 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2457 stuff after reading the inset only get the information back from
2460 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2462 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2464 * LaTeXFeatures.C (getBabelOptions): New method.
2466 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2468 * BufferView_pimpl.C (Dispatch): work around missing argument for
2471 2002-05-08 Juergen Vigna <jug@sad.it>
2473 * text.C (leftMargin): handle paragraph leftindent.
2475 * paragraph.C (writeFile): write the new \\leftindent tag.
2476 (validate): handle leftindent code.
2477 (TeXEnvironment): handle paragraphleftindent code again.
2479 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2481 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2482 for paragrap_extra indent code and new token \\leftindent.
2483 (latexParagraphs): handle the leftindent as environment.
2485 * ParameterStruct.h: added leftindent support.
2487 * ParagraphParameters.C (leftIndent): added support functions for
2488 the paragraph left indent.
2490 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2493 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2495 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2498 * text.C (computeBidiTables): No bidi in insetERT.
2500 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2503 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2505 * version.C.in: pre 5
2507 2002-05-02 José Matos <jamatos@fep.up.pt>
2508 * buffer.C (makeDocBookFile): white space changes, add newline to
2510 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2512 * tabular.C (docBook): fix typo.
2514 2002-05-03 Juergen Vigna <jug@sad.it>
2516 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2517 change in LyXText as we can not be sure it was not freed.
2518 (drawOneRow): remove unused code.
2520 * text.C (drawInset): redo the calculation of the need_break_row as
2521 it could have a row which was already freed.
2522 (draw): look at the return value of drawInset and return false if
2523 it also returned false.
2524 (paintRowText): look at the return value of draw and return false if
2525 it also returned false.
2527 * lyxtext.h: added bool return type to drawInset() and draw() so that
2528 if we have a change in the row so that the rowbreak has to be redone
2529 we abort drawing as it will be called again.
2531 2002-05-02 Juergen Vigna <jug@sad.it>
2533 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2534 a change in the maintext also if we're inside an inset.
2535 (Dispatch): set the cursor again after a break line and after the
2536 screen has been updated as it could be we're in a different row.
2538 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2539 to set the cursor behind the pargraph with > size().
2540 (setCursor): check also for the same paragraph when checking where
2541 to put the cursor if we have a NFR inset.
2543 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2544 parts of layout read further up as it still was in the wrong
2547 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2549 * screen.C (drawFromTo): change sine fullRebreak always return
2552 * buffer.C (parseSingleLyXformat2Token): reindent some
2554 * BufferView_pimpl.C (update): change since fullRebreak always
2556 (Dispatch): git rid of the last hardcoded "Standard"s.
2558 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2560 * text2.[Ch] (fullRebreak): make it return void now that we always
2563 2002-04-30 Juergen Vigna <jug@sad.it>
2565 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2566 ert compatibility check for "latex" layout.
2568 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2570 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2571 minipages: use col% instead of p%, and also use the current font.
2572 (makeLaTeXFile): Fix use babel condition.
2573 (parseSingleLyXformat2Token): Correct font when reading old floats.
2575 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2577 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2578 inserting list of floats.
2580 2002-04-25 Herbert Voss <voss@lyx.org>
2582 * MenuBackend.C (expand): don't add the graphics extensions to the
2585 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2587 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2588 non-existing layout, do not complain if it was the default layout
2589 of the original class (bug #342)
2591 2002-04-24 Juergen Vigna <jug@sad.it>
2593 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2594 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2596 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2598 * buffer.C (getBibkeyList): If using \bibliography, return the
2599 option field with the reference itself. Enables us to provide natbib
2600 support when using \bibliography.
2602 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2604 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2606 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2607 natbib is provided by the LaTeX class.
2609 2002-04-23 Juergen Vigna <jug@sad.it>
2611 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2614 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2616 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2618 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2620 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2621 ensuremath around textordmasculine, textordfeminine and
2624 2002-04-19 Juergen Vigna <jug@sad.it>
2626 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2627 reinitializing the buffer otherwise row-dimensions may be wrong.
2628 (update): reset also the selection cursors if they do exits otherwise
2629 their x/y positions may be wrong.
2631 * text2.C (cursorDown): don't enter the inset if we came from a row
2632 above and are one row over the inset.
2634 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2635 really leaving an inset.
2637 2002-04-18 Juergen Vigna <jug@sad.it>
2639 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2640 of the selected paragraph does not have the selected layout also if
2643 * text2.C (setLayout): fixed bug which did not change last selected
2646 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2647 changed the read and substituted \\end_float with \\end_inset!
2649 * BufferView_pimpl.C (cursorPrevious):
2650 (cursorNext): fixed to make it work with rows heigher than the work
2651 area without moving the cursor only the draw of the row.
2652 (workAreaMotionNotify): fix jumping over high rows.
2654 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2656 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2659 2002-04-16 Juergen Vigna <jug@sad.it>
2661 * text2.C (setCursor): set also the irow().
2662 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2664 (cursorDown): support for locking an inset if the x_fix value goes
2665 inside it. That way I can transverse insets too with cursor up/down.
2667 * lyxrow.h: added irow helper function same as other (i) functions.
2669 * BufferView_pimpl.C (cursorPrevious):
2670 (cursorNext): fixed for insets!
2672 2002-04-15 Juergen Vigna <jug@sad.it>
2674 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2675 position otherwise it is wrong in some cases.
2677 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2678 inside the inset before the call.
2680 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2682 * buffer.[Ch] (getBibkeyList): make it const.
2684 2002-04-12 Juergen Vigna <jug@sad.it>
2686 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2688 * text2.C (getCursorX): new helper function
2689 (setCursor): compute also ix_
2690 (setCursorFromCoordinates): set also ix.
2692 * lyxcursor.h: added ix_ and helper functions.
2694 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2696 * buffer.C (insertStringAsLines): dont break paragraph if the this
2697 paragraph is inside an inset which does not permit it!
2699 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2700 also with no chars on this paragraph.
2701 (paintRowText): only paint stuff if it's inside the workarea!
2703 * paragraph.C (breakParagraph): honor keepempty flag and break the
2704 paragraph always below not above.
2706 * BufferView2.C (unlockInset): update the paragraph layout on inset
2707 unlock as we changed paragraph in such a case.
2709 * lyxfind.C (LyXFind): clear the former selection if not found!
2711 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2712 again called in insertChar().
2714 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2715 an inset which uses the whole row!
2716 (rightMargin): ditto.
2717 (insertChar): force a rebreak if we inserted an inset!
2719 2002-03-28 Herbert Voss <voss@lyx.org>
2721 * lyxlength.[Ch]: add inBP() to get the right PS-point
2722 units (BigPoint). With inPixels we have rounding errors
2724 2002-04-11 Juergen Vigna <jug@sad.it>
2726 * text2.C (setCursorFromCoordinates): set iy to the right value.
2727 (setCursor): add check if row->previous exists!
2729 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2730 an old float_type as this was the case in the old code!
2732 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2734 * BufferView2.C (showLockedInsetCursor): use iy
2735 (fitLockedInsetCursor): ditto
2737 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2738 locked insets as there we have the right value now.
2740 * lyxcursor.C: added iy_ variable and iy functions to set to the
2741 baseline of cursor-y of the locked inset.
2743 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2744 (setCursor): fixed for insets which need a full row.
2746 * text.C (rowLastPrintable): don't ignore the last space when before
2747 an inset which needs a full row.
2748 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2749 as last character of a row when before a inset which needs a full row.
2751 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2753 * version.C.in: update date
2755 * text2.C (fullRebreak): try to always return true and see what
2758 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2760 * MenuBackend.C (expand): use Floating::listName
2762 * FloatList.C (FloatList): add listName argument to the built-in
2765 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2766 text associated with the float.
2768 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2770 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2772 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2774 * ShareContainer.h: add a couple of missing typenames.
2776 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
2778 * lyxrc.C (getDescription): use _() correctly rather than N_().
2780 2002-03-28 Herbert Voss <voss@lyx.org>
2782 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2783 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2785 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2787 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2788 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2790 2002-03-29 Juergen Vigna <jug@sad.it>
2792 * lyxfunc.C (dispatch): add a missing fitCursor call.
2794 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2795 it was scrolled by a cursor move, so return the bool status.
2797 * BufferView.C (fitCursor): return the bool flag also to the outside
2798 world as this is needed.
2800 * screen.C (toggleToggle): don't subtract the offset if it's positive.
2802 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2803 call the edit() as it is not needed (and wrong) IMO.
2804 (workAreaButtonPress): set the screen_first variable before evt.
2805 unlock the inset as this may change screen_first and then we have
2806 a wrong y position for the click!
2808 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2810 * MenuBackend.C (expand): another translation that I missed
2812 2002-03-28 Juergen Vigna <jug@sad.it>
2814 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2816 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2818 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2820 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2822 * MenuBackend.C (expand): fix export/view/update when there is no
2825 2002-03-27 Herbert Voss <voss@lyx.org>
2827 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2830 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2832 * bufferview_funcs.C (currentState): only show paragraph number
2833 for is DEVEL_VERSION is set.
2835 * lyxfunc.C (dispatch): put warning in INFO channel
2837 * MenuBackend.C (expand): translate the name of floats
2839 * FloatList.C (FloatList): mark the float names for translation
2841 * converter.C (convert): use LibScriptSearch
2843 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2845 * MenuBackend.C (defaults): fix default menu (we might as well get
2848 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2850 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2853 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2855 * lyxvc.C: reorder includes.
2857 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
2859 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2862 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
2864 * CutAndPaste.C: change layouts earlier on paste
2865 to avoid crashing when calling getFont()
2867 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2869 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2872 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2874 * WorkArea.C: remove 'Pending' debug message.
2876 * most files: ws cleanup
2878 * buffer.[Ch]: ws changes
2880 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
2882 2002-03-21 Juergen Vigna <jug@sad.it>
2884 * tabular.C (SetMultiColumn): collapse also the contents of the
2885 cells and set the last border right. Added a Buffer const * param.
2887 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2889 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
2892 2002-03-19 Juergen Vigna <jug@sad.it>
2894 * text2.C (clearSelection): reset also xsel_cache.
2896 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
2897 where it needs to be called (John tells us to do so too :)
2898 (selectionLost): reset sel_cache.
2900 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
2902 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2904 * text2.C (setCursorIntern): put debuging code in INSETS channel
2906 2002-03-19 André Pönitz <poenitz@gmx.net>
2908 * lyxfunc.C: tiny whitespace change
2910 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2912 * ToolbarDefaults.C (init):
2913 * LyXAction.C (init):
2915 * BufferView_pimpl.C (Dispatch):
2916 * lyxfunc.C (dispatch): remove LFUN_DEPTH
2918 2002-03-19 Allan Rae <rae@lyx.org>
2920 * exporter.C (Export): removeAutoInsets before doing anything else.
2921 While I've just introduced a dependency on BufferView this really is
2922 the best place to clean the buffer otherwise you need to cleanup in
2923 a dozen places before calling export or cleanup in a dozen functions
2926 * converter.C (runLaTeX):
2927 (scanLog): Better handling of removeAutoInsets and screen updates.
2929 * lyxfunc.C (dispatch): small whitespace changes
2931 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2933 * WorkArea.C (C_WorkAreaEvent): return a value.
2934 (event_cb): return 1 if we handled the event, 0 otherwise.
2936 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
2938 2002-03-18 Juergen Vigna <jug@sad.it>
2940 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2941 (GetAdditionalWidth): ditto.
2945 * BufferView2.C (copy): use getLyXText() so that we do it inside an
2946 inset if we're there actually (probably not used right now but this
2947 is the direction to go for unifying code).
2948 (paste): disable code to clear the selection.
2950 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2951 inside an InsetText and move the check further up as it is in the
2954 * text2.C (pasteSelection): set a selection over the pasted text.
2956 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
2958 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2959 and libgraphics to build on Cygwin.
2961 2002-03-15 Juergen Vigna <jug@sad.it>
2963 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2964 inserting an Inset into the paragraph. I know this is not the best
2965 fix but we already use current_view in CutAndPaste so we will remove
2966 all of it's using at the same time.
2968 * buffer.C (sgmlError): deactivated function till it is rewritten in
2969 the right mode, now it can create problems.
2971 * paragraph.C (isLineSeparator): check if getInset returns != 0,
2972 before accessing it.
2974 2002-03-14 Juergen Vigna <jug@sad.it>
2976 * undo_funcs.C (textHandleUndo): do the right thing when updating
2977 the inset after the undo/redo.
2979 * text2.C (setCursor): just some testcode for #44 not ready yet.
2981 * undo_funcs.C (textHandleUndo): set the next() and previous()
2982 pointers of the paragraph to 0 before deleting otherwise we have
2983 problems with the Paragraph::[destructor].
2985 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2986 on a paragraph insertion.
2988 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2990 * buffer.C (asciiParagraph): use += operator for char append to
2993 * paragraph.C (getFontSettings): compare >= not just >
2994 (highestFontInRange): ditto
2997 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2999 * paragraph.C: change several algorithm to be more appripriate for
3000 the problem domain. This is lookip in FontList and in the InsetList.
3002 2002-03-13 André Pönitz <poenitz@gmx.net>
3005 * LyXAction.C: remove unused LFUN_MATH_MACROARG
3007 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
3012 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
3014 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3016 * Painter.C (display): anon helper function, adjust code for this
3018 (pixmap): remove function.
3020 * Painter.h: remove private display variable.
3022 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
3024 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
3026 * WorkArea.[Ch]: remove figinset_canvas cruft.
3028 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
3030 * lyxtextclass.C (operator): add one item cache optimization.
3032 * bufferlist.h: doxy changes
3034 * bufferlist.C: ws changes
3036 * DepTable.[Ch] (ext_exist): place const in the right spot.
3038 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3040 (workAreaExpose): call resizeInsets when the with BufferView changes.
3041 (Dispatch): adjust for protectedBlank removal
3042 (specialChar): call updateInset if the insert went ok.
3044 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3045 specialChar instead.
3047 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3049 * BufferView.h: doxy change
3051 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3053 * lyxtextclass.C (operator[]): remove non-const version
3054 (defaultLayout): remove non-const version
3056 2002-03-12 Juergen Vigna <jug@sad.it>
3058 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3059 did resize the LyXText too.
3061 * buffer.C (readLyXformat2): set layout information on newly allocated
3064 * tabular.C (OldFormatRead): set layout information on the paragraph.
3066 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3068 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3070 2002-03-11 Juergen Vigna <jug@sad.it>
3072 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3074 (resizeCurrentBuffer): force also the insets to resize themselfes.
3075 (moveCursorUpdate): fixed up for InsetText.
3077 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3080 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3081 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3082 value of Dialogs::tooltipsEnabled().
3083 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3085 2002-03-08 Juergen Vigna <jug@sad.it>
3087 * BufferView_pimpl.C (updateInset): update inset inside inset also
3088 if it isn't inside theLockingInset().
3090 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3092 * buffer.C (asciiParagraph): redo some of the word and line length
3094 (getLists): look for Caption instead of caption.
3096 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3098 * buffer.C (Buffer): initialize niceFile to true
3101 (makeDocBookFile): make sure niceFile is true on exit
3103 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3105 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3107 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3109 * LyXSendto.C: remove.
3110 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3111 * lyx_gui.C: remove now-redundant comment.
3112 * ColorHandler.h: remove forward declaration of class WorkArea.
3113 * lyxfunc.C: remove #include "WorkArea.h".
3115 2002-03-07 Juergen Vigna <jug@sad.it>
3117 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3118 got moved away with the DEPM and also set the inset_owner always
3119 right which before could have been omitted.
3121 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3123 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3124 wanted layout is not found.
3126 2002-03-07 Juergen Vigna <jug@sad.it>
3128 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3130 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3132 * paragraph.C (breakParagraph): use default layout not layout of
3134 (Paragraph): clear ParagraphParameters.
3136 2002-03-06 Juergen Vigna <jug@sad.it>
3138 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3139 otherwise it would not be a valid lenght. Fixed a special case in
3140 the minipage compatibility read where we end the document with a
3143 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3144 was set as it could be 0 for InsetTexts first entry.
3146 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3148 * paragraph.C (writeFile): if layout is empty write out
3149 defaultLayoutName().
3151 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3152 file without named layout we set layout to defaultLayoutName().
3154 2002-03-06 Juergen Vigna <jug@sad.it>
3156 * CutAndPaste.C (copySelection): set layout for new paragraph.
3158 * text.C (prepareToPrint): leave ERT inset left aligned
3159 (leftMargin): don't indent paragraphs inside ERT insets
3161 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3163 * paragraph.C (breakParagraph): dont call clear do the work manually
3165 * paragraph.[Ch] (clear): remove function
3167 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3169 * paragraph.C (Paragraph): dont call clear, the work has already
3172 * lyxtextclass.C (operator): assert if n is empty
3174 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3175 work manually instead.
3177 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3179 * BufferView_pimpl.C: protect selectionLost against text == 0
3181 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3183 * text.C (breakParagraph): fix a setting layout to '0' problem.
3185 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3187 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3188 final location of file, for the included files, and graphics.
3190 2002-03-05 Juergen Vigna <jug@sad.it>
3192 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3194 2002-03-04 Juergen Vigna <jug@sad.it>
3196 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3198 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3199 last column of multicolumn cells.
3200 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3202 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3204 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3205 file if it doesn't go to a temporary file.
3207 * buffer.C (sgmlOpenTag):
3208 (sgmlCloseTag): remove extra newline insertion.
3210 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3212 * text.C (getRowNearY): comment out debug msg
3214 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3216 * text2.C: first -> first_y
3218 * text.C (getRowNearY): add some attemts at a possible
3219 optimization, not working.
3221 * tabular.[Ch]: add BufferParams to several function so that newly
3222 created paragraph can be initialized to he default layotu for the
3225 * tabular-old.C (ReadOld): add buf->params to call of Init
3227 * screen.C: rename text->first to text->first_y
3229 * paragraph.C (breakParagraph): always set layout in the broken
3232 * lyxtextclass.C (Read): remove lowercase
3235 (delete_layout): ditto
3237 * lyxtext.h: rename first -> first_y
3239 * lyxlayout.C (Read): remove lowercase
3242 (obsoleted_by): ditto
3244 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3246 * buffer.C (insertErtContents): add params are to InsetERT
3247 (parseSingleLyXformat2Token): add code to check if a paragraphs
3248 layout really exist.
3249 (parseSingleLyXformat2Token): add params to several inset
3251 (asciiParagraph): remove lowercase, do the layout comparisons with
3254 * BufferView_pimpl.C (cursorNext): first -> first_y
3255 (resizeCurrentBuffer): first -> first_y
3256 (updateScrollbar): first -> first_y
3257 (scrollCB): first -> first_y
3258 (workAreaMotionNotify): first -> first_y
3259 (workAreaButtonPress): first -> first_y
3260 (checkInsetHit): first -> first_y
3261 (cursorPrevious): first -> first_y
3262 (cursorNext): first -> first_y
3263 (Dispatch): add buffer_->params to severl inset contructors
3265 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3267 * lyxlayout.C (Read): remove some debug info that I forgot.
3269 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3270 clean up the code slightly.
3271 (makeLinuxDocFile): ditto
3272 (makeDocBookFile): ditto
3274 * text2.C: layout as string
3276 * text.C: layout as string
3278 * paragraph_pimpl.C: layout as string
3280 * paragraph.[Ch]: layout as string
3282 * lyxtextclasslist.[Ch]: layout as string
3284 * lyxtextclass.[Ch]: layout as string
3286 * lyxtext.h: layout as string
3288 * lyxlayout.[Ch]: layout as string
3290 * lyx_cb.C: layout as string
3292 * bufferview_funcs.C: layout as string
3294 * bufferparams.C: layout as string
3296 * buffer.C: layout as string
3298 * LyXView.[Ch]: layout as string
3300 * LaTeXFeatures.[Ch]: layout as string
3302 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3304 * BufferView_pimpl.C: change current_layout to string, remove
3309 (workAreaButtonRelease): layout as string
3311 * BufferView2.C (unlockInset): adjust
3313 * vspace.C (asLatexCommand): use an explict temp variable.
3315 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3317 * Makefile.am: use FRONTEND_*
3319 2002-03-01 Juergen Vigna <jug@sad.it>
3321 * tabular.C (SetWidthOfMulticolCell): changed to something better
3322 I hope but still work in progress.
3323 (recalculateMulticolumnsOfColumn): renamed function from
3324 recalculateMulticolCells as it is more appropriate now.
3325 (SetWidthOfCell): calculate multicols better.
3327 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3329 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3331 * lyxfunc.C (processKeySym): print sequence also if it is
3332 `deleted' (complete)
3334 * kbsequence.C (print): print sequence even if it is deleted
3335 (complete would be a better word, actually).
3337 * lyxfunc.C (dispatch): print complete options after a prefix key
3339 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3341 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3343 * text2.C (setCharFont): eliminate setCharFont code duplication.
3345 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3347 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3348 LFUN_TABULAR_FEATURE (bug #177)
3350 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3352 * Makefile.am: remove figure.h
3354 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3356 * Bufferview_pimpl.C:
3368 * text2.C: remove #include "lyx_gui_misc.h".
3370 * LaTeX.C: added #include <cstdio>
3372 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3374 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3375 that the paragraph following this one can have.
3377 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3379 * vspace.C (asLatexCommand): fix bogus gcc warning
3381 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3383 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3385 * text2.C (setLayout): get rid of redundant code
3387 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3389 * text2.C (incDepth): make sure depth cannot be increased beyond
3392 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3394 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3395 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3397 * PainterBase.h (image):
3398 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3401 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3405 * BufferView_pimpl.C:
3406 * BufferView_pimpl.h:
3426 * sp_spell.C: remove fig inset, and the crap house of
3427 cards that follows it
3429 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3435 * nt_defines.h: move .h into support/
3437 * vms_defines.h: remove
3439 * WorkArea.C: add space in debug output
3443 * buffer.C: add WITH_WARNINGS
3447 * bufferlist.C: s/retrive/retrieve/, add docs
3458 * lyxgui.C: add ID to X error handler
3460 * lyxtestclass.c: fix typo
3462 2002-02-26 Juergen Vigna <jug@sad.it>
3464 * tabular_funcs.C (write_attribute): changed so that some default
3465 attributes are not written at all.
3466 (getTokenValue): set default values before trying to read the
3467 value so we have the return value always set as default if we don't
3468 find the token we search for.
3470 * tabular.C (Write): write bools as bools not as strings!
3472 2002-02-22 Juergen Vigna <jug@sad.it>
3474 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3475 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3477 * text.C (leftMargin): don't add an indent for paragraphs inside
3478 tabular cells (fix #208).
3480 2002-02-21 José Matos <jamatos@fep.up.pt>
3482 * tabular.C (docBook): fixed support for long tables.
3484 2002-02-20 Juergen Vigna <jug@sad.it>
3486 * text2.C (getFont): get the drawing font of the Inset if this
3487 paragraph is inside an inset (only important for InsetERT for now).
3489 * buffer.C (insertErtContents): use new lanugage params in ERT
3492 * CutAndPaste.C: commenting out seemingly uneeded code.
3494 2002-02-19 Allan Rae <rae@lyx.org>
3496 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3497 Iterators might be simple to use but they also get invalidated.
3498 (removeAutoInsets): renamed saved cursor tracking variables and added
3499 some comments to clarify what everything does.
3501 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3508 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3509 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3512 * vc-backend.h: remove #include "support/syscall.h"
3516 * converter.C: rearrange #includes in Lars' approved fashion.
3518 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3519 forward declare class Timeout in the header file.
3521 * XFormsView.C: changes due to the above.
3523 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3526 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3527 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3529 2002-02-18 José Matos <jamatos@fep.up.pt>
3531 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3534 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3536 * a lot of small ws changes
3537 * add a lot of using std::XXX
3538 * use std construcs some places where approp.
3539 * use some exisint stuff from lyxfunctional where approp.
3540 * Make file changes to use partial linking (lets test this now...)
3542 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3546 remove #include "support/syscontr.h" as it's redundant. Always has been.
3554 change Systemcalls::System to Systemcalls::Wait and
3555 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3556 No change of functionality, just reflects the stripped down Systemcalls
3559 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3561 * debug.[Ch]: add a GRAPHICS type to the enum.
3563 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3565 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3567 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3570 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3572 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3573 match the changes below.
3575 * text2.C (toggleInset): if there is not editable inset at cursor
3576 position, try to see if cursor is _inside_ a collapsable inset
3579 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3581 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3582 document menu has a nice checkbox
3584 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3586 * lyxlength.C (asLatexString): change PW to output as percent of
3589 * lengthcommon.C: change '%' to 't%'
3591 * lyxfunc.C (dispatch): a few comments from Martin
3593 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3597 * BufferView_pimpl.h:
3598 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3601 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3603 * vspace.C (inPixels): fix compiler warning
3605 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3607 * lyxfunc.C (getStatus): fix status message for disabled commands.
3609 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3611 * BufferView_pimpl.C: fix crash on close buffer
3612 during selection (#227)
3614 2002-01-27 Herbert Voss <voss@lyx.org>
3616 * buffer.C: link old Figure to new graphic inset
3618 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3620 * FontLoader.C (getFontinfo): Change the latex font names in order
3621 to match the names of type1inst.
3623 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3625 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3627 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3630 (remove_files_with_extension): ditto
3631 (remove_file): ditto
3634 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3635 document is smaller than the work area height. Do not initialize
3636 static variables to 0.
3638 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3640 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3642 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3643 LFUN_LAYOUT_PARAGRAPHS.
3645 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3646 tabular. It is possible to provide a possible cell, which will
3647 typically be the actcell from the corresponding insettabular
3649 * lyxfunc.C (getStatus): small cleanup; disable
3650 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3653 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3655 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3657 * paragraph.C (startTeXParParams):
3658 (endTeXParParams): new methods. The LaTeX code to
3659 start/end paragraph formatting
3660 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3661 empty (fixes bug #200)
3663 * vspace.C (inPixels): adapt to the change below
3664 (inPixels): [later] more cleanups (remove unused variables)
3666 * lyxlength.C (inPixels): change to use a width and a height as
3669 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3671 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3672 Replaced with \paperwidth
3674 * DepTable.C (insert): add std:: qualifier
3676 2002-01-18 Allan Rae <rae@lyx.org>
3678 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3681 * text.C (drawInset): Turned out I didn't know enough about how
3682 rebreaking worked. This fixes most of the redraw problems. I see
3683 an occasional cursor trail when a line is broken now and the cursor
3684 placement can seem out by a few pixels also after a rebreak.
3686 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3688 * buffer.C (parseSingleLyXformat2Token): update because minipage
3689 width is now a LyXLength
3691 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3693 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3696 2002-01-17 Juergen Vigna <jug@sad.it>
3698 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3700 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3701 is set correctly and the inset is updated correctly.
3703 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3705 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3706 the beginning of the loop.
3708 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3710 * lyxrc.C: improve help for use_scalable_fonts
3712 2002-01-17 Allan Rae <rae@lyx.org>
3714 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3716 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3718 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3719 make sure to set their inset_owner to the right value (bug #171)
3721 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3724 * DepTable.C: Implement mtime checking to reduce time spent doing
3727 2002-01-16 Juergen Vigna <jug@sad.it>
3729 * tabular.C (GetAdditionalHeight): one of error fixed.
3731 * lyxrc.C (output): small fix in writing use_pspell.
3733 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3735 * sp_base.h: #include LString.h
3737 2002-01-16 Allan Rae <rae@lyx.org>
3739 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3740 Can someone check this please?
3742 * text.C (drawInset): It was possible that p.row would be removed by
3743 breakAgainOneRow upsetting a few other settings. There may be another
3744 small tweak possible by setting need_break_row = 0 when p.row has been
3745 removed but I don't know enough about the logic here.
3747 2002-01-15 Allan Rae <rae@lyx.org>
3749 * text.C (insertChar): removed conditional truism.
3751 * BufferView2.C (removeAutoInsets): More tweaks.
3752 cur_par_prev could be a stray pointer. Check for trailing empty line
3753 in case last line was cur_par and only had an error inset on it.
3755 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3757 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3760 * vc-backend.C (most methods):
3761 * exporter.C (Export):
3762 * converter.C (convert):
3764 * LyXSendto.C (SendtoApplyCB):
3765 * lyxfunc.C (dispatch):
3769 * lyx_cb.C (AutoSave):
3771 * BufferView_pimpl.C (MenuInsertLyXFile):
3772 * buffer.C (runChktex): use Buffer::filePath().
3774 * buffer.h: rename filename to filename_; rename filepath to
3775 filepath_ and make it private
3776 (filePath): new method
3778 * buffer.C (writeFile): use fileName()
3781 * lyx_main.C (init): fix starting of LyX when the binary is a
3782 link from so,ewhere else.
3784 * minibuffer.C: include <cctype> for isprint
3786 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3788 * buffer.C (parseSingleLyXformat2Token): changes associated with the
3789 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3790 name clash with InsetCollapsable's width function.
3792 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3794 * lastfiles.C: include <iterator>
3796 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3798 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3801 * buffer.C (makeLaTeXFile): ditto.
3802 Also make loop operation more transparent.
3804 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3806 * ToolbarDefaults.C: remove trailing comma closing namespace.
3808 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3810 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3813 * trans.C (Load): comment out unused variable, allowed.
3815 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3817 * minibuffer.[Ch] (append_char): new method to recieve input from the
3818 drop-down completion browser. If a key was pressed, then recieve this
3819 char and append it to the existing string.
3820 (peek_event): modify the positioning data passed to the completion
3821 browser so that it can be placed above the minibuffer rather than below.
3822 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3824 * LyXAction.C (init): alloe error-next for readonly documents.
3826 * BufferView2.C (ChangeRefsIfUnique): use standard version of
3829 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3831 * bufferlist.C (readFile): create the buffer _after_ checking that
3834 * lyxfunc.C (verboseDispatch): fix handling of arguments
3836 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3838 * lyxrc.C: use string::erase() instead of initializing to "".
3841 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3843 * BufferView_pimpl.h:
3844 * BufferView_pimpl.C:
3847 * text2.C: tell X when we have made a selection for copying
3849 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3851 * BufferView_pimpl.C (MenuInsertLyXFile):
3852 * lyxfunc.C (menuNew):
3854 (doImport): add shortcuts to directory buttons
3856 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3859 * lyxfunc.C (setStatusMessage):
3860 (getStatusMessage): new methods
3861 (getStatus):use setStatusMessage instead of setErrorMessage
3862 (dispatch): when function is disabled, set error message here
3863 [instead of in getStatus previously]
3865 * BufferView_pimpl.C (workAreaButtonRelease): update
3866 toolbar/menubar here too.
3868 2002-01-13 Allan Rae <rae@lyx.org>
3870 * BufferView2.C (removeAutoInsets): finished off earlier fix.
3871 Now seems indestructible. Remaining task is to audit all other
3872 code affected by deleteEmptyParagraphMechanism. One small quirk
3873 left is that an empty document with an error in the preamble can
3874 be made to report an error but no error box appears. I don't know
3876 (removeAutoInsets): Improved comments.
3878 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
3881 * Thesaurus.C: update for Aiksaurus 0.14
3883 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3885 * text2.C (firstParagraph): removed member function, all uses
3886 replaces with ownerParagraph
3887 (redoParagraphs): here
3889 (toggleAppendix): here
3890 * BufferView2.C (insertErrors): here
3891 (setCursorFromRow): here
3893 2002-01-13 Allan Rae <rae@lyx.org>
3895 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
3896 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
3897 There is still a way to segfault this although you may have to do this
3898 multiple times: Have an InsetERT with an unknown command in it.
3899 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
3900 <down-arrow>, <Enter> again, View->DVI, BANG!
3902 * text2.C (setCursor):
3903 (deleteEmptyParagraphMechanism):
3904 * lyxtext.h (setCursor):
3905 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
3906 Making use of the return value may help fix other bugs.
3908 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3910 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
3912 * LyXView.C (updateMenubar): call MenuBar::update here
3913 (updateToolbar): but not here
3914 (showState): do not update toolbar/menubar
3916 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
3917 should need to care about that.
3919 * lyxfunc.C (verboseDispatch): simplify a bit
3920 (getStatus): have a version which takes a pseudoaction, and
3921 another which requires a (kb_action,string).
3923 * LyXAction.C (retrieveActionArg): make it work also when action
3924 is not a pseudo-action.
3925 (getActionName): simplify a bit
3928 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3930 * lyxfunc.C (verboseDispatch): new families of methods with
3931 several ways to specify a command and a bool to indicate whether
3932 the command name and shortcut should be displayed in minibuffer
3933 (eventually, we could extend that to a finer bitmask like
3934 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
3935 (dispatch): the pristine dispatch command which just, well,
3936 dispatchs! Note it still sets its result to minibuffer; I'm not
3939 * lyxfunc.h: remove setHintMessage
3941 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3943 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3945 * BufferView_pimpl.C (specialChar): delete new inset if we have
3946 not been able to insert it.
3948 * kbmap.C: revert to using int instead of kb_action, since all we
3949 are dealing with is pseudo-actions.
3951 * LyXAction.C (searchActionArg): change to return int instead of
3952 kb_action, since the result is a pseudoaction.
3954 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
3956 * buffer.C (insertErtContents): Fix (partially) the font bug.
3958 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3960 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3961 as the other one is broken on my machine!
3963 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
3966 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3968 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
3970 * lyxrc.[Ch]: change names and descriptions of popup font variables to
3971 reflect their actual use. Provide compatibility code for older lyxrc
3974 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3976 change names of popup font variables in line with the changes to lyxrc.C
3978 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3980 * buffer.C (asciiParagraph): avoid outputing a word twice after
3983 * lyxrc.C (getDescription): document that document_path and
3984 template_path can be empty.
3986 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3988 * LaTeXFeatures.C (getMacros):
3989 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3991 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3993 * LaTeXFeatures.C (useFloat): require "float" here instead of in
3995 (getPackages): rename feature "floats" to "float". Use an array to
3996 iterate over 'simple' features (i.e. just a \usepackage). Add
3997 handling of "amsmath" (renamed from "amsstyle").
3999 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
4001 * LaTeXFeatures.C (require): Prevent duplicate entries in the
4004 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
4006 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
4007 FuncStaus::FuncStatus & FuncStaus::some_method().
4009 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4011 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
4012 of the func_satus stuff. Edited and massaged in various ways by
4015 * lyxfunc.C (getStatus): use FuncStatus
4017 2002-01-08 Juergen Vigna <jug@sad.it>
4019 * text.C (nextBreakPoint): use function Inset::isChar().
4021 * paragraph.C (TeXOnePar): use function
4022 Inset::forceDefaultParagraphs.
4024 * buffer.C (latexParagraphs): use function
4025 Inset::forceDefaultParagraphs.
4027 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4029 * lyx_gui.C (init): set the style of the menu popups to
4030 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
4032 2002-01-07 Juergen Vigna <jug@sad.it>
4034 * text.C (setHeightOfRow): small fix
4035 (prepareToPrint): don't look at alignment if we don't have the place
4038 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4040 * box.C: New file. Move the Box methods and functions out of box.h,
4041 following Lars' suggestion.
4043 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4045 * box.h: #include "support/LOstream.h", needed for inlined function.
4048 * lyxtextclasslist.C: added some using std declarations.
4050 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4052 * box.h: make signed dimensions to allow insets wider than
4053 the screen (bug #162)
4055 * BufferView_pimpl.C: add some insetHit debug
4057 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4059 * vc-backend.C: add FIXME
4061 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4063 * lyxfunc.C (getStatus): enable code for showing math font status
4066 2002-01-07 Juergen Vigna <jug@sad.it>
4068 * text.C (nextBreakPoint): removed debug output not needed anymore.
4070 2002-01-06 Juergen Vigna <jug@sad.it>
4072 * text.C (nextBreakPoint): fixed up this function we had this bug
4073 since ever but now hopefully we break row better.
4074 (insertChar): we have to check if an inset is the next char as it
4075 could now happen that a large inset is causing a break.
4077 2002-01-05 Juergen Vigna <jug@sad.it>
4079 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4080 if it doesn't like to be drawed.
4082 2002-01-04 Juergen Vigna <jug@sad.it>
4084 * BufferView2.C (lockInset): forgot to set a cursor.
4086 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4088 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4093 * form_maths_panel.C:
4094 * form_maths_panel.h:
4095 * form_maths_panel.fd: implemented sub- and super- buttons in math
4098 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4099 (or ^ space) to be used as in TeX (req'd by André).
4101 * lyxfunc.C: Allow ^ and _ again to be used both as
4102 super/subscript (mathed) and as themselves (in text).
4104 2002-01-03 Allan Rae <rae@lyx.org>
4106 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4107 "LyX" or the filename of the current buffer if it has one. This is a
4108 modified form of John Levon's patch.
4110 * XFormsView.C (setWindowTitle): also set icon title.
4112 * LyXView.h (setWindowTitle): signature changed.
4113 * XFormsView.h (setWindowTitle): ditto.
4115 2002-01-02 Juergen Vigna <jug@sad.it>
4117 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4119 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4121 * screen.C (topCursorVisible): introduce a temp var for
4122 text->cursor.row(), handle the case where this row is null. (kindo
4125 * text2.C (setCursor): add a couple of asserts.
4127 * paragraph.h (inset_iterator): add -> operator
4129 * paragraph.[Ch] (autoDeleteInsets): remove member function
4131 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4132 cursor pos correctly and handle inset deletion by itself.
4133 (insertErrors): move iterator declaration out of for expression
4135 * lyxtextclass.C: add <algorithm>
4137 * Makefile.am: added the new files to sources, removed layout.C
4139 * layout.C: removed file
4141 * layout.h: remove LYX_DUMMY_LAYOUT
4143 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4147 * lyxtextclass.[Ch]:
4148 * lyxtextclasslist.[Ch]: new files
4150 * include order changes to a lot of files, also changes because of
4153 2001-12-27 Juergen Vigna <jug@sad.it>
4155 * buffer.C (asciiParagraph): more fixes.
4157 * tabular.C (ascii): make ascii export support export of only the
4158 data separated by a column-delimiter.
4159 (ascii): better support for ascii export.
4161 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4163 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4165 * tabular_funcs.C: use a "using std::getline" instead of the
4166 previous fix from Angus (necessary for cxx + lyxstring)
4168 2001-12-24 Juergen Vigna <jug@sad.it>
4170 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4172 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4173 problems. First check a minipage also if we have some ert-contents
4174 (not only on par->size(), second set the right depth of the paragraph
4175 on the relink to the root-paragraph-list!
4177 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4178 which then did not anymore update the main paragraphs on undo/redo!
4180 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4182 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4183 code. Support all font-changing funcs (even those which are not in
4184 menu currently). Support for reporting font settings in
4185 mathed (disabled until Andre provides a function on mathed's side).
4187 * func_status.h (toggle): small helper function to set toggle
4190 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4192 * tabular_funcs.C: getline -> std::getline
4194 2001-12-21 Juergen Vigna <jug@sad.it>
4196 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4197 accessed and could be 0 (I couldn't generate this but it seems
4200 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4202 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4203 * tabular_funcs.h: here and include iosfwd
4205 2001-12-20 Juergen Vigna <jug@sad.it>
4207 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4208 inside inset but undo_par was.
4210 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4212 * Thesaurus.C: always include <config.h> in sources.
4216 * box.h: do not include <config.h> in header files
4218 * text.C (paintLastRow): remove unused variable
4220 * text.C (transformChar):
4222 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4225 * font.C (width): rewrite to use uppercase() instead of
4228 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4230 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4232 * lyxfind.C: clean up of find failure position change
4234 2001-12-20 Juergen Vigna <jug@sad.it>
4236 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4238 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4239 (TeXRow): added to LaTeX a single tabular row.
4240 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4241 (Latex): simplified and finally good LT-h/f support.
4242 (various_functions): just small adaptions for LT-h/f support.
4244 * tabular_funcs.[hC]: added and moved here all not classfunctions
4247 2001-12-19 Juergen Vigna <jug@sad.it>
4249 * tabular.[Ch]: better support for longtabular options (not finished
4252 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4254 * text.C (paintLastRow): use the label font instead of the font of
4255 the last character to compute the size of *_BOX. This makes more
4256 sense and avoids a crash with empty paragraphs.
4257 Use Painter::rectangle to draw EMPTY_BOX.
4259 2001-12-19 Juergen Vigna <jug@sad.it>
4261 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4262 the paragraphs if the replaced paragraph is not the first one!
4263 Tried to delete not used paragraphs but does not work yet so for
4264 now it's inside #ifdef's and by default off!
4266 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4268 * MenuBackend.C: include "lyx_main.h" instead of declaring
4269 lastfiles (actually was declared as LastFiles* instead of a
4272 2001-12-17 Juergen Vigna <jug@sad.it>
4274 * tabular.C (AppendColumn): applied John's fix
4276 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4280 * BufferView_pimpl.h:
4281 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4284 * box.h: new start of class for above
4286 * lyxfunc.C: ignore space-only minibuffer dispatches.
4287 Show the command name when it doesn't exist
4289 * minibuffer.C: don't add empty lines to the history
4291 * minibuffer.C: add a space on dropdown completion
4293 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4295 * text.C: fix line above/below drawing in insets
4297 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4299 * lyxlength.C (LyXLength): Initialize private variables.
4301 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4303 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4304 when inserting error insets.
4306 2001-12-13 Juergen Vigna <jug@sad.it>
4308 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4309 actually sometimes the before-paragraph.
4310 (setUndo): don't clear the redostack if we're not actually undoing!
4312 2001-12-06 Juergen Vigna <jug@sad.it>
4314 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4315 and fixed redoing of main paragraph, so we can use it now ;)
4317 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4319 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4321 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4324 2001-12-13 André Pönitz <poenitz@gmx.net>
4327 * undo_func.C: minor cleanup
4329 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4331 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4332 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4333 font in urw-fonts package which is marked as -urw-fontspecific and
4334 does not work (incidentally, changing the encoding in the
4335 fonts.dir of this package to -adobe-fontspecific fixes the
4338 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4339 is a crash when undoing first paragraph (Juergen, please take a
4340 look). THis does not mean the undo fix is wrong, just that it
4343 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4344 the (Paragraph*) version when needed instead of duplicating the
4347 * text.C (workWidth): use Inset::parOwner to find out where the
4348 inset has been inserted. This is a huge performance gain for large
4349 documents with lots of insets. If Inset::parOwner is not set, fall
4350 back on the brute force method
4352 * paragraph_pimpl.C (insertInset):
4353 * paragraph.C (Paragraph):
4354 (cutIntoMinibuffer): set parOwner of insets when
4355 inserting/removing them
4357 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4359 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4365 * mathed/formulabase.C:
4366 * mathed/math_cursor.[Ch]:
4367 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4370 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4372 * lyxlength.[Ch] (operator!=): new function
4374 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4376 * text.C (workWidth): use Inset::parOwner to find out where the
4377 inset has been inserted. This is a huge performance gain for large
4378 documents with lots of insets. If Inset::parOwner is not set, fall
4379 back on the brute force method
4381 * paragraph_pimpl.C (insertInset):
4382 * paragraph.C (Paragraph):
4383 (cutIntoMinibuffer): set parOwner of insets when
4384 inserting/removing them
4386 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4388 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4390 * tabular-old.C (getTokenValue):
4391 * tabular.C (getTokenValue):
4392 (write_attribute): new versions for LyXLength
4393 (everywhere): adjust the use of widths
4395 * tabular.h: change the type of widths from string to LyXLength
4397 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4399 * paragraph.C: fixed missing line number count when exporting
4400 Environments to LaTeX file
4402 * buffer.C: added informational message for checking line numbers.
4404 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4406 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4407 paragraph, do the 'double space' part, but not the 'empty
4410 * text.C (workWidth): small optimization
4411 (getLengthMarkerHeight): use minimal size for negative lengths.
4413 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4415 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4417 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4419 2001-12-11 André Pönitz <poenitz@gmx.net>
4422 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4424 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4426 * text2.C: keep selection on a setFont()
4428 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4430 * lyx_cb.C: another bv->text misuse, from insert label
4432 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4435 * kbsequence.C: re-instate nmodifier mask
4437 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4439 * lyx_main.h: make lyxGUI private.
4441 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4443 * lyxfind.C: place the cursor correctly on failed search
4445 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4447 * text.C (getLengthMarkerHeight): for small heights, the arrows
4448 are not always on top/bottom of the text
4449 (drawLengthMarker): smaller arrows; take the left margin in
4450 account; draw also vfills.
4452 (paintLastRow): remove special code for vfill and standard spaces,
4453 since everything is handled in drawLengthMarker now.
4455 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4457 * buffer.C (insertErtContents): try to handle font and language
4458 interaction a bit better.g
4460 * ColorHandler.C (updateColor): change the hash to cover the whole
4461 LColor enum, ws cleanup
4462 (getGCLinepars): ditto
4463 (getGCLinepars): only lookup in the linecache once.
4465 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4467 * iterators.C (operator++): Make the iterator more robust
4469 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4471 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4473 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4476 * text.C: better added space drawing
4478 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4481 * BufferView2.C: fix layout combo update on inset unlock
4483 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4485 * Makefile.am: don't compile unused files
4487 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4491 * LyXAction.C: remove old LFUN_LAYOUTNO
4493 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4495 * paragraph_pimpl.h:
4496 * paragraph_pimpl.C: isTextAt() doesn't need font param
4498 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4501 * lyxlex.C: little cleanup
4503 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4505 * BufferView_pimpl.C: fix insertAscii for insets
4507 2001-12-05 Juergen Vigna <jug@sad.it>
4509 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4510 set the right font on the "multi" paragraph paste!
4512 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4518 * lyxlength.C: remove out-commented code.
4534 * vc-backend.C: change "while(" to "while ("
4536 * lyxlength.[Ch]: add zero function to check if length is zero or
4538 * lyxgluelength.C: use it
4540 2001-12-05 Allan Rae <rae@lyx.org>
4542 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4543 Works for 2.95.3, from what I understand of Garst's reports this should
4544 work for other g++ versions. We're screwed if the abs(int) definition
4545 changed between bugfix releases of gcc.
4547 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4549 * text.C: fix chapter label offset !
4551 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4554 * text.C: fix hfill at end of line, clean up
4556 2001-12-04 Juergen Vigna <jug@sad.it>
4558 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4559 that we force an update of the inset and it's owners if neccessary.
4561 2001-12-03 Juergen Vigna <jug@sad.it>
4563 * text.C (rowLast): simplified code
4565 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4567 * lyxfunc.C: fix show options on timeout
4569 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4571 * screen.C (topCursorVisible): scroll half a page when the cursor
4572 reached top of bottom of screen
4574 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4576 * minibuffer.C: deactivate on loss of focus
4578 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4580 * vspace.[Ch] (operator!=): add operator.
4582 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4584 * BufferView_pimpl.C: refuse to open an inset when
4585 there's a selection.
4587 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4589 * BufferView_pimpl.C: allow to click on RHS of full row insets
4591 2001-11-30 Juergen Vigna <jug@sad.it>
4593 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4594 insets for undo reasons.
4596 2001-11-28 André Pönitz <poenitz@gmx.net>
4598 * vspace.[Ch]: cosmetical changes
4600 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4610 * kbsequence.C: part re-write of old kb code
4613 * WorkArea.C: remove Lgb_bug_find_hack
4615 2001-11-30 José Matos <jamatos@fep.up.pt>
4617 * buffer.C (makeDocBookFile): add a comment to point a hack.
4618 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4619 Fixed a double write of labels.
4621 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4624 * LaTeX.h Fixed bug in LaTeX class where it would not
4625 re-run latex if no depfiles were changed, but the .dvi was removed.
4627 2001-11-28 André Pönitz <poenitz@gmx.net>
4629 * all the files from the change on 2001/11/26:
4630 use lyx::layout_type instead of LyXTextClass::size_type
4631 use lyx::textclass_type instead of LyXTextClassList::size_type
4633 2001-11-29 Juergen Vigna <jug@sad.it>
4635 * text.C: added support for paragraph::isFreeSpacing()
4637 * buffer.C: same as above
4639 * paragraph.h: inserted isFreeSpacing() function to enable
4640 FreeSpacing inside InsetERT.
4642 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4643 of the paragraph's in the cut/copy buffer to 0!
4645 * text2.C (removeRow): remove the assert as it can!
4647 * lyxtext.h: added helper function firstRow returning firstrow and
4648 made firstrow private again.
4650 * BufferView2.C (lockInset): don't relock if we're already locked!
4652 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4654 (removeRow): added Assert::(firstrow)
4656 * debug.C: forgot to add INSETTEXT here.
4658 2001-11-28 Juergen Vigna <jug@sad.it>
4660 * sp_spell.C (initialize): changed error text to more general
4661 spellchecker command use (not only ispell!)
4663 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4665 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4667 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4669 * vspace.C: initialise lyxgluelength on failure
4671 2001-11-28 Allan Rae <rae@lyx.org>
4673 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4674 declaration & definition that looks like a function declaration.
4676 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4678 * BufferView2.C (copy):
4679 (copyEnvironment): do not clear the selection when doing a copy.
4681 * text.C (paintFirstRow): compilation fix
4683 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4685 * tabular.C (Latex): correct line count when writing latex.
4687 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4689 * paragraph_pimpl.h:
4690 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4693 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4697 * LColor.C: change vfillline->added_space
4699 * text.C: add markers and text for added space
4701 * vspace.C: fix comment
4703 2001-11-28 André Pönitz <poenitz@gmx.net>
4705 * paragraph.C: whitespace changes
4706 * all the other files from the change on 2001/11/26:
4707 change *::pos_type into lyx::pos_type
4709 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4711 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4712 language of the document when inserting error insets.
4714 2001-11-26 André Pönitz <poenitz@gmx.net>
4716 * BufferView_pimpl.[Ch]:
4724 * paragraph_pimpl.[Ch]:
4727 * text2.C: reduce header dependencies, introduce type for positions
4729 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4731 * <various>: change to use Alert.h
4733 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4735 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4736 when encountering an unknown token.
4737 (readLyXformat2): Show an error message if there were unknown tokens.
4739 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4742 * BufferView_pimpl.C:
4746 * text2.C: use par->isInset()
4748 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4750 * paragraph_pimpl.h:
4751 * paragraph_pimpl.C: cleanup
4753 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4755 * text2.C (removeRow):
4756 * text.C (setHeightOfRow): remove useless (and costly) call to
4759 2001-11-20 Allan Rae <rae@lyx.org>
4761 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4762 Now need Inset*::checkInsertChar() to return true for appropriate
4763 cases so that the characters in the minibuffer will actually be
4766 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4768 * text.C: change the order of the includes.
4769 (workWidth): initialize it at once.
4770 (workWidth): make maxw unsigned
4771 (setHeightOfRow): remove unused variable (inset)
4772 (selectSelectedWord): remove unused variable (inset)
4773 (paintRowText): fix drawing of hfill characters, and clean up a bit.
4775 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4777 * lyxserver.C (emergencyCleanup): do not try to close pipes if
4778 server is not running.
4780 (closeConnection): add debug info when server is disabled.
4782 * ColorHandler.C (getGCForeground): send debug message to GUI
4785 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4787 * kbmap.C (bind): modify because return conventions of
4788 kb_sequence::parse have changed.
4790 * kbsequence.C (parse): only ignore spaces and not any stupid
4791 control character. This avoids tests like s[i] <= ' ', which are
4792 guaranteed to fail with 8bit characters and signed chars.
4793 Change return code to string::npos when there have been no error
4794 (0 was a bad idea when error is at first character)
4796 2001-11-14 José Matos <jamatos@fep.up.pt>
4799 * buffer.C (simpleDocBookOnePar): removed unused argument.
4801 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4803 * text.C (selectNextWordToSpellcheck): do not test explicitely for
4804 insets which are part of a word. Paragraph::isLetter takes care of
4805 that now. Use Paragraph::isInset to identify insets.
4806 (selectSelectedWord): do not test for hyphenation break.
4808 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4809 that protected spaces are considered as spaces.
4811 * paragraph.C (isLetter): cleanup the code for ispell extras; use
4814 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
4817 * lyxserver.C: fix it. and small cleanup.
4819 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4821 * BufferView_pimpl.C: use inline helpers
4824 * LaTeXFeatures.C: fix typos
4827 * Spacing.C: move spacing_string into class
4829 * ToolbarDefaults.C: move stuff into namespace anon
4831 * layout.h: update enum
4833 * lyxfunc.C: use better debug
4835 * minibuffer.h: fix typo
4839 * WorkArea.C: add and use Debug::WORKAREA
4843 * text2.C: code re-organisation, inline helpers
4845 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
4847 * Layout.C: replaced a few cases of std::vector.size() == 0 with
4848 std::vector.empty().
4850 2001-11-09 Allan Rae <rae@lyx.org>
4852 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4853 '\n's after tables. Tabular and ERT inset work now makes this no
4856 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4859 * minibuffer.C: fix crash, improve drop-down completion
4861 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
4864 * lyxserver.C: invalidate fd's when doing endPipe()
4866 2001-11-08 José Matos <jamatos@fep.up.pt>
4868 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4869 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4872 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4874 2001-11-07 José Matos <jamatos@fep.up.pt>
4877 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
4880 * buffer.C (sgmlOpenTag):
4881 * buffer.C (sgmlCloseTag): removed debug info.
4883 * buffer.h (sgmlOpenTag):
4884 * buffer.h (sgmlCloseTag): made public.
4886 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4888 * buffer.C (saveParamsAsDefaults):
4889 * lyx_cb.C (MenuLayoutSave): remove
4891 * LyXAction.C (init):
4893 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
4895 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4897 * buffer.C (setPaperStuff): removed from here...
4899 * bufferparams.C (setPaperStuff): ... and moved there.
4901 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
4905 * XFormsView.C: add support for drop-down completion
4907 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
4909 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
4912 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4914 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
4917 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4919 * lyx_main.C: change ref to known bugs
4921 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4923 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
4924 to work around older babel problems.
4926 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4928 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
4930 2001-10-24 Juergen Vigna <jug@sad.it>
4932 * tabular-old.C (ReadOld): below variable changes reflected.
4934 * tabular.[Ch]: added ltType struct for longtable header/footer
4935 defines and changed all instances where they are used. Added
4936 future support for double top/bottom rows.
4938 2001-10-24 José Matos <jamatos@fep.up.pt>
4940 * buffer.h (docbookHandleCaption):
4941 * buffer.C (docbookHandleCaption): removed unused function.
4942 (makeDocBookFile): moved docbook supported version to v4.1.
4944 2001-10-24 José Matos <jamatos@fep.up.pt>
4947 * tabular.C (docbookRow): new function to export docbook code of a row.
4948 (DocBook): now honors the longtable flags.
4950 2001-10-23 José Matos <jamatos@fep.up.pt>
4953 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4954 of the lyx defined sgml entities used in a docbook/linuxdoc document.
4956 * buffer.C (makeLinuxDocFile):
4957 (makeDocBookFile): reworked the preamble, more clean, and with
4958 support for lyx defined entities. Changed the document declaration
4959 to be more XML friendly.
4961 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4962 if we need to output XML that should be done with a filter.
4964 2001-10-22 Juergen Vigna <jug@sad.it>
4966 * sp_pspell.h (class PSpell): add alive function needed in the
4967 controller to see if the spellchecker could be started.
4969 2001-10-22 Juergen Vigna <jug@sad.it>
4971 * buffer.C (insertStringAsLines): modify the font for inserting
4972 chars in certain conditions by calling checkInsertChar(font).
4974 2001-10-19 Juergen Vigna <jug@sad.it>
4976 * text.C (workWidth): use getRow instead of wrong algorithm.
4977 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4979 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
4984 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4986 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4988 * text.C (workWidth): do not search for the exact row when
4989 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4990 optimization for big documents.
4992 2001-10-18 Juergen Vigna <jug@sad.it>
4994 * text.C (workWidth): new function with added Inset * parameter.
4996 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4998 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
5000 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
5001 change return type of getColumnNearX.
5004 * text.C (changeRegionCase): use uppercase/lowercase instead of
5007 (rightMargin): simplify code by factoring out the uses of
5012 (appendParagraph): use Paragraph::size_type
5014 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5016 * vspace.C (asLatexString): add a missing break
5018 2001-10-15 Herbert Voss <voss@perce.de>
5020 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
5022 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5024 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
5027 2001-10-10 André Pönitz <poenitz@gmx.net>
5029 * lyxfunc.C: removed greek_kb_flag.
5031 2001-10-10 Herbert Voss <voss@perce.de>
5033 * lyx_main.C: delete global string help_lyxdir.
5035 2001-10-09 Herbert Voss <voss@perce.de>
5037 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5039 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5041 * lyx_main.C: added global string help_lyxdir.
5043 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5045 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5047 * lyxrc.C (set_font_norm_type): support iso8859-4
5049 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5051 * LaTeX.C (deplog): add another regex for MikTeX
5053 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5055 * lyxrc.C (set_font_norm_type): support iso8859-3
5057 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5059 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5061 * LaTeXFeatures.C: remove special case of french and index
5063 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5064 before \begin{document}). This solves several incompatibilities.
5066 2001-10-03 Garst Reese <reese@isn.net>
5068 * lyx_cb.C: change CheckTex error msg.
5070 2001-10-03 José Matos <jamatos@fep.up.pt>
5072 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5074 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5076 * .cvsignore: update
5078 * lyx_main.C (commandLineVersionInfo): use new style version info.
5080 * buffer.C (writeFile):
5083 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5085 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5087 * version.h: update to use stuff in version.C
5089 * version.C.in: new file. Contains version information determined
5090 at compile time. This is a merging of version.h and
5093 2001-10-03 Juergen Vigna <jug@sad.it>
5095 * BufferView_pimpl.C (update): don't change "dirty" status in
5098 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5100 * WorkArea.C (c-tor): re-position version string slightly.
5102 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5104 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5105 revert to previous code.
5107 WorkArea.[Ch]: (show, destroySplash): methods removed.
5109 WorkArea.C: rework code so that it's an amalgam of the codes before and
5110 after the splash screen was moved to WorkArea.
5112 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5115 * vspace.C (inPixels):
5118 * buffer.C (insertStringAsLines):
5119 (asciiParagraph): fix types to be large enough
5121 * lyxlex_pimpl.h: change member status from short to int
5123 * layout.h: fix type of endlabeltype
5126 * kbsequence.C (parse): change return type to string::size_type
5128 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5131 * Bullet.C (bulletSize):
5132 (bulletEntry): do not use short ints as parameters
5134 * BufferView2.C (insertLyXFile): change a char to an int.
5136 * WorkArea.C (WorkArea): remove unneeded floats in computation
5138 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5140 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5142 * paragraph.C (asString): Do not ignore newline/hfill chars when
5143 copying to the clipboard.
5145 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5147 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5148 after a multi-line inset.
5150 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5152 * paragraph.C (validate): Set NeedLyXFootnoteCode
5154 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5156 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5157 and decrease-error to decrease.
5159 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5161 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5162 it more readable (should be equivalent)
5164 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5166 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5168 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5170 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5171 of a cursor (row, etc.) after a character has been deleted
5172 (deleteEmptyParagraphMechanism): call the method above on _all_
5173 cursors held by the LyXText when a double space has been
5176 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5178 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5180 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5182 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5183 background. Use greyOut() and the new show() methods to toggle between
5184 the foreground and background. Add code to remove the splash after
5185 its initial showing.
5187 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5188 (create_forms): no longer call Dialogs::showSplash.
5190 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5192 * .cvsignore: add version_info.h
5194 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5196 * version_info.h.in: new file
5198 * Makefile.am: add version_info.h.in
5200 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5201 version_info.h instead of VERSION_INFO
5203 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5205 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5206 The ERT inset now returns string().
5208 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5210 * lyxtext.h, text.C (selectNextWord): renamed as
5211 selectNextWordToSpellcheck.
5213 * text.C (selectNextWordToSpellcheck): Modified to not select
5214 words inside an ERT inset.
5216 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5218 * lyx_cb.C (MenuLayoutSave): change a bit the question
5220 * sp_base.h: include <sys/types.h>
5222 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5224 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5226 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5228 * several files: fix typos in user-visible strings
5230 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5232 * text2.C (pasteSelection): do not set the selection, since it
5233 will be cleared later. Actually, the intent was to fix the way the
5234 selection was set, but I figured rmoving the code was just as good.
5236 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5238 * FontLoader.C (available): Check if font is available without
5241 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5243 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5245 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5247 * lyxrc.[Ch]: added display_graphics variable and associated code.
5249 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5251 * bufferparams.C (hasClassDefaults): new method. Returns true if
5252 the buffer parameters correspond to known class defaults
5254 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5256 * XFormsView.C (show): set minimum size to the main window.
5258 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5260 * text2.C (copySelection):
5262 * lyxfind.C (LyXReplace):
5263 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5264 LyXText::selectionAsString.
5266 * paragraph.C (asString): add "label" argument to the second form
5268 * text2.C (selectionAsString): add "label" argument and pass it to
5269 Paragraph::asString.
5271 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5273 * lyx_main.C (commandLineHelp): remove version information
5275 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5277 * lyx_main.C: add -version commandline option
5279 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5281 * paragraph.h: make the optional constructor arg required instead.
5282 some modifications to other files because of this.
5284 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5286 * lyxserver.C (C_LyXComm_callback): make it static
5288 * lyx_main.C (error_handler): make it static
5290 * lyx_gui.C (LyX_XErrHandler): make it static
5292 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5294 * WorkArea.C: make the extern "C" methods static.
5296 * Makefile.am (lyx_LDADD): simplify
5298 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5300 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5301 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5303 * LyXAction.C (init):
5304 * lyxfunc.C (dispatch): associated code removal.
5306 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5308 * lyxfont.h (isSymbolFont): shut off warning
5310 * text.C (setHeightOfRow):
5311 (getVisibleRow): fix crash with empty paragraphs which have a
5314 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5316 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5319 2001-09-04 José Matos <jamatos@fep.up.pt>
5322 * tabular.C (docbook): rename docBook method to docbook.
5324 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5326 * Makefile.am: add dependencies to main.o.
5328 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5330 * FontLoader.C (available): Return false if !lyxrc.use_gui
5332 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5334 * FontInfo.C (query):
5335 * converter.C (view):
5336 * importer.C (Import):
5337 * exporter.C (Export): Can not -> cannot.
5339 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5341 * BufferView_pimpl.C: allow to create index inset even if
5344 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5346 * buffer.C (getLists): replace boost::tie code with an explicit pair
5347 as boost::tie can break some compilers.
5349 * iterators.h: Added a std:: declaration to the return type of
5352 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5354 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5357 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5359 * iterators.[Ch]: New files. Provide paragraph iterators.
5361 * buffer.C (changeLanguage): Use paragraph iterators.
5362 (isMultiLingual): ditto
5364 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5366 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5368 * FontLoader.C: Support for cmr font.
5370 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5372 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5373 (available): New method.
5375 * FontInfo.C (getFontname): Use scalable fonts even when
5376 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5379 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5381 * converter.C (Formats::view): reverted! Incorrect fix.
5383 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5385 * converter.C (Formats::view): only output the -paper option
5386 if the dvi viewer is xdvi, thereby fixing bug #233429.
5388 2001-08-23 Herbert Voss <voss@perce>
5390 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5392 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5394 * Spacing.h (Spacing): Set space to Default on in the default
5397 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5399 * vc-backend.h (RCS::versionString): add RCS to version
5400 (CVS::versionString): add CVS to version
5402 * vc-backend.C (scanMaster): do not add CVS to version.
5403 (scanMaster): do not add RCS to version
5405 * lyxvc.C (versionString): new method
5407 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5409 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5411 * Spacing.C (set): initialize fval
5413 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5415 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5418 2001-08-16 Juergen Vigna <jug@sad.it>
5420 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5422 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5424 * BufferView_pimpl.C:
5427 * text2.C: setParagraph takes linespacing now
5429 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5431 * LyxAction.C: add internal LFUN_CITATION_INSERT
5433 * LyXView.C: actually apply fix
5435 * bufferlist.C: fix open non-existent file
5437 * lyxfind.C: fix indentation
5439 * lyxfunc.C: remove unneeded assert, fix typo
5441 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5443 * MenuBackend.C: use "Floatname List"
5445 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5447 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5448 when converting LaTeX layout to insetERT.
5449 Generate a non-collapsed float when reading old float
5451 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5453 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5456 2001-08-13 Juergen Vigna <jug@sad.it>
5458 * text.C (fill): return 0 instead of 20 as this seems to be the more
5461 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5463 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5466 2001-08-13 Juergen Vigna <jug@sad.it>
5468 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5470 (SearchBackward): comment out the unlocking of the inset_owner this
5471 should not be needed!
5473 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5475 * Many files: Remove inherit_language, and add latex_language
5477 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5480 2001-08-10 Juergen Vigna <jug@sad.it>
5482 * text.C (prepareToPrint): fixed hfill-width in draw!
5484 * BufferView2.C (selectLastWord): save the selection cursor as this
5485 now is cleared in the function LyXText::clearSelection!
5487 2001-08-08 Juergen Vigna <jug@sad.it>
5489 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5490 BACKSPACE type functions.
5492 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5493 is only cutted from the document but not put in the cut-buffer, where
5494 still the old stuff should be.
5496 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5498 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5500 * tabular.C (SetWidthOfCell): fixed special case where the width
5502 (LeftLine): handle '|' in align_special.
5504 (LeftAlreadyDrawed): ditto
5505 (SetWidthOfCell): ditto
5507 2001-08-07 Juergen Vigna <jug@sad.it>
5509 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5511 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5513 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5514 * lyxlex.[hC]: ditto
5516 2001-08-06 Juergen Vigna <jug@sad.it>
5518 * text.C (getVisibleRow): fix up row clearing a bit.
5520 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5522 * minibuffer.C: make sure the X server sees the changes in the input.
5524 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5526 * paragraph.C (getFont): split into...
5527 (getLabelFont): this
5528 (getLayoutFont): and this
5529 * paragraph_pimpl.C (realizeFont): calling this
5531 * text2.C (getFont): split into...
5532 (getLayoutFont): this
5533 (getLabelFont): and this
5534 (realizeFont): all three calling this
5536 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5539 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5541 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5543 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5545 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5546 layouts from the Quote inset insertion.
5548 2001-08-03 Juergen Vigna <jug@sad.it>
5550 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5552 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5553 only if status not is already CHANGED_IN_DRAW (second level).
5555 * text.C (draw): don't set the need_break_row when inside an
5558 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5560 * buffer.C (parseSingleLyXformat2Token): handle more latex
5563 * bufferview_funcs.[hC]: change function names to
5564 begin with small char, adjust other files.
5566 2001-08-02 André Pönitz <poenitz@gmx.net>
5569 BufferView_pimpl.C: remove broken special code for math-greek
5571 2001-08-02 Juergen Vigna <jug@sad.it>
5573 * BufferView_pimpl.C (update): redone this function so that we
5574 update the text again if there was a CHANGE_IN_DRAW.
5576 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5577 (drawFromTo): added a new internal bool which is used by draw() and
5579 (general): some cursor drawing problems fixed.
5581 2001-08-01 Juergen Vigna <jug@sad.it>
5583 * lyxfind.C (LyXFind): fixed
5584 (SearchForward): ditto
5585 (SearchBackward): ditto
5587 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5588 spurius drawing of the cursor in the main area.
5590 * text2.C (status): small fix which could lead to a segfault!
5591 (clearSelection): remove unneeded BufferView param.
5593 2001-08-01 André Pönitz <poenitz@gmx.net>
5595 * lyxfunc.C: small change due to changed mathed interface
5597 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5599 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5601 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5603 * lyxfunc.c: fail gracefully if file doesn't exist
5608 * BufferView_pimpl.C: IsDirWriteable() proto changed
5610 * LyXView.C: fix updateWindowTitle() to store the last title
5612 2001-07-31 Juergen Vigna <jug@sad.it>
5614 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5615 the font (wrong since using of Paragraph::highestFontInRange).
5617 * paragraph.C (highestFontInRange): added a default_size parameter.
5619 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5620 (setHeightOfRow): reformat
5622 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5624 * converter.[hC] + affected files: move to (inital-char)lowercase
5627 * ParagraphParameters.C (ParagraphParameters): remove commented code
5629 * PainterBase.[Ch]: remove commented code
5631 * LaTeXFeatures.h: add "bool floats" for float.sty
5633 * LaTeXFeatures.C (LaTeXFeatures): init floats
5634 (require): handle float
5635 (getPackages): do it with floats
5637 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5639 * BufferView_pimpl.C (Dispatch): improve handling of
5640 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5642 * commandtags.h: #include lyxfont.h here temporarily to avoid
5645 * bufferlist.h: include LString.h here.
5647 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5649 * text2.C (getStringToIndex): new method.
5651 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5653 * *: Reduced header file dependencies all over.
5655 2001-07-30 Baruch Even <baruch@lyx.org>
5657 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5659 2001-07-29 Baruch Even <baruch@lyx.org>
5661 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5663 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5665 * ParameterStruct.h (endif): add a default constructor to make
5666 sure that all variables is initialized.
5668 * ParagraphParameters.C (ParagraphParameters): adjust
5670 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5672 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5673 index; also, check that there is something to index, and that it
5674 does not span over several paragraphs.
5675 (doubleClick): use WHOLE_WORD_STRICT for double click.
5677 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5679 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5682 2001-07-26 Baruch Even <baruch@lyx.org>
5684 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5685 an InsetFig figure, backwards compatible reading of old figure code.
5687 2001-07-27 Juergen Vigna <jug@sad.it>
5689 * text2.C: font.realize function adaption.
5691 * text.C (draw): add a warnings lyxerr text if needed.
5693 * layout.C: font.realize function adaption.
5695 * language.C: add inherit_language and implement it's handlings
5697 * bufferview_funcs.C (StyleReset): remove language parameter from
5698 font creation (should be language_inherit now).
5700 * bufferparams.C (writeFile): handle ignore_language.
5702 * paragraph.C (getFontSettings): the language has to be resolved
5703 otherwise we have problems in LyXFont!
5705 * lyxfont.C (lyxWriteChanges): added document_language parameter
5706 (update): removed unneeded language parameter
5708 * paragraph.C (validate): fixed wrong output of color-package when
5709 using interface colors for certain fonts in certain environments,
5710 which should not seen as that on the final output.
5712 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5714 * BufferView_pimpl.C:
5719 * LyXAction.C: add thesaurus support
5722 * lyxfind.C: add "once" parameter, for thesaurus, to not
5723 move to the next match
5725 2001-07-26 Juergen Vigna <jug@sad.it>
5727 * lyxfont.C (realize): honor ignore_language too!
5730 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5732 * text.C (draw): one place more for ignore_language to not draw
5735 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5737 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5739 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5741 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5742 the minipage conversion problem.
5744 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5746 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5749 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5751 * BufferView.h: don't forward declare WorkArea
5753 * BufferView.C: don't include WorkArea.h
5755 2001-07-25 André Pönitz <poenitz@gmx.net>
5759 * lyxfunc.C: new LFUN 'math-space'
5761 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5763 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5765 * text2.C (toggleInset): call open/close
5767 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5769 * lyxfunc.C (dispatch): add debug for the disabled case
5771 * font.C (buttonText): make similar to rectText
5773 * buffer.C (readInset): comment out parsing of insetlist and
5776 * PainterBase.C (rectText): small correction
5778 * BufferView_pimpl.C: comment out insettheorem and insetlist
5779 * LyXAction.C: ditto
5780 * commandtags.h: ditto
5782 2001-07-24 Juergen Vigna <jug@sad.it>
5784 * text.C (draw): honor the ignore_language.
5786 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5788 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5790 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5793 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5795 * lyxtext.h: remove unused (and unimplemented) methods
5797 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5799 * text.C (getVisibleRow): honor background color
5802 * Painter.h: remove default color argument for fillRectangle
5804 * text.C (backgroundColor): new method
5806 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5808 * text.C (getVisibleRow): adjust
5810 * font.[Ch] (rectText): new method, metrics
5811 (buttonText): new method, metrics
5813 * PainterBase.[hC]: make rectText and buttonText always draw and take
5816 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5818 * ToolbarDefaults.C (read):
5819 * MenuBackend.C (read): allow escaping in all strings
5821 * BufferView_pimpl.C (insertAndEditInset): new method.
5822 (Dispatch): use insertAndEditInset whenever appropriate.
5824 * BufferView_pimpl.C (insertNote): removed
5826 * BufferView_pimpl.C (smartQuote): new method, moved from
5827 BufferView; if an insetquote cannot be inserted, insert a '"'
5830 * BufferView2.C: remove insertCorrectQuote();
5832 * lyxfunc.C (getStatus): Add support for all remaingin
5835 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5837 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5838 command (necessary to pass " as parameter of self-insert.
5840 * text.C (selectWordWhenUnderCursor):
5841 (selectWord): add word_location parameter
5842 (selectWordWhenUnderCursor): same + remove special code for word
5844 (selectNextWord): use kind() to guess type of insetspecialchar,
5847 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5848 (insertErtContents): create ert insets as collapsed.
5849 (readInset): better compatibility code for Info inset.
5851 2001-07-20 Juergen Vigna <jug@sad.it>
5853 * lyxfunc.C (dispatch): use always LyXFind now!
5855 * text2.C (init): add a reinit flag so that the LyXText can be
5856 reinited instead of deleted and reallocated (used in InsetText).
5858 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5864 2001-07-18 Juergen Vigna <jug@sad.it>
5866 * text.C (selectNextWord): handle insets inside inset by calling
5867 always the bv->text functions so that we can go up the_locking_inset!
5869 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5870 in strange locations when inside an inset!
5872 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5873 handling to include insets.
5875 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
5877 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5879 * LyXAction.C (init):
5881 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
5882 LIGATURE_BREAK, since the name is so stupid.
5884 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5886 * buffer.C (readInset): enable reading of new InsetNotes as well as old
5889 * FontLoader.C: remove FORMS_H_LOCATION cruft.
5891 * sp_form.[Ch]: remove.
5893 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
5895 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
5898 * src/buffer.C (readInset): ditto.
5900 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5902 * BufferView_pimpl.C (specialChar): new method. Obsoletes
5903 menuSeparator(), endOfSentenceDot(), ldots() and
5904 hyphenationPoint(), which are therefore removed.
5905 (Dispatch): handle LFUN_HYPHENATION_BREAK.
5907 * LyXAction.C (init):
5908 * commandtags.h: add LFUN_HYPHENATION_BREAK.
5910 * paragraph.C (getWord): removed.
5912 * BufferView_pimpl.C (Dispatch): use last word or selection for
5913 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
5915 * lyx_main.C (queryUserLyXDir): do not ask before creating
5916 user_dir, except if it has been named explicitely.
5918 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5920 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
5921 a document of zero size.
5923 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5925 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
5926 approriately in the c-tor and in require().
5927 (getPackages): output the appropriate LaTeX for natbib support.
5929 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
5930 variables "use_natbib" and "use_numerical_citations" when reading the
5932 (readInset): read the various natbib cite commands.
5933 (validate): white-space change.
5935 * bufferparams.[Ch]: new variables "bool use_natbib" and
5936 "bool use_numerical_citations".
5937 (writeFile): output them in the LyX file.
5939 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5941 * lyxfunc.C (getStatus): add support for all the inset insertion
5944 * text2.C (insertInset):
5945 * paragraph.C (insetAllowed):
5946 * BufferView_pimpl.C (insertInset): update to take in account the
5947 renaming of insertInsetAllowed
5949 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5951 * text2.C (getInset): new method. returns inset at cursor position.
5953 * BufferView_pimpl.C (Dispatch): changes because of this.
5955 * LyXAction.C (init): rename open-stuff to inset-toggle.
5957 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5959 * text2.C (toggleInset): renamed from openStuff; use
5962 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5964 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5966 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5968 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
5970 * buffer.C (readLyXformat2): Add filename to the error dialog
5972 2001-07-18 Juergen Vigna <jug@sad.it>
5974 * tabular.C (GetCellNumber): put an assert here instead of the check!
5976 2001-07-17 Juergen Vigna <jug@sad.it>
5978 * BufferView_pimpl.C (toggleSelection): adapted too.
5980 * text.C (selectNextWord): adapted for use with insets.
5981 (selectSelectedWord): ditto
5983 2001-07-17 Juergen Vigna <jug@sad.it>
5985 * sp_spell.C (PSpell): fix initialitation order.
5987 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5989 * paragraph.C: spacing
5991 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
5993 * sp_spell.C: repair language selection for pspell
5995 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5997 * lyxfunc.h: change more methods to begin with lower char.
5999 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
6001 * buffer.C (parseSingleLyXformat2Token): Generate error insets
6002 for unknown layouts.
6004 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
6006 * buffer.C (readLyXformat2): Generate an error dialog if there are
6009 2001-07-16 Juergen Vigna <jug@sad.it>
6011 * sp_spell.C: always compile ISpell part.
6013 * lyxrc.C: added use_pspell entry and it's handling.
6015 2001-07-13 Juergen Vigna <jug@sad.it>
6017 * sp_spell.C: removed double includes.
6019 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6021 Consistent use of Lsstream.h:
6022 * Lsstream.h: added using std::stringstream for consistencies sake.
6024 * buffer.C: removed using std::stringstream
6026 * lyxfont.C (stateText):
6027 * paragraph.C (asString):
6028 * text.C (selectNextWord, selectSelectedWord):
6029 * text2.C (setCounter):
6030 * vspace.C (asString, asLatexString):
6031 std::ostringstream -> ostringstream.
6033 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6035 * LyXAction.C: add LFUN_HELP_ABOUTLYX
6036 * commandtags.h: add LFUN_HELP_ABOUTLYX
6037 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6039 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6041 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6043 * lyx_gui_misc.C: remove spellchecker
6044 * lyxfunc.C: showSpellchecker
6046 * sp_ispell.h: added
6047 * sp_pspell.h: added
6049 * sp_form.[Ch]: removed
6050 * spellchecker.[Ch]: removed
6052 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6054 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6056 (simpleTeXSpecialChars): Simply print the input character without
6057 any special translation if pass_thru is set.
6059 * layout.h: Added bool pass_thru to layout class for being able to
6060 implement pass through of a paragraph for Literate Programming.
6062 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6063 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6064 * layout.C (Read): add "passthru" to list of layout tags and add
6065 code to set the pass_thru boolean when it is read.
6067 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6069 * trans_decl.h: remove allowed from KmodInfo
6071 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6075 * paragraph_pimpl.C (erase): use boost::prior
6077 * Painter.C (text): use data() instead of c_str() when length is
6079 * WorkArea.C (putClipboard): ditto
6080 * font.h (width): ditto
6082 * BufferView2.C: use it-> instead of (*it). for iterators
6084 * paragraph_pimpl.C: ditto
6085 * paragraph.C: ditto
6086 * minibuffer.C: ditto
6091 * converter.C: ditto
6093 * Variables.C: ditto
6094 * TextCache.C: ditto
6095 * MenuBackend.C: ditto
6096 * LyXAction.C: ditto
6098 * FloatList.C: ditto
6100 * ColorHandler.C (LyXColorHandler): ditto
6102 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6104 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6106 * text2.C (openStuff): reintroduce this method (which had been
6107 nuked in NEW_INSETS frenzy).
6109 * lyxfunc.C (Dispatch): when an action has not been handled, use
6110 its name in the error message, not its number.
6112 * paragraph.C (inInset): change method name to begin with lowercase.
6115 * text2.C: updates because of this.
6117 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6119 * ToolbarDefaults.C (add): add spaces in error message
6121 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6123 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6124 (readLyXformat2): rename return_par to first_par, use lyxlex's
6125 pushToken and remove the manual push handling.
6126 (parseSingleLyXformat2Token): add another ert comp. variable:
6127 in_tabular, rename return_par to first_par. handle newlines better
6129 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6131 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6133 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6135 * text2.C (getParFromID): removed
6137 * buffer.C (getParFromID): new method moved form lyxtext.
6138 * BufferView2.C (insertErrors): adjust
6139 (setCursorFromRow): adjust
6140 * BufferView_pimpl.C (restorePosition): adjust
6141 * lyxfunc.C (Dispatch): adjust
6142 * undo_funcs.C (textUndo): adjust
6144 (textHandleUndo): adjust
6145 (textHandleUndo): adjust
6147 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6149 * buffer.C: up' the LYX_FORMAT
6151 * lyxfont.h: turn NO_LATEX on as default
6153 * buffer.C (insertErtContents): new methods of tex style compability.
6154 (parseSingleLyXformat2Token): use it several places.
6155 * tabular.C (OldFormatRead): and here
6157 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6159 * text2.C: remove some commented code.
6162 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6163 * trans.C: changes because of the above.
6165 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6167 * text2.C (setCounter): Fix counters bug with bibliography layout.
6169 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6171 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6172 own member functions
6173 (simpleTeXSpecialChars): ditto
6175 2001-07-06 Juergen Vigna <jug@sad.it>
6177 * a lot of files: changed the access to LyXText::status and the
6178 call of undo-functions.
6180 * undo.[Ch]: added a inset_id to the undo informations.
6182 * undo_funcs.[Ch]: added and moved here all undo functions.
6184 * lyxtext.h: give the status enum a weight, made status_ a private
6185 variable and made accessor functions for it, removed the whole bunch
6186 of undo-functions as they are now in their own file, make some
6187 functions publically available. Added function ownerParagraph with
6190 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6191 made InInset() a const function, added getParFromID() function.
6193 * buffer.[Ch]: added const version for inset_iterator functions,
6194 added getInsetFromID() function.
6196 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6197 changed undo functions for new version.
6199 2001-07-05 Juergen Vigna <jug@sad.it>
6201 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6202 unknow mechanism does not call the proper constructor but only this
6203 one also if I request the other!?
6205 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6207 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6209 * text2.C (LyXText): use initialization lists.
6211 * lyxtext.h (Selection): initialize set_ and mark_
6212 (init): remove method
6214 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6216 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6218 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6220 * screen.[Ch]: change method names to begin with lowercase
6222 * BufferView_pimpl.C (updateScrollbar): simplify further and
6223 hopefully make it a bit faster.
6225 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6227 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6228 calling directly xforms functions.
6230 * Painter.C (Painter):
6231 * lyx_cb.C (MenuWrite):
6232 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6235 * lyx_gui.C: remove bogus guiruntime extern declaration.
6237 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6239 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6241 (redoDrawingOfParagraph): ditto
6242 (redoParagraphs): ditto
6243 (cutSelection): don't create a object for CutAndPaste use the
6244 static method directly
6245 (pasteSelection): ditto
6247 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6250 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6252 * modifications to some other files because of this.
6254 * Makefile.am (lyx_SOURCES): add XFormsView
6256 * XFormsView.[Ch]: new files
6258 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6259 the main window. Move the gui dependent stuff to XFormsView
6261 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6263 * tabular.C (GetCellInset): update cur_cell also in the row/col
6264 version of this function.
6266 * lyxfunc.C: no need to include figure_form.h here.
6272 * lyxvc.C: no need to include forms.h here.
6274 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6276 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6278 * lyxfunc.C (Dispatch):
6280 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6281 constructor argument.
6283 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6285 * paragraph.C (Paragraph): dont't clear, and just set layout.
6286 (makeSameLayout): use params's copy contructor.
6288 * ParagraphParameters.[Ch] (makeSame): delete method
6290 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6292 * Variables.[Ch]: fix indentation, rename set to isSet
6294 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6296 * lyxfunc.C (Dispatch): fix typo
6298 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6300 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6303 * bufferlist.C: include assert.h for emergencyWrite().
6305 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6307 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6308 give up at last (bug #425202) !
6310 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6316 * spellchecker.C: strip spellchecker options and bring up
6317 preferences tab instead
6319 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6321 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6322 the istringstream constructor
6324 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6326 * paragraph.C (getLayout): fix return value
6328 * paragraph.h: do not declare getLayout as inline.
6330 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6332 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6334 * lyxcursor.h (operator<): new func
6335 (operator>): new func
6336 (operator>=): new func
6337 (operator<=): new func
6339 * text.C (changeCase): use selection.start and selection.end
6340 (changeRegionCase): require from to be <= to. Require par to be a
6343 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6345 2001-06-27 Juergen Vigna <jug@sad.it>
6347 * text.C (cursorLeftOneWord): changed to return the cursor and added
6348 overlay with BufferView * parameter which calls this one.
6350 (selectWord): use new getWord function.
6351 (changeCase): renamed from changeWordCase as and extended to work
6354 * lyxtext.h: added enum word_location
6356 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6357 changeCase as this operates now also on selections.
6359 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6361 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6363 * many files: send debug output to Debug::INFO instead of
6366 * converter.C (View):
6368 (Move): send debug output to Debug::FILES instead of console.
6370 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6372 * lyxfunc.C (getStatus): use func_status
6374 * func_status.h: new header, describing the results of
6377 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6380 2001-06-25 The LyX Project <jug@sad.it>
6382 * buffer.C (sgmlOpenTag):
6384 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6386 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6388 * text2.C: remove some dead code
6390 * tabular.C (GetCellInset): store the last cell checked (gotten)
6392 * tabular.h: add the helper for the speedup
6394 * lyxtext.h: remove some dead code
6396 2001-06-26 The LyX Project <Asger>
6398 * paragraph.C: Change export to LaTeX of alignment to
6399 \begin{center} and family for better roundtrip work with reLyX.
6401 * Tune the math drawing a bit.
6403 2001-06-25 The LyX Project <Asger>
6405 * LColor.C (LColor): New color for math background. New color
6408 2001-06-25 The LyX Project <jug@sad.it>
6410 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6413 * bufferlist.C (newFile): do not restrict to files ending with
6416 * BufferView_pimpl.C (MenuInsertLyXFile):
6418 2001-06-24 The LyX Project <jug@sad.it>
6420 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6423 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6425 * lyxtext.h: rename most methods to begin with a small char.
6426 Lots of changes because of this.
6428 * paragraph.C (Paragraph): do not call fitToSize
6429 (erase): call Pimpl::erase
6430 (insertChar): call Pimpl::insertChar
6431 (insertInset): call Pipl::insertInset
6432 (breakParagraph): do not call fitToSize
6433 (breakParagraphConservative): do not call fitToSize
6434 (fitToSize): remove method
6436 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6438 2001-06-24 The LyX Project <Asger>
6440 * Fix Qt compilation^2
6442 2001-06-24 The LyX Project <jug@sad.it>
6444 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6445 depthHook(getDepth()-1).
6448 * ParagraphParameters.h:
6449 * ParameterStruct.h: change type of depth to unsigned int ==
6450 depth_type. Many adaptations to other files before of that.
6452 2001-06-24 The LyX Project <Asger>
6454 * Fix Qt compilation.
6456 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6458 * paragraph.h: renamed several methods to begin with small letter.
6459 several changes to many parts of the code because of this.
6461 2001-06-23 The LyX Project <jug@sad.it>
6463 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6464 rewritten to discard all double spaces when KeepEmpty is off
6465 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6466 to only handle newlines but not fiddle with spaces and friends.
6468 * lyxfunc.C (MenuNew): when doing 'new from template', use
6469 template_path as default directory
6471 2001-06-23 The LyX Project <Asger>
6473 * Clean-up of header file includes all over
6474 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6476 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6478 * paragraph.h: renamed from lyxparagraph.h
6480 2001-06-23 Asger <lyx@violet.home.sad.it>
6482 * Buffer.h: Removed Buffer::resize
6483 * BufferList.h: Removed BufferList::resize
6484 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6485 the document lazily when we change the width, or the font settings.
6487 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6489 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6491 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6493 * buffer.h: remove out of date comment
6495 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6498 * screen.C: fix "theoretical" GC leak
6500 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6502 * LaTeX.C (scanAuxFile):
6503 (deplog): remove trailing \r when reading stream (useful under
6506 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6508 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6509 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6510 and BufferView::theLockingInset(Inset*), so should use them and not
6511 access bv_->text->the_locking_inset directly.
6513 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6515 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6518 * tex-defs.h: remove old unused file
6520 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6522 * BufferView_pimpl.C: fix typo, remove minibuffer message
6523 when buffer has loaded
6525 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6527 * lyxfunc.C (Dispatch): use stringstream
6528 (MenuNew): use stringstream
6529 (Open): use stringstream
6531 * importer.C (Import): use stringstream
6533 * bufferview_funcs.C (CurrentState): use stringstream
6535 * LaTeX.C (run): use stringstream
6537 * BufferView_pimpl.C (savePosition): use stringstream
6538 (restorePosition): use stringstream
6539 (MenuInsertLyXFile): use stringstream
6541 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6554 * vspace.C: removed // -*- C++ -*- as first line.
6557 * version.h: added // -*- C++ -*- as first line.
6559 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6561 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6563 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6566 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6568 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6571 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6573 * gettext.C: include LString.h even when --disable-nls is on.
6575 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6577 * converter.h (Get): changed argument type from int to
6578 FormatList::size_type to avoid unnecessary conversion.
6580 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6583 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6585 * gettext.h: include LString.h even when --disable-nls is on.
6587 2001-06-07 Juergen Vigna <jug@sad.it>
6589 * text.C (BreakAgain): subst spaces with tabs.
6591 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6592 (resizeInsetsLyXText): set force on resizeLyXText.
6594 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6596 * gettext.h (gettext_init):
6597 (locale_init): use a real definition instead of a macro
6599 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6601 * Bufferview_pimpl.C:
6603 * LColor.C: further lcolor tidies
6605 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6607 * BufferView_pimpl.C (updateScrollbar): simplify.
6609 * BufferView2.C: don't include insets/insetinfo.h, change
6610 prototype for insertInset and call the Pimpl version. let
6611 updateInset call Pimpl version.
6613 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6614 gotoInset to BufferView::Pimpl
6616 2001-06-01 Juergen Vigna <jug@sad.it>
6618 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6619 inside a LockingInset (is the update needed at all?).
6621 2001-05-31 Juergen Vigna <jug@sad.it>
6623 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6624 here not the old one otherwise how should we compare it afterwards
6627 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6632 * FontInfo.C: bring C functions into global namespace when
6635 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6637 * LString.h: make sure config.h has been loaded before LString.h.
6639 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6640 (one for each char read by EatLine!).
6642 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6645 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6647 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6648 to the same as the par we break from
6650 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6652 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6654 * MenuBackend.C (expand): also create menu entries for wide
6655 versions of the floats.
6657 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6659 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6661 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6662 frontends/Makefile.am
6668 * tabular.C (getTokenValue): add std::
6670 * tabular-old.C (getTokenValue): add std::
6671 (getTokenValue): ditto
6672 (getTokenValue): ditto
6674 * screen.C (ToggleSelection): adjust
6676 * lyxtext.h: put selection cursors inside a Selection struct.
6678 * lyxfunc.C (moveCursorUpdate): adjust
6680 * lyxfont.C (latexWriteStartChanges): add std::
6684 * font.h: delete with(char const *, LyXFont const &)
6686 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6688 * FontInfo.C (getFontname): add std::
6690 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6691 (workAreaButtonPress): adjust
6692 (tripleClick): adjust
6694 (moveCursorUpdate): adjust
6697 * BufferView2.C (gotoInset): adjust
6699 2001-05-30 Juergen Vigna <jug@sad.it>
6701 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6702 to check pspell I add this as default as I now have new pspell
6703 libraries and they seem to use this.
6705 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6707 * text2.C (CutSelection): make the cursor valid before the call to
6710 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6712 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6713 relied on 0 terminated strings and other horrors. Bug found due to
6714 the new assert in lyxstring!
6716 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6719 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6721 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6724 * lyxfunc.C (processKeySym): change method of getting to the
6727 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6728 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6729 * BufferView_pimpl.[Ch]: here as private methods.
6731 2001-05-28 Juergen Vigna <jug@sad.it>
6733 * text.C (SetHeightOfRow): added the update() call again as it is
6734 needed to initialize inset dimensions!
6736 2001-05-16 Juergen Vigna <jug@sad.it>
6738 * text2.C (SetCharFont): Add new function with BufferView * and
6739 bool toggleall parameters for setting insets internal fonts.
6740 (SetFont): Freeze the undo as we may change fonts in Insets and
6741 all this change should be inside only one Undo!
6743 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6744 setting font's in insets as for them we have the SetFont function!
6746 2001-05-15 Juergen Vigna <jug@sad.it>
6748 * text2.C (ClearSelection): to be sure we REALLY don't have any
6751 * tabular.C (TeXCellPreamble): fixed the left border problem for
6754 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6756 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6759 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6761 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6762 LFUN_BREAKPARAGRAPH.
6764 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6765 help test to "internal only", similar for LFUN_INSERT_URL
6767 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6768 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6769 auto_region_delete and deadkeys.
6771 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
6774 * LColor.C: remove some dead entries, tidy a little
6776 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6778 * lyxfunc.C (processKeySym): comment the Escape handling, remove
6780 (Dispatch): implement LFUN_ESCAPE
6782 * commandtags.h: add LFUN_ESCAPE
6784 * LyXAction.C (init): add entry for LFUN_ESCAPE
6786 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6787 Remove commented code.
6788 (insertNote): moved here
6789 (open_new_inset): moved here
6791 * BufferView[2].[Ch]: move insertNote and open_new_inset to
6794 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6796 * kbmap.C (findbinding): clean it up and make it work correctly.
6798 * lyx_main.C (init): do not pass argc and argv as parameters
6800 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6802 * buffer.C: fix path for OS/2 & Win32
6806 * lyx_main.C: Added os:: class.
6808 * os2_defines.h: update
6810 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6812 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6813 better by trying again with reduced state.
6815 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6817 * lyxrc.C (read): print error about invalid key sequence only when
6818 debugging (because not all latinX keysyms are known to some X
6821 * kbsequence.C (getiso): add a few std:: qualifiers
6822 (getiso): comment out extra return statement.
6824 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
6826 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6828 (Dispatch): enhance the accent inset a bit. (not perfect)
6830 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6832 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6834 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6836 * bufferlist.C (emergencyWrite): fix assert() call
6838 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
6840 * text.C (InsertChar): Added trivial patch to only send the "you
6841 can not do multiple spaces this way" message once during a
6844 2001-05-08 Baruch Even <baruch@lyx.org>
6846 * Makefile.am: Changed order of libraries to get LyX to link properly
6847 with the gnome frontend.
6849 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6851 * LaTeXFeatures.h: add a std:: qualifier
6853 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6855 * paragraph.C (String): use stringstream
6857 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6859 * paragraph.C (writeFile): remove footflag arg
6861 * buffer.C (makeLaTeXFile): use stringstream
6862 (latexParagraphs): remove footnot gurba
6864 * LaTeXFeatures.C (getPackages): use stringstream
6865 (getMacros): likewise
6866 (getTClassPreamble): likewise
6867 (getFloatDefinitions): new method
6869 * paragraph.C (writeFile): reindent
6872 * WorkArea.h: revert the xpos + etc changes.
6874 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
6876 * lyxparagraph.[Ch]: add copy constructor, remove Clone
6878 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6879 (pasteSelection): likewise
6880 * text2.C (CreateUndo): likewise
6882 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6884 * minibuffer.C (peek_event): temporarily reduce the functionality
6885 of the minibuffer (to allow args on lfuns)
6887 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
6888 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
6890 * buffer.C (readInset): add compability reading of old float
6891 lists, add reading of new style float list.
6892 (readInset): avoid reevaluation of inscmd.getCmdName()
6893 (getLists): reindent
6895 * MenuBackend.C (MenuItem): implement parsing of
6896 md_floatlistinsert and md_floatinsert.
6897 (expand::LastFiles): move initalizaton of iterators out of loop,
6899 (expand::Documents): introduce typdedef vector<string> Strings,
6901 (expand::ExportFormats): introduce typedef vector<Format const *>
6902 Formats, and use it.
6903 (expand): implement FloatListInsert and FloatInsert.
6905 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
6906 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
6907 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
6909 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
6911 (Dispatch::LFUN_FLOAT_LIST): implement
6913 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6915 * LaTeX.C (run): Fix problem with --export code.
6917 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6919 * BufferView.[Ch] (workarea): removed.
6920 (getClipboard) new method; wrapper for workarea()->getClipboard()
6922 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
6925 * WorkArea.h (width, height, xpos, ypos): These methods all
6926 returned the dimensions of the work_area sub-area of WorkArea,
6927 resulting in a position error if the WorkArea were resized. Now
6928 return the dimensions of the entire WorkArea.
6930 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
6932 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6934 * LaTeX.C (deplog): correct the syntax of regex reg1
6936 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6938 * undo.C: remove !NEW_INSETS cruft
6940 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6942 * text2.C: remove !NEW_INSETS cruft
6944 * text.C: remove !NEW_INSETS cruft
6946 * tabular.C: remove !NEW_INSETS cruft
6948 * spellchecker.C: remove !NEW_INSETS cruft
6950 * lyxtext.h: remove !NEW_INSETS cruft
6952 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6954 * lyxfunc.C: remove !NEW_INSETS cruft
6956 * lyxfind.C: remove !NEW_INSETS cruft
6958 * lyx_cb.C: remove !NEW_INSETS cruft
6960 * figureForm.C: remove !NEW_INSETS cruft
6962 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6964 * buffer.[Ch]: remove !NEW_INSETS cruft
6966 * ToolbarDefaults.C: remove !NEW_INSETS cruft
6968 * CutAndPaste.C: remove !NEW_INSETS cruft
6970 * BufferView_pimpl.C: remove !NEW_INSETS cruft
6972 * BufferView2.C: remove !NEW_INSETS cruft
6974 * BufferView.h: remove !NEW_INSETS cruft
6976 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6978 * Lsstream.h: include LString.h before the sstream headers to
6979 fix problem with gcc 2.95.3 and lyxstring
6981 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6983 * lyx_main.C: add using directives when needed for C functions
6984 declared in std:: namespace.
6986 2001-04-27 Juergen Vigna <jug@sad.it>
6988 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6989 (SetHeightOfRow): comment out the update call should not be needed!
6991 2001-04-13 Juergen Vigna <jug@sad.it>
6993 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6994 (LyXTabular): tried to minimize operator= operations (and realized
6995 hopfully Lars wish).
6997 2001-04-27 Juergen Vigna <jug@sad.it>
6999 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
7001 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7003 * lyxfunc.C (Dispatch): hack to make listof algorithm work
7005 * buffer.C (readInset): hack to make listof algorithm work
7007 * BufferView_pimpl.C: hack to make listof algorithm work
7009 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7011 * LyXAction.C: removed all !NEW_INSETS cruft
7012 (init): moved lfun_item in method
7014 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
7016 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
7018 * BufferView2.C (theLockingInset): white space.
7020 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7022 * minibuffer.C: include <iostream>
7024 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
7026 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
7028 * commandtags.h: add LFUN_TRANSPOSE_CHARS
7030 * text.[Ch] (TransposeChars): new method
7032 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7034 * call message directly through LyXView instead of through LyXFunc
7035 * BufferView2.C: adjust
7036 * BufferView_pimpl.C: adjust
7037 * FontLoader.C: adjust
7039 * bufferview_funcs.C: adjust
7040 * converter.C: adjust
7041 * figureForm.C: adjust
7042 * importer.C: adjust
7044 * lyx_gui_misc.C: adjust
7048 + more files in subdirs
7050 * lyxparagraph.h (size): move up int file
7053 * adjust all uses of Assert to lyx::Assert.
7055 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7056 lyxfunctional in namespace lyx
7057 * layout.C (hasLayout): ditto
7060 (delete_layout): ditto
7061 (NumberOfClass): ditto
7062 * converter.C (GetFormat): ditto
7067 * bufferlist.C (getFileNames): ditto
7068 (emergencyWriteAll): ditto
7071 * MenuBackend.C (hasSubmenu): ditto
7074 * BufferView_pimpl.C (getInsetByCode): ditto
7076 2001-04-18 Juergen Vigna <jug@sad.it>
7078 * vspace.C (asLatexString): fixed the 100% problem.
7080 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7082 * lyxfunc.C (Dispatch):
7084 * minibuffer.h: add a few std:: qualifiers
7086 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7088 * minibuffer.[Ch]: reimplement so that commands is initiated and
7089 run from lyxfunc, simplified som handling, and made the completion
7090 and history code for complete. wip.
7092 * lyxfunc.C (processKeySym): call message
7093 (miniDispatch): new temporary method
7094 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7095 (LFUN_MESSAGE): implement
7096 (LFUN_MESSAGE_PUSH): implement
7097 (LFUN_MESSAGE_POP): implement
7098 (initMiniBuffer): the initial/defualt minibuffer message.
7100 * lyxfont.[Ch]: inline some more getters
7102 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7104 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7106 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7107 (AutoSave): use LFUN_MESSAGE
7108 (Reconfigure): ditto
7110 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7112 * figureForm.C: use LFUN_MESSAGE
7114 * converter.C (runLaTeX): use LFUN_MESSAGE
7116 * bufferview_funcs.C: use LFUN_MESSAGE
7118 (changeDepth): ditto
7120 * bufferparams.h: use boost::
7122 * bufferlist.h: inherit privately from noncopyable
7124 * bufferlist.C (loadLyXFile): remove some commented code.
7126 * buffer.C (runChktex): use LFUN_MESSAGE
7128 * ShareContainer.h: inherit privately from noncopyable
7130 * ParagraphParameters.[hC] (depth): inline it.
7132 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7134 (message): new method
7135 (messagePush): ditto
7137 (show): init minibuffer
7138 (showState): direct call
7140 * LaTeX.[Ch]: inherit privately from noncopyable
7141 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7142 instead of WriteStatus.
7144 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7146 * BufferView_pimpl.C (buffer): don't init minibuffer
7147 (workAreaButtonPress): use LFUN_MESSAGE
7148 (workAreaButtonRelease): ditto
7149 (savePosition): ditto
7150 (restorePosition): ditto
7151 (MenuInsertLyXFile): ditto
7152 (workAreaExpose): don't init minibuffer
7153 (update): remove commented code, simplify
7155 * BufferView2.C (openStuff): use LFUN_MESSAGE
7156 (toggleFloat): ditto
7159 (copyEnvironment): ditto
7160 (pasteEnvironment): ditto
7165 (updateInset): remove some commented code
7167 * lastfiles.h: inherit privately from noncopyable
7172 * lyxlex_pimpl.h: ditto
7174 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7175 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7176 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7178 * LyXAction.h: inherit privately from noncopyable, add methods
7179 func_begin, func_end, returning iterators to the func map.
7181 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7182 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7183 (func_begin): new method
7184 (func_end): new method
7186 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7188 (copySelection): ditto
7189 (pasteSelection): ditto
7191 * BufferView.C: whitespace change
7192 * BufferView.h: inherit privately from noncopyable
7194 2001-04-16 Allan Rae <rae@lyx.org>
7196 * tabular-old.C (l_getline):
7197 * spellchecker.C (sc_check_word):
7198 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7199 an unrecognised preprocessor directive. So ensure they're wrapped.
7201 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7203 * src/exporter.C (Export): Give an error message when path to file
7206 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7208 * LaTeX.C (deplog): Always check that foundfile exists.
7210 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7213 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7215 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7217 * tabular.[Ch] (getLabelList): implement new method
7219 * minibuffer.h: comment ouf setTiimer
7221 * minibuffer.C (ExecutingCB): constify res
7222 (peek_event): constify s
7223 (Set): constify ntext
7224 (Init): constify nicename
7226 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7228 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7229 (savePosition): use two params to Minibuffer::Set
7230 (restorePosition): ditto
7232 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7234 * lyx_main.C: include language.h
7236 * Makefile.am (lyx_main.o): add language.h
7238 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7244 * CutAndPaste.C: include gettext.h
7246 * lyxfont.h: remove old hack with ON and OFF.
7249 * lyxfont.h: do not include language.h...
7254 * bufferview_funcs.C:
7260 * paragraph.C: ... but do it here instead
7262 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7264 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7266 * tabular.C: small reformat
7268 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7271 (BreakParagraph): ditto
7272 (SetOnlyLayout): ditto
7275 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7278 * lastfiles.C: removed most using decl, add std:: where needed
7280 * buffer.C: ws changes
7282 * MenuBackend.C (class compare_format): put into anon namespace
7283 (expand): constify label, names, action, action2
7286 * text.C (SingleWidth): constify font
7287 (IsBoundary): constify rtl2
7288 (GetVisibleRow): constify ww
7290 * LaTeX.C (deplog): constify logfile
7292 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7294 (workAreaExpose): constify widthChange, heightChange
7296 * lyxrow.C (par): moved
7299 * lyxrow.h: as inlines here
7301 * lyxfont.h (shape): moved from lyxfont.C
7302 (emph): moved from lyxfont.C
7304 * lyxfont.C (LyXFont): use initialization list for all
7306 (shape): move to lyxfont.h as inline
7307 (emph): move to lyxfont.h as inline
7310 2001-04-04 Juergen Vigna <jug@sad.it>
7312 * vspace.C: had to include stdio.h for use of sscanf
7314 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7317 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7318 independent of xforms.
7320 2001-04-02 Juergen Vigna <jug@sad.it>
7322 * spellchecker.C: fixed namespace placing!
7324 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7326 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7327 the LyXParagraph * is 0.
7329 2001-03-29 Juergen Vigna <jug@sad.it>
7331 * vspace.C: added support for %, c%, p%, l%.
7332 (stringFromUnit): added helper function.
7333 (asLatexString): changed to give right results for the %-values.
7335 * buffer.C: convert the widthp in a width%.
7337 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7339 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7342 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7343 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7345 * lyx_cb.[Ch]: see above.
7347 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7351 * lyx.[Ch]: replaced by figure_form.[Ch].
7355 * lyxfunc.C: changed headers associated with above changes.
7357 2001-03-27 Juergen Vigna <jug@sad.it>
7359 * BufferView_pimpl.C: set the temporary cursor right!
7361 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7363 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7365 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7367 * LString.h: removed "using std::getline"!
7369 * BufferView_pimpl.C (Dispatch): changes due to changes in
7370 InsetInclude::Params.
7372 * buffer.C (tag_name): removed redundant break statements as they were
7373 producing lots of warnings with my compiler.
7375 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7377 * LString.h: add "using std::getline" when using the real <string>.
7379 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7381 * buffer.C: removed bitset usage.
7382 PAR_TAG moved to an anonymous name space.
7383 (tag_name): new funtion, also in the anonymous namespace.
7384 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7385 (makeDocBookFile): clean code. Completed transition from string arrays
7387 (SimpleDocBookOnePar): code clean.
7389 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7391 * tabular.C: add some comments.
7393 2001-03-22 Juergen Vigna <jug@sad.it>
7395 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7396 compatibility read a bit and fixed bug with minipage in different
7399 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7401 * buffer.C (pop_tag): removed.
7402 (push_tag): removed.
7403 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7404 array replaced with vector. Added support for CDATA sections.
7405 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7407 (makeDocBookFile): XML conformant declaration of CDATA section,
7408 fixed bug related to <emphasis> in the first paragraph char.
7409 (sgmlOpenTag): exclude empty tags.
7410 (sgmlCloseTag): ditto.
7412 * buffer.h (pop_tag): removed.
7413 (push_tag): removed.
7415 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7417 * language.h (Languages): added size_type and size().
7419 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7421 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7422 response on compability reading of minipages. One probliem is that
7423 the old usage of minipages was «flertydig»
7425 * several files here and in subdirs: don't use static at file
7426 scope use anon namespaces instead.
7428 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7430 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7431 LaTeX output. This is necessary for Literate document
7434 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7436 * buffer.C: insert hfill when needed.
7438 * tabular.C (l_getline): use string::erase, small whitespace change.
7440 * BufferView_pimpl.C: try the anon namespace.
7443 2001-03-16 Juergen Vigna <jug@sad.it>
7445 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7446 otherwise it won't open options-dialogs.
7448 * buffer.C: honor pextraWidth(p) on converting minipages.
7450 * tabular.C (l_getline): changed the functions to strip trailing \r.
7452 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7454 * BufferView_pimpl.C:
7455 * minibuffer..C: added "using SigC::slot" declaration.
7457 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7459 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7465 * paragraph.C: ditto
7467 * lyxtext.h: NO_PEXTRA
7469 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7471 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7472 * ParameterStruct.h: ditto
7473 * ParagraphParameters.h: ditto
7474 * lyxparagraph.h: ditto
7476 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7478 * buffer.C: add compability for minipage alignment.
7479 (latexParagraphs): remove unwanted pextra check.
7481 * several files: remove CXX_WORKING_NAMESPACES
7483 * buffer.C (pop_tag): tie is in namespace boost
7485 * BufferView.h: noncopyable is in namespace boost
7490 * lastfiles.h: ditto
7491 * bufferlist.h: ditto
7492 * ShareContainer.h: ditto
7494 * LyXAction.h: ditto
7497 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7499 * Merging changes from BRANCH_MVC back into HEAD.
7501 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7503 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7505 * BufferView_pimpl.C: change from intl.C
7509 * Makefile.am: move combox.*
7515 * intl.C: remove dialog (covered by prefs)
7517 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7519 * lyxfunc.C (Dispatch): removed redundant break statement.
7521 2001-03-14 Juergen Vigna <jug@sad.it>
7523 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7525 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7527 * buffer.C: add hack to fix compability reading of minipages.
7529 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7531 * buffer.C (getLists): Cleanup.
7533 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7535 * lyxfont.C (update): don't honor toggleall on font size.
7537 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7541 * Makefile.am: moved to frontends/xforms/
7545 * BufferView_pimpl.C: changes for moved mathpanel
7547 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7549 * gettext.h: fix gettext_init() in --disable-nls
7551 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7553 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7555 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7558 * lyx.h: strip external form
7560 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7562 * BufferView_pimpl.C: add comment, destroySplash()
7564 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7566 * BufferView_pimpl.C:
7570 * lyxfunc.C: use re-worked insetinclude
7572 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7574 * buffer.C: add using std::stringstream.
7576 * lyx_cb.C: readd using std::ios.
7578 * buffer.C: add using std::map.
7580 * BufferView_pimpl.C: add using std::vector.
7582 * ShareContainer.h: add std:: to swap.
7584 * buffer.h: add some typedefs
7585 * buffer.C (getLists): use them
7586 (getLists): renamed from getTocList.
7587 add a counter for the different float types and use it in the
7589 (getLists): use the same counter for the NEW_INSETS and the "non"
7592 * lyx_cb.h: remove unused items, includes, using etc.
7594 * ShareContainer.h: remove some commented code, add more comments
7595 and "documentation".
7597 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7599 * buffer.C (getTocList): make the list also when NEW_INSETS is
7602 * buffer.h: remove TocType
7604 * buffer.C (getTocList): change to return a map<string,
7605 vector<TocItem> >, implement for dynamic number of list.
7607 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7608 * text2.C (PasteSelection): adjust
7609 * CutAndPaste.C (pasteSelection): adjust
7611 * FloatList.C (FloatList): update from the new_insets branch.
7612 * Floating.[Ch]: ditto
7613 * LaTeXFeatures.C: ditto
7615 * lyxlex_pimpl.C: ditto
7617 * paragraph.C (Last): remove when NEW_INSETS is defined.
7619 * other file: changes because of the above.
7621 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7623 * lyxparagraph.h: rename next to next_, previous to previous_,
7624 make them private for NEW_INSETS. Rename Next() to next(),
7625 Previous() to previous().
7627 * other files: changes because of the above.
7629 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7632 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7635 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7637 * main.C (main): pass lyx_localedir to gettext_init().
7639 * gettext.h: remove locale_init and gettext_init macros
7641 * gettext.C (locale_init): new function
7642 (gettext_init): new function
7644 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7647 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7649 * Moved credits to frontends:
7650 * credits.[Ch]: removed
7651 * credits_form.[Ch]: removed
7652 * lyx_gui_misc.C: remove credits stuff
7655 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7657 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7659 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7660 unneeded destructor.
7662 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7663 a standalone pointer again.
7665 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7667 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7673 * ToolbarDefaults.C:
7682 * BufferView_pimpl.C: use new file dialog in GUII
7685 * lyx_cb.C: remove LayoutsCB to Toolbar
7687 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7689 * ShareContainer.h (get): add std:: qualifier
7691 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7693 * ShareContainer.h: define a proper ShareContainer::value_type
7694 type (and use typename to please compaq cxx)
7696 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7698 * lyxparagraph.h: move serveral local vars to
7699 ParameterStruct/ParagraphParameters., use ShareContainer in
7700 FontTable., make vars in FontTable private and add getter and
7703 * paragraph.C: changes because of the above.
7705 * lyxfont.h: remove copy constructor and copy assignment. (the
7706 default ones is ok), move number inside FontBits. move inlines to
7709 * lyxfont.C: add number to initializaton of statics, move several
7710 inlines here. constify several local vars. some whitespace
7711 cleanup. Dont hide outerscope variables.
7713 * Spacing.h: add two new constructors to match the set methods.
7715 * ShareContainer.h: new file, will perhaps be moved to support
7717 * ParameterStruct.h: new file
7719 * ParagraphParameters.h: new file
7721 * ParagraphParameters.C: new file
7723 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7724 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7726 * BufferView_pimpl.C: ParagraphParameter changes.
7727 * buffer.C: Likewise.
7728 * bufferview_funcs.C: Likewise.
7730 * text2.C: Likewise.
7732 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7734 * lyxfind.C (LyXReplace): do not redefine default argument in
7736 (IsStringInText): ditto
7737 (SearchForward): ditto
7738 (SearchBackward): ditto
7740 2001-03-06 Juergen Vigna <jug@sad.it>
7742 * lyxfind.C (IsStringInText): put parentes around expressions.
7744 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7746 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7748 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7750 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7752 * stl_string_fwd.h: add comment
7754 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7757 * tabular.C: remove unused DocBook methods
7763 killed DO_USE_DEFAULT_LANGUAGE
7765 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7767 * lyx_gui.C: do not include language.h.
7769 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7770 arguments in function implementation.
7772 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7774 * BufferView_pimpl.C: add <ctime>
7776 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7778 * BufferView_pimpl.C: add using std::find_if
7780 2001-02-27 José Matos <jamatos@fep.up.pt>
7782 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7785 2001-02-11 José Matos <jamatos@fep.up.pt>
7787 * buffer.C (makeDocBookFile): command styles now have a parameter as
7790 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
7792 * layout_forms.[Ch]: removed
7793 * lyx_cb.[Ch]: out character
7794 * lyx_gui.C: out character
7795 * lyx_gui_misc.C: out character
7796 * bufferview_funcs.C: : out character,
7797 added toggleall as parameter in ToggleAndShow
7799 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
7801 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7803 * text2.C (SetCurrentFont): Disable number property at boundary.
7805 2001-02-26 Juergen Vigna <jug@sad.it>
7807 * lyxfunc.C (getStatus): added a string argument override function so
7808 that this is correctly called from LyXFunc::Dispatch if it contains a
7809 do_not_use_argument which is used!
7810 (Dispatch): added check for "custom" export and call appropriate func.
7812 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
7814 * lyxrc.C: Add language_command_local, language_use_babel and
7815 language_global_options.
7817 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7819 * buffer.C (makeLaTeXFile): Use language_use_babel and
7820 language_global_options.
7822 2001-02-23 Juergen Vigna <jug@sad.it>
7824 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7825 which works with LyXText and putted it inside BufferView. Here now we
7826 only call for that part the BufferView::Dispatch() function.
7828 * BufferView.C (Dispatch): added.
7830 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7831 functions which needs to use a LyXText over from LyXFunc.
7832 (MenuInsertLyXFile): added
7833 (getInsetByCode): added
7834 (moveCursorUpdate): added
7835 (static TEXT): added
7837 2001-02-22 Juergen Vigna <jug@sad.it>
7839 * BufferView_pimpl.C (update): call a status update to see if LyXText
7842 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7844 * vc-backend.C (revert): implement for CVS
7845 (getLog): implement for CVS
7847 2001-02-20 Juergen Vigna <jug@sad.it>
7849 * text2.C (ClearSelection): added BufferView param for inset_owner call
7851 * lyxfunc.C (TEXT): added this function and use it instead of
7852 directly owner->view()-text of getLyXText().
7854 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
7856 * src/layout_forms.C: out preamble
7857 * src/layout_forms.h: out preamble
7858 * src/lyx_cb.C: out preamble
7859 * src/lyx_cb.h: out preamble
7860 * src/lyx_gui.C: out preamble
7861 * src/lyx_gui_misc.C: out preamble
7862 * src/lyxfunc.C: connect with guii preamble
7864 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7866 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7868 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
7870 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7871 whether to run bibtex.
7873 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
7875 * Makefile.am (lyx_SOURCES): Remove BackStack.h
7877 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7879 * Makefile.am (lyx_SOURCES): removed bibforms.h
7883 * text.C (GetVisibleRow): make several local vars const
7885 * tabular.C: small cleanup.
7887 * lyxserver.C (callback): use compare instead of strncmp
7889 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
7890 inlines to after class or to paragraph.C
7892 * lyxfont.h: remove friend operator!=
7894 * converter.h: move friend bool operator< to non friend and after
7897 * combox.h: small cleanup
7899 * buffer.h: doxygen, remove unused constructor, move inclas inlies
7900 to inlines after class def.
7902 * buffer.C (pop_tag): use string operations instead of strcmp
7904 * bmtable.c: doxygen, small cleanup
7906 * LaTeX.h: remove friend operator==
7908 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7920 * BufferView_pimpl.C:
7921 * BufferView.[Ch]: remove cruft
7923 2001-02-14 Juergen Vigna <jug@sad.it>
7925 * lyxfunc.C: removed #if 0 unused code
7927 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
7929 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
7931 * text2.C (SetSelection): added a BufferView * parameter
7933 2001-02-13 Juergen Vigna <jug@sad.it>
7935 * lyxfunc.C (Dispatch): fixed protected blank problem.
7936 * BufferView2.C (protectedBlank): added LyxText * parameter.
7938 * tabular.C (AppendRow): forgot to set row_info of newly added row.
7939 (AppendColumn): same as above for column_info.
7941 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7942 (moveCursorUpdate): use a LyXText param for support of InsetText.
7944 * BufferView_pimpl.C (doubleClick): added support for InsetText.
7945 (tripleClick): ditto
7947 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7949 * BufferView_pimpl.C (update): added LyXText param to honor insets.
7951 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7953 * text2.C (SetSelection): set correct update status if inset_owner
7956 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
7958 * tabular.C: remove some commented code.
7960 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7962 * BufferView_pimpl.C: call hideSplash()
7964 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7967 * bibforms.h: remove
7970 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7971 add LFUN_CHILD_CREATE
7973 * counters.h: fix tiny typo
7978 * lyx.C: move splash to frontends/xforms/
7980 * lyx_gui_misc.C: move Include and Bibform to frontends
7982 * lyxvc.h: clarify comment
7984 * vspace.C: tiny housekeeping
7986 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7988 * text.C (PrepareToPrint): RTL Fix.
7990 * paragraph.C (GetUChar): New method.
7991 (String): Use GetUChar.
7993 * buffer.C (asciiParagraph): Use GetUChar.
7995 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7997 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7999 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
8002 * buffer.C: rename to getLogName(), handle
8003 build log / latex log nicely
8005 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8008 * MenuBackend.h: remove support for reference menuitem type.
8010 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
8012 * BufferView_pimpl.C: housekeeping
8013 * BufferView_pimpl.h:
8018 * minibuffer.h: move Timeout GUI-I
8020 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
8022 * lyxrc.C (read): Update converters data-structures.
8024 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
8026 * LaTeX.h (operator!=): add operator != for Aux_Info
8028 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
8030 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
8032 * LaTeXLog.C: deleted, useful code moved to Buffer
8035 * buffer.C: new function getLatexLogName()
8041 * lyxfunc.C: use frontends for LaTeX and VC logs
8043 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8045 * LaTeX.h: yet another std:: that Allan forgot.
8047 * Variables.C (set): renamed from isset(), because this clashes
8048 with some HP-UX macros (grr).
8050 2001-02-06 Allan Rae <rae@lyx.org>
8052 * LaTeX.h: Another bug fix. Missing std:: this time.
8054 2001-02-04 Allan Rae <rae@lyx.org>
8056 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8057 floats problem. I've left it commented out because it's not quite
8058 correct. It should also test that the current object is a table or
8059 figure inset. But I haven't gotten around to figuring out how to do
8060 that. I *think* it'll be something like: "table" == inset.type()
8062 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8065 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8067 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8068 all the citation/databases/styles in the auxilary file.
8069 (run): Rerun latex if there was a babel language error.
8071 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8073 * text.C (Backspace): Preserve the font when changing newline char
8075 (BreakParagraph): If the cursor is before a space, delete the space.
8077 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8079 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8081 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8082 new argument (code).
8083 (ChangeCitationsIfUnique): New method.
8085 * paragraph.C (GetPositionOfInset): Handle bibkey.
8087 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8089 * BufferView_pimpl.h: change type of Position::par_pos to
8090 LyXParagraph::size_type.
8092 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8094 * BufferView_pimpl.C (savePosition, restorePosition): Write
8095 messages to minibuffer.
8097 2001-01-28 José Matos <jamatos@fep.up.pt>
8099 * buffer.C (makeDocBookFile): adds support for document language.
8100 A silly restriction on the name of LatexCommand types where removed.
8101 Added support for CDATA sections, allows to chars unescaped, used
8102 among others in code, to avoid escape < and >.
8104 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8106 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8107 saved positions instrad of a stack. Furthermore, a position is
8108 stored using paragraph id/paragraph position.
8110 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8111 Remove LFUN_REF_BACK.
8113 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8115 * converter.C (dvipdfm_options): New method.
8117 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8119 * vspace.C (isValidLength): Fix for empty input string.
8121 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8123 * LyXAction.C (init): change description of LFUN_FIGURE to
8126 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8128 * LaTeX.C: add using directive
8130 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8132 * MenuBackend.C (expand): Fix the sorting of the formats.
8134 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8136 * lyx_main.C: tiny error message fix
8138 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8140 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8141 calling fl_initialize(). This fixes the problem with ',' as
8142 decimal separator in text files.
8144 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8146 * trans.C (process): Fix the keymap bug.
8148 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8150 * LaTeX.C (scanAuxFiles): New method. Provides support for
8151 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8152 (scanLogFile) Scan for "run BibTeX" messages.
8154 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8155 OT1 font encoding. Also, load the aecompl package if the ae
8158 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8160 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8162 * texrow.C (increasePos): turn two error messages into debug
8165 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8167 * LaTeX.C (scanAux): Handle the \@input macro.
8168 (runBibTeX): Use scanAux().
8170 * language.C (latex_options_): New field.
8172 * LaTeXFeatures.C (getMacros): Add language macros.
8174 * buffer.C (makeLaTeXFile): Small fix.
8176 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8178 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8180 * text2.C: add a using directive.
8182 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8187 * lyxfunc.C: kill LyXBell.
8189 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8191 * text.C (IsBoundary): Remove the error message
8193 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8195 * lyxrc.C (setDefaults): Correct initialization value for
8198 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8200 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8203 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8206 * src/LyXAction.C: Added reference-next.
8208 * text.C (InsertChar): Use contains instead of strchr.
8210 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8212 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8214 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8215 alignment commands (when needed).
8217 * text.C (InsertChar): Add ':' to number separator chars.