1 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * tabular.C (asciiPrintCell): use string(size, char) instead of
10 * sgml.C (openTag): fix order of arguments to string constructor
13 * lyxfunc.C (dispatch): use boost.format
15 * lots of files: change "c" -> 'c'
17 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
19 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
21 2002-11-25 Angus Leeming <leeming@lyx.org>
23 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
25 * lyx_main.C (init): compile fix.
27 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * lyx_cb.C (start): boost.formatify
30 do not include <iostream>
32 * lengthcommon.C: ws only
34 * boost-inst.C,BoostFormat.h: add more explict instantations
36 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
38 * lots of files: handle USE_BOOST_FORMAT
40 2002-11-21 John Levon <levon@movementarian.org>
42 * pspell.C: fix compile
44 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
46 * lyxfunc.C (dispatch): use boost::format
50 * lyxfont.C (stateText): use boost::format
52 * lyx_main.C (LyX): use boost::format
54 (queryUserLyXDir): ditto
57 (typedef boost::function): use the recommened syntax.
59 * importer.C (Import): use boost::format
61 * debug.C (showLevel): use boost::format
63 * converter.C (view): use boost::format
68 * bufferview_funcs.C (currentState): use boost::format
70 * bufferlist.C (emergencyWrite): use boost::format
72 * buffer.C (readLyXformat2): use boost::format
73 (parseSingleLyXformat2Token): ditto
75 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
77 * LaTeX.C (run): use boost::format
79 * Chktex.C (scanLogFile): use boost::format
81 * BufferView_pimpl.C (savePosition): use boost::format
82 (restorePosition): ditto
83 (MenuInsertLyXFile): ditto
85 * BoostFormat.h: help file for explicit instation.
87 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
89 * tabular.C (latex): Support for block alignment in fixed width
92 2002-11-17 John Levon <levon@movementarian.org>
96 * lyxfunc.C: split filedialog into open/save
98 2002-11-08 Juergen Vigna <jug@sad.it>
100 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
101 by my last patch (hopefully).
103 2002-11-08 John Levon <levon@movementarian.org>
112 * toc.C: ParConstIterator, and use it (from Lars)
114 2002-11-07 Ben Stanley <bds02@uow.edu.au>
116 * lyxtextclass.[Ch]: revise and add doxygen comments
118 2002-11-07 John Levon <levon@movementarian.org>
120 * text.C: fix progress value for spellchecker
122 * toc.C: fix navigate menu for insetwrap inside minipage
124 * paragraph_funcs.C: added FIXME for suspect code
126 2002-11-07 John Levon <levon@movementarian.org>
128 * BufferView_pimpl.C: fix redrawing of insets
131 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
133 * text2.C (updateCounters): fix bug 668
135 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
137 * text3.C (dispatch): Do not make the buffer dirty when moving the
140 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
142 * vc-backend.C: STRCONV
145 * text2.C (setCounter): STRCONV
147 * paragraph.C (asString): STRCONV
149 * lyxlength.C (asString): STRCONV
150 (asLatexString): ditto
152 * lyxgluelength.C (asString): STRCONV
153 (asLatexString): ditto
155 * lyxfunc.C (dispatch): STRCONV
158 * lyxfont.C (stateText): STRCONV
160 * importer.C (Import): STRCONV
162 * counters.C (labelItem): STRCONV
164 (numberLabel): remove unused ostringstream o
169 * bufferview_funcs.C (currentState): STRCONV
171 * buffer.C (readFile): STRCONV
172 (asciiParagraph): ditto
173 (makeLaTeXFile): ditto
175 * Spacing.C (writeEnvirBegin): STRCONV
177 * LaTeXFeatures.C (getLanguages): STRCONV
180 (getBabelOptions): ditto
181 (getTClassPreamble): ditto
182 (getLyXSGMLEntities): ditto
183 (getIncludedFiles): ditto
190 * LString.h: add the STRCONV macros
192 * BufferView_pimpl.C (savePosition): STRCONV
193 (restorePosition): ditto
194 (MenuInsertLyXFile): ditto
196 * vc-backend.C (scanMaster): change from submatch[...] to
199 * funcrequest.C: include config.h
201 * factory.C: include config.h
203 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
205 * box.C: include config.h
207 * LaTeX.C (scanAuxFile): change from submatch[...] to
211 2002-10-25 Angus Leeming <leeming@lyx.org>
213 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
215 * ispell.[Ch] (setError): new method.
216 * ispell.C (c-tor): move out child process into new class LaunchIspell.
217 Use setError() insetead of goto END.
219 * lyx_cb.C (AutoSave): move out child process into new class
222 2002-10-30 John Levon <levon@movementarian.org>
224 * text3.C: make start appendix undoable
226 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
228 * lyxlength.C (inPixels): Fix returned value.
230 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
233 2002-10-24 Angus Leeming <leeming@lyx.org>
235 * lyxgluelength.h: no need to forward declare BufferParams
236 or BufferView, so don't.
238 2002-10-21 John Levon <levon@movementarian.org>
240 * BufferView.C: menuUndo ->undo, redo
242 * BufferView.h: document, remove dead, make some methods private
246 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
251 * sgml.C: move sgml open/close tag into sgml.C
253 * bufferview_funcs.h: unused prototype
256 * lyxfunc.C: remove unused
259 * text.C: remove unused
261 2002-10-21 John Levon <levon@movementarian.org>
265 * BufferView_pimpl.h:
266 * BufferView_pimpl.C: fix mouse wheel handling based on
267 patch from Darren Freeman
269 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
271 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
273 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
275 * lyxlength.C (inPixels): Fix hanfling of negative length.
276 Fix LyXLength::MU case.
278 2002-10-16 John Levon <levon@movementarian.org>
280 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
282 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
284 * converter.C (view): add support for $$i (file name) and $$p
285 (file path) for the viewer command. If $$i is not specified, then
286 it is appended to the command (for compatibility with old syntax)
288 2002-10-14 Juergen Vigna <jug@sad.it>
290 * undo_funcs.C (textHandleUndo): alter the order in which the
291 new undopar is added to the LyXText, as we have to set first
292 the right prev/next and then add it as otherwise the rebuild of
293 LyXText is not correct. Also reset the cursor to the right paragraph,
294 with this IMO we could remove the hack in "redoParagraphs()".
296 2002-10-09 Angus Leeming <leeming@lyx.org>
298 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
299 to turn off an optimisation if a new inset is to be inserted.
301 2002-10-11 André Pönitz <poenitz@gmx.net>
303 * lytext.h: make some functions public to allow access
304 from inset/lyxtext for handling LFUN_PRIOR/NEXT
306 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
308 * text3.C (dispatch): when changing layout, avoid an infinite loop
311 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
313 * lyxrc.C (read): treat a viewer or converter command of "none" as
316 * MenuBackend.C (expandFormats): for an update, also allow the
317 formats that are not viewable
319 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
320 script if it is newer than the lyxrc.defaults in user directory
322 2002-10-07 André Pönitz <poenitz@gmx.net>
324 * text.C: Vitaly Lipatov's small i18n fix
326 2002-09-25 Angus Leeming <leeming@lyx.org>
328 * ispell.h: doxygen fix.
330 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
332 * buffer.h (readFile): Add a new argument to the method, to allow
333 reading of old-format templates.
335 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
337 * toc.C (getTocList): Get TOC from InsetWrap.
339 2002-09-16 John Levon <levon@movementarian.org>
341 * lyxfunc.C: check tabular for cut/copy too
343 2002-09-12 John Levon <levon@movementarian.org>
348 * factory.C: add header
351 * paragraph_funcs.C: cleanup
353 2002-09-11 John Levon <levon@movementarian.org>
355 * PrinterParams.h: odd/even default to true
357 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
359 * PrinterParams.h: update printer parameters for new xforms dialog
361 2002-09-11 Angus Leeming <leeming@lyx.org>
363 * lyxserver.C (read_ready): re-write to make it more transparent
364 and to make it work in coherent fashion under Tru64 Unix.
366 2002-09-11 André Pönitz <poenitz@gmx.net>
370 * text3.C: implement LFUN_WORDSEL
372 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
374 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
375 make floatlist_ a boost::shared_ptr<FloatList>
377 * lyxtextclass.C: include FloatList.h
378 (LyXTextClass): initialize floatlist_
379 (TextClassTags): add TC_NOFLOAT
380 (Read): match "nofloat" to TC_NOFLOAT and use it.
381 (readFloat): modify call to floatlist_
385 * FloatList.[Ch] (FloatList): remove commented out float
387 (erase): new function
389 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
391 * MenuBackend.C (expandToc): fix crash when there is no document
394 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
396 * many files: Add insetwrap.
398 2002-09-09 John Levon <levon@movementarian.org>
400 * text2.C: remove confusing and awkward depth wraparound
402 2002-09-09 John Levon <levon@movementarian.org>
404 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
407 * buffer.C: remove getIncludeonlyList()
410 * lyxfunc.C: remove headers
412 2002-09-09 Juergen Vigna <jug@sad.it>
414 * text.C (getColumnNearX): fix form Michael this is most
415 probably a cut&paste bug.
417 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
419 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
421 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
422 references, ws changes.
424 * text2.C (init): update counters after init
425 (insertParagraph): no need to set counter on idividual paragraphs.
426 (setCounter): access the counters object in the textclass object
427 on in the buffer object.
428 (updateCounters): ditto
430 * lyxtextclass.C: include counters.h, add variable ctrs_ as
431 shared_ptr<Counters> to avoid loading counters.h in all
433 (LyXTextClass): initialize ctrs_
434 (TextClassTags): add TC_COUNTER, and ...
436 (CounterTags): new tags
437 (readCounter): new function
438 (counters): new funtion
439 (defaultLayoutName): return a const reference
441 * counters.C (Counters): remove contructor
442 (newCounter): remove a couple of unneeded statements.
443 (newCounter): simplify a bit.
444 (numberLabel): some small formatting changes.
446 * buffer.[Ch]: remove all traces of counters, move the Counters
447 object to the LyXTextClass.
449 2002-09-06 Alain Castera <castera@in2p3.fr>
451 * tabular.C: uses \tabularnewline; uses >{...} construct from array
452 package to set the horizontal alignment on fixed width columns.
455 * lyx_sty.h: added tabularnewline macro def.
457 * LaTeXFeatures.C: added NeedTabularnewline macro feature
459 2002-09-06 John Levon <levon@movementarian.org>
461 * LyXAction.C: tooltips for sub/superscript
463 * MenuBackend.C: a bit more verbose
465 * lyxfunc.C: tiny clean
467 * undo_funcs.C: document undo_frozen
469 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
471 * counters.C (Counters): add missing algorithm counter.
473 * text2.C (setCounter): lookup the counter with layouts latexname
474 instead of by section number.
475 (setCounter): use a hackish way to lookup the correct enum
477 a float name->type change
478 reset enum couners with counter name directly instead of depth value.
480 * counters.C (Counters): remove the push_backs, change to use the
481 float type not the float name.
482 (labelItem): remove unused string, float name->type change
484 * counters.h: don't include vector, loose the enums and sects vectors
486 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
488 * lyxtextclass.C (TextClassTags): add TC_FLOAT
489 (Read): add float->TC_FLOAT to textclassTags
490 (Read): and handle it in the switch
491 (readFloat): new function
493 * FloatList.C (FloatList): comment out the hardcoded float
496 * lyxlayout.h: ws change.
498 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
500 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
502 2002-09-03 Angus Leeming <leeming@lyx.org>
504 * BufferView_pimpl.h: qualified name is not allowed in member
505 declaration: WorkArea & Pimpl::workarea() const;
507 * factory.C: added using std::endl directive.
509 * text3.C: added using std::find and std::vector directives.
511 2002-08-29 André Pönitz <poenitz@gmx.net>
514 * text2.C: remove unused member number_of_rows
517 * BufferView2.C: remove file, move contents to...
518 * BufferView.C: ... here
520 * BufferView_pimpl.C:
521 * factory.C: move more inset creation to factory
523 * vspace.C: avoid direct usage of LyXText, ws changes
526 don't provide direct access to WorkArea, use two simple
527 acessors haveSelction() and workHeight() instead
530 2002-08-29 John Levon <levon@movementarian.org>
532 * BufferView_pimpl.C (dispatch): do not continue when
535 2002-08-28 André Pönitz <poenitz@gmx.net>
537 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
540 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
542 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
544 * buffer.C: increment LYX_FORMAT to 221
546 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
547 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
549 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
551 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
553 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
555 * factory.C (createInset): use LyXTextClass::floats
557 * MenuBackend.C (expandFloatListInsert):
561 * text2.C (setCounter):
563 * LaTeXFeatures.C (useFloat):
564 (getFloatDefinitions):
566 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
568 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
569 floatlist_, with accessor floats().
571 * FloatList.h: remove global FloatList
573 2002-08-26 André Pönitz <poenitz@gmx.net>
575 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
579 * BufferView_pimpl.C:
580 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
582 2002-08-25 John Levon <levon@movementarian.org>
584 * LyXAction.C: fix margin note description
586 2002-08-24 John Levon <levon@movementarian.org>
590 * bufferview_funcs.C:
592 * undo_funcs.C: cleanups
594 * lyxfunc.C: disable CUT/COPY when no selection
596 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
598 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
599 in "enum UNIT"; e.g. PTW for Percent of TextWidth
601 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
602 Add backward compatibility to "mono", "gray" and "no".
604 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
606 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
607 (and file_format >= 200).
609 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
611 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
613 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
615 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
617 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
619 * BufferView_pimpl.C:
626 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
627 inset and code to make it work with the paragraph code. The inset
628 can be anywhere in the paragraph, but will only do the expected
629 thing in LaTeX if the layout file contains the parameter line
631 (or more generally, a nonzero value) for that layout.
633 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * paragraph.h: remove the declaration of undefined counters class
638 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
640 * text2.C (setCounter): fixed enumeration mis-count as reported by
643 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
645 * paragraph_funcs.h: remove some unneeded includes
647 * text.C (backspace): pasteParagraph now in global scipe
649 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
650 (pasteSelection): ditto
652 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
653 * paragraph_funcs.C (pasteParagraph): ... here
655 2002-08-20 André Pönitz <poenitz@gmx.net>
657 * commandtags.h: new LFUNs for swapping/copying table row/colums
660 * lyxfunc.C: support for new lfuns
662 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
665 * buffer.[Ch]: remove NO_COMPABILITY stuff
667 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
669 * boost.C (throw_exception): new file, with helper function for
670 boost compiled without exceptions.
676 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
678 * bufferlist.C (emergencyWriteAll): use boost bind
680 * BufferView_pimpl.C (moveCursorUpdate): remove inline
682 * text.C: include paragraph_funcs.h
683 (breakParagraph): breakParagraph is now in global scope
685 * paragraph_funcs.[Ch]: new files
687 * paragraph.C (breakParagraph,breakParagraphConservative): move to
690 * buffer.C: include paragraph_funcs.h
691 (insertStringAsLines): breakParagraph is now in global scope
693 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
696 * CutAndPaste.C: include paragraph_funcs.h
697 (cutSelection): breakParagraphConservative is now in global scope
698 (pasteSelection): ditto
700 * buffer.h: declare oprator== and operator!= for
701 Buffer::inset_iterator
703 * bufferlist.C (emergencyWrite): don't use fmt(...)
705 * text3.C: add using std::endl
707 * BufferView.C (moveCursorUpdate): remove default arg
709 2002-08-20 André Pönitz <poenitz@gmx.net>
711 * buffer.[Ch]: move inline functions to .C
714 * BufferView_pimpl.C:
716 * buffer.[Ch]: use improved inset_iterator
719 * paragraph.[Ch]: write one paragraph at a time
721 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
723 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
724 style if style is not specified.
726 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
728 * text2.C (setCounter): when searching for right label for a
729 caption, make sure to recurse to parent insets (so that a caption
730 in a minipage in a figure float works) (bug #568)
732 2002-08-20 André Pönitz <poenitz@gmx.net>
734 * text3.C: new file for LyXText::dispatch() and helpers
736 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
738 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
740 2002-08-19 André Pönitz <poenitz@gmx.net>
743 * text.C: new LyXText::dispatch()
745 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
747 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
749 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
751 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
754 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
756 * Makefile.am: use $(variables) instead of @substitutions@
758 2002-08-15 André Pönitz <poenitz@gmx.net>
761 * BufferView_pimpl.C: streamlining mathed <-> outer world
765 * LyXAction.C: remove unused LFUN_MATH
767 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
769 * paragraph.[Ch]: add some NO_NEXT ifdefs.
771 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
773 * paragraph.C (Paragraph): reformat a bit
774 (cutIntoMinibuffer): use builtin InsetList function instad of
778 * buffer.C: include boost/bind.hpp, add using std::for_each
779 (writeFileAscii): use ParagraphList iterators
780 (validate): use for_each for validate traversal of paragraphs
781 (getBibkeyList): use ParagraphList iterators
782 (resizeInsets): use for_each to resizeInsetsLyXText for all
784 (getParFromID): use ParagraphList iterators
786 * BufferView2.C (lockInset): use paragraph list and iterators
788 2002-08-14 John Levon <levon@movementarian.org>
790 * lyxserver.C: remove spurious xforms include
792 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
794 * lyxfunc.C (getStatus): disable math-extern outside of math mode
796 2002-08-13 André Pönitz <poenitz@gmx.net>
799 * lyxfunc.C: further cleaning
801 2002-08-13 André Pönitz <poenitz@gmx.net>
803 * funcrequest.h: new constructor
805 * funcrequest.C: move stuff here from .h
808 * BufferView_pimpl.C:
811 * lyxfunc.C: subsequent changes
813 * lyxfunc.h: new view() member function
815 * lyxfunc.C: subsequent changes
817 2002-08-13 Angus Leeming <leeming@lyx.org>
820 * BufferView_pimpl.C:
828 changes due to the changed LyXView interface that now returns references
829 to member variables not pointers.
831 2002-08-13 Angus Leeming <leeming@lyx.org>
833 * WordLangTuple (word, lang_code): return references to strings,
838 * lyxtext.h: forward-declare WordLangTuple.
843 * text.C: #include "WordLangTuple.h".
846 * text.C: (selectNextWordToSpellcheck): constify return type.
848 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
857 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
859 Made updateCounter always count from start of buffer, and removed
860 second argument (par).
861 Reverted floats number display to '#'. Perhaps I'll try again when the
862 code base is sanitized a bit.
864 2002-08-12 Angus Leeming <leeming@lyx.org>
866 * buffer.[Ch] (getLabelList): constify.
868 2002-08-07 André Pönitz <poenitz@gmx.net>
870 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
872 * funcrequest.h: extension to keep mouse (x,y) position
874 2002-08-12 Juergen Vigna <jug@sad.it>
876 * BufferView2.C (insertErrors): forbid undo when inserting error
879 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
881 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
883 * ParagraphList.[Ch]: new files
885 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
887 * BufferView2.C (lockInset): ParagraphList changes
890 * bufferlist.C: ditto
894 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
896 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
897 unused class variable counter_,
899 * paragraph.[Ch] (getFirstCounter): delete unused function
901 * counters.C: include LAssert.h
902 (reset): add a new function with no arg, change other version to
903 not have def. arg and to not allow empty arg.
905 * text2.C (setCounter): remove empty arg from call to Counters::reset
907 2002-08-11 John Levon <levon@movementarian.org>
909 * Makefile.am: add WordLangTuple.h
911 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
913 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
914 lyxfunc.C lyxlex_pimpl.C: ws changes only.
916 * insets/insettext.C: InsetList changes
918 * graphics/GraphicsSupport.C (operator()): InsetList changes
920 * toc.C (getTocList): InsetList changes
922 * paragraph_pimpl.[Ch]: InsetList changes
924 * paragraph.[Ch]: InsetList changes
926 * buffer.C (inset_iterator): InsetList changes
927 (setParagraph): ditto
928 * buffer.h (inset_iterator): ditto
929 * iterators.C (operator++): ditto
932 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
934 * InsetList.[Ch]: new files, most InsetList handling moved out of
937 * BufferView2.C (removeAutoInsets): InsetList changes
939 (ChangeInsets): ditto
941 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
943 * paragraph_pimpl.h (empty): new function
945 * paragraph.[Ch] (empty): new function
947 * other files: use the new Paragraph::empty function
949 2002-08-09 John Levon <levon@movementarian.org>
951 * lyxtext.h: remove unused refresh_height
953 2002-08-09 John Levon <levon@movementarian.org>
960 * paragraph.C: move sgml char escaping out of paragraph
963 * paragraph.C: remove id setter
967 * paragraph_pimpl.C: remove dead tex_code_break_column
969 * bufferview_funcs.C: small cleanup
971 * lyxfunc.C: remove dead proto
973 * lyxtext.h: make some stuff private. Remove some dead stuff.
975 * lyxgluelength.C: make as[LyX]String() readable
977 2002-08-08 John Levon <levon@movementarian.org>
985 * toc.C: lyxaction cleanup
987 2002-08-08 John Levon <levon@movementarian.org>
989 * BufferView2.C: small cleanup
992 * lyxfind.C: move unnecessary header into the .C
994 2002-08-08 John Levon <levon@movementarian.org>
996 * funcrequest.h: just tedious nonsense
999 * lyx_main.C: cleanups
1002 * vspace.C: remove dead header lyx_main.h
1004 2002-08-07 Angus Leeming <leeming@lyx.org>
1007 * paragraph_pimpl.h:
1008 Forward declare class Counters in paragraph.h by moving the ctrs member
1009 variable into Paragraph::Pimpl.
1010 (counters): new method, returning a reference to pimpl_->ctrs.
1012 * text2.C: ensuing changes.
1014 2002-08-07 John Levon <levon@movementarian.org>
1016 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
1018 * BufferView_pimpl.C: announce X selection on double/triple
1021 * lyx_main.C: use correct bool in batch dispatch
1023 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
1025 2002-08-07 André Pönitz <poenitz@gmx.net>
1027 * funcrequest.h: new class to wrap a kb_action and its argument
1030 * BufferView_pimpl[Ch]:
1034 * lyxrc.C: subsequent changes
1037 2002-08-07 John Levon <levon@movementarian.org>
1039 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
1040 document options change.
1042 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1047 * makefile.am: move counters functionality over from
1048 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
1050 2002-08-06 John Levon <levon@movementarian.org>
1052 * WordLangTuple.h: new file for word + language code tuple
1063 * BufferView2.C: use WordLangTuple
1066 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
1068 2002-08-06 John Levon <levon@movementarian.org>
1070 * lyx_main.C: fix cmdline batch handling
1072 2002-08-06 André Pönitz <poenitz@gmx.net>
1074 * lyxrc.C: set default for show_banner to true
1076 2002-08-06 John Levon <levon@movementarian.org>
1078 * pspell.C: fix a crash, and allow new aspell to work
1080 2002-08-06 John Levon <levon@movementarian.org>
1083 * kbmap.C: small cleanup
1086 * vspace.C: add const
1088 2002-08-05 John Levon <levon@movementarian.org>
1090 * LyXAction.C: back to tabular-insert
1092 2002-08-04 John Levon <levon@movementarian.org>
1095 * BufferView.C: cosmetic change
1097 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
1107 * BufferView2.C: purge all "Lyx" not "LyX" strings
1110 * lyxcursor.C: attempt to add some documentation
1115 * ToolbarDefaults.C:
1116 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
1117 merge with LFUN_TABULAR_INSERT
1124 * pspell.C: split up i/pspell implementations into separate
1125 files, many cleanups
1127 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
1129 * text2.C: some cleanup
1131 * lyxfunc.C: don't check for isp_command == "none" any more, it
1132 didn't make any sense
1134 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
1139 * makefile.am: move counters functionality over
1140 from text2.C/paragraph.[Ch] to counters.[Ch], and
1142 2002-08-02 John Levon <levon@movementarian.org>
1144 * buffer.C: s/lyxconvert/lyx2lyx/
1146 2002-08-02 Angus Leeming <leeming@lyx.org>
1148 * lyxlex.C: revert John's change as it breaks reading of the user
1151 2002-08-02 Angus Leeming <leeming@lyx.org>
1153 * importer.C (Import):
1154 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
1155 changes due to LyXView::view() now returning a boost::shared_ptr.
1157 2002-08-02 John Levon <levon@movementarian.org>
1159 * lyxlex.C: small cleanup
1161 2002-08-02 John Levon <levon@movementarian.org>
1163 * text2.C (status): small cleanup, no logic change
1165 2002-08-01 John Levon <levon@movementarian.org>
1168 * buffer.C (writeFile): don't output alerts, caller
1172 * lyx_cb.C: from above
1174 * lyxfunc.C: allow to open non-existent files
1176 2002-07-31 John Levon <levon@movementarian.org>
1178 * lyxserver.C: don't let incidental errors get
1181 2002-07-30 John Levon <levon@movementarian.org>
1183 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
1185 2002-07-30 John Levon <levon@movementarian.org>
1188 * lyxserver.C: remove I/O callback too
1190 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1192 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
1195 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1197 * many files: strip,frontStrip -> trim,ltrim,rtrim
1199 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1201 * PrinterParams.h: remove extern containsOnly, and include
1202 support/lstrings.h instead.
1204 * LaTeX.C (scanAuxFile): modify because of strip changes
1206 * buffer.C (makeLaTeXFile): ditto
1207 * bufferparams.C (writeFile): ditt
1208 * lyxfont.C (stateText): ditto
1209 * lyxserver.C (read_ready): ditto
1210 * vc-backend.C (scanMaster): ditto
1212 * BufferView_pimpl.h: ws changes
1214 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
1216 2002-07-26 André Pönitz <poenitz@gmx.net>
1218 * kb_sequence.C: remove unnedred usings
1220 2002-07-26 Juergen Vigna <jug@sad.it>
1222 * lyxfind.C (LyXReplace): we have to check better if the returned
1223 text is not of theLockingInset()->getLockingInset().
1225 2002-07-25 Juergen Vigna <jug@sad.it>
1227 * lyxfind.C (LyXReplace): don't replace if we don't get the
1230 * undo_funcs.C (createUndo): remove debugging code.
1232 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1234 * buffer.C (parseSingleLyXformat2Token): Use default placement
1235 when reading old floats.
1237 * FloatList.C (FloatList): Change the default placement of figure
1238 and tables to "tbp".
1240 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
1242 * MenuBackend.C: using std::max
1244 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1246 * MenuBackend.C (expandToc):
1247 (expandToc2): code moved from xforms menu frontend. It is now
1248 generic and TOCs are transparent to menu frontends.
1250 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1252 * toc.C (getTocList): protect against buf=0
1254 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
1255 Menu as first parameter. Now, this calls itself recursively to
1256 expand a whole tree (this will be useful for TOC handling)
1257 (expandFloatInsert): remove 'wide' version of floats
1259 * MenuBackend.h (submenuname): returns the name of the submenu.
1260 (submenu): returns the submenu itself, provided it has been
1261 created by MenuBackend::expand
1263 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1265 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
1266 insets which have noFontChange == true. (bug #172)
1268 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
1270 * BufferView_pimpl.C: add connection objects and use them...
1273 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1275 * MenuBackend.C (expandLastfiles):
1278 (expandFloatListInsert):
1279 (expandFloatInsert):
1280 (expand): split expand in parts
1282 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1284 * lyx_gui.C: use lyx_gui::exit()
1286 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1288 * LyXAction.C: show the failing pseudo action
1290 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
1292 * buffer.C (readFile): Run the lyxconvert script in order to read
1295 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1299 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
1301 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
1305 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
1307 2002-07-22 Herbert Voss <voss@lyx.org>
1310 * lyxlength.[Ch]: add support for the vertical lengths
1312 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
1314 * toc.[Ch]: std:: fixes
1316 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1318 * lyxrc.C: do not include lyx_main.h
1320 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
1326 * BufferView2.C: include "lyxlex.h"
1329 * bufferparams.h: do not #include "lyxlex.h"
1331 * lyxtextclasslist.C (Add): remove method
1332 (classlist): renamed to classlist_
1334 * paragraph_pimpl.C:
1338 * bufferview_funcs.C:
1343 * toc.C (getTocList): use BufferParams::getLyXTextClass
1345 * toc.C (getTocList): use InsetFloat::addToToc
1347 * toc.[Ch]: new files, containing helper functions to handle table
1350 * lyxfunc.C (dispatch): no need to remove spaces around command
1352 (getStatus): handle LFUN_SEQUENCE by returning the status of the
1353 first command of the sequence; it is not very clever, but I do not
1354 have a better idea, actually
1356 * LyXAction.C (LookupFunc): make sure to remove space at the
1357 beginning and end of the command
1359 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1361 * MenuBackend.C (getMenubar): new method: return the menubar of
1363 (read): treat differently reading of menu and menubar (in
1364 particular, the menubar has no name now)
1365 (Menu::menubar): remove
1367 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
1370 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1372 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
1373 a bibitem inset in a RTL paragraph.
1375 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
1377 * paragraph_pimpl.C: constify
1379 * BufferView_pimpl.C:
1381 * lyxfunc.C: fix dispatch in a nicer way
1383 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1385 * lyxfunc.C (dispatch):
1386 * BufferView_pimpl.C:
1387 * BufferView_pimpl.h:
1389 * BufferView.h: rename Dispatch() to dispatch()
1391 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
1393 * lyxlayout.C (Read): honor DependsOn tag
1395 * lyxlayout.[Ch] (depends_on): new method
1397 * version.C.in: update lyx_docversion
1399 * LaTeXFeatures.C (getMacros): only define \LyX when needed
1401 * paragraph.C (validate): remove from here...
1402 * paragraph_pimpl.C (validate): ... and move here
1403 (isTextAt): make it const
1405 * buffer.C (getLists): ws cleanup
1407 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
1409 * language.C (read): Use iso8859-1 encoding in latex_lang
1410 (this prevents LyX from crashing when using iso10646-1 encoding).
1412 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1414 * text2.C (toggleInset): if cursor is inside an inset, close the
1415 inset and leave cursor _after_ it
1417 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1419 * lyxfunc.C: move minibuffer completion handling out of here
1421 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
1423 * BufferView_pimpl.C:
1424 * LaTeX.C: fix dispatch calls
1426 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
1428 * text.C (drawChars): Fix Arabic text rendering.
1430 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
1434 * lyxfunc.C: remove message-push/pop
1438 * lyxfunc.C: rationalise some code by removing verboseDispatch
1439 in favour of a bool argument to dispatch()
1441 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1443 * lyx_main.C (init): make sure to read symlinks as absolute paths
1445 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1448 * lyxfunc.C: no need for commandshortcut to be a member
1450 2002-07-15 André Pönitz <poenitz@gmx.net>
1452 * converter.C: add support for $$s (scripts from lib/scripts dir)
1453 * lyx_main.C: white space
1455 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1459 * lyxrc.C: remove second exit confirmation
1461 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
1466 * BufferView_pimpl.h:
1467 * BufferView_pimpl.C:
1468 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
1470 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1472 * MenuBackend.C (expand): add numeric shortcuts to document menu
1474 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
1476 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1478 * lyxfont.C (setLyXFamily):
1485 * buffer.C (asciiParagraph): use ascii_lowercase
1487 2002-07-15 Mike Fabian <mfabian@suse.de>
1489 * lyxlex_pimpl.C (search_kw):
1490 * lyxlex.C (getLongString):
1491 * converter.h (operator<):
1492 * converter.C (operator<):
1493 * buffer.C (parseSingleLyXformat2Token):
1495 * ToolbarDefaults.C (read):
1496 * MenuBackend.C (checkShortcuts):
1498 * LColor.C (getFromGUIName):
1499 (getFromLyXName): use the compare_ascii_no_case instead of
1500 compare_no_case, because in turkish, 'i' is not the lowercase
1501 version of 'I', and thus turkish locale breaks parsing of tags.
1503 2002-07-16 Angus Leeming <leeming@lyx.org>
1505 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
1506 now takes a Buffer const & argument.
1508 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
1510 * BufferView.C (resize): check there's a buffer to resize
1512 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
1514 * lyxfunc.C: remove dead code
1517 * lyxserver.C: use lyx_guii::set_read_callback
1519 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
1521 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
1522 an inset in a RTL paragraph.
1524 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1526 * lyxfunc.C: repaint after a font size update
1528 2002-07-15 André Pönitz <poenitz@gmx.net>
1530 * lyxlength.C: inBP should be able to return negative values
1532 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1534 * lyxfunc.C: use lyx_gui::update_fonts()
1536 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
1538 * lyxfunc.C: use lyx_gui::update_color()
1540 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1546 * lyxrc.C: remove file->new asks for name option, and let
1547 buffer-new take an argument
1549 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
1551 * BufferView_pimpl.C: remove unneeded extra repaint()
1553 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
1555 * LyXAction.C: allow command-sequence with NoBuffer
1557 * lyxfunc.C: don't insist on trailing ';' for command-sequence
1559 2002-07-10 Angus Leeming <leeming@lyx.org>
1561 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
1563 2002-07-09 Angus Leeming <leeming@lyx.org>
1565 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
1567 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1569 * lengthcommon.h: whitespace
1571 * lyxfunc.C: update scrollbar after goto paragraph
1573 * lyxtext.h: factor out page break drawing, and fix it so
1574 page break/added space paints as selected nicely
1576 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
1578 * BufferView_pimpl.C: add FIXMEs, clean up a little
1580 2002-07-09 André Pönitz <poenitz@gmx.net>
1582 * lyxfont.[Ch]: support for wasy symbols
1584 2002-07-08 André Pönitz <poenitz@gmx.net>
1586 * BufferView_pimpl.C: apply John's patch for #93.
1588 2002-07-05 Angus Leeming <leeming@lyx.org>
1590 * BufferView_pimpl.C (buffer): generate previews if desired.
1592 * LColor.h: add "preview" to the color enum.
1594 * LColor.C (LColor): add a corresponding entry to the items array.
1596 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
1599 2002-07-05 Angus Leeming <leeming@lyx.org>
1601 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
1602 The body of the code is now in the method that is passed an ostream &
1603 rather than a file name.
1604 Pass an additional only_preamble parameter, useful for the forthcoming
1607 2002-07-03 André Pönitz <poenitz@gmx.net>
1609 * lyxfunc.C: simplify getStatus() a bit for math stuff
1611 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
1613 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
1615 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1617 * text.C (changeRegionCase): do not change case of all the
1618 document when region ends at paragraph end (bug #461)
1620 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1622 * paragraph.C (startTeXParParams):
1623 (endTeXParParams): add \protect when necessary
1625 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1627 * BufferView_pimpl.C (workAreaExpose): remove warning
1629 2002-06-27 Angus Leeming <leeming@lyx.org>
1631 * Makefile.am: add lyxlayout_ptr_fwd.h.
1633 2002-06-26 André Pönitz <poenitz@gmx.net>
1635 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
1637 2002-06-25 Angus Leeming <leeming@lyx.org>
1639 * lyxfunc.C (dispatch): Comment out the call to
1640 grfx::GCache::changeDisplay. The method no longer exists now that the
1641 pixmap generation part of the graphics loader has been moved into
1644 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
1646 * text2.C: layout as layout
1648 * text.C: layout as layout
1650 * tabular.C (OldFormatRead): layout as layout
1652 * paragraph_pimpl.C (TeXDeeper): layout as layout
1653 (realizeFont): layout as layout
1655 * paragraph.C (writeFile): layout as layout
1656 (validate): layout as layout
1657 (getFont): layout as layout
1658 (getLabelFont): layout as layout
1659 (getLayoutFont): layout as layout
1660 (breakParagraph): layout as layout
1661 (stripLeadingSpaces): layout as layout
1662 (getEndLabel): layout as layout
1663 (getMaxDepthAfter): layout as layout
1664 (applyLayout): layout as layout
1665 (TeXOnePar): layout as layout
1666 (simpleTeXOnePar): layout as layout
1667 (TeXEnvironment): layout as layout
1668 (layout): layout as layout
1669 (layout): layout as layout
1671 * lyxtextclass.C (compare_name): new functor to work with
1672 shared_ptr, layout as layout
1673 (Read): layout as layout
1674 (hasLayout): layout as layout
1675 (operator): layout as layout
1676 (delete_layout): layout as layout
1677 (defaultLayout): layout as layout
1679 * lyxlayout_ptr_fwd.h: new file
1681 * lyxlayout.C (Read): layout as layout
1683 * lyx_cb.C (MenuInsertLabel): layout as layout
1685 * bufferlist.C (newFile): layout as layout
1687 * buffer.C (readLyXformat2): layout as layout
1688 (parseSingleLyXformat2Token): layout as layout
1689 (insertStringAsLines): layout as layout
1690 (asciiParagraph): layout as layout
1691 (latexParagraphs): layout as layout
1692 (makeLinuxDocFile): layout as layout
1693 (simpleLinuxDocOnePar): layout as layout
1694 (makeDocBookFile): layout as layout
1695 (simpleDocBookOnePar): layout as layout
1696 (getLists): layout as layout
1698 * LaTeXFeatures.C (getTClassPreamble): layout as layout
1700 * CutAndPaste.C (cutSelection): layout as layout
1701 (pasteSelection): layout as layout
1702 (SwitchLayoutsBetweenClasses): layout as layout
1704 * BufferView_pimpl.C (Dispatch): layout as layout
1705 (smartQuote): layout as layout
1707 * BufferView2.C (unlockInset): layout as layout
1709 2002-06-24 André Pönitz <poenitz@gmx.net>
1711 * lyxfunc.C: fix #487
1713 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1717 * lyxfunc.C: remove display_shortcuts, show_banner
1719 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1721 * Buffer_pimpl.C: oops, update on resize
1723 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1730 * BufferView.C: use repaint()
1732 * BufferView_pimpl.h:
1733 * BufferView_pimpl.C: s/updateScreen()/repaint()/
1734 as it's a clearer description. Remove superfluous
1737 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
1739 * text.C: fix bug 488. Not ideal, but getting
1740 getWord() to work properly for the insets that
1741 matter is more difficult ...
1743 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1745 * BufferView_pimpl.C:
1748 * lyxfunc.C: remove the six million index lyxfuncs to just
1749 one, and DTRT (bug 458)
1751 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1755 * BufferView_pimpl.h:
1756 * BufferView_pimpl.C: clean up resize() stuff,
1757 and unnecessary updateScreen()s
1759 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
1763 * BufferView_pimpl.h:
1764 * BufferView_pimpl.C:
1767 * minibuffer.C: remove focus management of workarea,
1768 not needed. Use screen's greyOut()
1770 2002-06-17 Herbert Voss <voss@lyx.org>
1772 * converter.C: (convert) do not post a message, when converting
1773 fails, let the calling function decide what to do in this case
1775 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
1777 * lyxfunc.C: tidy up a little
1779 2002-06-16 <alstrup@diku.dk>
1781 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
1782 Got rid of FORMS_H_LOCATION include. Now we are
1785 2002-06-15 LyX Development team <lyx@rilke>
1787 * buffer.[Ch] (sgmlOpenTag):
1788 (sgmlCloseTag): Added support for avoiding pernicious mixed
1789 content. Return number of lines written.
1792 (makeDocBookFile): Fixed calls to sgml*Tag.
1793 Simple white space clean.
1795 (simpleDocBookOnePar): Simple white space clean.
1797 * tabular.[Ch] (docBook): Renamed to docbook and got another
1798 argument to related with the pernicious mixed content.
1800 (docbookRow): Fixed calls for docbook inset method.
1802 2002-06-15 Lyx Development team <larsbj@birdstep.com>
1804 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
1805 so it's X11 independent.
1809 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
1811 2002-06-15 Lyx Development team <lyx@electronia>
1813 * intl.h: Renamed getTrans to getTransManager.
1815 2002-06-14 Angus Leeming <leeming@lyx.org>
1817 * Makefile.am: nuke forgotten stl_string_fwd.h.
1819 2002-06-12 Angus Leeming <leeming@lyx.org>
1821 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
1823 2002-06-13 Angus Leeming <leeming@lyx.org>
1826 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
1828 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
1830 * kbmap.C (getiso): add support for cyrillic and greek
1832 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1836 * BufferView_pimpl.h:
1837 * BufferView_pimpl.C: move bogus scrolling logic
1840 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1843 * BufferView_pimpl.C: view->resize() change
1845 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1847 * BufferView_pimpl.C: topCursorVisible
1850 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1854 * lyx_gui.C: move to frontends/
1858 * lyx_main.C: changes from above
1860 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1867 * lyx_main.C: minor tidy
1869 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1871 * BufferView_pimpl.h:
1872 * BufferView_pimpl.C:
1874 * BufferView.C: make painter() const,
1877 * BufferView2.C: use screen() accessor
1880 * lyx_main.C: some minor cleanup
1882 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1884 * BufferView_pimpl.h:
1885 * BufferView_pimpl.C: remove enter/leaveView,
1888 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
1893 * BufferView_pimpl.h:
1894 * BufferView_pimpl.C: only construct screen once,
1897 * lyxrc.C: remove pointless comment
1899 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1902 * BufferView.C: remove active() and belowMouse()
1904 * BufferView_pimpl.h:
1905 * BufferView_pimpl.C: use workarea() not workarea_,
1906 and make it use a scoped_ptr instead
1908 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
1910 * lyx_gui.C: add debug message on BadWindow
1912 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1914 * sp_spell.C: fdopen is not part of the C++ standard.
1916 * paragraph.C (InsetIterator): use >= instead of ==
1918 2002-06-07 Angus Leeming <leeming@lyx.org>
1920 Fixes needed to compile with Compaq cxx 6.5.
1921 * BufferView_pimpl.C:
1928 * lyxtextclasslist.C:
1933 all c-library variables have been moved into namespace std. Wrap
1934 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
1939 Add a using std::abs declaration.
1941 * kbmap.h (modifier_pair):
1942 * paragraph.h (InsetTable, InsetList):
1943 * lyxfont.h (FontBits):
1944 type definition made public.
1946 * bufferlist.C (emergencyWriteAll): the compiler complains that
1947 there is more than one possible lyx::class_fun template to choose from.
1948 I re-named the void specialisation as lyx::void_class_fun.
1950 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
1952 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
1953 the compiler is is unable to find tostr in write_attribute.
1955 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1957 * buffer.C (sgmlError): hide #warning
1959 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1961 * xtl/*: get rid of xtl, which is not in use anyway
1963 * LyXAction.C (init):
1964 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
1965 were unimplemented xtl experimentation
1967 2002-06-04 André Pönitz <poenitz@gmx.net>
1969 * lyxfunc.C: disable array operation on simple formulae
1971 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
1973 * converter.C: constify a bit
1975 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
1977 * lyx_gui.C: check xforms version correctly
1979 2002-04-30 Herbert Voss <voss@lyx.org>
1981 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
1984 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
1986 * lyxvc.C: fix bug 416 (make sure buffer is saved before
1987 attempt to register it with a VCS)
1989 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1991 * lyx_main.C (init): honor variables LYX_DIR_13x and
1994 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
1998 * lyx_main.C: fix a crash on bad command line,
1999 and give a useful exit status on error
2001 * lyxfunc.C (doImport): allow -i lyx to work
2003 2002-03-30 André Pönitz <poenitz@gmx.net>
2005 * lyxfunc.C: mathed font changes
2007 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2022 * trans_mgr.h: srcdocs, and some minor cleanups
2024 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2026 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
2027 call getFont all the time)
2029 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2031 * switch from SigC signals to boost::signals
2033 2002-05-29 André Pönitz <poenitz@gmx.net>
2035 * paragraph_pimpl.C (getChar): don't call size() too often...
2037 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2039 * paragraph_pimpl.C (insertChar): do not try to update tables when
2040 appending (pos == size())
2042 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
2043 in order to reduce drastically the number of comparisons needed to
2044 parse a large document
2046 2002-05-29 André Pönitz <poenitz@gmx.net>
2052 * textclasslist.[Ch]:
2053 * sp_ispell.h: whitespace change
2055 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2057 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
2058 lyxaction directly now.
2060 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
2064 * lyxvc.C: remove unused headers
2066 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2073 * undo_funcs.C: some cleanups. Use shared_ptr
2074 and a template for the undo stacks.
2076 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2078 * BufferView_pimpl.h:
2079 * BufferView_pimpl.C:
2086 * text2.C: use key_state/mouse_state
2088 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2090 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
2093 * chset.C: change include order
2094 (loadFile): use boost regex and get rid of LRegex and LSubstring
2096 * Makefile.am (BOOST_LIBS): new variable
2099 * LaTeX.C: change include order.
2100 (scanAuxFile): use boost regex and get rid of LRegex and
2104 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2109 * FontInfo.C: moved to frontends/xforms/
2112 * FontLoader.C: moved into frontends for GUIIzation
2117 * lyxfunc.C: changes from above
2119 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2121 * LColor.C: remove spurious X include
2123 * BufferView_pimpl.C:
2128 * text2.C: move font metrics to frontends/
2130 2002-05-24 Juergen Vigna <jug@sad.it>
2132 * undo_funcs.C (textHandleUndo): fix the cursor selection after
2133 setting the undo_cursor.
2135 * ParagraphParameters.h: include local includes first.
2137 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2139 * BufferView_pimpl.C:
2140 * BufferView_pimpl.h:
2144 * screen.C: move WorkArea into frontends/
2150 * BufferView2.C: move LyXScreen into frontends/
2154 * lyx_gui.C: move lyxlookup into frontends/xforms/
2156 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2159 * BufferView_pimpl.C:
2169 * bufferview_funcs.C:
2182 * vc-backend.C: move LyX/XFormsView into frontends/
2184 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2196 * text2.C: move Painter to frontends/
2198 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2200 * buffer.C: comment out some some code that depend upon lyx_format
2203 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
2204 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
2206 * buffer.h (NO_COMPABILITY): turn off compability
2208 * ColorHandler.C: include scoped_array.hpp
2210 * font.C: Use more specific smart_ptr header.
2213 * ShareContainer.h: ditto
2217 * BufferView_pimpl.h: ditto
2218 * ColorHandler.h: ditto
2220 * kbmap.C (defkey): change call to shared_ptr::reset
2222 2002-05-21 Juergen Vigna <jug@sad.it>
2224 * buffer.C (insertErtContents): fix to insert ert asis if it is
2225 non empty. Skip it completely if it contains only whitespaces.
2227 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2229 * BufferView_pimpl.C:
2230 * BufferView2.C: clear selection on paste (bug 393)
2232 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2234 * DepTable.C: include ctime
2236 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2238 * buffer.C (latexParagraphs): Add new argument (moving_arg).
2240 2002-05-14 Juergen Vigna <jug@sad.it>
2242 * text.C (breakParagraph): fixed function to honor the keepempty
2243 layout in the right maner and also to permit the right breaking
2244 algorithm on empty or non empyt keepempty paragraphs.
2246 * paragraph.C (breakParagraph): we have to check also if the par
2247 is really empty (!size()) for isempty otherwise we do the wrong
2250 2002-05-10 Juergen Vigna <jug@sad.it>
2252 * buffer.[Ch] : The following are only changes to the ert
2253 compatibility read reading old LaTeX layout and font stuff and
2254 convert it to ERTInsets.
2256 * buffer.h: added isErtInset().
2258 * buffer.C (struct ErtComp): add a fromlayout bool to check
2259 if we're inside a LaTeX layout.
2260 (isErtInset): new helper function.
2261 (insertErtContents): look for other ert insets before this one
2262 and insert the contents there, so that we don't have subsequent
2263 ERT insets with nothing between them. This way we create only one
2264 inset with multiple paragraphs. Also check if we don't insert only
2265 spaces ' ' as they are ignored anyway afterwards in the .tex file
2266 so if we have only spaces we will ignore this latex part in the
2268 (parseSingleLyXformat2Token \\layout): better compatibility when
2269 reading layout-latex stuff.
2270 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
2272 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
2273 stuff after reading the inset only get the information back from
2276 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
2278 * buffer.C (makeLaTeXFile): Put language options after loading babel.
2280 * LaTeXFeatures.C (getBabelOptions): New method.
2282 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
2284 * BufferView_pimpl.C (Dispatch): work around missing argument for
2287 2002-05-08 Juergen Vigna <jug@sad.it>
2289 * text.C (leftMargin): handle paragraph leftindent.
2291 * paragraph.C (writeFile): write the new \\leftindent tag.
2292 (validate): handle leftindent code.
2293 (TeXEnvironment): handle paragraphleftindent code again.
2295 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
2297 * buffer.C (parseSingleLyXformat2Token): added compatibility code
2298 for paragrap_extra indent code and new token \\leftindent.
2299 (latexParagraphs): handle the leftindent as environment.
2301 * ParameterStruct.h: added leftindent support.
2303 * ParagraphParameters.C (leftIndent): added support functions for
2304 the paragraph left indent.
2306 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
2309 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2311 * paragraph.C (isRightToLeftPar): Return false for a paragraph
2314 * text.C (computeBidiTables): No bidi in insetERT.
2316 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
2319 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2321 * version.C.in: pre 5
2323 2002-05-02 José Matos <jamatos@fep.up.pt>
2324 * buffer.C (makeDocBookFile): white space changes, add newline to
2326 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
2328 * tabular.C (docBook): fix typo.
2330 2002-05-03 Juergen Vigna <jug@sad.it>
2332 * screen.C (drawFromTo): recalculate the rowpointer if we had a
2333 change in LyXText as we can not be sure it was not freed.
2334 (drawOneRow): remove unused code.
2336 * text.C (drawInset): redo the calculation of the need_break_row as
2337 it could have a row which was already freed.
2338 (draw): look at the return value of drawInset and return false if
2339 it also returned false.
2340 (paintRowText): look at the return value of draw and return false if
2341 it also returned false.
2343 * lyxtext.h: added bool return type to drawInset() and draw() so that
2344 if we have a change in the row so that the rowbreak has to be redone
2345 we abort drawing as it will be called again.
2347 2002-05-02 Juergen Vigna <jug@sad.it>
2349 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
2350 a change in the maintext also if we're inside an inset.
2351 (Dispatch): set the cursor again after a break line and after the
2352 screen has been updated as it could be we're in a different row.
2354 * text2.C (fixCursorAfterDelete): check to make sure we don't request
2355 to set the cursor behind the pargraph with > size().
2356 (setCursor): check also for the same paragraph when checking where
2357 to put the cursor if we have a NFR inset.
2359 * buffer.C (parseSingleLyXformat2Token): move the compatibility
2360 parts of layout read further up as it still was in the wrong
2363 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2365 * screen.C (drawFromTo): change sine fullRebreak always return
2368 * buffer.C (parseSingleLyXformat2Token): reindent some
2370 * BufferView_pimpl.C (update): change since fullRebreak always
2372 (Dispatch): git rid of the last hardcoded "Standard"s.
2374 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
2376 * text2.[Ch] (fullRebreak): make it return void now that we always
2379 2002-04-30 Juergen Vigna <jug@sad.it>
2381 * buffer.C (parseSingleLyXformat2Token): reset the font before the
2382 ert compatibility check for "latex" layout.
2384 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
2386 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
2387 minipages: use col% instead of p%, and also use the current font.
2388 (makeLaTeXFile): Fix use babel condition.
2389 (parseSingleLyXformat2Token): Correct font when reading old floats.
2391 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2393 * BufferView_pimpl.C (Dispatch): Check that float type exists when
2394 inserting list of floats.
2396 2002-04-25 Herbert Voss <voss@lyx.org>
2398 * MenuBackend.C (expand): don't add the graphics extensions to the
2401 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2403 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
2404 non-existing layout, do not complain if it was the default layout
2405 of the original class (bug #342)
2407 2002-04-24 Juergen Vigna <jug@sad.it>
2409 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
2410 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
2412 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2414 * buffer.C (getBibkeyList): If using \bibliography, return the
2415 option field with the reference itself. Enables us to provide natbib
2416 support when using \bibliography.
2418 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
2420 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
2422 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
2423 natbib is provided by the LaTeX class.
2425 2002-04-23 Juergen Vigna <jug@sad.it>
2427 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
2430 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
2432 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2434 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
2436 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
2437 ensuremath around textordmasculine, textordfeminine and
2440 2002-04-19 Juergen Vigna <jug@sad.it>
2442 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
2443 reinitializing the buffer otherwise row-dimensions may be wrong.
2444 (update): reset also the selection cursors if they do exits otherwise
2445 their x/y positions may be wrong.
2447 * text2.C (cursorDown): don't enter the inset if we came from a row
2448 above and are one row over the inset.
2450 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
2451 really leaving an inset.
2453 2002-04-18 Juergen Vigna <jug@sad.it>
2455 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
2456 of the selected paragraph does not have the selected layout also if
2459 * text2.C (setLayout): fixed bug which did not change last selected
2462 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
2463 changed the read and substituted \\end_float with \\end_inset!
2465 * BufferView_pimpl.C (cursorPrevious):
2466 (cursorNext): fixed to make it work with rows heigher than the work
2467 area without moving the cursor only the draw of the row.
2468 (workAreaMotionNotify): fix jumping over high rows.
2470 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
2472 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
2475 2002-04-16 Juergen Vigna <jug@sad.it>
2477 * text2.C (setCursor): set also the irow().
2478 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
2480 (cursorDown): support for locking an inset if the x_fix value goes
2481 inside it. That way I can transverse insets too with cursor up/down.
2483 * lyxrow.h: added irow helper function same as other (i) functions.
2485 * BufferView_pimpl.C (cursorPrevious):
2486 (cursorNext): fixed for insets!
2488 2002-04-15 Juergen Vigna <jug@sad.it>
2490 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
2491 position otherwise it is wrong in some cases.
2493 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
2494 inside the inset before the call.
2496 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2498 * buffer.[Ch] (getBibkeyList): make it const.
2500 2002-04-12 Juergen Vigna <jug@sad.it>
2502 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
2504 * text2.C (getCursorX): new helper function
2505 (setCursor): compute also ix_
2506 (setCursorFromCoordinates): set also ix.
2508 * lyxcursor.h: added ix_ and helper functions.
2510 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
2512 * buffer.C (insertStringAsLines): dont break paragraph if the this
2513 paragraph is inside an inset which does not permit it!
2515 * text.C (breakParagraph): honor keepempty flag and break the paragraph
2516 also with no chars on this paragraph.
2517 (paintRowText): only paint stuff if it's inside the workarea!
2519 * paragraph.C (breakParagraph): honor keepempty flag and break the
2520 paragraph always below not above.
2522 * BufferView2.C (unlockInset): update the paragraph layout on inset
2523 unlock as we changed paragraph in such a case.
2525 * lyxfind.C (LyXFind): clear the former selection if not found!
2527 * text2.C (insertInset): freeze Undo after setUndo so that it is not
2528 again called in insertChar().
2530 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
2531 an inset which uses the whole row!
2532 (rightMargin): ditto.
2533 (insertChar): force a rebreak if we inserted an inset!
2535 2002-03-28 Herbert Voss <voss@lyx.org>
2537 * lyxlength.[Ch]: add inBP() to get the right PS-point
2538 units (BigPoint). With inPixels we have rounding errors
2540 2002-04-11 Juergen Vigna <jug@sad.it>
2542 * text2.C (setCursorFromCoordinates): set iy to the right value.
2543 (setCursor): add check if row->previous exists!
2545 * buffer.C (parseSingleLyXformat2Token): reset font after read of
2546 an old float_type as this was the case in the old code!
2548 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
2550 * BufferView2.C (showLockedInsetCursor): use iy
2551 (fitLockedInsetCursor): ditto
2553 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
2554 locked insets as there we have the right value now.
2556 * lyxcursor.C: added iy_ variable and iy functions to set to the
2557 baseline of cursor-y of the locked inset.
2559 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
2560 (setCursor): fixed for insets which need a full row.
2562 * text.C (rowLastPrintable): don't ignore the last space when before
2563 an inset which needs a full row.
2564 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
2565 as last character of a row when before a inset which needs a full row.
2567 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2569 * version.C.in: update date
2571 * text2.C (fullRebreak): try to always return true and see what
2574 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2576 * MenuBackend.C (expand): use Floating::listName
2578 * FloatList.C (FloatList): add listName argument to the built-in
2581 * Floating.[Ch]: add listName member, which is the 'List of XXX'
2582 text associated with the float.
2584 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2586 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
2588 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2590 * ShareContainer.h: add a couple of missing typenames.
2592 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
2594 * lyxrc.C (getDescription): use _() correctly rather than N_().
2596 2002-03-28 Herbert Voss <voss@lyx.org>
2598 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
2599 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
2601 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2603 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
2604 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
2606 2002-03-29 Juergen Vigna <jug@sad.it>
2608 * lyxfunc.C (dispatch): add a missing fitCursor call.
2610 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
2611 it was scrolled by a cursor move, so return the bool status.
2613 * BufferView.C (fitCursor): return the bool flag also to the outside
2614 world as this is needed.
2616 * screen.C (toggleToggle): don't subtract the offset if it's positive.
2618 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
2619 call the edit() as it is not needed (and wrong) IMO.
2620 (workAreaButtonPress): set the screen_first variable before evt.
2621 unlock the inset as this may change screen_first and then we have
2622 a wrong y position for the click!
2624 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2626 * MenuBackend.C (expand): another translation that I missed
2628 2002-03-28 Juergen Vigna <jug@sad.it>
2630 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
2632 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
2634 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2636 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
2638 * MenuBackend.C (expand): fix export/view/update when there is no
2641 2002-03-27 Herbert Voss <voss@lyx.org>
2643 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
2646 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2648 * bufferview_funcs.C (currentState): only show paragraph number
2649 for is DEVEL_VERSION is set.
2651 * lyxfunc.C (dispatch): put warning in INFO channel
2653 * MenuBackend.C (expand): translate the name of floats
2655 * FloatList.C (FloatList): mark the float names for translation
2657 * converter.C (convert): use LibScriptSearch
2659 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2661 * MenuBackend.C (defaults): fix default menu (we might as well get
2664 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
2666 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
2669 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
2671 * lyxvc.C: reorder includes.
2673 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
2675 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
2678 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
2680 * CutAndPaste.C: change layouts earlier on paste
2681 to avoid crashing when calling getFont()
2683 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2685 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
2688 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2690 * WorkArea.C: remove 'Pending' debug message.
2692 * most files: ws cleanup
2694 * buffer.[Ch]: ws changes
2696 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
2698 2002-03-21 Juergen Vigna <jug@sad.it>
2700 * tabular.C (SetMultiColumn): collapse also the contents of the
2701 cells and set the last border right. Added a Buffer const * param.
2703 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2705 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
2708 2002-03-19 Juergen Vigna <jug@sad.it>
2710 * text2.C (clearSelection): reset also xsel_cache.
2712 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
2713 where it needs to be called (John tells us to do so too :)
2714 (selectionLost): reset sel_cache.
2716 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
2718 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2720 * text2.C (setCursorIntern): put debuging code in INSETS channel
2722 2002-03-19 André Pönitz <poenitz@gmx.net>
2724 * lyxfunc.C: tiny whitespace change
2726 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2728 * ToolbarDefaults.C (init):
2729 * LyXAction.C (init):
2731 * BufferView_pimpl.C (Dispatch):
2732 * lyxfunc.C (dispatch): remove LFUN_DEPTH
2734 2002-03-19 Allan Rae <rae@lyx.org>
2736 * exporter.C (Export): removeAutoInsets before doing anything else.
2737 While I've just introduced a dependency on BufferView this really is
2738 the best place to clean the buffer otherwise you need to cleanup in
2739 a dozen places before calling export or cleanup in a dozen functions
2742 * converter.C (runLaTeX):
2743 (scanLog): Better handling of removeAutoInsets and screen updates.
2745 * lyxfunc.C (dispatch): small whitespace changes
2747 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
2749 * WorkArea.C (C_WorkAreaEvent): return a value.
2750 (event_cb): return 1 if we handled the event, 0 otherwise.
2752 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
2754 2002-03-18 Juergen Vigna <jug@sad.it>
2756 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
2757 (GetAdditionalWidth): ditto.
2761 * BufferView2.C (copy): use getLyXText() so that we do it inside an
2762 inset if we're there actually (probably not used right now but this
2763 is the direction to go for unifying code).
2764 (paste): disable code to clear the selection.
2766 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
2767 inside an InsetText and move the check further up as it is in the
2770 * text2.C (pasteSelection): set a selection over the pasted text.
2772 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
2774 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
2775 and libgraphics to build on Cygwin.
2777 2002-03-15 Juergen Vigna <jug@sad.it>
2779 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
2780 inserting an Inset into the paragraph. I know this is not the best
2781 fix but we already use current_view in CutAndPaste so we will remove
2782 all of it's using at the same time.
2784 * buffer.C (sgmlError): deactivated function till it is rewritten in
2785 the right mode, now it can create problems.
2787 * paragraph.C (isLineSeparator): check if getInset returns != 0,
2788 before accessing it.
2790 2002-03-14 Juergen Vigna <jug@sad.it>
2792 * undo_funcs.C (textHandleUndo): do the right thing when updating
2793 the inset after the undo/redo.
2795 * text2.C (setCursor): just some testcode for #44 not ready yet.
2797 * undo_funcs.C (textHandleUndo): set the next() and previous()
2798 pointers of the paragraph to 0 before deleting otherwise we have
2799 problems with the Paragraph::[destructor].
2801 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
2802 on a paragraph insertion.
2804 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
2806 * buffer.C (asciiParagraph): use += operator for char append to
2809 * paragraph.C (getFontSettings): compare >= not just >
2810 (highestFontInRange): ditto
2813 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2815 * paragraph.C: change several algorithm to be more appripriate for
2816 the problem domain. This is lookip in FontList and in the InsetList.
2818 2002-03-13 André Pönitz <poenitz@gmx.net>
2821 * LyXAction.C: remove unused LFUN_MATH_MACROARG
2823 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
2828 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
2830 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
2832 * Painter.C (display): anon helper function, adjust code for this
2834 (pixmap): remove function.
2836 * Painter.h: remove private display variable.
2838 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
2840 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
2842 * WorkArea.[Ch]: remove figinset_canvas cruft.
2844 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
2846 * lyxtextclass.C (operator): add one item cache optimization.
2848 * bufferlist.h: doxy changes
2850 * bufferlist.C: ws changes
2852 * DepTable.[Ch] (ext_exist): place const in the right spot.
2854 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
2856 (workAreaExpose): call resizeInsets when the with BufferView changes.
2857 (Dispatch): adjust for protectedBlank removal
2858 (specialChar): call updateInset if the insert went ok.
2860 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
2861 specialChar instead.
2863 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
2865 * BufferView.h: doxy change
2867 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
2869 * lyxtextclass.C (operator[]): remove non-const version
2870 (defaultLayout): remove non-const version
2872 2002-03-12 Juergen Vigna <jug@sad.it>
2874 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
2875 did resize the LyXText too.
2877 * buffer.C (readLyXformat2): set layout information on newly allocated
2880 * tabular.C (OldFormatRead): set layout information on the paragraph.
2882 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2884 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
2886 2002-03-11 Juergen Vigna <jug@sad.it>
2888 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
2890 (resizeCurrentBuffer): force also the insets to resize themselfes.
2891 (moveCursorUpdate): fixed up for InsetText.
2893 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
2896 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
2897 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
2898 value of Dialogs::tooltipsEnabled().
2899 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
2901 2002-03-08 Juergen Vigna <jug@sad.it>
2903 * BufferView_pimpl.C (updateInset): update inset inside inset also
2904 if it isn't inside theLockingInset().
2906 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2908 * buffer.C (asciiParagraph): redo some of the word and line length
2910 (getLists): look for Caption instead of caption.
2912 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2914 * buffer.C (Buffer): initialize niceFile to true
2917 (makeDocBookFile): make sure niceFile is true on exit
2919 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2921 * buffer.C (makeLaTeXFile): escape ~ in \input@path
2923 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2925 * LyXSendto.C: remove.
2926 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
2927 * lyx_gui.C: remove now-redundant comment.
2928 * ColorHandler.h: remove forward declaration of class WorkArea.
2929 * lyxfunc.C: remove #include "WorkArea.h".
2931 2002-03-07 Juergen Vigna <jug@sad.it>
2933 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
2934 got moved away with the DEPM and also set the inset_owner always
2935 right which before could have been omitted.
2937 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2939 * buffer.C (parseSingleLyXformat2Token): use default layout is the
2940 wanted layout is not found.
2942 2002-03-07 Juergen Vigna <jug@sad.it>
2944 * CutAndPaste.C (cutSelection): another layout settings forgotten.
2946 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
2948 * paragraph.C (breakParagraph): use default layout not layout of
2950 (Paragraph): clear ParagraphParameters.
2952 2002-03-06 Juergen Vigna <jug@sad.it>
2954 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
2955 otherwise it would not be a valid lenght. Fixed a special case in
2956 the minipage compatibility read where we end the document with a
2959 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
2960 was set as it could be 0 for InsetTexts first entry.
2962 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2964 * paragraph.C (writeFile): if layout is empty write out
2965 defaultLayoutName().
2967 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
2968 file without named layout we set layout to defaultLayoutName().
2970 2002-03-06 Juergen Vigna <jug@sad.it>
2972 * CutAndPaste.C (copySelection): set layout for new paragraph.
2974 * text.C (prepareToPrint): leave ERT inset left aligned
2975 (leftMargin): don't indent paragraphs inside ERT insets
2977 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2979 * paragraph.C (breakParagraph): dont call clear do the work manually
2981 * paragraph.[Ch] (clear): remove function
2983 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2985 * paragraph.C (Paragraph): dont call clear, the work has already
2988 * lyxtextclass.C (operator): assert if n is empty
2990 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
2991 work manually instead.
2993 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
2995 * BufferView_pimpl.C: protect selectionLost against text == 0
2997 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
2999 * text.C (breakParagraph): fix a setting layout to '0' problem.
3001 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
3003 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
3004 final location of file, for the included files, and graphics.
3006 2002-03-05 Juergen Vigna <jug@sad.it>
3008 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
3010 2002-03-04 Juergen Vigna <jug@sad.it>
3012 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
3014 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
3015 last column of multicolumn cells.
3016 (SetWidthOfMulticolCell): recalculate NMC and real columns.
3018 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
3020 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
3021 file if it doesn't go to a temporary file.
3023 * buffer.C (sgmlOpenTag):
3024 (sgmlCloseTag): remove extra newline insertion.
3026 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3028 * text.C (getRowNearY): comment out debug msg
3030 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3032 * text2.C: first -> first_y
3034 * text.C (getRowNearY): add some attemts at a possible
3035 optimization, not working.
3037 * tabular.[Ch]: add BufferParams to several function so that newly
3038 created paragraph can be initialized to he default layotu for the
3041 * tabular-old.C (ReadOld): add buf->params to call of Init
3043 * screen.C: rename text->first to text->first_y
3045 * paragraph.C (breakParagraph): always set layout in the broken
3048 * lyxtextclass.C (Read): remove lowercase
3051 (delete_layout): ditto
3053 * lyxtext.h: rename first -> first_y
3055 * lyxlayout.C (Read): remove lowercase
3058 (obsoleted_by): ditto
3060 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
3062 * buffer.C (insertErtContents): add params are to InsetERT
3063 (parseSingleLyXformat2Token): add code to check if a paragraphs
3064 layout really exist.
3065 (parseSingleLyXformat2Token): add params to several inset
3067 (asciiParagraph): remove lowercase, do the layout comparisons with
3070 * BufferView_pimpl.C (cursorNext): first -> first_y
3071 (resizeCurrentBuffer): first -> first_y
3072 (updateScrollbar): first -> first_y
3073 (scrollCB): first -> first_y
3074 (workAreaMotionNotify): first -> first_y
3075 (workAreaButtonPress): first -> first_y
3076 (checkInsetHit): first -> first_y
3077 (cursorPrevious): first -> first_y
3078 (cursorNext): first -> first_y
3079 (Dispatch): add buffer_->params to severl inset contructors
3081 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3083 * lyxlayout.C (Read): remove some debug info that I forgot.
3085 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
3086 clean up the code slightly.
3087 (makeLinuxDocFile): ditto
3088 (makeDocBookFile): ditto
3090 * text2.C: layout as string
3092 * text.C: layout as string
3094 * paragraph_pimpl.C: layout as string
3096 * paragraph.[Ch]: layout as string
3098 * lyxtextclasslist.[Ch]: layout as string
3100 * lyxtextclass.[Ch]: layout as string
3102 * lyxtext.h: layout as string
3104 * lyxlayout.[Ch]: layout as string
3106 * lyx_cb.C: layout as string
3108 * bufferview_funcs.C: layout as string
3110 * bufferparams.C: layout as string
3112 * buffer.C: layout as string
3114 * LyXView.[Ch]: layout as string
3116 * LaTeXFeatures.[Ch]: layout as string
3118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
3120 * BufferView_pimpl.C: change current_layout to string, remove
3125 (workAreaButtonRelease): layout as string
3127 * BufferView2.C (unlockInset): adjust
3129 * vspace.C (asLatexCommand): use an explict temp variable.
3131 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
3133 * Makefile.am: use FRONTEND_*
3135 2002-03-01 Juergen Vigna <jug@sad.it>
3137 * tabular.C (SetWidthOfMulticolCell): changed to something better
3138 I hope but still work in progress.
3139 (recalculateMulticolumnsOfColumn): renamed function from
3140 recalculateMulticolCells as it is more appropriate now.
3141 (SetWidthOfCell): calculate multicols better.
3143 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3145 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
3147 * lyxfunc.C (processKeySym): print sequence also if it is
3148 `deleted' (complete)
3150 * kbsequence.C (print): print sequence even if it is deleted
3151 (complete would be a better word, actually).
3153 * lyxfunc.C (dispatch): print complete options after a prefix key
3155 * vspace.C (asLatexCommand): rewrite in a slightly different form.
3157 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
3159 * text2.C (setCharFont): eliminate setCharFont code duplication.
3161 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3163 * BufferView_pimpl.C (Dispatch): remove bogus handling of
3164 LFUN_TABULAR_FEATURE (bug #177)
3166 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
3168 * Makefile.am: remove figure.h
3170 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
3172 * Bufferview_pimpl.C:
3184 * text2.C: remove #include "lyx_gui_misc.h".
3186 * LaTeX.C: added #include <cstdio>
3188 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3190 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
3191 that the paragraph following this one can have.
3193 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
3195 * vspace.C (asLatexCommand): fix bogus gcc warning
3197 * Makefile.am (lyx_SOURCES): remove vms_defines.h
3199 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
3201 * text2.C (setLayout): get rid of redundant code
3203 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
3205 * text2.C (incDepth): make sure depth cannot be increased beyond
3208 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
3210 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
3211 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
3213 * PainterBase.h (image):
3214 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
3217 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3221 * BufferView_pimpl.C:
3222 * BufferView_pimpl.h:
3242 * sp_spell.C: remove fig inset, and the crap house of
3243 cards that follows it
3245 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
3251 * nt_defines.h: move .h into support/
3253 * vms_defines.h: remove
3255 * WorkArea.C: add space in debug output
3259 * buffer.C: add WITH_WARNINGS
3263 * bufferlist.C: s/retrive/retrieve/, add docs
3274 * lyxgui.C: add ID to X error handler
3276 * lyxtestclass.c: fix typo
3278 2002-02-26 Juergen Vigna <jug@sad.it>
3280 * tabular_funcs.C (write_attribute): changed so that some default
3281 attributes are not written at all.
3282 (getTokenValue): set default values before trying to read the
3283 value so we have the return value always set as default if we don't
3284 find the token we search for.
3286 * tabular.C (Write): write bools as bools not as strings!
3288 2002-02-22 Juergen Vigna <jug@sad.it>
3290 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
3291 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
3293 * text.C (leftMargin): don't add an indent for paragraphs inside
3294 tabular cells (fix #208).
3296 2002-02-21 José Matos <jamatos@fep.up.pt>
3298 * tabular.C (docBook): fixed support for long tables.
3300 2002-02-20 Juergen Vigna <jug@sad.it>
3302 * text2.C (getFont): get the drawing font of the Inset if this
3303 paragraph is inside an inset (only important for InsetERT for now).
3305 * buffer.C (insertErtContents): use new lanugage params in ERT
3308 * CutAndPaste.C: commenting out seemingly uneeded code.
3310 2002-02-19 Allan Rae <rae@lyx.org>
3312 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
3313 Iterators might be simple to use but they also get invalidated.
3314 (removeAutoInsets): renamed saved cursor tracking variables and added
3315 some comments to clarify what everything does.
3317 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
3324 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
3325 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
3328 * vc-backend.h: remove #include "support/syscall.h"
3332 * converter.C: rearrange #includes in Lars' approved fashion.
3334 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
3335 forward declare class Timeout in the header file.
3337 * XFormsView.C: changes due to the above.
3339 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
3342 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
3343 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
3345 2002-02-18 José Matos <jamatos@fep.up.pt>
3347 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
3350 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
3352 * a lot of small ws changes
3353 * add a lot of using std::XXX
3354 * use std construcs some places where approp.
3355 * use some exisint stuff from lyxfunctional where approp.
3356 * Make file changes to use partial linking (lets test this now...)
3358 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3362 remove #include "support/syscontr.h" as it's redundant. Always has been.
3370 change Systemcalls::System to Systemcalls::Wait and
3371 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
3372 No change of functionality, just reflects the stripped down Systemcalls
3375 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
3377 * debug.[Ch]: add a GRAPHICS type to the enum.
3379 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3381 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
3383 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
3386 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3388 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
3389 match the changes below.
3391 * text2.C (toggleInset): if there is not editable inset at cursor
3392 position, try to see if cursor is _inside_ a collapsable inset
3395 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3397 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
3398 document menu has a nice checkbox
3400 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3402 * lyxlength.C (asLatexString): change PW to output as percent of
3405 * lengthcommon.C: change '%' to 't%'
3407 * lyxfunc.C (dispatch): a few comments from Martin
3409 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
3413 * BufferView_pimpl.h:
3414 * BufferView_pimpl.C: clear our selection when X tells us we've lost
3417 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3419 * vspace.C (inPixels): fix compiler warning
3421 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3423 * lyxfunc.C (getStatus): fix status message for disabled commands.
3425 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
3427 * BufferView_pimpl.C: fix crash on close buffer
3428 during selection (#227)
3430 2002-01-27 Herbert Voss <voss@lyx.org>
3432 * buffer.C: link old Figure to new graphic inset
3434 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
3436 * FontLoader.C (getFontinfo): Change the latex font names in order
3437 to match the names of type1inst.
3439 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3441 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
3443 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
3446 (remove_files_with_extension): ditto
3447 (remove_file): ditto
3450 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
3451 document is smaller than the work area height. Do not initialize
3452 static variables to 0.
3454 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3456 * lyx_gui.C (init): give the toolbar tooltips a normal font.
3458 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
3459 LFUN_LAYOUT_PARAGRAPHS.
3461 * tabular.C (GetCellFromInset): new method. Finds an inset in a
3462 tabular. It is possible to provide a possible cell, which will
3463 typically be the actcell from the corresponding insettabular
3465 * lyxfunc.C (getStatus): small cleanup; disable
3466 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
3469 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3471 * tabular.C (Validate): remove broken optimization (fixes bug #201)
3473 * paragraph.C (startTeXParParams):
3474 (endTeXParParams): new methods. The LaTeX code to
3475 start/end paragraph formatting
3476 (simpleTeXOnePar): call startTeXParParams also when paragraph is
3477 empty (fixes bug #200)
3479 * vspace.C (inPixels): adapt to the change below
3480 (inPixels): [later] more cleanups (remove unused variables)
3482 * lyxlength.C (inPixels): change to use a width and a height as
3485 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3487 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
3488 Replaced with \paperwidth
3490 * DepTable.C (insert): add std:: qualifier
3492 2002-01-18 Allan Rae <rae@lyx.org>
3494 * text2.C (removeRow): add comment. Should other refresh_?? vars be
3497 * text.C (drawInset): Turned out I didn't know enough about how
3498 rebreaking worked. This fixes most of the redraw problems. I see
3499 an occasional cursor trail when a line is broken now and the cursor
3500 placement can seem out by a few pixels also after a rebreak.
3502 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3504 * buffer.C (parseSingleLyXformat2Token): update because minipage
3505 width is now a LyXLength
3507 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
3509 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
3512 2002-01-17 Juergen Vigna <jug@sad.it>
3514 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
3516 * BufferView2.C (lockInset): call edit() so that theLockingInset()
3517 is set correctly and the inset is updated correctly.
3519 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3521 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
3522 the beginning of the loop.
3524 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
3526 * lyxrc.C: improve help for use_scalable_fonts
3528 2002-01-17 Allan Rae <rae@lyx.org>
3530 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
3532 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3534 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
3535 make sure to set their inset_owner to the right value (bug #171)
3537 2001-12-12 Ben Stanley <bds02@uow.edu.au>
3540 * DepTable.C: Implement mtime checking to reduce time spent doing
3543 2002-01-16 Juergen Vigna <jug@sad.it>
3545 * tabular.C (GetAdditionalHeight): one of error fixed.
3547 * lyxrc.C (output): small fix in writing use_pspell.
3549 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
3551 * sp_base.h: #include LString.h
3553 2002-01-16 Allan Rae <rae@lyx.org>
3555 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
3556 Can someone check this please?
3558 * text.C (drawInset): It was possible that p.row would be removed by
3559 breakAgainOneRow upsetting a few other settings. There may be another
3560 small tweak possible by setting need_break_row = 0 when p.row has been
3561 removed but I don't know enough about the logic here.
3563 2002-01-15 Allan Rae <rae@lyx.org>
3565 * text.C (insertChar): removed conditional truism.
3567 * BufferView2.C (removeAutoInsets): More tweaks.
3568 cur_par_prev could be a stray pointer. Check for trailing empty line
3569 in case last line was cur_par and only had an error inset on it.
3571 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3573 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
3576 * vc-backend.C (most methods):
3577 * exporter.C (Export):
3578 * converter.C (convert):
3580 * LyXSendto.C (SendtoApplyCB):
3581 * lyxfunc.C (dispatch):
3585 * lyx_cb.C (AutoSave):
3587 * BufferView_pimpl.C (MenuInsertLyXFile):
3588 * buffer.C (runChktex): use Buffer::filePath().
3590 * buffer.h: rename filename to filename_; rename filepath to
3591 filepath_ and make it private
3592 (filePath): new method
3594 * buffer.C (writeFile): use fileName()
3597 * lyx_main.C (init): fix starting of LyX when the binary is a
3598 link from so,ewhere else.
3600 * minibuffer.C: include <cctype> for isprint
3602 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3604 * buffer.C (parseSingleLyXformat2Token): changes associated with the
3605 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
3606 name clash with InsetCollapsable's width function.
3608 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3610 * lastfiles.C: include <iterator>
3612 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3614 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
3617 * buffer.C (makeLaTeXFile): ditto.
3618 Also make loop operation more transparent.
3620 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3622 * ToolbarDefaults.C: remove trailing comma closing namespace.
3624 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
3626 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
3629 * trans.C (Load): comment out unused variable, allowed.
3631 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3633 * minibuffer.[Ch] (append_char): new method to recieve input from the
3634 drop-down completion browser. If a key was pressed, then recieve this
3635 char and append it to the existing string.
3636 (peek_event): modify the positioning data passed to the completion
3637 browser so that it can be placed above the minibuffer rather than below.
3638 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3640 * LyXAction.C (init): alloe error-next for readonly documents.
3642 * BufferView2.C (ChangeRefsIfUnique): use standard version of
3645 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3647 * bufferlist.C (readFile): create the buffer _after_ checking that
3650 * lyxfunc.C (verboseDispatch): fix handling of arguments
3652 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
3654 * lyxrc.C: use string::erase() instead of initializing to "".
3657 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
3659 * BufferView_pimpl.h:
3660 * BufferView_pimpl.C:
3663 * text2.C: tell X when we have made a selection for copying
3665 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3667 * BufferView_pimpl.C (MenuInsertLyXFile):
3668 * lyxfunc.C (menuNew):
3670 (doImport): add shortcuts to directory buttons
3672 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
3675 * lyxfunc.C (setStatusMessage):
3676 (getStatusMessage): new methods
3677 (getStatus):use setStatusMessage instead of setErrorMessage
3678 (dispatch): when function is disabled, set error message here
3679 [instead of in getStatus previously]
3681 * BufferView_pimpl.C (workAreaButtonRelease): update
3682 toolbar/menubar here too.
3684 2002-01-13 Allan Rae <rae@lyx.org>
3686 * BufferView2.C (removeAutoInsets): finished off earlier fix.
3687 Now seems indestructible. Remaining task is to audit all other
3688 code affected by deleteEmptyParagraphMechanism. One small quirk
3689 left is that an empty document with an error in the preamble can
3690 be made to report an error but no error box appears. I don't know
3692 (removeAutoInsets): Improved comments.
3694 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
3697 * Thesaurus.C: update for Aiksaurus 0.14
3699 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
3701 * text2.C (firstParagraph): removed member function, all uses
3702 replaces with ownerParagraph
3703 (redoParagraphs): here
3705 (toggleAppendix): here
3706 * BufferView2.C (insertErrors): here
3707 (setCursorFromRow): here
3709 2002-01-13 Allan Rae <rae@lyx.org>
3711 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
3712 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
3713 There is still a way to segfault this although you may have to do this
3714 multiple times: Have an InsetERT with an unknown command in it.
3715 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
3716 <down-arrow>, <Enter> again, View->DVI, BANG!
3718 * text2.C (setCursor):
3719 (deleteEmptyParagraphMechanism):
3720 * lyxtext.h (setCursor):
3721 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
3722 Making use of the return value may help fix other bugs.
3724 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3726 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
3728 * LyXView.C (updateMenubar): call MenuBar::update here
3729 (updateToolbar): but not here
3730 (showState): do not update toolbar/menubar
3732 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
3733 should need to care about that.
3735 * lyxfunc.C (verboseDispatch): simplify a bit
3736 (getStatus): have a version which takes a pseudoaction, and
3737 another which requires a (kb_action,string).
3739 * LyXAction.C (retrieveActionArg): make it work also when action
3740 is not a pseudo-action.
3741 (getActionName): simplify a bit
3744 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3746 * lyxfunc.C (verboseDispatch): new families of methods with
3747 several ways to specify a command and a bool to indicate whether
3748 the command name and shortcut should be displayed in minibuffer
3749 (eventually, we could extend that to a finer bitmask like
3750 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
3751 (dispatch): the pristine dispatch command which just, well,
3752 dispatchs! Note it still sets its result to minibuffer; I'm not
3755 * lyxfunc.h: remove setHintMessage
3757 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
3759 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3761 * BufferView_pimpl.C (specialChar): delete new inset if we have
3762 not been able to insert it.
3764 * kbmap.C: revert to using int instead of kb_action, since all we
3765 are dealing with is pseudo-actions.
3767 * LyXAction.C (searchActionArg): change to return int instead of
3768 kb_action, since the result is a pseudoaction.
3770 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
3772 * buffer.C (insertErtContents): Fix (partially) the font bug.
3774 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
3776 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
3777 as the other one is broken on my machine!
3779 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
3782 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
3784 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
3786 * lyxrc.[Ch]: change names and descriptions of popup font variables to
3787 reflect their actual use. Provide compatibility code for older lyxrc
3790 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
3792 change names of popup font variables in line with the changes to lyxrc.C
3794 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3796 * buffer.C (asciiParagraph): avoid outputing a word twice after
3799 * lyxrc.C (getDescription): document that document_path and
3800 template_path can be empty.
3802 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3804 * LaTeXFeatures.C (getMacros):
3805 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
3807 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
3809 * LaTeXFeatures.C (useFloat): require "float" here instead of in
3811 (getPackages): rename feature "floats" to "float". Use an array to
3812 iterate over 'simple' features (i.e. just a \usepackage). Add
3813 handling of "amsmath" (renamed from "amsstyle").
3815 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
3817 * LaTeXFeatures.C (require): Prevent duplicate entries in the
3820 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
3822 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
3823 FuncStaus::FuncStatus & FuncStaus::some_method().
3825 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3827 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
3828 of the func_satus stuff. Edited and massaged in various ways by
3831 * lyxfunc.C (getStatus): use FuncStatus
3833 2002-01-08 Juergen Vigna <jug@sad.it>
3835 * text.C (nextBreakPoint): use function Inset::isChar().
3837 * paragraph.C (TeXOnePar): use function
3838 Inset::forceDefaultParagraphs.
3840 * buffer.C (latexParagraphs): use function
3841 Inset::forceDefaultParagraphs.
3843 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3845 * lyx_gui.C (init): set the style of the menu popups to
3846 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
3848 2002-01-07 Juergen Vigna <jug@sad.it>
3850 * text.C (setHeightOfRow): small fix
3851 (prepareToPrint): don't look at alignment if we don't have the place
3854 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3856 * box.C: New file. Move the Box methods and functions out of box.h,
3857 following Lars' suggestion.
3859 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
3861 * box.h: #include "support/LOstream.h", needed for inlined function.
3864 * lyxtextclasslist.C: added some using std declarations.
3866 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
3868 * box.h: make signed dimensions to allow insets wider than
3869 the screen (bug #162)
3871 * BufferView_pimpl.C: add some insetHit debug
3873 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3875 * vc-backend.C: add FIXME
3877 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3879 * lyxfunc.C (getStatus): enable code for showing math font status
3882 2002-01-07 Juergen Vigna <jug@sad.it>
3884 * text.C (nextBreakPoint): removed debug output not needed anymore.
3886 2002-01-06 Juergen Vigna <jug@sad.it>
3888 * text.C (nextBreakPoint): fixed up this function we had this bug
3889 since ever but now hopefully we break row better.
3890 (insertChar): we have to check if an inset is the next char as it
3891 could now happen that a large inset is causing a break.
3893 2002-01-05 Juergen Vigna <jug@sad.it>
3895 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
3896 if it doesn't like to be drawed.
3898 2002-01-04 Juergen Vigna <jug@sad.it>
3900 * BufferView2.C (lockInset): forgot to set a cursor.
3902 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
3904 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
3909 * form_maths_panel.C:
3910 * form_maths_panel.h:
3911 * form_maths_panel.fd: implemented sub- and super- buttons in math
3914 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
3915 (or ^ space) to be used as in TeX (req'd by André).
3917 * lyxfunc.C: Allow ^ and _ again to be used both as
3918 super/subscript (mathed) and as themselves (in text).
3920 2002-01-03 Allan Rae <rae@lyx.org>
3922 * LyXView.C (updateWindowTitle): Setup a short icon title of either
3923 "LyX" or the filename of the current buffer if it has one. This is a
3924 modified form of John Levon's patch.
3926 * XFormsView.C (setWindowTitle): also set icon title.
3928 * LyXView.h (setWindowTitle): signature changed.
3929 * XFormsView.h (setWindowTitle): ditto.
3931 2002-01-02 Juergen Vigna <jug@sad.it>
3933 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
3935 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
3937 * screen.C (topCursorVisible): introduce a temp var for
3938 text->cursor.row(), handle the case where this row is null. (kindo
3941 * text2.C (setCursor): add a couple of asserts.
3943 * paragraph.h (inset_iterator): add -> operator
3945 * paragraph.[Ch] (autoDeleteInsets): remove member function
3947 * BufferView2.C (removeAutoInsets): rewrite to handle the old
3948 cursor pos correctly and handle inset deletion by itself.
3949 (insertErrors): move iterator declaration out of for expression
3951 * lyxtextclass.C: add <algorithm>
3953 * Makefile.am: added the new files to sources, removed layout.C
3955 * layout.C: removed file
3957 * layout.h: remove LYX_DUMMY_LAYOUT
3959 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
3963 * lyxtextclass.[Ch]:
3964 * lyxtextclasslist.[Ch]: new files
3966 * include order changes to a lot of files, also changes because of
3969 2001-12-27 Juergen Vigna <jug@sad.it>
3971 * buffer.C (asciiParagraph): more fixes.
3973 * tabular.C (ascii): make ascii export support export of only the
3974 data separated by a column-delimiter.
3975 (ascii): better support for ascii export.
3977 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
3979 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3981 * tabular_funcs.C: use a "using std::getline" instead of the
3982 previous fix from Angus (necessary for cxx + lyxstring)
3984 2001-12-24 Juergen Vigna <jug@sad.it>
3986 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
3988 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
3989 problems. First check a minipage also if we have some ert-contents
3990 (not only on par->size(), second set the right depth of the paragraph
3991 on the relink to the root-paragraph-list!
3993 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
3994 which then did not anymore update the main paragraphs on undo/redo!
3996 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3998 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
3999 code. Support all font-changing funcs (even those which are not in
4000 menu currently). Support for reporting font settings in
4001 mathed (disabled until Andre provides a function on mathed's side).
4003 * func_status.h (toggle): small helper function to set toggle
4006 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
4008 * tabular_funcs.C: getline -> std::getline
4010 2001-12-21 Juergen Vigna <jug@sad.it>
4012 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
4013 accessed and could be 0 (I couldn't generate this but it seems
4016 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4018 * tabular_funcs.C: add LIstream.h, move write_attribute to..
4019 * tabular_funcs.h: here and include iosfwd
4021 2001-12-20 Juergen Vigna <jug@sad.it>
4023 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
4024 inside inset but undo_par was.
4026 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4028 * Thesaurus.C: always include <config.h> in sources.
4032 * box.h: do not include <config.h> in header files
4034 * text.C (paintLastRow): remove unused variable
4036 * text.C (transformChar):
4038 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
4041 * font.C (width): rewrite to use uppercase() instead of
4044 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
4046 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
4048 * lyxfind.C: clean up of find failure position change
4050 2001-12-20 Juergen Vigna <jug@sad.it>
4052 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
4054 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
4055 (TeXRow): added to LaTeX a single tabular row.
4056 (TeXLongtableHeaderFooter): added to output LT-h/f data.
4057 (Latex): simplified and finally good LT-h/f support.
4058 (various_functions): just small adaptions for LT-h/f support.
4060 * tabular_funcs.[hC]: added and moved here all not classfunctions
4063 2001-12-19 Juergen Vigna <jug@sad.it>
4065 * tabular.[Ch]: better support for longtabular options (not finished
4068 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4070 * text.C (paintLastRow): use the label font instead of the font of
4071 the last character to compute the size of *_BOX. This makes more
4072 sense and avoids a crash with empty paragraphs.
4073 Use Painter::rectangle to draw EMPTY_BOX.
4075 2001-12-19 Juergen Vigna <jug@sad.it>
4077 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
4078 the paragraphs if the replaced paragraph is not the first one!
4079 Tried to delete not used paragraphs but does not work yet so for
4080 now it's inside #ifdef's and by default off!
4082 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4084 * MenuBackend.C: include "lyx_main.h" instead of declaring
4085 lastfiles (actually was declared as LastFiles* instead of a
4088 2001-12-17 Juergen Vigna <jug@sad.it>
4090 * tabular.C (AppendColumn): applied John's fix
4092 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
4096 * BufferView_pimpl.h:
4097 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
4100 * box.h: new start of class for above
4102 * lyxfunc.C: ignore space-only minibuffer dispatches.
4103 Show the command name when it doesn't exist
4105 * minibuffer.C: don't add empty lines to the history
4107 * minibuffer.C: add a space on dropdown completion
4109 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
4111 * text.C: fix line above/below drawing in insets
4113 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4115 * lyxlength.C (LyXLength): Initialize private variables.
4117 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
4119 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
4120 when inserting error insets.
4122 2001-12-13 Juergen Vigna <jug@sad.it>
4124 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
4125 actually sometimes the before-paragraph.
4126 (setUndo): don't clear the redostack if we're not actually undoing!
4128 2001-12-06 Juergen Vigna <jug@sad.it>
4130 * undo_funcs.C (textHandleUndo): well after John's hint I got here
4131 and fixed redoing of main paragraph, so we can use it now ;)
4133 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
4135 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4137 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
4140 2001-12-13 André Pönitz <poenitz@gmx.net>
4143 * undo_func.C: minor cleanup
4145 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4147 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
4148 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
4149 font in urw-fonts package which is marked as -urw-fontspecific and
4150 does not work (incidentally, changing the encoding in the
4151 fonts.dir of this package to -adobe-fontspecific fixes the
4154 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
4155 is a crash when undoing first paragraph (Juergen, please take a
4156 look). THis does not mean the undo fix is wrong, just that it
4159 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
4160 the (Paragraph*) version when needed instead of duplicating the
4163 * text.C (workWidth): use Inset::parOwner to find out where the
4164 inset has been inserted. This is a huge performance gain for large
4165 documents with lots of insets. If Inset::parOwner is not set, fall
4166 back on the brute force method
4168 * paragraph_pimpl.C (insertInset):
4169 * paragraph.C (Paragraph):
4170 (cutIntoMinibuffer): set parOwner of insets when
4171 inserting/removing them
4173 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4175 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
4181 * mathed/formulabase.C:
4182 * mathed/math_cursor.[Ch]:
4183 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
4186 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4188 * lyxlength.[Ch] (operator!=): new function
4190 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4192 * text.C (workWidth): use Inset::parOwner to find out where the
4193 inset has been inserted. This is a huge performance gain for large
4194 documents with lots of insets. If Inset::parOwner is not set, fall
4195 back on the brute force method
4197 * paragraph_pimpl.C (insertInset):
4198 * paragraph.C (Paragraph):
4199 (cutIntoMinibuffer): set parOwner of insets when
4200 inserting/removing them
4202 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
4204 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4206 * tabular-old.C (getTokenValue):
4207 * tabular.C (getTokenValue):
4208 (write_attribute): new versions for LyXLength
4209 (everywhere): adjust the use of widths
4211 * tabular.h: change the type of widths from string to LyXLength
4213 2001-12-11 Ben Stanley <bds02@uow.edu.au>
4215 * paragraph.C: fixed missing line number count when exporting
4216 Environments to LaTeX file
4218 * buffer.C: added informational message for checking line numbers.
4220 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4222 * text2.C (deleteEmptyParagraphMechanism): if there is only one
4223 paragraph, do the 'double space' part, but not the 'empty
4226 * text.C (workWidth): small optimization
4227 (getLengthMarkerHeight): use minimal size for negative lengths.
4229 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
4231 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
4233 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
4235 2001-12-11 André Pönitz <poenitz@gmx.net>
4238 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
4240 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4242 * text2.C: keep selection on a setFont()
4244 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4246 * lyx_cb.C: another bv->text misuse, from insert label
4248 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4251 * kbsequence.C: re-instate nmodifier mask
4253 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
4255 * lyx_main.h: make lyxGUI private.
4257 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4259 * lyxfind.C: place the cursor correctly on failed search
4261 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4263 * text.C (getLengthMarkerHeight): for small heights, the arrows
4264 are not always on top/bottom of the text
4265 (drawLengthMarker): smaller arrows; take the left margin in
4266 account; draw also vfills.
4268 (paintLastRow): remove special code for vfill and standard spaces,
4269 since everything is handled in drawLengthMarker now.
4271 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4273 * buffer.C (insertErtContents): try to handle font and language
4274 interaction a bit better.g
4276 * ColorHandler.C (updateColor): change the hash to cover the whole
4277 LColor enum, ws cleanup
4278 (getGCLinepars): ditto
4279 (getGCLinepars): only lookup in the linecache once.
4281 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
4283 * iterators.C (operator++): Make the iterator more robust
4285 * BufferView2.C (removeAutoInsets): Use paragraph iterators
4287 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
4289 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4292 * text.C: better added space drawing
4294 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4297 * BufferView2.C: fix layout combo update on inset unlock
4299 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4301 * Makefile.am: don't compile unused files
4303 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4307 * LyXAction.C: remove old LFUN_LAYOUTNO
4309 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4311 * paragraph_pimpl.h:
4312 * paragraph_pimpl.C: isTextAt() doesn't need font param
4314 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4317 * lyxlex.C: little cleanup
4319 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4321 * BufferView_pimpl.C: fix insertAscii for insets
4323 2001-12-05 Juergen Vigna <jug@sad.it>
4325 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
4326 set the right font on the "multi" paragraph paste!
4328 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4334 * lyxlength.C: remove out-commented code.
4350 * vc-backend.C: change "while(" to "while ("
4352 * lyxlength.[Ch]: add zero function to check if length is zero or
4354 * lyxgluelength.C: use it
4356 2001-12-05 Allan Rae <rae@lyx.org>
4358 * lyxlength.C: Attempted a fix for the abs(int) header selection.
4359 Works for 2.95.3, from what I understand of Garst's reports this should
4360 work for other g++ versions. We're screwed if the abs(int) definition
4361 changed between bugfix releases of gcc.
4363 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4365 * text.C: fix chapter label offset !
4367 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
4370 * text.C: fix hfill at end of line, clean up
4372 2001-12-04 Juergen Vigna <jug@sad.it>
4374 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
4375 that we force an update of the inset and it's owners if neccessary.
4377 2001-12-03 Juergen Vigna <jug@sad.it>
4379 * text.C (rowLast): simplified code
4381 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
4383 * lyxfunc.C: fix show options on timeout
4385 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4387 * screen.C (topCursorVisible): scroll half a page when the cursor
4388 reached top of bottom of screen
4390 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
4392 * minibuffer.C: deactivate on loss of focus
4394 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4396 * vspace.[Ch] (operator!=): add operator.
4398 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4400 * BufferView_pimpl.C: refuse to open an inset when
4401 there's a selection.
4403 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
4405 * BufferView_pimpl.C: allow to click on RHS of full row insets
4407 2001-11-30 Juergen Vigna <jug@sad.it>
4409 * tabular.C (LyXTabular): add a same_id to set the same id's in the
4410 insets for undo reasons.
4412 2001-11-28 André Pönitz <poenitz@gmx.net>
4414 * vspace.[Ch]: cosmetical changes
4416 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4426 * kbsequence.C: part re-write of old kb code
4429 * WorkArea.C: remove Lgb_bug_find_hack
4431 2001-11-30 José Matos <jamatos@fep.up.pt>
4433 * buffer.C (makeDocBookFile): add a comment to point a hack.
4434 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
4435 Fixed a double write of labels.
4437 2001-11-29 Ben Stanley <bds02@uow.edu.au>
4440 * LaTeX.h Fixed bug in LaTeX class where it would not
4441 re-run latex if no depfiles were changed, but the .dvi was removed.
4443 2001-11-28 André Pönitz <poenitz@gmx.net>
4445 * all the files from the change on 2001/11/26:
4446 use lyx::layout_type instead of LyXTextClass::size_type
4447 use lyx::textclass_type instead of LyXTextClassList::size_type
4449 2001-11-29 Juergen Vigna <jug@sad.it>
4451 * text.C: added support for paragraph::isFreeSpacing()
4453 * buffer.C: same as above
4455 * paragraph.h: inserted isFreeSpacing() function to enable
4456 FreeSpacing inside InsetERT.
4458 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
4459 of the paragraph's in the cut/copy buffer to 0!
4461 * text2.C (removeRow): remove the assert as it can!
4463 * lyxtext.h: added helper function firstRow returning firstrow and
4464 made firstrow private again.
4466 * BufferView2.C (lockInset): don't relock if we're already locked!
4468 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
4470 (removeRow): added Assert::(firstrow)
4472 * debug.C: forgot to add INSETTEXT here.
4474 2001-11-28 Juergen Vigna <jug@sad.it>
4476 * sp_spell.C (initialize): changed error text to more general
4477 spellchecker command use (not only ispell!)
4479 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
4481 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
4483 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4485 * vspace.C: initialise lyxgluelength on failure
4487 2001-11-28 Allan Rae <rae@lyx.org>
4489 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
4490 declaration & definition that looks like a function declaration.
4492 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4494 * BufferView2.C (copy):
4495 (copyEnvironment): do not clear the selection when doing a copy.
4497 * text.C (paintFirstRow): compilation fix
4499 2001-11-27 Ben Stanley <bds02@uow.edu.au>
4501 * tabular.C (Latex): correct line count when writing latex.
4503 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
4505 * paragraph_pimpl.h:
4506 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
4509 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
4513 * LColor.C: change vfillline->added_space
4515 * text.C: add markers and text for added space
4517 * vspace.C: fix comment
4519 2001-11-28 André Pönitz <poenitz@gmx.net>
4521 * paragraph.C: whitespace changes
4522 * all the other files from the change on 2001/11/26:
4523 change *::pos_type into lyx::pos_type
4525 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
4527 * buffer.C (parseSingleLyXformat2Token): Set the language to the
4528 language of the document when inserting error insets.
4530 2001-11-26 André Pönitz <poenitz@gmx.net>
4532 * BufferView_pimpl.[Ch]:
4540 * paragraph_pimpl.[Ch]:
4543 * text2.C: reduce header dependencies, introduce type for positions
4545 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4547 * <various>: change to use Alert.h
4549 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
4551 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
4552 when encountering an unknown token.
4553 (readLyXformat2): Show an error message if there were unknown tokens.
4555 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4558 * BufferView_pimpl.C:
4562 * text2.C: use par->isInset()
4564 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4566 * paragraph_pimpl.h:
4567 * paragraph_pimpl.C: cleanup
4569 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4571 * text2.C (removeRow):
4572 * text.C (setHeightOfRow): remove useless (and costly) call to
4575 2001-11-20 Allan Rae <rae@lyx.org>
4577 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
4578 Now need Inset*::checkInsertChar() to return true for appropriate
4579 cases so that the characters in the minibuffer will actually be
4582 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
4584 * text.C: change the order of the includes.
4585 (workWidth): initialize it at once.
4586 (workWidth): make maxw unsigned
4587 (setHeightOfRow): remove unused variable (inset)
4588 (selectSelectedWord): remove unused variable (inset)
4589 (paintRowText): fix drawing of hfill characters, and clean up a bit.
4591 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4593 * lyxserver.C (emergencyCleanup): do not try to close pipes if
4594 server is not running.
4596 (closeConnection): add debug info when server is disabled.
4598 * ColorHandler.C (getGCForeground): send debug message to GUI
4601 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
4603 * kbmap.C (bind): modify because return conventions of
4604 kb_sequence::parse have changed.
4606 * kbsequence.C (parse): only ignore spaces and not any stupid
4607 control character. This avoids tests like s[i] <= ' ', which are
4608 guaranteed to fail with 8bit characters and signed chars.
4609 Change return code to string::npos when there have been no error
4610 (0 was a bad idea when error is at first character)
4612 2001-11-14 José Matos <jamatos@fep.up.pt>
4615 * buffer.C (simpleDocBookOnePar): removed unused argument.
4617 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4619 * text.C (selectNextWordToSpellcheck): do not test explicitely for
4620 insets which are part of a word. Paragraph::isLetter takes care of
4621 that now. Use Paragraph::isInset to identify insets.
4622 (selectSelectedWord): do not test for hyphenation break.
4624 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
4625 that protected spaces are considered as spaces.
4627 * paragraph.C (isLetter): cleanup the code for ispell extras; use
4630 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
4633 * lyxserver.C: fix it. and small cleanup.
4635 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4637 * BufferView_pimpl.C: use inline helpers
4640 * LaTeXFeatures.C: fix typos
4643 * Spacing.C: move spacing_string into class
4645 * ToolbarDefaults.C: move stuff into namespace anon
4647 * layout.h: update enum
4649 * lyxfunc.C: use better debug
4651 * minibuffer.h: fix typo
4655 * WorkArea.C: add and use Debug::WORKAREA
4659 * text2.C: code re-organisation, inline helpers
4661 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
4663 * Layout.C: replaced a few cases of std::vector.size() == 0 with
4664 std::vector.empty().
4666 2001-11-09 Allan Rae <rae@lyx.org>
4668 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
4669 '\n's after tables. Tabular and ERT inset work now makes this no
4672 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
4675 * minibuffer.C: fix crash, improve drop-down completion
4677 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
4680 * lyxserver.C: invalidate fd's when doing endPipe()
4682 2001-11-08 José Matos <jamatos@fep.up.pt>
4684 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
4685 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
4688 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
4690 2001-11-07 José Matos <jamatos@fep.up.pt>
4693 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
4696 * buffer.C (sgmlOpenTag):
4697 * buffer.C (sgmlCloseTag): removed debug info.
4699 * buffer.h (sgmlOpenTag):
4700 * buffer.h (sgmlCloseTag): made public.
4702 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4704 * buffer.C (saveParamsAsDefaults):
4705 * lyx_cb.C (MenuLayoutSave): remove
4707 * LyXAction.C (init):
4709 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
4711 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4713 * buffer.C (setPaperStuff): removed from here...
4715 * bufferparams.C (setPaperStuff): ... and moved there.
4717 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
4721 * XFormsView.C: add support for drop-down completion
4723 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
4725 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
4728 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4730 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
4733 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4735 * lyx_main.C: change ref to known bugs
4737 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4739 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
4740 to work around older babel problems.
4742 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
4744 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
4746 2001-10-24 Juergen Vigna <jug@sad.it>
4748 * tabular-old.C (ReadOld): below variable changes reflected.
4750 * tabular.[Ch]: added ltType struct for longtable header/footer
4751 defines and changed all instances where they are used. Added
4752 future support for double top/bottom rows.
4754 2001-10-24 José Matos <jamatos@fep.up.pt>
4756 * buffer.h (docbookHandleCaption):
4757 * buffer.C (docbookHandleCaption): removed unused function.
4758 (makeDocBookFile): moved docbook supported version to v4.1.
4760 2001-10-24 José Matos <jamatos@fep.up.pt>
4763 * tabular.C (docbookRow): new function to export docbook code of a row.
4764 (DocBook): now honors the longtable flags.
4766 2001-10-23 José Matos <jamatos@fep.up.pt>
4769 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
4770 of the lyx defined sgml entities used in a docbook/linuxdoc document.
4772 * buffer.C (makeLinuxDocFile):
4773 (makeDocBookFile): reworked the preamble, more clean, and with
4774 support for lyx defined entities. Changed the document declaration
4775 to be more XML friendly.
4777 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
4778 if we need to output XML that should be done with a filter.
4780 2001-10-22 Juergen Vigna <jug@sad.it>
4782 * sp_pspell.h (class PSpell): add alive function needed in the
4783 controller to see if the spellchecker could be started.
4785 2001-10-22 Juergen Vigna <jug@sad.it>
4787 * buffer.C (insertStringAsLines): modify the font for inserting
4788 chars in certain conditions by calling checkInsertChar(font).
4790 2001-10-19 Juergen Vigna <jug@sad.it>
4792 * text.C (workWidth): use getRow instead of wrong algorithm.
4793 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
4795 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
4800 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
4802 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4804 * text.C (workWidth): do not search for the exact row when
4805 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
4806 optimization for big documents.
4808 2001-10-18 Juergen Vigna <jug@sad.it>
4810 * text.C (workWidth): new function with added Inset * parameter.
4812 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4814 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
4816 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
4817 change return type of getColumnNearX.
4820 * text.C (changeRegionCase): use uppercase/lowercase instead of
4823 (rightMargin): simplify code by factoring out the uses of
4828 (appendParagraph): use Paragraph::size_type
4830 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4832 * vspace.C (asLatexString): add a missing break
4834 2001-10-15 Herbert Voss <voss@perce.de>
4836 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
4838 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4840 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
4843 2001-10-10 André Pönitz <poenitz@gmx.net>
4845 * lyxfunc.C: removed greek_kb_flag.
4847 2001-10-10 Herbert Voss <voss@perce.de>
4849 * lyx_main.C: delete global string help_lyxdir.
4851 2001-10-09 Herbert Voss <voss@perce.de>
4853 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
4855 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
4857 * lyx_main.C: added global string help_lyxdir.
4859 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
4861 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4863 * lyxrc.C (set_font_norm_type): support iso8859-4
4865 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
4867 * LaTeX.C (deplog): add another regex for MikTeX
4869 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
4871 * lyxrc.C (set_font_norm_type): support iso8859-3
4873 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4875 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
4877 * LaTeXFeatures.C: remove special case of french and index
4879 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
4880 before \begin{document}). This solves several incompatibilities.
4882 2001-10-03 Garst Reese <reese@isn.net>
4884 * lyx_cb.C: change CheckTex error msg.
4886 2001-10-03 José Matos <jamatos@fep.up.pt>
4888 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
4890 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4892 * .cvsignore: update
4894 * lyx_main.C (commandLineVersionInfo): use new style version info.
4896 * buffer.C (writeFile):
4899 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
4901 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
4903 * version.h: update to use stuff in version.C
4905 * version.C.in: new file. Contains version information determined
4906 at compile time. This is a merging of version.h and
4909 2001-10-03 Juergen Vigna <jug@sad.it>
4911 * BufferView_pimpl.C (update): don't change "dirty" status in
4914 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
4916 * WorkArea.C (c-tor): re-position version string slightly.
4918 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
4920 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
4921 revert to previous code.
4923 WorkArea.[Ch]: (show, destroySplash): methods removed.
4925 WorkArea.C: rework code so that it's an amalgam of the codes before and
4926 after the splash screen was moved to WorkArea.
4928 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4931 * vspace.C (inPixels):
4934 * buffer.C (insertStringAsLines):
4935 (asciiParagraph): fix types to be large enough
4937 * lyxlex_pimpl.h: change member status from short to int
4939 * layout.h: fix type of endlabeltype
4942 * kbsequence.C (parse): change return type to string::size_type
4944 * LaTeX.C (updateBibtexDependencies): comment out unneeded
4947 * Bullet.C (bulletSize):
4948 (bulletEntry): do not use short ints as parameters
4950 * BufferView2.C (insertLyXFile): change a char to an int.
4952 * WorkArea.C (WorkArea): remove unneeded floats in computation
4954 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
4956 * buffer.C (asciiParagraph): Treat '\\' as other chars.
4958 * paragraph.C (asString): Do not ignore newline/hfill chars when
4959 copying to the clipboard.
4961 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
4963 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
4964 after a multi-line inset.
4966 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4968 * paragraph.C (validate): Set NeedLyXFootnoteCode
4970 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4972 * lyxfont.C (LyXSizeNames): changed increase-error to increase
4973 and decrease-error to decrease.
4975 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4977 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
4978 it more readable (should be equivalent)
4980 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
4982 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
4984 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4986 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
4987 of a cursor (row, etc.) after a character has been deleted
4988 (deleteEmptyParagraphMechanism): call the method above on _all_
4989 cursors held by the LyXText when a double space has been
4992 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
4994 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
4996 (resizeCurrentBuff): remove code to destroy the old splash dialog.
4998 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
4999 background. Use greyOut() and the new show() methods to toggle between
5000 the foreground and background. Add code to remove the splash after
5001 its initial showing.
5003 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
5004 (create_forms): no longer call Dialogs::showSplash.
5006 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5008 * .cvsignore: add version_info.h
5010 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5012 * version_info.h.in: new file
5014 * Makefile.am: add version_info.h.in
5016 * lyx_main.C (commandLineVersionInfo): use version_info defined in
5017 version_info.h instead of VERSION_INFO
5019 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5021 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
5022 The ERT inset now returns string().
5024 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5026 * lyxtext.h, text.C (selectNextWord): renamed as
5027 selectNextWordToSpellcheck.
5029 * text.C (selectNextWordToSpellcheck): Modified to not select
5030 words inside an ERT inset.
5032 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5034 * lyx_cb.C (MenuLayoutSave): change a bit the question
5036 * sp_base.h: include <sys/types.h>
5038 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5040 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
5042 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
5044 * several files: fix typos in user-visible strings
5046 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5048 * text2.C (pasteSelection): do not set the selection, since it
5049 will be cleared later. Actually, the intent was to fix the way the
5050 selection was set, but I figured rmoving the code was just as good.
5052 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
5054 * FontLoader.C (available): Check if font is available without
5057 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5059 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
5061 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
5063 * lyxrc.[Ch]: added display_graphics variable and associated code.
5065 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5067 * bufferparams.C (hasClassDefaults): new method. Returns true if
5068 the buffer parameters correspond to known class defaults
5070 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
5072 * XFormsView.C (show): set minimum size to the main window.
5074 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5076 * text2.C (copySelection):
5078 * lyxfind.C (LyXReplace):
5079 * BufferView_pimpl.C (Dispatch): pass the correct flag to
5080 LyXText::selectionAsString.
5082 * paragraph.C (asString): add "label" argument to the second form
5084 * text2.C (selectionAsString): add "label" argument and pass it to
5085 Paragraph::asString.
5087 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5089 * lyx_main.C (commandLineHelp): remove version information
5091 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
5093 * lyx_main.C: add -version commandline option
5095 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5097 * paragraph.h: make the optional constructor arg required instead.
5098 some modifications to other files because of this.
5100 * minibuffer.C (C_MiniBuffer_peek_event): make it static
5102 * lyxserver.C (C_LyXComm_callback): make it static
5104 * lyx_main.C (error_handler): make it static
5106 * lyx_gui.C (LyX_XErrHandler): make it static
5108 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
5110 * WorkArea.C: make the extern "C" methods static.
5112 * Makefile.am (lyx_LDADD): simplify
5114 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5116 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
5117 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
5119 * LyXAction.C (init):
5120 * lyxfunc.C (dispatch): associated code removal.
5122 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5124 * lyxfont.h (isSymbolFont): shut off warning
5126 * text.C (setHeightOfRow):
5127 (getVisibleRow): fix crash with empty paragraphs which have a
5130 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
5132 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
5135 2001-09-04 José Matos <jamatos@fep.up.pt>
5138 * tabular.C (docbook): rename docBook method to docbook.
5140 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5142 * Makefile.am: add dependencies to main.o.
5144 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
5146 * FontLoader.C (available): Return false if !lyxrc.use_gui
5148 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
5150 * FontInfo.C (query):
5151 * converter.C (view):
5152 * importer.C (Import):
5153 * exporter.C (Export): Can not -> cannot.
5155 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
5157 * BufferView_pimpl.C: allow to create index inset even if
5160 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
5162 * buffer.C (getLists): replace boost::tie code with an explicit pair
5163 as boost::tie can break some compilers.
5165 * iterators.h: Added a std:: declaration to the return type of
5168 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
5170 * lyxrc.C: add help for view_dvi_paper_option, default to safe
5173 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5175 * iterators.[Ch]: New files. Provide paragraph iterators.
5177 * buffer.C (changeLanguage): Use paragraph iterators.
5178 (isMultiLingual): ditto
5180 * BufferView2.C (ChangeInsets): Use paragraph iterators.
5182 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
5184 * FontLoader.C: Support for cmr font.
5186 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
5188 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
5189 (available): New method.
5191 * FontInfo.C (getFontname): Use scalable fonts even when
5192 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
5195 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5197 * converter.C (Formats::view): reverted! Incorrect fix.
5199 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
5201 * converter.C (Formats::view): only output the -paper option
5202 if the dvi viewer is xdvi, thereby fixing bug #233429.
5204 2001-08-23 Herbert Voss <voss@perce>
5206 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
5208 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
5210 * Spacing.h (Spacing): Set space to Default on in the default
5213 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
5215 * vc-backend.h (RCS::versionString): add RCS to version
5216 (CVS::versionString): add CVS to version
5218 * vc-backend.C (scanMaster): do not add CVS to version.
5219 (scanMaster): do not add RCS to version
5221 * lyxvc.C (versionString): new method
5223 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
5225 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5227 * Spacing.C (set): initialize fval
5229 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
5231 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
5234 2001-08-16 Juergen Vigna <jug@sad.it>
5236 * lyxfunc.C (dispatch): implemented the new FINISHED states.
5238 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5240 * BufferView_pimpl.C:
5243 * text2.C: setParagraph takes linespacing now
5245 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
5247 * LyxAction.C: add internal LFUN_CITATION_INSERT
5249 * LyXView.C: actually apply fix
5251 * bufferlist.C: fix open non-existent file
5253 * lyxfind.C: fix indentation
5255 * lyxfunc.C: remove unneeded assert, fix typo
5257 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5259 * MenuBackend.C: use "Floatname List"
5261 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5263 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
5264 when converting LaTeX layout to insetERT.
5265 Generate a non-collapsed float when reading old float
5267 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5269 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
5272 2001-08-13 Juergen Vigna <jug@sad.it>
5274 * text.C (fill): return 0 instead of 20 as this seems to be the more
5277 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
5279 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
5282 2001-08-13 Juergen Vigna <jug@sad.it>
5284 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
5286 (SearchBackward): comment out the unlocking of the inset_owner this
5287 should not be needed!
5289 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5291 * Many files: Remove inherit_language, and add latex_language
5293 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
5296 2001-08-10 Juergen Vigna <jug@sad.it>
5298 * text.C (prepareToPrint): fixed hfill-width in draw!
5300 * BufferView2.C (selectLastWord): save the selection cursor as this
5301 now is cleared in the function LyXText::clearSelection!
5303 2001-08-08 Juergen Vigna <jug@sad.it>
5305 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
5306 BACKSPACE type functions.
5308 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
5309 is only cutted from the document but not put in the cut-buffer, where
5310 still the old stuff should be.
5312 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
5314 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
5316 * tabular.C (SetWidthOfCell): fixed special case where the width
5318 (LeftLine): handle '|' in align_special.
5320 (LeftAlreadyDrawed): ditto
5321 (SetWidthOfCell): ditto
5323 2001-08-07 Juergen Vigna <jug@sad.it>
5325 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
5327 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5329 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
5330 * lyxlex.[hC]: ditto
5332 2001-08-06 Juergen Vigna <jug@sad.it>
5334 * text.C (getVisibleRow): fix up row clearing a bit.
5336 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5338 * minibuffer.C: make sure the X server sees the changes in the input.
5340 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5342 * paragraph.C (getFont): split into...
5343 (getLabelFont): this
5344 (getLayoutFont): and this
5345 * paragraph_pimpl.C (realizeFont): calling this
5347 * text2.C (getFont): split into...
5348 (getLayoutFont): this
5349 (getLabelFont): and this
5350 (realizeFont): all three calling this
5352 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
5355 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5357 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
5359 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
5361 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
5362 layouts from the Quote inset insertion.
5364 2001-08-03 Juergen Vigna <jug@sad.it>
5366 * BufferView_pimpl.C (update): do the fitCursor only at the end!
5368 * screen.C (drawFromTo): don't call fitcursor here and do the loop
5369 only if status not is already CHANGED_IN_DRAW (second level).
5371 * text.C (draw): don't set the need_break_row when inside an
5374 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5376 * buffer.C (parseSingleLyXformat2Token): handle more latex
5379 * bufferview_funcs.[hC]: change function names to
5380 begin with small char, adjust other files.
5382 2001-08-02 André Pönitz <poenitz@gmx.net>
5385 BufferView_pimpl.C: remove broken special code for math-greek
5387 2001-08-02 Juergen Vigna <jug@sad.it>
5389 * BufferView_pimpl.C (update): redone this function so that we
5390 update the text again if there was a CHANGE_IN_DRAW.
5392 * screen.C (cursorToggle): removed LyXText parameter and recoded.
5393 (drawFromTo): added a new internal bool which is used by draw() and
5395 (general): some cursor drawing problems fixed.
5397 2001-08-01 Juergen Vigna <jug@sad.it>
5399 * lyxfind.C (LyXFind): fixed
5400 (SearchForward): ditto
5401 (SearchBackward): ditto
5403 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
5404 spurius drawing of the cursor in the main area.
5406 * text2.C (status): small fix which could lead to a segfault!
5407 (clearSelection): remove unneeded BufferView param.
5409 2001-08-01 André Pönitz <poenitz@gmx.net>
5411 * lyxfunc.C: small change due to changed mathed interface
5413 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5415 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
5417 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
5419 * lyxfunc.c: fail gracefully if file doesn't exist
5424 * BufferView_pimpl.C: IsDirWriteable() proto changed
5426 * LyXView.C: fix updateWindowTitle() to store the last title
5428 2001-07-31 Juergen Vigna <jug@sad.it>
5430 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
5431 the font (wrong since using of Paragraph::highestFontInRange).
5433 * paragraph.C (highestFontInRange): added a default_size parameter.
5435 * text.C (getVisibleRow): minor clear row changes (still not perfect).
5436 (setHeightOfRow): reformat
5438 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5440 * converter.[hC] + affected files: move to (inital-char)lowercase
5443 * ParagraphParameters.C (ParagraphParameters): remove commented code
5445 * PainterBase.[Ch]: remove commented code
5447 * LaTeXFeatures.h: add "bool floats" for float.sty
5449 * LaTeXFeatures.C (LaTeXFeatures): init floats
5450 (require): handle float
5451 (getPackages): do it with floats
5453 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5455 * BufferView_pimpl.C (Dispatch): improve handling of
5456 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
5458 * commandtags.h: #include lyxfont.h here temporarily to avoid
5461 * bufferlist.h: include LString.h here.
5463 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5465 * text2.C (getStringToIndex): new method.
5467 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
5469 * *: Reduced header file dependencies all over.
5471 2001-07-30 Baruch Even <baruch@lyx.org>
5473 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
5475 2001-07-29 Baruch Even <baruch@lyx.org>
5477 * buffer.C (readInset): Changed GRAPHICS to Graphics.
5479 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5481 * ParameterStruct.h (endif): add a default constructor to make
5482 sure that all variables is initialized.
5484 * ParagraphParameters.C (ParagraphParameters): adjust
5486 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5488 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
5489 index; also, check that there is something to index, and that it
5490 does not span over several paragraphs.
5491 (doubleClick): use WHOLE_WORD_STRICT for double click.
5493 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
5495 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
5498 2001-07-26 Baruch Even <baruch@lyx.org>
5500 * buffer.C (readInset): Changed to call up InsetGraphics when reading
5501 an InsetFig figure, backwards compatible reading of old figure code.
5503 2001-07-27 Juergen Vigna <jug@sad.it>
5505 * text2.C: font.realize function adaption.
5507 * text.C (draw): add a warnings lyxerr text if needed.
5509 * layout.C: font.realize function adaption.
5511 * language.C: add inherit_language and implement it's handlings
5513 * bufferview_funcs.C (StyleReset): remove language parameter from
5514 font creation (should be language_inherit now).
5516 * bufferparams.C (writeFile): handle ignore_language.
5518 * paragraph.C (getFontSettings): the language has to be resolved
5519 otherwise we have problems in LyXFont!
5521 * lyxfont.C (lyxWriteChanges): added document_language parameter
5522 (update): removed unneeded language parameter
5524 * paragraph.C (validate): fixed wrong output of color-package when
5525 using interface colors for certain fonts in certain environments,
5526 which should not seen as that on the final output.
5528 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
5530 * BufferView_pimpl.C:
5535 * LyXAction.C: add thesaurus support
5538 * lyxfind.C: add "once" parameter, for thesaurus, to not
5539 move to the next match
5541 2001-07-26 Juergen Vigna <jug@sad.it>
5543 * lyxfont.C (realize): honor ignore_language too!
5546 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
5548 * text.C (draw): one place more for ignore_language to not draw
5551 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
5553 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
5555 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5557 * buffer.C (parseSingleLyXformat2Token): a more general fix for
5558 the minipage conversion problem.
5560 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5562 * buffer.C (parseSingleLyXformat2Token): check minipage if we
5565 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5567 * BufferView.h: don't forward declare WorkArea
5569 * BufferView.C: don't include WorkArea.h
5571 2001-07-25 André Pönitz <poenitz@gmx.net>
5575 * lyxfunc.C: new LFUN 'math-space'
5577 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
5579 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5581 * text2.C (toggleInset): call open/close
5583 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5585 * lyxfunc.C (dispatch): add debug for the disabled case
5587 * font.C (buttonText): make similar to rectText
5589 * buffer.C (readInset): comment out parsing of insetlist and
5592 * PainterBase.C (rectText): small correction
5594 * BufferView_pimpl.C: comment out insettheorem and insetlist
5595 * LyXAction.C: ditto
5596 * commandtags.h: ditto
5598 2001-07-24 Juergen Vigna <jug@sad.it>
5600 * text.C (draw): honor the ignore_language.
5602 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
5604 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5606 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
5609 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5611 * lyxtext.h: remove unused (and unimplemented) methods
5613 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5615 * text.C (getVisibleRow): honor background color
5618 * Painter.h: remove default color argument for fillRectangle
5620 * text.C (backgroundColor): new method
5622 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5624 * text.C (getVisibleRow): adjust
5626 * font.[Ch] (rectText): new method, metrics
5627 (buttonText): new method, metrics
5629 * PainterBase.[hC]: make rectText and buttonText always draw and take
5632 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5634 * ToolbarDefaults.C (read):
5635 * MenuBackend.C (read): allow escaping in all strings
5637 * BufferView_pimpl.C (insertAndEditInset): new method.
5638 (Dispatch): use insertAndEditInset whenever appropriate.
5640 * BufferView_pimpl.C (insertNote): removed
5642 * BufferView_pimpl.C (smartQuote): new method, moved from
5643 BufferView; if an insetquote cannot be inserted, insert a '"'
5646 * BufferView2.C: remove insertCorrectQuote();
5648 * lyxfunc.C (getStatus): Add support for all remaingin
5651 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
5653 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
5654 command (necessary to pass " as parameter of self-insert.
5656 * text.C (selectWordWhenUnderCursor):
5657 (selectWord): add word_location parameter
5658 (selectWordWhenUnderCursor): same + remove special code for word
5660 (selectNextWord): use kind() to guess type of insetspecialchar,
5663 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
5664 (insertErtContents): create ert insets as collapsed.
5665 (readInset): better compatibility code for Info inset.
5667 2001-07-20 Juergen Vigna <jug@sad.it>
5669 * lyxfunc.C (dispatch): use always LyXFind now!
5671 * text2.C (init): add a reinit flag so that the LyXText can be
5672 reinited instead of deleted and reallocated (used in InsetText).
5674 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
5680 2001-07-18 Juergen Vigna <jug@sad.it>
5682 * text.C (selectNextWord): handle insets inside inset by calling
5683 always the bv->text functions so that we can go up the_locking_inset!
5685 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
5686 in strange locations when inside an inset!
5688 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
5689 handling to include insets.
5691 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
5693 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5695 * LyXAction.C (init):
5697 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
5698 LIGATURE_BREAK, since the name is so stupid.
5700 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5702 * buffer.C (readInset): enable reading of new InsetNotes as well as old
5705 * FontLoader.C: remove FORMS_H_LOCATION cruft.
5707 * sp_form.[Ch]: remove.
5709 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
5711 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
5714 * src/buffer.C (readInset): ditto.
5716 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5718 * BufferView_pimpl.C (specialChar): new method. Obsoletes
5719 menuSeparator(), endOfSentenceDot(), ldots() and
5720 hyphenationPoint(), which are therefore removed.
5721 (Dispatch): handle LFUN_HYPHENATION_BREAK.
5723 * LyXAction.C (init):
5724 * commandtags.h: add LFUN_HYPHENATION_BREAK.
5726 * paragraph.C (getWord): removed.
5728 * BufferView_pimpl.C (Dispatch): use last word or selection for
5729 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
5731 * lyx_main.C (queryUserLyXDir): do not ask before creating
5732 user_dir, except if it has been named explicitely.
5734 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5736 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
5737 a document of zero size.
5739 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5741 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
5742 approriately in the c-tor and in require().
5743 (getPackages): output the appropriate LaTeX for natbib support.
5745 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
5746 variables "use_natbib" and "use_numerical_citations" when reading the
5748 (readInset): read the various natbib cite commands.
5749 (validate): white-space change.
5751 * bufferparams.[Ch]: new variables "bool use_natbib" and
5752 "bool use_numerical_citations".
5753 (writeFile): output them in the LyX file.
5755 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5757 * lyxfunc.C (getStatus): add support for all the inset insertion
5760 * text2.C (insertInset):
5761 * paragraph.C (insetAllowed):
5762 * BufferView_pimpl.C (insertInset): update to take in account the
5763 renaming of insertInsetAllowed
5765 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
5767 * text2.C (getInset): new method. returns inset at cursor position.
5769 * BufferView_pimpl.C (Dispatch): changes because of this.
5771 * LyXAction.C (init): rename open-stuff to inset-toggle.
5773 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
5775 * text2.C (toggleInset): renamed from openStuff; use
5778 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5780 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
5782 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
5784 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
5786 * buffer.C (readLyXformat2): Add filename to the error dialog
5788 2001-07-18 Juergen Vigna <jug@sad.it>
5790 * tabular.C (GetCellNumber): put an assert here instead of the check!
5792 2001-07-17 Juergen Vigna <jug@sad.it>
5794 * BufferView_pimpl.C (toggleSelection): adapted too.
5796 * text.C (selectNextWord): adapted for use with insets.
5797 (selectSelectedWord): ditto
5799 2001-07-17 Juergen Vigna <jug@sad.it>
5801 * sp_spell.C (PSpell): fix initialitation order.
5803 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5805 * paragraph.C: spacing
5807 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
5809 * sp_spell.C: repair language selection for pspell
5811 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5813 * lyxfunc.h: change more methods to begin with lower char.
5815 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
5817 * buffer.C (parseSingleLyXformat2Token): Generate error insets
5818 for unknown layouts.
5820 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
5822 * buffer.C (readLyXformat2): Generate an error dialog if there are
5825 2001-07-16 Juergen Vigna <jug@sad.it>
5827 * sp_spell.C: always compile ISpell part.
5829 * lyxrc.C: added use_pspell entry and it's handling.
5831 2001-07-13 Juergen Vigna <jug@sad.it>
5833 * sp_spell.C: removed double includes.
5835 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5837 Consistent use of Lsstream.h:
5838 * Lsstream.h: added using std::stringstream for consistencies sake.
5840 * buffer.C: removed using std::stringstream
5842 * lyxfont.C (stateText):
5843 * paragraph.C (asString):
5844 * text.C (selectNextWord, selectSelectedWord):
5845 * text2.C (setCounter):
5846 * vspace.C (asString, asLatexString):
5847 std::ostringstream -> ostringstream.
5849 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5851 * LyXAction.C: add LFUN_HELP_ABOUTLYX
5852 * commandtags.h: add LFUN_HELP_ABOUTLYX
5853 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
5855 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
5857 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
5859 * lyx_gui_misc.C: remove spellchecker
5860 * lyxfunc.C: showSpellchecker
5862 * sp_ispell.h: added
5863 * sp_pspell.h: added
5865 * sp_form.[Ch]: removed
5866 * spellchecker.[Ch]: removed
5868 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
5870 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
5872 (simpleTeXSpecialChars): Simply print the input character without
5873 any special translation if pass_thru is set.
5875 * layout.h: Added bool pass_thru to layout class for being able to
5876 implement pass through of a paragraph for Literate Programming.
5878 * layout.C: add LT_PASS_THRU to LayoutTags enum.
5879 * layout.C (LyXLayout): set pass_thru to flase in constructor.
5880 * layout.C (Read): add "passthru" to list of layout tags and add
5881 code to set the pass_thru boolean when it is read.
5883 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5885 * trans_decl.h: remove allowed from KmodInfo
5887 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
5891 * paragraph_pimpl.C (erase): use boost::prior
5893 * Painter.C (text): use data() instead of c_str() when length is
5895 * WorkArea.C (putClipboard): ditto
5896 * font.h (width): ditto
5898 * BufferView2.C: use it-> instead of (*it). for iterators
5900 * paragraph_pimpl.C: ditto
5901 * paragraph.C: ditto
5902 * minibuffer.C: ditto
5907 * converter.C: ditto
5909 * Variables.C: ditto
5910 * TextCache.C: ditto
5911 * MenuBackend.C: ditto
5912 * LyXAction.C: ditto
5914 * FloatList.C: ditto
5916 * ColorHandler.C (LyXColorHandler): ditto
5918 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5920 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
5922 * text2.C (openStuff): reintroduce this method (which had been
5923 nuked in NEW_INSETS frenzy).
5925 * lyxfunc.C (Dispatch): when an action has not been handled, use
5926 its name in the error message, not its number.
5928 * paragraph.C (inInset): change method name to begin with lowercase.
5931 * text2.C: updates because of this.
5933 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5935 * ToolbarDefaults.C (add): add spaces in error message
5937 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5939 * buffer.C (readLyXformat2): initialize the ert comp. variables.
5940 (readLyXformat2): rename return_par to first_par, use lyxlex's
5941 pushToken and remove the manual push handling.
5942 (parseSingleLyXformat2Token): add another ert comp. variable:
5943 in_tabular, rename return_par to first_par. handle newlines better
5945 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5947 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
5949 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
5951 * text2.C (getParFromID): removed
5953 * buffer.C (getParFromID): new method moved form lyxtext.
5954 * BufferView2.C (insertErrors): adjust
5955 (setCursorFromRow): adjust
5956 * BufferView_pimpl.C (restorePosition): adjust
5957 * lyxfunc.C (Dispatch): adjust
5958 * undo_funcs.C (textUndo): adjust
5960 (textHandleUndo): adjust
5961 (textHandleUndo): adjust
5963 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5965 * buffer.C: up' the LYX_FORMAT
5967 * lyxfont.h: turn NO_LATEX on as default
5969 * buffer.C (insertErtContents): new methods of tex style compability.
5970 (parseSingleLyXformat2Token): use it several places.
5971 * tabular.C (OldFormatRead): and here
5973 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5975 * text2.C: remove some commented code.
5978 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
5979 * trans.C: changes because of the above.
5981 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
5983 * text2.C (setCounter): Fix counters bug with bibliography layout.
5985 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5987 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
5988 own member functions
5989 (simpleTeXSpecialChars): ditto
5991 2001-07-06 Juergen Vigna <jug@sad.it>
5993 * a lot of files: changed the access to LyXText::status and the
5994 call of undo-functions.
5996 * undo.[Ch]: added a inset_id to the undo informations.
5998 * undo_funcs.[Ch]: added and moved here all undo functions.
6000 * lyxtext.h: give the status enum a weight, made status_ a private
6001 variable and made accessor functions for it, removed the whole bunch
6002 of undo-functions as they are now in their own file, make some
6003 functions publically available. Added function ownerParagraph with
6006 * paragraph.[Ch]: added "bool same_ids" to the constructor,
6007 made InInset() a const function, added getParFromID() function.
6009 * buffer.[Ch]: added const version for inset_iterator functions,
6010 added getInsetFromID() function.
6012 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
6013 changed undo functions for new version.
6015 2001-07-05 Juergen Vigna <jug@sad.it>
6017 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
6018 unknow mechanism does not call the proper constructor but only this
6019 one also if I request the other!?
6021 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6023 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
6025 * text2.C (LyXText): use initialization lists.
6027 * lyxtext.h (Selection): initialize set_ and mark_
6028 (init): remove method
6030 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
6032 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
6034 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6036 * screen.[Ch]: change method names to begin with lowercase
6038 * BufferView_pimpl.C (updateScrollbar): simplify further and
6039 hopefully make it a bit faster.
6041 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6043 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
6044 calling directly xforms functions.
6046 * Painter.C (Painter):
6047 * lyx_cb.C (MenuWrite):
6048 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
6051 * lyx_gui.C: remove bogus guiruntime extern declaration.
6053 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6055 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
6057 (redoDrawingOfParagraph): ditto
6058 (redoParagraphs): ditto
6059 (cutSelection): don't create a object for CutAndPaste use the
6060 static method directly
6061 (pasteSelection): ditto
6063 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
6066 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6068 * modifications to some other files because of this.
6070 * Makefile.am (lyx_SOURCES): add XFormsView
6072 * XFormsView.[Ch]: new files
6074 * LyXView.[Ch]: make LyXView a base class for the gui handling for
6075 the main window. Move the gui dependent stuff to XFormsView
6077 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6079 * tabular.C (GetCellInset): update cur_cell also in the row/col
6080 version of this function.
6082 * lyxfunc.C: no need to include figure_form.h here.
6088 * lyxvc.C: no need to include forms.h here.
6090 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6092 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
6094 * lyxfunc.C (Dispatch):
6096 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
6097 constructor argument.
6099 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6101 * paragraph.C (Paragraph): dont't clear, and just set layout.
6102 (makeSameLayout): use params's copy contructor.
6104 * ParagraphParameters.[Ch] (makeSame): delete method
6106 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6108 * Variables.[Ch]: fix indentation, rename set to isSet
6110 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6112 * lyxfunc.C (Dispatch): fix typo
6114 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6116 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
6119 * bufferlist.C: include assert.h for emergencyWrite().
6121 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6123 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
6124 give up at last (bug #425202) !
6126 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
6132 * spellchecker.C: strip spellchecker options and bring up
6133 preferences tab instead
6135 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6137 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
6138 the istringstream constructor
6140 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6142 * paragraph.C (getLayout): fix return value
6144 * paragraph.h: do not declare getLayout as inline.
6146 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
6148 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6150 * lyxcursor.h (operator<): new func
6151 (operator>): new func
6152 (operator>=): new func
6153 (operator<=): new func
6155 * text.C (changeCase): use selection.start and selection.end
6156 (changeRegionCase): require from to be <= to. Require par to be a
6159 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
6161 2001-06-27 Juergen Vigna <jug@sad.it>
6163 * text.C (cursorLeftOneWord): changed to return the cursor and added
6164 overlay with BufferView * parameter which calls this one.
6166 (selectWord): use new getWord function.
6167 (changeCase): renamed from changeWordCase as and extended to work
6170 * lyxtext.h: added enum word_location
6172 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
6173 changeCase as this operates now also on selections.
6175 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6177 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
6179 * many files: send debug output to Debug::INFO instead of
6182 * converter.C (View):
6184 (Move): send debug output to Debug::FILES instead of console.
6186 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6188 * lyxfunc.C (getStatus): use func_status
6190 * func_status.h: new header, describing the results of
6193 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
6196 2001-06-25 The LyX Project <jug@sad.it>
6198 * buffer.C (sgmlOpenTag):
6200 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
6202 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6204 * text2.C: remove some dead code
6206 * tabular.C (GetCellInset): store the last cell checked (gotten)
6208 * tabular.h: add the helper for the speedup
6210 * lyxtext.h: remove some dead code
6212 2001-06-26 The LyX Project <Asger>
6214 * paragraph.C: Change export to LaTeX of alignment to
6215 \begin{center} and family for better roundtrip work with reLyX.
6217 * Tune the math drawing a bit.
6219 2001-06-25 The LyX Project <Asger>
6221 * LColor.C (LColor): New color for math background. New color
6224 2001-06-25 The LyX Project <jug@sad.it>
6226 * lyxfunc.C (MenuNew): remove extra check for .lyx file
6229 * bufferlist.C (newFile): do not restrict to files ending with
6232 * BufferView_pimpl.C (MenuInsertLyXFile):
6234 2001-06-24 The LyX Project <jug@sad.it>
6236 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
6239 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6241 * lyxtext.h: rename most methods to begin with a small char.
6242 Lots of changes because of this.
6244 * paragraph.C (Paragraph): do not call fitToSize
6245 (erase): call Pimpl::erase
6246 (insertChar): call Pimpl::insertChar
6247 (insertInset): call Pipl::insertInset
6248 (breakParagraph): do not call fitToSize
6249 (breakParagraphConservative): do not call fitToSize
6250 (fitToSize): remove method
6252 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
6254 2001-06-24 The LyX Project <Asger>
6256 * Fix Qt compilation^2
6258 2001-06-24 The LyX Project <jug@sad.it>
6260 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
6261 depthHook(getDepth()-1).
6264 * ParagraphParameters.h:
6265 * ParameterStruct.h: change type of depth to unsigned int ==
6266 depth_type. Many adaptations to other files before of that.
6268 2001-06-24 The LyX Project <Asger>
6270 * Fix Qt compilation.
6272 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6274 * paragraph.h: renamed several methods to begin with small letter.
6275 several changes to many parts of the code because of this.
6277 2001-06-23 The LyX Project <jug@sad.it>
6279 * text2.C (InsertStringAsLines): renamed from InsertStringA;
6280 rewritten to discard all double spaces when KeepEmpty is off
6281 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
6282 to only handle newlines but not fiddle with spaces and friends.
6284 * lyxfunc.C (MenuNew): when doing 'new from template', use
6285 template_path as default directory
6287 2001-06-23 The LyX Project <Asger>
6289 * Clean-up of header file includes all over
6290 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
6292 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6294 * paragraph.h: renamed from lyxparagraph.h
6296 2001-06-23 Asger <lyx@violet.home.sad.it>
6298 * Buffer.h: Removed Buffer::resize
6299 * BufferList.h: Removed BufferList::resize
6300 * LyXView.h: Added LyXView::resize. This way, we will only reflow
6301 the document lazily when we change the width, or the font settings.
6303 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6305 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
6307 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6309 * buffer.h: remove out of date comment
6311 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
6314 * screen.C: fix "theoretical" GC leak
6316 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6318 * LaTeX.C (scanAuxFile):
6319 (deplog): remove trailing \r when reading stream (useful under
6322 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
6324 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
6325 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
6326 and BufferView::theLockingInset(Inset*), so should use them and not
6327 access bv_->text->the_locking_inset directly.
6329 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
6331 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6334 * tex-defs.h: remove old unused file
6336 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
6338 * BufferView_pimpl.C: fix typo, remove minibuffer message
6339 when buffer has loaded
6341 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6343 * lyxfunc.C (Dispatch): use stringstream
6344 (MenuNew): use stringstream
6345 (Open): use stringstream
6347 * importer.C (Import): use stringstream
6349 * bufferview_funcs.C (CurrentState): use stringstream
6351 * LaTeX.C (run): use stringstream
6353 * BufferView_pimpl.C (savePosition): use stringstream
6354 (restorePosition): use stringstream
6355 (MenuInsertLyXFile): use stringstream
6357 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
6370 * vspace.C: removed // -*- C++ -*- as first line.
6373 * version.h: added // -*- C++ -*- as first line.
6375 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6377 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
6379 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
6382 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6384 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
6387 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6389 * gettext.C: include LString.h even when --disable-nls is on.
6391 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
6393 * converter.h (Get): changed argument type from int to
6394 FormatList::size_type to avoid unnecessary conversion.
6396 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
6399 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6401 * gettext.h: include LString.h even when --disable-nls is on.
6403 2001-06-07 Juergen Vigna <jug@sad.it>
6405 * text.C (BreakAgain): subst spaces with tabs.
6407 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
6408 (resizeInsetsLyXText): set force on resizeLyXText.
6410 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6412 * gettext.h (gettext_init):
6413 (locale_init): use a real definition instead of a macro
6415 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6417 * Bufferview_pimpl.C:
6419 * LColor.C: further lcolor tidies
6421 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6423 * BufferView_pimpl.C (updateScrollbar): simplify.
6425 * BufferView2.C: don't include insets/insetinfo.h, change
6426 prototype for insertInset and call the Pimpl version. let
6427 updateInset call Pimpl version.
6429 * BufferView.h: move inset_slept to BufferView::Pimpl, move
6430 gotoInset to BufferView::Pimpl
6432 2001-06-01 Juergen Vigna <jug@sad.it>
6434 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
6435 inside a LockingInset (is the update needed at all?).
6437 2001-05-31 Juergen Vigna <jug@sad.it>
6439 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
6440 here not the old one otherwise how should we compare it afterwards
6443 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6448 * FontInfo.C: bring C functions into global namespace when
6451 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6453 * LString.h: make sure config.h has been loaded before LString.h.
6455 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
6456 (one for each char read by EatLine!).
6458 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
6461 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6463 * paragraph.C (BreakParagraph): set the inset_owner in the new par
6464 to the same as the par we break from
6466 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6468 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
6470 * MenuBackend.C (expand): also create menu entries for wide
6471 versions of the floats.
6473 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
6475 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
6477 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
6478 frontends/Makefile.am
6484 * tabular.C (getTokenValue): add std::
6486 * tabular-old.C (getTokenValue): add std::
6487 (getTokenValue): ditto
6488 (getTokenValue): ditto
6490 * screen.C (ToggleSelection): adjust
6492 * lyxtext.h: put selection cursors inside a Selection struct.
6494 * lyxfunc.C (moveCursorUpdate): adjust
6496 * lyxfont.C (latexWriteStartChanges): add std::
6500 * font.h: delete with(char const *, LyXFont const &)
6502 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
6504 * FontInfo.C (getFontname): add std::
6506 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6507 (workAreaButtonPress): adjust
6508 (tripleClick): adjust
6510 (moveCursorUpdate): adjust
6513 * BufferView2.C (gotoInset): adjust
6515 2001-05-30 Juergen Vigna <jug@sad.it>
6517 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
6518 to check pspell I add this as default as I now have new pspell
6519 libraries and they seem to use this.
6521 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * text2.C (CutSelection): make the cursor valid before the call to
6526 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6528 * kbsequence.C (parse): de-uglify a bit the parsing code, which
6529 relied on 0 terminated strings and other horrors. Bug found due to
6530 the new assert in lyxstring!
6532 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
6535 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6537 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
6540 * lyxfunc.C (processKeySym): change method of getting to the
6543 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
6544 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
6545 * BufferView_pimpl.[Ch]: here as private methods.
6547 2001-05-28 Juergen Vigna <jug@sad.it>
6549 * text.C (SetHeightOfRow): added the update() call again as it is
6550 needed to initialize inset dimensions!
6552 2001-05-16 Juergen Vigna <jug@sad.it>
6554 * text2.C (SetCharFont): Add new function with BufferView * and
6555 bool toggleall parameters for setting insets internal fonts.
6556 (SetFont): Freeze the undo as we may change fonts in Insets and
6557 all this change should be inside only one Undo!
6559 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
6560 setting font's in insets as for them we have the SetFont function!
6562 2001-05-15 Juergen Vigna <jug@sad.it>
6564 * text2.C (ClearSelection): to be sure we REALLY don't have any
6567 * tabular.C (TeXCellPreamble): fixed the left border problem for
6570 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6572 * LaTeX.C (deplog): Make sure that the main .tex file is in the
6575 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6577 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
6578 LFUN_BREAKPARAGRAPH.
6580 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
6581 help test to "internal only", similar for LFUN_INSERT_URL
6583 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
6584 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
6585 auto_region_delete and deadkeys.
6587 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
6590 * LColor.C: remove some dead entries, tidy a little
6592 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6594 * lyxfunc.C (processKeySym): comment the Escape handling, remove
6596 (Dispatch): implement LFUN_ESCAPE
6598 * commandtags.h: add LFUN_ESCAPE
6600 * LyXAction.C (init): add entry for LFUN_ESCAPE
6602 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
6603 Remove commented code.
6604 (insertNote): moved here
6605 (open_new_inset): moved here
6607 * BufferView[2].[Ch]: move insertNote and open_new_inset to
6610 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6612 * kbmap.C (findbinding): clean it up and make it work correctly.
6614 * lyx_main.C (init): do not pass argc and argv as parameters
6616 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6618 * buffer.C: fix path for OS/2 & Win32
6622 * lyx_main.C: Added os:: class.
6624 * os2_defines.h: update
6626 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6628 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
6629 better by trying again with reduced state.
6631 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6633 * lyxrc.C (read): print error about invalid key sequence only when
6634 debugging (because not all latinX keysyms are known to some X
6637 * kbsequence.C (getiso): add a few std:: qualifiers
6638 (getiso): comment out extra return statement.
6640 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
6642 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
6644 (Dispatch): enhance the accent inset a bit. (not perfect)
6646 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6648 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
6650 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6652 * bufferlist.C (emergencyWrite): fix assert() call
6654 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
6656 * text.C (InsertChar): Added trivial patch to only send the "you
6657 can not do multiple spaces this way" message once during a
6660 2001-05-08 Baruch Even <baruch@lyx.org>
6662 * Makefile.am: Changed order of libraries to get LyX to link properly
6663 with the gnome frontend.
6665 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6667 * LaTeXFeatures.h: add a std:: qualifier
6669 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6671 * paragraph.C (String): use stringstream
6673 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6675 * paragraph.C (writeFile): remove footflag arg
6677 * buffer.C (makeLaTeXFile): use stringstream
6678 (latexParagraphs): remove footnot gurba
6680 * LaTeXFeatures.C (getPackages): use stringstream
6681 (getMacros): likewise
6682 (getTClassPreamble): likewise
6683 (getFloatDefinitions): new method
6685 * paragraph.C (writeFile): reindent
6688 * WorkArea.h: revert the xpos + etc changes.
6690 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
6692 * lyxparagraph.[Ch]: add copy constructor, remove Clone
6694 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
6695 (pasteSelection): likewise
6696 * text2.C (CreateUndo): likewise
6698 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6700 * minibuffer.C (peek_event): temporarily reduce the functionality
6701 of the minibuffer (to allow args on lfuns)
6703 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
6704 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
6706 * buffer.C (readInset): add compability reading of old float
6707 lists, add reading of new style float list.
6708 (readInset): avoid reevaluation of inscmd.getCmdName()
6709 (getLists): reindent
6711 * MenuBackend.C (MenuItem): implement parsing of
6712 md_floatlistinsert and md_floatinsert.
6713 (expand::LastFiles): move initalizaton of iterators out of loop,
6715 (expand::Documents): introduce typdedef vector<string> Strings,
6717 (expand::ExportFormats): introduce typedef vector<Format const *>
6718 Formats, and use it.
6719 (expand): implement FloatListInsert and FloatInsert.
6721 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
6722 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
6723 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
6725 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
6727 (Dispatch::LFUN_FLOAT_LIST): implement
6729 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6731 * LaTeX.C (run): Fix problem with --export code.
6733 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6735 * BufferView.[Ch] (workarea): removed.
6736 (getClipboard) new method; wrapper for workarea()->getClipboard()
6738 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
6741 * WorkArea.h (width, height, xpos, ypos): These methods all
6742 returned the dimensions of the work_area sub-area of WorkArea,
6743 resulting in a position error if the WorkArea were resized. Now
6744 return the dimensions of the entire WorkArea.
6746 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
6748 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6750 * LaTeX.C (deplog): correct the syntax of regex reg1
6752 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6754 * undo.C: remove !NEW_INSETS cruft
6756 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6758 * text2.C: remove !NEW_INSETS cruft
6760 * text.C: remove !NEW_INSETS cruft
6762 * tabular.C: remove !NEW_INSETS cruft
6764 * spellchecker.C: remove !NEW_INSETS cruft
6766 * lyxtext.h: remove !NEW_INSETS cruft
6768 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
6770 * lyxfunc.C: remove !NEW_INSETS cruft
6772 * lyxfind.C: remove !NEW_INSETS cruft
6774 * lyx_cb.C: remove !NEW_INSETS cruft
6776 * figureForm.C: remove !NEW_INSETS cruft
6778 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
6780 * buffer.[Ch]: remove !NEW_INSETS cruft
6782 * ToolbarDefaults.C: remove !NEW_INSETS cruft
6784 * CutAndPaste.C: remove !NEW_INSETS cruft
6786 * BufferView_pimpl.C: remove !NEW_INSETS cruft
6788 * BufferView2.C: remove !NEW_INSETS cruft
6790 * BufferView.h: remove !NEW_INSETS cruft
6792 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6794 * Lsstream.h: include LString.h before the sstream headers to
6795 fix problem with gcc 2.95.3 and lyxstring
6797 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6799 * lyx_main.C: add using directives when needed for C functions
6800 declared in std:: namespace.
6802 2001-04-27 Juergen Vigna <jug@sad.it>
6804 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
6805 (SetHeightOfRow): comment out the update call should not be needed!
6807 2001-04-13 Juergen Vigna <jug@sad.it>
6809 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
6810 (LyXTabular): tried to minimize operator= operations (and realized
6811 hopfully Lars wish).
6813 2001-04-27 Juergen Vigna <jug@sad.it>
6815 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
6817 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6819 * lyxfunc.C (Dispatch): hack to make listof algorithm work
6821 * buffer.C (readInset): hack to make listof algorithm work
6823 * BufferView_pimpl.C: hack to make listof algorithm work
6825 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6827 * LyXAction.C: removed all !NEW_INSETS cruft
6828 (init): moved lfun_item in method
6830 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
6832 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
6834 * BufferView2.C (theLockingInset): white space.
6836 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6838 * minibuffer.C: include <iostream>
6840 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
6842 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
6844 * commandtags.h: add LFUN_TRANSPOSE_CHARS
6846 * text.[Ch] (TransposeChars): new method
6848 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6850 * call message directly through LyXView instead of through LyXFunc
6851 * BufferView2.C: adjust
6852 * BufferView_pimpl.C: adjust
6853 * FontLoader.C: adjust
6855 * bufferview_funcs.C: adjust
6856 * converter.C: adjust
6857 * figureForm.C: adjust
6858 * importer.C: adjust
6860 * lyx_gui_misc.C: adjust
6864 + more files in subdirs
6866 * lyxparagraph.h (size): move up int file
6869 * adjust all uses of Assert to lyx::Assert.
6871 * BufferView2.C (ChangeCitationsIfUnique): adjust for
6872 lyxfunctional in namespace lyx
6873 * layout.C (hasLayout): ditto
6876 (delete_layout): ditto
6877 (NumberOfClass): ditto
6878 * converter.C (GetFormat): ditto
6883 * bufferlist.C (getFileNames): ditto
6884 (emergencyWriteAll): ditto
6887 * MenuBackend.C (hasSubmenu): ditto
6890 * BufferView_pimpl.C (getInsetByCode): ditto
6892 2001-04-18 Juergen Vigna <jug@sad.it>
6894 * vspace.C (asLatexString): fixed the 100% problem.
6896 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6898 * lyxfunc.C (Dispatch):
6900 * minibuffer.h: add a few std:: qualifiers
6902 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6904 * minibuffer.[Ch]: reimplement so that commands is initiated and
6905 run from lyxfunc, simplified som handling, and made the completion
6906 and history code for complete. wip.
6908 * lyxfunc.C (processKeySym): call message
6909 (miniDispatch): new temporary method
6910 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
6911 (LFUN_MESSAGE): implement
6912 (LFUN_MESSAGE_PUSH): implement
6913 (LFUN_MESSAGE_POP): implement
6914 (initMiniBuffer): the initial/defualt minibuffer message.
6916 * lyxfont.[Ch]: inline some more getters
6918 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
6920 * lyx_gui_misc.[Ch] (WriteStatus): remove method
6922 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
6923 (AutoSave): use LFUN_MESSAGE
6924 (Reconfigure): ditto
6926 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
6928 * figureForm.C: use LFUN_MESSAGE
6930 * converter.C (runLaTeX): use LFUN_MESSAGE
6932 * bufferview_funcs.C: use LFUN_MESSAGE
6934 (changeDepth): ditto
6936 * bufferparams.h: use boost::
6938 * bufferlist.h: inherit privately from noncopyable
6940 * bufferlist.C (loadLyXFile): remove some commented code.
6942 * buffer.C (runChktex): use LFUN_MESSAGE
6944 * ShareContainer.h: inherit privately from noncopyable
6946 * ParagraphParameters.[hC] (depth): inline it.
6948 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
6950 (message): new method
6951 (messagePush): ditto
6953 (show): init minibuffer
6954 (showState): direct call
6956 * LaTeX.[Ch]: inherit privately from noncopyable
6957 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
6958 instead of WriteStatus.
6960 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
6962 * BufferView_pimpl.C (buffer): don't init minibuffer
6963 (workAreaButtonPress): use LFUN_MESSAGE
6964 (workAreaButtonRelease): ditto
6965 (savePosition): ditto
6966 (restorePosition): ditto
6967 (MenuInsertLyXFile): ditto
6968 (workAreaExpose): don't init minibuffer
6969 (update): remove commented code, simplify
6971 * BufferView2.C (openStuff): use LFUN_MESSAGE
6972 (toggleFloat): ditto
6975 (copyEnvironment): ditto
6976 (pasteEnvironment): ditto
6981 (updateInset): remove some commented code
6983 * lastfiles.h: inherit privately from noncopyable
6988 * lyxlex_pimpl.h: ditto
6990 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
6991 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
6992 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6994 * LyXAction.h: inherit privately from noncopyable, add methods
6995 func_begin, func_end, returning iterators to the func map.
6997 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
6998 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
6999 (func_begin): new method
7000 (func_end): new method
7002 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
7004 (copySelection): ditto
7005 (pasteSelection): ditto
7007 * BufferView.C: whitespace change
7008 * BufferView.h: inherit privately from noncopyable
7010 2001-04-16 Allan Rae <rae@lyx.org>
7012 * tabular-old.C (l_getline):
7013 * spellchecker.C (sc_check_word):
7014 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
7015 an unrecognised preprocessor directive. So ensure they're wrapped.
7017 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
7019 * src/exporter.C (Export): Give an error message when path to file
7022 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
7024 * LaTeX.C (deplog): Always check that foundfile exists.
7026 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7029 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
7031 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7033 * tabular.[Ch] (getLabelList): implement new method
7035 * minibuffer.h: comment ouf setTiimer
7037 * minibuffer.C (ExecutingCB): constify res
7038 (peek_event): constify s
7039 (Set): constify ntext
7040 (Init): constify nicename
7042 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
7044 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
7045 (savePosition): use two params to Minibuffer::Set
7046 (restorePosition): ditto
7048 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7050 * lyx_main.C: include language.h
7052 * Makefile.am (lyx_main.o): add language.h
7054 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7060 * CutAndPaste.C: include gettext.h
7062 * lyxfont.h: remove old hack with ON and OFF.
7065 * lyxfont.h: do not include language.h...
7070 * bufferview_funcs.C:
7076 * paragraph.C: ... but do it here instead
7078 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7080 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
7082 * tabular.C: small reformat
7084 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
7087 (BreakParagraph): ditto
7088 (SetOnlyLayout): ditto
7091 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
7094 * lastfiles.C: removed most using decl, add std:: where needed
7096 * buffer.C: ws changes
7098 * MenuBackend.C (class compare_format): put into anon namespace
7099 (expand): constify label, names, action, action2
7102 * text.C (SingleWidth): constify font
7103 (IsBoundary): constify rtl2
7104 (GetVisibleRow): constify ww
7106 * LaTeX.C (deplog): constify logfile
7108 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
7110 (workAreaExpose): constify widthChange, heightChange
7112 * lyxrow.C (par): moved
7115 * lyxrow.h: as inlines here
7117 * lyxfont.h (shape): moved from lyxfont.C
7118 (emph): moved from lyxfont.C
7120 * lyxfont.C (LyXFont): use initialization list for all
7122 (shape): move to lyxfont.h as inline
7123 (emph): move to lyxfont.h as inline
7126 2001-04-04 Juergen Vigna <jug@sad.it>
7128 * vspace.C: had to include stdio.h for use of sscanf
7130 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
7133 * BufferView_pimpl.h: remove xforms cruft. Both classes are
7134 independent of xforms.
7136 2001-04-02 Juergen Vigna <jug@sad.it>
7138 * spellchecker.C: fixed namespace placing!
7140 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
7142 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
7143 the LyXParagraph * is 0.
7145 2001-03-29 Juergen Vigna <jug@sad.it>
7147 * vspace.C: added support for %, c%, p%, l%.
7148 (stringFromUnit): added helper function.
7149 (asLatexString): changed to give right results for the %-values.
7151 * buffer.C: convert the widthp in a width%.
7153 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
7155 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
7158 * figureForm.[Ch]: stripped the FD_from_figure manipulation
7159 code out of lux_cb.[Ch], ready for its (imminent?) removal.
7161 * lyx_cb.[Ch]: see above.
7163 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
7167 * lyx.[Ch]: replaced by figure_form.[Ch].
7171 * lyxfunc.C: changed headers associated with above changes.
7173 2001-03-27 Juergen Vigna <jug@sad.it>
7175 * BufferView_pimpl.C: set the temporary cursor right!
7177 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
7179 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
7181 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
7183 * LString.h: removed "using std::getline"!
7185 * BufferView_pimpl.C (Dispatch): changes due to changes in
7186 InsetInclude::Params.
7188 * buffer.C (tag_name): removed redundant break statements as they were
7189 producing lots of warnings with my compiler.
7191 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7193 * LString.h: add "using std::getline" when using the real <string>.
7195 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
7197 * buffer.C: removed bitset usage.
7198 PAR_TAG moved to an anonymous name space.
7199 (tag_name): new funtion, also in the anonymous namespace.
7200 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
7201 (makeDocBookFile): clean code. Completed transition from string arrays
7203 (SimpleDocBookOnePar): code clean.
7205 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7207 * tabular.C: add some comments.
7209 2001-03-22 Juergen Vigna <jug@sad.it>
7211 * buffer.C (parseSingleLyXformat2Token): redone the minipage
7212 compatibility read a bit and fixed bug with minipage in different
7215 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
7217 * buffer.C (pop_tag): removed.
7218 (push_tag): removed.
7219 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
7220 array replaced with vector. Added support for CDATA sections.
7221 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
7223 (makeDocBookFile): XML conformant declaration of CDATA section,
7224 fixed bug related to <emphasis> in the first paragraph char.
7225 (sgmlOpenTag): exclude empty tags.
7226 (sgmlCloseTag): ditto.
7228 * buffer.h (pop_tag): removed.
7229 (push_tag): removed.
7231 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
7233 * language.h (Languages): added size_type and size().
7235 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7237 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
7238 response on compability reading of minipages. One probliem is that
7239 the old usage of minipages was «flertydig»
7241 * several files here and in subdirs: don't use static at file
7242 scope use anon namespaces instead.
7244 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
7246 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
7247 LaTeX output. This is necessary for Literate document
7250 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7252 * buffer.C: insert hfill when needed.
7254 * tabular.C (l_getline): use string::erase, small whitespace change.
7256 * BufferView_pimpl.C: try the anon namespace.
7259 2001-03-16 Juergen Vigna <jug@sad.it>
7261 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
7262 otherwise it won't open options-dialogs.
7264 * buffer.C: honor pextraWidth(p) on converting minipages.
7266 * tabular.C (l_getline): changed the functions to strip trailing \r.
7268 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
7270 * BufferView_pimpl.C:
7271 * minibuffer..C: added "using SigC::slot" declaration.
7273 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7275 * lyxlex_pimpl.h: noncopyable is in namespace boost.
7281 * paragraph.C: ditto
7283 * lyxtext.h: NO_PEXTRA
7285 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
7287 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
7288 * ParameterStruct.h: ditto
7289 * ParagraphParameters.h: ditto
7290 * lyxparagraph.h: ditto
7292 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7294 * buffer.C: add compability for minipage alignment.
7295 (latexParagraphs): remove unwanted pextra check.
7297 * several files: remove CXX_WORKING_NAMESPACES
7299 * buffer.C (pop_tag): tie is in namespace boost
7301 * BufferView.h: noncopyable is in namespace boost
7306 * lastfiles.h: ditto
7307 * bufferlist.h: ditto
7308 * ShareContainer.h: ditto
7310 * LyXAction.h: ditto
7313 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7315 * Merging changes from BRANCH_MVC back into HEAD.
7317 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
7319 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
7321 * BufferView_pimpl.C: change from intl.C
7325 * Makefile.am: move combox.*
7331 * intl.C: remove dialog (covered by prefs)
7333 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
7335 * lyxfunc.C (Dispatch): removed redundant break statement.
7337 2001-03-14 Juergen Vigna <jug@sad.it>
7339 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
7341 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7343 * buffer.C: add hack to fix compability reading of minipages.
7345 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
7347 * buffer.C (getLists): Cleanup.
7349 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7351 * lyxfont.C (update): don't honor toggleall on font size.
7353 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
7357 * Makefile.am: moved to frontends/xforms/
7361 * BufferView_pimpl.C: changes for moved mathpanel
7363 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7365 * gettext.h: fix gettext_init() in --disable-nls
7367 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7369 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
7371 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
7374 * lyx.h: strip external form
7376 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7378 * BufferView_pimpl.C: add comment, destroySplash()
7380 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
7382 * BufferView_pimpl.C:
7386 * lyxfunc.C: use re-worked insetinclude
7388 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7390 * buffer.C: add using std::stringstream.
7392 * lyx_cb.C: readd using std::ios.
7394 * buffer.C: add using std::map.
7396 * BufferView_pimpl.C: add using std::vector.
7398 * ShareContainer.h: add std:: to swap.
7400 * buffer.h: add some typedefs
7401 * buffer.C (getLists): use them
7402 (getLists): renamed from getTocList.
7403 add a counter for the different float types and use it in the
7405 (getLists): use the same counter for the NEW_INSETS and the "non"
7408 * lyx_cb.h: remove unused items, includes, using etc.
7410 * ShareContainer.h: remove some commented code, add more comments
7411 and "documentation".
7413 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7415 * buffer.C (getTocList): make the list also when NEW_INSETS is
7418 * buffer.h: remove TocType
7420 * buffer.C (getTocList): change to return a map<string,
7421 vector<TocItem> >, implement for dynamic number of list.
7423 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
7424 * text2.C (PasteSelection): adjust
7425 * CutAndPaste.C (pasteSelection): adjust
7427 * FloatList.C (FloatList): update from the new_insets branch.
7428 * Floating.[Ch]: ditto
7429 * LaTeXFeatures.C: ditto
7431 * lyxlex_pimpl.C: ditto
7433 * paragraph.C (Last): remove when NEW_INSETS is defined.
7435 * other file: changes because of the above.
7437 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7439 * lyxparagraph.h: rename next to next_, previous to previous_,
7440 make them private for NEW_INSETS. Rename Next() to next(),
7441 Previous() to previous().
7443 * other files: changes because of the above.
7445 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
7448 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
7451 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7453 * main.C (main): pass lyx_localedir to gettext_init().
7455 * gettext.h: remove locale_init and gettext_init macros
7457 * gettext.C (locale_init): new function
7458 (gettext_init): new function
7460 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
7463 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
7465 * Moved credits to frontends:
7466 * credits.[Ch]: removed
7467 * credits_form.[Ch]: removed
7468 * lyx_gui_misc.C: remove credits stuff
7471 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7473 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
7475 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
7476 unneeded destructor.
7478 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
7479 a standalone pointer again.
7481 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
7483 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
7489 * ToolbarDefaults.C:
7498 * BufferView_pimpl.C: use new file dialog in GUII
7501 * lyx_cb.C: remove LayoutsCB to Toolbar
7503 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7505 * ShareContainer.h (get): add std:: qualifier
7507 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7509 * ShareContainer.h: define a proper ShareContainer::value_type
7510 type (and use typename to please compaq cxx)
7512 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7514 * lyxparagraph.h: move serveral local vars to
7515 ParameterStruct/ParagraphParameters., use ShareContainer in
7516 FontTable., make vars in FontTable private and add getter and
7519 * paragraph.C: changes because of the above.
7521 * lyxfont.h: remove copy constructor and copy assignment. (the
7522 default ones is ok), move number inside FontBits. move inlines to
7525 * lyxfont.C: add number to initializaton of statics, move several
7526 inlines here. constify several local vars. some whitespace
7527 cleanup. Dont hide outerscope variables.
7529 * Spacing.h: add two new constructors to match the set methods.
7531 * ShareContainer.h: new file, will perhaps be moved to support
7533 * ParameterStruct.h: new file
7535 * ParagraphParameters.h: new file
7537 * ParagraphParameters.C: new file
7539 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
7540 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
7542 * BufferView_pimpl.C: ParagraphParameter changes.
7543 * buffer.C: Likewise.
7544 * bufferview_funcs.C: Likewise.
7546 * text2.C: Likewise.
7548 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7550 * lyxfind.C (LyXReplace): do not redefine default argument in
7552 (IsStringInText): ditto
7553 (SearchForward): ditto
7554 (SearchBackward): ditto
7556 2001-03-06 Juergen Vigna <jug@sad.it>
7558 * lyxfind.C (IsStringInText): put parentes around expressions.
7560 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
7562 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
7564 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
7566 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
7568 * stl_string_fwd.h: add comment
7570 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
7573 * tabular.C: remove unused DocBook methods
7579 killed DO_USE_DEFAULT_LANGUAGE
7581 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7583 * lyx_gui.C: do not include language.h.
7585 * bufferview_funcs.C (ToggleAndShow): do not provide optional
7586 arguments in function implementation.
7588 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7590 * BufferView_pimpl.C: add <ctime>
7592 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7594 * BufferView_pimpl.C: add using std::find_if
7596 2001-02-27 José Matos <jamatos@fep.up.pt>
7598 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
7601 2001-02-11 José Matos <jamatos@fep.up.pt>
7603 * buffer.C (makeDocBookFile): command styles now have a parameter as
7606 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
7608 * layout_forms.[Ch]: removed
7609 * lyx_cb.[Ch]: out character
7610 * lyx_gui.C: out character
7611 * lyx_gui_misc.C: out character
7612 * bufferview_funcs.C: : out character,
7613 added toggleall as parameter in ToggleAndShow
7615 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
7617 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
7619 * text2.C (SetCurrentFont): Disable number property at boundary.
7621 2001-02-26 Juergen Vigna <jug@sad.it>
7623 * lyxfunc.C (getStatus): added a string argument override function so
7624 that this is correctly called from LyXFunc::Dispatch if it contains a
7625 do_not_use_argument which is used!
7626 (Dispatch): added check for "custom" export and call appropriate func.
7628 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
7630 * lyxrc.C: Add language_command_local, language_use_babel and
7631 language_global_options.
7633 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
7635 * buffer.C (makeLaTeXFile): Use language_use_babel and
7636 language_global_options.
7638 2001-02-23 Juergen Vigna <jug@sad.it>
7640 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
7641 which works with LyXText and putted it inside BufferView. Here now we
7642 only call for that part the BufferView::Dispatch() function.
7644 * BufferView.C (Dispatch): added.
7646 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
7647 functions which needs to use a LyXText over from LyXFunc.
7648 (MenuInsertLyXFile): added
7649 (getInsetByCode): added
7650 (moveCursorUpdate): added
7651 (static TEXT): added
7653 2001-02-22 Juergen Vigna <jug@sad.it>
7655 * BufferView_pimpl.C (update): call a status update to see if LyXText
7658 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
7660 * vc-backend.C (revert): implement for CVS
7661 (getLog): implement for CVS
7663 2001-02-20 Juergen Vigna <jug@sad.it>
7665 * text2.C (ClearSelection): added BufferView param for inset_owner call
7667 * lyxfunc.C (TEXT): added this function and use it instead of
7668 directly owner->view()-text of getLyXText().
7670 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
7672 * src/layout_forms.C: out preamble
7673 * src/layout_forms.h: out preamble
7674 * src/lyx_cb.C: out preamble
7675 * src/lyx_cb.h: out preamble
7676 * src/lyx_gui.C: out preamble
7677 * src/lyx_gui_misc.C: out preamble
7678 * src/lyxfunc.C: connect with guii preamble
7680 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
7682 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
7684 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
7686 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
7687 whether to run bibtex.
7689 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
7691 * Makefile.am (lyx_SOURCES): Remove BackStack.h
7693 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7695 * Makefile.am (lyx_SOURCES): removed bibforms.h
7699 * text.C (GetVisibleRow): make several local vars const
7701 * tabular.C: small cleanup.
7703 * lyxserver.C (callback): use compare instead of strncmp
7705 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
7706 inlines to after class or to paragraph.C
7708 * lyxfont.h: remove friend operator!=
7710 * converter.h: move friend bool operator< to non friend and after
7713 * combox.h: small cleanup
7715 * buffer.h: doxygen, remove unused constructor, move inclas inlies
7716 to inlines after class def.
7718 * buffer.C (pop_tag): use string operations instead of strcmp
7720 * bmtable.c: doxygen, small cleanup
7722 * LaTeX.h: remove friend operator==
7724 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7736 * BufferView_pimpl.C:
7737 * BufferView.[Ch]: remove cruft
7739 2001-02-14 Juergen Vigna <jug@sad.it>
7741 * lyxfunc.C: removed #if 0 unused code
7743 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
7745 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
7747 * text2.C (SetSelection): added a BufferView * parameter
7749 2001-02-13 Juergen Vigna <jug@sad.it>
7751 * lyxfunc.C (Dispatch): fixed protected blank problem.
7752 * BufferView2.C (protectedBlank): added LyxText * parameter.
7754 * tabular.C (AppendRow): forgot to set row_info of newly added row.
7755 (AppendColumn): same as above for column_info.
7757 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
7758 (moveCursorUpdate): use a LyXText param for support of InsetText.
7760 * BufferView_pimpl.C (doubleClick): added support for InsetText.
7761 (tripleClick): ditto
7763 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
7765 * BufferView_pimpl.C (update): added LyXText param to honor insets.
7767 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
7769 * text2.C (SetSelection): set correct update status if inset_owner
7772 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
7774 * tabular.C: remove some commented code.
7776 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7778 * BufferView_pimpl.C: call hideSplash()
7780 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
7783 * bibforms.h: remove
7786 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
7787 add LFUN_CHILD_CREATE
7789 * counters.h: fix tiny typo
7794 * lyx.C: move splash to frontends/xforms/
7796 * lyx_gui_misc.C: move Include and Bibform to frontends
7798 * lyxvc.h: clarify comment
7800 * vspace.C: tiny housekeeping
7802 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7804 * text.C (PrepareToPrint): RTL Fix.
7806 * paragraph.C (GetUChar): New method.
7807 (String): Use GetUChar.
7809 * buffer.C (asciiParagraph): Use GetUChar.
7811 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7813 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
7815 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
7818 * buffer.C: rename to getLogName(), handle
7819 build log / latex log nicely
7821 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7824 * MenuBackend.h: remove support for reference menuitem type.
7826 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
7828 * BufferView_pimpl.C: housekeeping
7829 * BufferView_pimpl.h:
7834 * minibuffer.h: move Timeout GUI-I
7836 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
7838 * lyxrc.C (read): Update converters data-structures.
7840 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
7842 * LaTeX.h (operator!=): add operator != for Aux_Info
7844 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
7846 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
7848 * LaTeXLog.C: deleted, useful code moved to Buffer
7851 * buffer.C: new function getLatexLogName()
7857 * lyxfunc.C: use frontends for LaTeX and VC logs
7859 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7861 * LaTeX.h: yet another std:: that Allan forgot.
7863 * Variables.C (set): renamed from isset(), because this clashes
7864 with some HP-UX macros (grr).
7866 2001-02-06 Allan Rae <rae@lyx.org>
7868 * LaTeX.h: Another bug fix. Missing std:: this time.
7870 2001-02-04 Allan Rae <rae@lyx.org>
7872 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
7873 floats problem. I've left it commented out because it's not quite
7874 correct. It should also test that the current object is a table or
7875 figure inset. But I haven't gotten around to figuring out how to do
7876 that. I *think* it'll be something like: "table" == inset.type()
7878 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
7881 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
7883 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
7884 all the citation/databases/styles in the auxilary file.
7885 (run): Rerun latex if there was a babel language error.
7887 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
7889 * text.C (Backspace): Preserve the font when changing newline char
7891 (BreakParagraph): If the cursor is before a space, delete the space.
7893 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
7895 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7897 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
7898 new argument (code).
7899 (ChangeCitationsIfUnique): New method.
7901 * paragraph.C (GetPositionOfInset): Handle bibkey.
7903 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7905 * BufferView_pimpl.h: change type of Position::par_pos to
7906 LyXParagraph::size_type.
7908 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
7910 * BufferView_pimpl.C (savePosition, restorePosition): Write
7911 messages to minibuffer.
7913 2001-01-28 José Matos <jamatos@fep.up.pt>
7915 * buffer.C (makeDocBookFile): adds support for document language.
7916 A silly restriction on the name of LatexCommand types where removed.
7917 Added support for CDATA sections, allows to chars unescaped, used
7918 among others in code, to avoid escape < and >.
7920 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7922 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
7923 saved positions instrad of a stack. Furthermore, a position is
7924 stored using paragraph id/paragraph position.
7926 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
7927 Remove LFUN_REF_BACK.
7929 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
7931 * converter.C (dvipdfm_options): New method.
7933 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7935 * vspace.C (isValidLength): Fix for empty input string.
7937 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7939 * LyXAction.C (init): change description of LFUN_FIGURE to
7942 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7944 * LaTeX.C: add using directive
7946 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7948 * MenuBackend.C (expand): Fix the sorting of the formats.
7950 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
7952 * lyx_main.C: tiny error message fix
7954 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7956 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
7957 calling fl_initialize(). This fixes the problem with ',' as
7958 decimal separator in text files.
7960 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
7962 * trans.C (process): Fix the keymap bug.
7964 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
7966 * LaTeX.C (scanAuxFiles): New method. Provides support for
7967 multiple bibliographies (when using the bibtopic/bibunits pacakges).
7968 (scanLogFile) Scan for "run BibTeX" messages.
7970 * buffer.C (makeLaTeXFile): Do not load the ae package when using
7971 OT1 font encoding. Also, load the aecompl package if the ae
7974 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
7976 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7978 * texrow.C (increasePos): turn two error messages into debug
7981 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
7983 * LaTeX.C (scanAux): Handle the \@input macro.
7984 (runBibTeX): Use scanAux().
7986 * language.C (latex_options_): New field.
7988 * LaTeXFeatures.C (getMacros): Add language macros.
7990 * buffer.C (makeLaTeXFile): Small fix.
7992 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7994 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
7996 * text2.C: add a using directive.
7998 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
8003 * lyxfunc.C: kill LyXBell.
8005 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
8007 * text.C (IsBoundary): Remove the error message
8009 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
8011 * lyxrc.C (setDefaults): Correct initialization value for
8014 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
8016 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
8019 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
8022 * src/LyXAction.C: Added reference-next.
8024 * text.C (InsertChar): Use contains instead of strchr.
8026 * lyx_cb.C (MenuInsertLabel): Enable default value code.
8028 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
8030 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
8031 alignment commands (when needed).
8033 * text.C (InsertChar): Add ':' to number separator chars.