1 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * tabular.C (asciiPrintCell): use string(size, char) instead of
6 * sgml.C (openTag): fix order of arguments to string constructor
9 * lyxfunc.C (dispatch): use boost.format
11 * lots of files: change "c" -> 'c'
13 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
15 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
17 2002-11-25 Angus Leeming <leeming@lyx.org>
19 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
21 * lyx_main.C (init): compile fix.
23 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
25 * lyx_cb.C (start): boost.formatify
26 do not include <iostream>
28 * lengthcommon.C: ws only
30 * boost-inst.C,BoostFormat.h: add more explict instantations
32 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
34 * lots of files: handle USE_BOOST_FORMAT
36 2002-11-21 John Levon <levon@movementarian.org>
38 * pspell.C: fix compile
40 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
42 * lyxfunc.C (dispatch): use boost::format
46 * lyxfont.C (stateText): use boost::format
48 * lyx_main.C (LyX): use boost::format
50 (queryUserLyXDir): ditto
53 (typedef boost::function): use the recommened syntax.
55 * importer.C (Import): use boost::format
57 * debug.C (showLevel): use boost::format
59 * converter.C (view): use boost::format
64 * bufferview_funcs.C (currentState): use boost::format
66 * bufferlist.C (emergencyWrite): use boost::format
68 * buffer.C (readLyXformat2): use boost::format
69 (parseSingleLyXformat2Token): ditto
71 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
73 * LaTeX.C (run): use boost::format
75 * Chktex.C (scanLogFile): use boost::format
77 * BufferView_pimpl.C (savePosition): use boost::format
78 (restorePosition): ditto
79 (MenuInsertLyXFile): ditto
81 * BoostFormat.h: help file for explicit instation.
83 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
85 * tabular.C (latex): Support for block alignment in fixed width
88 2002-11-17 John Levon <levon@movementarian.org>
92 * lyxfunc.C: split filedialog into open/save
94 2002-11-08 Juergen Vigna <jug@sad.it>
96 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
97 by my last patch (hopefully).
99 2002-11-08 John Levon <levon@movementarian.org>
108 * toc.C: ParConstIterator, and use it (from Lars)
110 2002-11-07 Ben Stanley <bds02@uow.edu.au>
112 * lyxtextclass.[Ch]: revise and add doxygen comments
114 2002-11-07 John Levon <levon@movementarian.org>
116 * text.C: fix progress value for spellchecker
118 * toc.C: fix navigate menu for insetwrap inside minipage
120 * paragraph_funcs.C: added FIXME for suspect code
122 2002-11-07 John Levon <levon@movementarian.org>
124 * BufferView_pimpl.C: fix redrawing of insets
127 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
129 * text2.C (updateCounters): fix bug 668
131 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
133 * text3.C (dispatch): Do not make the buffer dirty when moving the
136 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
138 * vc-backend.C: STRCONV
141 * text2.C (setCounter): STRCONV
143 * paragraph.C (asString): STRCONV
145 * lyxlength.C (asString): STRCONV
146 (asLatexString): ditto
148 * lyxgluelength.C (asString): STRCONV
149 (asLatexString): ditto
151 * lyxfunc.C (dispatch): STRCONV
154 * lyxfont.C (stateText): STRCONV
156 * importer.C (Import): STRCONV
158 * counters.C (labelItem): STRCONV
160 (numberLabel): remove unused ostringstream o
165 * bufferview_funcs.C (currentState): STRCONV
167 * buffer.C (readFile): STRCONV
168 (asciiParagraph): ditto
169 (makeLaTeXFile): ditto
171 * Spacing.C (writeEnvirBegin): STRCONV
173 * LaTeXFeatures.C (getLanguages): STRCONV
176 (getBabelOptions): ditto
177 (getTClassPreamble): ditto
178 (getLyXSGMLEntities): ditto
179 (getIncludedFiles): ditto
186 * LString.h: add the STRCONV macros
188 * BufferView_pimpl.C (savePosition): STRCONV
189 (restorePosition): ditto
190 (MenuInsertLyXFile): ditto
192 * vc-backend.C (scanMaster): change from submatch[...] to
195 * funcrequest.C: include config.h
197 * factory.C: include config.h
199 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
201 * box.C: include config.h
203 * LaTeX.C (scanAuxFile): change from submatch[...] to
207 2002-10-25 Angus Leeming <leeming@lyx.org>
209 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
211 * ispell.[Ch] (setError): new method.
212 * ispell.C (c-tor): move out child process into new class LaunchIspell.
213 Use setError() insetead of goto END.
215 * lyx_cb.C (AutoSave): move out child process into new class
218 2002-10-30 John Levon <levon@movementarian.org>
220 * text3.C: make start appendix undoable
222 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
224 * lyxlength.C (inPixels): Fix returned value.
226 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
229 2002-10-24 Angus Leeming <leeming@lyx.org>
231 * lyxgluelength.h: no need to forward declare BufferParams
232 or BufferView, so don't.
234 2002-10-21 John Levon <levon@movementarian.org>
236 * BufferView.C: menuUndo ->undo, redo
238 * BufferView.h: document, remove dead, make some methods private
242 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
247 * sgml.C: move sgml open/close tag into sgml.C
249 * bufferview_funcs.h: unused prototype
252 * lyxfunc.C: remove unused
255 * text.C: remove unused
257 2002-10-21 John Levon <levon@movementarian.org>
261 * BufferView_pimpl.h:
262 * BufferView_pimpl.C: fix mouse wheel handling based on
263 patch from Darren Freeman
265 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
267 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
269 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
271 * lyxlength.C (inPixels): Fix hanfling of negative length.
272 Fix LyXLength::MU case.
274 2002-10-16 John Levon <levon@movementarian.org>
276 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
278 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
280 * converter.C (view): add support for $$i (file name) and $$p
281 (file path) for the viewer command. If $$i is not specified, then
282 it is appended to the command (for compatibility with old syntax)
284 2002-10-14 Juergen Vigna <jug@sad.it>
286 * undo_funcs.C (textHandleUndo): alter the order in which the
287 new undopar is added to the LyXText, as we have to set first
288 the right prev/next and then add it as otherwise the rebuild of
289 LyXText is not correct. Also reset the cursor to the right paragraph,
290 with this IMO we could remove the hack in "redoParagraphs()".
292 2002-10-09 Angus Leeming <leeming@lyx.org>
294 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
295 to turn off an optimisation if a new inset is to be inserted.
297 2002-10-11 André Pönitz <poenitz@gmx.net>
299 * lytext.h: make some functions public to allow access
300 from inset/lyxtext for handling LFUN_PRIOR/NEXT
302 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
304 * text3.C (dispatch): when changing layout, avoid an infinite loop
307 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
309 * lyxrc.C (read): treat a viewer or converter command of "none" as
312 * MenuBackend.C (expandFormats): for an update, also allow the
313 formats that are not viewable
315 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
316 script if it is newer than the lyxrc.defaults in user directory
318 2002-10-07 André Pönitz <poenitz@gmx.net>
320 * text.C: Vitaly Lipatov's small i18n fix
322 2002-09-25 Angus Leeming <leeming@lyx.org>
324 * ispell.h: doxygen fix.
326 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
328 * buffer.h (readFile): Add a new argument to the method, to allow
329 reading of old-format templates.
331 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
333 * toc.C (getTocList): Get TOC from InsetWrap.
335 2002-09-16 John Levon <levon@movementarian.org>
337 * lyxfunc.C: check tabular for cut/copy too
339 2002-09-12 John Levon <levon@movementarian.org>
344 * factory.C: add header
347 * paragraph_funcs.C: cleanup
349 2002-09-11 John Levon <levon@movementarian.org>
351 * PrinterParams.h: odd/even default to true
353 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
355 * PrinterParams.h: update printer parameters for new xforms dialog
357 2002-09-11 Angus Leeming <leeming@lyx.org>
359 * lyxserver.C (read_ready): re-write to make it more transparent
360 and to make it work in coherent fashion under Tru64 Unix.
362 2002-09-11 André Pönitz <poenitz@gmx.net>
366 * text3.C: implement LFUN_WORDSEL
368 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
370 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
371 make floatlist_ a boost::shared_ptr<FloatList>
373 * lyxtextclass.C: include FloatList.h
374 (LyXTextClass): initialize floatlist_
375 (TextClassTags): add TC_NOFLOAT
376 (Read): match "nofloat" to TC_NOFLOAT and use it.
377 (readFloat): modify call to floatlist_
381 * FloatList.[Ch] (FloatList): remove commented out float
383 (erase): new function
385 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
387 * MenuBackend.C (expandToc): fix crash when there is no document
390 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
392 * many files: Add insetwrap.
394 2002-09-09 John Levon <levon@movementarian.org>
396 * text2.C: remove confusing and awkward depth wraparound
398 2002-09-09 John Levon <levon@movementarian.org>
400 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
403 * buffer.C: remove getIncludeonlyList()
406 * lyxfunc.C: remove headers
408 2002-09-09 Juergen Vigna <jug@sad.it>
410 * text.C (getColumnNearX): fix form Michael this is most
411 probably a cut&paste bug.
413 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
417 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
418 references, ws changes.
420 * text2.C (init): update counters after init
421 (insertParagraph): no need to set counter on idividual paragraphs.
422 (setCounter): access the counters object in the textclass object
423 on in the buffer object.
424 (updateCounters): ditto
426 * lyxtextclass.C: include counters.h, add variable ctrs_ as
427 shared_ptr<Counters> to avoid loading counters.h in all
429 (LyXTextClass): initialize ctrs_
430 (TextClassTags): add TC_COUNTER, and ...
432 (CounterTags): new tags
433 (readCounter): new function
434 (counters): new funtion
435 (defaultLayoutName): return a const reference
437 * counters.C (Counters): remove contructor
438 (newCounter): remove a couple of unneeded statements.
439 (newCounter): simplify a bit.
440 (numberLabel): some small formatting changes.
442 * buffer.[Ch]: remove all traces of counters, move the Counters
443 object to the LyXTextClass.
445 2002-09-06 Alain Castera <castera@in2p3.fr>
447 * tabular.C: uses \tabularnewline; uses >{...} construct from array
448 package to set the horizontal alignment on fixed width columns.
451 * lyx_sty.h: added tabularnewline macro def.
453 * LaTeXFeatures.C: added NeedTabularnewline macro feature
455 2002-09-06 John Levon <levon@movementarian.org>
457 * LyXAction.C: tooltips for sub/superscript
459 * MenuBackend.C: a bit more verbose
461 * lyxfunc.C: tiny clean
463 * undo_funcs.C: document undo_frozen
465 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
467 * counters.C (Counters): add missing algorithm counter.
469 * text2.C (setCounter): lookup the counter with layouts latexname
470 instead of by section number.
471 (setCounter): use a hackish way to lookup the correct enum
473 a float name->type change
474 reset enum couners with counter name directly instead of depth value.
476 * counters.C (Counters): remove the push_backs, change to use the
477 float type not the float name.
478 (labelItem): remove unused string, float name->type change
480 * counters.h: don't include vector, loose the enums and sects vectors
482 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
484 * lyxtextclass.C (TextClassTags): add TC_FLOAT
485 (Read): add float->TC_FLOAT to textclassTags
486 (Read): and handle it in the switch
487 (readFloat): new function
489 * FloatList.C (FloatList): comment out the hardcoded float
492 * lyxlayout.h: ws change.
494 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
496 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
498 2002-09-03 Angus Leeming <leeming@lyx.org>
500 * BufferView_pimpl.h: qualified name is not allowed in member
501 declaration: WorkArea & Pimpl::workarea() const;
503 * factory.C: added using std::endl directive.
505 * text3.C: added using std::find and std::vector directives.
507 2002-08-29 André Pönitz <poenitz@gmx.net>
510 * text2.C: remove unused member number_of_rows
513 * BufferView2.C: remove file, move contents to...
514 * BufferView.C: ... here
516 * BufferView_pimpl.C:
517 * factory.C: move more inset creation to factory
519 * vspace.C: avoid direct usage of LyXText, ws changes
522 don't provide direct access to WorkArea, use two simple
523 acessors haveSelction() and workHeight() instead
526 2002-08-29 John Levon <levon@movementarian.org>
528 * BufferView_pimpl.C (dispatch): do not continue when
531 2002-08-28 André Pönitz <poenitz@gmx.net>
533 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
536 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
538 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
540 * buffer.C: increment LYX_FORMAT to 221
542 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
543 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
545 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
547 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
549 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
551 * factory.C (createInset): use LyXTextClass::floats
553 * MenuBackend.C (expandFloatListInsert):
557 * text2.C (setCounter):
559 * LaTeXFeatures.C (useFloat):
560 (getFloatDefinitions):
562 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
564 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
565 floatlist_, with accessor floats().
567 * FloatList.h: remove global FloatList
569 2002-08-26 André Pönitz <poenitz@gmx.net>
571 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
575 * BufferView_pimpl.C:
576 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
578 2002-08-25 John Levon <levon@movementarian.org>
580 * LyXAction.C: fix margin note description
582 2002-08-24 John Levon <levon@movementarian.org>
586 * bufferview_funcs.C:
588 * undo_funcs.C: cleanups
590 * lyxfunc.C: disable CUT/COPY when no selection
592 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
594 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
595 in "enum UNIT"; e.g. PTW for Percent of TextWidth
597 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
598 Add backward compatibility to "mono", "gray" and "no".
600 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
602 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
603 (and file_format >= 200).
605 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
607 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
609 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
611 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
613 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
615 * BufferView_pimpl.C:
622 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
623 inset and code to make it work with the paragraph code. The inset
624 can be anywhere in the paragraph, but will only do the expected
625 thing in LaTeX if the layout file contains the parameter line
627 (or more generally, a nonzero value) for that layout.
629 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
631 * paragraph.h: remove the declaration of undefined counters class
634 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
636 * text2.C (setCounter): fixed enumeration mis-count as reported by
639 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
641 * paragraph_funcs.h: remove some unneeded includes
643 * text.C (backspace): pasteParagraph now in global scipe
645 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
646 (pasteSelection): ditto
648 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
649 * paragraph_funcs.C (pasteParagraph): ... here
651 2002-08-20 André Pönitz <poenitz@gmx.net>
653 * commandtags.h: new LFUNs for swapping/copying table row/colums
656 * lyxfunc.C: support for new lfuns
658 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
661 * buffer.[Ch]: remove NO_COMPABILITY stuff
663 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
665 * boost.C (throw_exception): new file, with helper function for
666 boost compiled without exceptions.
672 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
674 * bufferlist.C (emergencyWriteAll): use boost bind
676 * BufferView_pimpl.C (moveCursorUpdate): remove inline
678 * text.C: include paragraph_funcs.h
679 (breakParagraph): breakParagraph is now in global scope
681 * paragraph_funcs.[Ch]: new files
683 * paragraph.C (breakParagraph,breakParagraphConservative): move to
686 * buffer.C: include paragraph_funcs.h
687 (insertStringAsLines): breakParagraph is now in global scope
689 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
692 * CutAndPaste.C: include paragraph_funcs.h
693 (cutSelection): breakParagraphConservative is now in global scope
694 (pasteSelection): ditto
696 * buffer.h: declare oprator== and operator!= for
697 Buffer::inset_iterator
699 * bufferlist.C (emergencyWrite): don't use fmt(...)
701 * text3.C: add using std::endl
703 * BufferView.C (moveCursorUpdate): remove default arg
705 2002-08-20 André Pönitz <poenitz@gmx.net>
707 * buffer.[Ch]: move inline functions to .C
710 * BufferView_pimpl.C:
712 * buffer.[Ch]: use improved inset_iterator
715 * paragraph.[Ch]: write one paragraph at a time
717 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
719 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
720 style if style is not specified.
722 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
724 * text2.C (setCounter): when searching for right label for a
725 caption, make sure to recurse to parent insets (so that a caption
726 in a minipage in a figure float works) (bug #568)
728 2002-08-20 André Pönitz <poenitz@gmx.net>
730 * text3.C: new file for LyXText::dispatch() and helpers
732 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
734 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
736 2002-08-19 André Pönitz <poenitz@gmx.net>
739 * text.C: new LyXText::dispatch()
741 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
743 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
745 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
747 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
750 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
752 * Makefile.am: use $(variables) instead of @substitutions@
754 2002-08-15 André Pönitz <poenitz@gmx.net>
757 * BufferView_pimpl.C: streamlining mathed <-> outer world
761 * LyXAction.C: remove unused LFUN_MATH
763 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
765 * paragraph.[Ch]: add some NO_NEXT ifdefs.
767 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
769 * paragraph.C (Paragraph): reformat a bit
770 (cutIntoMinibuffer): use builtin InsetList function instad of
774 * buffer.C: include boost/bind.hpp, add using std::for_each
775 (writeFileAscii): use ParagraphList iterators
776 (validate): use for_each for validate traversal of paragraphs
777 (getBibkeyList): use ParagraphList iterators
778 (resizeInsets): use for_each to resizeInsetsLyXText for all
780 (getParFromID): use ParagraphList iterators
782 * BufferView2.C (lockInset): use paragraph list and iterators
784 2002-08-14 John Levon <levon@movementarian.org>
786 * lyxserver.C: remove spurious xforms include
788 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
790 * lyxfunc.C (getStatus): disable math-extern outside of math mode
792 2002-08-13 André Pönitz <poenitz@gmx.net>
795 * lyxfunc.C: further cleaning
797 2002-08-13 André Pönitz <poenitz@gmx.net>
799 * funcrequest.h: new constructor
801 * funcrequest.C: move stuff here from .h
804 * BufferView_pimpl.C:
807 * lyxfunc.C: subsequent changes
809 * lyxfunc.h: new view() member function
811 * lyxfunc.C: subsequent changes
813 2002-08-13 Angus Leeming <leeming@lyx.org>
816 * BufferView_pimpl.C:
824 changes due to the changed LyXView interface that now returns references
825 to member variables not pointers.
827 2002-08-13 Angus Leeming <leeming@lyx.org>
829 * WordLangTuple (word, lang_code): return references to strings,
834 * lyxtext.h: forward-declare WordLangTuple.
839 * text.C: #include "WordLangTuple.h".
842 * text.C: (selectNextWordToSpellcheck): constify return type.
844 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
853 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
855 Made updateCounter always count from start of buffer, and removed
856 second argument (par).
857 Reverted floats number display to '#'. Perhaps I'll try again when the
858 code base is sanitized a bit.
860 2002-08-12 Angus Leeming <leeming@lyx.org>
862 * buffer.[Ch] (getLabelList): constify.
864 2002-08-07 André Pönitz <poenitz@gmx.net>
866 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
868 * funcrequest.h: extension to keep mouse (x,y) position
870 2002-08-12 Juergen Vigna <jug@sad.it>
872 * BufferView2.C (insertErrors): forbid undo when inserting error
875 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
877 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
879 * ParagraphList.[Ch]: new files
881 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
883 * BufferView2.C (lockInset): ParagraphList changes
886 * bufferlist.C: ditto
890 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
893 unused class variable counter_,
895 * paragraph.[Ch] (getFirstCounter): delete unused function
897 * counters.C: include LAssert.h
898 (reset): add a new function with no arg, change other version to
899 not have def. arg and to not allow empty arg.
901 * text2.C (setCounter): remove empty arg from call to Counters::reset
903 2002-08-11 John Levon <levon@movementarian.org>
905 * Makefile.am: add WordLangTuple.h
907 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
909 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
910 lyxfunc.C lyxlex_pimpl.C: ws changes only.
912 * insets/insettext.C: InsetList changes
914 * graphics/GraphicsSupport.C (operator()): InsetList changes
916 * toc.C (getTocList): InsetList changes
918 * paragraph_pimpl.[Ch]: InsetList changes
920 * paragraph.[Ch]: InsetList changes
922 * buffer.C (inset_iterator): InsetList changes
923 (setParagraph): ditto
924 * buffer.h (inset_iterator): ditto
925 * iterators.C (operator++): ditto
928 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
930 * InsetList.[Ch]: new files, most InsetList handling moved out of
933 * BufferView2.C (removeAutoInsets): InsetList changes
935 (ChangeInsets): ditto
937 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
939 * paragraph_pimpl.h (empty): new function
941 * paragraph.[Ch] (empty): new function
943 * other files: use the new Paragraph::empty function
945 2002-08-09 John Levon <levon@movementarian.org>
947 * lyxtext.h: remove unused refresh_height
949 2002-08-09 John Levon <levon@movementarian.org>
956 * paragraph.C: move sgml char escaping out of paragraph
959 * paragraph.C: remove id setter
963 * paragraph_pimpl.C: remove dead tex_code_break_column
965 * bufferview_funcs.C: small cleanup
967 * lyxfunc.C: remove dead proto
969 * lyxtext.h: make some stuff private. Remove some dead stuff.
971 * lyxgluelength.C: make as[LyX]String() readable
973 2002-08-08 John Levon <levon@movementarian.org>
981 * toc.C: lyxaction cleanup
983 2002-08-08 John Levon <levon@movementarian.org>
985 * BufferView2.C: small cleanup
988 * lyxfind.C: move unnecessary header into the .C
990 2002-08-08 John Levon <levon@movementarian.org>
992 * funcrequest.h: just tedious nonsense
995 * lyx_main.C: cleanups
998 * vspace.C: remove dead header lyx_main.h
1000 2002-08-07 Angus Leeming <leeming@lyx.org>
1003 * paragraph_pimpl.h:
1004 Forward declare class Counters in paragraph.h by moving the ctrs member
1005 variable into Paragraph::Pimpl.
1006 (counters): new method, returning a reference to pimpl_->ctrs.
1008 * text2.C: ensuing changes.
1010 2002-08-07 John Levon <levon@movementarian.org>
1012 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1014 * BufferView_pimpl.C: announce X selection on double/triple
1017 * lyx_main.C: use correct bool in batch dispatch
1019 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1021 2002-08-07 André Pönitz <poenitz@gmx.net>
1023 * funcrequest.h: new class to wrap a kb_action and its argument
1026 * BufferView_pimpl[Ch]:
1030 * lyxrc.C: subsequent changes
1033 2002-08-07 John Levon <levon@movementarian.org>
1035 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1036 document options change.
1038 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1043 * makefile.am: move counters functionality over from
1044 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1046 2002-08-06 John Levon <levon@movementarian.org>
1048 * WordLangTuple.h: new file for word + language code tuple
1059 * BufferView2.C: use WordLangTuple
1062 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1064 2002-08-06 John Levon <levon@movementarian.org>
1066 * lyx_main.C: fix cmdline batch handling
1068 2002-08-06 André Pönitz <poenitz@gmx.net>
1070 * lyxrc.C: set default for show_banner to true
1072 2002-08-06 John Levon <levon@movementarian.org>
1074 * pspell.C: fix a crash, and allow new aspell to work
1076 2002-08-06 John Levon <levon@movementarian.org>
1079 * kbmap.C: small cleanup
1082 * vspace.C: add const
1084 2002-08-05 John Levon <levon@movementarian.org>
1086 * LyXAction.C: back to tabular-insert
1088 2002-08-04 John Levon <levon@movementarian.org>
1091 * BufferView.C: cosmetic change
1093 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1103 * BufferView2.C: purge all "Lyx" not "LyX" strings
1106 * lyxcursor.C: attempt to add some documentation
1111 * ToolbarDefaults.C:
1112 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1113 merge with LFUN_TABULAR_INSERT
1120 * pspell.C: split up i/pspell implementations into separate
1121 files, many cleanups
1123 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1125 * text2.C: some cleanup
1127 * lyxfunc.C: don't check for isp_command == "none" any more, it
1128 didn't make any sense
1130 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1135 * makefile.am: move counters functionality over
1136 from text2.C/paragraph.[Ch] to counters.[Ch], and
1138 2002-08-02 John Levon <levon@movementarian.org>
1140 * buffer.C: s/lyxconvert/lyx2lyx/
1142 2002-08-02 Angus Leeming <leeming@lyx.org>
1144 * lyxlex.C: revert John's change as it breaks reading of the user
1147 2002-08-02 Angus Leeming <leeming@lyx.org>
1149 * importer.C (Import):
1150 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1151 changes due to LyXView::view() now returning a boost::shared_ptr.
1153 2002-08-02 John Levon <levon@movementarian.org>
1155 * lyxlex.C: small cleanup
1157 2002-08-02 John Levon <levon@movementarian.org>
1159 * text2.C (status): small cleanup, no logic change
1161 2002-08-01 John Levon <levon@movementarian.org>
1164 * buffer.C (writeFile): don't output alerts, caller
1168 * lyx_cb.C: from above
1170 * lyxfunc.C: allow to open non-existent files
1172 2002-07-31 John Levon <levon@movementarian.org>
1174 * lyxserver.C: don't let incidental errors get
1177 2002-07-30 John Levon <levon@movementarian.org>
1179 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1181 2002-07-30 John Levon <levon@movementarian.org>
1184 * lyxserver.C: remove I/O callback too
1186 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1188 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1191 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1193 * many files: strip,frontStrip -> trim,ltrim,rtrim
1195 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1197 * PrinterParams.h: remove extern containsOnly, and include
1198 support/lstrings.h instead.
1200 * LaTeX.C (scanAuxFile): modify because of strip changes
1202 * buffer.C (makeLaTeXFile): ditto
1203 * bufferparams.C (writeFile): ditt
1204 * lyxfont.C (stateText): ditto
1205 * lyxserver.C (read_ready): ditto
1206 * vc-backend.C (scanMaster): ditto
1208 * BufferView_pimpl.h: ws changes
1210 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1212 2002-07-26 André Pönitz <poenitz@gmx.net>
1214 * kb_sequence.C: remove unnedred usings
1216 2002-07-26 Juergen Vigna <jug@sad.it>
1218 * lyxfind.C (LyXReplace): we have to check better if the returned
1219 text is not of theLockingInset()->getLockingInset().
1221 2002-07-25 Juergen Vigna <jug@sad.it>
1223 * lyxfind.C (LyXReplace): don't replace if we don't get the
1226 * undo_funcs.C (createUndo): remove debugging code.
1228 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1230 * buffer.C (parseSingleLyXformat2Token): Use default placement
1231 when reading old floats.
1233 * FloatList.C (FloatList): Change the default placement of figure
1234 and tables to "tbp".
1236 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1238 * MenuBackend.C: using std::max
1240 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1242 * MenuBackend.C (expandToc):
1243 (expandToc2): code moved from xforms menu frontend. It is now
1244 generic and TOCs are transparent to menu frontends.
1246 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1248 * toc.C (getTocList): protect against buf=0
1250 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1251 Menu as first parameter. Now, this calls itself recursively to
1252 expand a whole tree (this will be useful for TOC handling)
1253 (expandFloatInsert): remove 'wide' version of floats
1255 * MenuBackend.h (submenuname): returns the name of the submenu.
1256 (submenu): returns the submenu itself, provided it has been
1257 created by MenuBackend::expand
1259 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1261 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1262 insets which have noFontChange == true. (bug #172)
1264 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1266 * BufferView_pimpl.C: add connection objects and use them...
1269 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1271 * MenuBackend.C (expandLastfiles):
1274 (expandFloatListInsert):
1275 (expandFloatInsert):
1276 (expand): split expand in parts
1278 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1280 * lyx_gui.C: use lyx_gui::exit()
1282 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1284 * LyXAction.C: show the failing pseudo action
1286 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1288 * buffer.C (readFile): Run the lyxconvert script in order to read
1291 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1295 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1297 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1301 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1303 2002-07-22 Herbert Voss <voss@lyx.org>
1306 * lyxlength.[Ch]: add support for the vertical lengths
1308 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1310 * toc.[Ch]: std:: fixes
1312 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1314 * lyxrc.C: do not include lyx_main.h
1316 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1322 * BufferView2.C: include "lyxlex.h"
1325 * bufferparams.h: do not #include "lyxlex.h"
1327 * lyxtextclasslist.C (Add): remove method
1328 (classlist): renamed to classlist_
1330 * paragraph_pimpl.C:
1334 * bufferview_funcs.C:
1339 * toc.C (getTocList): use BufferParams::getLyXTextClass
1341 * toc.C (getTocList): use InsetFloat::addToToc
1343 * toc.[Ch]: new files, containing helper functions to handle table
1346 * lyxfunc.C (dispatch): no need to remove spaces around command
1348 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1349 first command of the sequence; it is not very clever, but I do not
1350 have a better idea, actually
1352 * LyXAction.C (LookupFunc): make sure to remove space at the
1353 beginning and end of the command
1355 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1357 * MenuBackend.C (getMenubar): new method: return the menubar of
1359 (read): treat differently reading of menu and menubar (in
1360 particular, the menubar has no name now)
1361 (Menu::menubar): remove
1363 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1366 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1368 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1369 a bibitem inset in a RTL paragraph.
1371 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1373 * paragraph_pimpl.C: constify
1375 * BufferView_pimpl.C:
1377 * lyxfunc.C: fix dispatch in a nicer way
1379 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1381 * lyxfunc.C (dispatch):
1382 * BufferView_pimpl.C:
1383 * BufferView_pimpl.h:
1385 * BufferView.h: rename Dispatch() to dispatch()
1387 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1389 * lyxlayout.C (Read): honor DependsOn tag
1391 * lyxlayout.[Ch] (depends_on): new method
1393 * version.C.in: update lyx_docversion
1395 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1397 * paragraph.C (validate): remove from here...
1398 * paragraph_pimpl.C (validate): ... and move here
1399 (isTextAt): make it const
1401 * buffer.C (getLists): ws cleanup
1403 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1405 * language.C (read): Use iso8859-1 encoding in latex_lang
1406 (this prevents LyX from crashing when using iso10646-1 encoding).
1408 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1410 * text2.C (toggleInset): if cursor is inside an inset, close the
1411 inset and leave cursor _after_ it
1413 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1415 * lyxfunc.C: move minibuffer completion handling out of here
1417 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1419 * BufferView_pimpl.C:
1420 * LaTeX.C: fix dispatch calls
1422 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1424 * text.C (drawChars): Fix Arabic text rendering.
1426 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1430 * lyxfunc.C: remove message-push/pop
1434 * lyxfunc.C: rationalise some code by removing verboseDispatch
1435 in favour of a bool argument to dispatch()
1437 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1439 * lyx_main.C (init): make sure to read symlinks as absolute paths
1441 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1444 * lyxfunc.C: no need for commandshortcut to be a member
1446 2002-07-15 André Pönitz <poenitz@gmx.net>
1448 * converter.C: add support for $$s (scripts from lib/scripts dir)
1449 * lyx_main.C: white space
1451 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1455 * lyxrc.C: remove second exit confirmation
1457 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1462 * BufferView_pimpl.h:
1463 * BufferView_pimpl.C:
1464 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1466 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1468 * MenuBackend.C (expand): add numeric shortcuts to document menu
1470 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1472 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1474 * lyxfont.C (setLyXFamily):
1481 * buffer.C (asciiParagraph): use ascii_lowercase
1483 2002-07-15 Mike Fabian <mfabian@suse.de>
1485 * lyxlex_pimpl.C (search_kw):
1486 * lyxlex.C (getLongString):
1487 * converter.h (operator<):
1488 * converter.C (operator<):
1489 * buffer.C (parseSingleLyXformat2Token):
1491 * ToolbarDefaults.C (read):
1492 * MenuBackend.C (checkShortcuts):
1494 * LColor.C (getFromGUIName):
1495 (getFromLyXName): use the compare_ascii_no_case instead of
1496 compare_no_case, because in turkish, 'i' is not the lowercase
1497 version of 'I', and thus turkish locale breaks parsing of tags.
1499 2002-07-16 Angus Leeming <leeming@lyx.org>
1501 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1502 now takes a Buffer const & argument.
1504 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1506 * BufferView.C (resize): check there's a buffer to resize
1508 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1510 * lyxfunc.C: remove dead code
1513 * lyxserver.C: use lyx_guii::set_read_callback
1515 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1517 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1518 an inset in a RTL paragraph.
1520 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1522 * lyxfunc.C: repaint after a font size update
1524 2002-07-15 André Pönitz <poenitz@gmx.net>
1526 * lyxlength.C: inBP should be able to return negative values
1528 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1530 * lyxfunc.C: use lyx_gui::update_fonts()
1532 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1534 * lyxfunc.C: use lyx_gui::update_color()
1536 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1542 * lyxrc.C: remove file->new asks for name option, and let
1543 buffer-new take an argument
1545 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1547 * BufferView_pimpl.C: remove unneeded extra repaint()
1549 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1551 * LyXAction.C: allow command-sequence with NoBuffer
1553 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1555 2002-07-10 Angus Leeming <leeming@lyx.org>
1557 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1559 2002-07-09 Angus Leeming <leeming@lyx.org>
1561 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1563 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1565 * lengthcommon.h: whitespace
1567 * lyxfunc.C: update scrollbar after goto paragraph
1569 * lyxtext.h: factor out page break drawing, and fix it so
1570 page break/added space paints as selected nicely
1572 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1574 * BufferView_pimpl.C: add FIXMEs, clean up a little
1576 2002-07-09 André Pönitz <poenitz@gmx.net>
1578 * lyxfont.[Ch]: support for wasy symbols
1580 2002-07-08 André Pönitz <poenitz@gmx.net>
1582 * BufferView_pimpl.C: apply John's patch for #93.
1584 2002-07-05 Angus Leeming <leeming@lyx.org>
1586 * BufferView_pimpl.C (buffer): generate previews if desired.
1588 * LColor.h: add "preview" to the color enum.
1590 * LColor.C (LColor): add a corresponding entry to the items array.
1592 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1595 2002-07-05 Angus Leeming <leeming@lyx.org>
1597 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1598 The body of the code is now in the method that is passed an ostream &
1599 rather than a file name.
1600 Pass an additional only_preamble parameter, useful for the forthcoming
1603 2002-07-03 André Pönitz <poenitz@gmx.net>
1605 * lyxfunc.C: simplify getStatus() a bit for math stuff
1607 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1609 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1611 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1613 * text.C (changeRegionCase): do not change case of all the
1614 document when region ends at paragraph end (bug #461)
1616 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1618 * paragraph.C (startTeXParParams):
1619 (endTeXParParams): add \protect when necessary
1621 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1623 * BufferView_pimpl.C (workAreaExpose): remove warning
1625 2002-06-27 Angus Leeming <leeming@lyx.org>
1627 * Makefile.am: add lyxlayout_ptr_fwd.h.
1629 2002-06-26 André Pönitz <poenitz@gmx.net>
1631 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1633 2002-06-25 Angus Leeming <leeming@lyx.org>
1635 * lyxfunc.C (dispatch): Comment out the call to
1636 grfx::GCache::changeDisplay. The method no longer exists now that the
1637 pixmap generation part of the graphics loader has been moved into
1640 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1642 * text2.C: layout as layout
1644 * text.C: layout as layout
1646 * tabular.C (OldFormatRead): layout as layout
1648 * paragraph_pimpl.C (TeXDeeper): layout as layout
1649 (realizeFont): layout as layout
1651 * paragraph.C (writeFile): layout as layout
1652 (validate): layout as layout
1653 (getFont): layout as layout
1654 (getLabelFont): layout as layout
1655 (getLayoutFont): layout as layout
1656 (breakParagraph): layout as layout
1657 (stripLeadingSpaces): layout as layout
1658 (getEndLabel): layout as layout
1659 (getMaxDepthAfter): layout as layout
1660 (applyLayout): layout as layout
1661 (TeXOnePar): layout as layout
1662 (simpleTeXOnePar): layout as layout
1663 (TeXEnvironment): layout as layout
1664 (layout): layout as layout
1665 (layout): layout as layout
1667 * lyxtextclass.C (compare_name): new functor to work with
1668 shared_ptr, layout as layout
1669 (Read): layout as layout
1670 (hasLayout): layout as layout
1671 (operator): layout as layout
1672 (delete_layout): layout as layout
1673 (defaultLayout): layout as layout
1675 * lyxlayout_ptr_fwd.h: new file
1677 * lyxlayout.C (Read): layout as layout
1679 * lyx_cb.C (MenuInsertLabel): layout as layout
1681 * bufferlist.C (newFile): layout as layout
1683 * buffer.C (readLyXformat2): layout as layout
1684 (parseSingleLyXformat2Token): layout as layout
1685 (insertStringAsLines): layout as layout
1686 (asciiParagraph): layout as layout
1687 (latexParagraphs): layout as layout
1688 (makeLinuxDocFile): layout as layout
1689 (simpleLinuxDocOnePar): layout as layout
1690 (makeDocBookFile): layout as layout
1691 (simpleDocBookOnePar): layout as layout
1692 (getLists): layout as layout
1694 * LaTeXFeatures.C (getTClassPreamble): layout as layout
1696 * CutAndPaste.C (cutSelection): layout as layout
1697 (pasteSelection): layout as layout
1698 (SwitchLayoutsBetweenClasses): layout as layout
1700 * BufferView_pimpl.C (Dispatch): layout as layout
1701 (smartQuote): layout as layout
1703 * BufferView2.C (unlockInset): layout as layout
1705 2002-06-24 André Pönitz <poenitz@gmx.net>
1707 * lyxfunc.C: fix #487
1709 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1713 * lyxfunc.C: remove display_shortcuts, show_banner
1715 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1717 * Buffer_pimpl.C: oops, update on resize
1719 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1726 * BufferView.C: use repaint()
1728 * BufferView_pimpl.h:
1729 * BufferView_pimpl.C: s/updateScreen()/repaint()/
1730 as it's a clearer description. Remove superfluous
1733 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1735 * text.C: fix bug 488. Not ideal, but getting
1736 getWord() to work properly for the insets that
1737 matter is more difficult ...
1739 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1741 * BufferView_pimpl.C:
1744 * lyxfunc.C: remove the six million index lyxfuncs to just
1745 one, and DTRT (bug 458)
1747 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1751 * BufferView_pimpl.h:
1752 * BufferView_pimpl.C: clean up resize() stuff,
1753 and unnecessary updateScreen()s
1755 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1759 * BufferView_pimpl.h:
1760 * BufferView_pimpl.C:
1763 * minibuffer.C: remove focus management of workarea,
1764 not needed. Use screen's greyOut()
1766 2002-06-17 Herbert Voss <voss@lyx.org>
1768 * converter.C: (convert) do not post a message, when converting
1769 fails, let the calling function decide what to do in this case
1771 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1773 * lyxfunc.C: tidy up a little
1775 2002-06-16 <alstrup@diku.dk>
1777 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1778 Got rid of FORMS_H_LOCATION include. Now we are
1781 2002-06-15 LyX Development team <lyx@rilke>
1783 * buffer.[Ch] (sgmlOpenTag):
1784 (sgmlCloseTag): Added support for avoiding pernicious mixed
1785 content. Return number of lines written.
1788 (makeDocBookFile): Fixed calls to sgml*Tag.
1789 Simple white space clean.
1791 (simpleDocBookOnePar): Simple white space clean.
1793 * tabular.[Ch] (docBook): Renamed to docbook and got another
1794 argument to related with the pernicious mixed content.
1796 (docbookRow): Fixed calls for docbook inset method.
1798 2002-06-15 Lyx Development team <larsbj@birdstep.com>
1800 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1801 so it's X11 independent.
1805 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1807 2002-06-15 Lyx Development team <lyx@electronia>
1809 * intl.h: Renamed getTrans to getTransManager.
1811 2002-06-14 Angus Leeming <leeming@lyx.org>
1813 * Makefile.am: nuke forgotten stl_string_fwd.h.
1815 2002-06-12 Angus Leeming <leeming@lyx.org>
1817 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1819 2002-06-13 Angus Leeming <leeming@lyx.org>
1822 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1824 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
1826 * kbmap.C (getiso): add support for cyrillic and greek
1828 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1832 * BufferView_pimpl.h:
1833 * BufferView_pimpl.C: move bogus scrolling logic
1836 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1839 * BufferView_pimpl.C: view->resize() change
1841 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1843 * BufferView_pimpl.C: topCursorVisible
1846 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1850 * lyx_gui.C: move to frontends/
1854 * lyx_main.C: changes from above
1856 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1863 * lyx_main.C: minor tidy
1865 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1867 * BufferView_pimpl.h:
1868 * BufferView_pimpl.C:
1870 * BufferView.C: make painter() const,
1873 * BufferView2.C: use screen() accessor
1876 * lyx_main.C: some minor cleanup
1878 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1880 * BufferView_pimpl.h:
1881 * BufferView_pimpl.C: remove enter/leaveView,
1884 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1889 * BufferView_pimpl.h:
1890 * BufferView_pimpl.C: only construct screen once,
1893 * lyxrc.C: remove pointless comment
1895 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1898 * BufferView.C: remove active() and belowMouse()
1900 * BufferView_pimpl.h:
1901 * BufferView_pimpl.C: use workarea() not workarea_,
1902 and make it use a scoped_ptr instead
1904 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1906 * lyx_gui.C: add debug message on BadWindow
1908 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1910 * sp_spell.C: fdopen is not part of the C++ standard.
1912 * paragraph.C (InsetIterator): use >= instead of ==
1914 2002-06-07 Angus Leeming <leeming@lyx.org>
1916 Fixes needed to compile with Compaq cxx 6.5.
1917 * BufferView_pimpl.C:
1924 * lyxtextclasslist.C:
1929 all c-library variables have been moved into namespace std. Wrap
1930 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1935 Add a using std::abs declaration.
1937 * kbmap.h (modifier_pair):
1938 * paragraph.h (InsetTable, InsetList):
1939 * lyxfont.h (FontBits):
1940 type definition made public.
1942 * bufferlist.C (emergencyWriteAll): the compiler complains that
1943 there is more than one possible lyx::class_fun template to choose from.
1944 I re-named the void specialisation as lyx::void_class_fun.
1946 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
1948 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
1949 the compiler is is unable to find tostr in write_attribute.
1951 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1953 * buffer.C (sgmlError): hide #warning
1955 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1957 * xtl/*: get rid of xtl, which is not in use anyway
1959 * LyXAction.C (init):
1960 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
1961 were unimplemented xtl experimentation
1963 2002-06-04 André Pönitz <poenitz@gmx.net>
1965 * lyxfunc.C: disable array operation on simple formulae
1967 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
1969 * converter.C: constify a bit
1971 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
1973 * lyx_gui.C: check xforms version correctly
1975 2002-04-30 Herbert Voss <voss@lyx.org>
1977 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
1980 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
1982 * lyxvc.C: fix bug 416 (make sure buffer is saved before
1983 attempt to register it with a VCS)
1985 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1987 * lyx_main.C (init): honor variables LYX_DIR_13x and
1990 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1994 * lyx_main.C: fix a crash on bad command line,
1995 and give a useful exit status on error
1997 * lyxfunc.C (doImport): allow -i lyx to work
1999 2002-03-30 André Pönitz <poenitz@gmx.net>
2001 * lyxfunc.C: mathed font changes
2003 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2018 * trans_mgr.h: srcdocs, and some minor cleanups
2020 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2022 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2023 call getFont all the time)
2025 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2027 * switch from SigC signals to boost::signals
2029 2002-05-29 André Pönitz <poenitz@gmx.net>
2031 * paragraph_pimpl.C (getChar): don't call size() too often...
2033 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2035 * paragraph_pimpl.C (insertChar): do not try to update tables when
2036 appending (pos == size())
2038 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2039 in order to reduce drastically the number of comparisons needed to
2040 parse a large document
2042 2002-05-29 André Pönitz <poenitz@gmx.net>
2048 * textclasslist.[Ch]:
2049 * sp_ispell.h: whitespace change
2051 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2053 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2054 lyxaction directly now.
2056 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2060 * lyxvc.C: remove unused headers
2062 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2069 * undo_funcs.C: some cleanups. Use shared_ptr
2070 and a template for the undo stacks.
2072 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2074 * BufferView_pimpl.h:
2075 * BufferView_pimpl.C:
2082 * text2.C: use key_state/mouse_state
2084 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2086 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2089 * chset.C: change include order
2090 (loadFile): use boost regex and get rid of LRegex and LSubstring
2092 * Makefile.am (BOOST_LIBS): new variable
2095 * LaTeX.C: change include order.
2096 (scanAuxFile): use boost regex and get rid of LRegex and
2100 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2105 * FontInfo.C: moved to frontends/xforms/
2108 * FontLoader.C: moved into frontends for GUIIzation
2113 * lyxfunc.C: changes from above
2115 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2117 * LColor.C: remove spurious X include
2119 * BufferView_pimpl.C:
2124 * text2.C: move font metrics to frontends/
2126 2002-05-24 Juergen Vigna <jug@sad.it>
2128 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2129 setting the undo_cursor.
2131 * ParagraphParameters.h: include local includes first.
2133 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2135 * BufferView_pimpl.C:
2136 * BufferView_pimpl.h:
2140 * screen.C: move WorkArea into frontends/
2146 * BufferView2.C: move LyXScreen into frontends/
2150 * lyx_gui.C: move lyxlookup into frontends/xforms/
2152 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2155 * BufferView_pimpl.C:
2165 * bufferview_funcs.C:
2178 * vc-backend.C: move LyX/XFormsView into frontends/
2180 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2192 * text2.C: move Painter to frontends/
2194 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2196 * buffer.C: comment out some some code that depend upon lyx_format
2199 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2200 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2202 * buffer.h (NO_COMPABILITY): turn off compability
2204 * ColorHandler.C: include scoped_array.hpp
2206 * font.C: Use more specific smart_ptr header.
2209 * ShareContainer.h: ditto
2213 * BufferView_pimpl.h: ditto
2214 * ColorHandler.h: ditto
2216 * kbmap.C (defkey): change call to shared_ptr::reset
2218 2002-05-21 Juergen Vigna <jug@sad.it>
2220 * buffer.C (insertErtContents): fix to insert ert asis if it is
2221 non empty. Skip it completely if it contains only whitespaces.
2223 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2225 * BufferView_pimpl.C:
2226 * BufferView2.C: clear selection on paste (bug 393)
2228 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2230 * DepTable.C: include ctime
2232 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2234 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2236 2002-05-14 Juergen Vigna <jug@sad.it>
2238 * text.C (breakParagraph): fixed function to honor the keepempty
2239 layout in the right maner and also to permit the right breaking
2240 algorithm on empty or non empyt keepempty paragraphs.
2242 * paragraph.C (breakParagraph): we have to check also if the par
2243 is really empty (!size()) for isempty otherwise we do the wrong
2246 2002-05-10 Juergen Vigna <jug@sad.it>
2248 * buffer.[Ch] : The following are only changes to the ert
2249 compatibility read reading old LaTeX layout and font stuff and
2250 convert it to ERTInsets.
2252 * buffer.h: added isErtInset().
2254 * buffer.C (struct ErtComp): add a fromlayout bool to check
2255 if we're inside a LaTeX layout.
2256 (isErtInset): new helper function.
2257 (insertErtContents): look for other ert insets before this one
2258 and insert the contents there, so that we don't have subsequent
2259 ERT insets with nothing between them. This way we create only one
2260 inset with multiple paragraphs. Also check if we don't insert only
2261 spaces ' ' as they are ignored anyway afterwards in the .tex file
2262 so if we have only spaces we will ignore this latex part in the
2264 (parseSingleLyXformat2Token \\layout): better compatibility when
2265 reading layout-latex stuff.
2266 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2268 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2269 stuff after reading the inset only get the information back from
2272 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2274 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2276 * LaTeXFeatures.C (getBabelOptions): New method.
2278 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2280 * BufferView_pimpl.C (Dispatch): work around missing argument for
2283 2002-05-08 Juergen Vigna <jug@sad.it>
2285 * text.C (leftMargin): handle paragraph leftindent.
2287 * paragraph.C (writeFile): write the new \\leftindent tag.
2288 (validate): handle leftindent code.
2289 (TeXEnvironment): handle paragraphleftindent code again.
2291 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2293 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2294 for paragrap_extra indent code and new token \\leftindent.
2295 (latexParagraphs): handle the leftindent as environment.
2297 * ParameterStruct.h: added leftindent support.
2299 * ParagraphParameters.C (leftIndent): added support functions for
2300 the paragraph left indent.
2302 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2305 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2307 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2310 * text.C (computeBidiTables): No bidi in insetERT.
2312 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2315 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2317 * version.C.in: pre 5
2319 2002-05-02 José Matos <jamatos@fep.up.pt>
2320 * buffer.C (makeDocBookFile): white space changes, add newline to
2322 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2324 * tabular.C (docBook): fix typo.
2326 2002-05-03 Juergen Vigna <jug@sad.it>
2328 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2329 change in LyXText as we can not be sure it was not freed.
2330 (drawOneRow): remove unused code.
2332 * text.C (drawInset): redo the calculation of the need_break_row as
2333 it could have a row which was already freed.
2334 (draw): look at the return value of drawInset and return false if
2335 it also returned false.
2336 (paintRowText): look at the return value of draw and return false if
2337 it also returned false.
2339 * lyxtext.h: added bool return type to drawInset() and draw() so that
2340 if we have a change in the row so that the rowbreak has to be redone
2341 we abort drawing as it will be called again.
2343 2002-05-02 Juergen Vigna <jug@sad.it>
2345 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2346 a change in the maintext also if we're inside an inset.
2347 (Dispatch): set the cursor again after a break line and after the
2348 screen has been updated as it could be we're in a different row.
2350 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2351 to set the cursor behind the pargraph with > size().
2352 (setCursor): check also for the same paragraph when checking where
2353 to put the cursor if we have a NFR inset.
2355 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2356 parts of layout read further up as it still was in the wrong
2359 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2361 * screen.C (drawFromTo): change sine fullRebreak always return
2364 * buffer.C (parseSingleLyXformat2Token): reindent some
2366 * BufferView_pimpl.C (update): change since fullRebreak always
2368 (Dispatch): git rid of the last hardcoded "Standard"s.
2370 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2372 * text2.[Ch] (fullRebreak): make it return void now that we always
2375 2002-04-30 Juergen Vigna <jug@sad.it>
2377 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2378 ert compatibility check for "latex" layout.
2380 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2382 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2383 minipages: use col% instead of p%, and also use the current font.
2384 (makeLaTeXFile): Fix use babel condition.
2385 (parseSingleLyXformat2Token): Correct font when reading old floats.
2387 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2389 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2390 inserting list of floats.
2392 2002-04-25 Herbert Voss <voss@lyx.org>
2394 * MenuBackend.C (expand): don't add the graphics extensions to the
2397 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2399 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2400 non-existing layout, do not complain if it was the default layout
2401 of the original class (bug #342)
2403 2002-04-24 Juergen Vigna <jug@sad.it>
2405 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2406 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2408 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2410 * buffer.C (getBibkeyList): If using \bibliography, return the
2411 option field with the reference itself. Enables us to provide natbib
2412 support when using \bibliography.
2414 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2416 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2418 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2419 natbib is provided by the LaTeX class.
2421 2002-04-23 Juergen Vigna <jug@sad.it>
2423 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2426 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2428 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2430 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2432 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2433 ensuremath around textordmasculine, textordfeminine and
2436 2002-04-19 Juergen Vigna <jug@sad.it>
2438 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2439 reinitializing the buffer otherwise row-dimensions may be wrong.
2440 (update): reset also the selection cursors if they do exits otherwise
2441 their x/y positions may be wrong.
2443 * text2.C (cursorDown): don't enter the inset if we came from a row
2444 above and are one row over the inset.
2446 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2447 really leaving an inset.
2449 2002-04-18 Juergen Vigna <jug@sad.it>
2451 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2452 of the selected paragraph does not have the selected layout also if
2455 * text2.C (setLayout): fixed bug which did not change last selected
2458 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2459 changed the read and substituted \\end_float with \\end_inset!
2461 * BufferView_pimpl.C (cursorPrevious):
2462 (cursorNext): fixed to make it work with rows heigher than the work
2463 area without moving the cursor only the draw of the row.
2464 (workAreaMotionNotify): fix jumping over high rows.
2466 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2468 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2471 2002-04-16 Juergen Vigna <jug@sad.it>
2473 * text2.C (setCursor): set also the irow().
2474 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2476 (cursorDown): support for locking an inset if the x_fix value goes
2477 inside it. That way I can transverse insets too with cursor up/down.
2479 * lyxrow.h: added irow helper function same as other (i) functions.
2481 * BufferView_pimpl.C (cursorPrevious):
2482 (cursorNext): fixed for insets!
2484 2002-04-15 Juergen Vigna <jug@sad.it>
2486 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2487 position otherwise it is wrong in some cases.
2489 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2490 inside the inset before the call.
2492 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2494 * buffer.[Ch] (getBibkeyList): make it const.
2496 2002-04-12 Juergen Vigna <jug@sad.it>
2498 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2500 * text2.C (getCursorX): new helper function
2501 (setCursor): compute also ix_
2502 (setCursorFromCoordinates): set also ix.
2504 * lyxcursor.h: added ix_ and helper functions.
2506 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2508 * buffer.C (insertStringAsLines): dont break paragraph if the this
2509 paragraph is inside an inset which does not permit it!
2511 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2512 also with no chars on this paragraph.
2513 (paintRowText): only paint stuff if it's inside the workarea!
2515 * paragraph.C (breakParagraph): honor keepempty flag and break the
2516 paragraph always below not above.
2518 * BufferView2.C (unlockInset): update the paragraph layout on inset
2519 unlock as we changed paragraph in such a case.
2521 * lyxfind.C (LyXFind): clear the former selection if not found!
2523 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2524 again called in insertChar().
2526 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2527 an inset which uses the whole row!
2528 (rightMargin): ditto.
2529 (insertChar): force a rebreak if we inserted an inset!
2531 2002-03-28 Herbert Voss <voss@lyx.org>
2533 * lyxlength.[Ch]: add inBP() to get the right PS-point
2534 units (BigPoint). With inPixels we have rounding errors
2536 2002-04-11 Juergen Vigna <jug@sad.it>
2538 * text2.C (setCursorFromCoordinates): set iy to the right value.
2539 (setCursor): add check if row->previous exists!
2541 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2542 an old float_type as this was the case in the old code!
2544 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2546 * BufferView2.C (showLockedInsetCursor): use iy
2547 (fitLockedInsetCursor): ditto
2549 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2550 locked insets as there we have the right value now.
2552 * lyxcursor.C: added iy_ variable and iy functions to set to the
2553 baseline of cursor-y of the locked inset.
2555 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2556 (setCursor): fixed for insets which need a full row.
2558 * text.C (rowLastPrintable): don't ignore the last space when before
2559 an inset which needs a full row.
2560 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2561 as last character of a row when before a inset which needs a full row.
2563 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2565 * version.C.in: update date
2567 * text2.C (fullRebreak): try to always return true and see what
2570 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2572 * MenuBackend.C (expand): use Floating::listName
2574 * FloatList.C (FloatList): add listName argument to the built-in
2577 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2578 text associated with the float.
2580 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2582 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2584 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2586 * ShareContainer.h: add a couple of missing typenames.
2588 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
2590 * lyxrc.C (getDescription): use _() correctly rather than N_().
2592 2002-03-28 Herbert Voss <voss@lyx.org>
2594 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2595 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2597 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2599 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2600 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2602 2002-03-29 Juergen Vigna <jug@sad.it>
2604 * lyxfunc.C (dispatch): add a missing fitCursor call.
2606 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2607 it was scrolled by a cursor move, so return the bool status.
2609 * BufferView.C (fitCursor): return the bool flag also to the outside
2610 world as this is needed.
2612 * screen.C (toggleToggle): don't subtract the offset if it's positive.
2614 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2615 call the edit() as it is not needed (and wrong) IMO.
2616 (workAreaButtonPress): set the screen_first variable before evt.
2617 unlock the inset as this may change screen_first and then we have
2618 a wrong y position for the click!
2620 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2622 * MenuBackend.C (expand): another translation that I missed
2624 2002-03-28 Juergen Vigna <jug@sad.it>
2626 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2628 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2630 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2632 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2634 * MenuBackend.C (expand): fix export/view/update when there is no
2637 2002-03-27 Herbert Voss <voss@lyx.org>
2639 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2642 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2644 * bufferview_funcs.C (currentState): only show paragraph number
2645 for is DEVEL_VERSION is set.
2647 * lyxfunc.C (dispatch): put warning in INFO channel
2649 * MenuBackend.C (expand): translate the name of floats
2651 * FloatList.C (FloatList): mark the float names for translation
2653 * converter.C (convert): use LibScriptSearch
2655 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2657 * MenuBackend.C (defaults): fix default menu (we might as well get
2660 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2662 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2665 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2667 * lyxvc.C: reorder includes.
2669 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
2671 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2674 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
2676 * CutAndPaste.C: change layouts earlier on paste
2677 to avoid crashing when calling getFont()
2679 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2681 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2684 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2686 * WorkArea.C: remove 'Pending' debug message.
2688 * most files: ws cleanup
2690 * buffer.[Ch]: ws changes
2692 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
2694 2002-03-21 Juergen Vigna <jug@sad.it>
2696 * tabular.C (SetMultiColumn): collapse also the contents of the
2697 cells and set the last border right. Added a Buffer const * param.
2699 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2701 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
2704 2002-03-19 Juergen Vigna <jug@sad.it>
2706 * text2.C (clearSelection): reset also xsel_cache.
2708 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
2709 where it needs to be called (John tells us to do so too :)
2710 (selectionLost): reset sel_cache.
2712 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
2714 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2716 * text2.C (setCursorIntern): put debuging code in INSETS channel
2718 2002-03-19 André Pönitz <poenitz@gmx.net>
2720 * lyxfunc.C: tiny whitespace change
2722 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2724 * ToolbarDefaults.C (init):
2725 * LyXAction.C (init):
2727 * BufferView_pimpl.C (Dispatch):
2728 * lyxfunc.C (dispatch): remove LFUN_DEPTH
2730 2002-03-19 Allan Rae <rae@lyx.org>
2732 * exporter.C (Export): removeAutoInsets before doing anything else.
2733 While I've just introduced a dependency on BufferView this really is
2734 the best place to clean the buffer otherwise you need to cleanup in
2735 a dozen places before calling export or cleanup in a dozen functions
2738 * converter.C (runLaTeX):
2739 (scanLog): Better handling of removeAutoInsets and screen updates.
2741 * lyxfunc.C (dispatch): small whitespace changes
2743 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2745 * WorkArea.C (C_WorkAreaEvent): return a value.
2746 (event_cb): return 1 if we handled the event, 0 otherwise.
2748 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
2750 2002-03-18 Juergen Vigna <jug@sad.it>
2752 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2753 (GetAdditionalWidth): ditto.
2757 * BufferView2.C (copy): use getLyXText() so that we do it inside an
2758 inset if we're there actually (probably not used right now but this
2759 is the direction to go for unifying code).
2760 (paste): disable code to clear the selection.
2762 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2763 inside an InsetText and move the check further up as it is in the
2766 * text2.C (pasteSelection): set a selection over the pasted text.
2768 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
2770 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2771 and libgraphics to build on Cygwin.
2773 2002-03-15 Juergen Vigna <jug@sad.it>
2775 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2776 inserting an Inset into the paragraph. I know this is not the best
2777 fix but we already use current_view in CutAndPaste so we will remove
2778 all of it's using at the same time.
2780 * buffer.C (sgmlError): deactivated function till it is rewritten in
2781 the right mode, now it can create problems.
2783 * paragraph.C (isLineSeparator): check if getInset returns != 0,
2784 before accessing it.
2786 2002-03-14 Juergen Vigna <jug@sad.it>
2788 * undo_funcs.C (textHandleUndo): do the right thing when updating
2789 the inset after the undo/redo.
2791 * text2.C (setCursor): just some testcode for #44 not ready yet.
2793 * undo_funcs.C (textHandleUndo): set the next() and previous()
2794 pointers of the paragraph to 0 before deleting otherwise we have
2795 problems with the Paragraph::[destructor].
2797 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2798 on a paragraph insertion.
2800 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2802 * buffer.C (asciiParagraph): use += operator for char append to
2805 * paragraph.C (getFontSettings): compare >= not just >
2806 (highestFontInRange): ditto
2809 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2811 * paragraph.C: change several algorithm to be more appripriate for
2812 the problem domain. This is lookip in FontList and in the InsetList.
2814 2002-03-13 André Pönitz <poenitz@gmx.net>
2817 * LyXAction.C: remove unused LFUN_MATH_MACROARG
2819 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
2824 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2826 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2828 * Painter.C (display): anon helper function, adjust code for this
2830 (pixmap): remove function.
2832 * Painter.h: remove private display variable.
2834 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2836 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
2838 * WorkArea.[Ch]: remove figinset_canvas cruft.
2840 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2842 * lyxtextclass.C (operator): add one item cache optimization.
2844 * bufferlist.h: doxy changes
2846 * bufferlist.C: ws changes
2848 * DepTable.[Ch] (ext_exist): place const in the right spot.
2850 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
2852 (workAreaExpose): call resizeInsets when the with BufferView changes.
2853 (Dispatch): adjust for protectedBlank removal
2854 (specialChar): call updateInset if the insert went ok.
2856 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
2857 specialChar instead.
2859 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
2861 * BufferView.h: doxy change
2863 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
2865 * lyxtextclass.C (operator[]): remove non-const version
2866 (defaultLayout): remove non-const version
2868 2002-03-12 Juergen Vigna <jug@sad.it>
2870 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
2871 did resize the LyXText too.
2873 * buffer.C (readLyXformat2): set layout information on newly allocated
2876 * tabular.C (OldFormatRead): set layout information on the paragraph.
2878 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2880 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
2882 2002-03-11 Juergen Vigna <jug@sad.it>
2884 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
2886 (resizeCurrentBuffer): force also the insets to resize themselfes.
2887 (moveCursorUpdate): fixed up for InsetText.
2889 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
2892 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
2893 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
2894 value of Dialogs::tooltipsEnabled().
2895 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
2897 2002-03-08 Juergen Vigna <jug@sad.it>
2899 * BufferView_pimpl.C (updateInset): update inset inside inset also
2900 if it isn't inside theLockingInset().
2902 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2904 * buffer.C (asciiParagraph): redo some of the word and line length
2906 (getLists): look for Caption instead of caption.
2908 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2910 * buffer.C (Buffer): initialize niceFile to true
2913 (makeDocBookFile): make sure niceFile is true on exit
2915 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2917 * buffer.C (makeLaTeXFile): escape ~ in \input@path
2919 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2921 * LyXSendto.C: remove.
2922 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
2923 * lyx_gui.C: remove now-redundant comment.
2924 * ColorHandler.h: remove forward declaration of class WorkArea.
2925 * lyxfunc.C: remove #include "WorkArea.h".
2927 2002-03-07 Juergen Vigna <jug@sad.it>
2929 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
2930 got moved away with the DEPM and also set the inset_owner always
2931 right which before could have been omitted.
2933 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2935 * buffer.C (parseSingleLyXformat2Token): use default layout is the
2936 wanted layout is not found.
2938 2002-03-07 Juergen Vigna <jug@sad.it>
2940 * CutAndPaste.C (cutSelection): another layout settings forgotten.
2942 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2944 * paragraph.C (breakParagraph): use default layout not layout of
2946 (Paragraph): clear ParagraphParameters.
2948 2002-03-06 Juergen Vigna <jug@sad.it>
2950 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
2951 otherwise it would not be a valid lenght. Fixed a special case in
2952 the minipage compatibility read where we end the document with a
2955 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
2956 was set as it could be 0 for InsetTexts first entry.
2958 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2960 * paragraph.C (writeFile): if layout is empty write out
2961 defaultLayoutName().
2963 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
2964 file without named layout we set layout to defaultLayoutName().
2966 2002-03-06 Juergen Vigna <jug@sad.it>
2968 * CutAndPaste.C (copySelection): set layout for new paragraph.
2970 * text.C (prepareToPrint): leave ERT inset left aligned
2971 (leftMargin): don't indent paragraphs inside ERT insets
2973 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2975 * paragraph.C (breakParagraph): dont call clear do the work manually
2977 * paragraph.[Ch] (clear): remove function
2979 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2981 * paragraph.C (Paragraph): dont call clear, the work has already
2984 * lyxtextclass.C (operator): assert if n is empty
2986 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
2987 work manually instead.
2989 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
2991 * BufferView_pimpl.C: protect selectionLost against text == 0
2993 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2995 * text.C (breakParagraph): fix a setting layout to '0' problem.
2997 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2999 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3000 final location of file, for the included files, and graphics.
3002 2002-03-05 Juergen Vigna <jug@sad.it>
3004 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3006 2002-03-04 Juergen Vigna <jug@sad.it>
3008 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3010 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3011 last column of multicolumn cells.
3012 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3014 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3016 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3017 file if it doesn't go to a temporary file.
3019 * buffer.C (sgmlOpenTag):
3020 (sgmlCloseTag): remove extra newline insertion.
3022 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3024 * text.C (getRowNearY): comment out debug msg
3026 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3028 * text2.C: first -> first_y
3030 * text.C (getRowNearY): add some attemts at a possible
3031 optimization, not working.
3033 * tabular.[Ch]: add BufferParams to several function so that newly
3034 created paragraph can be initialized to he default layotu for the
3037 * tabular-old.C (ReadOld): add buf->params to call of Init
3039 * screen.C: rename text->first to text->first_y
3041 * paragraph.C (breakParagraph): always set layout in the broken
3044 * lyxtextclass.C (Read): remove lowercase
3047 (delete_layout): ditto
3049 * lyxtext.h: rename first -> first_y
3051 * lyxlayout.C (Read): remove lowercase
3054 (obsoleted_by): ditto
3056 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3058 * buffer.C (insertErtContents): add params are to InsetERT
3059 (parseSingleLyXformat2Token): add code to check if a paragraphs
3060 layout really exist.
3061 (parseSingleLyXformat2Token): add params to several inset
3063 (asciiParagraph): remove lowercase, do the layout comparisons with
3066 * BufferView_pimpl.C (cursorNext): first -> first_y
3067 (resizeCurrentBuffer): first -> first_y
3068 (updateScrollbar): first -> first_y
3069 (scrollCB): first -> first_y
3070 (workAreaMotionNotify): first -> first_y
3071 (workAreaButtonPress): first -> first_y
3072 (checkInsetHit): first -> first_y
3073 (cursorPrevious): first -> first_y
3074 (cursorNext): first -> first_y
3075 (Dispatch): add buffer_->params to severl inset contructors
3077 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3079 * lyxlayout.C (Read): remove some debug info that I forgot.
3081 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3082 clean up the code slightly.
3083 (makeLinuxDocFile): ditto
3084 (makeDocBookFile): ditto
3086 * text2.C: layout as string
3088 * text.C: layout as string
3090 * paragraph_pimpl.C: layout as string
3092 * paragraph.[Ch]: layout as string
3094 * lyxtextclasslist.[Ch]: layout as string
3096 * lyxtextclass.[Ch]: layout as string
3098 * lyxtext.h: layout as string
3100 * lyxlayout.[Ch]: layout as string
3102 * lyx_cb.C: layout as string
3104 * bufferview_funcs.C: layout as string
3106 * bufferparams.C: layout as string
3108 * buffer.C: layout as string
3110 * LyXView.[Ch]: layout as string
3112 * LaTeXFeatures.[Ch]: layout as string
3114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3116 * BufferView_pimpl.C: change current_layout to string, remove
3121 (workAreaButtonRelease): layout as string
3123 * BufferView2.C (unlockInset): adjust
3125 * vspace.C (asLatexCommand): use an explict temp variable.
3127 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3129 * Makefile.am: use FRONTEND_*
3131 2002-03-01 Juergen Vigna <jug@sad.it>
3133 * tabular.C (SetWidthOfMulticolCell): changed to something better
3134 I hope but still work in progress.
3135 (recalculateMulticolumnsOfColumn): renamed function from
3136 recalculateMulticolCells as it is more appropriate now.
3137 (SetWidthOfCell): calculate multicols better.
3139 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3141 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3143 * lyxfunc.C (processKeySym): print sequence also if it is
3144 `deleted' (complete)
3146 * kbsequence.C (print): print sequence even if it is deleted
3147 (complete would be a better word, actually).
3149 * lyxfunc.C (dispatch): print complete options after a prefix key
3151 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3153 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3155 * text2.C (setCharFont): eliminate setCharFont code duplication.
3157 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3159 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3160 LFUN_TABULAR_FEATURE (bug #177)
3162 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3164 * Makefile.am: remove figure.h
3166 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3168 * Bufferview_pimpl.C:
3180 * text2.C: remove #include "lyx_gui_misc.h".
3182 * LaTeX.C: added #include <cstdio>
3184 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3186 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3187 that the paragraph following this one can have.
3189 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3191 * vspace.C (asLatexCommand): fix bogus gcc warning
3193 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3195 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3197 * text2.C (setLayout): get rid of redundant code
3199 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3201 * text2.C (incDepth): make sure depth cannot be increased beyond
3204 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3206 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3207 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3209 * PainterBase.h (image):
3210 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3213 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3217 * BufferView_pimpl.C:
3218 * BufferView_pimpl.h:
3238 * sp_spell.C: remove fig inset, and the crap house of
3239 cards that follows it
3241 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3247 * nt_defines.h: move .h into support/
3249 * vms_defines.h: remove
3251 * WorkArea.C: add space in debug output
3255 * buffer.C: add WITH_WARNINGS
3259 * bufferlist.C: s/retrive/retrieve/, add docs
3270 * lyxgui.C: add ID to X error handler
3272 * lyxtestclass.c: fix typo
3274 2002-02-26 Juergen Vigna <jug@sad.it>
3276 * tabular_funcs.C (write_attribute): changed so that some default
3277 attributes are not written at all.
3278 (getTokenValue): set default values before trying to read the
3279 value so we have the return value always set as default if we don't
3280 find the token we search for.
3282 * tabular.C (Write): write bools as bools not as strings!
3284 2002-02-22 Juergen Vigna <jug@sad.it>
3286 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3287 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3289 * text.C (leftMargin): don't add an indent for paragraphs inside
3290 tabular cells (fix #208).
3292 2002-02-21 José Matos <jamatos@fep.up.pt>
3294 * tabular.C (docBook): fixed support for long tables.
3296 2002-02-20 Juergen Vigna <jug@sad.it>
3298 * text2.C (getFont): get the drawing font of the Inset if this
3299 paragraph is inside an inset (only important for InsetERT for now).
3301 * buffer.C (insertErtContents): use new lanugage params in ERT
3304 * CutAndPaste.C: commenting out seemingly uneeded code.
3306 2002-02-19 Allan Rae <rae@lyx.org>
3308 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3309 Iterators might be simple to use but they also get invalidated.
3310 (removeAutoInsets): renamed saved cursor tracking variables and added
3311 some comments to clarify what everything does.
3313 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3320 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3321 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3324 * vc-backend.h: remove #include "support/syscall.h"
3328 * converter.C: rearrange #includes in Lars' approved fashion.
3330 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3331 forward declare class Timeout in the header file.
3333 * XFormsView.C: changes due to the above.
3335 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3338 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3339 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3341 2002-02-18 José Matos <jamatos@fep.up.pt>
3343 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3346 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3348 * a lot of small ws changes
3349 * add a lot of using std::XXX
3350 * use std construcs some places where approp.
3351 * use some exisint stuff from lyxfunctional where approp.
3352 * Make file changes to use partial linking (lets test this now...)
3354 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3358 remove #include "support/syscontr.h" as it's redundant. Always has been.
3366 change Systemcalls::System to Systemcalls::Wait and
3367 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3368 No change of functionality, just reflects the stripped down Systemcalls
3371 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3373 * debug.[Ch]: add a GRAPHICS type to the enum.
3375 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3377 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3379 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3382 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3384 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3385 match the changes below.
3387 * text2.C (toggleInset): if there is not editable inset at cursor
3388 position, try to see if cursor is _inside_ a collapsable inset
3391 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3393 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3394 document menu has a nice checkbox
3396 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3398 * lyxlength.C (asLatexString): change PW to output as percent of
3401 * lengthcommon.C: change '%' to 't%'
3403 * lyxfunc.C (dispatch): a few comments from Martin
3405 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3409 * BufferView_pimpl.h:
3410 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3413 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3415 * vspace.C (inPixels): fix compiler warning
3417 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3419 * lyxfunc.C (getStatus): fix status message for disabled commands.
3421 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3423 * BufferView_pimpl.C: fix crash on close buffer
3424 during selection (#227)
3426 2002-01-27 Herbert Voss <voss@lyx.org>
3428 * buffer.C: link old Figure to new graphic inset
3430 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3432 * FontLoader.C (getFontinfo): Change the latex font names in order
3433 to match the names of type1inst.
3435 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3437 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3439 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3442 (remove_files_with_extension): ditto
3443 (remove_file): ditto
3446 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3447 document is smaller than the work area height. Do not initialize
3448 static variables to 0.
3450 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3452 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3454 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3455 LFUN_LAYOUT_PARAGRAPHS.
3457 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3458 tabular. It is possible to provide a possible cell, which will
3459 typically be the actcell from the corresponding insettabular
3461 * lyxfunc.C (getStatus): small cleanup; disable
3462 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3465 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3467 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3469 * paragraph.C (startTeXParParams):
3470 (endTeXParParams): new methods. The LaTeX code to
3471 start/end paragraph formatting
3472 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3473 empty (fixes bug #200)
3475 * vspace.C (inPixels): adapt to the change below
3476 (inPixels): [later] more cleanups (remove unused variables)
3478 * lyxlength.C (inPixels): change to use a width and a height as
3481 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3483 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3484 Replaced with \paperwidth
3486 * DepTable.C (insert): add std:: qualifier
3488 2002-01-18 Allan Rae <rae@lyx.org>
3490 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3493 * text.C (drawInset): Turned out I didn't know enough about how
3494 rebreaking worked. This fixes most of the redraw problems. I see
3495 an occasional cursor trail when a line is broken now and the cursor
3496 placement can seem out by a few pixels also after a rebreak.
3498 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3500 * buffer.C (parseSingleLyXformat2Token): update because minipage
3501 width is now a LyXLength
3503 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3505 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3508 2002-01-17 Juergen Vigna <jug@sad.it>
3510 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3512 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3513 is set correctly and the inset is updated correctly.
3515 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3517 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3518 the beginning of the loop.
3520 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3522 * lyxrc.C: improve help for use_scalable_fonts
3524 2002-01-17 Allan Rae <rae@lyx.org>
3526 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3528 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3530 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3531 make sure to set their inset_owner to the right value (bug #171)
3533 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3536 * DepTable.C: Implement mtime checking to reduce time spent doing
3539 2002-01-16 Juergen Vigna <jug@sad.it>
3541 * tabular.C (GetAdditionalHeight): one of error fixed.
3543 * lyxrc.C (output): small fix in writing use_pspell.
3545 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3547 * sp_base.h: #include LString.h
3549 2002-01-16 Allan Rae <rae@lyx.org>
3551 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3552 Can someone check this please?
3554 * text.C (drawInset): It was possible that p.row would be removed by
3555 breakAgainOneRow upsetting a few other settings. There may be another
3556 small tweak possible by setting need_break_row = 0 when p.row has been
3557 removed but I don't know enough about the logic here.
3559 2002-01-15 Allan Rae <rae@lyx.org>
3561 * text.C (insertChar): removed conditional truism.
3563 * BufferView2.C (removeAutoInsets): More tweaks.
3564 cur_par_prev could be a stray pointer. Check for trailing empty line
3565 in case last line was cur_par and only had an error inset on it.
3567 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3569 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3572 * vc-backend.C (most methods):
3573 * exporter.C (Export):
3574 * converter.C (convert):
3576 * LyXSendto.C (SendtoApplyCB):
3577 * lyxfunc.C (dispatch):
3581 * lyx_cb.C (AutoSave):
3583 * BufferView_pimpl.C (MenuInsertLyXFile):
3584 * buffer.C (runChktex): use Buffer::filePath().
3586 * buffer.h: rename filename to filename_; rename filepath to
3587 filepath_ and make it private
3588 (filePath): new method
3590 * buffer.C (writeFile): use fileName()
3593 * lyx_main.C (init): fix starting of LyX when the binary is a
3594 link from so,ewhere else.
3596 * minibuffer.C: include <cctype> for isprint
3598 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3600 * buffer.C (parseSingleLyXformat2Token): changes associated with the
3601 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3602 name clash with InsetCollapsable's width function.
3604 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3606 * lastfiles.C: include <iterator>
3608 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3610 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3613 * buffer.C (makeLaTeXFile): ditto.
3614 Also make loop operation more transparent.
3616 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3618 * ToolbarDefaults.C: remove trailing comma closing namespace.
3620 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3622 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3625 * trans.C (Load): comment out unused variable, allowed.
3627 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3629 * minibuffer.[Ch] (append_char): new method to recieve input from the
3630 drop-down completion browser. If a key was pressed, then recieve this
3631 char and append it to the existing string.
3632 (peek_event): modify the positioning data passed to the completion
3633 browser so that it can be placed above the minibuffer rather than below.
3634 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3636 * LyXAction.C (init): alloe error-next for readonly documents.
3638 * BufferView2.C (ChangeRefsIfUnique): use standard version of
3641 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3643 * bufferlist.C (readFile): create the buffer _after_ checking that
3646 * lyxfunc.C (verboseDispatch): fix handling of arguments
3648 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3650 * lyxrc.C: use string::erase() instead of initializing to "".
3653 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3655 * BufferView_pimpl.h:
3656 * BufferView_pimpl.C:
3659 * text2.C: tell X when we have made a selection for copying
3661 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3663 * BufferView_pimpl.C (MenuInsertLyXFile):
3664 * lyxfunc.C (menuNew):
3666 (doImport): add shortcuts to directory buttons
3668 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3671 * lyxfunc.C (setStatusMessage):
3672 (getStatusMessage): new methods
3673 (getStatus):use setStatusMessage instead of setErrorMessage
3674 (dispatch): when function is disabled, set error message here
3675 [instead of in getStatus previously]
3677 * BufferView_pimpl.C (workAreaButtonRelease): update
3678 toolbar/menubar here too.
3680 2002-01-13 Allan Rae <rae@lyx.org>
3682 * BufferView2.C (removeAutoInsets): finished off earlier fix.
3683 Now seems indestructible. Remaining task is to audit all other
3684 code affected by deleteEmptyParagraphMechanism. One small quirk
3685 left is that an empty document with an error in the preamble can
3686 be made to report an error but no error box appears. I don't know
3688 (removeAutoInsets): Improved comments.
3690 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
3693 * Thesaurus.C: update for Aiksaurus 0.14
3695 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3697 * text2.C (firstParagraph): removed member function, all uses
3698 replaces with ownerParagraph
3699 (redoParagraphs): here
3701 (toggleAppendix): here
3702 * BufferView2.C (insertErrors): here
3703 (setCursorFromRow): here
3705 2002-01-13 Allan Rae <rae@lyx.org>
3707 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
3708 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
3709 There is still a way to segfault this although you may have to do this
3710 multiple times: Have an InsetERT with an unknown command in it.
3711 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
3712 <down-arrow>, <Enter> again, View->DVI, BANG!
3714 * text2.C (setCursor):
3715 (deleteEmptyParagraphMechanism):
3716 * lyxtext.h (setCursor):
3717 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
3718 Making use of the return value may help fix other bugs.
3720 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3722 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
3724 * LyXView.C (updateMenubar): call MenuBar::update here
3725 (updateToolbar): but not here
3726 (showState): do not update toolbar/menubar
3728 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
3729 should need to care about that.
3731 * lyxfunc.C (verboseDispatch): simplify a bit
3732 (getStatus): have a version which takes a pseudoaction, and
3733 another which requires a (kb_action,string).
3735 * LyXAction.C (retrieveActionArg): make it work also when action
3736 is not a pseudo-action.
3737 (getActionName): simplify a bit
3740 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3742 * lyxfunc.C (verboseDispatch): new families of methods with
3743 several ways to specify a command and a bool to indicate whether
3744 the command name and shortcut should be displayed in minibuffer
3745 (eventually, we could extend that to a finer bitmask like
3746 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
3747 (dispatch): the pristine dispatch command which just, well,
3748 dispatchs! Note it still sets its result to minibuffer; I'm not
3751 * lyxfunc.h: remove setHintMessage
3753 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3755 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3757 * BufferView_pimpl.C (specialChar): delete new inset if we have
3758 not been able to insert it.
3760 * kbmap.C: revert to using int instead of kb_action, since all we
3761 are dealing with is pseudo-actions.
3763 * LyXAction.C (searchActionArg): change to return int instead of
3764 kb_action, since the result is a pseudoaction.
3766 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
3768 * buffer.C (insertErtContents): Fix (partially) the font bug.
3770 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3772 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3773 as the other one is broken on my machine!
3775 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
3778 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3780 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
3782 * lyxrc.[Ch]: change names and descriptions of popup font variables to
3783 reflect their actual use. Provide compatibility code for older lyxrc
3786 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3788 change names of popup font variables in line with the changes to lyxrc.C
3790 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3792 * buffer.C (asciiParagraph): avoid outputing a word twice after
3795 * lyxrc.C (getDescription): document that document_path and
3796 template_path can be empty.
3798 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3800 * LaTeXFeatures.C (getMacros):
3801 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3803 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3805 * LaTeXFeatures.C (useFloat): require "float" here instead of in
3807 (getPackages): rename feature "floats" to "float". Use an array to
3808 iterate over 'simple' features (i.e. just a \usepackage). Add
3809 handling of "amsmath" (renamed from "amsstyle").
3811 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
3813 * LaTeXFeatures.C (require): Prevent duplicate entries in the
3816 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
3818 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3819 FuncStaus::FuncStatus & FuncStaus::some_method().
3821 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3823 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3824 of the func_satus stuff. Edited and massaged in various ways by
3827 * lyxfunc.C (getStatus): use FuncStatus
3829 2002-01-08 Juergen Vigna <jug@sad.it>
3831 * text.C (nextBreakPoint): use function Inset::isChar().
3833 * paragraph.C (TeXOnePar): use function
3834 Inset::forceDefaultParagraphs.
3836 * buffer.C (latexParagraphs): use function
3837 Inset::forceDefaultParagraphs.
3839 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3841 * lyx_gui.C (init): set the style of the menu popups to
3842 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3844 2002-01-07 Juergen Vigna <jug@sad.it>
3846 * text.C (setHeightOfRow): small fix
3847 (prepareToPrint): don't look at alignment if we don't have the place
3850 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3852 * box.C: New file. Move the Box methods and functions out of box.h,
3853 following Lars' suggestion.
3855 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3857 * box.h: #include "support/LOstream.h", needed for inlined function.
3860 * lyxtextclasslist.C: added some using std declarations.
3862 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
3864 * box.h: make signed dimensions to allow insets wider than
3865 the screen (bug #162)
3867 * BufferView_pimpl.C: add some insetHit debug
3869 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3871 * vc-backend.C: add FIXME
3873 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3875 * lyxfunc.C (getStatus): enable code for showing math font status
3878 2002-01-07 Juergen Vigna <jug@sad.it>
3880 * text.C (nextBreakPoint): removed debug output not needed anymore.
3882 2002-01-06 Juergen Vigna <jug@sad.it>
3884 * text.C (nextBreakPoint): fixed up this function we had this bug
3885 since ever but now hopefully we break row better.
3886 (insertChar): we have to check if an inset is the next char as it
3887 could now happen that a large inset is causing a break.
3889 2002-01-05 Juergen Vigna <jug@sad.it>
3891 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
3892 if it doesn't like to be drawed.
3894 2002-01-04 Juergen Vigna <jug@sad.it>
3896 * BufferView2.C (lockInset): forgot to set a cursor.
3898 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
3900 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
3905 * form_maths_panel.C:
3906 * form_maths_panel.h:
3907 * form_maths_panel.fd: implemented sub- and super- buttons in math
3910 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
3911 (or ^ space) to be used as in TeX (req'd by André).
3913 * lyxfunc.C: Allow ^ and _ again to be used both as
3914 super/subscript (mathed) and as themselves (in text).
3916 2002-01-03 Allan Rae <rae@lyx.org>
3918 * LyXView.C (updateWindowTitle): Setup a short icon title of either
3919 "LyX" or the filename of the current buffer if it has one. This is a
3920 modified form of John Levon's patch.
3922 * XFormsView.C (setWindowTitle): also set icon title.
3924 * LyXView.h (setWindowTitle): signature changed.
3925 * XFormsView.h (setWindowTitle): ditto.
3927 2002-01-02 Juergen Vigna <jug@sad.it>
3929 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
3931 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3933 * screen.C (topCursorVisible): introduce a temp var for
3934 text->cursor.row(), handle the case where this row is null. (kindo
3937 * text2.C (setCursor): add a couple of asserts.
3939 * paragraph.h (inset_iterator): add -> operator
3941 * paragraph.[Ch] (autoDeleteInsets): remove member function
3943 * BufferView2.C (removeAutoInsets): rewrite to handle the old
3944 cursor pos correctly and handle inset deletion by itself.
3945 (insertErrors): move iterator declaration out of for expression
3947 * lyxtextclass.C: add <algorithm>
3949 * Makefile.am: added the new files to sources, removed layout.C
3951 * layout.C: removed file
3953 * layout.h: remove LYX_DUMMY_LAYOUT
3955 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
3959 * lyxtextclass.[Ch]:
3960 * lyxtextclasslist.[Ch]: new files
3962 * include order changes to a lot of files, also changes because of
3965 2001-12-27 Juergen Vigna <jug@sad.it>
3967 * buffer.C (asciiParagraph): more fixes.
3969 * tabular.C (ascii): make ascii export support export of only the
3970 data separated by a column-delimiter.
3971 (ascii): better support for ascii export.
3973 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
3975 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3977 * tabular_funcs.C: use a "using std::getline" instead of the
3978 previous fix from Angus (necessary for cxx + lyxstring)
3980 2001-12-24 Juergen Vigna <jug@sad.it>
3982 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
3984 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
3985 problems. First check a minipage also if we have some ert-contents
3986 (not only on par->size(), second set the right depth of the paragraph
3987 on the relink to the root-paragraph-list!
3989 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
3990 which then did not anymore update the main paragraphs on undo/redo!
3992 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3994 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
3995 code. Support all font-changing funcs (even those which are not in
3996 menu currently). Support for reporting font settings in
3997 mathed (disabled until Andre provides a function on mathed's side).
3999 * func_status.h (toggle): small helper function to set toggle
4002 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4004 * tabular_funcs.C: getline -> std::getline
4006 2001-12-21 Juergen Vigna <jug@sad.it>
4008 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4009 accessed and could be 0 (I couldn't generate this but it seems
4012 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4014 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4015 * tabular_funcs.h: here and include iosfwd
4017 2001-12-20 Juergen Vigna <jug@sad.it>
4019 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4020 inside inset but undo_par was.
4022 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4024 * Thesaurus.C: always include <config.h> in sources.
4028 * box.h: do not include <config.h> in header files
4030 * text.C (paintLastRow): remove unused variable
4032 * text.C (transformChar):
4034 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4037 * font.C (width): rewrite to use uppercase() instead of
4040 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4042 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4044 * lyxfind.C: clean up of find failure position change
4046 2001-12-20 Juergen Vigna <jug@sad.it>
4048 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4050 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4051 (TeXRow): added to LaTeX a single tabular row.
4052 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4053 (Latex): simplified and finally good LT-h/f support.
4054 (various_functions): just small adaptions for LT-h/f support.
4056 * tabular_funcs.[hC]: added and moved here all not classfunctions
4059 2001-12-19 Juergen Vigna <jug@sad.it>
4061 * tabular.[Ch]: better support for longtabular options (not finished
4064 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4066 * text.C (paintLastRow): use the label font instead of the font of
4067 the last character to compute the size of *_BOX. This makes more
4068 sense and avoids a crash with empty paragraphs.
4069 Use Painter::rectangle to draw EMPTY_BOX.
4071 2001-12-19 Juergen Vigna <jug@sad.it>
4073 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4074 the paragraphs if the replaced paragraph is not the first one!
4075 Tried to delete not used paragraphs but does not work yet so for
4076 now it's inside #ifdef's and by default off!
4078 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4080 * MenuBackend.C: include "lyx_main.h" instead of declaring
4081 lastfiles (actually was declared as LastFiles* instead of a
4084 2001-12-17 Juergen Vigna <jug@sad.it>
4086 * tabular.C (AppendColumn): applied John's fix
4088 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4092 * BufferView_pimpl.h:
4093 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4096 * box.h: new start of class for above
4098 * lyxfunc.C: ignore space-only minibuffer dispatches.
4099 Show the command name when it doesn't exist
4101 * minibuffer.C: don't add empty lines to the history
4103 * minibuffer.C: add a space on dropdown completion
4105 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4107 * text.C: fix line above/below drawing in insets
4109 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4111 * lyxlength.C (LyXLength): Initialize private variables.
4113 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4115 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4116 when inserting error insets.
4118 2001-12-13 Juergen Vigna <jug@sad.it>
4120 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4121 actually sometimes the before-paragraph.
4122 (setUndo): don't clear the redostack if we're not actually undoing!
4124 2001-12-06 Juergen Vigna <jug@sad.it>
4126 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4127 and fixed redoing of main paragraph, so we can use it now ;)
4129 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4131 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4133 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4136 2001-12-13 André Pönitz <poenitz@gmx.net>
4139 * undo_func.C: minor cleanup
4141 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4143 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4144 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4145 font in urw-fonts package which is marked as -urw-fontspecific and
4146 does not work (incidentally, changing the encoding in the
4147 fonts.dir of this package to -adobe-fontspecific fixes the
4150 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4151 is a crash when undoing first paragraph (Juergen, please take a
4152 look). THis does not mean the undo fix is wrong, just that it
4155 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4156 the (Paragraph*) version when needed instead of duplicating the
4159 * text.C (workWidth): use Inset::parOwner to find out where the
4160 inset has been inserted. This is a huge performance gain for large
4161 documents with lots of insets. If Inset::parOwner is not set, fall
4162 back on the brute force method
4164 * paragraph_pimpl.C (insertInset):
4165 * paragraph.C (Paragraph):
4166 (cutIntoMinibuffer): set parOwner of insets when
4167 inserting/removing them
4169 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4171 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4177 * mathed/formulabase.C:
4178 * mathed/math_cursor.[Ch]:
4179 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4182 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4184 * lyxlength.[Ch] (operator!=): new function
4186 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4188 * text.C (workWidth): use Inset::parOwner to find out where the
4189 inset has been inserted. This is a huge performance gain for large
4190 documents with lots of insets. If Inset::parOwner is not set, fall
4191 back on the brute force method
4193 * paragraph_pimpl.C (insertInset):
4194 * paragraph.C (Paragraph):
4195 (cutIntoMinibuffer): set parOwner of insets when
4196 inserting/removing them
4198 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4200 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4202 * tabular-old.C (getTokenValue):
4203 * tabular.C (getTokenValue):
4204 (write_attribute): new versions for LyXLength
4205 (everywhere): adjust the use of widths
4207 * tabular.h: change the type of widths from string to LyXLength
4209 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4211 * paragraph.C: fixed missing line number count when exporting
4212 Environments to LaTeX file
4214 * buffer.C: added informational message for checking line numbers.
4216 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4218 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4219 paragraph, do the 'double space' part, but not the 'empty
4222 * text.C (workWidth): small optimization
4223 (getLengthMarkerHeight): use minimal size for negative lengths.
4225 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4227 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4229 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4231 2001-12-11 André Pönitz <poenitz@gmx.net>
4234 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4236 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4238 * text2.C: keep selection on a setFont()
4240 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4242 * lyx_cb.C: another bv->text misuse, from insert label
4244 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4247 * kbsequence.C: re-instate nmodifier mask
4249 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4251 * lyx_main.h: make lyxGUI private.
4253 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4255 * lyxfind.C: place the cursor correctly on failed search
4257 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4259 * text.C (getLengthMarkerHeight): for small heights, the arrows
4260 are not always on top/bottom of the text
4261 (drawLengthMarker): smaller arrows; take the left margin in
4262 account; draw also vfills.
4264 (paintLastRow): remove special code for vfill and standard spaces,
4265 since everything is handled in drawLengthMarker now.
4267 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4269 * buffer.C (insertErtContents): try to handle font and language
4270 interaction a bit better.g
4272 * ColorHandler.C (updateColor): change the hash to cover the whole
4273 LColor enum, ws cleanup
4274 (getGCLinepars): ditto
4275 (getGCLinepars): only lookup in the linecache once.
4277 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4279 * iterators.C (operator++): Make the iterator more robust
4281 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4283 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4285 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4288 * text.C: better added space drawing
4290 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4293 * BufferView2.C: fix layout combo update on inset unlock
4295 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4297 * Makefile.am: don't compile unused files
4299 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4303 * LyXAction.C: remove old LFUN_LAYOUTNO
4305 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4307 * paragraph_pimpl.h:
4308 * paragraph_pimpl.C: isTextAt() doesn't need font param
4310 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4313 * lyxlex.C: little cleanup
4315 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4317 * BufferView_pimpl.C: fix insertAscii for insets
4319 2001-12-05 Juergen Vigna <jug@sad.it>
4321 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4322 set the right font on the "multi" paragraph paste!
4324 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4330 * lyxlength.C: remove out-commented code.
4346 * vc-backend.C: change "while(" to "while ("
4348 * lyxlength.[Ch]: add zero function to check if length is zero or
4350 * lyxgluelength.C: use it
4352 2001-12-05 Allan Rae <rae@lyx.org>
4354 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4355 Works for 2.95.3, from what I understand of Garst's reports this should
4356 work for other g++ versions. We're screwed if the abs(int) definition
4357 changed between bugfix releases of gcc.
4359 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4361 * text.C: fix chapter label offset !
4363 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4366 * text.C: fix hfill at end of line, clean up
4368 2001-12-04 Juergen Vigna <jug@sad.it>
4370 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4371 that we force an update of the inset and it's owners if neccessary.
4373 2001-12-03 Juergen Vigna <jug@sad.it>
4375 * text.C (rowLast): simplified code
4377 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4379 * lyxfunc.C: fix show options on timeout
4381 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4383 * screen.C (topCursorVisible): scroll half a page when the cursor
4384 reached top of bottom of screen
4386 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4388 * minibuffer.C: deactivate on loss of focus
4390 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4392 * vspace.[Ch] (operator!=): add operator.
4394 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4396 * BufferView_pimpl.C: refuse to open an inset when
4397 there's a selection.
4399 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4401 * BufferView_pimpl.C: allow to click on RHS of full row insets
4403 2001-11-30 Juergen Vigna <jug@sad.it>
4405 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4406 insets for undo reasons.
4408 2001-11-28 André Pönitz <poenitz@gmx.net>
4410 * vspace.[Ch]: cosmetical changes
4412 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4422 * kbsequence.C: part re-write of old kb code
4425 * WorkArea.C: remove Lgb_bug_find_hack
4427 2001-11-30 José Matos <jamatos@fep.up.pt>
4429 * buffer.C (makeDocBookFile): add a comment to point a hack.
4430 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4431 Fixed a double write of labels.
4433 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4436 * LaTeX.h Fixed bug in LaTeX class where it would not
4437 re-run latex if no depfiles were changed, but the .dvi was removed.
4439 2001-11-28 André Pönitz <poenitz@gmx.net>
4441 * all the files from the change on 2001/11/26:
4442 use lyx::layout_type instead of LyXTextClass::size_type
4443 use lyx::textclass_type instead of LyXTextClassList::size_type
4445 2001-11-29 Juergen Vigna <jug@sad.it>
4447 * text.C: added support for paragraph::isFreeSpacing()
4449 * buffer.C: same as above
4451 * paragraph.h: inserted isFreeSpacing() function to enable
4452 FreeSpacing inside InsetERT.
4454 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4455 of the paragraph's in the cut/copy buffer to 0!
4457 * text2.C (removeRow): remove the assert as it can!
4459 * lyxtext.h: added helper function firstRow returning firstrow and
4460 made firstrow private again.
4462 * BufferView2.C (lockInset): don't relock if we're already locked!
4464 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4466 (removeRow): added Assert::(firstrow)
4468 * debug.C: forgot to add INSETTEXT here.
4470 2001-11-28 Juergen Vigna <jug@sad.it>
4472 * sp_spell.C (initialize): changed error text to more general
4473 spellchecker command use (not only ispell!)
4475 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4477 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4479 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4481 * vspace.C: initialise lyxgluelength on failure
4483 2001-11-28 Allan Rae <rae@lyx.org>
4485 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4486 declaration & definition that looks like a function declaration.
4488 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4490 * BufferView2.C (copy):
4491 (copyEnvironment): do not clear the selection when doing a copy.
4493 * text.C (paintFirstRow): compilation fix
4495 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4497 * tabular.C (Latex): correct line count when writing latex.
4499 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4501 * paragraph_pimpl.h:
4502 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4505 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4509 * LColor.C: change vfillline->added_space
4511 * text.C: add markers and text for added space
4513 * vspace.C: fix comment
4515 2001-11-28 André Pönitz <poenitz@gmx.net>
4517 * paragraph.C: whitespace changes
4518 * all the other files from the change on 2001/11/26:
4519 change *::pos_type into lyx::pos_type
4521 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4523 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4524 language of the document when inserting error insets.
4526 2001-11-26 André Pönitz <poenitz@gmx.net>
4528 * BufferView_pimpl.[Ch]:
4536 * paragraph_pimpl.[Ch]:
4539 * text2.C: reduce header dependencies, introduce type for positions
4541 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4543 * <various>: change to use Alert.h
4545 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4547 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4548 when encountering an unknown token.
4549 (readLyXformat2): Show an error message if there were unknown tokens.
4551 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4554 * BufferView_pimpl.C:
4558 * text2.C: use par->isInset()
4560 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4562 * paragraph_pimpl.h:
4563 * paragraph_pimpl.C: cleanup
4565 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4567 * text2.C (removeRow):
4568 * text.C (setHeightOfRow): remove useless (and costly) call to
4571 2001-11-20 Allan Rae <rae@lyx.org>
4573 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4574 Now need Inset*::checkInsertChar() to return true for appropriate
4575 cases so that the characters in the minibuffer will actually be
4578 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4580 * text.C: change the order of the includes.
4581 (workWidth): initialize it at once.
4582 (workWidth): make maxw unsigned
4583 (setHeightOfRow): remove unused variable (inset)
4584 (selectSelectedWord): remove unused variable (inset)
4585 (paintRowText): fix drawing of hfill characters, and clean up a bit.
4587 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4589 * lyxserver.C (emergencyCleanup): do not try to close pipes if
4590 server is not running.
4592 (closeConnection): add debug info when server is disabled.
4594 * ColorHandler.C (getGCForeground): send debug message to GUI
4597 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4599 * kbmap.C (bind): modify because return conventions of
4600 kb_sequence::parse have changed.
4602 * kbsequence.C (parse): only ignore spaces and not any stupid
4603 control character. This avoids tests like s[i] <= ' ', which are
4604 guaranteed to fail with 8bit characters and signed chars.
4605 Change return code to string::npos when there have been no error
4606 (0 was a bad idea when error is at first character)
4608 2001-11-14 José Matos <jamatos@fep.up.pt>
4611 * buffer.C (simpleDocBookOnePar): removed unused argument.
4613 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4615 * text.C (selectNextWordToSpellcheck): do not test explicitely for
4616 insets which are part of a word. Paragraph::isLetter takes care of
4617 that now. Use Paragraph::isInset to identify insets.
4618 (selectSelectedWord): do not test for hyphenation break.
4620 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4621 that protected spaces are considered as spaces.
4623 * paragraph.C (isLetter): cleanup the code for ispell extras; use
4626 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
4629 * lyxserver.C: fix it. and small cleanup.
4631 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4633 * BufferView_pimpl.C: use inline helpers
4636 * LaTeXFeatures.C: fix typos
4639 * Spacing.C: move spacing_string into class
4641 * ToolbarDefaults.C: move stuff into namespace anon
4643 * layout.h: update enum
4645 * lyxfunc.C: use better debug
4647 * minibuffer.h: fix typo
4651 * WorkArea.C: add and use Debug::WORKAREA
4655 * text2.C: code re-organisation, inline helpers
4657 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
4659 * Layout.C: replaced a few cases of std::vector.size() == 0 with
4660 std::vector.empty().
4662 2001-11-09 Allan Rae <rae@lyx.org>
4664 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4665 '\n's after tables. Tabular and ERT inset work now makes this no
4668 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4671 * minibuffer.C: fix crash, improve drop-down completion
4673 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
4676 * lyxserver.C: invalidate fd's when doing endPipe()
4678 2001-11-08 José Matos <jamatos@fep.up.pt>
4680 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4681 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4684 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4686 2001-11-07 José Matos <jamatos@fep.up.pt>
4689 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
4692 * buffer.C (sgmlOpenTag):
4693 * buffer.C (sgmlCloseTag): removed debug info.
4695 * buffer.h (sgmlOpenTag):
4696 * buffer.h (sgmlCloseTag): made public.
4698 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4700 * buffer.C (saveParamsAsDefaults):
4701 * lyx_cb.C (MenuLayoutSave): remove
4703 * LyXAction.C (init):
4705 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
4707 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4709 * buffer.C (setPaperStuff): removed from here...
4711 * bufferparams.C (setPaperStuff): ... and moved there.
4713 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
4717 * XFormsView.C: add support for drop-down completion
4719 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
4721 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
4724 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4726 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
4729 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4731 * lyx_main.C: change ref to known bugs
4733 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4735 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
4736 to work around older babel problems.
4738 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4740 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
4742 2001-10-24 Juergen Vigna <jug@sad.it>
4744 * tabular-old.C (ReadOld): below variable changes reflected.
4746 * tabular.[Ch]: added ltType struct for longtable header/footer
4747 defines and changed all instances where they are used. Added
4748 future support for double top/bottom rows.
4750 2001-10-24 José Matos <jamatos@fep.up.pt>
4752 * buffer.h (docbookHandleCaption):
4753 * buffer.C (docbookHandleCaption): removed unused function.
4754 (makeDocBookFile): moved docbook supported version to v4.1.
4756 2001-10-24 José Matos <jamatos@fep.up.pt>
4759 * tabular.C (docbookRow): new function to export docbook code of a row.
4760 (DocBook): now honors the longtable flags.
4762 2001-10-23 José Matos <jamatos@fep.up.pt>
4765 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4766 of the lyx defined sgml entities used in a docbook/linuxdoc document.
4768 * buffer.C (makeLinuxDocFile):
4769 (makeDocBookFile): reworked the preamble, more clean, and with
4770 support for lyx defined entities. Changed the document declaration
4771 to be more XML friendly.
4773 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4774 if we need to output XML that should be done with a filter.
4776 2001-10-22 Juergen Vigna <jug@sad.it>
4778 * sp_pspell.h (class PSpell): add alive function needed in the
4779 controller to see if the spellchecker could be started.
4781 2001-10-22 Juergen Vigna <jug@sad.it>
4783 * buffer.C (insertStringAsLines): modify the font for inserting
4784 chars in certain conditions by calling checkInsertChar(font).
4786 2001-10-19 Juergen Vigna <jug@sad.it>
4788 * text.C (workWidth): use getRow instead of wrong algorithm.
4789 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4791 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
4796 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4798 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4800 * text.C (workWidth): do not search for the exact row when
4801 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4802 optimization for big documents.
4804 2001-10-18 Juergen Vigna <jug@sad.it>
4806 * text.C (workWidth): new function with added Inset * parameter.
4808 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4810 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4812 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4813 change return type of getColumnNearX.
4816 * text.C (changeRegionCase): use uppercase/lowercase instead of
4819 (rightMargin): simplify code by factoring out the uses of
4824 (appendParagraph): use Paragraph::size_type
4826 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4828 * vspace.C (asLatexString): add a missing break
4830 2001-10-15 Herbert Voss <voss@perce.de>
4832 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4834 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4836 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4839 2001-10-10 André Pönitz <poenitz@gmx.net>
4841 * lyxfunc.C: removed greek_kb_flag.
4843 2001-10-10 Herbert Voss <voss@perce.de>
4845 * lyx_main.C: delete global string help_lyxdir.
4847 2001-10-09 Herbert Voss <voss@perce.de>
4849 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
4851 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
4853 * lyx_main.C: added global string help_lyxdir.
4855 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
4857 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4859 * lyxrc.C (set_font_norm_type): support iso8859-4
4861 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
4863 * LaTeX.C (deplog): add another regex for MikTeX
4865 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
4867 * lyxrc.C (set_font_norm_type): support iso8859-3
4869 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4871 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
4873 * LaTeXFeatures.C: remove special case of french and index
4875 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
4876 before \begin{document}). This solves several incompatibilities.
4878 2001-10-03 Garst Reese <reese@isn.net>
4880 * lyx_cb.C: change CheckTex error msg.
4882 2001-10-03 José Matos <jamatos@fep.up.pt>
4884 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
4886 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4888 * .cvsignore: update
4890 * lyx_main.C (commandLineVersionInfo): use new style version info.
4892 * buffer.C (writeFile):
4895 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
4897 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
4899 * version.h: update to use stuff in version.C
4901 * version.C.in: new file. Contains version information determined
4902 at compile time. This is a merging of version.h and
4905 2001-10-03 Juergen Vigna <jug@sad.it>
4907 * BufferView_pimpl.C (update): don't change "dirty" status in
4910 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
4912 * WorkArea.C (c-tor): re-position version string slightly.
4914 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
4916 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
4917 revert to previous code.
4919 WorkArea.[Ch]: (show, destroySplash): methods removed.
4921 WorkArea.C: rework code so that it's an amalgam of the codes before and
4922 after the splash screen was moved to WorkArea.
4924 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4927 * vspace.C (inPixels):
4930 * buffer.C (insertStringAsLines):
4931 (asciiParagraph): fix types to be large enough
4933 * lyxlex_pimpl.h: change member status from short to int
4935 * layout.h: fix type of endlabeltype
4938 * kbsequence.C (parse): change return type to string::size_type
4940 * LaTeX.C (updateBibtexDependencies): comment out unneeded
4943 * Bullet.C (bulletSize):
4944 (bulletEntry): do not use short ints as parameters
4946 * BufferView2.C (insertLyXFile): change a char to an int.
4948 * WorkArea.C (WorkArea): remove unneeded floats in computation
4950 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
4952 * buffer.C (asciiParagraph): Treat '\\' as other chars.
4954 * paragraph.C (asString): Do not ignore newline/hfill chars when
4955 copying to the clipboard.
4957 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
4959 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
4960 after a multi-line inset.
4962 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4964 * paragraph.C (validate): Set NeedLyXFootnoteCode
4966 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4968 * lyxfont.C (LyXSizeNames): changed increase-error to increase
4969 and decrease-error to decrease.
4971 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4973 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
4974 it more readable (should be equivalent)
4976 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
4978 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
4980 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4982 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
4983 of a cursor (row, etc.) after a character has been deleted
4984 (deleteEmptyParagraphMechanism): call the method above on _all_
4985 cursors held by the LyXText when a double space has been
4988 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4990 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
4992 (resizeCurrentBuff): remove code to destroy the old splash dialog.
4994 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
4995 background. Use greyOut() and the new show() methods to toggle between
4996 the foreground and background. Add code to remove the splash after
4997 its initial showing.
4999 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5000 (create_forms): no longer call Dialogs::showSplash.
5002 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5004 * .cvsignore: add version_info.h
5006 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5008 * version_info.h.in: new file
5010 * Makefile.am: add version_info.h.in
5012 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5013 version_info.h instead of VERSION_INFO
5015 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5017 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5018 The ERT inset now returns string().
5020 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5022 * lyxtext.h, text.C (selectNextWord): renamed as
5023 selectNextWordToSpellcheck.
5025 * text.C (selectNextWordToSpellcheck): Modified to not select
5026 words inside an ERT inset.
5028 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5030 * lyx_cb.C (MenuLayoutSave): change a bit the question
5032 * sp_base.h: include <sys/types.h>
5034 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5036 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5038 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5040 * several files: fix typos in user-visible strings
5042 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5044 * text2.C (pasteSelection): do not set the selection, since it
5045 will be cleared later. Actually, the intent was to fix the way the
5046 selection was set, but I figured rmoving the code was just as good.
5048 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5050 * FontLoader.C (available): Check if font is available without
5053 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5055 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5057 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5059 * lyxrc.[Ch]: added display_graphics variable and associated code.
5061 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5063 * bufferparams.C (hasClassDefaults): new method. Returns true if
5064 the buffer parameters correspond to known class defaults
5066 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5068 * XFormsView.C (show): set minimum size to the main window.
5070 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5072 * text2.C (copySelection):
5074 * lyxfind.C (LyXReplace):
5075 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5076 LyXText::selectionAsString.
5078 * paragraph.C (asString): add "label" argument to the second form
5080 * text2.C (selectionAsString): add "label" argument and pass it to
5081 Paragraph::asString.
5083 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5085 * lyx_main.C (commandLineHelp): remove version information
5087 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5089 * lyx_main.C: add -version commandline option
5091 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5093 * paragraph.h: make the optional constructor arg required instead.
5094 some modifications to other files because of this.
5096 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5098 * lyxserver.C (C_LyXComm_callback): make it static
5100 * lyx_main.C (error_handler): make it static
5102 * lyx_gui.C (LyX_XErrHandler): make it static
5104 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5106 * WorkArea.C: make the extern "C" methods static.
5108 * Makefile.am (lyx_LDADD): simplify
5110 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5112 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5113 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5115 * LyXAction.C (init):
5116 * lyxfunc.C (dispatch): associated code removal.
5118 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5120 * lyxfont.h (isSymbolFont): shut off warning
5122 * text.C (setHeightOfRow):
5123 (getVisibleRow): fix crash with empty paragraphs which have a
5126 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5128 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5131 2001-09-04 José Matos <jamatos@fep.up.pt>
5134 * tabular.C (docbook): rename docBook method to docbook.
5136 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5138 * Makefile.am: add dependencies to main.o.
5140 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5142 * FontLoader.C (available): Return false if !lyxrc.use_gui
5144 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5146 * FontInfo.C (query):
5147 * converter.C (view):
5148 * importer.C (Import):
5149 * exporter.C (Export): Can not -> cannot.
5151 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5153 * BufferView_pimpl.C: allow to create index inset even if
5156 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5158 * buffer.C (getLists): replace boost::tie code with an explicit pair
5159 as boost::tie can break some compilers.
5161 * iterators.h: Added a std:: declaration to the return type of
5164 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5166 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5169 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5171 * iterators.[Ch]: New files. Provide paragraph iterators.
5173 * buffer.C (changeLanguage): Use paragraph iterators.
5174 (isMultiLingual): ditto
5176 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5178 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5180 * FontLoader.C: Support for cmr font.
5182 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5184 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5185 (available): New method.
5187 * FontInfo.C (getFontname): Use scalable fonts even when
5188 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5191 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5193 * converter.C (Formats::view): reverted! Incorrect fix.
5195 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5197 * converter.C (Formats::view): only output the -paper option
5198 if the dvi viewer is xdvi, thereby fixing bug #233429.
5200 2001-08-23 Herbert Voss <voss@perce>
5202 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5204 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5206 * Spacing.h (Spacing): Set space to Default on in the default
5209 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5211 * vc-backend.h (RCS::versionString): add RCS to version
5212 (CVS::versionString): add CVS to version
5214 * vc-backend.C (scanMaster): do not add CVS to version.
5215 (scanMaster): do not add RCS to version
5217 * lyxvc.C (versionString): new method
5219 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5221 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5223 * Spacing.C (set): initialize fval
5225 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5227 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5230 2001-08-16 Juergen Vigna <jug@sad.it>
5232 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5234 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5236 * BufferView_pimpl.C:
5239 * text2.C: setParagraph takes linespacing now
5241 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5243 * LyxAction.C: add internal LFUN_CITATION_INSERT
5245 * LyXView.C: actually apply fix
5247 * bufferlist.C: fix open non-existent file
5249 * lyxfind.C: fix indentation
5251 * lyxfunc.C: remove unneeded assert, fix typo
5253 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5255 * MenuBackend.C: use "Floatname List"
5257 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5259 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5260 when converting LaTeX layout to insetERT.
5261 Generate a non-collapsed float when reading old float
5263 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5265 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5268 2001-08-13 Juergen Vigna <jug@sad.it>
5270 * text.C (fill): return 0 instead of 20 as this seems to be the more
5273 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5275 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5278 2001-08-13 Juergen Vigna <jug@sad.it>
5280 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5282 (SearchBackward): comment out the unlocking of the inset_owner this
5283 should not be needed!
5285 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5287 * Many files: Remove inherit_language, and add latex_language
5289 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5292 2001-08-10 Juergen Vigna <jug@sad.it>
5294 * text.C (prepareToPrint): fixed hfill-width in draw!
5296 * BufferView2.C (selectLastWord): save the selection cursor as this
5297 now is cleared in the function LyXText::clearSelection!
5299 2001-08-08 Juergen Vigna <jug@sad.it>
5301 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5302 BACKSPACE type functions.
5304 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5305 is only cutted from the document but not put in the cut-buffer, where
5306 still the old stuff should be.
5308 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5310 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5312 * tabular.C (SetWidthOfCell): fixed special case where the width
5314 (LeftLine): handle '|' in align_special.
5316 (LeftAlreadyDrawed): ditto
5317 (SetWidthOfCell): ditto
5319 2001-08-07 Juergen Vigna <jug@sad.it>
5321 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5323 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5325 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5326 * lyxlex.[hC]: ditto
5328 2001-08-06 Juergen Vigna <jug@sad.it>
5330 * text.C (getVisibleRow): fix up row clearing a bit.
5332 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5334 * minibuffer.C: make sure the X server sees the changes in the input.
5336 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5338 * paragraph.C (getFont): split into...
5339 (getLabelFont): this
5340 (getLayoutFont): and this
5341 * paragraph_pimpl.C (realizeFont): calling this
5343 * text2.C (getFont): split into...
5344 (getLayoutFont): this
5345 (getLabelFont): and this
5346 (realizeFont): all three calling this
5348 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5351 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5353 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5355 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5357 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5358 layouts from the Quote inset insertion.
5360 2001-08-03 Juergen Vigna <jug@sad.it>
5362 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5364 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5365 only if status not is already CHANGED_IN_DRAW (second level).
5367 * text.C (draw): don't set the need_break_row when inside an
5370 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5372 * buffer.C (parseSingleLyXformat2Token): handle more latex
5375 * bufferview_funcs.[hC]: change function names to
5376 begin with small char, adjust other files.
5378 2001-08-02 André Pönitz <poenitz@gmx.net>
5381 BufferView_pimpl.C: remove broken special code for math-greek
5383 2001-08-02 Juergen Vigna <jug@sad.it>
5385 * BufferView_pimpl.C (update): redone this function so that we
5386 update the text again if there was a CHANGE_IN_DRAW.
5388 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5389 (drawFromTo): added a new internal bool which is used by draw() and
5391 (general): some cursor drawing problems fixed.
5393 2001-08-01 Juergen Vigna <jug@sad.it>
5395 * lyxfind.C (LyXFind): fixed
5396 (SearchForward): ditto
5397 (SearchBackward): ditto
5399 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5400 spurius drawing of the cursor in the main area.
5402 * text2.C (status): small fix which could lead to a segfault!
5403 (clearSelection): remove unneeded BufferView param.
5405 2001-08-01 André Pönitz <poenitz@gmx.net>
5407 * lyxfunc.C: small change due to changed mathed interface
5409 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5411 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5413 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5415 * lyxfunc.c: fail gracefully if file doesn't exist
5420 * BufferView_pimpl.C: IsDirWriteable() proto changed
5422 * LyXView.C: fix updateWindowTitle() to store the last title
5424 2001-07-31 Juergen Vigna <jug@sad.it>
5426 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5427 the font (wrong since using of Paragraph::highestFontInRange).
5429 * paragraph.C (highestFontInRange): added a default_size parameter.
5431 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5432 (setHeightOfRow): reformat
5434 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5436 * converter.[hC] + affected files: move to (inital-char)lowercase
5439 * ParagraphParameters.C (ParagraphParameters): remove commented code
5441 * PainterBase.[Ch]: remove commented code
5443 * LaTeXFeatures.h: add "bool floats" for float.sty
5445 * LaTeXFeatures.C (LaTeXFeatures): init floats
5446 (require): handle float
5447 (getPackages): do it with floats
5449 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5451 * BufferView_pimpl.C (Dispatch): improve handling of
5452 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5454 * commandtags.h: #include lyxfont.h here temporarily to avoid
5457 * bufferlist.h: include LString.h here.
5459 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5461 * text2.C (getStringToIndex): new method.
5463 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5465 * *: Reduced header file dependencies all over.
5467 2001-07-30 Baruch Even <baruch@lyx.org>
5469 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5471 2001-07-29 Baruch Even <baruch@lyx.org>
5473 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5475 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5477 * ParameterStruct.h (endif): add a default constructor to make
5478 sure that all variables is initialized.
5480 * ParagraphParameters.C (ParagraphParameters): adjust
5482 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5484 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5485 index; also, check that there is something to index, and that it
5486 does not span over several paragraphs.
5487 (doubleClick): use WHOLE_WORD_STRICT for double click.
5489 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5491 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5494 2001-07-26 Baruch Even <baruch@lyx.org>
5496 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5497 an InsetFig figure, backwards compatible reading of old figure code.
5499 2001-07-27 Juergen Vigna <jug@sad.it>
5501 * text2.C: font.realize function adaption.
5503 * text.C (draw): add a warnings lyxerr text if needed.
5505 * layout.C: font.realize function adaption.
5507 * language.C: add inherit_language and implement it's handlings
5509 * bufferview_funcs.C (StyleReset): remove language parameter from
5510 font creation (should be language_inherit now).
5512 * bufferparams.C (writeFile): handle ignore_language.
5514 * paragraph.C (getFontSettings): the language has to be resolved
5515 otherwise we have problems in LyXFont!
5517 * lyxfont.C (lyxWriteChanges): added document_language parameter
5518 (update): removed unneeded language parameter
5520 * paragraph.C (validate): fixed wrong output of color-package when
5521 using interface colors for certain fonts in certain environments,
5522 which should not seen as that on the final output.
5524 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5526 * BufferView_pimpl.C:
5531 * LyXAction.C: add thesaurus support
5534 * lyxfind.C: add "once" parameter, for thesaurus, to not
5535 move to the next match
5537 2001-07-26 Juergen Vigna <jug@sad.it>
5539 * lyxfont.C (realize): honor ignore_language too!
5542 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5544 * text.C (draw): one place more for ignore_language to not draw
5547 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5549 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5551 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5553 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5554 the minipage conversion problem.
5556 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5558 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5561 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5563 * BufferView.h: don't forward declare WorkArea
5565 * BufferView.C: don't include WorkArea.h
5567 2001-07-25 André Pönitz <poenitz@gmx.net>
5571 * lyxfunc.C: new LFUN 'math-space'
5573 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5575 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5577 * text2.C (toggleInset): call open/close
5579 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5581 * lyxfunc.C (dispatch): add debug for the disabled case
5583 * font.C (buttonText): make similar to rectText
5585 * buffer.C (readInset): comment out parsing of insetlist and
5588 * PainterBase.C (rectText): small correction
5590 * BufferView_pimpl.C: comment out insettheorem and insetlist
5591 * LyXAction.C: ditto
5592 * commandtags.h: ditto
5594 2001-07-24 Juergen Vigna <jug@sad.it>
5596 * text.C (draw): honor the ignore_language.
5598 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5600 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5602 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5605 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5607 * lyxtext.h: remove unused (and unimplemented) methods
5609 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5611 * text.C (getVisibleRow): honor background color
5614 * Painter.h: remove default color argument for fillRectangle
5616 * text.C (backgroundColor): new method
5618 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5620 * text.C (getVisibleRow): adjust
5622 * font.[Ch] (rectText): new method, metrics
5623 (buttonText): new method, metrics
5625 * PainterBase.[hC]: make rectText and buttonText always draw and take
5628 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5630 * ToolbarDefaults.C (read):
5631 * MenuBackend.C (read): allow escaping in all strings
5633 * BufferView_pimpl.C (insertAndEditInset): new method.
5634 (Dispatch): use insertAndEditInset whenever appropriate.
5636 * BufferView_pimpl.C (insertNote): removed
5638 * BufferView_pimpl.C (smartQuote): new method, moved from
5639 BufferView; if an insetquote cannot be inserted, insert a '"'
5642 * BufferView2.C: remove insertCorrectQuote();
5644 * lyxfunc.C (getStatus): Add support for all remaingin
5647 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5649 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5650 command (necessary to pass " as parameter of self-insert.
5652 * text.C (selectWordWhenUnderCursor):
5653 (selectWord): add word_location parameter
5654 (selectWordWhenUnderCursor): same + remove special code for word
5656 (selectNextWord): use kind() to guess type of insetspecialchar,
5659 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5660 (insertErtContents): create ert insets as collapsed.
5661 (readInset): better compatibility code for Info inset.
5663 2001-07-20 Juergen Vigna <jug@sad.it>
5665 * lyxfunc.C (dispatch): use always LyXFind now!
5667 * text2.C (init): add a reinit flag so that the LyXText can be
5668 reinited instead of deleted and reallocated (used in InsetText).
5670 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5676 2001-07-18 Juergen Vigna <jug@sad.it>
5678 * text.C (selectNextWord): handle insets inside inset by calling
5679 always the bv->text functions so that we can go up the_locking_inset!
5681 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5682 in strange locations when inside an inset!
5684 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5685 handling to include insets.
5687 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
5689 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5691 * LyXAction.C (init):
5693 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
5694 LIGATURE_BREAK, since the name is so stupid.
5696 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5698 * buffer.C (readInset): enable reading of new InsetNotes as well as old
5701 * FontLoader.C: remove FORMS_H_LOCATION cruft.
5703 * sp_form.[Ch]: remove.
5705 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
5707 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
5710 * src/buffer.C (readInset): ditto.
5712 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5714 * BufferView_pimpl.C (specialChar): new method. Obsoletes
5715 menuSeparator(), endOfSentenceDot(), ldots() and
5716 hyphenationPoint(), which are therefore removed.
5717 (Dispatch): handle LFUN_HYPHENATION_BREAK.
5719 * LyXAction.C (init):
5720 * commandtags.h: add LFUN_HYPHENATION_BREAK.
5722 * paragraph.C (getWord): removed.
5724 * BufferView_pimpl.C (Dispatch): use last word or selection for
5725 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
5727 * lyx_main.C (queryUserLyXDir): do not ask before creating
5728 user_dir, except if it has been named explicitely.
5730 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5732 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
5733 a document of zero size.
5735 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5737 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
5738 approriately in the c-tor and in require().
5739 (getPackages): output the appropriate LaTeX for natbib support.
5741 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
5742 variables "use_natbib" and "use_numerical_citations" when reading the
5744 (readInset): read the various natbib cite commands.
5745 (validate): white-space change.
5747 * bufferparams.[Ch]: new variables "bool use_natbib" and
5748 "bool use_numerical_citations".
5749 (writeFile): output them in the LyX file.
5751 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5753 * lyxfunc.C (getStatus): add support for all the inset insertion
5756 * text2.C (insertInset):
5757 * paragraph.C (insetAllowed):
5758 * BufferView_pimpl.C (insertInset): update to take in account the
5759 renaming of insertInsetAllowed
5761 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5763 * text2.C (getInset): new method. returns inset at cursor position.
5765 * BufferView_pimpl.C (Dispatch): changes because of this.
5767 * LyXAction.C (init): rename open-stuff to inset-toggle.
5769 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5771 * text2.C (toggleInset): renamed from openStuff; use
5774 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5776 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5778 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5780 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
5782 * buffer.C (readLyXformat2): Add filename to the error dialog
5784 2001-07-18 Juergen Vigna <jug@sad.it>
5786 * tabular.C (GetCellNumber): put an assert here instead of the check!
5788 2001-07-17 Juergen Vigna <jug@sad.it>
5790 * BufferView_pimpl.C (toggleSelection): adapted too.
5792 * text.C (selectNextWord): adapted for use with insets.
5793 (selectSelectedWord): ditto
5795 2001-07-17 Juergen Vigna <jug@sad.it>
5797 * sp_spell.C (PSpell): fix initialitation order.
5799 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5801 * paragraph.C: spacing
5803 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
5805 * sp_spell.C: repair language selection for pspell
5807 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5809 * lyxfunc.h: change more methods to begin with lower char.
5811 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
5813 * buffer.C (parseSingleLyXformat2Token): Generate error insets
5814 for unknown layouts.
5816 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
5818 * buffer.C (readLyXformat2): Generate an error dialog if there are
5821 2001-07-16 Juergen Vigna <jug@sad.it>
5823 * sp_spell.C: always compile ISpell part.
5825 * lyxrc.C: added use_pspell entry and it's handling.
5827 2001-07-13 Juergen Vigna <jug@sad.it>
5829 * sp_spell.C: removed double includes.
5831 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5833 Consistent use of Lsstream.h:
5834 * Lsstream.h: added using std::stringstream for consistencies sake.
5836 * buffer.C: removed using std::stringstream
5838 * lyxfont.C (stateText):
5839 * paragraph.C (asString):
5840 * text.C (selectNextWord, selectSelectedWord):
5841 * text2.C (setCounter):
5842 * vspace.C (asString, asLatexString):
5843 std::ostringstream -> ostringstream.
5845 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5847 * LyXAction.C: add LFUN_HELP_ABOUTLYX
5848 * commandtags.h: add LFUN_HELP_ABOUTLYX
5849 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
5851 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5853 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
5855 * lyx_gui_misc.C: remove spellchecker
5856 * lyxfunc.C: showSpellchecker
5858 * sp_ispell.h: added
5859 * sp_pspell.h: added
5861 * sp_form.[Ch]: removed
5862 * spellchecker.[Ch]: removed
5864 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
5866 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
5868 (simpleTeXSpecialChars): Simply print the input character without
5869 any special translation if pass_thru is set.
5871 * layout.h: Added bool pass_thru to layout class for being able to
5872 implement pass through of a paragraph for Literate Programming.
5874 * layout.C: add LT_PASS_THRU to LayoutTags enum.
5875 * layout.C (LyXLayout): set pass_thru to flase in constructor.
5876 * layout.C (Read): add "passthru" to list of layout tags and add
5877 code to set the pass_thru boolean when it is read.
5879 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5881 * trans_decl.h: remove allowed from KmodInfo
5883 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
5887 * paragraph_pimpl.C (erase): use boost::prior
5889 * Painter.C (text): use data() instead of c_str() when length is
5891 * WorkArea.C (putClipboard): ditto
5892 * font.h (width): ditto
5894 * BufferView2.C: use it-> instead of (*it). for iterators
5896 * paragraph_pimpl.C: ditto
5897 * paragraph.C: ditto
5898 * minibuffer.C: ditto
5903 * converter.C: ditto
5905 * Variables.C: ditto
5906 * TextCache.C: ditto
5907 * MenuBackend.C: ditto
5908 * LyXAction.C: ditto
5910 * FloatList.C: ditto
5912 * ColorHandler.C (LyXColorHandler): ditto
5914 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5916 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
5918 * text2.C (openStuff): reintroduce this method (which had been
5919 nuked in NEW_INSETS frenzy).
5921 * lyxfunc.C (Dispatch): when an action has not been handled, use
5922 its name in the error message, not its number.
5924 * paragraph.C (inInset): change method name to begin with lowercase.
5927 * text2.C: updates because of this.
5929 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5931 * ToolbarDefaults.C (add): add spaces in error message
5933 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5935 * buffer.C (readLyXformat2): initialize the ert comp. variables.
5936 (readLyXformat2): rename return_par to first_par, use lyxlex's
5937 pushToken and remove the manual push handling.
5938 (parseSingleLyXformat2Token): add another ert comp. variable:
5939 in_tabular, rename return_par to first_par. handle newlines better
5941 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5943 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
5945 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5947 * text2.C (getParFromID): removed
5949 * buffer.C (getParFromID): new method moved form lyxtext.
5950 * BufferView2.C (insertErrors): adjust
5951 (setCursorFromRow): adjust
5952 * BufferView_pimpl.C (restorePosition): adjust
5953 * lyxfunc.C (Dispatch): adjust
5954 * undo_funcs.C (textUndo): adjust
5956 (textHandleUndo): adjust
5957 (textHandleUndo): adjust
5959 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5961 * buffer.C: up' the LYX_FORMAT
5963 * lyxfont.h: turn NO_LATEX on as default
5965 * buffer.C (insertErtContents): new methods of tex style compability.
5966 (parseSingleLyXformat2Token): use it several places.
5967 * tabular.C (OldFormatRead): and here
5969 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5971 * text2.C: remove some commented code.
5974 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
5975 * trans.C: changes because of the above.
5977 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
5979 * text2.C (setCounter): Fix counters bug with bibliography layout.
5981 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5983 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
5984 own member functions
5985 (simpleTeXSpecialChars): ditto
5987 2001-07-06 Juergen Vigna <jug@sad.it>
5989 * a lot of files: changed the access to LyXText::status and the
5990 call of undo-functions.
5992 * undo.[Ch]: added a inset_id to the undo informations.
5994 * undo_funcs.[Ch]: added and moved here all undo functions.
5996 * lyxtext.h: give the status enum a weight, made status_ a private
5997 variable and made accessor functions for it, removed the whole bunch
5998 of undo-functions as they are now in their own file, make some
5999 functions publically available. Added function ownerParagraph with
6002 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6003 made InInset() a const function, added getParFromID() function.
6005 * buffer.[Ch]: added const version for inset_iterator functions,
6006 added getInsetFromID() function.
6008 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6009 changed undo functions for new version.
6011 2001-07-05 Juergen Vigna <jug@sad.it>
6013 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6014 unknow mechanism does not call the proper constructor but only this
6015 one also if I request the other!?
6017 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6019 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6021 * text2.C (LyXText): use initialization lists.
6023 * lyxtext.h (Selection): initialize set_ and mark_
6024 (init): remove method
6026 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6028 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6030 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6032 * screen.[Ch]: change method names to begin with lowercase
6034 * BufferView_pimpl.C (updateScrollbar): simplify further and
6035 hopefully make it a bit faster.
6037 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6039 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6040 calling directly xforms functions.
6042 * Painter.C (Painter):
6043 * lyx_cb.C (MenuWrite):
6044 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6047 * lyx_gui.C: remove bogus guiruntime extern declaration.
6049 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6051 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6053 (redoDrawingOfParagraph): ditto
6054 (redoParagraphs): ditto
6055 (cutSelection): don't create a object for CutAndPaste use the
6056 static method directly
6057 (pasteSelection): ditto
6059 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6062 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6064 * modifications to some other files because of this.
6066 * Makefile.am (lyx_SOURCES): add XFormsView
6068 * XFormsView.[Ch]: new files
6070 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6071 the main window. Move the gui dependent stuff to XFormsView
6073 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6075 * tabular.C (GetCellInset): update cur_cell also in the row/col
6076 version of this function.
6078 * lyxfunc.C: no need to include figure_form.h here.
6084 * lyxvc.C: no need to include forms.h here.
6086 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6088 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6090 * lyxfunc.C (Dispatch):
6092 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6093 constructor argument.
6095 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6097 * paragraph.C (Paragraph): dont't clear, and just set layout.
6098 (makeSameLayout): use params's copy contructor.
6100 * ParagraphParameters.[Ch] (makeSame): delete method
6102 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6104 * Variables.[Ch]: fix indentation, rename set to isSet
6106 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6108 * lyxfunc.C (Dispatch): fix typo
6110 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6112 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6115 * bufferlist.C: include assert.h for emergencyWrite().
6117 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6119 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6120 give up at last (bug #425202) !
6122 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6128 * spellchecker.C: strip spellchecker options and bring up
6129 preferences tab instead
6131 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6133 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6134 the istringstream constructor
6136 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6138 * paragraph.C (getLayout): fix return value
6140 * paragraph.h: do not declare getLayout as inline.
6142 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6144 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6146 * lyxcursor.h (operator<): new func
6147 (operator>): new func
6148 (operator>=): new func
6149 (operator<=): new func
6151 * text.C (changeCase): use selection.start and selection.end
6152 (changeRegionCase): require from to be <= to. Require par to be a
6155 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6157 2001-06-27 Juergen Vigna <jug@sad.it>
6159 * text.C (cursorLeftOneWord): changed to return the cursor and added
6160 overlay with BufferView * parameter which calls this one.
6162 (selectWord): use new getWord function.
6163 (changeCase): renamed from changeWordCase as and extended to work
6166 * lyxtext.h: added enum word_location
6168 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6169 changeCase as this operates now also on selections.
6171 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6173 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6175 * many files: send debug output to Debug::INFO instead of
6178 * converter.C (View):
6180 (Move): send debug output to Debug::FILES instead of console.
6182 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6184 * lyxfunc.C (getStatus): use func_status
6186 * func_status.h: new header, describing the results of
6189 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6192 2001-06-25 The LyX Project <jug@sad.it>
6194 * buffer.C (sgmlOpenTag):
6196 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6198 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6200 * text2.C: remove some dead code
6202 * tabular.C (GetCellInset): store the last cell checked (gotten)
6204 * tabular.h: add the helper for the speedup
6206 * lyxtext.h: remove some dead code
6208 2001-06-26 The LyX Project <Asger>
6210 * paragraph.C: Change export to LaTeX of alignment to
6211 \begin{center} and family for better roundtrip work with reLyX.
6213 * Tune the math drawing a bit.
6215 2001-06-25 The LyX Project <Asger>
6217 * LColor.C (LColor): New color for math background. New color
6220 2001-06-25 The LyX Project <jug@sad.it>
6222 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6225 * bufferlist.C (newFile): do not restrict to files ending with
6228 * BufferView_pimpl.C (MenuInsertLyXFile):
6230 2001-06-24 The LyX Project <jug@sad.it>
6232 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6235 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6237 * lyxtext.h: rename most methods to begin with a small char.
6238 Lots of changes because of this.
6240 * paragraph.C (Paragraph): do not call fitToSize
6241 (erase): call Pimpl::erase
6242 (insertChar): call Pimpl::insertChar
6243 (insertInset): call Pipl::insertInset
6244 (breakParagraph): do not call fitToSize
6245 (breakParagraphConservative): do not call fitToSize
6246 (fitToSize): remove method
6248 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6250 2001-06-24 The LyX Project <Asger>
6252 * Fix Qt compilation^2
6254 2001-06-24 The LyX Project <jug@sad.it>
6256 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6257 depthHook(getDepth()-1).
6260 * ParagraphParameters.h:
6261 * ParameterStruct.h: change type of depth to unsigned int ==
6262 depth_type. Many adaptations to other files before of that.
6264 2001-06-24 The LyX Project <Asger>
6266 * Fix Qt compilation.
6268 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6270 * paragraph.h: renamed several methods to begin with small letter.
6271 several changes to many parts of the code because of this.
6273 2001-06-23 The LyX Project <jug@sad.it>
6275 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6276 rewritten to discard all double spaces when KeepEmpty is off
6277 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6278 to only handle newlines but not fiddle with spaces and friends.
6280 * lyxfunc.C (MenuNew): when doing 'new from template', use
6281 template_path as default directory
6283 2001-06-23 The LyX Project <Asger>
6285 * Clean-up of header file includes all over
6286 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6288 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6290 * paragraph.h: renamed from lyxparagraph.h
6292 2001-06-23 Asger <lyx@violet.home.sad.it>
6294 * Buffer.h: Removed Buffer::resize
6295 * BufferList.h: Removed BufferList::resize
6296 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6297 the document lazily when we change the width, or the font settings.
6299 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6301 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6303 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6305 * buffer.h: remove out of date comment
6307 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6310 * screen.C: fix "theoretical" GC leak
6312 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6314 * LaTeX.C (scanAuxFile):
6315 (deplog): remove trailing \r when reading stream (useful under
6318 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6320 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6321 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6322 and BufferView::theLockingInset(Inset*), so should use them and not
6323 access bv_->text->the_locking_inset directly.
6325 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6327 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6330 * tex-defs.h: remove old unused file
6332 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6334 * BufferView_pimpl.C: fix typo, remove minibuffer message
6335 when buffer has loaded
6337 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6339 * lyxfunc.C (Dispatch): use stringstream
6340 (MenuNew): use stringstream
6341 (Open): use stringstream
6343 * importer.C (Import): use stringstream
6345 * bufferview_funcs.C (CurrentState): use stringstream
6347 * LaTeX.C (run): use stringstream
6349 * BufferView_pimpl.C (savePosition): use stringstream
6350 (restorePosition): use stringstream
6351 (MenuInsertLyXFile): use stringstream
6353 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6366 * vspace.C: removed // -*- C++ -*- as first line.
6369 * version.h: added // -*- C++ -*- as first line.
6371 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6373 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6375 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6378 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6380 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6383 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6385 * gettext.C: include LString.h even when --disable-nls is on.
6387 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6389 * converter.h (Get): changed argument type from int to
6390 FormatList::size_type to avoid unnecessary conversion.
6392 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6395 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6397 * gettext.h: include LString.h even when --disable-nls is on.
6399 2001-06-07 Juergen Vigna <jug@sad.it>
6401 * text.C (BreakAgain): subst spaces with tabs.
6403 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6404 (resizeInsetsLyXText): set force on resizeLyXText.
6406 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6408 * gettext.h (gettext_init):
6409 (locale_init): use a real definition instead of a macro
6411 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6413 * Bufferview_pimpl.C:
6415 * LColor.C: further lcolor tidies
6417 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6419 * BufferView_pimpl.C (updateScrollbar): simplify.
6421 * BufferView2.C: don't include insets/insetinfo.h, change
6422 prototype for insertInset and call the Pimpl version. let
6423 updateInset call Pimpl version.
6425 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6426 gotoInset to BufferView::Pimpl
6428 2001-06-01 Juergen Vigna <jug@sad.it>
6430 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6431 inside a LockingInset (is the update needed at all?).
6433 2001-05-31 Juergen Vigna <jug@sad.it>
6435 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6436 here not the old one otherwise how should we compare it afterwards
6439 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6444 * FontInfo.C: bring C functions into global namespace when
6447 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6449 * LString.h: make sure config.h has been loaded before LString.h.
6451 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6452 (one for each char read by EatLine!).
6454 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6457 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6459 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6460 to the same as the par we break from
6462 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6464 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6466 * MenuBackend.C (expand): also create menu entries for wide
6467 versions of the floats.
6469 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6471 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6473 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6474 frontends/Makefile.am
6480 * tabular.C (getTokenValue): add std::
6482 * tabular-old.C (getTokenValue): add std::
6483 (getTokenValue): ditto
6484 (getTokenValue): ditto
6486 * screen.C (ToggleSelection): adjust
6488 * lyxtext.h: put selection cursors inside a Selection struct.
6490 * lyxfunc.C (moveCursorUpdate): adjust
6492 * lyxfont.C (latexWriteStartChanges): add std::
6496 * font.h: delete with(char const *, LyXFont const &)
6498 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6500 * FontInfo.C (getFontname): add std::
6502 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6503 (workAreaButtonPress): adjust
6504 (tripleClick): adjust
6506 (moveCursorUpdate): adjust
6509 * BufferView2.C (gotoInset): adjust
6511 2001-05-30 Juergen Vigna <jug@sad.it>
6513 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6514 to check pspell I add this as default as I now have new pspell
6515 libraries and they seem to use this.
6517 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6519 * text2.C (CutSelection): make the cursor valid before the call to
6522 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6524 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6525 relied on 0 terminated strings and other horrors. Bug found due to
6526 the new assert in lyxstring!
6528 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6531 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6533 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6536 * lyxfunc.C (processKeySym): change method of getting to the
6539 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6540 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6541 * BufferView_pimpl.[Ch]: here as private methods.
6543 2001-05-28 Juergen Vigna <jug@sad.it>
6545 * text.C (SetHeightOfRow): added the update() call again as it is
6546 needed to initialize inset dimensions!
6548 2001-05-16 Juergen Vigna <jug@sad.it>
6550 * text2.C (SetCharFont): Add new function with BufferView * and
6551 bool toggleall parameters for setting insets internal fonts.
6552 (SetFont): Freeze the undo as we may change fonts in Insets and
6553 all this change should be inside only one Undo!
6555 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6556 setting font's in insets as for them we have the SetFont function!
6558 2001-05-15 Juergen Vigna <jug@sad.it>
6560 * text2.C (ClearSelection): to be sure we REALLY don't have any
6563 * tabular.C (TeXCellPreamble): fixed the left border problem for
6566 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6568 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6571 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6573 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6574 LFUN_BREAKPARAGRAPH.
6576 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6577 help test to "internal only", similar for LFUN_INSERT_URL
6579 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6580 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6581 auto_region_delete and deadkeys.
6583 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
6586 * LColor.C: remove some dead entries, tidy a little
6588 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6590 * lyxfunc.C (processKeySym): comment the Escape handling, remove
6592 (Dispatch): implement LFUN_ESCAPE
6594 * commandtags.h: add LFUN_ESCAPE
6596 * LyXAction.C (init): add entry for LFUN_ESCAPE
6598 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6599 Remove commented code.
6600 (insertNote): moved here
6601 (open_new_inset): moved here
6603 * BufferView[2].[Ch]: move insertNote and open_new_inset to
6606 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6608 * kbmap.C (findbinding): clean it up and make it work correctly.
6610 * lyx_main.C (init): do not pass argc and argv as parameters
6612 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6614 * buffer.C: fix path for OS/2 & Win32
6618 * lyx_main.C: Added os:: class.
6620 * os2_defines.h: update
6622 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6624 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6625 better by trying again with reduced state.
6627 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6629 * lyxrc.C (read): print error about invalid key sequence only when
6630 debugging (because not all latinX keysyms are known to some X
6633 * kbsequence.C (getiso): add a few std:: qualifiers
6634 (getiso): comment out extra return statement.
6636 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
6638 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6640 (Dispatch): enhance the accent inset a bit. (not perfect)
6642 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6644 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6646 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6648 * bufferlist.C (emergencyWrite): fix assert() call
6650 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
6652 * text.C (InsertChar): Added trivial patch to only send the "you
6653 can not do multiple spaces this way" message once during a
6656 2001-05-08 Baruch Even <baruch@lyx.org>
6658 * Makefile.am: Changed order of libraries to get LyX to link properly
6659 with the gnome frontend.
6661 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6663 * LaTeXFeatures.h: add a std:: qualifier
6665 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6667 * paragraph.C (String): use stringstream
6669 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6671 * paragraph.C (writeFile): remove footflag arg
6673 * buffer.C (makeLaTeXFile): use stringstream
6674 (latexParagraphs): remove footnot gurba
6676 * LaTeXFeatures.C (getPackages): use stringstream
6677 (getMacros): likewise
6678 (getTClassPreamble): likewise
6679 (getFloatDefinitions): new method
6681 * paragraph.C (writeFile): reindent
6684 * WorkArea.h: revert the xpos + etc changes.
6686 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
6688 * lyxparagraph.[Ch]: add copy constructor, remove Clone
6690 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6691 (pasteSelection): likewise
6692 * text2.C (CreateUndo): likewise
6694 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6696 * minibuffer.C (peek_event): temporarily reduce the functionality
6697 of the minibuffer (to allow args on lfuns)
6699 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
6700 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
6702 * buffer.C (readInset): add compability reading of old float
6703 lists, add reading of new style float list.
6704 (readInset): avoid reevaluation of inscmd.getCmdName()
6705 (getLists): reindent
6707 * MenuBackend.C (MenuItem): implement parsing of
6708 md_floatlistinsert and md_floatinsert.
6709 (expand::LastFiles): move initalizaton of iterators out of loop,
6711 (expand::Documents): introduce typdedef vector<string> Strings,
6713 (expand::ExportFormats): introduce typedef vector<Format const *>
6714 Formats, and use it.
6715 (expand): implement FloatListInsert and FloatInsert.
6717 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
6718 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
6719 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
6721 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
6723 (Dispatch::LFUN_FLOAT_LIST): implement
6725 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6727 * LaTeX.C (run): Fix problem with --export code.
6729 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6731 * BufferView.[Ch] (workarea): removed.
6732 (getClipboard) new method; wrapper for workarea()->getClipboard()
6734 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
6737 * WorkArea.h (width, height, xpos, ypos): These methods all
6738 returned the dimensions of the work_area sub-area of WorkArea,
6739 resulting in a position error if the WorkArea were resized. Now
6740 return the dimensions of the entire WorkArea.
6742 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
6744 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6746 * LaTeX.C (deplog): correct the syntax of regex reg1
6748 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * undo.C: remove !NEW_INSETS cruft
6752 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6754 * text2.C: remove !NEW_INSETS cruft
6756 * text.C: remove !NEW_INSETS cruft
6758 * tabular.C: remove !NEW_INSETS cruft
6760 * spellchecker.C: remove !NEW_INSETS cruft
6762 * lyxtext.h: remove !NEW_INSETS cruft
6764 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6766 * lyxfunc.C: remove !NEW_INSETS cruft
6768 * lyxfind.C: remove !NEW_INSETS cruft
6770 * lyx_cb.C: remove !NEW_INSETS cruft
6772 * figureForm.C: remove !NEW_INSETS cruft
6774 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6776 * buffer.[Ch]: remove !NEW_INSETS cruft
6778 * ToolbarDefaults.C: remove !NEW_INSETS cruft
6780 * CutAndPaste.C: remove !NEW_INSETS cruft
6782 * BufferView_pimpl.C: remove !NEW_INSETS cruft
6784 * BufferView2.C: remove !NEW_INSETS cruft
6786 * BufferView.h: remove !NEW_INSETS cruft
6788 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6790 * Lsstream.h: include LString.h before the sstream headers to
6791 fix problem with gcc 2.95.3 and lyxstring
6793 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6795 * lyx_main.C: add using directives when needed for C functions
6796 declared in std:: namespace.
6798 2001-04-27 Juergen Vigna <jug@sad.it>
6800 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6801 (SetHeightOfRow): comment out the update call should not be needed!
6803 2001-04-13 Juergen Vigna <jug@sad.it>
6805 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6806 (LyXTabular): tried to minimize operator= operations (and realized
6807 hopfully Lars wish).
6809 2001-04-27 Juergen Vigna <jug@sad.it>
6811 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6813 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6815 * lyxfunc.C (Dispatch): hack to make listof algorithm work
6817 * buffer.C (readInset): hack to make listof algorithm work
6819 * BufferView_pimpl.C: hack to make listof algorithm work
6821 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6823 * LyXAction.C: removed all !NEW_INSETS cruft
6824 (init): moved lfun_item in method
6826 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6828 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6830 * BufferView2.C (theLockingInset): white space.
6832 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6834 * minibuffer.C: include <iostream>
6836 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6838 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6840 * commandtags.h: add LFUN_TRANSPOSE_CHARS
6842 * text.[Ch] (TransposeChars): new method
6844 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6846 * call message directly through LyXView instead of through LyXFunc
6847 * BufferView2.C: adjust
6848 * BufferView_pimpl.C: adjust
6849 * FontLoader.C: adjust
6851 * bufferview_funcs.C: adjust
6852 * converter.C: adjust
6853 * figureForm.C: adjust
6854 * importer.C: adjust
6856 * lyx_gui_misc.C: adjust
6860 + more files in subdirs
6862 * lyxparagraph.h (size): move up int file
6865 * adjust all uses of Assert to lyx::Assert.
6867 * BufferView2.C (ChangeCitationsIfUnique): adjust for
6868 lyxfunctional in namespace lyx
6869 * layout.C (hasLayout): ditto
6872 (delete_layout): ditto
6873 (NumberOfClass): ditto
6874 * converter.C (GetFormat): ditto
6879 * bufferlist.C (getFileNames): ditto
6880 (emergencyWriteAll): ditto
6883 * MenuBackend.C (hasSubmenu): ditto
6886 * BufferView_pimpl.C (getInsetByCode): ditto
6888 2001-04-18 Juergen Vigna <jug@sad.it>
6890 * vspace.C (asLatexString): fixed the 100% problem.
6892 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6894 * lyxfunc.C (Dispatch):
6896 * minibuffer.h: add a few std:: qualifiers
6898 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6900 * minibuffer.[Ch]: reimplement so that commands is initiated and
6901 run from lyxfunc, simplified som handling, and made the completion
6902 and history code for complete. wip.
6904 * lyxfunc.C (processKeySym): call message
6905 (miniDispatch): new temporary method
6906 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
6907 (LFUN_MESSAGE): implement
6908 (LFUN_MESSAGE_PUSH): implement
6909 (LFUN_MESSAGE_POP): implement
6910 (initMiniBuffer): the initial/defualt minibuffer message.
6912 * lyxfont.[Ch]: inline some more getters
6914 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
6916 * lyx_gui_misc.[Ch] (WriteStatus): remove method
6918 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
6919 (AutoSave): use LFUN_MESSAGE
6920 (Reconfigure): ditto
6922 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
6924 * figureForm.C: use LFUN_MESSAGE
6926 * converter.C (runLaTeX): use LFUN_MESSAGE
6928 * bufferview_funcs.C: use LFUN_MESSAGE
6930 (changeDepth): ditto
6932 * bufferparams.h: use boost::
6934 * bufferlist.h: inherit privately from noncopyable
6936 * bufferlist.C (loadLyXFile): remove some commented code.
6938 * buffer.C (runChktex): use LFUN_MESSAGE
6940 * ShareContainer.h: inherit privately from noncopyable
6942 * ParagraphParameters.[hC] (depth): inline it.
6944 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
6946 (message): new method
6947 (messagePush): ditto
6949 (show): init minibuffer
6950 (showState): direct call
6952 * LaTeX.[Ch]: inherit privately from noncopyable
6953 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
6954 instead of WriteStatus.
6956 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
6958 * BufferView_pimpl.C (buffer): don't init minibuffer
6959 (workAreaButtonPress): use LFUN_MESSAGE
6960 (workAreaButtonRelease): ditto
6961 (savePosition): ditto
6962 (restorePosition): ditto
6963 (MenuInsertLyXFile): ditto
6964 (workAreaExpose): don't init minibuffer
6965 (update): remove commented code, simplify
6967 * BufferView2.C (openStuff): use LFUN_MESSAGE
6968 (toggleFloat): ditto
6971 (copyEnvironment): ditto
6972 (pasteEnvironment): ditto
6977 (updateInset): remove some commented code
6979 * lastfiles.h: inherit privately from noncopyable
6984 * lyxlex_pimpl.h: ditto
6986 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
6987 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
6988 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6990 * LyXAction.h: inherit privately from noncopyable, add methods
6991 func_begin, func_end, returning iterators to the func map.
6993 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
6994 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6995 (func_begin): new method
6996 (func_end): new method
6998 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7000 (copySelection): ditto
7001 (pasteSelection): ditto
7003 * BufferView.C: whitespace change
7004 * BufferView.h: inherit privately from noncopyable
7006 2001-04-16 Allan Rae <rae@lyx.org>
7008 * tabular-old.C (l_getline):
7009 * spellchecker.C (sc_check_word):
7010 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7011 an unrecognised preprocessor directive. So ensure they're wrapped.
7013 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7015 * src/exporter.C (Export): Give an error message when path to file
7018 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7020 * LaTeX.C (deplog): Always check that foundfile exists.
7022 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7027 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7029 * tabular.[Ch] (getLabelList): implement new method
7031 * minibuffer.h: comment ouf setTiimer
7033 * minibuffer.C (ExecutingCB): constify res
7034 (peek_event): constify s
7035 (Set): constify ntext
7036 (Init): constify nicename
7038 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7040 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7041 (savePosition): use two params to Minibuffer::Set
7042 (restorePosition): ditto
7044 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7046 * lyx_main.C: include language.h
7048 * Makefile.am (lyx_main.o): add language.h
7050 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7056 * CutAndPaste.C: include gettext.h
7058 * lyxfont.h: remove old hack with ON and OFF.
7061 * lyxfont.h: do not include language.h...
7066 * bufferview_funcs.C:
7072 * paragraph.C: ... but do it here instead
7074 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7076 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7078 * tabular.C: small reformat
7080 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7083 (BreakParagraph): ditto
7084 (SetOnlyLayout): ditto
7087 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7090 * lastfiles.C: removed most using decl, add std:: where needed
7092 * buffer.C: ws changes
7094 * MenuBackend.C (class compare_format): put into anon namespace
7095 (expand): constify label, names, action, action2
7098 * text.C (SingleWidth): constify font
7099 (IsBoundary): constify rtl2
7100 (GetVisibleRow): constify ww
7102 * LaTeX.C (deplog): constify logfile
7104 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7106 (workAreaExpose): constify widthChange, heightChange
7108 * lyxrow.C (par): moved
7111 * lyxrow.h: as inlines here
7113 * lyxfont.h (shape): moved from lyxfont.C
7114 (emph): moved from lyxfont.C
7116 * lyxfont.C (LyXFont): use initialization list for all
7118 (shape): move to lyxfont.h as inline
7119 (emph): move to lyxfont.h as inline
7122 2001-04-04 Juergen Vigna <jug@sad.it>
7124 * vspace.C: had to include stdio.h for use of sscanf
7126 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7129 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7130 independent of xforms.
7132 2001-04-02 Juergen Vigna <jug@sad.it>
7134 * spellchecker.C: fixed namespace placing!
7136 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7138 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7139 the LyXParagraph * is 0.
7141 2001-03-29 Juergen Vigna <jug@sad.it>
7143 * vspace.C: added support for %, c%, p%, l%.
7144 (stringFromUnit): added helper function.
7145 (asLatexString): changed to give right results for the %-values.
7147 * buffer.C: convert the widthp in a width%.
7149 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7151 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7154 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7155 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7157 * lyx_cb.[Ch]: see above.
7159 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7163 * lyx.[Ch]: replaced by figure_form.[Ch].
7167 * lyxfunc.C: changed headers associated with above changes.
7169 2001-03-27 Juergen Vigna <jug@sad.it>
7171 * BufferView_pimpl.C: set the temporary cursor right!
7173 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7175 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7177 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7179 * LString.h: removed "using std::getline"!
7181 * BufferView_pimpl.C (Dispatch): changes due to changes in
7182 InsetInclude::Params.
7184 * buffer.C (tag_name): removed redundant break statements as they were
7185 producing lots of warnings with my compiler.
7187 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7189 * LString.h: add "using std::getline" when using the real <string>.
7191 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7193 * buffer.C: removed bitset usage.
7194 PAR_TAG moved to an anonymous name space.
7195 (tag_name): new funtion, also in the anonymous namespace.
7196 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7197 (makeDocBookFile): clean code. Completed transition from string arrays
7199 (SimpleDocBookOnePar): code clean.
7201 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7203 * tabular.C: add some comments.
7205 2001-03-22 Juergen Vigna <jug@sad.it>
7207 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7208 compatibility read a bit and fixed bug with minipage in different
7211 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7213 * buffer.C (pop_tag): removed.
7214 (push_tag): removed.
7215 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7216 array replaced with vector. Added support for CDATA sections.
7217 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7219 (makeDocBookFile): XML conformant declaration of CDATA section,
7220 fixed bug related to <emphasis> in the first paragraph char.
7221 (sgmlOpenTag): exclude empty tags.
7222 (sgmlCloseTag): ditto.
7224 * buffer.h (pop_tag): removed.
7225 (push_tag): removed.
7227 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7229 * language.h (Languages): added size_type and size().
7231 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7233 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7234 response on compability reading of minipages. One probliem is that
7235 the old usage of minipages was «flertydig»
7237 * several files here and in subdirs: don't use static at file
7238 scope use anon namespaces instead.
7240 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7242 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7243 LaTeX output. This is necessary for Literate document
7246 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7248 * buffer.C: insert hfill when needed.
7250 * tabular.C (l_getline): use string::erase, small whitespace change.
7252 * BufferView_pimpl.C: try the anon namespace.
7255 2001-03-16 Juergen Vigna <jug@sad.it>
7257 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7258 otherwise it won't open options-dialogs.
7260 * buffer.C: honor pextraWidth(p) on converting minipages.
7262 * tabular.C (l_getline): changed the functions to strip trailing \r.
7264 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7266 * BufferView_pimpl.C:
7267 * minibuffer..C: added "using SigC::slot" declaration.
7269 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7271 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7277 * paragraph.C: ditto
7279 * lyxtext.h: NO_PEXTRA
7281 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7283 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7284 * ParameterStruct.h: ditto
7285 * ParagraphParameters.h: ditto
7286 * lyxparagraph.h: ditto
7288 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7290 * buffer.C: add compability for minipage alignment.
7291 (latexParagraphs): remove unwanted pextra check.
7293 * several files: remove CXX_WORKING_NAMESPACES
7295 * buffer.C (pop_tag): tie is in namespace boost
7297 * BufferView.h: noncopyable is in namespace boost
7302 * lastfiles.h: ditto
7303 * bufferlist.h: ditto
7304 * ShareContainer.h: ditto
7306 * LyXAction.h: ditto
7309 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7311 * Merging changes from BRANCH_MVC back into HEAD.
7313 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7315 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7317 * BufferView_pimpl.C: change from intl.C
7321 * Makefile.am: move combox.*
7327 * intl.C: remove dialog (covered by prefs)
7329 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7331 * lyxfunc.C (Dispatch): removed redundant break statement.
7333 2001-03-14 Juergen Vigna <jug@sad.it>
7335 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7337 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7339 * buffer.C: add hack to fix compability reading of minipages.
7341 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7343 * buffer.C (getLists): Cleanup.
7345 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7347 * lyxfont.C (update): don't honor toggleall on font size.
7349 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7353 * Makefile.am: moved to frontends/xforms/
7357 * BufferView_pimpl.C: changes for moved mathpanel
7359 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7361 * gettext.h: fix gettext_init() in --disable-nls
7363 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7365 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7367 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7370 * lyx.h: strip external form
7372 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7374 * BufferView_pimpl.C: add comment, destroySplash()
7376 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7378 * BufferView_pimpl.C:
7382 * lyxfunc.C: use re-worked insetinclude
7384 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7386 * buffer.C: add using std::stringstream.
7388 * lyx_cb.C: readd using std::ios.
7390 * buffer.C: add using std::map.
7392 * BufferView_pimpl.C: add using std::vector.
7394 * ShareContainer.h: add std:: to swap.
7396 * buffer.h: add some typedefs
7397 * buffer.C (getLists): use them
7398 (getLists): renamed from getTocList.
7399 add a counter for the different float types and use it in the
7401 (getLists): use the same counter for the NEW_INSETS and the "non"
7404 * lyx_cb.h: remove unused items, includes, using etc.
7406 * ShareContainer.h: remove some commented code, add more comments
7407 and "documentation".
7409 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7411 * buffer.C (getTocList): make the list also when NEW_INSETS is
7414 * buffer.h: remove TocType
7416 * buffer.C (getTocList): change to return a map<string,
7417 vector<TocItem> >, implement for dynamic number of list.
7419 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7420 * text2.C (PasteSelection): adjust
7421 * CutAndPaste.C (pasteSelection): adjust
7423 * FloatList.C (FloatList): update from the new_insets branch.
7424 * Floating.[Ch]: ditto
7425 * LaTeXFeatures.C: ditto
7427 * lyxlex_pimpl.C: ditto
7429 * paragraph.C (Last): remove when NEW_INSETS is defined.
7431 * other file: changes because of the above.
7433 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7435 * lyxparagraph.h: rename next to next_, previous to previous_,
7436 make them private for NEW_INSETS. Rename Next() to next(),
7437 Previous() to previous().
7439 * other files: changes because of the above.
7441 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7444 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7447 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7449 * main.C (main): pass lyx_localedir to gettext_init().
7451 * gettext.h: remove locale_init and gettext_init macros
7453 * gettext.C (locale_init): new function
7454 (gettext_init): new function
7456 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7459 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7461 * Moved credits to frontends:
7462 * credits.[Ch]: removed
7463 * credits_form.[Ch]: removed
7464 * lyx_gui_misc.C: remove credits stuff
7467 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7469 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7471 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7472 unneeded destructor.
7474 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7475 a standalone pointer again.
7477 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7479 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7485 * ToolbarDefaults.C:
7494 * BufferView_pimpl.C: use new file dialog in GUII
7497 * lyx_cb.C: remove LayoutsCB to Toolbar
7499 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7501 * ShareContainer.h (get): add std:: qualifier
7503 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7505 * ShareContainer.h: define a proper ShareContainer::value_type
7506 type (and use typename to please compaq cxx)
7508 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7510 * lyxparagraph.h: move serveral local vars to
7511 ParameterStruct/ParagraphParameters., use ShareContainer in
7512 FontTable., make vars in FontTable private and add getter and
7515 * paragraph.C: changes because of the above.
7517 * lyxfont.h: remove copy constructor and copy assignment. (the
7518 default ones is ok), move number inside FontBits. move inlines to
7521 * lyxfont.C: add number to initializaton of statics, move several
7522 inlines here. constify several local vars. some whitespace
7523 cleanup. Dont hide outerscope variables.
7525 * Spacing.h: add two new constructors to match the set methods.
7527 * ShareContainer.h: new file, will perhaps be moved to support
7529 * ParameterStruct.h: new file
7531 * ParagraphParameters.h: new file
7533 * ParagraphParameters.C: new file
7535 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7536 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7538 * BufferView_pimpl.C: ParagraphParameter changes.
7539 * buffer.C: Likewise.
7540 * bufferview_funcs.C: Likewise.
7542 * text2.C: Likewise.
7544 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7546 * lyxfind.C (LyXReplace): do not redefine default argument in
7548 (IsStringInText): ditto
7549 (SearchForward): ditto
7550 (SearchBackward): ditto
7552 2001-03-06 Juergen Vigna <jug@sad.it>
7554 * lyxfind.C (IsStringInText): put parentes around expressions.
7556 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7558 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7560 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7562 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7564 * stl_string_fwd.h: add comment
7566 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7569 * tabular.C: remove unused DocBook methods
7575 killed DO_USE_DEFAULT_LANGUAGE
7577 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7579 * lyx_gui.C: do not include language.h.
7581 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7582 arguments in function implementation.
7584 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7586 * BufferView_pimpl.C: add <ctime>
7588 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7590 * BufferView_pimpl.C: add using std::find_if
7592 2001-02-27 José Matos <jamatos@fep.up.pt>
7594 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7597 2001-02-11 José Matos <jamatos@fep.up.pt>
7599 * buffer.C (makeDocBookFile): command styles now have a parameter as
7602 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
7604 * layout_forms.[Ch]: removed
7605 * lyx_cb.[Ch]: out character
7606 * lyx_gui.C: out character
7607 * lyx_gui_misc.C: out character
7608 * bufferview_funcs.C: : out character,
7609 added toggleall as parameter in ToggleAndShow
7611 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
7613 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7615 * text2.C (SetCurrentFont): Disable number property at boundary.
7617 2001-02-26 Juergen Vigna <jug@sad.it>
7619 * lyxfunc.C (getStatus): added a string argument override function so
7620 that this is correctly called from LyXFunc::Dispatch if it contains a
7621 do_not_use_argument which is used!
7622 (Dispatch): added check for "custom" export and call appropriate func.
7624 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
7626 * lyxrc.C: Add language_command_local, language_use_babel and
7627 language_global_options.
7629 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7631 * buffer.C (makeLaTeXFile): Use language_use_babel and
7632 language_global_options.
7634 2001-02-23 Juergen Vigna <jug@sad.it>
7636 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7637 which works with LyXText and putted it inside BufferView. Here now we
7638 only call for that part the BufferView::Dispatch() function.
7640 * BufferView.C (Dispatch): added.
7642 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7643 functions which needs to use a LyXText over from LyXFunc.
7644 (MenuInsertLyXFile): added
7645 (getInsetByCode): added
7646 (moveCursorUpdate): added
7647 (static TEXT): added
7649 2001-02-22 Juergen Vigna <jug@sad.it>
7651 * BufferView_pimpl.C (update): call a status update to see if LyXText
7654 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7656 * vc-backend.C (revert): implement for CVS
7657 (getLog): implement for CVS
7659 2001-02-20 Juergen Vigna <jug@sad.it>
7661 * text2.C (ClearSelection): added BufferView param for inset_owner call
7663 * lyxfunc.C (TEXT): added this function and use it instead of
7664 directly owner->view()-text of getLyXText().
7666 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
7668 * src/layout_forms.C: out preamble
7669 * src/layout_forms.h: out preamble
7670 * src/lyx_cb.C: out preamble
7671 * src/lyx_cb.h: out preamble
7672 * src/lyx_gui.C: out preamble
7673 * src/lyx_gui_misc.C: out preamble
7674 * src/lyxfunc.C: connect with guii preamble
7676 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7678 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7680 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
7682 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7683 whether to run bibtex.
7685 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
7687 * Makefile.am (lyx_SOURCES): Remove BackStack.h
7689 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7691 * Makefile.am (lyx_SOURCES): removed bibforms.h
7695 * text.C (GetVisibleRow): make several local vars const
7697 * tabular.C: small cleanup.
7699 * lyxserver.C (callback): use compare instead of strncmp
7701 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
7702 inlines to after class or to paragraph.C
7704 * lyxfont.h: remove friend operator!=
7706 * converter.h: move friend bool operator< to non friend and after
7709 * combox.h: small cleanup
7711 * buffer.h: doxygen, remove unused constructor, move inclas inlies
7712 to inlines after class def.
7714 * buffer.C (pop_tag): use string operations instead of strcmp
7716 * bmtable.c: doxygen, small cleanup
7718 * LaTeX.h: remove friend operator==
7720 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7732 * BufferView_pimpl.C:
7733 * BufferView.[Ch]: remove cruft
7735 2001-02-14 Juergen Vigna <jug@sad.it>
7737 * lyxfunc.C: removed #if 0 unused code
7739 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
7741 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
7743 * text2.C (SetSelection): added a BufferView * parameter
7745 2001-02-13 Juergen Vigna <jug@sad.it>
7747 * lyxfunc.C (Dispatch): fixed protected blank problem.
7748 * BufferView2.C (protectedBlank): added LyxText * parameter.
7750 * tabular.C (AppendRow): forgot to set row_info of newly added row.
7751 (AppendColumn): same as above for column_info.
7753 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7754 (moveCursorUpdate): use a LyXText param for support of InsetText.
7756 * BufferView_pimpl.C (doubleClick): added support for InsetText.
7757 (tripleClick): ditto
7759 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7761 * BufferView_pimpl.C (update): added LyXText param to honor insets.
7763 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7765 * text2.C (SetSelection): set correct update status if inset_owner
7768 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
7770 * tabular.C: remove some commented code.
7772 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7774 * BufferView_pimpl.C: call hideSplash()
7776 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7779 * bibforms.h: remove
7782 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7783 add LFUN_CHILD_CREATE
7785 * counters.h: fix tiny typo
7790 * lyx.C: move splash to frontends/xforms/
7792 * lyx_gui_misc.C: move Include and Bibform to frontends
7794 * lyxvc.h: clarify comment
7796 * vspace.C: tiny housekeeping
7798 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7800 * text.C (PrepareToPrint): RTL Fix.
7802 * paragraph.C (GetUChar): New method.
7803 (String): Use GetUChar.
7805 * buffer.C (asciiParagraph): Use GetUChar.
7807 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7809 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7811 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
7814 * buffer.C: rename to getLogName(), handle
7815 build log / latex log nicely
7817 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7820 * MenuBackend.h: remove support for reference menuitem type.
7822 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
7824 * BufferView_pimpl.C: housekeeping
7825 * BufferView_pimpl.h:
7830 * minibuffer.h: move Timeout GUI-I
7832 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
7834 * lyxrc.C (read): Update converters data-structures.
7836 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
7838 * LaTeX.h (operator!=): add operator != for Aux_Info
7840 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
7842 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7844 * LaTeXLog.C: deleted, useful code moved to Buffer
7847 * buffer.C: new function getLatexLogName()
7853 * lyxfunc.C: use frontends for LaTeX and VC logs
7855 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7857 * LaTeX.h: yet another std:: that Allan forgot.
7859 * Variables.C (set): renamed from isset(), because this clashes
7860 with some HP-UX macros (grr).
7862 2001-02-06 Allan Rae <rae@lyx.org>
7864 * LaTeX.h: Another bug fix. Missing std:: this time.
7866 2001-02-04 Allan Rae <rae@lyx.org>
7868 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
7869 floats problem. I've left it commented out because it's not quite
7870 correct. It should also test that the current object is a table or
7871 figure inset. But I haven't gotten around to figuring out how to do
7872 that. I *think* it'll be something like: "table" == inset.type()
7874 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
7877 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
7879 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
7880 all the citation/databases/styles in the auxilary file.
7881 (run): Rerun latex if there was a babel language error.
7883 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
7885 * text.C (Backspace): Preserve the font when changing newline char
7887 (BreakParagraph): If the cursor is before a space, delete the space.
7889 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
7891 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7893 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
7894 new argument (code).
7895 (ChangeCitationsIfUnique): New method.
7897 * paragraph.C (GetPositionOfInset): Handle bibkey.
7899 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7901 * BufferView_pimpl.h: change type of Position::par_pos to
7902 LyXParagraph::size_type.
7904 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
7906 * BufferView_pimpl.C (savePosition, restorePosition): Write
7907 messages to minibuffer.
7909 2001-01-28 José Matos <jamatos@fep.up.pt>
7911 * buffer.C (makeDocBookFile): adds support for document language.
7912 A silly restriction on the name of LatexCommand types where removed.
7913 Added support for CDATA sections, allows to chars unescaped, used
7914 among others in code, to avoid escape < and >.
7916 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7918 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
7919 saved positions instrad of a stack. Furthermore, a position is
7920 stored using paragraph id/paragraph position.
7922 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
7923 Remove LFUN_REF_BACK.
7925 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7927 * converter.C (dvipdfm_options): New method.
7929 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7931 * vspace.C (isValidLength): Fix for empty input string.
7933 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7935 * LyXAction.C (init): change description of LFUN_FIGURE to
7938 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7940 * LaTeX.C: add using directive
7942 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7944 * MenuBackend.C (expand): Fix the sorting of the formats.
7946 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
7948 * lyx_main.C: tiny error message fix
7950 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7952 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
7953 calling fl_initialize(). This fixes the problem with ',' as
7954 decimal separator in text files.
7956 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7958 * trans.C (process): Fix the keymap bug.
7960 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
7962 * LaTeX.C (scanAuxFiles): New method. Provides support for
7963 multiple bibliographies (when using the bibtopic/bibunits pacakges).
7964 (scanLogFile) Scan for "run BibTeX" messages.
7966 * buffer.C (makeLaTeXFile): Do not load the ae package when using
7967 OT1 font encoding. Also, load the aecompl package if the ae
7970 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
7972 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7974 * texrow.C (increasePos): turn two error messages into debug
7977 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
7979 * LaTeX.C (scanAux): Handle the \@input macro.
7980 (runBibTeX): Use scanAux().
7982 * language.C (latex_options_): New field.
7984 * LaTeXFeatures.C (getMacros): Add language macros.
7986 * buffer.C (makeLaTeXFile): Small fix.
7988 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7990 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
7992 * text2.C: add a using directive.
7994 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
7999 * lyxfunc.C: kill LyXBell.
8001 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8003 * text.C (IsBoundary): Remove the error message
8005 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8007 * lyxrc.C (setDefaults): Correct initialization value for
8010 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8012 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8015 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8018 * src/LyXAction.C: Added reference-next.
8020 * text.C (InsertChar): Use contains instead of strchr.
8022 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8024 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8026 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8027 alignment commands (when needed).
8029 * text.C (InsertChar): Add ':' to number separator chars.