1 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
6 * Makefile.am (LIBS): delete var
7 (lyx_LDADD): add @LIBS@ here instead.
9 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
11 * Clarify the meaning of "wheel mouse jump"
13 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
18 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
20 * importer.C (Loaders): do not preallocate 3 elements in the
21 vector, since one ends up with 6 elements otherwise
23 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
25 * DepTable.C (write): write the file name as last element of the
26 .dep file (because it may contain spaces)
27 (read): read info in the right order
29 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
31 * paragraph_pimpl.C (simpleTeXBlanks):
32 (simpleTeXSpecialChars):
33 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
35 * tabular.C (latex): add some missing case statements. Reindent.
37 * MenuBackend.C (expandToc): remove unused variable.
39 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
48 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
51 2003-01-05 John Levon <levon@movementarian.org>
54 * BufferView.C: add getEncoding()
57 * kbsequence.C: do not store last keypress
60 * lyxfunc.C: store last keypress here instead. Pass encoding
63 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
65 * lyx_main.C (init): remove annoying error message when following
66 symbolic links (bug #780)
68 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
70 * text.C (insertChar):
71 * lyxrc.C (getDescription): remove extra spaces
73 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
75 * lyxrc.C (getDescription): remove extra spaces
77 2002-12-20 John Levon <levon@movementarian.org>
79 * text3.C: hack fix for page up/down across tall rows
81 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
83 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
86 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
88 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
89 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
90 thesaurus is not compiled in
92 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
94 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
96 2002-12-16 Angus Leeming <leeming@lyx.org>
99 * lyx_main.C (init): remove override_x_deadkeys stuff.
101 2002-12-12 John Levon <levon@movementarian.org>
103 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
104 insert. Only remove shift modifier under strict
107 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
109 * MenuBackend.C (expandToc): fix crash.
111 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
113 * MenuBackend.C (expandToc): gettext on float names.
115 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
117 * lyxlength.[Ch]: set default unit to UNIT_NONE,
118 implement bool empty() [bug 490]
120 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
122 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
124 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
126 * several files: ws changes
128 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
130 * text2.C (setCounter): clean up a bit, use boost.format.
131 (updateCounters): initialize par upon declaration.
133 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
134 if the layout exists. We do not just store the layout any more.
135 (SwitchLayoutsBetweenClasses): use boost.format
137 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
139 * converter.C (convert): if from and to files are the same, use a
140 temporary files as intermediary
142 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
145 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
147 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
149 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
151 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
153 * tabular.C (asciiPrintCell): use string(size, char) instead of
156 * sgml.C (openTag): fix order of arguments to string constructor
159 * lyxfunc.C (dispatch): use boost.format
161 * lots of files: change "c" -> 'c'
163 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
165 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
167 2002-11-25 Angus Leeming <leeming@lyx.org>
169 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
171 * lyx_main.C (init): compile fix.
173 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
175 * lyx_cb.C (start): boost.formatify
176 do not include <iostream>
178 * lengthcommon.C: ws only
180 * boost-inst.C,BoostFormat.h: add more explict instantations
182 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
184 * lots of files: handle USE_BOOST_FORMAT
186 2002-11-21 John Levon <levon@movementarian.org>
188 * pspell.C: fix compile
190 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
192 * lyxfunc.C (dispatch): use boost::format
196 * lyxfont.C (stateText): use boost::format
198 * lyx_main.C (LyX): use boost::format
200 (queryUserLyXDir): ditto
203 (typedef boost::function): use the recommened syntax.
205 * importer.C (Import): use boost::format
207 * debug.C (showLevel): use boost::format
209 * converter.C (view): use boost::format
214 * bufferview_funcs.C (currentState): use boost::format
216 * bufferlist.C (emergencyWrite): use boost::format
218 * buffer.C (readLyXformat2): use boost::format
219 (parseSingleLyXformat2Token): ditto
221 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
223 * LaTeX.C (run): use boost::format
225 * Chktex.C (scanLogFile): use boost::format
227 * BufferView_pimpl.C (savePosition): use boost::format
228 (restorePosition): ditto
229 (MenuInsertLyXFile): ditto
231 * BoostFormat.h: help file for explicit instation.
233 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
235 * tabular.C (latex): Support for block alignment in fixed width
238 2002-11-17 John Levon <levon@movementarian.org>
240 * BufferView_pimpl.C:
242 * lyxfunc.C: split filedialog into open/save
244 2002-11-08 Juergen Vigna <jug@sad.it>
246 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
247 by my last patch (hopefully).
249 2002-11-08 John Levon <levon@movementarian.org>
258 * toc.C: ParConstIterator, and use it (from Lars)
260 2002-11-07 Ben Stanley <bds02@uow.edu.au>
262 * lyxtextclass.[Ch]: revise and add doxygen comments
264 2002-11-07 John Levon <levon@movementarian.org>
266 * text.C: fix progress value for spellchecker
268 * toc.C: fix navigate menu for insetwrap inside minipage
270 * paragraph_funcs.C: added FIXME for suspect code
272 2002-11-07 John Levon <levon@movementarian.org>
274 * BufferView_pimpl.C: fix redrawing of insets
277 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
279 * text2.C (updateCounters): fix bug 668
281 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
283 * text3.C (dispatch): Do not make the buffer dirty when moving the
286 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
288 * vc-backend.C: STRCONV
291 * text2.C (setCounter): STRCONV
293 * paragraph.C (asString): STRCONV
295 * lyxlength.C (asString): STRCONV
296 (asLatexString): ditto
298 * lyxgluelength.C (asString): STRCONV
299 (asLatexString): ditto
301 * lyxfunc.C (dispatch): STRCONV
304 * lyxfont.C (stateText): STRCONV
306 * importer.C (Import): STRCONV
308 * counters.C (labelItem): STRCONV
310 (numberLabel): remove unused ostringstream o
315 * bufferview_funcs.C (currentState): STRCONV
317 * buffer.C (readFile): STRCONV
318 (asciiParagraph): ditto
319 (makeLaTeXFile): ditto
321 * Spacing.C (writeEnvirBegin): STRCONV
323 * LaTeXFeatures.C (getLanguages): STRCONV
326 (getBabelOptions): ditto
327 (getTClassPreamble): ditto
328 (getLyXSGMLEntities): ditto
329 (getIncludedFiles): ditto
336 * LString.h: add the STRCONV macros
338 * BufferView_pimpl.C (savePosition): STRCONV
339 (restorePosition): ditto
340 (MenuInsertLyXFile): ditto
342 * vc-backend.C (scanMaster): change from submatch[...] to
345 * funcrequest.C: include config.h
347 * factory.C: include config.h
349 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
351 * box.C: include config.h
353 * LaTeX.C (scanAuxFile): change from submatch[...] to
357 2002-10-25 Angus Leeming <leeming@lyx.org>
359 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
361 * ispell.[Ch] (setError): new method.
362 * ispell.C (c-tor): move out child process into new class LaunchIspell.
363 Use setError() insetead of goto END.
365 * lyx_cb.C (AutoSave): move out child process into new class
368 2002-10-30 John Levon <levon@movementarian.org>
370 * text3.C: make start appendix undoable
372 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
374 * lyxlength.C (inPixels): Fix returned value.
376 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
379 2002-10-24 Angus Leeming <leeming@lyx.org>
381 * lyxgluelength.h: no need to forward declare BufferParams
382 or BufferView, so don't.
384 2002-10-21 John Levon <levon@movementarian.org>
386 * BufferView.C: menuUndo ->undo, redo
388 * BufferView.h: document, remove dead, make some methods private
392 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
397 * sgml.C: move sgml open/close tag into sgml.C
399 * bufferview_funcs.h: unused prototype
402 * lyxfunc.C: remove unused
405 * text.C: remove unused
407 2002-10-21 John Levon <levon@movementarian.org>
411 * BufferView_pimpl.h:
412 * BufferView_pimpl.C: fix mouse wheel handling based on
413 patch from Darren Freeman
415 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
417 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
419 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
421 * lyxlength.C (inPixels): Fix hanfling of negative length.
422 Fix LyXLength::MU case.
424 2002-10-16 John Levon <levon@movementarian.org>
426 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
428 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
430 * converter.C (view): add support for $$i (file name) and $$p
431 (file path) for the viewer command. If $$i is not specified, then
432 it is appended to the command (for compatibility with old syntax)
434 2002-10-14 Juergen Vigna <jug@sad.it>
436 * undo_funcs.C (textHandleUndo): alter the order in which the
437 new undopar is added to the LyXText, as we have to set first
438 the right prev/next and then add it as otherwise the rebuild of
439 LyXText is not correct. Also reset the cursor to the right paragraph,
440 with this IMO we could remove the hack in "redoParagraphs()".
442 2002-10-09 Angus Leeming <leeming@lyx.org>
444 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
445 to turn off an optimisation if a new inset is to be inserted.
447 2002-10-11 André Pönitz <poenitz@gmx.net>
449 * lytext.h: make some functions public to allow access
450 from inset/lyxtext for handling LFUN_PRIOR/NEXT
452 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
454 * text3.C (dispatch): when changing layout, avoid an infinite loop
457 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
459 * lyxrc.C (read): treat a viewer or converter command of "none" as
462 * MenuBackend.C (expandFormats): for an update, also allow the
463 formats that are not viewable
465 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
466 script if it is newer than the lyxrc.defaults in user directory
468 2002-10-07 André Pönitz <poenitz@gmx.net>
470 * text.C: Vitaly Lipatov's small i18n fix
472 2002-09-25 Angus Leeming <leeming@lyx.org>
474 * ispell.h: doxygen fix.
476 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
478 * buffer.h (readFile): Add a new argument to the method, to allow
479 reading of old-format templates.
481 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
483 * toc.C (getTocList): Get TOC from InsetWrap.
485 2002-09-16 John Levon <levon@movementarian.org>
487 * lyxfunc.C: check tabular for cut/copy too
489 2002-09-12 John Levon <levon@movementarian.org>
494 * factory.C: add header
497 * paragraph_funcs.C: cleanup
499 2002-09-11 John Levon <levon@movementarian.org>
501 * PrinterParams.h: odd/even default to true
503 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
505 * PrinterParams.h: update printer parameters for new xforms dialog
507 2002-09-11 Angus Leeming <leeming@lyx.org>
509 * lyxserver.C (read_ready): re-write to make it more transparent
510 and to make it work in coherent fashion under Tru64 Unix.
512 2002-09-11 André Pönitz <poenitz@gmx.net>
516 * text3.C: implement LFUN_WORDSEL
518 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
520 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
521 make floatlist_ a boost::shared_ptr<FloatList>
523 * lyxtextclass.C: include FloatList.h
524 (LyXTextClass): initialize floatlist_
525 (TextClassTags): add TC_NOFLOAT
526 (Read): match "nofloat" to TC_NOFLOAT and use it.
527 (readFloat): modify call to floatlist_
531 * FloatList.[Ch] (FloatList): remove commented out float
533 (erase): new function
535 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
537 * MenuBackend.C (expandToc): fix crash when there is no document
540 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
542 * many files: Add insetwrap.
544 2002-09-09 John Levon <levon@movementarian.org>
546 * text2.C: remove confusing and awkward depth wraparound
548 2002-09-09 John Levon <levon@movementarian.org>
550 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
553 * buffer.C: remove getIncludeonlyList()
556 * lyxfunc.C: remove headers
558 2002-09-09 Juergen Vigna <jug@sad.it>
560 * text.C (getColumnNearX): fix form Michael this is most
561 probably a cut&paste bug.
563 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
565 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
567 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
568 references, ws changes.
570 * text2.C (init): update counters after init
571 (insertParagraph): no need to set counter on idividual paragraphs.
572 (setCounter): access the counters object in the textclass object
573 on in the buffer object.
574 (updateCounters): ditto
576 * lyxtextclass.C: include counters.h, add variable ctrs_ as
577 shared_ptr<Counters> to avoid loading counters.h in all
579 (LyXTextClass): initialize ctrs_
580 (TextClassTags): add TC_COUNTER, and ...
582 (CounterTags): new tags
583 (readCounter): new function
584 (counters): new funtion
585 (defaultLayoutName): return a const reference
587 * counters.C (Counters): remove contructor
588 (newCounter): remove a couple of unneeded statements.
589 (newCounter): simplify a bit.
590 (numberLabel): some small formatting changes.
592 * buffer.[Ch]: remove all traces of counters, move the Counters
593 object to the LyXTextClass.
595 2002-09-06 Alain Castera <castera@in2p3.fr>
597 * tabular.C: uses \tabularnewline; uses >{...} construct from array
598 package to set the horizontal alignment on fixed width columns.
601 * lyx_sty.h: added tabularnewline macro def.
603 * LaTeXFeatures.C: added NeedTabularnewline macro feature
605 2002-09-06 John Levon <levon@movementarian.org>
607 * LyXAction.C: tooltips for sub/superscript
609 * MenuBackend.C: a bit more verbose
611 * lyxfunc.C: tiny clean
613 * undo_funcs.C: document undo_frozen
615 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
617 * counters.C (Counters): add missing algorithm counter.
619 * text2.C (setCounter): lookup the counter with layouts latexname
620 instead of by section number.
621 (setCounter): use a hackish way to lookup the correct enum
623 a float name->type change
624 reset enum couners with counter name directly instead of depth value.
626 * counters.C (Counters): remove the push_backs, change to use the
627 float type not the float name.
628 (labelItem): remove unused string, float name->type change
630 * counters.h: don't include vector, loose the enums and sects vectors
632 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
634 * lyxtextclass.C (TextClassTags): add TC_FLOAT
635 (Read): add float->TC_FLOAT to textclassTags
636 (Read): and handle it in the switch
637 (readFloat): new function
639 * FloatList.C (FloatList): comment out the hardcoded float
642 * lyxlayout.h: ws change.
644 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
646 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
648 2002-09-03 Angus Leeming <leeming@lyx.org>
650 * BufferView_pimpl.h: qualified name is not allowed in member
651 declaration: WorkArea & Pimpl::workarea() const;
653 * factory.C: added using std::endl directive.
655 * text3.C: added using std::find and std::vector directives.
657 2002-08-29 André Pönitz <poenitz@gmx.net>
660 * text2.C: remove unused member number_of_rows
663 * BufferView2.C: remove file, move contents to...
664 * BufferView.C: ... here
666 * BufferView_pimpl.C:
667 * factory.C: move more inset creation to factory
669 * vspace.C: avoid direct usage of LyXText, ws changes
672 don't provide direct access to WorkArea, use two simple
673 acessors haveSelction() and workHeight() instead
676 2002-08-29 John Levon <levon@movementarian.org>
678 * BufferView_pimpl.C (dispatch): do not continue when
681 2002-08-28 André Pönitz <poenitz@gmx.net>
683 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
686 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
688 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
690 * buffer.C: increment LYX_FORMAT to 221
692 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
693 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
695 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
697 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
699 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
701 * factory.C (createInset): use LyXTextClass::floats
703 * MenuBackend.C (expandFloatListInsert):
707 * text2.C (setCounter):
709 * LaTeXFeatures.C (useFloat):
710 (getFloatDefinitions):
712 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
714 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
715 floatlist_, with accessor floats().
717 * FloatList.h: remove global FloatList
719 2002-08-26 André Pönitz <poenitz@gmx.net>
721 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
725 * BufferView_pimpl.C:
726 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
728 2002-08-25 John Levon <levon@movementarian.org>
730 * LyXAction.C: fix margin note description
732 2002-08-24 John Levon <levon@movementarian.org>
736 * bufferview_funcs.C:
738 * undo_funcs.C: cleanups
740 * lyxfunc.C: disable CUT/COPY when no selection
742 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
744 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
745 in "enum UNIT"; e.g. PTW for Percent of TextWidth
747 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
748 Add backward compatibility to "mono", "gray" and "no".
750 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
752 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
753 (and file_format >= 200).
755 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
757 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
759 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
761 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
763 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
765 * BufferView_pimpl.C:
772 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
773 inset and code to make it work with the paragraph code. The inset
774 can be anywhere in the paragraph, but will only do the expected
775 thing in LaTeX if the layout file contains the parameter line
777 (or more generally, a nonzero value) for that layout.
779 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
781 * paragraph.h: remove the declaration of undefined counters class
784 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
786 * text2.C (setCounter): fixed enumeration mis-count as reported by
789 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
791 * paragraph_funcs.h: remove some unneeded includes
793 * text.C (backspace): pasteParagraph now in global scipe
795 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
796 (pasteSelection): ditto
798 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
799 * paragraph_funcs.C (pasteParagraph): ... here
801 2002-08-20 André Pönitz <poenitz@gmx.net>
803 * commandtags.h: new LFUNs for swapping/copying table row/colums
806 * lyxfunc.C: support for new lfuns
808 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
811 * buffer.[Ch]: remove NO_COMPABILITY stuff
813 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * boost.C (throw_exception): new file, with helper function for
816 boost compiled without exceptions.
822 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
824 * bufferlist.C (emergencyWriteAll): use boost bind
826 * BufferView_pimpl.C (moveCursorUpdate): remove inline
828 * text.C: include paragraph_funcs.h
829 (breakParagraph): breakParagraph is now in global scope
831 * paragraph_funcs.[Ch]: new files
833 * paragraph.C (breakParagraph,breakParagraphConservative): move to
836 * buffer.C: include paragraph_funcs.h
837 (insertStringAsLines): breakParagraph is now in global scope
839 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
842 * CutAndPaste.C: include paragraph_funcs.h
843 (cutSelection): breakParagraphConservative is now in global scope
844 (pasteSelection): ditto
846 * buffer.h: declare oprator== and operator!= for
847 Buffer::inset_iterator
849 * bufferlist.C (emergencyWrite): don't use fmt(...)
851 * text3.C: add using std::endl
853 * BufferView.C (moveCursorUpdate): remove default arg
855 2002-08-20 André Pönitz <poenitz@gmx.net>
857 * buffer.[Ch]: move inline functions to .C
860 * BufferView_pimpl.C:
862 * buffer.[Ch]: use improved inset_iterator
865 * paragraph.[Ch]: write one paragraph at a time
867 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
869 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
870 style if style is not specified.
872 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
874 * text2.C (setCounter): when searching for right label for a
875 caption, make sure to recurse to parent insets (so that a caption
876 in a minipage in a figure float works) (bug #568)
878 2002-08-20 André Pönitz <poenitz@gmx.net>
880 * text3.C: new file for LyXText::dispatch() and helpers
882 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
884 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
886 2002-08-19 André Pönitz <poenitz@gmx.net>
889 * text.C: new LyXText::dispatch()
891 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
893 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
895 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
897 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
900 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
902 * Makefile.am: use $(variables) instead of @substitutions@
904 2002-08-15 André Pönitz <poenitz@gmx.net>
907 * BufferView_pimpl.C: streamlining mathed <-> outer world
911 * LyXAction.C: remove unused LFUN_MATH
913 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
915 * paragraph.[Ch]: add some NO_NEXT ifdefs.
917 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
919 * paragraph.C (Paragraph): reformat a bit
920 (cutIntoMinibuffer): use builtin InsetList function instad of
924 * buffer.C: include boost/bind.hpp, add using std::for_each
925 (writeFileAscii): use ParagraphList iterators
926 (validate): use for_each for validate traversal of paragraphs
927 (getBibkeyList): use ParagraphList iterators
928 (resizeInsets): use for_each to resizeInsetsLyXText for all
930 (getParFromID): use ParagraphList iterators
932 * BufferView2.C (lockInset): use paragraph list and iterators
934 2002-08-14 John Levon <levon@movementarian.org>
936 * lyxserver.C: remove spurious xforms include
938 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
940 * lyxfunc.C (getStatus): disable math-extern outside of math mode
942 2002-08-13 André Pönitz <poenitz@gmx.net>
945 * lyxfunc.C: further cleaning
947 2002-08-13 André Pönitz <poenitz@gmx.net>
949 * funcrequest.h: new constructor
951 * funcrequest.C: move stuff here from .h
954 * BufferView_pimpl.C:
957 * lyxfunc.C: subsequent changes
959 * lyxfunc.h: new view() member function
961 * lyxfunc.C: subsequent changes
963 2002-08-13 Angus Leeming <leeming@lyx.org>
966 * BufferView_pimpl.C:
974 changes due to the changed LyXView interface that now returns references
975 to member variables not pointers.
977 2002-08-13 Angus Leeming <leeming@lyx.org>
979 * WordLangTuple (word, lang_code): return references to strings,
984 * lyxtext.h: forward-declare WordLangTuple.
989 * text.C: #include "WordLangTuple.h".
992 * text.C: (selectNextWordToSpellcheck): constify return type.
994 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
1000 * paragraph_pimpl.h:
1003 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
1005 Made updateCounter always count from start of buffer, and removed
1006 second argument (par).
1007 Reverted floats number display to '#'. Perhaps I'll try again when the
1008 code base is sanitized a bit.
1010 2002-08-12 Angus Leeming <leeming@lyx.org>
1012 * buffer.[Ch] (getLabelList): constify.
1014 2002-08-07 André Pönitz <poenitz@gmx.net>
1016 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
1018 * funcrequest.h: extension to keep mouse (x,y) position
1020 2002-08-12 Juergen Vigna <jug@sad.it>
1022 * BufferView2.C (insertErrors): forbid undo when inserting error
1025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
1027 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1029 * ParagraphList.[Ch]: new files
1031 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
1033 * BufferView2.C (lockInset): ParagraphList changes
1036 * bufferlist.C: ditto
1040 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1042 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
1043 unused class variable counter_,
1045 * paragraph.[Ch] (getFirstCounter): delete unused function
1047 * counters.C: include LAssert.h
1048 (reset): add a new function with no arg, change other version to
1049 not have def. arg and to not allow empty arg.
1051 * text2.C (setCounter): remove empty arg from call to Counters::reset
1053 2002-08-11 John Levon <levon@movementarian.org>
1055 * Makefile.am: add WordLangTuple.h
1057 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
1060 lyxfunc.C lyxlex_pimpl.C: ws changes only.
1062 * insets/insettext.C: InsetList changes
1064 * graphics/GraphicsSupport.C (operator()): InsetList changes
1066 * toc.C (getTocList): InsetList changes
1068 * paragraph_pimpl.[Ch]: InsetList changes
1070 * paragraph.[Ch]: InsetList changes
1072 * buffer.C (inset_iterator): InsetList changes
1073 (setParagraph): ditto
1074 * buffer.h (inset_iterator): ditto
1075 * iterators.C (operator++): ditto
1076 * iterators.h: ditto
1078 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
1080 * InsetList.[Ch]: new files, most InsetList handling moved out of
1083 * BufferView2.C (removeAutoInsets): InsetList changes
1085 (ChangeInsets): ditto
1087 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * paragraph_pimpl.h (empty): new function
1091 * paragraph.[Ch] (empty): new function
1093 * other files: use the new Paragraph::empty function
1095 2002-08-09 John Levon <levon@movementarian.org>
1097 * lyxtext.h: remove unused refresh_height
1099 2002-08-09 John Levon <levon@movementarian.org>
1106 * paragraph.C: move sgml char escaping out of paragraph
1109 * paragraph.C: remove id setter
1113 * paragraph_pimpl.C: remove dead tex_code_break_column
1115 * bufferview_funcs.C: small cleanup
1117 * lyxfunc.C: remove dead proto
1119 * lyxtext.h: make some stuff private. Remove some dead stuff.
1121 * lyxgluelength.C: make as[LyX]String() readable
1123 2002-08-08 John Levon <levon@movementarian.org>
1128 * ToolbarDefaults.C:
1131 * toc.C: lyxaction cleanup
1133 2002-08-08 John Levon <levon@movementarian.org>
1135 * BufferView2.C: small cleanup
1138 * lyxfind.C: move unnecessary header into the .C
1140 2002-08-08 John Levon <levon@movementarian.org>
1142 * funcrequest.h: just tedious nonsense
1145 * lyx_main.C: cleanups
1148 * vspace.C: remove dead header lyx_main.h
1150 2002-08-07 Angus Leeming <leeming@lyx.org>
1153 * paragraph_pimpl.h:
1154 Forward declare class Counters in paragraph.h by moving the ctrs member
1155 variable into Paragraph::Pimpl.
1156 (counters): new method, returning a reference to pimpl_->ctrs.
1158 * text2.C: ensuing changes.
1160 2002-08-07 John Levon <levon@movementarian.org>
1162 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1164 * BufferView_pimpl.C: announce X selection on double/triple
1167 * lyx_main.C: use correct bool in batch dispatch
1169 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1171 2002-08-07 André Pönitz <poenitz@gmx.net>
1173 * funcrequest.h: new class to wrap a kb_action and its argument
1176 * BufferView_pimpl[Ch]:
1180 * lyxrc.C: subsequent changes
1183 2002-08-07 John Levon <levon@movementarian.org>
1185 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1186 document options change.
1188 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1193 * makefile.am: move counters functionality over from
1194 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1196 2002-08-06 John Levon <levon@movementarian.org>
1198 * WordLangTuple.h: new file for word + language code tuple
1209 * BufferView2.C: use WordLangTuple
1212 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1214 2002-08-06 John Levon <levon@movementarian.org>
1216 * lyx_main.C: fix cmdline batch handling
1218 2002-08-06 André Pönitz <poenitz@gmx.net>
1220 * lyxrc.C: set default for show_banner to true
1222 2002-08-06 John Levon <levon@movementarian.org>
1224 * pspell.C: fix a crash, and allow new aspell to work
1226 2002-08-06 John Levon <levon@movementarian.org>
1229 * kbmap.C: small cleanup
1232 * vspace.C: add const
1234 2002-08-05 John Levon <levon@movementarian.org>
1236 * LyXAction.C: back to tabular-insert
1238 2002-08-04 John Levon <levon@movementarian.org>
1241 * BufferView.C: cosmetic change
1243 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1253 * BufferView2.C: purge all "Lyx" not "LyX" strings
1256 * lyxcursor.C: attempt to add some documentation
1261 * ToolbarDefaults.C:
1262 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1263 merge with LFUN_TABULAR_INSERT
1270 * pspell.C: split up i/pspell implementations into separate
1271 files, many cleanups
1273 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1275 * text2.C: some cleanup
1277 * lyxfunc.C: don't check for isp_command == "none" any more, it
1278 didn't make any sense
1280 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1285 * makefile.am: move counters functionality over
1286 from text2.C/paragraph.[Ch] to counters.[Ch], and
1288 2002-08-02 John Levon <levon@movementarian.org>
1290 * buffer.C: s/lyxconvert/lyx2lyx/
1292 2002-08-02 Angus Leeming <leeming@lyx.org>
1294 * lyxlex.C: revert John's change as it breaks reading of the user
1297 2002-08-02 Angus Leeming <leeming@lyx.org>
1299 * importer.C (Import):
1300 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1301 changes due to LyXView::view() now returning a boost::shared_ptr.
1303 2002-08-02 John Levon <levon@movementarian.org>
1305 * lyxlex.C: small cleanup
1307 2002-08-02 John Levon <levon@movementarian.org>
1309 * text2.C (status): small cleanup, no logic change
1311 2002-08-01 John Levon <levon@movementarian.org>
1314 * buffer.C (writeFile): don't output alerts, caller
1318 * lyx_cb.C: from above
1320 * lyxfunc.C: allow to open non-existent files
1322 2002-07-31 John Levon <levon@movementarian.org>
1324 * lyxserver.C: don't let incidental errors get
1327 2002-07-30 John Levon <levon@movementarian.org>
1329 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1331 2002-07-30 John Levon <levon@movementarian.org>
1334 * lyxserver.C: remove I/O callback too
1336 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1338 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1341 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * many files: strip,frontStrip -> trim,ltrim,rtrim
1345 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1347 * PrinterParams.h: remove extern containsOnly, and include
1348 support/lstrings.h instead.
1350 * LaTeX.C (scanAuxFile): modify because of strip changes
1352 * buffer.C (makeLaTeXFile): ditto
1353 * bufferparams.C (writeFile): ditt
1354 * lyxfont.C (stateText): ditto
1355 * lyxserver.C (read_ready): ditto
1356 * vc-backend.C (scanMaster): ditto
1358 * BufferView_pimpl.h: ws changes
1360 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1362 2002-07-26 André Pönitz <poenitz@gmx.net>
1364 * kb_sequence.C: remove unnedred usings
1366 2002-07-26 Juergen Vigna <jug@sad.it>
1368 * lyxfind.C (LyXReplace): we have to check better if the returned
1369 text is not of theLockingInset()->getLockingInset().
1371 2002-07-25 Juergen Vigna <jug@sad.it>
1373 * lyxfind.C (LyXReplace): don't replace if we don't get the
1376 * undo_funcs.C (createUndo): remove debugging code.
1378 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1380 * buffer.C (parseSingleLyXformat2Token): Use default placement
1381 when reading old floats.
1383 * FloatList.C (FloatList): Change the default placement of figure
1384 and tables to "tbp".
1386 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1388 * MenuBackend.C: using std::max
1390 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1392 * MenuBackend.C (expandToc):
1393 (expandToc2): code moved from xforms menu frontend. It is now
1394 generic and TOCs are transparent to menu frontends.
1396 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1398 * toc.C (getTocList): protect against buf=0
1400 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1401 Menu as first parameter. Now, this calls itself recursively to
1402 expand a whole tree (this will be useful for TOC handling)
1403 (expandFloatInsert): remove 'wide' version of floats
1405 * MenuBackend.h (submenuname): returns the name of the submenu.
1406 (submenu): returns the submenu itself, provided it has been
1407 created by MenuBackend::expand
1409 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1411 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1412 insets which have noFontChange == true. (bug #172)
1414 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1416 * BufferView_pimpl.C: add connection objects and use them...
1419 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1421 * MenuBackend.C (expandLastfiles):
1424 (expandFloatListInsert):
1425 (expandFloatInsert):
1426 (expand): split expand in parts
1428 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1430 * lyx_gui.C: use lyx_gui::exit()
1432 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1434 * LyXAction.C: show the failing pseudo action
1436 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1438 * buffer.C (readFile): Run the lyxconvert script in order to read
1441 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1445 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1447 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1451 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1453 2002-07-22 Herbert Voss <voss@lyx.org>
1456 * lyxlength.[Ch]: add support for the vertical lengths
1458 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1460 * toc.[Ch]: std:: fixes
1462 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1464 * lyxrc.C: do not include lyx_main.h
1466 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1472 * BufferView2.C: include "lyxlex.h"
1475 * bufferparams.h: do not #include "lyxlex.h"
1477 * lyxtextclasslist.C (Add): remove method
1478 (classlist): renamed to classlist_
1480 * paragraph_pimpl.C:
1484 * bufferview_funcs.C:
1489 * toc.C (getTocList): use BufferParams::getLyXTextClass
1491 * toc.C (getTocList): use InsetFloat::addToToc
1493 * toc.[Ch]: new files, containing helper functions to handle table
1496 * lyxfunc.C (dispatch): no need to remove spaces around command
1498 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1499 first command of the sequence; it is not very clever, but I do not
1500 have a better idea, actually
1502 * LyXAction.C (LookupFunc): make sure to remove space at the
1503 beginning and end of the command
1505 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1507 * MenuBackend.C (getMenubar): new method: return the menubar of
1509 (read): treat differently reading of menu and menubar (in
1510 particular, the menubar has no name now)
1511 (Menu::menubar): remove
1513 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1516 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1518 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1519 a bibitem inset in a RTL paragraph.
1521 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1523 * paragraph_pimpl.C: constify
1525 * BufferView_pimpl.C:
1527 * lyxfunc.C: fix dispatch in a nicer way
1529 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1531 * lyxfunc.C (dispatch):
1532 * BufferView_pimpl.C:
1533 * BufferView_pimpl.h:
1535 * BufferView.h: rename Dispatch() to dispatch()
1537 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1539 * lyxlayout.C (Read): honor DependsOn tag
1541 * lyxlayout.[Ch] (depends_on): new method
1543 * version.C.in: update lyx_docversion
1545 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1547 * paragraph.C (validate): remove from here...
1548 * paragraph_pimpl.C (validate): ... and move here
1549 (isTextAt): make it const
1551 * buffer.C (getLists): ws cleanup
1553 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1555 * language.C (read): Use iso8859-1 encoding in latex_lang
1556 (this prevents LyX from crashing when using iso10646-1 encoding).
1558 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1560 * text2.C (toggleInset): if cursor is inside an inset, close the
1561 inset and leave cursor _after_ it
1563 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1565 * lyxfunc.C: move minibuffer completion handling out of here
1567 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1569 * BufferView_pimpl.C:
1570 * LaTeX.C: fix dispatch calls
1572 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1574 * text.C (drawChars): Fix Arabic text rendering.
1576 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1580 * lyxfunc.C: remove message-push/pop
1584 * lyxfunc.C: rationalise some code by removing verboseDispatch
1585 in favour of a bool argument to dispatch()
1587 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1589 * lyx_main.C (init): make sure to read symlinks as absolute paths
1591 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1594 * lyxfunc.C: no need for commandshortcut to be a member
1596 2002-07-15 André Pönitz <poenitz@gmx.net>
1598 * converter.C: add support for $$s (scripts from lib/scripts dir)
1599 * lyx_main.C: white space
1601 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1605 * lyxrc.C: remove second exit confirmation
1607 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1612 * BufferView_pimpl.h:
1613 * BufferView_pimpl.C:
1614 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1616 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1618 * MenuBackend.C (expand): add numeric shortcuts to document menu
1620 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1622 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1624 * lyxfont.C (setLyXFamily):
1631 * buffer.C (asciiParagraph): use ascii_lowercase
1633 2002-07-15 Mike Fabian <mfabian@suse.de>
1635 * lyxlex_pimpl.C (search_kw):
1636 * lyxlex.C (getLongString):
1637 * converter.h (operator<):
1638 * converter.C (operator<):
1639 * buffer.C (parseSingleLyXformat2Token):
1641 * ToolbarDefaults.C (read):
1642 * MenuBackend.C (checkShortcuts):
1644 * LColor.C (getFromGUIName):
1645 (getFromLyXName): use the compare_ascii_no_case instead of
1646 compare_no_case, because in turkish, 'i' is not the lowercase
1647 version of 'I', and thus turkish locale breaks parsing of tags.
1649 2002-07-16 Angus Leeming <leeming@lyx.org>
1651 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1652 now takes a Buffer const & argument.
1654 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1656 * BufferView.C (resize): check there's a buffer to resize
1658 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1660 * lyxfunc.C: remove dead code
1663 * lyxserver.C: use lyx_guii::set_read_callback
1665 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1667 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1668 an inset in a RTL paragraph.
1670 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1672 * lyxfunc.C: repaint after a font size update
1674 2002-07-15 André Pönitz <poenitz@gmx.net>
1676 * lyxlength.C: inBP should be able to return negative values
1678 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1680 * lyxfunc.C: use lyx_gui::update_fonts()
1682 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1684 * lyxfunc.C: use lyx_gui::update_color()
1686 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1692 * lyxrc.C: remove file->new asks for name option, and let
1693 buffer-new take an argument
1695 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1697 * BufferView_pimpl.C: remove unneeded extra repaint()
1699 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1701 * LyXAction.C: allow command-sequence with NoBuffer
1703 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1705 2002-07-10 Angus Leeming <leeming@lyx.org>
1707 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1709 2002-07-09 Angus Leeming <leeming@lyx.org>
1711 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1713 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1715 * lengthcommon.h: whitespace
1717 * lyxfunc.C: update scrollbar after goto paragraph
1719 * lyxtext.h: factor out page break drawing, and fix it so
1720 page break/added space paints as selected nicely
1722 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1724 * BufferView_pimpl.C: add FIXMEs, clean up a little
1726 2002-07-09 André Pönitz <poenitz@gmx.net>
1728 * lyxfont.[Ch]: support for wasy symbols
1730 2002-07-08 André Pönitz <poenitz@gmx.net>
1732 * BufferView_pimpl.C: apply John's patch for #93.
1734 2002-07-05 Angus Leeming <leeming@lyx.org>
1736 * BufferView_pimpl.C (buffer): generate previews if desired.
1738 * LColor.h: add "preview" to the color enum.
1740 * LColor.C (LColor): add a corresponding entry to the items array.
1742 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1745 2002-07-05 Angus Leeming <leeming@lyx.org>
1747 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1748 The body of the code is now in the method that is passed an ostream &
1749 rather than a file name.
1750 Pass an additional only_preamble parameter, useful for the forthcoming
1753 2002-07-03 André Pönitz <poenitz@gmx.net>
1755 * lyxfunc.C: simplify getStatus() a bit for math stuff
1757 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1759 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1761 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1763 * text.C (changeRegionCase): do not change case of all the
1764 document when region ends at paragraph end (bug #461)
1766 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1768 * paragraph.C (startTeXParParams):
1769 (endTeXParParams): add \protect when necessary
1771 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1773 * BufferView_pimpl.C (workAreaExpose): remove warning
1775 2002-06-27 Angus Leeming <leeming@lyx.org>
1777 * Makefile.am: add lyxlayout_ptr_fwd.h.
1779 2002-06-26 André Pönitz <poenitz@gmx.net>
1781 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1783 2002-06-25 Angus Leeming <leeming@lyx.org>
1785 * lyxfunc.C (dispatch): Comment out the call to
1786 grfx::GCache::changeDisplay. The method no longer exists now that the
1787 pixmap generation part of the graphics loader has been moved into
1790 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1792 * text2.C: layout as layout
1794 * text.C: layout as layout
1796 * tabular.C (OldFormatRead): layout as layout
1798 * paragraph_pimpl.C (TeXDeeper): layout as layout
1799 (realizeFont): layout as layout
1801 * paragraph.C (writeFile): layout as layout
1802 (validate): layout as layout
1803 (getFont): layout as layout
1804 (getLabelFont): layout as layout
1805 (getLayoutFont): layout as layout
1806 (breakParagraph): layout as layout
1807 (stripLeadingSpaces): layout as layout
1808 (getEndLabel): layout as layout
1809 (getMaxDepthAfter): layout as layout
1810 (applyLayout): layout as layout
1811 (TeXOnePar): layout as layout
1812 (simpleTeXOnePar): layout as layout
1813 (TeXEnvironment): layout as layout
1814 (layout): layout as layout
1815 (layout): layout as layout
1817 * lyxtextclass.C (compare_name): new functor to work with
1818 shared_ptr, layout as layout
1819 (Read): layout as layout
1820 (hasLayout): layout as layout
1821 (operator): layout as layout
1822 (delete_layout): layout as layout
1823 (defaultLayout): layout as layout
1825 * lyxlayout_ptr_fwd.h: new file
1827 * lyxlayout.C (Read): layout as layout
1829 * lyx_cb.C (MenuInsertLabel): layout as layout
1831 * bufferlist.C (newFile): layout as layout
1833 * buffer.C (readLyXformat2): layout as layout
1834 (parseSingleLyXformat2Token): layout as layout
1835 (insertStringAsLines): layout as layout
1836 (asciiParagraph): layout as layout
1837 (latexParagraphs): layout as layout
1838 (makeLinuxDocFile): layout as layout
1839 (simpleLinuxDocOnePar): layout as layout
1840 (makeDocBookFile): layout as layout
1841 (simpleDocBookOnePar): layout as layout
1842 (getLists): layout as layout
1844 * LaTeXFeatures.C (getTClassPreamble): layout as layout
1846 * CutAndPaste.C (cutSelection): layout as layout
1847 (pasteSelection): layout as layout
1848 (SwitchLayoutsBetweenClasses): layout as layout
1850 * BufferView_pimpl.C (Dispatch): layout as layout
1851 (smartQuote): layout as layout
1853 * BufferView2.C (unlockInset): layout as layout
1855 2002-06-24 André Pönitz <poenitz@gmx.net>
1857 * lyxfunc.C: fix #487
1859 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1863 * lyxfunc.C: remove display_shortcuts, show_banner
1865 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1867 * Buffer_pimpl.C: oops, update on resize
1869 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1876 * BufferView.C: use repaint()
1878 * BufferView_pimpl.h:
1879 * BufferView_pimpl.C: s/updateScreen()/repaint()/
1880 as it's a clearer description. Remove superfluous
1883 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1885 * text.C: fix bug 488. Not ideal, but getting
1886 getWord() to work properly for the insets that
1887 matter is more difficult ...
1889 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1891 * BufferView_pimpl.C:
1894 * lyxfunc.C: remove the six million index lyxfuncs to just
1895 one, and DTRT (bug 458)
1897 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1901 * BufferView_pimpl.h:
1902 * BufferView_pimpl.C: clean up resize() stuff,
1903 and unnecessary updateScreen()s
1905 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1909 * BufferView_pimpl.h:
1910 * BufferView_pimpl.C:
1913 * minibuffer.C: remove focus management of workarea,
1914 not needed. Use screen's greyOut()
1916 2002-06-17 Herbert Voss <voss@lyx.org>
1918 * converter.C: (convert) do not post a message, when converting
1919 fails, let the calling function decide what to do in this case
1921 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1923 * lyxfunc.C: tidy up a little
1925 2002-06-16 <alstrup@diku.dk>
1927 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1928 Got rid of FORMS_H_LOCATION include. Now we are
1931 2002-06-15 LyX Development team <lyx@rilke>
1933 * buffer.[Ch] (sgmlOpenTag):
1934 (sgmlCloseTag): Added support for avoiding pernicious mixed
1935 content. Return number of lines written.
1938 (makeDocBookFile): Fixed calls to sgml*Tag.
1939 Simple white space clean.
1941 (simpleDocBookOnePar): Simple white space clean.
1943 * tabular.[Ch] (docBook): Renamed to docbook and got another
1944 argument to related with the pernicious mixed content.
1946 (docbookRow): Fixed calls for docbook inset method.
1948 2002-06-15 Lyx Development team <larsbj@birdstep.com>
1950 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1951 so it's X11 independent.
1955 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1957 2002-06-15 Lyx Development team <lyx@electronia>
1959 * intl.h: Renamed getTrans to getTransManager.
1961 2002-06-14 Angus Leeming <leeming@lyx.org>
1963 * Makefile.am: nuke forgotten stl_string_fwd.h.
1965 2002-06-12 Angus Leeming <leeming@lyx.org>
1967 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1969 2002-06-13 Angus Leeming <leeming@lyx.org>
1972 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1974 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
1976 * kbmap.C (getiso): add support for cyrillic and greek
1978 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1982 * BufferView_pimpl.h:
1983 * BufferView_pimpl.C: move bogus scrolling logic
1986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1989 * BufferView_pimpl.C: view->resize() change
1991 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1993 * BufferView_pimpl.C: topCursorVisible
1996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2000 * lyx_gui.C: move to frontends/
2004 * lyx_main.C: changes from above
2006 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2013 * lyx_main.C: minor tidy
2015 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2017 * BufferView_pimpl.h:
2018 * BufferView_pimpl.C:
2020 * BufferView.C: make painter() const,
2023 * BufferView2.C: use screen() accessor
2026 * lyx_main.C: some minor cleanup
2028 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2030 * BufferView_pimpl.h:
2031 * BufferView_pimpl.C: remove enter/leaveView,
2034 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2039 * BufferView_pimpl.h:
2040 * BufferView_pimpl.C: only construct screen once,
2043 * lyxrc.C: remove pointless comment
2045 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2048 * BufferView.C: remove active() and belowMouse()
2050 * BufferView_pimpl.h:
2051 * BufferView_pimpl.C: use workarea() not workarea_,
2052 and make it use a scoped_ptr instead
2054 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
2056 * lyx_gui.C: add debug message on BadWindow
2058 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2060 * sp_spell.C: fdopen is not part of the C++ standard.
2062 * paragraph.C (InsetIterator): use >= instead of ==
2064 2002-06-07 Angus Leeming <leeming@lyx.org>
2066 Fixes needed to compile with Compaq cxx 6.5.
2067 * BufferView_pimpl.C:
2074 * lyxtextclasslist.C:
2079 all c-library variables have been moved into namespace std. Wrap
2080 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2085 Add a using std::abs declaration.
2087 * kbmap.h (modifier_pair):
2088 * paragraph.h (InsetTable, InsetList):
2089 * lyxfont.h (FontBits):
2090 type definition made public.
2092 * bufferlist.C (emergencyWriteAll): the compiler complains that
2093 there is more than one possible lyx::class_fun template to choose from.
2094 I re-named the void specialisation as lyx::void_class_fun.
2096 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
2098 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
2099 the compiler is is unable to find tostr in write_attribute.
2101 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2103 * buffer.C (sgmlError): hide #warning
2105 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2107 * xtl/*: get rid of xtl, which is not in use anyway
2109 * LyXAction.C (init):
2110 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
2111 were unimplemented xtl experimentation
2113 2002-06-04 André Pönitz <poenitz@gmx.net>
2115 * lyxfunc.C: disable array operation on simple formulae
2117 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
2119 * converter.C: constify a bit
2121 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
2123 * lyx_gui.C: check xforms version correctly
2125 2002-04-30 Herbert Voss <voss@lyx.org>
2127 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
2130 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
2132 * lyxvc.C: fix bug 416 (make sure buffer is saved before
2133 attempt to register it with a VCS)
2135 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2137 * lyx_main.C (init): honor variables LYX_DIR_13x and
2140 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2144 * lyx_main.C: fix a crash on bad command line,
2145 and give a useful exit status on error
2147 * lyxfunc.C (doImport): allow -i lyx to work
2149 2002-03-30 André Pönitz <poenitz@gmx.net>
2151 * lyxfunc.C: mathed font changes
2153 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2168 * trans_mgr.h: srcdocs, and some minor cleanups
2170 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2172 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2173 call getFont all the time)
2175 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2177 * switch from SigC signals to boost::signals
2179 2002-05-29 André Pönitz <poenitz@gmx.net>
2181 * paragraph_pimpl.C (getChar): don't call size() too often...
2183 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2185 * paragraph_pimpl.C (insertChar): do not try to update tables when
2186 appending (pos == size())
2188 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2189 in order to reduce drastically the number of comparisons needed to
2190 parse a large document
2192 2002-05-29 André Pönitz <poenitz@gmx.net>
2198 * textclasslist.[Ch]:
2199 * sp_ispell.h: whitespace change
2201 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2203 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2204 lyxaction directly now.
2206 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2210 * lyxvc.C: remove unused headers
2212 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2219 * undo_funcs.C: some cleanups. Use shared_ptr
2220 and a template for the undo stacks.
2222 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2224 * BufferView_pimpl.h:
2225 * BufferView_pimpl.C:
2232 * text2.C: use key_state/mouse_state
2234 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2236 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2239 * chset.C: change include order
2240 (loadFile): use boost regex and get rid of LRegex and LSubstring
2242 * Makefile.am (BOOST_LIBS): new variable
2245 * LaTeX.C: change include order.
2246 (scanAuxFile): use boost regex and get rid of LRegex and
2250 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2255 * FontInfo.C: moved to frontends/xforms/
2258 * FontLoader.C: moved into frontends for GUIIzation
2263 * lyxfunc.C: changes from above
2265 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2267 * LColor.C: remove spurious X include
2269 * BufferView_pimpl.C:
2274 * text2.C: move font metrics to frontends/
2276 2002-05-24 Juergen Vigna <jug@sad.it>
2278 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2279 setting the undo_cursor.
2281 * ParagraphParameters.h: include local includes first.
2283 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2285 * BufferView_pimpl.C:
2286 * BufferView_pimpl.h:
2290 * screen.C: move WorkArea into frontends/
2296 * BufferView2.C: move LyXScreen into frontends/
2300 * lyx_gui.C: move lyxlookup into frontends/xforms/
2302 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2305 * BufferView_pimpl.C:
2315 * bufferview_funcs.C:
2328 * vc-backend.C: move LyX/XFormsView into frontends/
2330 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2342 * text2.C: move Painter to frontends/
2344 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2346 * buffer.C: comment out some some code that depend upon lyx_format
2349 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2350 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2352 * buffer.h (NO_COMPABILITY): turn off compability
2354 * ColorHandler.C: include scoped_array.hpp
2356 * font.C: Use more specific smart_ptr header.
2359 * ShareContainer.h: ditto
2363 * BufferView_pimpl.h: ditto
2364 * ColorHandler.h: ditto
2366 * kbmap.C (defkey): change call to shared_ptr::reset
2368 2002-05-21 Juergen Vigna <jug@sad.it>
2370 * buffer.C (insertErtContents): fix to insert ert asis if it is
2371 non empty. Skip it completely if it contains only whitespaces.
2373 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2375 * BufferView_pimpl.C:
2376 * BufferView2.C: clear selection on paste (bug 393)
2378 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2380 * DepTable.C: include ctime
2382 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2384 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2386 2002-05-14 Juergen Vigna <jug@sad.it>
2388 * text.C (breakParagraph): fixed function to honor the keepempty
2389 layout in the right maner and also to permit the right breaking
2390 algorithm on empty or non empyt keepempty paragraphs.
2392 * paragraph.C (breakParagraph): we have to check also if the par
2393 is really empty (!size()) for isempty otherwise we do the wrong
2396 2002-05-10 Juergen Vigna <jug@sad.it>
2398 * buffer.[Ch] : The following are only changes to the ert
2399 compatibility read reading old LaTeX layout and font stuff and
2400 convert it to ERTInsets.
2402 * buffer.h: added isErtInset().
2404 * buffer.C (struct ErtComp): add a fromlayout bool to check
2405 if we're inside a LaTeX layout.
2406 (isErtInset): new helper function.
2407 (insertErtContents): look for other ert insets before this one
2408 and insert the contents there, so that we don't have subsequent
2409 ERT insets with nothing between them. This way we create only one
2410 inset with multiple paragraphs. Also check if we don't insert only
2411 spaces ' ' as they are ignored anyway afterwards in the .tex file
2412 so if we have only spaces we will ignore this latex part in the
2414 (parseSingleLyXformat2Token \\layout): better compatibility when
2415 reading layout-latex stuff.
2416 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2418 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2419 stuff after reading the inset only get the information back from
2422 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2424 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2426 * LaTeXFeatures.C (getBabelOptions): New method.
2428 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2430 * BufferView_pimpl.C (Dispatch): work around missing argument for
2433 2002-05-08 Juergen Vigna <jug@sad.it>
2435 * text.C (leftMargin): handle paragraph leftindent.
2437 * paragraph.C (writeFile): write the new \\leftindent tag.
2438 (validate): handle leftindent code.
2439 (TeXEnvironment): handle paragraphleftindent code again.
2441 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2443 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2444 for paragrap_extra indent code and new token \\leftindent.
2445 (latexParagraphs): handle the leftindent as environment.
2447 * ParameterStruct.h: added leftindent support.
2449 * ParagraphParameters.C (leftIndent): added support functions for
2450 the paragraph left indent.
2452 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2455 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2457 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2460 * text.C (computeBidiTables): No bidi in insetERT.
2462 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2465 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2467 * version.C.in: pre 5
2469 2002-05-02 José Matos <jamatos@fep.up.pt>
2470 * buffer.C (makeDocBookFile): white space changes, add newline to
2472 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2474 * tabular.C (docBook): fix typo.
2476 2002-05-03 Juergen Vigna <jug@sad.it>
2478 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2479 change in LyXText as we can not be sure it was not freed.
2480 (drawOneRow): remove unused code.
2482 * text.C (drawInset): redo the calculation of the need_break_row as
2483 it could have a row which was already freed.
2484 (draw): look at the return value of drawInset and return false if
2485 it also returned false.
2486 (paintRowText): look at the return value of draw and return false if
2487 it also returned false.
2489 * lyxtext.h: added bool return type to drawInset() and draw() so that
2490 if we have a change in the row so that the rowbreak has to be redone
2491 we abort drawing as it will be called again.
2493 2002-05-02 Juergen Vigna <jug@sad.it>
2495 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2496 a change in the maintext also if we're inside an inset.
2497 (Dispatch): set the cursor again after a break line and after the
2498 screen has been updated as it could be we're in a different row.
2500 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2501 to set the cursor behind the pargraph with > size().
2502 (setCursor): check also for the same paragraph when checking where
2503 to put the cursor if we have a NFR inset.
2505 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2506 parts of layout read further up as it still was in the wrong
2509 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2511 * screen.C (drawFromTo): change sine fullRebreak always return
2514 * buffer.C (parseSingleLyXformat2Token): reindent some
2516 * BufferView_pimpl.C (update): change since fullRebreak always
2518 (Dispatch): git rid of the last hardcoded "Standard"s.
2520 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2522 * text2.[Ch] (fullRebreak): make it return void now that we always
2525 2002-04-30 Juergen Vigna <jug@sad.it>
2527 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2528 ert compatibility check for "latex" layout.
2530 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2532 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2533 minipages: use col% instead of p%, and also use the current font.
2534 (makeLaTeXFile): Fix use babel condition.
2535 (parseSingleLyXformat2Token): Correct font when reading old floats.
2537 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2539 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2540 inserting list of floats.
2542 2002-04-25 Herbert Voss <voss@lyx.org>
2544 * MenuBackend.C (expand): don't add the graphics extensions to the
2547 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2549 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2550 non-existing layout, do not complain if it was the default layout
2551 of the original class (bug #342)
2553 2002-04-24 Juergen Vigna <jug@sad.it>
2555 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2556 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2558 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2560 * buffer.C (getBibkeyList): If using \bibliography, return the
2561 option field with the reference itself. Enables us to provide natbib
2562 support when using \bibliography.
2564 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2566 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2568 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2569 natbib is provided by the LaTeX class.
2571 2002-04-23 Juergen Vigna <jug@sad.it>
2573 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2576 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2578 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2580 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2582 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2583 ensuremath around textordmasculine, textordfeminine and
2586 2002-04-19 Juergen Vigna <jug@sad.it>
2588 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2589 reinitializing the buffer otherwise row-dimensions may be wrong.
2590 (update): reset also the selection cursors if they do exits otherwise
2591 their x/y positions may be wrong.
2593 * text2.C (cursorDown): don't enter the inset if we came from a row
2594 above and are one row over the inset.
2596 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2597 really leaving an inset.
2599 2002-04-18 Juergen Vigna <jug@sad.it>
2601 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2602 of the selected paragraph does not have the selected layout also if
2605 * text2.C (setLayout): fixed bug which did not change last selected
2608 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2609 changed the read and substituted \\end_float with \\end_inset!
2611 * BufferView_pimpl.C (cursorPrevious):
2612 (cursorNext): fixed to make it work with rows heigher than the work
2613 area without moving the cursor only the draw of the row.
2614 (workAreaMotionNotify): fix jumping over high rows.
2616 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2618 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2621 2002-04-16 Juergen Vigna <jug@sad.it>
2623 * text2.C (setCursor): set also the irow().
2624 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2626 (cursorDown): support for locking an inset if the x_fix value goes
2627 inside it. That way I can transverse insets too with cursor up/down.
2629 * lyxrow.h: added irow helper function same as other (i) functions.
2631 * BufferView_pimpl.C (cursorPrevious):
2632 (cursorNext): fixed for insets!
2634 2002-04-15 Juergen Vigna <jug@sad.it>
2636 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2637 position otherwise it is wrong in some cases.
2639 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2640 inside the inset before the call.
2642 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2644 * buffer.[Ch] (getBibkeyList): make it const.
2646 2002-04-12 Juergen Vigna <jug@sad.it>
2648 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2650 * text2.C (getCursorX): new helper function
2651 (setCursor): compute also ix_
2652 (setCursorFromCoordinates): set also ix.
2654 * lyxcursor.h: added ix_ and helper functions.
2656 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2658 * buffer.C (insertStringAsLines): dont break paragraph if the this
2659 paragraph is inside an inset which does not permit it!
2661 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2662 also with no chars on this paragraph.
2663 (paintRowText): only paint stuff if it's inside the workarea!
2665 * paragraph.C (breakParagraph): honor keepempty flag and break the
2666 paragraph always below not above.
2668 * BufferView2.C (unlockInset): update the paragraph layout on inset
2669 unlock as we changed paragraph in such a case.
2671 * lyxfind.C (LyXFind): clear the former selection if not found!
2673 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2674 again called in insertChar().
2676 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2677 an inset which uses the whole row!
2678 (rightMargin): ditto.
2679 (insertChar): force a rebreak if we inserted an inset!
2681 2002-03-28 Herbert Voss <voss@lyx.org>
2683 * lyxlength.[Ch]: add inBP() to get the right PS-point
2684 units (BigPoint). With inPixels we have rounding errors
2686 2002-04-11 Juergen Vigna <jug@sad.it>
2688 * text2.C (setCursorFromCoordinates): set iy to the right value.
2689 (setCursor): add check if row->previous exists!
2691 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2692 an old float_type as this was the case in the old code!
2694 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2696 * BufferView2.C (showLockedInsetCursor): use iy
2697 (fitLockedInsetCursor): ditto
2699 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2700 locked insets as there we have the right value now.
2702 * lyxcursor.C: added iy_ variable and iy functions to set to the
2703 baseline of cursor-y of the locked inset.
2705 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2706 (setCursor): fixed for insets which need a full row.
2708 * text.C (rowLastPrintable): don't ignore the last space when before
2709 an inset which needs a full row.
2710 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2711 as last character of a row when before a inset which needs a full row.
2713 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2715 * version.C.in: update date
2717 * text2.C (fullRebreak): try to always return true and see what
2720 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2722 * MenuBackend.C (expand): use Floating::listName
2724 * FloatList.C (FloatList): add listName argument to the built-in
2727 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2728 text associated with the float.
2730 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2732 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2734 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2736 * ShareContainer.h: add a couple of missing typenames.
2738 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
2740 * lyxrc.C (getDescription): use _() correctly rather than N_().
2742 2002-03-28 Herbert Voss <voss@lyx.org>
2744 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2745 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2747 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2749 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2750 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2752 2002-03-29 Juergen Vigna <jug@sad.it>
2754 * lyxfunc.C (dispatch): add a missing fitCursor call.
2756 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2757 it was scrolled by a cursor move, so return the bool status.
2759 * BufferView.C (fitCursor): return the bool flag also to the outside
2760 world as this is needed.
2762 * screen.C (toggleToggle): don't subtract the offset if it's positive.
2764 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2765 call the edit() as it is not needed (and wrong) IMO.
2766 (workAreaButtonPress): set the screen_first variable before evt.
2767 unlock the inset as this may change screen_first and then we have
2768 a wrong y position for the click!
2770 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2772 * MenuBackend.C (expand): another translation that I missed
2774 2002-03-28 Juergen Vigna <jug@sad.it>
2776 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2778 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2780 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2782 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2784 * MenuBackend.C (expand): fix export/view/update when there is no
2787 2002-03-27 Herbert Voss <voss@lyx.org>
2789 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2792 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2794 * bufferview_funcs.C (currentState): only show paragraph number
2795 for is DEVEL_VERSION is set.
2797 * lyxfunc.C (dispatch): put warning in INFO channel
2799 * MenuBackend.C (expand): translate the name of floats
2801 * FloatList.C (FloatList): mark the float names for translation
2803 * converter.C (convert): use LibScriptSearch
2805 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2807 * MenuBackend.C (defaults): fix default menu (we might as well get
2810 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2812 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2815 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2817 * lyxvc.C: reorder includes.
2819 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
2821 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2824 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
2826 * CutAndPaste.C: change layouts earlier on paste
2827 to avoid crashing when calling getFont()
2829 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2831 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2834 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2836 * WorkArea.C: remove 'Pending' debug message.
2838 * most files: ws cleanup
2840 * buffer.[Ch]: ws changes
2842 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
2844 2002-03-21 Juergen Vigna <jug@sad.it>
2846 * tabular.C (SetMultiColumn): collapse also the contents of the
2847 cells and set the last border right. Added a Buffer const * param.
2849 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2851 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
2854 2002-03-19 Juergen Vigna <jug@sad.it>
2856 * text2.C (clearSelection): reset also xsel_cache.
2858 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
2859 where it needs to be called (John tells us to do so too :)
2860 (selectionLost): reset sel_cache.
2862 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
2864 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2866 * text2.C (setCursorIntern): put debuging code in INSETS channel
2868 2002-03-19 André Pönitz <poenitz@gmx.net>
2870 * lyxfunc.C: tiny whitespace change
2872 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2874 * ToolbarDefaults.C (init):
2875 * LyXAction.C (init):
2877 * BufferView_pimpl.C (Dispatch):
2878 * lyxfunc.C (dispatch): remove LFUN_DEPTH
2880 2002-03-19 Allan Rae <rae@lyx.org>
2882 * exporter.C (Export): removeAutoInsets before doing anything else.
2883 While I've just introduced a dependency on BufferView this really is
2884 the best place to clean the buffer otherwise you need to cleanup in
2885 a dozen places before calling export or cleanup in a dozen functions
2888 * converter.C (runLaTeX):
2889 (scanLog): Better handling of removeAutoInsets and screen updates.
2891 * lyxfunc.C (dispatch): small whitespace changes
2893 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2895 * WorkArea.C (C_WorkAreaEvent): return a value.
2896 (event_cb): return 1 if we handled the event, 0 otherwise.
2898 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
2900 2002-03-18 Juergen Vigna <jug@sad.it>
2902 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2903 (GetAdditionalWidth): ditto.
2907 * BufferView2.C (copy): use getLyXText() so that we do it inside an
2908 inset if we're there actually (probably not used right now but this
2909 is the direction to go for unifying code).
2910 (paste): disable code to clear the selection.
2912 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2913 inside an InsetText and move the check further up as it is in the
2916 * text2.C (pasteSelection): set a selection over the pasted text.
2918 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
2920 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2921 and libgraphics to build on Cygwin.
2923 2002-03-15 Juergen Vigna <jug@sad.it>
2925 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2926 inserting an Inset into the paragraph. I know this is not the best
2927 fix but we already use current_view in CutAndPaste so we will remove
2928 all of it's using at the same time.
2930 * buffer.C (sgmlError): deactivated function till it is rewritten in
2931 the right mode, now it can create problems.
2933 * paragraph.C (isLineSeparator): check if getInset returns != 0,
2934 before accessing it.
2936 2002-03-14 Juergen Vigna <jug@sad.it>
2938 * undo_funcs.C (textHandleUndo): do the right thing when updating
2939 the inset after the undo/redo.
2941 * text2.C (setCursor): just some testcode for #44 not ready yet.
2943 * undo_funcs.C (textHandleUndo): set the next() and previous()
2944 pointers of the paragraph to 0 before deleting otherwise we have
2945 problems with the Paragraph::[destructor].
2947 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2948 on a paragraph insertion.
2950 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2952 * buffer.C (asciiParagraph): use += operator for char append to
2955 * paragraph.C (getFontSettings): compare >= not just >
2956 (highestFontInRange): ditto
2959 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2961 * paragraph.C: change several algorithm to be more appripriate for
2962 the problem domain. This is lookip in FontList and in the InsetList.
2964 2002-03-13 André Pönitz <poenitz@gmx.net>
2967 * LyXAction.C: remove unused LFUN_MATH_MACROARG
2969 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
2974 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2976 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2978 * Painter.C (display): anon helper function, adjust code for this
2980 (pixmap): remove function.
2982 * Painter.h: remove private display variable.
2984 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2986 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
2988 * WorkArea.[Ch]: remove figinset_canvas cruft.
2990 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2992 * lyxtextclass.C (operator): add one item cache optimization.
2994 * bufferlist.h: doxy changes
2996 * bufferlist.C: ws changes
2998 * DepTable.[Ch] (ext_exist): place const in the right spot.
3000 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
3002 (workAreaExpose): call resizeInsets when the with BufferView changes.
3003 (Dispatch): adjust for protectedBlank removal
3004 (specialChar): call updateInset if the insert went ok.
3006 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
3007 specialChar instead.
3009 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
3011 * BufferView.h: doxy change
3013 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
3015 * lyxtextclass.C (operator[]): remove non-const version
3016 (defaultLayout): remove non-const version
3018 2002-03-12 Juergen Vigna <jug@sad.it>
3020 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
3021 did resize the LyXText too.
3023 * buffer.C (readLyXformat2): set layout information on newly allocated
3026 * tabular.C (OldFormatRead): set layout information on the paragraph.
3028 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3030 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
3032 2002-03-11 Juergen Vigna <jug@sad.it>
3034 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
3036 (resizeCurrentBuffer): force also the insets to resize themselfes.
3037 (moveCursorUpdate): fixed up for InsetText.
3039 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
3042 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
3043 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
3044 value of Dialogs::tooltipsEnabled().
3045 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
3047 2002-03-08 Juergen Vigna <jug@sad.it>
3049 * BufferView_pimpl.C (updateInset): update inset inside inset also
3050 if it isn't inside theLockingInset().
3052 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3054 * buffer.C (asciiParagraph): redo some of the word and line length
3056 (getLists): look for Caption instead of caption.
3058 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3060 * buffer.C (Buffer): initialize niceFile to true
3063 (makeDocBookFile): make sure niceFile is true on exit
3065 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3067 * buffer.C (makeLaTeXFile): escape ~ in \input@path
3069 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
3071 * LyXSendto.C: remove.
3072 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
3073 * lyx_gui.C: remove now-redundant comment.
3074 * ColorHandler.h: remove forward declaration of class WorkArea.
3075 * lyxfunc.C: remove #include "WorkArea.h".
3077 2002-03-07 Juergen Vigna <jug@sad.it>
3079 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
3080 got moved away with the DEPM and also set the inset_owner always
3081 right which before could have been omitted.
3083 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3085 * buffer.C (parseSingleLyXformat2Token): use default layout is the
3086 wanted layout is not found.
3088 2002-03-07 Juergen Vigna <jug@sad.it>
3090 * CutAndPaste.C (cutSelection): another layout settings forgotten.
3092 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
3094 * paragraph.C (breakParagraph): use default layout not layout of
3096 (Paragraph): clear ParagraphParameters.
3098 2002-03-06 Juergen Vigna <jug@sad.it>
3100 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
3101 otherwise it would not be a valid lenght. Fixed a special case in
3102 the minipage compatibility read where we end the document with a
3105 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
3106 was set as it could be 0 for InsetTexts first entry.
3108 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3110 * paragraph.C (writeFile): if layout is empty write out
3111 defaultLayoutName().
3113 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
3114 file without named layout we set layout to defaultLayoutName().
3116 2002-03-06 Juergen Vigna <jug@sad.it>
3118 * CutAndPaste.C (copySelection): set layout for new paragraph.
3120 * text.C (prepareToPrint): leave ERT inset left aligned
3121 (leftMargin): don't indent paragraphs inside ERT insets
3123 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
3125 * paragraph.C (breakParagraph): dont call clear do the work manually
3127 * paragraph.[Ch] (clear): remove function
3129 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3131 * paragraph.C (Paragraph): dont call clear, the work has already
3134 * lyxtextclass.C (operator): assert if n is empty
3136 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
3137 work manually instead.
3139 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3141 * BufferView_pimpl.C: protect selectionLost against text == 0
3143 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3145 * text.C (breakParagraph): fix a setting layout to '0' problem.
3147 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3149 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3150 final location of file, for the included files, and graphics.
3152 2002-03-05 Juergen Vigna <jug@sad.it>
3154 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3156 2002-03-04 Juergen Vigna <jug@sad.it>
3158 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3160 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3161 last column of multicolumn cells.
3162 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3164 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3166 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3167 file if it doesn't go to a temporary file.
3169 * buffer.C (sgmlOpenTag):
3170 (sgmlCloseTag): remove extra newline insertion.
3172 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3174 * text.C (getRowNearY): comment out debug msg
3176 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3178 * text2.C: first -> first_y
3180 * text.C (getRowNearY): add some attemts at a possible
3181 optimization, not working.
3183 * tabular.[Ch]: add BufferParams to several function so that newly
3184 created paragraph can be initialized to he default layotu for the
3187 * tabular-old.C (ReadOld): add buf->params to call of Init
3189 * screen.C: rename text->first to text->first_y
3191 * paragraph.C (breakParagraph): always set layout in the broken
3194 * lyxtextclass.C (Read): remove lowercase
3197 (delete_layout): ditto
3199 * lyxtext.h: rename first -> first_y
3201 * lyxlayout.C (Read): remove lowercase
3204 (obsoleted_by): ditto
3206 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3208 * buffer.C (insertErtContents): add params are to InsetERT
3209 (parseSingleLyXformat2Token): add code to check if a paragraphs
3210 layout really exist.
3211 (parseSingleLyXformat2Token): add params to several inset
3213 (asciiParagraph): remove lowercase, do the layout comparisons with
3216 * BufferView_pimpl.C (cursorNext): first -> first_y
3217 (resizeCurrentBuffer): first -> first_y
3218 (updateScrollbar): first -> first_y
3219 (scrollCB): first -> first_y
3220 (workAreaMotionNotify): first -> first_y
3221 (workAreaButtonPress): first -> first_y
3222 (checkInsetHit): first -> first_y
3223 (cursorPrevious): first -> first_y
3224 (cursorNext): first -> first_y
3225 (Dispatch): add buffer_->params to severl inset contructors
3227 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3229 * lyxlayout.C (Read): remove some debug info that I forgot.
3231 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3232 clean up the code slightly.
3233 (makeLinuxDocFile): ditto
3234 (makeDocBookFile): ditto
3236 * text2.C: layout as string
3238 * text.C: layout as string
3240 * paragraph_pimpl.C: layout as string
3242 * paragraph.[Ch]: layout as string
3244 * lyxtextclasslist.[Ch]: layout as string
3246 * lyxtextclass.[Ch]: layout as string
3248 * lyxtext.h: layout as string
3250 * lyxlayout.[Ch]: layout as string
3252 * lyx_cb.C: layout as string
3254 * bufferview_funcs.C: layout as string
3256 * bufferparams.C: layout as string
3258 * buffer.C: layout as string
3260 * LyXView.[Ch]: layout as string
3262 * LaTeXFeatures.[Ch]: layout as string
3264 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3266 * BufferView_pimpl.C: change current_layout to string, remove
3271 (workAreaButtonRelease): layout as string
3273 * BufferView2.C (unlockInset): adjust
3275 * vspace.C (asLatexCommand): use an explict temp variable.
3277 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3279 * Makefile.am: use FRONTEND_*
3281 2002-03-01 Juergen Vigna <jug@sad.it>
3283 * tabular.C (SetWidthOfMulticolCell): changed to something better
3284 I hope but still work in progress.
3285 (recalculateMulticolumnsOfColumn): renamed function from
3286 recalculateMulticolCells as it is more appropriate now.
3287 (SetWidthOfCell): calculate multicols better.
3289 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3291 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3293 * lyxfunc.C (processKeySym): print sequence also if it is
3294 `deleted' (complete)
3296 * kbsequence.C (print): print sequence even if it is deleted
3297 (complete would be a better word, actually).
3299 * lyxfunc.C (dispatch): print complete options after a prefix key
3301 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3303 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3305 * text2.C (setCharFont): eliminate setCharFont code duplication.
3307 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3309 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3310 LFUN_TABULAR_FEATURE (bug #177)
3312 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3314 * Makefile.am: remove figure.h
3316 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3318 * Bufferview_pimpl.C:
3330 * text2.C: remove #include "lyx_gui_misc.h".
3332 * LaTeX.C: added #include <cstdio>
3334 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3336 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3337 that the paragraph following this one can have.
3339 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3341 * vspace.C (asLatexCommand): fix bogus gcc warning
3343 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3345 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3347 * text2.C (setLayout): get rid of redundant code
3349 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3351 * text2.C (incDepth): make sure depth cannot be increased beyond
3354 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3356 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3357 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3359 * PainterBase.h (image):
3360 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3363 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3367 * BufferView_pimpl.C:
3368 * BufferView_pimpl.h:
3388 * sp_spell.C: remove fig inset, and the crap house of
3389 cards that follows it
3391 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3397 * nt_defines.h: move .h into support/
3399 * vms_defines.h: remove
3401 * WorkArea.C: add space in debug output
3405 * buffer.C: add WITH_WARNINGS
3409 * bufferlist.C: s/retrive/retrieve/, add docs
3420 * lyxgui.C: add ID to X error handler
3422 * lyxtestclass.c: fix typo
3424 2002-02-26 Juergen Vigna <jug@sad.it>
3426 * tabular_funcs.C (write_attribute): changed so that some default
3427 attributes are not written at all.
3428 (getTokenValue): set default values before trying to read the
3429 value so we have the return value always set as default if we don't
3430 find the token we search for.
3432 * tabular.C (Write): write bools as bools not as strings!
3434 2002-02-22 Juergen Vigna <jug@sad.it>
3436 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3437 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3439 * text.C (leftMargin): don't add an indent for paragraphs inside
3440 tabular cells (fix #208).
3442 2002-02-21 José Matos <jamatos@fep.up.pt>
3444 * tabular.C (docBook): fixed support for long tables.
3446 2002-02-20 Juergen Vigna <jug@sad.it>
3448 * text2.C (getFont): get the drawing font of the Inset if this
3449 paragraph is inside an inset (only important for InsetERT for now).
3451 * buffer.C (insertErtContents): use new lanugage params in ERT
3454 * CutAndPaste.C: commenting out seemingly uneeded code.
3456 2002-02-19 Allan Rae <rae@lyx.org>
3458 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3459 Iterators might be simple to use but they also get invalidated.
3460 (removeAutoInsets): renamed saved cursor tracking variables and added
3461 some comments to clarify what everything does.
3463 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3470 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3471 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3474 * vc-backend.h: remove #include "support/syscall.h"
3478 * converter.C: rearrange #includes in Lars' approved fashion.
3480 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3481 forward declare class Timeout in the header file.
3483 * XFormsView.C: changes due to the above.
3485 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3488 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3489 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3491 2002-02-18 José Matos <jamatos@fep.up.pt>
3493 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3496 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3498 * a lot of small ws changes
3499 * add a lot of using std::XXX
3500 * use std construcs some places where approp.
3501 * use some exisint stuff from lyxfunctional where approp.
3502 * Make file changes to use partial linking (lets test this now...)
3504 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3508 remove #include "support/syscontr.h" as it's redundant. Always has been.
3516 change Systemcalls::System to Systemcalls::Wait and
3517 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3518 No change of functionality, just reflects the stripped down Systemcalls
3521 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3523 * debug.[Ch]: add a GRAPHICS type to the enum.
3525 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3527 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3529 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3532 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3534 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3535 match the changes below.
3537 * text2.C (toggleInset): if there is not editable inset at cursor
3538 position, try to see if cursor is _inside_ a collapsable inset
3541 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3543 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3544 document menu has a nice checkbox
3546 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3548 * lyxlength.C (asLatexString): change PW to output as percent of
3551 * lengthcommon.C: change '%' to 't%'
3553 * lyxfunc.C (dispatch): a few comments from Martin
3555 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3559 * BufferView_pimpl.h:
3560 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3563 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3565 * vspace.C (inPixels): fix compiler warning
3567 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3569 * lyxfunc.C (getStatus): fix status message for disabled commands.
3571 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3573 * BufferView_pimpl.C: fix crash on close buffer
3574 during selection (#227)
3576 2002-01-27 Herbert Voss <voss@lyx.org>
3578 * buffer.C: link old Figure to new graphic inset
3580 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3582 * FontLoader.C (getFontinfo): Change the latex font names in order
3583 to match the names of type1inst.
3585 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3587 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3589 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3592 (remove_files_with_extension): ditto
3593 (remove_file): ditto
3596 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3597 document is smaller than the work area height. Do not initialize
3598 static variables to 0.
3600 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3602 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3604 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3605 LFUN_LAYOUT_PARAGRAPHS.
3607 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3608 tabular. It is possible to provide a possible cell, which will
3609 typically be the actcell from the corresponding insettabular
3611 * lyxfunc.C (getStatus): small cleanup; disable
3612 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3615 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3617 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3619 * paragraph.C (startTeXParParams):
3620 (endTeXParParams): new methods. The LaTeX code to
3621 start/end paragraph formatting
3622 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3623 empty (fixes bug #200)
3625 * vspace.C (inPixels): adapt to the change below
3626 (inPixels): [later] more cleanups (remove unused variables)
3628 * lyxlength.C (inPixels): change to use a width and a height as
3631 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3633 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3634 Replaced with \paperwidth
3636 * DepTable.C (insert): add std:: qualifier
3638 2002-01-18 Allan Rae <rae@lyx.org>
3640 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3643 * text.C (drawInset): Turned out I didn't know enough about how
3644 rebreaking worked. This fixes most of the redraw problems. I see
3645 an occasional cursor trail when a line is broken now and the cursor
3646 placement can seem out by a few pixels also after a rebreak.
3648 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3650 * buffer.C (parseSingleLyXformat2Token): update because minipage
3651 width is now a LyXLength
3653 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3655 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3658 2002-01-17 Juergen Vigna <jug@sad.it>
3660 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3662 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3663 is set correctly and the inset is updated correctly.
3665 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3667 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3668 the beginning of the loop.
3670 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3672 * lyxrc.C: improve help for use_scalable_fonts
3674 2002-01-17 Allan Rae <rae@lyx.org>
3676 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3678 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3680 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3681 make sure to set their inset_owner to the right value (bug #171)
3683 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3686 * DepTable.C: Implement mtime checking to reduce time spent doing
3689 2002-01-16 Juergen Vigna <jug@sad.it>
3691 * tabular.C (GetAdditionalHeight): one of error fixed.
3693 * lyxrc.C (output): small fix in writing use_pspell.
3695 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3697 * sp_base.h: #include LString.h
3699 2002-01-16 Allan Rae <rae@lyx.org>
3701 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3702 Can someone check this please?
3704 * text.C (drawInset): It was possible that p.row would be removed by
3705 breakAgainOneRow upsetting a few other settings. There may be another
3706 small tweak possible by setting need_break_row = 0 when p.row has been
3707 removed but I don't know enough about the logic here.
3709 2002-01-15 Allan Rae <rae@lyx.org>
3711 * text.C (insertChar): removed conditional truism.
3713 * BufferView2.C (removeAutoInsets): More tweaks.
3714 cur_par_prev could be a stray pointer. Check for trailing empty line
3715 in case last line was cur_par and only had an error inset on it.
3717 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3719 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3722 * vc-backend.C (most methods):
3723 * exporter.C (Export):
3724 * converter.C (convert):
3726 * LyXSendto.C (SendtoApplyCB):
3727 * lyxfunc.C (dispatch):
3731 * lyx_cb.C (AutoSave):
3733 * BufferView_pimpl.C (MenuInsertLyXFile):
3734 * buffer.C (runChktex): use Buffer::filePath().
3736 * buffer.h: rename filename to filename_; rename filepath to
3737 filepath_ and make it private
3738 (filePath): new method
3740 * buffer.C (writeFile): use fileName()
3743 * lyx_main.C (init): fix starting of LyX when the binary is a
3744 link from so,ewhere else.
3746 * minibuffer.C: include <cctype> for isprint
3748 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3750 * buffer.C (parseSingleLyXformat2Token): changes associated with the
3751 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3752 name clash with InsetCollapsable's width function.
3754 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3756 * lastfiles.C: include <iterator>
3758 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3760 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3763 * buffer.C (makeLaTeXFile): ditto.
3764 Also make loop operation more transparent.
3766 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3768 * ToolbarDefaults.C: remove trailing comma closing namespace.
3770 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3772 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3775 * trans.C (Load): comment out unused variable, allowed.
3777 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3779 * minibuffer.[Ch] (append_char): new method to recieve input from the
3780 drop-down completion browser. If a key was pressed, then recieve this
3781 char and append it to the existing string.
3782 (peek_event): modify the positioning data passed to the completion
3783 browser so that it can be placed above the minibuffer rather than below.
3784 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3786 * LyXAction.C (init): alloe error-next for readonly documents.
3788 * BufferView2.C (ChangeRefsIfUnique): use standard version of
3791 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3793 * bufferlist.C (readFile): create the buffer _after_ checking that
3796 * lyxfunc.C (verboseDispatch): fix handling of arguments
3798 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3800 * lyxrc.C: use string::erase() instead of initializing to "".
3803 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3805 * BufferView_pimpl.h:
3806 * BufferView_pimpl.C:
3809 * text2.C: tell X when we have made a selection for copying
3811 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3813 * BufferView_pimpl.C (MenuInsertLyXFile):
3814 * lyxfunc.C (menuNew):
3816 (doImport): add shortcuts to directory buttons
3818 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3821 * lyxfunc.C (setStatusMessage):
3822 (getStatusMessage): new methods
3823 (getStatus):use setStatusMessage instead of setErrorMessage
3824 (dispatch): when function is disabled, set error message here
3825 [instead of in getStatus previously]
3827 * BufferView_pimpl.C (workAreaButtonRelease): update
3828 toolbar/menubar here too.
3830 2002-01-13 Allan Rae <rae@lyx.org>
3832 * BufferView2.C (removeAutoInsets): finished off earlier fix.
3833 Now seems indestructible. Remaining task is to audit all other
3834 code affected by deleteEmptyParagraphMechanism. One small quirk
3835 left is that an empty document with an error in the preamble can
3836 be made to report an error but no error box appears. I don't know
3838 (removeAutoInsets): Improved comments.
3840 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
3843 * Thesaurus.C: update for Aiksaurus 0.14
3845 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3847 * text2.C (firstParagraph): removed member function, all uses
3848 replaces with ownerParagraph
3849 (redoParagraphs): here
3851 (toggleAppendix): here
3852 * BufferView2.C (insertErrors): here
3853 (setCursorFromRow): here
3855 2002-01-13 Allan Rae <rae@lyx.org>
3857 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
3858 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
3859 There is still a way to segfault this although you may have to do this
3860 multiple times: Have an InsetERT with an unknown command in it.
3861 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
3862 <down-arrow>, <Enter> again, View->DVI, BANG!
3864 * text2.C (setCursor):
3865 (deleteEmptyParagraphMechanism):
3866 * lyxtext.h (setCursor):
3867 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
3868 Making use of the return value may help fix other bugs.
3870 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3872 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
3874 * LyXView.C (updateMenubar): call MenuBar::update here
3875 (updateToolbar): but not here
3876 (showState): do not update toolbar/menubar
3878 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
3879 should need to care about that.
3881 * lyxfunc.C (verboseDispatch): simplify a bit
3882 (getStatus): have a version which takes a pseudoaction, and
3883 another which requires a (kb_action,string).
3885 * LyXAction.C (retrieveActionArg): make it work also when action
3886 is not a pseudo-action.
3887 (getActionName): simplify a bit
3890 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3892 * lyxfunc.C (verboseDispatch): new families of methods with
3893 several ways to specify a command and a bool to indicate whether
3894 the command name and shortcut should be displayed in minibuffer
3895 (eventually, we could extend that to a finer bitmask like
3896 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
3897 (dispatch): the pristine dispatch command which just, well,
3898 dispatchs! Note it still sets its result to minibuffer; I'm not
3901 * lyxfunc.h: remove setHintMessage
3903 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3905 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3907 * BufferView_pimpl.C (specialChar): delete new inset if we have
3908 not been able to insert it.
3910 * kbmap.C: revert to using int instead of kb_action, since all we
3911 are dealing with is pseudo-actions.
3913 * LyXAction.C (searchActionArg): change to return int instead of
3914 kb_action, since the result is a pseudoaction.
3916 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
3918 * buffer.C (insertErtContents): Fix (partially) the font bug.
3920 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3922 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3923 as the other one is broken on my machine!
3925 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
3928 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3930 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
3932 * lyxrc.[Ch]: change names and descriptions of popup font variables to
3933 reflect their actual use. Provide compatibility code for older lyxrc
3936 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3938 change names of popup font variables in line with the changes to lyxrc.C
3940 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3942 * buffer.C (asciiParagraph): avoid outputing a word twice after
3945 * lyxrc.C (getDescription): document that document_path and
3946 template_path can be empty.
3948 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3950 * LaTeXFeatures.C (getMacros):
3951 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3953 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3955 * LaTeXFeatures.C (useFloat): require "float" here instead of in
3957 (getPackages): rename feature "floats" to "float". Use an array to
3958 iterate over 'simple' features (i.e. just a \usepackage). Add
3959 handling of "amsmath" (renamed from "amsstyle").
3961 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
3963 * LaTeXFeatures.C (require): Prevent duplicate entries in the
3966 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
3968 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3969 FuncStaus::FuncStatus & FuncStaus::some_method().
3971 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3973 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3974 of the func_satus stuff. Edited and massaged in various ways by
3977 * lyxfunc.C (getStatus): use FuncStatus
3979 2002-01-08 Juergen Vigna <jug@sad.it>
3981 * text.C (nextBreakPoint): use function Inset::isChar().
3983 * paragraph.C (TeXOnePar): use function
3984 Inset::forceDefaultParagraphs.
3986 * buffer.C (latexParagraphs): use function
3987 Inset::forceDefaultParagraphs.
3989 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3991 * lyx_gui.C (init): set the style of the menu popups to
3992 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3994 2002-01-07 Juergen Vigna <jug@sad.it>
3996 * text.C (setHeightOfRow): small fix
3997 (prepareToPrint): don't look at alignment if we don't have the place
4000 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4002 * box.C: New file. Move the Box methods and functions out of box.h,
4003 following Lars' suggestion.
4005 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
4007 * box.h: #include "support/LOstream.h", needed for inlined function.
4010 * lyxtextclasslist.C: added some using std declarations.
4012 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
4014 * box.h: make signed dimensions to allow insets wider than
4015 the screen (bug #162)
4017 * BufferView_pimpl.C: add some insetHit debug
4019 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4021 * vc-backend.C: add FIXME
4023 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4025 * lyxfunc.C (getStatus): enable code for showing math font status
4028 2002-01-07 Juergen Vigna <jug@sad.it>
4030 * text.C (nextBreakPoint): removed debug output not needed anymore.
4032 2002-01-06 Juergen Vigna <jug@sad.it>
4034 * text.C (nextBreakPoint): fixed up this function we had this bug
4035 since ever but now hopefully we break row better.
4036 (insertChar): we have to check if an inset is the next char as it
4037 could now happen that a large inset is causing a break.
4039 2002-01-05 Juergen Vigna <jug@sad.it>
4041 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
4042 if it doesn't like to be drawed.
4044 2002-01-04 Juergen Vigna <jug@sad.it>
4046 * BufferView2.C (lockInset): forgot to set a cursor.
4048 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
4050 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
4055 * form_maths_panel.C:
4056 * form_maths_panel.h:
4057 * form_maths_panel.fd: implemented sub- and super- buttons in math
4060 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
4061 (or ^ space) to be used as in TeX (req'd by André).
4063 * lyxfunc.C: Allow ^ and _ again to be used both as
4064 super/subscript (mathed) and as themselves (in text).
4066 2002-01-03 Allan Rae <rae@lyx.org>
4068 * LyXView.C (updateWindowTitle): Setup a short icon title of either
4069 "LyX" or the filename of the current buffer if it has one. This is a
4070 modified form of John Levon's patch.
4072 * XFormsView.C (setWindowTitle): also set icon title.
4074 * LyXView.h (setWindowTitle): signature changed.
4075 * XFormsView.h (setWindowTitle): ditto.
4077 2002-01-02 Juergen Vigna <jug@sad.it>
4079 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
4081 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4083 * screen.C (topCursorVisible): introduce a temp var for
4084 text->cursor.row(), handle the case where this row is null. (kindo
4087 * text2.C (setCursor): add a couple of asserts.
4089 * paragraph.h (inset_iterator): add -> operator
4091 * paragraph.[Ch] (autoDeleteInsets): remove member function
4093 * BufferView2.C (removeAutoInsets): rewrite to handle the old
4094 cursor pos correctly and handle inset deletion by itself.
4095 (insertErrors): move iterator declaration out of for expression
4097 * lyxtextclass.C: add <algorithm>
4099 * Makefile.am: added the new files to sources, removed layout.C
4101 * layout.C: removed file
4103 * layout.h: remove LYX_DUMMY_LAYOUT
4105 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
4109 * lyxtextclass.[Ch]:
4110 * lyxtextclasslist.[Ch]: new files
4112 * include order changes to a lot of files, also changes because of
4115 2001-12-27 Juergen Vigna <jug@sad.it>
4117 * buffer.C (asciiParagraph): more fixes.
4119 * tabular.C (ascii): make ascii export support export of only the
4120 data separated by a column-delimiter.
4121 (ascii): better support for ascii export.
4123 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
4125 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4127 * tabular_funcs.C: use a "using std::getline" instead of the
4128 previous fix from Angus (necessary for cxx + lyxstring)
4130 2001-12-24 Juergen Vigna <jug@sad.it>
4132 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
4134 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
4135 problems. First check a minipage also if we have some ert-contents
4136 (not only on par->size(), second set the right depth of the paragraph
4137 on the relink to the root-paragraph-list!
4139 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
4140 which then did not anymore update the main paragraphs on undo/redo!
4142 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4144 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
4145 code. Support all font-changing funcs (even those which are not in
4146 menu currently). Support for reporting font settings in
4147 mathed (disabled until Andre provides a function on mathed's side).
4149 * func_status.h (toggle): small helper function to set toggle
4152 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4154 * tabular_funcs.C: getline -> std::getline
4156 2001-12-21 Juergen Vigna <jug@sad.it>
4158 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4159 accessed and could be 0 (I couldn't generate this but it seems
4162 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4164 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4165 * tabular_funcs.h: here and include iosfwd
4167 2001-12-20 Juergen Vigna <jug@sad.it>
4169 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4170 inside inset but undo_par was.
4172 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4174 * Thesaurus.C: always include <config.h> in sources.
4178 * box.h: do not include <config.h> in header files
4180 * text.C (paintLastRow): remove unused variable
4182 * text.C (transformChar):
4184 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4187 * font.C (width): rewrite to use uppercase() instead of
4190 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4192 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4194 * lyxfind.C: clean up of find failure position change
4196 2001-12-20 Juergen Vigna <jug@sad.it>
4198 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4200 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4201 (TeXRow): added to LaTeX a single tabular row.
4202 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4203 (Latex): simplified and finally good LT-h/f support.
4204 (various_functions): just small adaptions for LT-h/f support.
4206 * tabular_funcs.[hC]: added and moved here all not classfunctions
4209 2001-12-19 Juergen Vigna <jug@sad.it>
4211 * tabular.[Ch]: better support for longtabular options (not finished
4214 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4216 * text.C (paintLastRow): use the label font instead of the font of
4217 the last character to compute the size of *_BOX. This makes more
4218 sense and avoids a crash with empty paragraphs.
4219 Use Painter::rectangle to draw EMPTY_BOX.
4221 2001-12-19 Juergen Vigna <jug@sad.it>
4223 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4224 the paragraphs if the replaced paragraph is not the first one!
4225 Tried to delete not used paragraphs but does not work yet so for
4226 now it's inside #ifdef's and by default off!
4228 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4230 * MenuBackend.C: include "lyx_main.h" instead of declaring
4231 lastfiles (actually was declared as LastFiles* instead of a
4234 2001-12-17 Juergen Vigna <jug@sad.it>
4236 * tabular.C (AppendColumn): applied John's fix
4238 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4242 * BufferView_pimpl.h:
4243 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4246 * box.h: new start of class for above
4248 * lyxfunc.C: ignore space-only minibuffer dispatches.
4249 Show the command name when it doesn't exist
4251 * minibuffer.C: don't add empty lines to the history
4253 * minibuffer.C: add a space on dropdown completion
4255 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4257 * text.C: fix line above/below drawing in insets
4259 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4261 * lyxlength.C (LyXLength): Initialize private variables.
4263 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4265 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4266 when inserting error insets.
4268 2001-12-13 Juergen Vigna <jug@sad.it>
4270 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4271 actually sometimes the before-paragraph.
4272 (setUndo): don't clear the redostack if we're not actually undoing!
4274 2001-12-06 Juergen Vigna <jug@sad.it>
4276 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4277 and fixed redoing of main paragraph, so we can use it now ;)
4279 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4281 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4283 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4286 2001-12-13 André Pönitz <poenitz@gmx.net>
4289 * undo_func.C: minor cleanup
4291 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4293 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4294 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4295 font in urw-fonts package which is marked as -urw-fontspecific and
4296 does not work (incidentally, changing the encoding in the
4297 fonts.dir of this package to -adobe-fontspecific fixes the
4300 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4301 is a crash when undoing first paragraph (Juergen, please take a
4302 look). THis does not mean the undo fix is wrong, just that it
4305 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4306 the (Paragraph*) version when needed instead of duplicating the
4309 * text.C (workWidth): use Inset::parOwner to find out where the
4310 inset has been inserted. This is a huge performance gain for large
4311 documents with lots of insets. If Inset::parOwner is not set, fall
4312 back on the brute force method
4314 * paragraph_pimpl.C (insertInset):
4315 * paragraph.C (Paragraph):
4316 (cutIntoMinibuffer): set parOwner of insets when
4317 inserting/removing them
4319 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4321 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4327 * mathed/formulabase.C:
4328 * mathed/math_cursor.[Ch]:
4329 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4332 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4334 * lyxlength.[Ch] (operator!=): new function
4336 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4338 * text.C (workWidth): use Inset::parOwner to find out where the
4339 inset has been inserted. This is a huge performance gain for large
4340 documents with lots of insets. If Inset::parOwner is not set, fall
4341 back on the brute force method
4343 * paragraph_pimpl.C (insertInset):
4344 * paragraph.C (Paragraph):
4345 (cutIntoMinibuffer): set parOwner of insets when
4346 inserting/removing them
4348 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4350 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4352 * tabular-old.C (getTokenValue):
4353 * tabular.C (getTokenValue):
4354 (write_attribute): new versions for LyXLength
4355 (everywhere): adjust the use of widths
4357 * tabular.h: change the type of widths from string to LyXLength
4359 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4361 * paragraph.C: fixed missing line number count when exporting
4362 Environments to LaTeX file
4364 * buffer.C: added informational message for checking line numbers.
4366 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4368 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4369 paragraph, do the 'double space' part, but not the 'empty
4372 * text.C (workWidth): small optimization
4373 (getLengthMarkerHeight): use minimal size for negative lengths.
4375 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4377 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4379 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4381 2001-12-11 André Pönitz <poenitz@gmx.net>
4384 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4386 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4388 * text2.C: keep selection on a setFont()
4390 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4392 * lyx_cb.C: another bv->text misuse, from insert label
4394 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4397 * kbsequence.C: re-instate nmodifier mask
4399 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4401 * lyx_main.h: make lyxGUI private.
4403 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4405 * lyxfind.C: place the cursor correctly on failed search
4407 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4409 * text.C (getLengthMarkerHeight): for small heights, the arrows
4410 are not always on top/bottom of the text
4411 (drawLengthMarker): smaller arrows; take the left margin in
4412 account; draw also vfills.
4414 (paintLastRow): remove special code for vfill and standard spaces,
4415 since everything is handled in drawLengthMarker now.
4417 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4419 * buffer.C (insertErtContents): try to handle font and language
4420 interaction a bit better.g
4422 * ColorHandler.C (updateColor): change the hash to cover the whole
4423 LColor enum, ws cleanup
4424 (getGCLinepars): ditto
4425 (getGCLinepars): only lookup in the linecache once.
4427 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4429 * iterators.C (operator++): Make the iterator more robust
4431 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4433 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4435 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4438 * text.C: better added space drawing
4440 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4443 * BufferView2.C: fix layout combo update on inset unlock
4445 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4447 * Makefile.am: don't compile unused files
4449 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4453 * LyXAction.C: remove old LFUN_LAYOUTNO
4455 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4457 * paragraph_pimpl.h:
4458 * paragraph_pimpl.C: isTextAt() doesn't need font param
4460 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4463 * lyxlex.C: little cleanup
4465 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4467 * BufferView_pimpl.C: fix insertAscii for insets
4469 2001-12-05 Juergen Vigna <jug@sad.it>
4471 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4472 set the right font on the "multi" paragraph paste!
4474 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4480 * lyxlength.C: remove out-commented code.
4496 * vc-backend.C: change "while(" to "while ("
4498 * lyxlength.[Ch]: add zero function to check if length is zero or
4500 * lyxgluelength.C: use it
4502 2001-12-05 Allan Rae <rae@lyx.org>
4504 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4505 Works for 2.95.3, from what I understand of Garst's reports this should
4506 work for other g++ versions. We're screwed if the abs(int) definition
4507 changed between bugfix releases of gcc.
4509 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4511 * text.C: fix chapter label offset !
4513 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4516 * text.C: fix hfill at end of line, clean up
4518 2001-12-04 Juergen Vigna <jug@sad.it>
4520 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4521 that we force an update of the inset and it's owners if neccessary.
4523 2001-12-03 Juergen Vigna <jug@sad.it>
4525 * text.C (rowLast): simplified code
4527 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4529 * lyxfunc.C: fix show options on timeout
4531 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4533 * screen.C (topCursorVisible): scroll half a page when the cursor
4534 reached top of bottom of screen
4536 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4538 * minibuffer.C: deactivate on loss of focus
4540 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4542 * vspace.[Ch] (operator!=): add operator.
4544 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4546 * BufferView_pimpl.C: refuse to open an inset when
4547 there's a selection.
4549 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4551 * BufferView_pimpl.C: allow to click on RHS of full row insets
4553 2001-11-30 Juergen Vigna <jug@sad.it>
4555 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4556 insets for undo reasons.
4558 2001-11-28 André Pönitz <poenitz@gmx.net>
4560 * vspace.[Ch]: cosmetical changes
4562 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4572 * kbsequence.C: part re-write of old kb code
4575 * WorkArea.C: remove Lgb_bug_find_hack
4577 2001-11-30 José Matos <jamatos@fep.up.pt>
4579 * buffer.C (makeDocBookFile): add a comment to point a hack.
4580 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4581 Fixed a double write of labels.
4583 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4586 * LaTeX.h Fixed bug in LaTeX class where it would not
4587 re-run latex if no depfiles were changed, but the .dvi was removed.
4589 2001-11-28 André Pönitz <poenitz@gmx.net>
4591 * all the files from the change on 2001/11/26:
4592 use lyx::layout_type instead of LyXTextClass::size_type
4593 use lyx::textclass_type instead of LyXTextClassList::size_type
4595 2001-11-29 Juergen Vigna <jug@sad.it>
4597 * text.C: added support for paragraph::isFreeSpacing()
4599 * buffer.C: same as above
4601 * paragraph.h: inserted isFreeSpacing() function to enable
4602 FreeSpacing inside InsetERT.
4604 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4605 of the paragraph's in the cut/copy buffer to 0!
4607 * text2.C (removeRow): remove the assert as it can!
4609 * lyxtext.h: added helper function firstRow returning firstrow and
4610 made firstrow private again.
4612 * BufferView2.C (lockInset): don't relock if we're already locked!
4614 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4616 (removeRow): added Assert::(firstrow)
4618 * debug.C: forgot to add INSETTEXT here.
4620 2001-11-28 Juergen Vigna <jug@sad.it>
4622 * sp_spell.C (initialize): changed error text to more general
4623 spellchecker command use (not only ispell!)
4625 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4627 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4629 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4631 * vspace.C: initialise lyxgluelength on failure
4633 2001-11-28 Allan Rae <rae@lyx.org>
4635 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4636 declaration & definition that looks like a function declaration.
4638 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4640 * BufferView2.C (copy):
4641 (copyEnvironment): do not clear the selection when doing a copy.
4643 * text.C (paintFirstRow): compilation fix
4645 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4647 * tabular.C (Latex): correct line count when writing latex.
4649 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4651 * paragraph_pimpl.h:
4652 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4655 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4659 * LColor.C: change vfillline->added_space
4661 * text.C: add markers and text for added space
4663 * vspace.C: fix comment
4665 2001-11-28 André Pönitz <poenitz@gmx.net>
4667 * paragraph.C: whitespace changes
4668 * all the other files from the change on 2001/11/26:
4669 change *::pos_type into lyx::pos_type
4671 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4673 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4674 language of the document when inserting error insets.
4676 2001-11-26 André Pönitz <poenitz@gmx.net>
4678 * BufferView_pimpl.[Ch]:
4686 * paragraph_pimpl.[Ch]:
4689 * text2.C: reduce header dependencies, introduce type for positions
4691 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4693 * <various>: change to use Alert.h
4695 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4697 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4698 when encountering an unknown token.
4699 (readLyXformat2): Show an error message if there were unknown tokens.
4701 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4704 * BufferView_pimpl.C:
4708 * text2.C: use par->isInset()
4710 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4712 * paragraph_pimpl.h:
4713 * paragraph_pimpl.C: cleanup
4715 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4717 * text2.C (removeRow):
4718 * text.C (setHeightOfRow): remove useless (and costly) call to
4721 2001-11-20 Allan Rae <rae@lyx.org>
4723 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4724 Now need Inset*::checkInsertChar() to return true for appropriate
4725 cases so that the characters in the minibuffer will actually be
4728 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4730 * text.C: change the order of the includes.
4731 (workWidth): initialize it at once.
4732 (workWidth): make maxw unsigned
4733 (setHeightOfRow): remove unused variable (inset)
4734 (selectSelectedWord): remove unused variable (inset)
4735 (paintRowText): fix drawing of hfill characters, and clean up a bit.
4737 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4739 * lyxserver.C (emergencyCleanup): do not try to close pipes if
4740 server is not running.
4742 (closeConnection): add debug info when server is disabled.
4744 * ColorHandler.C (getGCForeground): send debug message to GUI
4747 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4749 * kbmap.C (bind): modify because return conventions of
4750 kb_sequence::parse have changed.
4752 * kbsequence.C (parse): only ignore spaces and not any stupid
4753 control character. This avoids tests like s[i] <= ' ', which are
4754 guaranteed to fail with 8bit characters and signed chars.
4755 Change return code to string::npos when there have been no error
4756 (0 was a bad idea when error is at first character)
4758 2001-11-14 José Matos <jamatos@fep.up.pt>
4761 * buffer.C (simpleDocBookOnePar): removed unused argument.
4763 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4765 * text.C (selectNextWordToSpellcheck): do not test explicitely for
4766 insets which are part of a word. Paragraph::isLetter takes care of
4767 that now. Use Paragraph::isInset to identify insets.
4768 (selectSelectedWord): do not test for hyphenation break.
4770 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4771 that protected spaces are considered as spaces.
4773 * paragraph.C (isLetter): cleanup the code for ispell extras; use
4776 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
4779 * lyxserver.C: fix it. and small cleanup.
4781 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4783 * BufferView_pimpl.C: use inline helpers
4786 * LaTeXFeatures.C: fix typos
4789 * Spacing.C: move spacing_string into class
4791 * ToolbarDefaults.C: move stuff into namespace anon
4793 * layout.h: update enum
4795 * lyxfunc.C: use better debug
4797 * minibuffer.h: fix typo
4801 * WorkArea.C: add and use Debug::WORKAREA
4805 * text2.C: code re-organisation, inline helpers
4807 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
4809 * Layout.C: replaced a few cases of std::vector.size() == 0 with
4810 std::vector.empty().
4812 2001-11-09 Allan Rae <rae@lyx.org>
4814 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4815 '\n's after tables. Tabular and ERT inset work now makes this no
4818 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4821 * minibuffer.C: fix crash, improve drop-down completion
4823 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
4826 * lyxserver.C: invalidate fd's when doing endPipe()
4828 2001-11-08 José Matos <jamatos@fep.up.pt>
4830 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4831 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4834 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4836 2001-11-07 José Matos <jamatos@fep.up.pt>
4839 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
4842 * buffer.C (sgmlOpenTag):
4843 * buffer.C (sgmlCloseTag): removed debug info.
4845 * buffer.h (sgmlOpenTag):
4846 * buffer.h (sgmlCloseTag): made public.
4848 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4850 * buffer.C (saveParamsAsDefaults):
4851 * lyx_cb.C (MenuLayoutSave): remove
4853 * LyXAction.C (init):
4855 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
4857 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4859 * buffer.C (setPaperStuff): removed from here...
4861 * bufferparams.C (setPaperStuff): ... and moved there.
4863 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
4867 * XFormsView.C: add support for drop-down completion
4869 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
4871 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
4874 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4876 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
4879 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4881 * lyx_main.C: change ref to known bugs
4883 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4885 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
4886 to work around older babel problems.
4888 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4890 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
4892 2001-10-24 Juergen Vigna <jug@sad.it>
4894 * tabular-old.C (ReadOld): below variable changes reflected.
4896 * tabular.[Ch]: added ltType struct for longtable header/footer
4897 defines and changed all instances where they are used. Added
4898 future support for double top/bottom rows.
4900 2001-10-24 José Matos <jamatos@fep.up.pt>
4902 * buffer.h (docbookHandleCaption):
4903 * buffer.C (docbookHandleCaption): removed unused function.
4904 (makeDocBookFile): moved docbook supported version to v4.1.
4906 2001-10-24 José Matos <jamatos@fep.up.pt>
4909 * tabular.C (docbookRow): new function to export docbook code of a row.
4910 (DocBook): now honors the longtable flags.
4912 2001-10-23 José Matos <jamatos@fep.up.pt>
4915 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4916 of the lyx defined sgml entities used in a docbook/linuxdoc document.
4918 * buffer.C (makeLinuxDocFile):
4919 (makeDocBookFile): reworked the preamble, more clean, and with
4920 support for lyx defined entities. Changed the document declaration
4921 to be more XML friendly.
4923 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4924 if we need to output XML that should be done with a filter.
4926 2001-10-22 Juergen Vigna <jug@sad.it>
4928 * sp_pspell.h (class PSpell): add alive function needed in the
4929 controller to see if the spellchecker could be started.
4931 2001-10-22 Juergen Vigna <jug@sad.it>
4933 * buffer.C (insertStringAsLines): modify the font for inserting
4934 chars in certain conditions by calling checkInsertChar(font).
4936 2001-10-19 Juergen Vigna <jug@sad.it>
4938 * text.C (workWidth): use getRow instead of wrong algorithm.
4939 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4941 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
4946 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4948 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4950 * text.C (workWidth): do not search for the exact row when
4951 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4952 optimization for big documents.
4954 2001-10-18 Juergen Vigna <jug@sad.it>
4956 * text.C (workWidth): new function with added Inset * parameter.
4958 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4960 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4962 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4963 change return type of getColumnNearX.
4966 * text.C (changeRegionCase): use uppercase/lowercase instead of
4969 (rightMargin): simplify code by factoring out the uses of
4974 (appendParagraph): use Paragraph::size_type
4976 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4978 * vspace.C (asLatexString): add a missing break
4980 2001-10-15 Herbert Voss <voss@perce.de>
4982 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4984 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4986 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4989 2001-10-10 André Pönitz <poenitz@gmx.net>
4991 * lyxfunc.C: removed greek_kb_flag.
4993 2001-10-10 Herbert Voss <voss@perce.de>
4995 * lyx_main.C: delete global string help_lyxdir.
4997 2001-10-09 Herbert Voss <voss@perce.de>
4999 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
5001 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
5003 * lyx_main.C: added global string help_lyxdir.
5005 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
5007 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5009 * lyxrc.C (set_font_norm_type): support iso8859-4
5011 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
5013 * LaTeX.C (deplog): add another regex for MikTeX
5015 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
5017 * lyxrc.C (set_font_norm_type): support iso8859-3
5019 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5021 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
5023 * LaTeXFeatures.C: remove special case of french and index
5025 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
5026 before \begin{document}). This solves several incompatibilities.
5028 2001-10-03 Garst Reese <reese@isn.net>
5030 * lyx_cb.C: change CheckTex error msg.
5032 2001-10-03 José Matos <jamatos@fep.up.pt>
5034 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
5036 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5038 * .cvsignore: update
5040 * lyx_main.C (commandLineVersionInfo): use new style version info.
5042 * buffer.C (writeFile):
5045 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
5047 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
5049 * version.h: update to use stuff in version.C
5051 * version.C.in: new file. Contains version information determined
5052 at compile time. This is a merging of version.h and
5055 2001-10-03 Juergen Vigna <jug@sad.it>
5057 * BufferView_pimpl.C (update): don't change "dirty" status in
5060 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
5062 * WorkArea.C (c-tor): re-position version string slightly.
5064 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
5066 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
5067 revert to previous code.
5069 WorkArea.[Ch]: (show, destroySplash): methods removed.
5071 WorkArea.C: rework code so that it's an amalgam of the codes before and
5072 after the splash screen was moved to WorkArea.
5074 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5077 * vspace.C (inPixels):
5080 * buffer.C (insertStringAsLines):
5081 (asciiParagraph): fix types to be large enough
5083 * lyxlex_pimpl.h: change member status from short to int
5085 * layout.h: fix type of endlabeltype
5088 * kbsequence.C (parse): change return type to string::size_type
5090 * LaTeX.C (updateBibtexDependencies): comment out unneeded
5093 * Bullet.C (bulletSize):
5094 (bulletEntry): do not use short ints as parameters
5096 * BufferView2.C (insertLyXFile): change a char to an int.
5098 * WorkArea.C (WorkArea): remove unneeded floats in computation
5100 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
5102 * buffer.C (asciiParagraph): Treat '\\' as other chars.
5104 * paragraph.C (asString): Do not ignore newline/hfill chars when
5105 copying to the clipboard.
5107 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
5109 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
5110 after a multi-line inset.
5112 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5114 * paragraph.C (validate): Set NeedLyXFootnoteCode
5116 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5118 * lyxfont.C (LyXSizeNames): changed increase-error to increase
5119 and decrease-error to decrease.
5121 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5123 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
5124 it more readable (should be equivalent)
5126 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
5128 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
5130 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5132 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
5133 of a cursor (row, etc.) after a character has been deleted
5134 (deleteEmptyParagraphMechanism): call the method above on _all_
5135 cursors held by the LyXText when a double space has been
5138 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
5140 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
5142 (resizeCurrentBuff): remove code to destroy the old splash dialog.
5144 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
5145 background. Use greyOut() and the new show() methods to toggle between
5146 the foreground and background. Add code to remove the splash after
5147 its initial showing.
5149 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5150 (create_forms): no longer call Dialogs::showSplash.
5152 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5154 * .cvsignore: add version_info.h
5156 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5158 * version_info.h.in: new file
5160 * Makefile.am: add version_info.h.in
5162 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5163 version_info.h instead of VERSION_INFO
5165 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5167 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5168 The ERT inset now returns string().
5170 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5172 * lyxtext.h, text.C (selectNextWord): renamed as
5173 selectNextWordToSpellcheck.
5175 * text.C (selectNextWordToSpellcheck): Modified to not select
5176 words inside an ERT inset.
5178 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5180 * lyx_cb.C (MenuLayoutSave): change a bit the question
5182 * sp_base.h: include <sys/types.h>
5184 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5186 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5188 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5190 * several files: fix typos in user-visible strings
5192 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5194 * text2.C (pasteSelection): do not set the selection, since it
5195 will be cleared later. Actually, the intent was to fix the way the
5196 selection was set, but I figured rmoving the code was just as good.
5198 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5200 * FontLoader.C (available): Check if font is available without
5203 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5205 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5207 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5209 * lyxrc.[Ch]: added display_graphics variable and associated code.
5211 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5213 * bufferparams.C (hasClassDefaults): new method. Returns true if
5214 the buffer parameters correspond to known class defaults
5216 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5218 * XFormsView.C (show): set minimum size to the main window.
5220 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5222 * text2.C (copySelection):
5224 * lyxfind.C (LyXReplace):
5225 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5226 LyXText::selectionAsString.
5228 * paragraph.C (asString): add "label" argument to the second form
5230 * text2.C (selectionAsString): add "label" argument and pass it to
5231 Paragraph::asString.
5233 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5235 * lyx_main.C (commandLineHelp): remove version information
5237 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5239 * lyx_main.C: add -version commandline option
5241 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5243 * paragraph.h: make the optional constructor arg required instead.
5244 some modifications to other files because of this.
5246 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5248 * lyxserver.C (C_LyXComm_callback): make it static
5250 * lyx_main.C (error_handler): make it static
5252 * lyx_gui.C (LyX_XErrHandler): make it static
5254 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5256 * WorkArea.C: make the extern "C" methods static.
5258 * Makefile.am (lyx_LDADD): simplify
5260 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5262 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5263 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5265 * LyXAction.C (init):
5266 * lyxfunc.C (dispatch): associated code removal.
5268 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5270 * lyxfont.h (isSymbolFont): shut off warning
5272 * text.C (setHeightOfRow):
5273 (getVisibleRow): fix crash with empty paragraphs which have a
5276 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5278 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5281 2001-09-04 José Matos <jamatos@fep.up.pt>
5284 * tabular.C (docbook): rename docBook method to docbook.
5286 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5288 * Makefile.am: add dependencies to main.o.
5290 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5292 * FontLoader.C (available): Return false if !lyxrc.use_gui
5294 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5296 * FontInfo.C (query):
5297 * converter.C (view):
5298 * importer.C (Import):
5299 * exporter.C (Export): Can not -> cannot.
5301 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5303 * BufferView_pimpl.C: allow to create index inset even if
5306 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5308 * buffer.C (getLists): replace boost::tie code with an explicit pair
5309 as boost::tie can break some compilers.
5311 * iterators.h: Added a std:: declaration to the return type of
5314 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5316 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5319 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5321 * iterators.[Ch]: New files. Provide paragraph iterators.
5323 * buffer.C (changeLanguage): Use paragraph iterators.
5324 (isMultiLingual): ditto
5326 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5328 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5330 * FontLoader.C: Support for cmr font.
5332 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5334 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5335 (available): New method.
5337 * FontInfo.C (getFontname): Use scalable fonts even when
5338 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5341 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5343 * converter.C (Formats::view): reverted! Incorrect fix.
5345 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5347 * converter.C (Formats::view): only output the -paper option
5348 if the dvi viewer is xdvi, thereby fixing bug #233429.
5350 2001-08-23 Herbert Voss <voss@perce>
5352 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5354 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5356 * Spacing.h (Spacing): Set space to Default on in the default
5359 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5361 * vc-backend.h (RCS::versionString): add RCS to version
5362 (CVS::versionString): add CVS to version
5364 * vc-backend.C (scanMaster): do not add CVS to version.
5365 (scanMaster): do not add RCS to version
5367 * lyxvc.C (versionString): new method
5369 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5371 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5373 * Spacing.C (set): initialize fval
5375 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5377 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5380 2001-08-16 Juergen Vigna <jug@sad.it>
5382 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5384 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5386 * BufferView_pimpl.C:
5389 * text2.C: setParagraph takes linespacing now
5391 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5393 * LyxAction.C: add internal LFUN_CITATION_INSERT
5395 * LyXView.C: actually apply fix
5397 * bufferlist.C: fix open non-existent file
5399 * lyxfind.C: fix indentation
5401 * lyxfunc.C: remove unneeded assert, fix typo
5403 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5405 * MenuBackend.C: use "Floatname List"
5407 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5409 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5410 when converting LaTeX layout to insetERT.
5411 Generate a non-collapsed float when reading old float
5413 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5415 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5418 2001-08-13 Juergen Vigna <jug@sad.it>
5420 * text.C (fill): return 0 instead of 20 as this seems to be the more
5423 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5425 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5428 2001-08-13 Juergen Vigna <jug@sad.it>
5430 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5432 (SearchBackward): comment out the unlocking of the inset_owner this
5433 should not be needed!
5435 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5437 * Many files: Remove inherit_language, and add latex_language
5439 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5442 2001-08-10 Juergen Vigna <jug@sad.it>
5444 * text.C (prepareToPrint): fixed hfill-width in draw!
5446 * BufferView2.C (selectLastWord): save the selection cursor as this
5447 now is cleared in the function LyXText::clearSelection!
5449 2001-08-08 Juergen Vigna <jug@sad.it>
5451 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5452 BACKSPACE type functions.
5454 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5455 is only cutted from the document but not put in the cut-buffer, where
5456 still the old stuff should be.
5458 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5460 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5462 * tabular.C (SetWidthOfCell): fixed special case where the width
5464 (LeftLine): handle '|' in align_special.
5466 (LeftAlreadyDrawed): ditto
5467 (SetWidthOfCell): ditto
5469 2001-08-07 Juergen Vigna <jug@sad.it>
5471 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5473 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5475 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5476 * lyxlex.[hC]: ditto
5478 2001-08-06 Juergen Vigna <jug@sad.it>
5480 * text.C (getVisibleRow): fix up row clearing a bit.
5482 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5484 * minibuffer.C: make sure the X server sees the changes in the input.
5486 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5488 * paragraph.C (getFont): split into...
5489 (getLabelFont): this
5490 (getLayoutFont): and this
5491 * paragraph_pimpl.C (realizeFont): calling this
5493 * text2.C (getFont): split into...
5494 (getLayoutFont): this
5495 (getLabelFont): and this
5496 (realizeFont): all three calling this
5498 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5501 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5503 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5505 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5507 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5508 layouts from the Quote inset insertion.
5510 2001-08-03 Juergen Vigna <jug@sad.it>
5512 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5514 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5515 only if status not is already CHANGED_IN_DRAW (second level).
5517 * text.C (draw): don't set the need_break_row when inside an
5520 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5522 * buffer.C (parseSingleLyXformat2Token): handle more latex
5525 * bufferview_funcs.[hC]: change function names to
5526 begin with small char, adjust other files.
5528 2001-08-02 André Pönitz <poenitz@gmx.net>
5531 BufferView_pimpl.C: remove broken special code for math-greek
5533 2001-08-02 Juergen Vigna <jug@sad.it>
5535 * BufferView_pimpl.C (update): redone this function so that we
5536 update the text again if there was a CHANGE_IN_DRAW.
5538 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5539 (drawFromTo): added a new internal bool which is used by draw() and
5541 (general): some cursor drawing problems fixed.
5543 2001-08-01 Juergen Vigna <jug@sad.it>
5545 * lyxfind.C (LyXFind): fixed
5546 (SearchForward): ditto
5547 (SearchBackward): ditto
5549 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5550 spurius drawing of the cursor in the main area.
5552 * text2.C (status): small fix which could lead to a segfault!
5553 (clearSelection): remove unneeded BufferView param.
5555 2001-08-01 André Pönitz <poenitz@gmx.net>
5557 * lyxfunc.C: small change due to changed mathed interface
5559 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5561 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5563 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5565 * lyxfunc.c: fail gracefully if file doesn't exist
5570 * BufferView_pimpl.C: IsDirWriteable() proto changed
5572 * LyXView.C: fix updateWindowTitle() to store the last title
5574 2001-07-31 Juergen Vigna <jug@sad.it>
5576 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5577 the font (wrong since using of Paragraph::highestFontInRange).
5579 * paragraph.C (highestFontInRange): added a default_size parameter.
5581 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5582 (setHeightOfRow): reformat
5584 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5586 * converter.[hC] + affected files: move to (inital-char)lowercase
5589 * ParagraphParameters.C (ParagraphParameters): remove commented code
5591 * PainterBase.[Ch]: remove commented code
5593 * LaTeXFeatures.h: add "bool floats" for float.sty
5595 * LaTeXFeatures.C (LaTeXFeatures): init floats
5596 (require): handle float
5597 (getPackages): do it with floats
5599 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5601 * BufferView_pimpl.C (Dispatch): improve handling of
5602 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5604 * commandtags.h: #include lyxfont.h here temporarily to avoid
5607 * bufferlist.h: include LString.h here.
5609 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5611 * text2.C (getStringToIndex): new method.
5613 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5615 * *: Reduced header file dependencies all over.
5617 2001-07-30 Baruch Even <baruch@lyx.org>
5619 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5621 2001-07-29 Baruch Even <baruch@lyx.org>
5623 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5625 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5627 * ParameterStruct.h (endif): add a default constructor to make
5628 sure that all variables is initialized.
5630 * ParagraphParameters.C (ParagraphParameters): adjust
5632 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5634 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5635 index; also, check that there is something to index, and that it
5636 does not span over several paragraphs.
5637 (doubleClick): use WHOLE_WORD_STRICT for double click.
5639 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5641 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5644 2001-07-26 Baruch Even <baruch@lyx.org>
5646 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5647 an InsetFig figure, backwards compatible reading of old figure code.
5649 2001-07-27 Juergen Vigna <jug@sad.it>
5651 * text2.C: font.realize function adaption.
5653 * text.C (draw): add a warnings lyxerr text if needed.
5655 * layout.C: font.realize function adaption.
5657 * language.C: add inherit_language and implement it's handlings
5659 * bufferview_funcs.C (StyleReset): remove language parameter from
5660 font creation (should be language_inherit now).
5662 * bufferparams.C (writeFile): handle ignore_language.
5664 * paragraph.C (getFontSettings): the language has to be resolved
5665 otherwise we have problems in LyXFont!
5667 * lyxfont.C (lyxWriteChanges): added document_language parameter
5668 (update): removed unneeded language parameter
5670 * paragraph.C (validate): fixed wrong output of color-package when
5671 using interface colors for certain fonts in certain environments,
5672 which should not seen as that on the final output.
5674 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5676 * BufferView_pimpl.C:
5681 * LyXAction.C: add thesaurus support
5684 * lyxfind.C: add "once" parameter, for thesaurus, to not
5685 move to the next match
5687 2001-07-26 Juergen Vigna <jug@sad.it>
5689 * lyxfont.C (realize): honor ignore_language too!
5692 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5694 * text.C (draw): one place more for ignore_language to not draw
5697 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5699 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5701 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5703 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5704 the minipage conversion problem.
5706 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5708 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5711 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5713 * BufferView.h: don't forward declare WorkArea
5715 * BufferView.C: don't include WorkArea.h
5717 2001-07-25 André Pönitz <poenitz@gmx.net>
5721 * lyxfunc.C: new LFUN 'math-space'
5723 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5725 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5727 * text2.C (toggleInset): call open/close
5729 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5731 * lyxfunc.C (dispatch): add debug for the disabled case
5733 * font.C (buttonText): make similar to rectText
5735 * buffer.C (readInset): comment out parsing of insetlist and
5738 * PainterBase.C (rectText): small correction
5740 * BufferView_pimpl.C: comment out insettheorem and insetlist
5741 * LyXAction.C: ditto
5742 * commandtags.h: ditto
5744 2001-07-24 Juergen Vigna <jug@sad.it>
5746 * text.C (draw): honor the ignore_language.
5748 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5750 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5752 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5755 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5757 * lyxtext.h: remove unused (and unimplemented) methods
5759 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5761 * text.C (getVisibleRow): honor background color
5764 * Painter.h: remove default color argument for fillRectangle
5766 * text.C (backgroundColor): new method
5768 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5770 * text.C (getVisibleRow): adjust
5772 * font.[Ch] (rectText): new method, metrics
5773 (buttonText): new method, metrics
5775 * PainterBase.[hC]: make rectText and buttonText always draw and take
5778 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5780 * ToolbarDefaults.C (read):
5781 * MenuBackend.C (read): allow escaping in all strings
5783 * BufferView_pimpl.C (insertAndEditInset): new method.
5784 (Dispatch): use insertAndEditInset whenever appropriate.
5786 * BufferView_pimpl.C (insertNote): removed
5788 * BufferView_pimpl.C (smartQuote): new method, moved from
5789 BufferView; if an insetquote cannot be inserted, insert a '"'
5792 * BufferView2.C: remove insertCorrectQuote();
5794 * lyxfunc.C (getStatus): Add support for all remaingin
5797 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5799 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5800 command (necessary to pass " as parameter of self-insert.
5802 * text.C (selectWordWhenUnderCursor):
5803 (selectWord): add word_location parameter
5804 (selectWordWhenUnderCursor): same + remove special code for word
5806 (selectNextWord): use kind() to guess type of insetspecialchar,
5809 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5810 (insertErtContents): create ert insets as collapsed.
5811 (readInset): better compatibility code for Info inset.
5813 2001-07-20 Juergen Vigna <jug@sad.it>
5815 * lyxfunc.C (dispatch): use always LyXFind now!
5817 * text2.C (init): add a reinit flag so that the LyXText can be
5818 reinited instead of deleted and reallocated (used in InsetText).
5820 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5826 2001-07-18 Juergen Vigna <jug@sad.it>
5828 * text.C (selectNextWord): handle insets inside inset by calling
5829 always the bv->text functions so that we can go up the_locking_inset!
5831 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5832 in strange locations when inside an inset!
5834 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5835 handling to include insets.
5837 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
5839 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5841 * LyXAction.C (init):
5843 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
5844 LIGATURE_BREAK, since the name is so stupid.
5846 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5848 * buffer.C (readInset): enable reading of new InsetNotes as well as old
5851 * FontLoader.C: remove FORMS_H_LOCATION cruft.
5853 * sp_form.[Ch]: remove.
5855 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
5857 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
5860 * src/buffer.C (readInset): ditto.
5862 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5864 * BufferView_pimpl.C (specialChar): new method. Obsoletes
5865 menuSeparator(), endOfSentenceDot(), ldots() and
5866 hyphenationPoint(), which are therefore removed.
5867 (Dispatch): handle LFUN_HYPHENATION_BREAK.
5869 * LyXAction.C (init):
5870 * commandtags.h: add LFUN_HYPHENATION_BREAK.
5872 * paragraph.C (getWord): removed.
5874 * BufferView_pimpl.C (Dispatch): use last word or selection for
5875 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
5877 * lyx_main.C (queryUserLyXDir): do not ask before creating
5878 user_dir, except if it has been named explicitely.
5880 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5882 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
5883 a document of zero size.
5885 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5887 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
5888 approriately in the c-tor and in require().
5889 (getPackages): output the appropriate LaTeX for natbib support.
5891 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
5892 variables "use_natbib" and "use_numerical_citations" when reading the
5894 (readInset): read the various natbib cite commands.
5895 (validate): white-space change.
5897 * bufferparams.[Ch]: new variables "bool use_natbib" and
5898 "bool use_numerical_citations".
5899 (writeFile): output them in the LyX file.
5901 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5903 * lyxfunc.C (getStatus): add support for all the inset insertion
5906 * text2.C (insertInset):
5907 * paragraph.C (insetAllowed):
5908 * BufferView_pimpl.C (insertInset): update to take in account the
5909 renaming of insertInsetAllowed
5911 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5913 * text2.C (getInset): new method. returns inset at cursor position.
5915 * BufferView_pimpl.C (Dispatch): changes because of this.
5917 * LyXAction.C (init): rename open-stuff to inset-toggle.
5919 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5921 * text2.C (toggleInset): renamed from openStuff; use
5924 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5926 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5928 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5930 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
5932 * buffer.C (readLyXformat2): Add filename to the error dialog
5934 2001-07-18 Juergen Vigna <jug@sad.it>
5936 * tabular.C (GetCellNumber): put an assert here instead of the check!
5938 2001-07-17 Juergen Vigna <jug@sad.it>
5940 * BufferView_pimpl.C (toggleSelection): adapted too.
5942 * text.C (selectNextWord): adapted for use with insets.
5943 (selectSelectedWord): ditto
5945 2001-07-17 Juergen Vigna <jug@sad.it>
5947 * sp_spell.C (PSpell): fix initialitation order.
5949 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5951 * paragraph.C: spacing
5953 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
5955 * sp_spell.C: repair language selection for pspell
5957 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5959 * lyxfunc.h: change more methods to begin with lower char.
5961 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
5963 * buffer.C (parseSingleLyXformat2Token): Generate error insets
5964 for unknown layouts.
5966 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
5968 * buffer.C (readLyXformat2): Generate an error dialog if there are
5971 2001-07-16 Juergen Vigna <jug@sad.it>
5973 * sp_spell.C: always compile ISpell part.
5975 * lyxrc.C: added use_pspell entry and it's handling.
5977 2001-07-13 Juergen Vigna <jug@sad.it>
5979 * sp_spell.C: removed double includes.
5981 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5983 Consistent use of Lsstream.h:
5984 * Lsstream.h: added using std::stringstream for consistencies sake.
5986 * buffer.C: removed using std::stringstream
5988 * lyxfont.C (stateText):
5989 * paragraph.C (asString):
5990 * text.C (selectNextWord, selectSelectedWord):
5991 * text2.C (setCounter):
5992 * vspace.C (asString, asLatexString):
5993 std::ostringstream -> ostringstream.
5995 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5997 * LyXAction.C: add LFUN_HELP_ABOUTLYX
5998 * commandtags.h: add LFUN_HELP_ABOUTLYX
5999 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
6001 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
6003 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
6005 * lyx_gui_misc.C: remove spellchecker
6006 * lyxfunc.C: showSpellchecker
6008 * sp_ispell.h: added
6009 * sp_pspell.h: added
6011 * sp_form.[Ch]: removed
6012 * spellchecker.[Ch]: removed
6014 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
6016 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
6018 (simpleTeXSpecialChars): Simply print the input character without
6019 any special translation if pass_thru is set.
6021 * layout.h: Added bool pass_thru to layout class for being able to
6022 implement pass through of a paragraph for Literate Programming.
6024 * layout.C: add LT_PASS_THRU to LayoutTags enum.
6025 * layout.C (LyXLayout): set pass_thru to flase in constructor.
6026 * layout.C (Read): add "passthru" to list of layout tags and add
6027 code to set the pass_thru boolean when it is read.
6029 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6031 * trans_decl.h: remove allowed from KmodInfo
6033 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
6037 * paragraph_pimpl.C (erase): use boost::prior
6039 * Painter.C (text): use data() instead of c_str() when length is
6041 * WorkArea.C (putClipboard): ditto
6042 * font.h (width): ditto
6044 * BufferView2.C: use it-> instead of (*it). for iterators
6046 * paragraph_pimpl.C: ditto
6047 * paragraph.C: ditto
6048 * minibuffer.C: ditto
6053 * converter.C: ditto
6055 * Variables.C: ditto
6056 * TextCache.C: ditto
6057 * MenuBackend.C: ditto
6058 * LyXAction.C: ditto
6060 * FloatList.C: ditto
6062 * ColorHandler.C (LyXColorHandler): ditto
6064 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6066 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
6068 * text2.C (openStuff): reintroduce this method (which had been
6069 nuked in NEW_INSETS frenzy).
6071 * lyxfunc.C (Dispatch): when an action has not been handled, use
6072 its name in the error message, not its number.
6074 * paragraph.C (inInset): change method name to begin with lowercase.
6077 * text2.C: updates because of this.
6079 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6081 * ToolbarDefaults.C (add): add spaces in error message
6083 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6085 * buffer.C (readLyXformat2): initialize the ert comp. variables.
6086 (readLyXformat2): rename return_par to first_par, use lyxlex's
6087 pushToken and remove the manual push handling.
6088 (parseSingleLyXformat2Token): add another ert comp. variable:
6089 in_tabular, rename return_par to first_par. handle newlines better
6091 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6093 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
6095 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6097 * text2.C (getParFromID): removed
6099 * buffer.C (getParFromID): new method moved form lyxtext.
6100 * BufferView2.C (insertErrors): adjust
6101 (setCursorFromRow): adjust
6102 * BufferView_pimpl.C (restorePosition): adjust
6103 * lyxfunc.C (Dispatch): adjust
6104 * undo_funcs.C (textUndo): adjust
6106 (textHandleUndo): adjust
6107 (textHandleUndo): adjust
6109 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6111 * buffer.C: up' the LYX_FORMAT
6113 * lyxfont.h: turn NO_LATEX on as default
6115 * buffer.C (insertErtContents): new methods of tex style compability.
6116 (parseSingleLyXformat2Token): use it several places.
6117 * tabular.C (OldFormatRead): and here
6119 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6121 * text2.C: remove some commented code.
6124 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
6125 * trans.C: changes because of the above.
6127 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
6129 * text2.C (setCounter): Fix counters bug with bibliography layout.
6131 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6133 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
6134 own member functions
6135 (simpleTeXSpecialChars): ditto
6137 2001-07-06 Juergen Vigna <jug@sad.it>
6139 * a lot of files: changed the access to LyXText::status and the
6140 call of undo-functions.
6142 * undo.[Ch]: added a inset_id to the undo informations.
6144 * undo_funcs.[Ch]: added and moved here all undo functions.
6146 * lyxtext.h: give the status enum a weight, made status_ a private
6147 variable and made accessor functions for it, removed the whole bunch
6148 of undo-functions as they are now in their own file, make some
6149 functions publically available. Added function ownerParagraph with
6152 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6153 made InInset() a const function, added getParFromID() function.
6155 * buffer.[Ch]: added const version for inset_iterator functions,
6156 added getInsetFromID() function.
6158 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6159 changed undo functions for new version.
6161 2001-07-05 Juergen Vigna <jug@sad.it>
6163 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6164 unknow mechanism does not call the proper constructor but only this
6165 one also if I request the other!?
6167 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6171 * text2.C (LyXText): use initialization lists.
6173 * lyxtext.h (Selection): initialize set_ and mark_
6174 (init): remove method
6176 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6178 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6180 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6182 * screen.[Ch]: change method names to begin with lowercase
6184 * BufferView_pimpl.C (updateScrollbar): simplify further and
6185 hopefully make it a bit faster.
6187 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6189 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6190 calling directly xforms functions.
6192 * Painter.C (Painter):
6193 * lyx_cb.C (MenuWrite):
6194 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6197 * lyx_gui.C: remove bogus guiruntime extern declaration.
6199 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6201 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6203 (redoDrawingOfParagraph): ditto
6204 (redoParagraphs): ditto
6205 (cutSelection): don't create a object for CutAndPaste use the
6206 static method directly
6207 (pasteSelection): ditto
6209 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6212 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6214 * modifications to some other files because of this.
6216 * Makefile.am (lyx_SOURCES): add XFormsView
6218 * XFormsView.[Ch]: new files
6220 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6221 the main window. Move the gui dependent stuff to XFormsView
6223 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6225 * tabular.C (GetCellInset): update cur_cell also in the row/col
6226 version of this function.
6228 * lyxfunc.C: no need to include figure_form.h here.
6234 * lyxvc.C: no need to include forms.h here.
6236 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6238 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6240 * lyxfunc.C (Dispatch):
6242 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6243 constructor argument.
6245 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6247 * paragraph.C (Paragraph): dont't clear, and just set layout.
6248 (makeSameLayout): use params's copy contructor.
6250 * ParagraphParameters.[Ch] (makeSame): delete method
6252 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6254 * Variables.[Ch]: fix indentation, rename set to isSet
6256 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6258 * lyxfunc.C (Dispatch): fix typo
6260 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6262 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6265 * bufferlist.C: include assert.h for emergencyWrite().
6267 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6269 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6270 give up at last (bug #425202) !
6272 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6278 * spellchecker.C: strip spellchecker options and bring up
6279 preferences tab instead
6281 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6283 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6284 the istringstream constructor
6286 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6288 * paragraph.C (getLayout): fix return value
6290 * paragraph.h: do not declare getLayout as inline.
6292 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6294 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6296 * lyxcursor.h (operator<): new func
6297 (operator>): new func
6298 (operator>=): new func
6299 (operator<=): new func
6301 * text.C (changeCase): use selection.start and selection.end
6302 (changeRegionCase): require from to be <= to. Require par to be a
6305 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6307 2001-06-27 Juergen Vigna <jug@sad.it>
6309 * text.C (cursorLeftOneWord): changed to return the cursor and added
6310 overlay with BufferView * parameter which calls this one.
6312 (selectWord): use new getWord function.
6313 (changeCase): renamed from changeWordCase as and extended to work
6316 * lyxtext.h: added enum word_location
6318 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6319 changeCase as this operates now also on selections.
6321 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6323 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6325 * many files: send debug output to Debug::INFO instead of
6328 * converter.C (View):
6330 (Move): send debug output to Debug::FILES instead of console.
6332 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6334 * lyxfunc.C (getStatus): use func_status
6336 * func_status.h: new header, describing the results of
6339 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6342 2001-06-25 The LyX Project <jug@sad.it>
6344 * buffer.C (sgmlOpenTag):
6346 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6348 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6350 * text2.C: remove some dead code
6352 * tabular.C (GetCellInset): store the last cell checked (gotten)
6354 * tabular.h: add the helper for the speedup
6356 * lyxtext.h: remove some dead code
6358 2001-06-26 The LyX Project <Asger>
6360 * paragraph.C: Change export to LaTeX of alignment to
6361 \begin{center} and family for better roundtrip work with reLyX.
6363 * Tune the math drawing a bit.
6365 2001-06-25 The LyX Project <Asger>
6367 * LColor.C (LColor): New color for math background. New color
6370 2001-06-25 The LyX Project <jug@sad.it>
6372 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6375 * bufferlist.C (newFile): do not restrict to files ending with
6378 * BufferView_pimpl.C (MenuInsertLyXFile):
6380 2001-06-24 The LyX Project <jug@sad.it>
6382 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6385 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6387 * lyxtext.h: rename most methods to begin with a small char.
6388 Lots of changes because of this.
6390 * paragraph.C (Paragraph): do not call fitToSize
6391 (erase): call Pimpl::erase
6392 (insertChar): call Pimpl::insertChar
6393 (insertInset): call Pipl::insertInset
6394 (breakParagraph): do not call fitToSize
6395 (breakParagraphConservative): do not call fitToSize
6396 (fitToSize): remove method
6398 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6400 2001-06-24 The LyX Project <Asger>
6402 * Fix Qt compilation^2
6404 2001-06-24 The LyX Project <jug@sad.it>
6406 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6407 depthHook(getDepth()-1).
6410 * ParagraphParameters.h:
6411 * ParameterStruct.h: change type of depth to unsigned int ==
6412 depth_type. Many adaptations to other files before of that.
6414 2001-06-24 The LyX Project <Asger>
6416 * Fix Qt compilation.
6418 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6420 * paragraph.h: renamed several methods to begin with small letter.
6421 several changes to many parts of the code because of this.
6423 2001-06-23 The LyX Project <jug@sad.it>
6425 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6426 rewritten to discard all double spaces when KeepEmpty is off
6427 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6428 to only handle newlines but not fiddle with spaces and friends.
6430 * lyxfunc.C (MenuNew): when doing 'new from template', use
6431 template_path as default directory
6433 2001-06-23 The LyX Project <Asger>
6435 * Clean-up of header file includes all over
6436 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6438 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6440 * paragraph.h: renamed from lyxparagraph.h
6442 2001-06-23 Asger <lyx@violet.home.sad.it>
6444 * Buffer.h: Removed Buffer::resize
6445 * BufferList.h: Removed BufferList::resize
6446 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6447 the document lazily when we change the width, or the font settings.
6449 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6451 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6453 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6455 * buffer.h: remove out of date comment
6457 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6460 * screen.C: fix "theoretical" GC leak
6462 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6464 * LaTeX.C (scanAuxFile):
6465 (deplog): remove trailing \r when reading stream (useful under
6468 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6470 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6471 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6472 and BufferView::theLockingInset(Inset*), so should use them and not
6473 access bv_->text->the_locking_inset directly.
6475 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6477 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6480 * tex-defs.h: remove old unused file
6482 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6484 * BufferView_pimpl.C: fix typo, remove minibuffer message
6485 when buffer has loaded
6487 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6489 * lyxfunc.C (Dispatch): use stringstream
6490 (MenuNew): use stringstream
6491 (Open): use stringstream
6493 * importer.C (Import): use stringstream
6495 * bufferview_funcs.C (CurrentState): use stringstream
6497 * LaTeX.C (run): use stringstream
6499 * BufferView_pimpl.C (savePosition): use stringstream
6500 (restorePosition): use stringstream
6501 (MenuInsertLyXFile): use stringstream
6503 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6516 * vspace.C: removed // -*- C++ -*- as first line.
6519 * version.h: added // -*- C++ -*- as first line.
6521 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6523 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6525 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6528 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6530 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6533 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6535 * gettext.C: include LString.h even when --disable-nls is on.
6537 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6539 * converter.h (Get): changed argument type from int to
6540 FormatList::size_type to avoid unnecessary conversion.
6542 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6545 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6547 * gettext.h: include LString.h even when --disable-nls is on.
6549 2001-06-07 Juergen Vigna <jug@sad.it>
6551 * text.C (BreakAgain): subst spaces with tabs.
6553 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6554 (resizeInsetsLyXText): set force on resizeLyXText.
6556 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6558 * gettext.h (gettext_init):
6559 (locale_init): use a real definition instead of a macro
6561 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6563 * Bufferview_pimpl.C:
6565 * LColor.C: further lcolor tidies
6567 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6569 * BufferView_pimpl.C (updateScrollbar): simplify.
6571 * BufferView2.C: don't include insets/insetinfo.h, change
6572 prototype for insertInset and call the Pimpl version. let
6573 updateInset call Pimpl version.
6575 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6576 gotoInset to BufferView::Pimpl
6578 2001-06-01 Juergen Vigna <jug@sad.it>
6580 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6581 inside a LockingInset (is the update needed at all?).
6583 2001-05-31 Juergen Vigna <jug@sad.it>
6585 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6586 here not the old one otherwise how should we compare it afterwards
6589 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6594 * FontInfo.C: bring C functions into global namespace when
6597 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6599 * LString.h: make sure config.h has been loaded before LString.h.
6601 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6602 (one for each char read by EatLine!).
6604 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6607 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6609 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6610 to the same as the par we break from
6612 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6614 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6616 * MenuBackend.C (expand): also create menu entries for wide
6617 versions of the floats.
6619 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6621 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6623 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6624 frontends/Makefile.am
6630 * tabular.C (getTokenValue): add std::
6632 * tabular-old.C (getTokenValue): add std::
6633 (getTokenValue): ditto
6634 (getTokenValue): ditto
6636 * screen.C (ToggleSelection): adjust
6638 * lyxtext.h: put selection cursors inside a Selection struct.
6640 * lyxfunc.C (moveCursorUpdate): adjust
6642 * lyxfont.C (latexWriteStartChanges): add std::
6646 * font.h: delete with(char const *, LyXFont const &)
6648 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6650 * FontInfo.C (getFontname): add std::
6652 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6653 (workAreaButtonPress): adjust
6654 (tripleClick): adjust
6656 (moveCursorUpdate): adjust
6659 * BufferView2.C (gotoInset): adjust
6661 2001-05-30 Juergen Vigna <jug@sad.it>
6663 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6664 to check pspell I add this as default as I now have new pspell
6665 libraries and they seem to use this.
6667 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6669 * text2.C (CutSelection): make the cursor valid before the call to
6672 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6674 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6675 relied on 0 terminated strings and other horrors. Bug found due to
6676 the new assert in lyxstring!
6678 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6681 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6683 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6686 * lyxfunc.C (processKeySym): change method of getting to the
6689 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6690 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6691 * BufferView_pimpl.[Ch]: here as private methods.
6693 2001-05-28 Juergen Vigna <jug@sad.it>
6695 * text.C (SetHeightOfRow): added the update() call again as it is
6696 needed to initialize inset dimensions!
6698 2001-05-16 Juergen Vigna <jug@sad.it>
6700 * text2.C (SetCharFont): Add new function with BufferView * and
6701 bool toggleall parameters for setting insets internal fonts.
6702 (SetFont): Freeze the undo as we may change fonts in Insets and
6703 all this change should be inside only one Undo!
6705 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6706 setting font's in insets as for them we have the SetFont function!
6708 2001-05-15 Juergen Vigna <jug@sad.it>
6710 * text2.C (ClearSelection): to be sure we REALLY don't have any
6713 * tabular.C (TeXCellPreamble): fixed the left border problem for
6716 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6718 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6721 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6723 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6724 LFUN_BREAKPARAGRAPH.
6726 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6727 help test to "internal only", similar for LFUN_INSERT_URL
6729 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6730 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6731 auto_region_delete and deadkeys.
6733 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
6736 * LColor.C: remove some dead entries, tidy a little
6738 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6740 * lyxfunc.C (processKeySym): comment the Escape handling, remove
6742 (Dispatch): implement LFUN_ESCAPE
6744 * commandtags.h: add LFUN_ESCAPE
6746 * LyXAction.C (init): add entry for LFUN_ESCAPE
6748 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6749 Remove commented code.
6750 (insertNote): moved here
6751 (open_new_inset): moved here
6753 * BufferView[2].[Ch]: move insertNote and open_new_inset to
6756 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6758 * kbmap.C (findbinding): clean it up and make it work correctly.
6760 * lyx_main.C (init): do not pass argc and argv as parameters
6762 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6764 * buffer.C: fix path for OS/2 & Win32
6768 * lyx_main.C: Added os:: class.
6770 * os2_defines.h: update
6772 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6774 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6775 better by trying again with reduced state.
6777 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6779 * lyxrc.C (read): print error about invalid key sequence only when
6780 debugging (because not all latinX keysyms are known to some X
6783 * kbsequence.C (getiso): add a few std:: qualifiers
6784 (getiso): comment out extra return statement.
6786 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
6788 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6790 (Dispatch): enhance the accent inset a bit. (not perfect)
6792 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6794 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6796 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6798 * bufferlist.C (emergencyWrite): fix assert() call
6800 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
6802 * text.C (InsertChar): Added trivial patch to only send the "you
6803 can not do multiple spaces this way" message once during a
6806 2001-05-08 Baruch Even <baruch@lyx.org>
6808 * Makefile.am: Changed order of libraries to get LyX to link properly
6809 with the gnome frontend.
6811 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6813 * LaTeXFeatures.h: add a std:: qualifier
6815 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6817 * paragraph.C (String): use stringstream
6819 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6821 * paragraph.C (writeFile): remove footflag arg
6823 * buffer.C (makeLaTeXFile): use stringstream
6824 (latexParagraphs): remove footnot gurba
6826 * LaTeXFeatures.C (getPackages): use stringstream
6827 (getMacros): likewise
6828 (getTClassPreamble): likewise
6829 (getFloatDefinitions): new method
6831 * paragraph.C (writeFile): reindent
6834 * WorkArea.h: revert the xpos + etc changes.
6836 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
6838 * lyxparagraph.[Ch]: add copy constructor, remove Clone
6840 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6841 (pasteSelection): likewise
6842 * text2.C (CreateUndo): likewise
6844 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6846 * minibuffer.C (peek_event): temporarily reduce the functionality
6847 of the minibuffer (to allow args on lfuns)
6849 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
6850 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
6852 * buffer.C (readInset): add compability reading of old float
6853 lists, add reading of new style float list.
6854 (readInset): avoid reevaluation of inscmd.getCmdName()
6855 (getLists): reindent
6857 * MenuBackend.C (MenuItem): implement parsing of
6858 md_floatlistinsert and md_floatinsert.
6859 (expand::LastFiles): move initalizaton of iterators out of loop,
6861 (expand::Documents): introduce typdedef vector<string> Strings,
6863 (expand::ExportFormats): introduce typedef vector<Format const *>
6864 Formats, and use it.
6865 (expand): implement FloatListInsert and FloatInsert.
6867 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
6868 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
6869 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
6871 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
6873 (Dispatch::LFUN_FLOAT_LIST): implement
6875 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6877 * LaTeX.C (run): Fix problem with --export code.
6879 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6881 * BufferView.[Ch] (workarea): removed.
6882 (getClipboard) new method; wrapper for workarea()->getClipboard()
6884 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
6887 * WorkArea.h (width, height, xpos, ypos): These methods all
6888 returned the dimensions of the work_area sub-area of WorkArea,
6889 resulting in a position error if the WorkArea were resized. Now
6890 return the dimensions of the entire WorkArea.
6892 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
6894 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6896 * LaTeX.C (deplog): correct the syntax of regex reg1
6898 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6900 * undo.C: remove !NEW_INSETS cruft
6902 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6904 * text2.C: remove !NEW_INSETS cruft
6906 * text.C: remove !NEW_INSETS cruft
6908 * tabular.C: remove !NEW_INSETS cruft
6910 * spellchecker.C: remove !NEW_INSETS cruft
6912 * lyxtext.h: remove !NEW_INSETS cruft
6914 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6916 * lyxfunc.C: remove !NEW_INSETS cruft
6918 * lyxfind.C: remove !NEW_INSETS cruft
6920 * lyx_cb.C: remove !NEW_INSETS cruft
6922 * figureForm.C: remove !NEW_INSETS cruft
6924 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6926 * buffer.[Ch]: remove !NEW_INSETS cruft
6928 * ToolbarDefaults.C: remove !NEW_INSETS cruft
6930 * CutAndPaste.C: remove !NEW_INSETS cruft
6932 * BufferView_pimpl.C: remove !NEW_INSETS cruft
6934 * BufferView2.C: remove !NEW_INSETS cruft
6936 * BufferView.h: remove !NEW_INSETS cruft
6938 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6940 * Lsstream.h: include LString.h before the sstream headers to
6941 fix problem with gcc 2.95.3 and lyxstring
6943 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6945 * lyx_main.C: add using directives when needed for C functions
6946 declared in std:: namespace.
6948 2001-04-27 Juergen Vigna <jug@sad.it>
6950 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6951 (SetHeightOfRow): comment out the update call should not be needed!
6953 2001-04-13 Juergen Vigna <jug@sad.it>
6955 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6956 (LyXTabular): tried to minimize operator= operations (and realized
6957 hopfully Lars wish).
6959 2001-04-27 Juergen Vigna <jug@sad.it>
6961 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6963 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6965 * lyxfunc.C (Dispatch): hack to make listof algorithm work
6967 * buffer.C (readInset): hack to make listof algorithm work
6969 * BufferView_pimpl.C: hack to make listof algorithm work
6971 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6973 * LyXAction.C: removed all !NEW_INSETS cruft
6974 (init): moved lfun_item in method
6976 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6978 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6980 * BufferView2.C (theLockingInset): white space.
6982 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6984 * minibuffer.C: include <iostream>
6986 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6988 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6990 * commandtags.h: add LFUN_TRANSPOSE_CHARS
6992 * text.[Ch] (TransposeChars): new method
6994 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6996 * call message directly through LyXView instead of through LyXFunc
6997 * BufferView2.C: adjust
6998 * BufferView_pimpl.C: adjust
6999 * FontLoader.C: adjust
7001 * bufferview_funcs.C: adjust
7002 * converter.C: adjust
7003 * figureForm.C: adjust
7004 * importer.C: adjust
7006 * lyx_gui_misc.C: adjust
7010 + more files in subdirs
7012 * lyxparagraph.h (size): move up int file
7015 * adjust all uses of Assert to lyx::Assert.
7017 * BufferView2.C (ChangeCitationsIfUnique): adjust for
7018 lyxfunctional in namespace lyx
7019 * layout.C (hasLayout): ditto
7022 (delete_layout): ditto
7023 (NumberOfClass): ditto
7024 * converter.C (GetFormat): ditto
7029 * bufferlist.C (getFileNames): ditto
7030 (emergencyWriteAll): ditto
7033 * MenuBackend.C (hasSubmenu): ditto
7036 * BufferView_pimpl.C (getInsetByCode): ditto
7038 2001-04-18 Juergen Vigna <jug@sad.it>
7040 * vspace.C (asLatexString): fixed the 100% problem.
7042 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7044 * lyxfunc.C (Dispatch):
7046 * minibuffer.h: add a few std:: qualifiers
7048 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7050 * minibuffer.[Ch]: reimplement so that commands is initiated and
7051 run from lyxfunc, simplified som handling, and made the completion
7052 and history code for complete. wip.
7054 * lyxfunc.C (processKeySym): call message
7055 (miniDispatch): new temporary method
7056 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
7057 (LFUN_MESSAGE): implement
7058 (LFUN_MESSAGE_PUSH): implement
7059 (LFUN_MESSAGE_POP): implement
7060 (initMiniBuffer): the initial/defualt minibuffer message.
7062 * lyxfont.[Ch]: inline some more getters
7064 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
7066 * lyx_gui_misc.[Ch] (WriteStatus): remove method
7068 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
7069 (AutoSave): use LFUN_MESSAGE
7070 (Reconfigure): ditto
7072 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
7074 * figureForm.C: use LFUN_MESSAGE
7076 * converter.C (runLaTeX): use LFUN_MESSAGE
7078 * bufferview_funcs.C: use LFUN_MESSAGE
7080 (changeDepth): ditto
7082 * bufferparams.h: use boost::
7084 * bufferlist.h: inherit privately from noncopyable
7086 * bufferlist.C (loadLyXFile): remove some commented code.
7088 * buffer.C (runChktex): use LFUN_MESSAGE
7090 * ShareContainer.h: inherit privately from noncopyable
7092 * ParagraphParameters.[hC] (depth): inline it.
7094 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
7096 (message): new method
7097 (messagePush): ditto
7099 (show): init minibuffer
7100 (showState): direct call
7102 * LaTeX.[Ch]: inherit privately from noncopyable
7103 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
7104 instead of WriteStatus.
7106 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
7108 * BufferView_pimpl.C (buffer): don't init minibuffer
7109 (workAreaButtonPress): use LFUN_MESSAGE
7110 (workAreaButtonRelease): ditto
7111 (savePosition): ditto
7112 (restorePosition): ditto
7113 (MenuInsertLyXFile): ditto
7114 (workAreaExpose): don't init minibuffer
7115 (update): remove commented code, simplify
7117 * BufferView2.C (openStuff): use LFUN_MESSAGE
7118 (toggleFloat): ditto
7121 (copyEnvironment): ditto
7122 (pasteEnvironment): ditto
7127 (updateInset): remove some commented code
7129 * lastfiles.h: inherit privately from noncopyable
7134 * lyxlex_pimpl.h: ditto
7136 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
7137 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
7138 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7140 * LyXAction.h: inherit privately from noncopyable, add methods
7141 func_begin, func_end, returning iterators to the func map.
7143 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
7144 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
7145 (func_begin): new method
7146 (func_end): new method
7148 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7150 (copySelection): ditto
7151 (pasteSelection): ditto
7153 * BufferView.C: whitespace change
7154 * BufferView.h: inherit privately from noncopyable
7156 2001-04-16 Allan Rae <rae@lyx.org>
7158 * tabular-old.C (l_getline):
7159 * spellchecker.C (sc_check_word):
7160 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7161 an unrecognised preprocessor directive. So ensure they're wrapped.
7163 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7165 * src/exporter.C (Export): Give an error message when path to file
7168 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7170 * LaTeX.C (deplog): Always check that foundfile exists.
7172 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7175 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7177 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7179 * tabular.[Ch] (getLabelList): implement new method
7181 * minibuffer.h: comment ouf setTiimer
7183 * minibuffer.C (ExecutingCB): constify res
7184 (peek_event): constify s
7185 (Set): constify ntext
7186 (Init): constify nicename
7188 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7190 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7191 (savePosition): use two params to Minibuffer::Set
7192 (restorePosition): ditto
7194 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7196 * lyx_main.C: include language.h
7198 * Makefile.am (lyx_main.o): add language.h
7200 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7206 * CutAndPaste.C: include gettext.h
7208 * lyxfont.h: remove old hack with ON and OFF.
7211 * lyxfont.h: do not include language.h...
7216 * bufferview_funcs.C:
7222 * paragraph.C: ... but do it here instead
7224 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7226 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7228 * tabular.C: small reformat
7230 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7233 (BreakParagraph): ditto
7234 (SetOnlyLayout): ditto
7237 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7240 * lastfiles.C: removed most using decl, add std:: where needed
7242 * buffer.C: ws changes
7244 * MenuBackend.C (class compare_format): put into anon namespace
7245 (expand): constify label, names, action, action2
7248 * text.C (SingleWidth): constify font
7249 (IsBoundary): constify rtl2
7250 (GetVisibleRow): constify ww
7252 * LaTeX.C (deplog): constify logfile
7254 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7256 (workAreaExpose): constify widthChange, heightChange
7258 * lyxrow.C (par): moved
7261 * lyxrow.h: as inlines here
7263 * lyxfont.h (shape): moved from lyxfont.C
7264 (emph): moved from lyxfont.C
7266 * lyxfont.C (LyXFont): use initialization list for all
7268 (shape): move to lyxfont.h as inline
7269 (emph): move to lyxfont.h as inline
7272 2001-04-04 Juergen Vigna <jug@sad.it>
7274 * vspace.C: had to include stdio.h for use of sscanf
7276 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7279 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7280 independent of xforms.
7282 2001-04-02 Juergen Vigna <jug@sad.it>
7284 * spellchecker.C: fixed namespace placing!
7286 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7288 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7289 the LyXParagraph * is 0.
7291 2001-03-29 Juergen Vigna <jug@sad.it>
7293 * vspace.C: added support for %, c%, p%, l%.
7294 (stringFromUnit): added helper function.
7295 (asLatexString): changed to give right results for the %-values.
7297 * buffer.C: convert the widthp in a width%.
7299 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7301 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7304 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7305 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7307 * lyx_cb.[Ch]: see above.
7309 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7313 * lyx.[Ch]: replaced by figure_form.[Ch].
7317 * lyxfunc.C: changed headers associated with above changes.
7319 2001-03-27 Juergen Vigna <jug@sad.it>
7321 * BufferView_pimpl.C: set the temporary cursor right!
7323 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7325 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7327 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7329 * LString.h: removed "using std::getline"!
7331 * BufferView_pimpl.C (Dispatch): changes due to changes in
7332 InsetInclude::Params.
7334 * buffer.C (tag_name): removed redundant break statements as they were
7335 producing lots of warnings with my compiler.
7337 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7339 * LString.h: add "using std::getline" when using the real <string>.
7341 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7343 * buffer.C: removed bitset usage.
7344 PAR_TAG moved to an anonymous name space.
7345 (tag_name): new funtion, also in the anonymous namespace.
7346 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7347 (makeDocBookFile): clean code. Completed transition from string arrays
7349 (SimpleDocBookOnePar): code clean.
7351 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7353 * tabular.C: add some comments.
7355 2001-03-22 Juergen Vigna <jug@sad.it>
7357 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7358 compatibility read a bit and fixed bug with minipage in different
7361 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7363 * buffer.C (pop_tag): removed.
7364 (push_tag): removed.
7365 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7366 array replaced with vector. Added support for CDATA sections.
7367 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7369 (makeDocBookFile): XML conformant declaration of CDATA section,
7370 fixed bug related to <emphasis> in the first paragraph char.
7371 (sgmlOpenTag): exclude empty tags.
7372 (sgmlCloseTag): ditto.
7374 * buffer.h (pop_tag): removed.
7375 (push_tag): removed.
7377 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7379 * language.h (Languages): added size_type and size().
7381 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7383 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7384 response on compability reading of minipages. One probliem is that
7385 the old usage of minipages was «flertydig»
7387 * several files here and in subdirs: don't use static at file
7388 scope use anon namespaces instead.
7390 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7392 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7393 LaTeX output. This is necessary for Literate document
7396 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7398 * buffer.C: insert hfill when needed.
7400 * tabular.C (l_getline): use string::erase, small whitespace change.
7402 * BufferView_pimpl.C: try the anon namespace.
7405 2001-03-16 Juergen Vigna <jug@sad.it>
7407 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7408 otherwise it won't open options-dialogs.
7410 * buffer.C: honor pextraWidth(p) on converting minipages.
7412 * tabular.C (l_getline): changed the functions to strip trailing \r.
7414 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7416 * BufferView_pimpl.C:
7417 * minibuffer..C: added "using SigC::slot" declaration.
7419 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7421 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7427 * paragraph.C: ditto
7429 * lyxtext.h: NO_PEXTRA
7431 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7433 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7434 * ParameterStruct.h: ditto
7435 * ParagraphParameters.h: ditto
7436 * lyxparagraph.h: ditto
7438 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7440 * buffer.C: add compability for minipage alignment.
7441 (latexParagraphs): remove unwanted pextra check.
7443 * several files: remove CXX_WORKING_NAMESPACES
7445 * buffer.C (pop_tag): tie is in namespace boost
7447 * BufferView.h: noncopyable is in namespace boost
7452 * lastfiles.h: ditto
7453 * bufferlist.h: ditto
7454 * ShareContainer.h: ditto
7456 * LyXAction.h: ditto
7459 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7461 * Merging changes from BRANCH_MVC back into HEAD.
7463 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7465 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7467 * BufferView_pimpl.C: change from intl.C
7471 * Makefile.am: move combox.*
7477 * intl.C: remove dialog (covered by prefs)
7479 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7481 * lyxfunc.C (Dispatch): removed redundant break statement.
7483 2001-03-14 Juergen Vigna <jug@sad.it>
7485 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7487 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7489 * buffer.C: add hack to fix compability reading of minipages.
7491 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7493 * buffer.C (getLists): Cleanup.
7495 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7497 * lyxfont.C (update): don't honor toggleall on font size.
7499 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7503 * Makefile.am: moved to frontends/xforms/
7507 * BufferView_pimpl.C: changes for moved mathpanel
7509 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7511 * gettext.h: fix gettext_init() in --disable-nls
7513 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7515 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7517 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7520 * lyx.h: strip external form
7522 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7524 * BufferView_pimpl.C: add comment, destroySplash()
7526 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7528 * BufferView_pimpl.C:
7532 * lyxfunc.C: use re-worked insetinclude
7534 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7536 * buffer.C: add using std::stringstream.
7538 * lyx_cb.C: readd using std::ios.
7540 * buffer.C: add using std::map.
7542 * BufferView_pimpl.C: add using std::vector.
7544 * ShareContainer.h: add std:: to swap.
7546 * buffer.h: add some typedefs
7547 * buffer.C (getLists): use them
7548 (getLists): renamed from getTocList.
7549 add a counter for the different float types and use it in the
7551 (getLists): use the same counter for the NEW_INSETS and the "non"
7554 * lyx_cb.h: remove unused items, includes, using etc.
7556 * ShareContainer.h: remove some commented code, add more comments
7557 and "documentation".
7559 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7561 * buffer.C (getTocList): make the list also when NEW_INSETS is
7564 * buffer.h: remove TocType
7566 * buffer.C (getTocList): change to return a map<string,
7567 vector<TocItem> >, implement for dynamic number of list.
7569 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7570 * text2.C (PasteSelection): adjust
7571 * CutAndPaste.C (pasteSelection): adjust
7573 * FloatList.C (FloatList): update from the new_insets branch.
7574 * Floating.[Ch]: ditto
7575 * LaTeXFeatures.C: ditto
7577 * lyxlex_pimpl.C: ditto
7579 * paragraph.C (Last): remove when NEW_INSETS is defined.
7581 * other file: changes because of the above.
7583 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7585 * lyxparagraph.h: rename next to next_, previous to previous_,
7586 make them private for NEW_INSETS. Rename Next() to next(),
7587 Previous() to previous().
7589 * other files: changes because of the above.
7591 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7594 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7597 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7599 * main.C (main): pass lyx_localedir to gettext_init().
7601 * gettext.h: remove locale_init and gettext_init macros
7603 * gettext.C (locale_init): new function
7604 (gettext_init): new function
7606 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7609 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7611 * Moved credits to frontends:
7612 * credits.[Ch]: removed
7613 * credits_form.[Ch]: removed
7614 * lyx_gui_misc.C: remove credits stuff
7617 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7619 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7621 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7622 unneeded destructor.
7624 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7625 a standalone pointer again.
7627 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7629 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7635 * ToolbarDefaults.C:
7644 * BufferView_pimpl.C: use new file dialog in GUII
7647 * lyx_cb.C: remove LayoutsCB to Toolbar
7649 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7651 * ShareContainer.h (get): add std:: qualifier
7653 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7655 * ShareContainer.h: define a proper ShareContainer::value_type
7656 type (and use typename to please compaq cxx)
7658 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7660 * lyxparagraph.h: move serveral local vars to
7661 ParameterStruct/ParagraphParameters., use ShareContainer in
7662 FontTable., make vars in FontTable private and add getter and
7665 * paragraph.C: changes because of the above.
7667 * lyxfont.h: remove copy constructor and copy assignment. (the
7668 default ones is ok), move number inside FontBits. move inlines to
7671 * lyxfont.C: add number to initializaton of statics, move several
7672 inlines here. constify several local vars. some whitespace
7673 cleanup. Dont hide outerscope variables.
7675 * Spacing.h: add two new constructors to match the set methods.
7677 * ShareContainer.h: new file, will perhaps be moved to support
7679 * ParameterStruct.h: new file
7681 * ParagraphParameters.h: new file
7683 * ParagraphParameters.C: new file
7685 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7686 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7688 * BufferView_pimpl.C: ParagraphParameter changes.
7689 * buffer.C: Likewise.
7690 * bufferview_funcs.C: Likewise.
7692 * text2.C: Likewise.
7694 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7696 * lyxfind.C (LyXReplace): do not redefine default argument in
7698 (IsStringInText): ditto
7699 (SearchForward): ditto
7700 (SearchBackward): ditto
7702 2001-03-06 Juergen Vigna <jug@sad.it>
7704 * lyxfind.C (IsStringInText): put parentes around expressions.
7706 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7708 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7710 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7712 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7714 * stl_string_fwd.h: add comment
7716 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7719 * tabular.C: remove unused DocBook methods
7725 killed DO_USE_DEFAULT_LANGUAGE
7727 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7729 * lyx_gui.C: do not include language.h.
7731 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7732 arguments in function implementation.
7734 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7736 * BufferView_pimpl.C: add <ctime>
7738 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7740 * BufferView_pimpl.C: add using std::find_if
7742 2001-02-27 José Matos <jamatos@fep.up.pt>
7744 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7747 2001-02-11 José Matos <jamatos@fep.up.pt>
7749 * buffer.C (makeDocBookFile): command styles now have a parameter as
7752 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
7754 * layout_forms.[Ch]: removed
7755 * lyx_cb.[Ch]: out character
7756 * lyx_gui.C: out character
7757 * lyx_gui_misc.C: out character
7758 * bufferview_funcs.C: : out character,
7759 added toggleall as parameter in ToggleAndShow
7761 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
7763 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7765 * text2.C (SetCurrentFont): Disable number property at boundary.
7767 2001-02-26 Juergen Vigna <jug@sad.it>
7769 * lyxfunc.C (getStatus): added a string argument override function so
7770 that this is correctly called from LyXFunc::Dispatch if it contains a
7771 do_not_use_argument which is used!
7772 (Dispatch): added check for "custom" export and call appropriate func.
7774 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
7776 * lyxrc.C: Add language_command_local, language_use_babel and
7777 language_global_options.
7779 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7781 * buffer.C (makeLaTeXFile): Use language_use_babel and
7782 language_global_options.
7784 2001-02-23 Juergen Vigna <jug@sad.it>
7786 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7787 which works with LyXText and putted it inside BufferView. Here now we
7788 only call for that part the BufferView::Dispatch() function.
7790 * BufferView.C (Dispatch): added.
7792 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7793 functions which needs to use a LyXText over from LyXFunc.
7794 (MenuInsertLyXFile): added
7795 (getInsetByCode): added
7796 (moveCursorUpdate): added
7797 (static TEXT): added
7799 2001-02-22 Juergen Vigna <jug@sad.it>
7801 * BufferView_pimpl.C (update): call a status update to see if LyXText
7804 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7806 * vc-backend.C (revert): implement for CVS
7807 (getLog): implement for CVS
7809 2001-02-20 Juergen Vigna <jug@sad.it>
7811 * text2.C (ClearSelection): added BufferView param for inset_owner call
7813 * lyxfunc.C (TEXT): added this function and use it instead of
7814 directly owner->view()-text of getLyXText().
7816 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
7818 * src/layout_forms.C: out preamble
7819 * src/layout_forms.h: out preamble
7820 * src/lyx_cb.C: out preamble
7821 * src/lyx_cb.h: out preamble
7822 * src/lyx_gui.C: out preamble
7823 * src/lyx_gui_misc.C: out preamble
7824 * src/lyxfunc.C: connect with guii preamble
7826 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7828 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7830 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
7832 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7833 whether to run bibtex.
7835 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
7837 * Makefile.am (lyx_SOURCES): Remove BackStack.h
7839 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7841 * Makefile.am (lyx_SOURCES): removed bibforms.h
7845 * text.C (GetVisibleRow): make several local vars const
7847 * tabular.C: small cleanup.
7849 * lyxserver.C (callback): use compare instead of strncmp
7851 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
7852 inlines to after class or to paragraph.C
7854 * lyxfont.h: remove friend operator!=
7856 * converter.h: move friend bool operator< to non friend and after
7859 * combox.h: small cleanup
7861 * buffer.h: doxygen, remove unused constructor, move inclas inlies
7862 to inlines after class def.
7864 * buffer.C (pop_tag): use string operations instead of strcmp
7866 * bmtable.c: doxygen, small cleanup
7868 * LaTeX.h: remove friend operator==
7870 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7882 * BufferView_pimpl.C:
7883 * BufferView.[Ch]: remove cruft
7885 2001-02-14 Juergen Vigna <jug@sad.it>
7887 * lyxfunc.C: removed #if 0 unused code
7889 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
7891 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
7893 * text2.C (SetSelection): added a BufferView * parameter
7895 2001-02-13 Juergen Vigna <jug@sad.it>
7897 * lyxfunc.C (Dispatch): fixed protected blank problem.
7898 * BufferView2.C (protectedBlank): added LyxText * parameter.
7900 * tabular.C (AppendRow): forgot to set row_info of newly added row.
7901 (AppendColumn): same as above for column_info.
7903 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7904 (moveCursorUpdate): use a LyXText param for support of InsetText.
7906 * BufferView_pimpl.C (doubleClick): added support for InsetText.
7907 (tripleClick): ditto
7909 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7911 * BufferView_pimpl.C (update): added LyXText param to honor insets.
7913 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7915 * text2.C (SetSelection): set correct update status if inset_owner
7918 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
7920 * tabular.C: remove some commented code.
7922 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7924 * BufferView_pimpl.C: call hideSplash()
7926 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7929 * bibforms.h: remove
7932 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7933 add LFUN_CHILD_CREATE
7935 * counters.h: fix tiny typo
7940 * lyx.C: move splash to frontends/xforms/
7942 * lyx_gui_misc.C: move Include and Bibform to frontends
7944 * lyxvc.h: clarify comment
7946 * vspace.C: tiny housekeeping
7948 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7950 * text.C (PrepareToPrint): RTL Fix.
7952 * paragraph.C (GetUChar): New method.
7953 (String): Use GetUChar.
7955 * buffer.C (asciiParagraph): Use GetUChar.
7957 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7959 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7961 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
7964 * buffer.C: rename to getLogName(), handle
7965 build log / latex log nicely
7967 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7970 * MenuBackend.h: remove support for reference menuitem type.
7972 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
7974 * BufferView_pimpl.C: housekeeping
7975 * BufferView_pimpl.h:
7980 * minibuffer.h: move Timeout GUI-I
7982 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
7984 * lyxrc.C (read): Update converters data-structures.
7986 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
7988 * LaTeX.h (operator!=): add operator != for Aux_Info
7990 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
7992 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7994 * LaTeXLog.C: deleted, useful code moved to Buffer
7997 * buffer.C: new function getLatexLogName()
8003 * lyxfunc.C: use frontends for LaTeX and VC logs
8005 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8007 * LaTeX.h: yet another std:: that Allan forgot.
8009 * Variables.C (set): renamed from isset(), because this clashes
8010 with some HP-UX macros (grr).
8012 2001-02-06 Allan Rae <rae@lyx.org>
8014 * LaTeX.h: Another bug fix. Missing std:: this time.
8016 2001-02-04 Allan Rae <rae@lyx.org>
8018 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
8019 floats problem. I've left it commented out because it's not quite
8020 correct. It should also test that the current object is a table or
8021 figure inset. But I haven't gotten around to figuring out how to do
8022 that. I *think* it'll be something like: "table" == inset.type()
8024 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
8027 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
8029 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
8030 all the citation/databases/styles in the auxilary file.
8031 (run): Rerun latex if there was a babel language error.
8033 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
8035 * text.C (Backspace): Preserve the font when changing newline char
8037 (BreakParagraph): If the cursor is before a space, delete the space.
8039 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
8041 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
8043 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
8044 new argument (code).
8045 (ChangeCitationsIfUnique): New method.
8047 * paragraph.C (GetPositionOfInset): Handle bibkey.
8049 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8051 * BufferView_pimpl.h: change type of Position::par_pos to
8052 LyXParagraph::size_type.
8054 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
8056 * BufferView_pimpl.C (savePosition, restorePosition): Write
8057 messages to minibuffer.
8059 2001-01-28 José Matos <jamatos@fep.up.pt>
8061 * buffer.C (makeDocBookFile): adds support for document language.
8062 A silly restriction on the name of LatexCommand types where removed.
8063 Added support for CDATA sections, allows to chars unescaped, used
8064 among others in code, to avoid escape < and >.
8066 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8068 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
8069 saved positions instrad of a stack. Furthermore, a position is
8070 stored using paragraph id/paragraph position.
8072 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
8073 Remove LFUN_REF_BACK.
8075 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
8077 * converter.C (dvipdfm_options): New method.
8079 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
8081 * vspace.C (isValidLength): Fix for empty input string.
8083 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8085 * LyXAction.C (init): change description of LFUN_FIGURE to
8088 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8090 * LaTeX.C: add using directive
8092 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8094 * MenuBackend.C (expand): Fix the sorting of the formats.
8096 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
8098 * lyx_main.C: tiny error message fix
8100 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8102 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
8103 calling fl_initialize(). This fixes the problem with ',' as
8104 decimal separator in text files.
8106 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
8108 * trans.C (process): Fix the keymap bug.
8110 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
8112 * LaTeX.C (scanAuxFiles): New method. Provides support for
8113 multiple bibliographies (when using the bibtopic/bibunits pacakges).
8114 (scanLogFile) Scan for "run BibTeX" messages.
8116 * buffer.C (makeLaTeXFile): Do not load the ae package when using
8117 OT1 font encoding. Also, load the aecompl package if the ae
8120 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
8122 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8124 * texrow.C (increasePos): turn two error messages into debug
8127 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
8129 * LaTeX.C (scanAux): Handle the \@input macro.
8130 (runBibTeX): Use scanAux().
8132 * language.C (latex_options_): New field.
8134 * LaTeXFeatures.C (getMacros): Add language macros.
8136 * buffer.C (makeLaTeXFile): Small fix.
8138 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8140 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
8142 * text2.C: add a using directive.
8144 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8149 * lyxfunc.C: kill LyXBell.
8151 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8153 * text.C (IsBoundary): Remove the error message
8155 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8157 * lyxrc.C (setDefaults): Correct initialization value for
8160 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8162 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8165 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8168 * src/LyXAction.C: Added reference-next.
8170 * text.C (InsertChar): Use contains instead of strchr.
8172 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8174 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8176 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8177 alignment commands (when needed).
8179 * text.C (InsertChar): Add ':' to number separator chars.