1 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
3 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5 2003-06-04 Angus Leeming <leeming@lyx.org>
7 * buffer.C: bump format to 224.
9 2003-06-05 André Pönitz <poenitz@gmx.net>
11 * text2.C (redoParagraphs): remove two const_cast<>
13 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
15 * ParagraphList.h: remove last remnants of NO_STD_LIST
17 2003-06-03 Angus Leeming <leeming@lyx.org>
19 * factory.C (createInset): small change to the way InsetExternal's params
22 2003-06-04 André Pönitz <poenitz@gmx.net>
24 * buffer.h: use Undo directly instead of shared_ptr<Undo>
27 * paragraph.[Ch]: some Inset -> UpdatableInset changes
29 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
31 * undo_funcs.C: make some simple cases of undo work again
33 2003-06-03 John Levon <levon@movementarian.org>
35 * ispell.C: HPUX doesn't have sys/select.h
38 2003-06-03 John Levon <levon@movementarian.org>
40 * CutAndPaste.C: update tabular and include inset
45 * paragraph.C: remove owningBuffer(), don't pass Buffer
48 * factory.C: insetGraphicsParams changed
50 2003-06-02 John Levon <levon@movementarian.org>
56 * text3.C: remove insetparent
58 2003-06-02 John Levon <levon@movementarian.org>
61 * buffer.C: fix inset_iterator.end(), move out of line
64 2003-06-01 John Levon <levon@movementarian.org>
66 * text3.C: use a proper cut/paste when doing inset
67 insert (from Jürgen Spitzmüller)
69 2003-06-01 John Levon <levon@movementarian.org>
71 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
73 2003-05-30 André Pönitz <poenitz@gmx.net>
75 * rowpainter.C: unify second drawing phase
77 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
79 * trans_mgr.C: remove one case of current_view
81 * text2.C (cursorBottom): delete NO_STD_LIST stuff
83 * paragraph_funcs.h: remove paragraph.h include
85 * paragraph.h: delete NO_STD_LIST stuff
87 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
89 * buffer.h: remove paragraph.h include
91 * ParagraphList.C: delete file
93 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
95 * toc.C (getTocList): adjust
97 * paragraph_pimpl.C (validate): adjust
99 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
101 * paragraph.C (Paragraph): adjust
102 (getPositionOfInset): use const_iterator, adjust
103 (bibitem): use const_iterator, adjust
104 (setInsetOwner): adjust
106 * iterators.C (operator++): adjust
108 * InsetList.[Ch]: Replace selfmade iterator with standard
109 vector::iterator also introduce const_iterator. Remove getPos,
110 getInset and setInset from InsetTable. Adjust accordingly.
112 * BufferView.C (lockInset): adjust
113 (ChangeInsets): adjust
115 * tabular.[Ch]: delete commented same_id functions
117 2003-05-28 John Levon <levon@movementarian.org>
119 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
121 2003-05-28 André Pönitz <poenitz@gmx.net>
123 * metricsinfo.[Ch]: remove 'fullredraw' member
125 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
127 * lyxtextclass.C (operator): remove caching.
129 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
133 * text2.C (cursorBottom): adjust
134 (setCounter): use ParagraphList::find, adjust
136 * text.C (workWidth): use ParagraphList::find, adjust
138 * lyxcursor.C (LyXCursor): adjust
140 * buffer.C (inset_iterator): adjust
142 * ParagraphList.h: make iterator(value_type) private, make
143 ParagraphList a friend of iterator.
145 * ParagraphList.C (find): new function
147 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
149 2003-05-27 André Pönitz <poenitz@gmx.net>
151 * dimension.[Ch]: a -> asc, d -> des, w -> wid
153 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
157 2003-05-26 John Levon <levon@movementarian.org>
159 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
161 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
163 * remove same_id from function signatures, adjust.
165 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
167 * undo_funcs.C (createUndo): use the id functions directly, adjust.
169 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
171 * paragraph.C (Paragraph): get rid of same_ids parameter
173 * ParagraphList.C (insert): adjust
176 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
178 * paragraph_funcs.C (breakParagraph): adjust
179 (breakParagraphConservative): adjust
181 * buffer.C (readParagraph): adjust
183 * ParagraphList.C (insert): take a reference instead of a pointer
186 * paragraph.[Ch] (id): new function
188 * bufferlist.C (newFile): adjust
190 * ParagraphList.C (ParagraphList): adjust
192 (push_back): take a reference instead of a pointer.
194 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
196 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
199 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
200 set else use old code.
202 * ParagraphList.C: remove all NO_NEXT code and only compile this
203 code of NO_STD_LIST is set.
205 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
207 * BufferView_pimpl.C:
217 * graphics/GraphicsConverter.C:
218 * graphics/PreviewLoader.C: header adjustment
220 2003-05-23 Angus Leeming <leeming@lyx.org>
222 * LaTeXFeatures.[Ch] (useBabel): new method.
223 * bufferparams.C (writeLaTeX): use it.
225 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
227 * ParagraphList.h (set): remove unused function.
229 2003-05-23 André Pönitz <poenitz@gmx.net>
232 * BufferView_pimpl.C:
236 * undo_funcs.C: setUndo reworked
238 * iterators.[Ch]: add access to topmost ParagraphList
240 * lyxtext.[Ch] (workWidth): add a const
242 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
244 * texrow.[Ch] (increasePos): remove function
245 * exporter.C (export): removed unused var and outdated comment
247 2003-05-23 Angus Leeming <leeming@lyx.org>
249 * latexrunparams.h: rename fragile as moving_arg.
250 * paragraph.C (simpleTeXOnePar): ditto.
251 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
253 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
255 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
257 (textUndoOrRedo): comment out a currently unused var.
259 * paragraph.h (NO_NEXT): enable NO_NEXT
261 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
263 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
265 * exporter.C (Export): adjust for removeAutoInsets removal.
267 * buffer.C (runChktex): adjust for removeAutoInsets removal.
269 * LyXAction.C (init): remove LFUN_REMOVEERRORS
271 * BufferView.[Ch] (removeAutoInsets): delete function
273 2003-05-22 Angus Leeming <leeming@lyx.org>
275 * latexrunparams.h: add a free_spacing variable.
277 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
278 to pass moving_arg, as the data is stored in runparams.fragile.
280 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
281 to Inset::latexOptional or to simpleTeXOnePar.
283 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
284 free_spacing arg to Inset::latexOptional.
286 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
289 2003-05-22 Angus Leeming <leeming@lyx.org>
291 * latexrunparams.h: add fragile and use_babel variables.
293 * bufferparams.[Ch] (writeLaTeX): return use_babel.
294 * buffer.C (makeLaTeXFile): store this returned value in
295 runparams.use_babel, thus passing it to the inset::latex methods.
297 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
298 simpleTeXSpecialChars as it is now stored in runparams.fragile.
300 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
301 longer has a fragile arg, as it is stored in runparams.fragile.
303 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
304 moving_arg parameter as the data is stored in runparams.fragile.
306 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
307 a fragile parameter as the data is stored in runparams.fragile.
309 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
311 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
313 2003-05-22 Angus Leeming <leeming@lyx.org>
315 * latexrunparams.h: add a 'bool nice' which defaults to false.
317 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
318 now encapsulated within runparams.
320 * bufferlist.C (updateIncludedTeXfiles):
321 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
323 2003-05-22 Angus Leeming <leeming@lyx.org>
325 * latexrunparams.h: new file containing struct LatexRunParams.
326 * Makefile.am: add new file.
328 * LaTeX.[Ch] (c-tor, run):
329 * buffer.[Ch] (makeLaTeXFile):
330 * bufferlist.[Ch] (updateIncludedTeXfiles):
331 * converter.C (convert, scanLog):
332 * converter.[Ch] (runLaTeX):
333 * exporter.C (Export):
334 * paragraph.[Ch] (simpleTeXOnePar):
335 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
336 * paragraph_funcs.[Ch] (latexParagraphs):
337 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
338 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
339 pass around a LatexRunParams parameter.
341 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
343 * paragraph.[Ch]: remove unused constructor
345 * ParagraphList.C (erase): new function, taking two iterators
347 2003-05-22 André Pönitz <poenitz@gmx.net>
349 * undo_funcs.C: remove duplicated code
351 * iterator.[Ch]: operator=
353 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
355 * tabular.C (SetMultiColumn): ws changes
357 * rowpainter.C (paintFirst): get rid of a ->previous
359 * lyx_cb.C (getPossibleLabel): parlist simplification
361 * BufferView.C (ChangeInsets): simplify slightly.
363 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
365 * LyXAction.C: new lfun space-insert, kill protected-space-insert
366 * lfuns.h: new LFUN_SPACE
367 * lyxfunc.C: protected space has a new lfun
368 * paragraph_funcs.C: read new space insets
370 * factory.C: handle new space insets
372 2003-05-22 André Pönitz <poenitz@gmx.net>
375 * BufferView_pimpl.C:
378 * undo_funcs.C: return a ParIterator from getParFromID.
380 * iterators.[Ch]: add two const's
382 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
384 * toc.C (getTocList): adjust
386 * iterators.[Ch]: rework for parlist
388 * buffer.C (par_iterator_begin): adjust
389 (par_iterator_end): adjust
391 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
393 * BufferView.C (removeAutoInsets): adjust
394 (ChangeInsets): adjust
396 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
398 * text.C (top_y): fix bug 1110
400 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
402 * errorlist.[Ch]: added
405 * BufferView_pimpl.C:
406 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
409 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
411 * Makefile.am: ensure that lyx is relinked upon changes to the
412 various "convenience" libs.
414 2003-05-20 Angus Leeming <leeming@lyx.org>
416 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
417 files are compiled in alphabetical order again.
419 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
421 2003-05-19 Angus Leeming <leeming@lyx.org>
423 * gettext.[Ch]: remove "char const * _(char const *)".
425 2003-05-19 André Pönitz <poenitz@gmx.net>
427 * dimension.[Ch]: promote from mathed/dimension.[Ch]
436 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
438 2003-05-19 André Pönitz <poenitz@gmx.net>
444 * paragraph_funcs.[Ch]:
446 * text3.C: more insetenv work
448 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
450 * ParagraphParameters.C (params2string): small bug fixed
452 2003-05-16 André Pönitz <poenitz@gmx.net>
455 * bufferview_funcs.C: patch from Kornel Benko to prevent
456 crash when _(...) is called twice in a statement
458 2003-05-16 André Pönitz <poenitz@gmx.net>
465 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
467 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
469 * lyx_main.C (init): remove spurious static_cast
471 2003-05-14 André Pönitz <poenitz@gmx.net>
473 * BufferView.C: fix format string
475 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
477 * BufferView.[Ch] (insertErrors): removed
478 * BufferView.[Ch] (showErrorList): added
479 * buffer.C (runChkTeX):
480 * converter.C (scanLog): call showErrorList instead of inserterrors
482 2003-05-13 André Pönitz <poenitz@gmx.net>
484 * BufferView_pimpl.C:
493 * tabular_funcs.h: tostr() from its own header
495 * ParagraphParameters.C:
502 2003-05-12 André Pönitz <poenitz@gmx.net>
505 * BufferView_pimpl.C:
509 * ParagraphParameters.C:
513 * bufferview_funcs.C:
530 * text3.C: boost::format -> bformat all over the place
533 2003-05-09 André Pönitz <poenitz@gmx.net>
535 * LColor.[Ch]: Pimpl the #include <map> away
537 2003-05-09 John Levon <levon@movementarian.org>
539 * bufferlist.C: never remove emergency saves
541 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * Makefile.am: better lib building
545 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
547 * texrow.[Ch]: remove dependency on Paragraph and just store a id
549 * paragraph_pimpl.C (simpleTeXBlanks): adjust
550 (simpleTeXSpecialChars): adjust
551 (simpleTeXSpecialChars): adjust
552 * paragraph.C (simpleTeXOnePar): adjust
553 * buffer.C (makeLaTeXFile): adjust
555 * Makefile.am (BOOST_LIBS): allow boost as system lib.
557 * text2.C (changeDepth): parlist cleanup
558 (getColumnNearX): ditto
560 * rowpainter.C (getLabelFont): parlist cleanup
562 * bufferlist.C (newFile): parlist cleanup
564 * CutAndPaste.C (eraseSelection): parlist cleanup
566 * BufferView_pimpl.C (trackChanges): parlist cleanup
569 * BufferView.C (lockInset): parlist cleanup.
570 (ChangeInsets): ditto
572 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
574 * CutAndPaste.h: Update file header.
576 * CutAndPaste.C: Update file header.
577 Store the parts cut out of the Document in a limited_stack.
578 (copySelection): adjust
579 (pasteSelection): new function, takes the index in the limited stack.
580 (nrOfParagraphs): adjust
581 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
582 simplify error inset insertion.
583 (checkPastePossible): adjust
585 2003-05-06 John Levon <levon@movementarian.org>
587 * text2.C: don't cast wrap inset to float
589 2003-05-05 André Pönitz <poenitz@gmx.net>
592 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
594 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
595 few naked Paragraph *.
597 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
599 * bufferparams.C: Output warning if a document with missing
600 TeX document class is loaded
601 * exporter.C: Disable TeX exports if the document class is missing
604 * lyxtextclasslist.C: Handle new textclass.lst format; new method
605 isTeXClassAvailable()
607 2003-05-03 John Levon <levon@movementarian.org>
610 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
611 explicit cursor show/hide
613 * BufferView_pimpl.h:
614 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
615 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
617 * lyxfunc.C: hide cursor before dispatching.
622 * text3.C: remove explicit cursor hides
624 2003-05-02 André Pönitz <poenitz@gmx.net>
626 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
629 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
632 * text2.C: tiny whitespace
634 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
636 * undo_funcs.C: almost only ws changes.
638 * ParagraphList.C (splice): just return if pl is empty.
640 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * ParagraphList.C (splice): new function.
644 * CutAndPaste.C (pasteSelection): use it
646 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
648 * CutAndPaste.C (pasteSelection): remove the last next and
649 previous from this file.
651 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
653 * CutAndPaste.C (pasteSelection): more clean up, user proper
654 ParagraphList functions for pasteing.
656 * ParagraphList.C (insert): new function, three arg insert
658 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
660 * ParagraphList.C (insert): new function, three arg insert
662 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
665 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
667 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
669 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
671 * CutAndPaste.C (pasteSelection): remove some unneeded code.
673 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
675 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
676 (copySelection): clean up a bit.
677 (pasteSelection): use make_pair
679 * ParagraphList.C (ParagraphList): implement copy constructor
680 (operator=): implement, base on copy constructor.
683 * paragraph.C (erase): return a bool
685 * paragraph_pimpl.C (erasePos): remove function, move contents...
686 (erase): ... here. Return a bool.
687 (erase): call erase instead of erasePos.
689 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
691 * ParagraphList.h: define PitPosPair
692 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
693 ParagraphList, fix a bug on pasting multiple pars
694 * text2.C: change interface to C&P
696 2003-04-30 André Pönitz <poenitz@gmx.net>
698 * undo_func.C: revert part of yesterday's patch 2
700 2003-04-30 John Levon <levon@movementarian.org>
702 * LColor.C: s/tabular/table/
704 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
706 * text3.C (dispatch): do not convert iterator -> pointer
707 * undo_funcs.C (setCursorParUndo): ditto
708 * text_funcs.C (transposeChars): ditto
710 * text2.C (setLayout): ws changes only
712 * text.C (breakParagraph): do not convert iterator -> pointer
714 (acceptChange): ditto
715 (rejectChange): ditto
720 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
723 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
725 * text3.C (gotoInset): YABG (yet another bad getChar)
727 2003-04-29 André Pönitz <poenitz@gmx.net>
729 * paragraph.h: make operator= private unimplemented as long as
732 * ParagraphList.C: whitespace
735 * paragraph_pimpl.[Ch]:
738 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
741 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
743 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
745 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
746 * paragraph.[Ch] (erase):
747 * paragraph_pimpl.[Ch] (erase): change return type and value
748 * text2.C (cutSelection): some rework
750 2003-04-28 John Levon <levon@movementarian.org>
752 * bufferlist.C: changes for unsaved changes dialog
754 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
756 * bufferlist.C (newFile): set language (messages_) for new
759 * buffer.C (readFile): ws changes only.
761 2003-04-28 André Pönitz <poenitz@gmx.net>
766 * BufferView_pimpl.C:
767 * BufferView.C: getParFromID related ParagraphList::iterator changes
769 2003-04-28 André Pönitz <poenitz@gmx.net>
771 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
774 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
776 * messages.C: remove one more localedir class variable.
778 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * messages.C (getLocaleDir): singleton generation function
782 (Messages): add a default constructor.
784 * main.C (main): do not setup localedir here, do not call
787 * gettext.C (_): use it.
788 (gettext_init): delete funciton
790 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
792 * gettext.C (getLyXMessages): new singleton generating function.
794 * buffer.C (updateDocLang): adjust
796 * Makefile.am (messages.o): add target
797 (main.o): remove target
799 2003-04-27 John Levon <levon@movementarian.org>
804 * lyxvc.C: specify cancel button in Alert::prompt
806 2003-04-26 John Levon <levon@movementarian.org>
811 * LyXAction.C: add LFUN_INSET_SETTINGS
813 * lyxfunc.C: don't enable tabular-feature when there's
814 just any locking inset
816 2003-04-26 John Levon <levon@movementarian.org>
818 * bufferlist.C: re-add Cancel to buffer close question
820 * lyxfunc.C: fix import UI a bit
822 2003-04-25 John Levon <levon@movementarian.org>
824 * gettext.C: remove the broken asserts for now
826 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
828 * messages.C: make case where setlocale cannot comply work better.
830 * buffer.C (updateDocLang): new function
831 (changeLanguage): use it
834 * text2.C (setCounter): use B_ a bit.
836 * lyxlayout.C (Read): be sure to trim the label strings.
838 * messages.C (Messages): fix typo in comment
840 * buffer.C (readFile): set message_ after file is loaded.
841 (makeDocBookFile): remove double return
842 (changeLanguage): reset message_ upon language change.
843 (B_): new func, use this to get translated buffer strings.
845 * main.C: add myself and Jean Marc as authors.
847 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * messages.[hC]: pimplify Messages, and three different pimpls to be
850 used in different circumstances.
852 * gettext.[Ch]: change for use with new message code.
854 2003-04-24 André Pönitz <poenitz@gmx.net>
856 * factory.C: support for eqref
858 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
860 * messages.[Ch]: add missing char
862 * Makefile.am (lyx_SOURCES): add messages.[Ch]
864 * messages.[Ch]: New files
866 2003-04-18 John Levon <levon@movementarian.org>
870 * BufferView_pimpl.C:
874 * text2.C: remove layout-copy/paste (bug 778)
876 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
878 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
880 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
882 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
883 if they succeed. Act accordingly.
885 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
887 * text2.C (setCharFont): adjust
889 (insertStringAsLines): adjust
891 * text.C (leftMargin): adjust
892 (setHeightOfRow): adjust
894 * rowpainter.C (paintFirst): adjust
897 * paragraph_funcs.C (depthHook): ParagraphList::iterators
899 (isFirstInSequence): ditto
903 * paragraph.C (getParLanguage): comment out some hard stuff.
905 * buffer.C (insertStringAsLines): take a ParagraphList as arg
907 (simpleDocBookOnePar): ditto
908 (makeDocBookFile): use ParagraphList::iterator
910 * CutAndPaste.C (pasteSelection): adjust
912 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
914 * text2.C (getFont): adjust
915 (getLayoutFont): adjust
916 (getLabelFont): adjust
918 * paragraph_funcs.C (TeXOnePar): adjust
920 * buffer.C (simpleLinuxDocOnePar): adjust
921 (simpleDocBookOnePar): adjust
923 * CutAndPaste.C (pasteSelection): adjust
925 * BufferView.C (getEncoding): adjust
927 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
929 2003-04-16 John Levon <levon@movementarian.org>
931 * lyxfind.C: use parlist stuff for search/changes
933 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
935 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
937 * text2.C (deleteEmptyParagraphMechanism): adjust
939 * text2.[Ch] (ownerParagraph): delete func (both of them
941 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
943 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
945 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
947 * ParagraphList.C: prepare for NO_NEXT
949 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
951 * text2.C (getFont): adjust
952 (getLayoutFont): adjust
953 (getLabelFont): adjust
955 * paragraph.C (getFont): adjust
956 (getLabelFont): adjust
957 (getLayoutFont): adjust
959 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
961 2003-04-15 John Levon <levon@movementarian.org>
965 * lyx_main.C: handle Include in .ui files
967 2003-04-15 John Levon <levon@movementarian.org>
969 * MenuBackend.C: make the doc files length shorter
972 * ToolbarBackend.C: handle toolbar placement flags,
975 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
977 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
980 * paragraph_funcs.C (TeXOnePar): adjust
982 * paragraph.C (getLabelFont): add outerfont arg, adjust
983 (getLayoutFont): ditto
984 (simpleTeXOnePar): adjust
986 * paragraph_pimpl.C (realizeFont): delete func
988 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
990 * text2.C (beforeFullRowInset): added a bad getchar check, removed
991 row argument, constify cur argument.
993 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
995 * text2.C (getFont): adjust
996 (getLayoutFont): adjust
997 (getLabelFont): adjust
999 * paragraph_funcs.C (TeXOnePar): adjust
1000 (outerFont): new func...
1001 (realizeFont): ...moved out from here, changed this to facilitate
1004 * paragraph.C (getFont): take outerfont as arg, adjust
1005 (simpleTeXOnePar): add outerfont arg, adjust
1007 * buffer.C (simpleLinuxDocOnePar): adjust
1008 (simpleDocBookOnePar): adjust
1010 * CutAndPaste.C (pasteSelection): adjust
1012 * BufferView.C (getEncoding): adjust
1014 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1016 * text2.C (setCharFont): adjust
1017 (setCounter): adjust
1019 * text.C (leftMargin): adjust
1020 (setHeightOfRow): adjust
1022 * rowpainter.C (paintFirst): adjust
1025 * paragraph_pimpl.C (realizeFont): adjust
1027 * paragraph.C (isFirstInSequence): move from here...
1028 * paragraph_funcs.C (isFirstInSequence): ...to here
1030 * paragraph.C (outerHook): move from here...
1031 * paragraph_funcs.C (outerHook): ...to here
1033 * paragraph.C (depthHook): move from here...
1034 * paragraph_funcs.C (depthHook): ...to here
1036 * paragraph.C (getEndLabel): move from here...
1037 * paragraph_funcs.C (getEndLabel): ...to here
1039 * text2.C (realizeFont): move from here...
1040 * paragraph_funcs.C (realizeFont): ...to here
1042 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1044 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1046 2003-04-14 Angus Leeming <leeming@lyx.org>
1048 * LColor.[Ch]: scrap LColor mathcursor.
1050 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1052 * lyxlex.[Ch] (text): delete function
1053 * trans.C (Load): adjust
1054 * paragraph_funcs.C (readParToken): adjust
1056 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1058 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1059 vector<char> instead of a char[].
1061 * lyxlex_pimpl.C (getString): adjust
1063 (lex): use getString
1067 * lyxlex.C (text): use pimpl_->getString()
1071 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1073 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1074 (makeFontEntriesLayoutSpecific): temp var for par.size()
1075 (setLayout): temp var for ownerParagraphs().end()
1076 (fullRebreak): temp var for rows().end()
1077 (selectionAsString): temp var for boost::next(startpit), realize
1078 that the while really is a regular for loop.
1079 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1080 setCursor in one place.
1081 (setParagraph): temp vr for ownerParagraphs().end()
1082 (updateCounters): make the while loop a for loop
1083 (cutSelection): temp var for ownerParagraphs().end()
1084 (updateInset): make the do {} while() a regular for loop
1085 (getCursorX): use temp vars
1086 (setCurrentFont): use temp vars
1087 (getColumnNearX): use temp vars
1089 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1091 * text.C (transformChar): use temp var for getChar
1092 (computeBidiTables): use temp var for row->par()
1093 (fill): move temp vars for row->par() and pit->layout() earlier in
1095 (labelFill): use temp var for row->par()
1096 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1097 asc and desc, realize that pit never changes and that firstpit is
1098 just a duplicate and not needed. Exchange rit->par() with pit in a
1100 (breakAgain): use a temp var for boost::next(rit)
1101 (breakAgainOneRow): ditto
1102 (breakParagraph): use a temp var for rows().begin()
1103 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1104 (cursorRightOneWord): use temp var for cursor.par() and
1105 cursor.pos(), remove usage of tmpcursor.
1106 (cursorLeftOneWord): use temp var for cursor.par() and
1107 cursor.pos() only set cur at end of function.
1109 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1111 * text.C, text2.C: exchange all usage of Paragraph::next with
1112 boost::next(ParagraphList::iterator)
1114 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1116 * text2.C (cursorTop): simplify implementation
1117 (cursorBottom): ditto
1118 (setParagraph): use ParagraphList::iterator
1119 (setCurrentFont): adjust
1120 (getColumnNearX): adjust
1121 (cursorRight): adjust
1122 (cursorLeft): remove usage of Paragraph::previous
1123 (cursorUpParagraph): ditto
1124 (deleteEmptyParagraphMechanism): slight cleanup
1126 * text.C (isBoundary): take a Paragraph const & instead of a
1128 (addressBreakPoint): ditto
1129 (leftMargin): remove usage of Paragraph::previous.
1130 (setHeightOfRow): ditto
1131 (cursorLeftOneWord): ditto
1132 (selectNextWordToSpellcheck): ditto
1135 (breakParagraph): remove one usage of Paragraph::next
1136 (redoParagraph): ditto
1137 (acceptChange): ditto
1138 (insertChar): adjust
1139 (rowBreakPoint): adjust
1141 * bufferview_funcs.C (toggleAndShow): adjust
1143 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1145 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1146 methods to access it.
1148 * text.C: Added updateRowPositions to compute all row positions.
1149 Make top_y and getRowNearY() to use the cached y position
1151 2003-04-11 John Levon <levon@movementarian.org>
1153 * text.C (rowBreakPoint): reintroduce the labelEnd
1154 checks, code copied from the row fill stuff. Deep voodoo.
1156 * text.C (fill): add a comment and debugging for the
1159 2003-04-11 John Levon <levon@movementarian.org>
1161 * text.C: make sure fullrow insets get wrapped to the next line,
1162 even when they're in a manual label
1164 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1166 * text2.C (insertParagraph): make it take ParagraphList::iterator
1168 (setLayout): make it return ParagraphList::iterator
1169 (redoParagraphs): ditto
1171 (checkParagraph): ditto
1173 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1175 * text2.C: adjust several funcs.
1176 (realizeFont): take a ParagraphList::iterator as arg.
1177 (getLayoutFont): ditto
1178 (getLabelFont): ditto
1179 (setCharFont): ditto
1181 * text.C: adjust several funcs.
1183 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1185 * text.C (selectNextWordToSpellcheck): don't accidentally
1188 2003-04-10 John Levon <levon@movementarian.org>
1190 * ToolbarBackend.C (getIcon): special handling for
1193 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1195 * text2.C (cursorRight): a getChar assert fixed
1197 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1199 * text2.C (getFont): change to take a ParagraphList::iterator
1200 instead of Paragraph*
1201 Adjust several functions.
1203 * text.C (transformChar): change to take a ParagraphList::iterator
1204 instead of Paragraph*
1205 (singleWidth): ditto
1206 Adjust several functions.
1208 * rowpainter.C: adjust several functions
1209 * rowpainter.h:store a ParagraphList::iterator and not a
1213 2003-04-09 John Levon <levon@movementarian.org>
1218 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1219 and the "help" bits as well
1221 2003-04-09 John Levon <levon@movementarian.org>
1224 * ToolbarBackend.C: allow multiple toolbars
1226 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1228 * undo_funcs.C (setCursorParUndo): adjust
1230 * text_funcs.C (transposeChars): adjust
1232 * text3.C (gotoNextInset): adjust
1235 * text2.C (setLayout): adjust
1236 (changeDepth): adjust
1238 (redoParagraphs): adjust
1239 (selectionAsString): adjust
1240 (setParagraph): adjust
1241 (insertInset): adjust
1242 (cutSelection): adjust
1243 (copySelection): adjust
1244 (pasteSelection): adjust
1245 (insertStringAsLines): adjust
1246 (updateInset): adjust
1247 (setCursor): change to take a ParagraphList::iterator parameter
1248 (setCursorIntern): change to take a ParagraphList::iterator parameter
1249 (setCurrentFont): adjust
1250 (cursorLeft): adjust
1251 (cursorRight): adjust
1252 (deleteEmptyParagraphMechanism): adjust
1254 * text.C (breakParagraph): adjust
1255 (insertChar): adjust
1256 (acceptChange): adjust
1257 (rejectChange): adjust
1258 (selectNextWordToSpellcheck): adjust
1259 (changeCase): adjust
1263 * lyxfind.C (SearchForward): adjust
1264 (SearchBackward): adjust
1265 (nextChange): adjust
1267 * lyxcursor.C (par): adjust
1269 * lyxcursor.h: store a ParagraphList::iterator instead of a
1272 * lyx_cb.C (getPossibleLabel): adjust
1274 * bufferview_funcs.C (toggleAndShow): adjust
1276 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1279 * BufferView.C (removeAutoInsets): adjust
1280 (lockedInsetStoreUndo): adjust
1282 2003-04-09 John Levon <levon@movementarian.org>
1284 * ToolbarBackend.C: try icon without argument
1285 if with argument fails
1287 2003-04-08 John Levon <levon@movementarian.org>
1290 * ToolbarBackend.C: add getIcon(), handle tooltip,
1291 and change from "Icon" to "Item".
1293 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1295 * BufferView.C (lockInset): another bad getchar crunched
1297 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1299 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1302 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1304 * lyxfind.C (searchForward, searchBackwards): bug 782
1306 2003-04-07 John Levon <levon@movementarian.org>
1308 * paragraph.C: remove dead comment
1310 * text.C: remove troublesome depth-fiddling code
1311 in leftMargin() and rightMargin() (bug 1017)
1313 * text.C: fix breaking of rows in nested lists
1316 * text2.C (updateCounters): fix up depth values
1319 2003-04-07 John Levon <levon@movementarian.org>
1321 * BufferView_pimpl.C: clear message when doc finishes resizing,
1322 and after a mouse event
1324 * lyxfunc.C: clear message after exiting inset
1326 2003-04-07 John Levon <levon@movementarian.org>
1328 * bufferview_funcs.C: show math status not outside
1329 status in the statusbar
1331 2003-04-07 John Levon <levon@movementarian.org>
1333 * lyxfunc.C: note status changed after a depth change
1335 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1337 * LaTeX.h: move AuxInfo operator==, != out of line.
1338 Remove LaTeX virtual destructor; nothing derives from it.
1339 Move operator()() out of public area and rename it startscript().
1340 Change protected for private.
1342 2003-04-04 Angus Leeming <leeming@lyx.org>
1345 * text2.C: remove unneeded #includes.
1347 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1349 * text2.C (dEPM): fix the heigth of the next row
1351 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1353 * text.C: squashed an invalid getChar requester + some ws changes
1355 2003-04-03 John Levon <levon@movementarian.org>
1357 * bufferview_funcs.h:
1358 * bufferview_funcs.C:
1361 * text2.C: make getStatus work for the env depth lfuns
1363 2003-04-03 John Levon <levon@movementarian.org>
1365 * bufferview_funcs.h:
1366 * bufferview_funcs.C:
1369 * text2.C: parlistize decDepth(), by merging it with incDepth()
1371 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1373 * lyxrow.h: store a ParagraphList::iterator instead of a
1374 Paragraph* and adjust other class functions to suit.
1376 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1379 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1381 * text2.C (setCursor): do not anchor to cursor row for the time being
1383 2003-04-02 John Levon <levon@movementarian.org>
1390 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1392 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1394 * paragraph.h: make ParagraphList and ParagraphList::iterator
1395 friends of Paragraph.
1397 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1399 * ParagraphList.C: Use the private next_ and previous_ from
1402 2003-04-01 John Levon <levon@movementarian.org>
1406 * Makefile.am: rename, remove defaults gunk
1409 * MenuBackend.C: remove defaults gunk
1412 * Languages.C: remove defaults gunk
1415 * lyx_main.C: error out if files couldn't be found.
1417 2003-04-02 John Levon <levon@movementarian.org>
1419 * text2.C: make incDepth() use parlist
1421 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * undo_funcs.C (firstUndoParagraph): adjust
1425 * text3.C (gotoInset): adjust
1426 (dispatch): adjust, and rewrite loop.
1428 * text2.C (init): adjust, and rewrite loop.
1429 (redoParagraphs): adjust
1430 (updateInset): adjust, and rewrite loop.
1431 (deleteEmptyParagraphMechanism): adjust
1433 * tabular.C (LyXTabular): adjust
1434 (SetMultiColumn): adjust
1437 * lyxtext.[Ch] (ownerParagraph): delete function
1438 (ownerParagraphs): new function returns a ParagraphList.
1440 * BufferView.C (removeAutoInsets): adjust
1441 (insertErrors): adjust
1442 (setCursorFromRow): adjust
1444 2003-04-01 Angus Leeming <leeming@lyx.org>
1446 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1449 2003-04-02 John Levon <levon@movementarian.org>
1455 * text_funcs.C: make transposeChars a free function
1457 * lyxrow_funcs.C: remove wrong comment
1459 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1462 * rowpainter.C: adjust
1467 * lyxrow_funcs. [Ch]: new files
1469 * lyxrow.[Ch]: remove next and previous pointers
1470 (next,previous): remove accessor functions
1471 (isParEnd): move to lyxrow_funcs
1472 (lastPos): move to lyxrow_funcs
1473 (nextRowIsAllInset): move to lyxrow_funcs
1474 (lastPrintablePos): move to lyxrow_funcs
1475 (numberOfSeparators): move to lyxrow_funcs
1476 (numberOfHfills): move to lyxrow_funcs
1477 (numberOfLabelHfills): move to lyxrow_funcs
1478 (hfillExpansion): move to lyxrow_funcs
1482 * bufferview_funcs.C (toggleAndShow): adjust
1484 * RowList.h: Remove class RowList from file leave just a
1487 * RowList.C: delete file
1489 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1492 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1494 * text3.C (cursorPrevious): adjust
1495 (cursorNext): adjust
1498 * text2.C (redoHeightOfParagraph): adjust
1499 (redoDrawingOfParagraph): adjust
1502 * text.C (breakParagraph): adjust
1503 (insertChar): adjust
1506 * rowpainter.C (RowPainter): adjust
1507 (leftMargin): simplify and adjust
1508 (most rowpainter functions): adjust.
1510 * rowpainter.h: store the row as RowList::iterator not as Row*
1512 * lyxcursor.C (row): taka RowList::iterator as arg
1515 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1518 2003-04-01 Angus Leeming <leeming@lyx.org>
1520 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1521 stuff like bool Bool.
1523 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1525 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1528 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1530 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1533 * lyxtext.h (rows): drop one version and leve a const variant that
1534 returns a RowList::iterator.
1536 2003-03-31 Angus Leeming <leeming@lyx.org>
1538 * text.C (fill): ensure that the signature is the same as that in the
1541 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1543 * text2.C (redoParagraphs): adjust
1544 (updateCounters): adjust
1545 (checkParagraph): adjust
1546 (getColumnNearX): adjust and reformat a bit.
1548 * text.C (top_y): adjust
1550 (leftMargin): adjust
1551 (prepareToPrint): adjust
1553 (getRowNearY): adjust
1555 * lyxtext.h: make rowlist_ mutable.
1557 * RowList.h: add const_iterator
1558 * RowList.C: adjust for RowList::const_iterator.
1560 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1563 2003-03-31 John Levon <levon@movementarian.org>
1566 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1568 * lyx_main.C: set default fonts from using lyx_gui funcs
1570 * exporter.C: pdf_mode moved from lyxrc
1573 * lyxfunc.C: changes from above
1575 2003-03-31 John Levon <levon@movementarian.org>
1577 * lyx_main.C: fix to the last fix
1579 2003-03-31 John Levon <levon@movementarian.org>
1581 * bufferlist.C: "Load original" -> "Load Original"
1587 * format.C: more Alert cleanups
1589 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1591 * text2.C (removeParagraph): make it take a RowList::iterator as
1593 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1594 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1596 * text.C (anchor_row): make it take a RowList::iterator as arg,
1598 (computeBidiTables): make it take a const reference to Row instead
1599 of Row pointer, adjust.
1600 (leftMargin): make it take a RowList::iterator as arg, adjust.
1601 (rowBreakPoint): adjust
1602 (breakAgainOneRow): make it take a RowList::iterator as arg,
1604 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1606 * bufferview_funcs.C (toggleAndShow): adjust
1608 2003-03-30 John Levon <levon@movementarian.org>
1612 * boost-inst.C: moved to support
1614 * several files: changes as a result
1616 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * text2.C (LyXText): adjust.
1620 (removeRow): make it take a RowList::iterator as arg, adjust.
1621 (fullRebreak): adjust
1622 (deleteEmptyParagraphMechanism): adjust
1623 (clearPaint): adjust
1626 * text.C (top_y): adjust
1627 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1628 (breakAgain): make it take a RowList::iterator as arg, adjust.
1629 (breakParagraph): adjust
1630 (insertChar): adjust
1633 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1634 need_break_row, and refresh_row.
1636 * text3.C (dispatch): adjust
1638 * text2.C (checkParagraph): adjust
1640 (setCursorFromCoordinates): adjust
1642 * text.C (top_y): adjust
1644 (getRow): make it return a RowList::iterator, adjust
1645 (getRowNearY): make it return a RowList::iterator, adjust
1647 * text2.C (init): adjust
1648 (insertRow): remove function
1649 (insertParagraph): adjust
1650 (redoParagraphs): adjust
1651 (fullRebreak): adjust
1652 (updateCounters): adjust
1654 * text.C (top_y): rewrite to use RowList iterators.
1656 (setHeightOfRow): rewrite to sue RowList iterators.
1657 (appendParagraph): adjust
1658 (breakAgain): adjust
1659 (breakAgainOneRow): adjust
1660 (breakParagraph): adjust
1662 (getRowNearY): adjust, and remove commented code.
1664 * lyxtext.h (firstRow): delete function
1665 (lastRow): delete function
1666 (rows): new function (const and non-const versions.)
1667 (insertRow): delete function
1669 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1671 2003-03-29 John Levon <levon@movementarian.org>
1673 * BufferView_pimpl.C: always update scrollbar top
1674 because pasting text when we're anchored could mean we
1675 miss an update altogether
1677 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1679 * text2.C (init): use rowlist_.end() and not 0.
1680 (insertRow): change to take a RowList::iterator as arg, adjust
1682 (insertParagraph): change to take a RowList::iterator as arg,
1684 (redoParagraphs): remove some debug msgs.
1686 * text.C (appendParagraph): change to take a RowList::iterator
1687 arg, adjust for this.
1688 (breakAgain): add an assert
1689 (breakAgainOneRow): ditto
1691 2003-03-29 John Levon <levon@movementarian.org>
1693 * text2.C: do not clear selection after inc/decDepth
1696 2003-03-29 John Levon <levon@movementarian.org>
1699 * buffer.C: fix broken strerrors according to Lars
1701 2003-03-29 John Levon <levon@movementarian.org>
1703 * converters.C: more Alert cleanups
1705 2003-03-29 John Levon <levon@movementarian.org>
1707 * bufferview_funcs.C: remove pointless Alert
1709 * buffer.C: fix confusing error message when
1710 a template is chmoded 000
1712 2003-03-29 John Levon <levon@movementarian.org>
1716 * BufferView_pimpl.C: Alert fixes
1720 * tabular-old.C: remove unused table compat reading
1722 2003-03-29 John Levon <levon@movementarian.org>
1727 * lyx_cb.C: more Alert cleanups
1729 * lyxfunc.C: don't allow chktex if not latex document
1731 2003-03-29 John Levon <levon@movementarian.org>
1735 * buffer.C: warnings pushed down from support/,
1738 2003-03-29 John Levon <levon@movementarian.org>
1740 * lyxfunc.C: safety check for C-r (revert)
1742 2003-03-29 John Levon <levon@movementarian.org>
1745 * bufferlist.C: several UI fixes using Alert::prompt.
1746 Fix the pointless looping quit code. Fix stupid revert
1751 * lyx_cb.C: use Alert::prompt
1753 * lyx_main.C: remove a silly question
1755 * lyxfunc.C: remove a couple of silly questions,
1758 2003-03-28 John Levon <levon@movementarian.org>
1760 * text2.C: fix bug 974 (End on empty par)
1762 2003-03-28 John Levon <levon@movementarian.org>
1764 * BufferView_pimpl.C:
1766 * lfuns.h: remove do-nothing math greek lfuns
1768 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * lyxgluelength.h (isValidGlueLength): add default arg on
1771 parameter 2. Remove default arg from friend in class.
1773 * lyxlength.h (isValidLength): add default arg on parameter 2.
1774 Remove default arg from friend in class.
1776 * text2.C (LyXText): adjust, initialize refresh_row.
1780 (insertParagraph): adjst
1781 (redoParagraphs): adjust
1782 (fullRebreak): adjust
1783 (updateCounters): adjust
1784 (deleteEmptyParagraphMechanism): first attempt at fixing a
1787 * text.C (top_y): adjust
1788 (setHeightOfRow): adjust
1790 (getRowNearY): adjust
1792 * lyxtext.h: include RowList.h
1793 (~LyXText): not needed anymore, deleted.
1794 (firstRow): modify for RowList
1795 (lastRow): new function
1796 Delete firstrow and lastrow class variables, add a Rowlist
1797 rowlist_ class variable.
1799 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1802 * RowList.C (insert): fix case where it == begin().
1804 2003-03-26 Angus Leeming <leeming@lyx.org>
1806 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1807 the thesaurus dialog.
1809 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1811 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1813 * RowList.[Ch]: new files
1815 * ParagraphList.C (erase): handle the case where it == begin
1818 2003-03-25 John Levon <levon@movementarian.org>
1822 * aspell.C: add new aspell support
1825 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1828 2003-03-25 Angus Leeming <leeming@lyx.org>
1831 * LyXAction.C (init): new LFUN_INSET_INSERT.
1833 * BufferView_pimpl.C (dispatch): split out part of the
1834 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1836 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1839 2003-03-25 Angus Leeming <leeming@lyx.org>
1841 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1843 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1846 * text3.C: remove useless row->height(0)
1848 2003-03-25 John Levon <levon@movementarian.org>
1852 * text3.C: rename the refreshing stuff to better names
1854 2003-03-24 John Levon <levon@movementarian.org>
1856 * BufferView_pimpl.h:
1857 * BufferView_pimpl.C: update layout choice on a mouse
1860 2003-03-23 John Levon <levon@movementarian.org>
1862 * Makefile.am: fix commandtags.h reference
1864 2003-03-22 John Levon <levon@movementarian.org>
1866 * BufferView_pimpl.C:
1871 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1873 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1876 * text.C: take the rtl methods out of line
1878 2003-03-21 André Pönitz <poenitz@gmx.net>
1880 * metricsinfo.[Ch]: new files containing structures to be passed around
1881 during the two-phase-drawing...
1883 2003-03-21 André Pönitz <poenitz@gmx.net>
1885 * lyxtextclass.C: read 'environment' tag.
1887 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1889 * text2.C (removeRow): fix bug 964
1891 2003-03-20 John Levon <levon@movementarian.org>
1895 * text2.C: paint cleanups. Inset::update() dropped font
1898 2003-03-19 John Levon <levon@movementarian.org>
1900 * lyxfunc.C: only fitcursor/markDirty if available()
1902 2003-03-19 John Levon <levon@movementarian.org>
1904 * commandtags.h: rename to ...
1906 * lfuns.h: ... this, and renumber / cleanup
1908 2003-03-19 John Levon <levon@movementarian.org>
1910 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1911 fit the cursor after an lfun
1915 * BufferView_pimpl.h:
1916 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1918 * LyXAction.C: layout-character should have ReadOnly
1920 * ParagraphParameters.C:
1922 * bufferview_funcs.C:
1929 * undo_funcs.C: changes from above
1931 2003-03-18 John Levon <levon@movementarian.org>
1933 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1934 remove it from update()
1936 * lyxfunc.C: update layout choice after an lfun
1938 * text3.C: remove extra updateLayoutChoice()s
1940 2003-03-18 John Levon <levon@movementarian.org>
1942 * text.C: top_y change means full repaint, fix
1943 a drawing bug with cursor movement
1945 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1949 * text2.C: anchor row on setCursor
1951 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1953 * lyxtext.h: remove almost all mutable keywords
1956 * text3.C: remove const keywords accordingly
1958 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1960 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1962 (TeXEnvironment): ditto
1965 2003-03-17 John Levon <levon@movementarian.org>
1967 * text.C (rowBreakPoint): remove attempt to fix displayed
1968 math insets inside a manual label
1970 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1972 * lyxtext.h: remove BufferView* as first arg from almost all class
1974 * other files: adjust.
1976 2003-03-17 John Levon <levon@movementarian.org>
1980 * text2.C: more paint cleanups
1982 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1985 * rowpainter.C: remove "smart" background painting code
1987 2003-03-16 John Levon <levon@movementarian.org>
1992 * text3.C: add helper functions for setting refresh_row/y
1994 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1996 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1997 newline inset which *can* get inserted in the pass_thru layouts.
1998 This is primarily for literate documents.
2000 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2002 * buffer.C: increment LYX_FORMAT to 223
2004 2003-03-14 André Pönitz <poenitz@gmx.net>
2006 * textclass.h: prepare for environment handling, ws changes
2007 * lyxlayout.C: read latexheader and latexfooter tags
2009 2003-03-14 John Levon <levon@movementarian.org>
2011 * text2.C: rewrite ::status() a bit
2013 2003-03-13 John Levon <levon@movementarian.org>
2015 * lyxtext.h: add some docs
2017 2003-03-13 John Levon <levon@movementarian.org>
2022 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2024 2003-03-13 John Levon <levon@movementarian.org>
2026 * text3.C: fix appendix redrawing
2028 2003-03-13 John Levon <levon@movementarian.org>
2030 * text.C (setHeightOfRow):
2032 * rowpainter.C: make appendix mark have the text
2033 "Appendix" so the user knows what it is
2036 * LColor.C: s/appendixline/appendix/ from above
2038 2003-03-13 John Levon <levon@movementarian.org>
2040 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2042 * text.C: fix a getChar(pos) bug properly
2044 2003-03-13 Angus Leeming <leeming@lyx.org>
2047 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2048 Probably only temporary. Let's see how things pan out.
2050 * BufferView.C (unlockInset):
2051 * BufferView_pimpl.C (fitCursor):
2052 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2054 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2055 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2057 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2058 new functions that convert ParagraphParameters to and from a string.
2060 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2061 BufferView::Pimpl's dispatch.
2062 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2064 2003-03-13 André Pönitz <poenitz@gmx.net>
2068 * factory.C: make it aware of InsetEnv
2070 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2072 * text2.C (setCursor): never ask for one past last
2073 (setCursor): add some debugging messages.
2075 * text.C (singleWidth): never ask for one past last
2076 (singleWidth): ditto
2078 (rightMargin): ditto
2079 (rowBreakPoint): ditto
2080 (setHeightOfRow): ditto
2081 (prepareToPrint): ditto
2083 * rowpainter.C (paintBackground): never ask for one past last
2084 (paintText): never ask for one past last
2086 * paragraph_pimpl.C (getChar): make the assert stricter, never
2087 allow the one past last pos to be taken
2089 * paragraph.C (getChar): ws changes only
2091 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2092 (numberOfSeparators): ditto
2093 (numberOfHfills): ditto
2095 2003-03-12 John Levon <levon@movementarian.org>
2101 * paragraph_funcs.C: fix per-buffer authorlists
2103 2003-03-12 John Levon <levon@movementarian.org>
2105 * text.C: fix newline in right address
2107 2003-03-12 Angus Leeming <leeming@lyx.org>
2109 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2110 duplicate those in LyXFunc::dispatch.
2114 * ToolbarDefaults.C:
2115 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2116 Add LFUN_FONTFREE_UPDATE.
2118 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2119 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2121 * bufferview_func.[Ch]: several new functions to facilliate
2122 transfer of data to and from the character dialog.
2124 2003-03-12 John Levon <levon@movementarian.org>
2129 * paragraph_funcs.C:
2130 * paragraph_pimpl.C:
2134 * text3.C: remove META_NEWLINE in favour of an inset
2137 * rowpainter.C: remove paintNewline (done by inset)
2139 2003-03-12 John Levon <levon@movementarian.org>
2141 * paragraph_pimpl.C: complain about bad getChar()s
2142 for a while at least
2144 2003-03-12 John Levon <levon@movementarian.org>
2147 * buffer.C: move paragraph read into a separate function,
2148 a little renaming to reflect that.
2151 * bufferparams.C: remove the author_ids map, not necessary now
2154 * factory.C: moved Buffer::readInset to here
2156 * paragraph_funcs.h:
2157 * paragraph_funcs.C: readParagraph free function moved from
2160 * tabular.C: name change
2162 2003-03-12 John Levon <levon@movementarian.org>
2165 * ParagraphParameters.C: move par params input to
2168 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2169 behave like a normal read from the stream wrt reading
2170 a line vs. a \\token
2172 2003-03-12 John Levon <levon@movementarian.org>
2175 * ParagraphParameters.h:
2176 * ParagraphParameters.C: move output code to a
2179 2003-03-12 John Levon <levon@movementarian.org>
2181 * BufferView.C (insertLyXFile):
2184 * tabular.C: use a parlist iterator for creating the
2187 2003-03-12 John Levon <levon@movementarian.org>
2189 * buffer.C: make current_change static local not
2192 2003-03-12 John Levon <levon@movementarian.org>
2194 * buffer.C: fix insertStringAsLines for change tracking
2196 2003-03-12 John Levon <levon@movementarian.org>
2203 * bufferparams.C: move author list into params. Rename some
2204 functions. Move the header reading into a separate token
2205 loop. Move the header token reading into BufferParams.
2207 2003-03-12 John Levon <levon@movementarian.org>
2209 * changes.C: put debug inside lyxerr.debugging() checks
2211 2003-03-11 André Pönitz <poenitz@gmx.net>
2213 * factory.C: make it aware of InsetHFill
2215 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2217 * buffer.C (latexParagraphs): move function from here...
2218 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2221 2003-03-10 Angus Leeming <leeming@lyx.org>
2223 * LyXAction.C (init): fix bug in poplating array with multiple entries
2224 with the same LFUN (spotted by JMarc).
2226 2003-03-10 John Levon <levon@movementarian.org>
2229 * text2.C: move getColumnNearX() near its
2232 2003-03-10 John Levon <levon@movementarian.org>
2234 * text.C: fix break before a minipage
2236 2003-03-10 John Levon <levon@movementarian.org>
2238 * text.C: fix the last commit
2240 2003-03-09 John Levon <levon@movementarian.org>
2244 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2245 bug 365 (don't break before insets unless needed). Don't
2246 return a value > last under any circumstances.
2248 2003-03-09 Angus Leeming <leeming@lyx.org>
2250 * BufferView_pimpl.C (trackChanges, dispatch): call
2251 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2253 2003-03-09 Angus Leeming <leeming@lyx.org>
2255 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2256 than Dialogs::showAboutlyx().
2258 2003-03-09 Angus Leeming <leeming@lyx.org>
2260 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2261 than Dialogs::showTabularCreate().
2263 2003-03-09 John Levon <levon@movementarian.org>
2267 * text2.C: 3rd arg to nextBreakPoint was always the same.
2270 2003-03-08 John Levon <levon@movementarian.org>
2277 * text2.C: Remove the "main" bit from the "main body"
2280 2003-03-08 John Levon <levon@movementarian.org>
2282 * text.C (leftMargin): The left margin of an empty
2283 manual label paragraph should not include the label width
2286 * text.C (prepareToPrint): don't attempt to measure hfills
2287 for empty manual label paragraphs - the answer should be 0
2289 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2291 * CutAndPaste.C: remove commented code and reindent.
2293 2003-03-08 John Levon <levon@movementarian.org>
2296 * lyxfunc.C: move reloadBuffer()
2299 * BufferView.C: to here
2301 * lyxvc.C: add comment
2304 * vc-backend.C: call bv->reload() to avoid
2305 getStatus() check on MENURELOAD
2307 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2309 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2310 to an old format .dep file.
2312 2003-03-07 Angus Leeming <leeming@lyx.org>
2314 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2315 when the LFUN_MOUSE_RELEASE should have been handled by
2316 inset->localDispatch.
2318 2003-03-07 Angus Leeming <leeming@lyx.org>
2320 * BufferView_pimpl.C (dispatch):
2321 * LyXAction.C (init):
2322 * ToolbarDefaults.C (init):
2324 * lyxfunc.C (getStatus):
2325 remove LFUN_INSET_GRAPHICS.
2327 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2329 2003-03-07 Angus Leeming <leeming@lyx.org>
2332 * LyXAction.C (init):
2333 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2335 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2338 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2340 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2341 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2343 2003-03-07 Angus Leeming <leeming@lyx.org>
2345 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2348 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2350 * ParagraphList.C (front): new function
2353 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2355 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2356 and top_row_offset_. removed var first_y.
2358 * text2.C (LyXText, removeRow):
2360 * BufferView_pimpl.C:
2361 use these methods instead of using first_y
2363 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2365 * text2.C (pasteSelection): adjust for checkPastePossible
2367 * CutAndPaste.C: remove Paragraph * buf and replace with
2368 ParagraphList paragraphs.
2369 (DeleteBuffer): delete
2370 (cutSelection): change the tc type to textclass_type
2371 (copySelection): change the tc type to textclass_type
2372 (copySelection): adjust for ParagraphList
2373 (pasteSelection): change the tc type to textclass_type
2374 (pasteSelection): adjust for Paragraphlist
2375 (nrOfParagraphs): simplify for ParagraphList
2376 (checkPastePossible): simplify for ParagraphList
2377 (checkPastePossible): remove unused arg
2379 * ParagraphList.C (insert): handle the case where there are no
2382 * CutAndPaste.h: make CutAndPaste a namespace.
2384 * text3.C (dispatch): adjust
2386 * text.C (breakParagraph): add a ParagraphList as arg
2388 * paragraph_funcs.C (breakParagraph): change to take a
2389 BufferParams and a ParagraphList as args.
2390 (breakParagraphConservative): ditto
2391 (mergeParagraph): ditto
2392 (TeXDeeper): add a ParagraphList arg
2393 (TeXEnvironment): ditto
2396 * buffer.C (readLyXformat2): adjust
2397 (insertStringAsLines): adjust
2398 (latexParagraphs): adjust
2400 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2401 (cutSelection): adjust
2402 (pasteSelection): adjust
2404 * BufferView_pimpl.C (insertInset): adjust
2406 2003-03-05 Angus Leeming <leeming@lyx.org>
2409 * LyXAction.C (init):
2410 * BufferView_pimpl.C (dispatch):
2411 * lyxfunc.C (getStatus):
2412 remove LFUN_CHILD_INSERT.
2414 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2416 2003-03-05 Angus Leeming <leeming@lyx.org>
2419 * LyXAction.C (init):
2420 * src/factory.C (createInset):
2421 * lyxfunc.C (getStatus):
2422 * text3.C (dispatch):
2423 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2425 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2427 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2429 * ParagraphList.C (insert): handle insert right before end()
2430 (erase): fix cases where it can be first or last paragraph.
2432 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2434 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2435 Paragraph::next and Paragraph::previous
2438 * text.C (breakParagraph): adjust
2440 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2441 BufferParams& as arg.
2442 (breakParagraph): use ParagraphList::insert
2443 (breakParagraphConservative): take a Buffer* instead of a
2444 BufferParams& as arg.
2445 (breakParagraphConservative): use ParagraphList::insert.
2447 * buffer.C (insertStringAsLines): un-const it
2448 (insertStringAsLines): adjust
2450 * ParagraphList.C (insert): new function
2452 * CutAndPaste.C (pasteSelection): adjust
2454 * text.C (backspace): adjust
2456 * tabular.C (SetMultiColumn): adjust
2458 * CutAndPaste.C (cutSelection): adjust
2459 (pasteSelection): adjust
2461 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2462 Buffer const * as arg
2464 * ParagraphList.C (erase): new function
2465 * paragraph_funcs.C (mergeParagraph): use it
2466 (mergeParagraph): make it take a Buffer* instead of a
2467 BufferParams* as arg
2469 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2471 (breakParagraphConservative): ditto
2473 * paragraph.h: remove the breakParagraph friend
2475 * paragraph.C (eraseIntern): new function
2476 (setChange): new function
2478 * paragraph_funcs.C (mergeParagraph): make it take a
2479 ParagraphList::iterator instead of a Paragraph *, adjust
2482 * paragraph.h: move an #endif so that the change tracking stuff
2483 also works in the NO_NEXT case.
2485 2003-03-04 Angus Leeming <leeming@lyx.org>
2488 * LyXAction.C: new LFUN_INSET_MODIFY.
2490 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2491 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2493 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2495 * several files: ws changes only
2497 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2498 (TeXEnvironment): ditto
2501 * buffer.C (makeLaTeXFile): adjust
2502 (latexParagraphs): make it take ParagraphList::iterator as args
2504 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * buffer.C (latexParagraphs): adjust
2508 * paragraph.C (TeXOnePar): move function...
2509 (optArgInset): move function...
2510 (TeXEnvironment): move function...
2511 * paragraph_pimpl.C (TeXDeeper): move function...
2512 * paragraph_funcs.C: ...here
2514 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2516 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * buffer.C (readInset): remove compability code for old Figure and
2521 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2523 * buffer.C: ws changes
2526 * BufferView_pimpl.C: ditto
2529 * bufferlist.h: ditto
2533 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2535 * converter.[Ch]: split into itself +
2538 * Makefile.am: += graph.[Ch] + format.[Ch]
2545 * lyxrc.C: added #include "format.h"
2547 2003-02-27 Angus Leeming <leeming@lyx.org>
2549 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2552 * factory.C (createInset): add "label" to the factory.
2554 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2555 string and do no more.
2557 2003-02-27 Angus Leeming <leeming@lyx.org>
2560 * LyXAction.C (init):
2561 * factory.C (createInset):
2562 * BufferView_pimpl.C (dispatch):
2563 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2565 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2567 * lyxfunc.C (dispatch):
2568 * text3.C (dispatch): pass name to params2string.
2570 2003-02-26 Angus Leeming <leeming@lyx.org>
2572 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2574 Rearrange the ~includes. Strip out the unnecessary ones.
2576 * factory.C (createInset): reformat.
2577 create new insets for the various LFUN_XYZ_APPLY lfuns.
2579 2003-02-26 John Levon <levon@movementarian.org>
2582 * lyxrow.C: add isParStart,isParEnd helpers
2584 * paragraph.h: make isInserted/DeletedText take refs
2586 * paragraph_funcs.h:
2587 * paragraph_funcs.C: remove #if 0'd code
2592 * text.C: use lyxrow helpers above.
2593 Move draw and paint routines to RowPainter.
2594 Make several methods use refs not pointers.
2595 Make backgroundColor() const.
2596 Add markChangeInDraw(), isInInset().
2597 Merge changeRegionCase into changeCase.
2598 Make workWidth() shouldn't-happen code into an Assert.
2601 * rowpainter.C: new class for painting a row.
2604 * vspace.C: make inPixels take a ref
2606 2003-02-26 Angus Leeming <leeming@lyx.org>
2608 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2611 2003-02-25 John Levon <levon@movementarian.org>
2613 * ispell.C: give the forked command a more accurate name
2615 2003-02-22 John Levon <levon@movementarian.org>
2618 * toc.C: make TocItem store an id not a Paragraph *
2621 2003-02-21 Angus Leeming <leeming@lyx.org>
2623 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2624 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2625 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2626 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2627 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2628 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2630 * BufferView_pimpl.C (dispatch):
2631 * LyXAction.C (init):
2632 * factory.C (createInset):
2633 * lyxfunc.C (getStatus, dispatch):
2634 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2636 2003-02-21 Angus Leeming <leeming@lyx.org>
2638 * BufferView_pimpl.C (MenuInsertLyXFile):
2639 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2640 * lyxfunc.C (menuNew, open, doImport):
2641 no longer pass a LyXView & to fileDlg.
2643 2003-02-21 Angus Leeming <leeming@lyx.org>
2645 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2646 * LyXAction.C: change, BIBKEY to BIBITEM.
2647 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2648 Change InsetBibKey to InsetBibitem.
2649 Change BIBKEY_CODE to BIBITEM_CODE.
2650 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2651 * factory.C: replace insetbib.h with insetbibitem.h.
2652 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2653 * paragraph.C: replace insetbib.h with insetbibitem.h.
2654 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2655 Change bibkey() to bibitem().
2656 * text.C: remove insetbib.h.
2657 * text2.C: replace insetbib.h with insetbibitem.h.
2658 change bibkey() to bibitem().
2659 * text3.C: remove insetbib.h.
2660 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2662 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2664 * lyxrc.C (output): enclose user email in quotes (in case there are
2667 2003-02-18 John Levon <levon@movementarian.org>
2669 * buffer.h: add std::
2671 2003-02-17 John Levon <levon@movementarian.org>
2677 * pspell.C: reworking. Especially in ispell, a large
2678 number of clean ups and bug fixes.
2680 * lyxfunc.C: fix revert to behave sensibly
2682 2003-02-17 André Pönitz <poenitz@gmx.net>
2685 * commandtags.h: new LFUN_INSERT_BIBKEY
2695 * paragraph_func.C: remove special bibkey handling
2697 2003-02-17 John Levon <levon@movementarian.org>
2699 * text.C (Delete): fix case where delete at the end of
2700 the very first paragraph would not merge the pars
2702 2003-02-17 John Levon <levon@movementarian.org>
2704 * lyxrow.C: fix lastPrintablePos()
2706 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2708 * bufferparams.C (writeLaTeX): add a std:here
2710 * buffer.C: and remove a using directive there
2712 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2714 * buffer.C (makeLaTeXFile): move the code that generates the
2717 * bufferparams.C (writeLaTeX): ... in this new method
2719 * LaTeXFeatures.C (getEncodingSet): make const
2720 (getLanguages): make const
2722 * MenuBackend.C (binding): returns the binding associated to this
2724 (add): sets the status of each item by calling getStatus. Adds
2726 (read): add support for OptSubMenu
2727 (expand): remove extra separator at the end of expanded menu
2729 2003-02-15 John Levon <levon@movementarian.org>
2732 * BufferView_pimpl.C:
2734 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2735 inset code that had no actual effect. Remove unneeded status
2738 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2740 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2743 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2745 * text.C (drawLengthMarker): also draw an arrow marker for
2746 symbolic lengths (medskip...)
2748 2003-02-14 John Levon <levon@movementarian.org>
2751 * tabular.C: better method names
2753 2003-02-14 John Levon <levon@movementarian.org>
2755 * BufferView_pimpl.C:
2760 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2761 it's a more accurate name. Remove some pointless uses.
2763 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2765 * text2.C (LyXText): change order of initilizers to shut off
2768 2003-02-14 John Levon <levon@movementarian.org>
2770 * buffer.C: use ParIterator for getParFromID()
2774 * paragraph_pimpl.h:
2775 * paragraph_pimpl.C: remove unused getParFromID()
2777 2003-02-14 John Levon <levon@movementarian.org>
2779 * buffer.C: remove some very old #if 0'd parse code
2781 2003-02-13 John Levon <levon@movementarian.org>
2785 * text2.C: move hfillExpansion(), numberOfSeparators(),
2786 rowLast(), rowLastPrintable(), numberofHfills(),
2787 numberOfLabelHfills() ...
2790 * lyxrow.C: ... to member functions here.
2795 * text.C: remove LyXText::beginningOfMainBody(), and call
2796 p->beginningOfMainBody() directly. Move the check for
2797 LABEL_MANUAL into the latter.
2804 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2810 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2811 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2813 2003-02-13 John Levon <levon@movementarian.org>
2815 * CutAndPaste.C: remove debug
2817 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2819 * paragraph.C (asString): remove two unused variables
2821 * lyxtextclass.C (readTitleType):
2823 (LyXTextClass): handle new members titletype_ and titlename_
2825 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2827 2003-02-09 John Levon <levon@movementarian.org>
2830 * buffer.C: replace hand-coded list with a map for the dep clean
2832 2003-02-08 John Levon <levon@movementarian.org>
2834 * LaTeX.C: consolidate code into showRunMessage() helper
2836 2003-02-08 John Levon <levon@movementarian.org>
2841 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2842 and pass the size in explicitly
2844 * BufferView_pimpl.h:
2845 * BufferView_pimpl.C:
2847 * BufferView.C: add getCurrentChange()
2849 * BufferView_pimpl.h:
2850 * BufferView_pimpl.C: handle change lfuns
2852 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2853 for changes. Mark pasted paragraphs as new.
2855 * support/lyxtime.h:
2856 * support/lyxtime.C:
2857 * DepTable.C: abstract time_t as lyx::time_type
2860 * LColor.C: add colours for new text, deleted text, changebars
2862 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2863 package use "usenames" option.
2867 * LyXAction.C: add change lfuns
2871 * author.C: author handling
2874 * buffer.C: add a per-buffer author list, with first entry as
2875 current author. Handle new .lyx tokens for change tracking. Output
2876 author list to .lyx file. Output dvipost stuff to .tex preamble.
2877 Bump lyx format to 222.
2880 * bufferlist.C: add setCurrentAuthor() to reset current author details
2884 * bufferparams.C: add param for tracking
2886 * bufferview_funcs.C: output change info in minibuffer
2890 * changes.C: add change-tracking structure
2893 * debug.C: add CHANGES debug flag
2896 * lyxfind.C: add code for finding the next change piece
2899 * lyxrc.C: add user_name and user_email
2902 * lyxrow.C: add a metric for the top of the text line
2905 * text.C: implement accept/rejectChange()
2908 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2909 Strike through deleted text.
2913 * paragraph_pimpl.h:
2914 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2915 to the insert functions. Rework erase to mark text as deleted, adding
2916 an eraseIntern() and a range-based erase(). Implement
2917 per-paragraph change lookup and accept/reject.
2919 * paragraph_funcs.C: Fixup paste for change tracking.
2921 * tabular.C: mark added row/columns as new.
2923 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2924 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2926 * text2.C: leave cursor at end of selection after a cut.
2928 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2930 * text.C (getLengthMarkerHeight):
2931 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2932 visible on screen too.
2934 2003-02-07 John Levon <levon@movementarian.org>
2936 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2938 2003-02-05 Angus Leeming <leeming@lyx.org>
2940 * lyxserver.C (read_ready): revert my patch of 11 September last year
2941 as it sends PC cpu through the roof. Presumably this means that
2942 the lyxserver will no longer run on an Alpha...
2944 2003-01-30 Angus Leeming <leeming@lyx.org>
2946 * factory.C (createInset): create an InsetCommandParam of type "index"
2947 and use it to 'do the right thing'.
2949 * text2.C (getStringToIndex): ensure that cursor position is always
2950 reset to the reset_cursor position.
2952 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2954 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2957 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2961 * lyxfunc.C: Output messages with identical spelling, punctuation,
2964 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2966 * MenuBackend.C (expandFormats): List only viewable export formats
2969 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2972 * lyxfunc.C (getStatus): Make sure that formats other than
2973 "fax" can also be disabled
2975 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2977 * text3.C (dispatch): put the lfuns that insert insets in 3
2978 groups, and call doInsertInset with appropriate arguments.
2979 (doInsertInset): new function, that creates an inset and inserts
2980 it according to some boolean parameters.
2982 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2984 * buffer.C (readFile): remember to pass on 'par' when calling
2985 readFile recursively.
2987 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2989 * MenuBackend.C (expandFormats): add "..." to import formats.
2991 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2993 * paragraph.C (asString): Remove XForms RTL hacks.
2995 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2996 * buffer.C: fix typo
2998 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3000 * Makefile.am (LIBS): delete var
3001 (lyx_LDADD): add @LIBS@ here instead.
3003 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3005 * Clarify the meaning of "wheel mouse jump"
3007 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3009 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3012 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3014 * importer.C (Loaders): do not preallocate 3 elements in the
3015 vector, since one ends up with 6 elements otherwise
3017 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3019 * DepTable.C (write): write the file name as last element of the
3020 .dep file (because it may contain spaces)
3021 (read): read info in the right order
3023 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3025 * paragraph_pimpl.C (simpleTeXBlanks):
3026 (simpleTeXSpecialChars):
3027 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3029 * tabular.C (latex): add some missing case statements. Reindent.
3031 * MenuBackend.C (expandToc): remove unused variable.
3033 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3042 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3045 2003-01-05 John Levon <levon@movementarian.org>
3048 * BufferView.C: add getEncoding()
3051 * kbsequence.C: do not store last keypress
3054 * lyxfunc.C: store last keypress here instead. Pass encoding
3057 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3059 * lyx_main.C (init): remove annoying error message when following
3060 symbolic links (bug #780)
3062 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3064 * text.C (insertChar):
3065 * lyxrc.C (getDescription): remove extra spaces
3067 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3069 * lyxrc.C (getDescription): remove extra spaces
3071 2002-12-20 John Levon <levon@movementarian.org>
3073 * text3.C: hack fix for page up/down across tall rows
3075 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3077 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3080 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3082 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3083 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3084 thesaurus is not compiled in
3086 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3088 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3090 2002-12-16 Angus Leeming <leeming@lyx.org>
3093 * lyx_main.C (init): remove override_x_deadkeys stuff.
3095 2002-12-12 John Levon <levon@movementarian.org>
3097 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3098 insert. Only remove shift modifier under strict
3101 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * MenuBackend.C (expandToc): fix crash.
3105 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3107 * MenuBackend.C (expandToc): gettext on float names.
3109 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3111 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3112 implement bool empty() [bug 490]
3114 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3118 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3120 * several files: ws changes
3122 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * text2.C (setCounter): clean up a bit, use boost.format.
3125 (updateCounters): initialize par upon declaration.
3127 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3128 if the layout exists. We do not just store the layout any more.
3129 (SwitchLayoutsBetweenClasses): use boost.format
3131 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3133 * converter.C (convert): if from and to files are the same, use a
3134 temporary files as intermediary
3136 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3139 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3141 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3143 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3145 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3147 * tabular.C (asciiPrintCell): use string(size, char) instead of
3150 * sgml.C (openTag): fix order of arguments to string constructor
3153 * lyxfunc.C (dispatch): use boost.format
3155 * lots of files: change "c" -> 'c'
3157 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3159 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3161 2002-11-25 Angus Leeming <leeming@lyx.org>
3163 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3165 * lyx_main.C (init): compile fix.
3167 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * lyx_cb.C (start): boost.formatify
3170 do not include <iostream>
3172 * lengthcommon.C: ws only
3174 * boost-inst.C,BoostFormat.h: add more explict instantations
3176 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * lots of files: handle USE_BOOST_FORMAT
3180 2002-11-21 John Levon <levon@movementarian.org>
3182 * pspell.C: fix compile
3184 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3186 * lyxfunc.C (dispatch): use boost::format
3190 * lyxfont.C (stateText): use boost::format
3192 * lyx_main.C (LyX): use boost::format
3194 (queryUserLyXDir): ditto
3197 (typedef boost::function): use the recommened syntax.
3199 * importer.C (Import): use boost::format
3201 * debug.C (showLevel): use boost::format
3203 * converter.C (view): use boost::format
3208 * bufferview_funcs.C (currentState): use boost::format
3210 * bufferlist.C (emergencyWrite): use boost::format
3212 * buffer.C (readLyXformat2): use boost::format
3213 (parseSingleLyXformat2Token): ditto
3215 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3217 * LaTeX.C (run): use boost::format
3219 * Chktex.C (scanLogFile): use boost::format
3221 * BufferView_pimpl.C (savePosition): use boost::format
3222 (restorePosition): ditto
3223 (MenuInsertLyXFile): ditto
3225 * BoostFormat.h: help file for explicit instation.
3227 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3229 * tabular.C (latex): Support for block alignment in fixed width
3232 2002-11-17 John Levon <levon@movementarian.org>
3234 * BufferView_pimpl.C:
3236 * lyxfunc.C: split filedialog into open/save
3238 2002-11-08 Juergen Vigna <jug@sad.it>
3240 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3241 by my last patch (hopefully).
3243 2002-11-08 John Levon <levon@movementarian.org>
3252 * toc.C: ParConstIterator, and use it (from Lars)
3254 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3256 * lyxtextclass.[Ch]: revise and add doxygen comments
3258 2002-11-07 John Levon <levon@movementarian.org>
3260 * text.C: fix progress value for spellchecker
3262 * toc.C: fix navigate menu for insetwrap inside minipage
3264 * paragraph_funcs.C: added FIXME for suspect code
3266 2002-11-07 John Levon <levon@movementarian.org>
3268 * BufferView_pimpl.C: fix redrawing of insets
3271 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3273 * text2.C (updateCounters): fix bug 668
3275 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3277 * text3.C (dispatch): Do not make the buffer dirty when moving the
3280 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3282 * vc-backend.C: STRCONV
3285 * text2.C (setCounter): STRCONV
3287 * paragraph.C (asString): STRCONV
3289 * lyxlength.C (asString): STRCONV
3290 (asLatexString): ditto
3292 * lyxgluelength.C (asString): STRCONV
3293 (asLatexString): ditto
3295 * lyxfunc.C (dispatch): STRCONV
3298 * lyxfont.C (stateText): STRCONV
3300 * importer.C (Import): STRCONV
3302 * counters.C (labelItem): STRCONV
3303 (numberLabel): ditto
3304 (numberLabel): remove unused ostringstream o
3309 * bufferview_funcs.C (currentState): STRCONV
3311 * buffer.C (readFile): STRCONV
3312 (asciiParagraph): ditto
3313 (makeLaTeXFile): ditto
3315 * Spacing.C (writeEnvirBegin): STRCONV
3317 * LaTeXFeatures.C (getLanguages): STRCONV
3318 (getPackages): ditto
3320 (getBabelOptions): ditto
3321 (getTClassPreamble): ditto
3322 (getLyXSGMLEntities): ditto
3323 (getIncludedFiles): ditto
3327 (scanAuxFile): ditto
3330 * LString.h: add the STRCONV macros
3332 * BufferView_pimpl.C (savePosition): STRCONV
3333 (restorePosition): ditto
3334 (MenuInsertLyXFile): ditto
3336 * vc-backend.C (scanMaster): change from submatch[...] to
3339 * funcrequest.C: include config.h
3341 * factory.C: include config.h
3343 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3345 * box.C: include config.h
3347 * LaTeX.C (scanAuxFile): change from submatch[...] to
3351 2002-10-25 Angus Leeming <leeming@lyx.org>
3353 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3355 * ispell.[Ch] (setError): new method.
3356 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3357 Use setError() insetead of goto END.
3359 * lyx_cb.C (AutoSave): move out child process into new class
3362 2002-10-30 John Levon <levon@movementarian.org>
3364 * text3.C: make start appendix undoable
3366 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3368 * lyxlength.C (inPixels): Fix returned value.
3370 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3373 2002-10-24 Angus Leeming <leeming@lyx.org>
3375 * lyxgluelength.h: no need to forward declare BufferParams
3376 or BufferView, so don't.
3378 2002-10-21 John Levon <levon@movementarian.org>
3380 * BufferView.C: menuUndo ->undo, redo
3382 * BufferView.h: document, remove dead, make some methods private
3384 * paragraph_funcs.h:
3385 * paragraph_funcs.C:
3386 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3391 * sgml.C: move sgml open/close tag into sgml.C
3393 * bufferview_funcs.h: unused prototype
3396 * lyxfunc.C: remove unused
3399 * text.C: remove unused
3401 2002-10-21 John Levon <levon@movementarian.org>
3405 * BufferView_pimpl.h:
3406 * BufferView_pimpl.C: fix mouse wheel handling based on
3407 patch from Darren Freeman
3409 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3411 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3413 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3415 * lyxlength.C (inPixels): Fix hanfling of negative length.
3416 Fix LyXLength::MU case.
3418 2002-10-16 John Levon <levon@movementarian.org>
3420 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3422 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3424 * converter.C (view): add support for $$i (file name) and $$p
3425 (file path) for the viewer command. If $$i is not specified, then
3426 it is appended to the command (for compatibility with old syntax)
3428 2002-10-14 Juergen Vigna <jug@sad.it>
3430 * undo_funcs.C (textHandleUndo): alter the order in which the
3431 new undopar is added to the LyXText, as we have to set first
3432 the right prev/next and then add it as otherwise the rebuild of
3433 LyXText is not correct. Also reset the cursor to the right paragraph,
3434 with this IMO we could remove the hack in "redoParagraphs()".
3436 2002-10-09 Angus Leeming <leeming@lyx.org>
3438 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3439 to turn off an optimisation if a new inset is to be inserted.
3441 2002-10-11 André Pönitz <poenitz@gmx.net>
3443 * lyxtext.h: make some functions public to allow access
3444 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3446 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3448 * text3.C (dispatch): when changing layout, avoid an infinite loop
3451 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3453 * lyxrc.C (read): treat a viewer or converter command of "none" as
3456 * MenuBackend.C (expandFormats): for an update, also allow the
3457 formats that are not viewable
3459 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3460 script if it is newer than the lyxrc.defaults in user directory
3462 2002-10-07 André Pönitz <poenitz@gmx.net>
3464 * text.C: Vitaly Lipatov's small i18n fix
3466 2002-09-25 Angus Leeming <leeming@lyx.org>
3468 * ispell.h: doxygen fix.
3470 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3472 * buffer.h (readFile): Add a new argument to the method, to allow
3473 reading of old-format templates.
3475 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3477 * toc.C (getTocList): Get TOC from InsetWrap.
3479 2002-09-16 John Levon <levon@movementarian.org>
3481 * lyxfunc.C: check tabular for cut/copy too
3483 2002-09-12 John Levon <levon@movementarian.org>
3488 * factory.C: add header
3490 * paragraph_funcs.h:
3491 * paragraph_funcs.C: cleanup
3493 2002-09-11 John Levon <levon@movementarian.org>
3495 * PrinterParams.h: odd/even default to true
3497 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3499 * PrinterParams.h: update printer parameters for new xforms dialog
3501 2002-09-11 Angus Leeming <leeming@lyx.org>
3503 * lyxserver.C (read_ready): re-write to make it more transparent
3504 and to make it work in coherent fashion under Tru64 Unix.
3506 2002-09-11 André Pönitz <poenitz@gmx.net>
3510 * text3.C: implement LFUN_WORDSEL
3512 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3515 make floatlist_ a boost::shared_ptr<FloatList>
3517 * lyxtextclass.C: include FloatList.h
3518 (LyXTextClass): initialize floatlist_
3519 (TextClassTags): add TC_NOFLOAT
3520 (Read): match "nofloat" to TC_NOFLOAT and use it.
3521 (readFloat): modify call to floatlist_
3525 * FloatList.[Ch] (FloatList): remove commented out float
3527 (erase): new function
3529 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3531 * MenuBackend.C (expandToc): fix crash when there is no document
3534 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3536 * many files: Add insetwrap.
3538 2002-09-09 John Levon <levon@movementarian.org>
3540 * text2.C: remove confusing and awkward depth wraparound
3542 2002-09-09 John Levon <levon@movementarian.org>
3544 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3547 * buffer.C: remove getIncludeonlyList()
3550 * lyxfunc.C: remove headers
3552 2002-09-09 Juergen Vigna <jug@sad.it>
3554 * text.C (getColumnNearX): fix form Michael this is most
3555 probably a cut&paste bug.
3557 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3559 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3561 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3562 references, ws changes.
3564 * text2.C (init): update counters after init
3565 (insertParagraph): no need to set counter on idividual paragraphs.
3566 (setCounter): access the counters object in the textclass object
3567 on in the buffer object.
3568 (updateCounters): ditto
3570 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3571 shared_ptr<Counters> to avoid loading counters.h in all
3573 (LyXTextClass): initialize ctrs_
3574 (TextClassTags): add TC_COUNTER, and ...
3575 (Read): use it here.
3576 (CounterTags): new tags
3577 (readCounter): new function
3578 (counters): new funtion
3579 (defaultLayoutName): return a const reference
3581 * counters.C (Counters): remove contructor
3582 (newCounter): remove a couple of unneeded statements.
3583 (newCounter): simplify a bit.
3584 (numberLabel): some small formatting changes.
3586 * buffer.[Ch]: remove all traces of counters, move the Counters
3587 object to the LyXTextClass.
3589 2002-09-06 Alain Castera <castera@in2p3.fr>
3591 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3592 package to set the horizontal alignment on fixed width columns.
3595 * lyx_sty.h: added tabularnewline macro def.
3597 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3599 2002-09-06 John Levon <levon@movementarian.org>
3601 * LyXAction.C: tooltips for sub/superscript
3603 * MenuBackend.C: a bit more verbose
3605 * lyxfunc.C: tiny clean
3607 * undo_funcs.C: document undo_frozen
3609 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * counters.C (Counters): add missing algorithm counter.
3613 * text2.C (setCounter): lookup the counter with layouts latexname
3614 instead of by section number.
3615 (setCounter): use a hackish way to lookup the correct enum
3617 a float name->type change
3618 reset enum couners with counter name directly instead of depth value.
3620 * counters.C (Counters): remove the push_backs, change to use the
3621 float type not the float name.
3622 (labelItem): remove unused string, float name->type change
3624 * counters.h: don't include vector, loose the enums and sects vectors
3626 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3629 (Read): add float->TC_FLOAT to textclassTags
3630 (Read): and handle it in the switch
3631 (readFloat): new function
3633 * FloatList.C (FloatList): comment out the hardcoded float
3636 * lyxlayout.h: ws change.
3638 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3640 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3642 2002-09-03 Angus Leeming <leeming@lyx.org>
3644 * BufferView_pimpl.h: qualified name is not allowed in member
3645 declaration: WorkArea & Pimpl::workarea() const;
3647 * factory.C: added using std::endl directive.
3649 * text3.C: added using std::find and std::vector directives.
3651 2002-08-29 André Pönitz <poenitz@gmx.net>
3654 * text2.C: remove unused member number_of_rows
3657 * BufferView2.C: remove file, move contents to...
3658 * BufferView.C: ... here
3660 * BufferView_pimpl.C:
3661 * factory.C: move more inset creation to factory
3663 * vspace.C: avoid direct usage of LyXText, ws changes
3666 don't provide direct access to WorkArea, use two simple
3667 acessors haveSelction() and workHeight() instead
3670 2002-08-29 John Levon <levon@movementarian.org>
3672 * BufferView_pimpl.C (dispatch): do not continue when
3675 2002-08-28 André Pönitz <poenitz@gmx.net>
3677 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3680 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3682 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3684 * buffer.C: increment LYX_FORMAT to 221
3686 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3687 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3689 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3691 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3693 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3695 * factory.C (createInset): use LyXTextClass::floats
3697 * MenuBackend.C (expandFloatListInsert):
3698 (expandFloatInsert):
3701 * text2.C (setCounter):
3703 * LaTeXFeatures.C (useFloat):
3704 (getFloatDefinitions):
3706 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3708 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3709 floatlist_, with accessor floats().
3711 * FloatList.h: remove global FloatList
3713 2002-08-26 André Pönitz <poenitz@gmx.net>
3715 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3719 * BufferView_pimpl.C:
3720 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3722 2002-08-25 John Levon <levon@movementarian.org>
3724 * LyXAction.C: fix margin note description
3726 2002-08-24 John Levon <levon@movementarian.org>
3730 * bufferview_funcs.C:
3732 * undo_funcs.C: cleanups
3734 * lyxfunc.C: disable CUT/COPY when no selection
3736 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3738 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3739 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3741 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3742 Add backward compatibility to "mono", "gray" and "no".
3744 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3746 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3747 (and file_format >= 200).
3749 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3751 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3753 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3755 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3757 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3759 * BufferView_pimpl.C:
3766 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3767 inset and code to make it work with the paragraph code. The inset
3768 can be anywhere in the paragraph, but will only do the expected
3769 thing in LaTeX if the layout file contains the parameter line
3771 (or more generally, a nonzero value) for that layout.
3773 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * paragraph.h: remove the declaration of undefined counters class
3778 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3780 * text2.C (setCounter): fixed enumeration mis-count as reported by
3781 Dr. Richard Hawkins.
3783 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3785 * paragraph_funcs.h: remove some unneeded includes
3787 * text.C (backspace): pasteParagraph now in global scipe
3789 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3790 (pasteSelection): ditto
3792 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3793 * paragraph_funcs.C (pasteParagraph): ... here
3795 2002-08-20 André Pönitz <poenitz@gmx.net>
3797 * commandtags.h: new LFUNs for swapping/copying table row/colums
3800 * lyxfunc.C: support for new lfuns
3802 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3805 * buffer.[Ch]: remove NO_COMPABILITY stuff
3807 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3809 * boost.C (throw_exception): new file, with helper function for
3810 boost compiled without exceptions.
3815 * ParameterStruct.h:
3816 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3818 * bufferlist.C (emergencyWriteAll): use boost bind
3820 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3822 * text.C: include paragraph_funcs.h
3823 (breakParagraph): breakParagraph is now in global scope
3825 * paragraph_funcs.[Ch]: new files
3827 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3830 * buffer.C: include paragraph_funcs.h
3831 (insertStringAsLines): breakParagraph is now in global scope
3833 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3836 * CutAndPaste.C: include paragraph_funcs.h
3837 (cutSelection): breakParagraphConservative is now in global scope
3838 (pasteSelection): ditto
3840 * buffer.h: declare oprator== and operator!= for
3841 Buffer::inset_iterator
3843 * bufferlist.C (emergencyWrite): don't use fmt(...)
3845 * text3.C: add using std::endl
3847 * BufferView.C (moveCursorUpdate): remove default arg
3849 2002-08-20 André Pönitz <poenitz@gmx.net>
3851 * buffer.[Ch]: move inline functions to .C
3854 * BufferView_pimpl.C:
3856 * buffer.[Ch]: use improved inset_iterator
3859 * paragraph.[Ch]: write one paragraph at a time
3861 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3863 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3864 style if style is not specified.
3866 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3868 * text2.C (setCounter): when searching for right label for a
3869 caption, make sure to recurse to parent insets (so that a caption
3870 in a minipage in a figure float works) (bug #568)
3872 2002-08-20 André Pönitz <poenitz@gmx.net>
3874 * text3.C: new file for LyXText::dispatch() and helpers
3876 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3878 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3880 2002-08-19 André Pönitz <poenitz@gmx.net>
3883 * text.C: new LyXText::dispatch()
3885 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3887 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3889 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3891 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3894 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3896 * Makefile.am: use $(variables) instead of @substitutions@
3898 2002-08-15 André Pönitz <poenitz@gmx.net>
3901 * BufferView_pimpl.C: streamlining mathed <-> outer world
3905 * LyXAction.C: remove unused LFUN_MATH
3907 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3909 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3911 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3913 * paragraph.C (Paragraph): reformat a bit
3914 (cutIntoMinibuffer): use builtin InsetList function instad of
3918 * buffer.C: include boost/bind.hpp, add using std::for_each
3919 (writeFileAscii): use ParagraphList iterators
3920 (validate): use for_each for validate traversal of paragraphs
3921 (getBibkeyList): use ParagraphList iterators
3922 (resizeInsets): use for_each to resizeInsetsLyXText for all
3924 (getParFromID): use ParagraphList iterators
3926 * BufferView2.C (lockInset): use paragraph list and iterators
3928 2002-08-14 John Levon <levon@movementarian.org>
3930 * lyxserver.C: remove spurious xforms include
3932 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3934 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3936 2002-08-13 André Pönitz <poenitz@gmx.net>
3939 * lyxfunc.C: further cleaning
3941 2002-08-13 André Pönitz <poenitz@gmx.net>
3943 * funcrequest.h: new constructor
3945 * funcrequest.C: move stuff here from .h
3948 * BufferView_pimpl.C:
3951 * lyxfunc.C: subsequent changes
3953 * lyxfunc.h: new view() member function
3955 * lyxfunc.C: subsequent changes
3957 2002-08-13 Angus Leeming <leeming@lyx.org>
3960 * BufferView_pimpl.C:
3968 changes due to the changed LyXView interface that now returns references
3969 to member variables not pointers.
3971 2002-08-13 Angus Leeming <leeming@lyx.org>
3973 * WordLangTuple (word, lang_code): return references to strings,
3978 * lyxtext.h: forward-declare WordLangTuple.
3983 * text.C: #include "WordLangTuple.h".
3986 * text.C: (selectNextWordToSpellcheck): constify return type.
3988 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3994 * paragraph_pimpl.h:
3997 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3999 Made updateCounter always count from start of buffer, and removed
4000 second argument (par).
4001 Reverted floats number display to '#'. Perhaps I'll try again when the
4002 code base is sanitized a bit.
4004 2002-08-12 Angus Leeming <leeming@lyx.org>
4006 * buffer.[Ch] (getLabelList): constify.
4008 2002-08-07 André Pönitz <poenitz@gmx.net>
4010 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4012 * funcrequest.h: extension to keep mouse (x,y) position
4014 2002-08-12 Juergen Vigna <jug@sad.it>
4016 * BufferView2.C (insertErrors): forbid undo when inserting error
4019 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4021 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * ParagraphList.[Ch]: new files
4025 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4027 * BufferView2.C (lockInset): ParagraphList changes
4030 * bufferlist.C: ditto
4034 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4036 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4037 unused class variable counter_,
4039 * paragraph.[Ch] (getFirstCounter): delete unused function
4041 * counters.C: include LAssert.h
4042 (reset): add a new function with no arg, change other version to
4043 not have def. arg and to not allow empty arg.
4045 * text2.C (setCounter): remove empty arg from call to Counters::reset
4047 2002-08-11 John Levon <levon@movementarian.org>
4049 * Makefile.am: add WordLangTuple.h
4051 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4054 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4056 * insets/insettext.C: InsetList changes
4058 * graphics/GraphicsSupport.C (operator()): InsetList changes
4060 * toc.C (getTocList): InsetList changes
4062 * paragraph_pimpl.[Ch]: InsetList changes
4064 * paragraph.[Ch]: InsetList changes
4066 * buffer.C (inset_iterator): InsetList changes
4067 (setParagraph): ditto
4068 * buffer.h (inset_iterator): ditto
4069 * iterators.C (operator++): ditto
4070 * iterators.h: ditto
4072 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4074 * InsetList.[Ch]: new files, most InsetList handling moved out of
4077 * BufferView2.C (removeAutoInsets): InsetList changes
4079 (ChangeInsets): ditto
4081 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4083 * paragraph_pimpl.h (empty): new function
4085 * paragraph.[Ch] (empty): new function
4087 * other files: use the new Paragraph::empty function
4089 2002-08-09 John Levon <levon@movementarian.org>
4091 * lyxtext.h: remove unused refresh_height
4093 2002-08-09 John Levon <levon@movementarian.org>
4100 * paragraph.C: move sgml char escaping out of paragraph
4103 * paragraph.C: remove id setter
4107 * paragraph_pimpl.C: remove dead tex_code_break_column
4109 * bufferview_funcs.C: small cleanup
4111 * lyxfunc.C: remove dead proto
4113 * lyxtext.h: make some stuff private. Remove some dead stuff.
4115 * lyxgluelength.C: make as[LyX]String() readable
4117 2002-08-08 John Levon <levon@movementarian.org>
4122 * ToolbarDefaults.C:
4125 * toc.C: lyxaction cleanup
4127 2002-08-08 John Levon <levon@movementarian.org>
4129 * BufferView2.C: small cleanup
4132 * lyxfind.C: move unnecessary header into the .C
4134 2002-08-08 John Levon <levon@movementarian.org>
4136 * funcrequest.h: just tedious nonsense
4139 * lyx_main.C: cleanups
4142 * vspace.C: remove dead header lyx_main.h
4144 2002-08-07 Angus Leeming <leeming@lyx.org>
4147 * paragraph_pimpl.h:
4148 Forward declare class Counters in paragraph.h by moving the ctrs member
4149 variable into Paragraph::Pimpl.
4150 (counters): new method, returning a reference to pimpl_->ctrs.
4152 * text2.C: ensuing changes.
4154 2002-08-07 John Levon <levon@movementarian.org>
4156 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4158 * BufferView_pimpl.C: announce X selection on double/triple
4161 * lyx_main.C: use correct bool in batch dispatch
4163 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4165 2002-08-07 André Pönitz <poenitz@gmx.net>
4167 * funcrequest.h: new class to wrap a kb_action and its argument
4170 * BufferView_pimpl[Ch]:
4174 * lyxrc.C: subsequent changes
4177 2002-08-07 John Levon <levon@movementarian.org>
4179 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4180 document options change.
4182 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4187 * makefile.am: move counters functionality over from
4188 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4190 2002-08-06 John Levon <levon@movementarian.org>
4192 * WordLangTuple.h: new file for word + language code tuple
4203 * BufferView2.C: use WordLangTuple
4206 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4208 2002-08-06 John Levon <levon@movementarian.org>
4210 * lyx_main.C: fix cmdline batch handling
4212 2002-08-06 André Pönitz <poenitz@gmx.net>
4214 * lyxrc.C: set default for show_banner to true
4216 2002-08-06 John Levon <levon@movementarian.org>
4218 * pspell.C: fix a crash, and allow new aspell to work
4220 2002-08-06 John Levon <levon@movementarian.org>
4223 * kbmap.C: small cleanup
4226 * vspace.C: add const
4228 2002-08-05 John Levon <levon@movementarian.org>
4230 * LyXAction.C: back to tabular-insert
4232 2002-08-04 John Levon <levon@movementarian.org>
4235 * BufferView.C: cosmetic change
4237 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4247 * BufferView2.C: purge all "Lyx" not "LyX" strings
4250 * lyxcursor.C: attempt to add some documentation
4255 * ToolbarDefaults.C:
4256 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4257 merge with LFUN_TABULAR_INSERT
4264 * pspell.C: split up i/pspell implementations into separate
4265 files, many cleanups
4267 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4269 * text2.C: some cleanup
4271 * lyxfunc.C: don't check for isp_command == "none" any more, it
4272 didn't make any sense
4274 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4279 * makefile.am: move counters functionality over
4280 from text2.C/paragraph.[Ch] to counters.[Ch], and
4282 2002-08-02 John Levon <levon@movementarian.org>
4284 * buffer.C: s/lyxconvert/lyx2lyx/
4286 2002-08-02 Angus Leeming <leeming@lyx.org>
4288 * lyxlex.C: revert John's change as it breaks reading of the user
4291 2002-08-02 Angus Leeming <leeming@lyx.org>
4293 * importer.C (Import):
4294 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4295 changes due to LyXView::view() now returning a boost::shared_ptr.
4297 2002-08-02 John Levon <levon@movementarian.org>
4299 * lyxlex.C: small cleanup
4301 2002-08-02 John Levon <levon@movementarian.org>
4303 * text2.C (status): small cleanup, no logic change
4305 2002-08-01 John Levon <levon@movementarian.org>
4308 * buffer.C (writeFile): don't output alerts, caller
4312 * lyx_cb.C: from above
4314 * lyxfunc.C: allow to open non-existent files
4316 2002-07-31 John Levon <levon@movementarian.org>
4318 * lyxserver.C: don't let incidental errors get
4321 2002-07-30 John Levon <levon@movementarian.org>
4323 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4325 2002-07-30 John Levon <levon@movementarian.org>
4328 * lyxserver.C: remove I/O callback too
4330 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4332 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4335 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * many files: strip,frontStrip -> trim,ltrim,rtrim
4339 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4341 * PrinterParams.h: remove extern containsOnly, and include
4342 support/lstrings.h instead.
4344 * LaTeX.C (scanAuxFile): modify because of strip changes
4346 * buffer.C (makeLaTeXFile): ditto
4347 * bufferparams.C (writeFile): ditt
4348 * lyxfont.C (stateText): ditto
4349 * lyxserver.C (read_ready): ditto
4350 * vc-backend.C (scanMaster): ditto
4352 * BufferView_pimpl.h: ws changes
4354 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4356 2002-07-26 André Pönitz <poenitz@gmx.net>
4358 * kb_sequence.C: remove unnedred usings
4360 2002-07-26 Juergen Vigna <jug@sad.it>
4362 * lyxfind.C (LyXReplace): we have to check better if the returned
4363 text is not of theLockingInset()->getLockingInset().
4365 2002-07-25 Juergen Vigna <jug@sad.it>
4367 * lyxfind.C (LyXReplace): don't replace if we don't get the
4370 * undo_funcs.C (createUndo): remove debugging code.
4372 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4374 * buffer.C (parseSingleLyXformat2Token): Use default placement
4375 when reading old floats.
4377 * FloatList.C (FloatList): Change the default placement of figure
4378 and tables to "tbp".
4380 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4382 * MenuBackend.C: using std::max
4384 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4386 * MenuBackend.C (expandToc):
4387 (expandToc2): code moved from xforms menu frontend. It is now
4388 generic and TOCs are transparent to menu frontends.
4390 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4392 * toc.C (getTocList): protect against buf=0
4394 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4395 Menu as first parameter. Now, this calls itself recursively to
4396 expand a whole tree (this will be useful for TOC handling)
4397 (expandFloatInsert): remove 'wide' version of floats
4399 * MenuBackend.h (submenuname): returns the name of the submenu.
4400 (submenu): returns the submenu itself, provided it has been
4401 created by MenuBackend::expand
4403 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4405 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4406 insets which have noFontChange == true. (bug #172)
4408 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4410 * BufferView_pimpl.C: add connection objects and use them...
4413 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4415 * MenuBackend.C (expandLastfiles):
4418 (expandFloatListInsert):
4419 (expandFloatInsert):
4420 (expand): split expand in parts
4422 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4424 * lyx_gui.C: use lyx_gui::exit()
4426 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4428 * LyXAction.C: show the failing pseudo action
4430 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4432 * buffer.C (readFile): Run the lyxconvert script in order to read
4435 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4439 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4441 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4445 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4447 2002-07-22 Herbert Voss <voss@lyx.org>
4450 * lyxlength.[Ch]: add support for the vertical lengths
4452 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4454 * toc.[Ch]: std:: fixes
4456 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4458 * lyxrc.C: do not include lyx_main.h
4460 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4466 * BufferView2.C: include "lyxlex.h"
4469 * bufferparams.h: do not #include "lyxlex.h"
4471 * lyxtextclasslist.C (Add): remove method
4472 (classlist): renamed to classlist_
4474 * paragraph_pimpl.C:
4478 * bufferview_funcs.C:
4483 * toc.C (getTocList): use BufferParams::getLyXTextClass
4485 * toc.C (getTocList): use InsetFloat::addToToc
4487 * toc.[Ch]: new files, containing helper functions to handle table
4490 * lyxfunc.C (dispatch): no need to remove spaces around command
4492 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4493 first command of the sequence; it is not very clever, but I do not
4494 have a better idea, actually
4496 * LyXAction.C (LookupFunc): make sure to remove space at the
4497 beginning and end of the command
4499 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4501 * MenuBackend.C (getMenubar): new method: return the menubar of
4503 (read): treat differently reading of menu and menubar (in
4504 particular, the menubar has no name now)
4505 (Menu::menubar): remove
4507 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4510 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4512 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4513 a bibitem inset in a RTL paragraph.
4515 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4517 * paragraph_pimpl.C: constify
4519 * BufferView_pimpl.C:
4521 * lyxfunc.C: fix dispatch in a nicer way
4523 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4525 * lyxfunc.C (dispatch):
4526 * BufferView_pimpl.C:
4527 * BufferView_pimpl.h:
4529 * BufferView.h: rename Dispatch() to dispatch()
4531 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4533 * lyxlayout.C (Read): honor DependsOn tag
4535 * lyxlayout.[Ch] (depends_on): new method
4537 * version.C.in: update lyx_docversion
4539 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4541 * paragraph.C (validate): remove from here...
4542 * paragraph_pimpl.C (validate): ... and move here
4543 (isTextAt): make it const
4545 * buffer.C (getLists): ws cleanup
4547 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4549 * language.C (read): Use iso8859-1 encoding in latex_lang
4550 (this prevents LyX from crashing when using iso10646-1 encoding).
4552 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4554 * text2.C (toggleInset): if cursor is inside an inset, close the
4555 inset and leave cursor _after_ it
4557 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4559 * lyxfunc.C: move minibuffer completion handling out of here
4561 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4563 * BufferView_pimpl.C:
4564 * LaTeX.C: fix dispatch calls
4566 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4568 * text.C (drawChars): Fix Arabic text rendering.
4570 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4574 * lyxfunc.C: remove message-push/pop
4578 * lyxfunc.C: rationalise some code by removing verboseDispatch
4579 in favour of a bool argument to dispatch()
4581 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4583 * lyx_main.C (init): make sure to read symlinks as absolute paths
4585 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4588 * lyxfunc.C: no need for commandshortcut to be a member
4590 2002-07-15 André Pönitz <poenitz@gmx.net>
4592 * converter.C: add support for $$s (scripts from lib/scripts dir)
4593 * lyx_main.C: white space
4595 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4599 * lyxrc.C: remove second exit confirmation
4601 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4606 * BufferView_pimpl.h:
4607 * BufferView_pimpl.C:
4608 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4610 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4612 * MenuBackend.C (expand): add numeric shortcuts to document menu
4614 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4616 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4618 * lyxfont.C (setLyXFamily):
4625 * buffer.C (asciiParagraph): use ascii_lowercase
4627 2002-07-15 Mike Fabian <mfabian@suse.de>
4629 * lyxlex_pimpl.C (search_kw):
4630 * lyxlex.C (getLongString):
4631 * converter.h (operator<):
4632 * converter.C (operator<):
4633 * buffer.C (parseSingleLyXformat2Token):
4635 * ToolbarDefaults.C (read):
4636 * MenuBackend.C (checkShortcuts):
4638 * LColor.C (getFromGUIName):
4639 (getFromLyXName): use the compare_ascii_no_case instead of
4640 compare_no_case, because in turkish, 'i' is not the lowercase
4641 version of 'I', and thus turkish locale breaks parsing of tags.
4643 2002-07-16 Angus Leeming <leeming@lyx.org>
4645 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4646 now takes a Buffer const & argument.
4648 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4650 * BufferView.C (resize): check there's a buffer to resize
4652 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4654 * lyxfunc.C: remove dead code
4657 * lyxserver.C: use lyx_guii::set_read_callback
4659 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4661 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4662 an inset in a RTL paragraph.
4664 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4666 * lyxfunc.C: repaint after a font size update
4668 2002-07-15 André Pönitz <poenitz@gmx.net>
4670 * lyxlength.C: inBP should be able to return negative values
4672 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4674 * lyxfunc.C: use lyx_gui::update_fonts()
4676 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4678 * lyxfunc.C: use lyx_gui::update_color()
4680 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4686 * lyxrc.C: remove file->new asks for name option, and let
4687 buffer-new take an argument
4689 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4691 * BufferView_pimpl.C: remove unneeded extra repaint()
4693 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4695 * LyXAction.C: allow command-sequence with NoBuffer
4697 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4699 2002-07-10 Angus Leeming <leeming@lyx.org>
4701 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4703 2002-07-09 Angus Leeming <leeming@lyx.org>
4705 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4707 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4709 * lengthcommon.h: whitespace
4711 * lyxfunc.C: update scrollbar after goto paragraph
4713 * lyxtext.h: factor out page break drawing, and fix it so
4714 page break/added space paints as selected nicely
4716 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4718 * BufferView_pimpl.C: add FIXMEs, clean up a little
4720 2002-07-09 André Pönitz <poenitz@gmx.net>
4722 * lyxfont.[Ch]: support for wasy symbols
4724 2002-07-08 André Pönitz <poenitz@gmx.net>
4726 * BufferView_pimpl.C: apply John's patch for #93.
4728 2002-07-05 Angus Leeming <leeming@lyx.org>
4730 * BufferView_pimpl.C (buffer): generate previews if desired.
4732 * LColor.h: add "preview" to the color enum.
4734 * LColor.C (LColor): add a corresponding entry to the items array.
4736 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4739 2002-07-05 Angus Leeming <leeming@lyx.org>
4741 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4742 The body of the code is now in the method that is passed an ostream &
4743 rather than a file name.
4744 Pass an additional only_preamble parameter, useful for the forthcoming
4747 2002-07-03 André Pönitz <poenitz@gmx.net>
4749 * lyxfunc.C: simplify getStatus() a bit for math stuff
4751 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4753 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4755 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4757 * text.C (changeRegionCase): do not change case of all the
4758 document when region ends at paragraph end (bug #461)
4760 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4762 * paragraph.C (startTeXParParams):
4763 (endTeXParParams): add \protect when necessary
4765 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4767 * BufferView_pimpl.C (workAreaExpose): remove warning
4769 2002-06-27 Angus Leeming <leeming@lyx.org>
4771 * Makefile.am: add lyxlayout_ptr_fwd.h.
4773 2002-06-26 André Pönitz <poenitz@gmx.net>
4775 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4777 2002-06-25 Angus Leeming <leeming@lyx.org>
4779 * lyxfunc.C (dispatch): Comment out the call to
4780 grfx::GCache::changeDisplay. The method no longer exists now that the
4781 pixmap generation part of the graphics loader has been moved into
4784 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4786 * text2.C: layout as layout
4788 * text.C: layout as layout
4790 * tabular.C (OldFormatRead): layout as layout
4792 * paragraph_pimpl.C (TeXDeeper): layout as layout
4793 (realizeFont): layout as layout
4795 * paragraph.C (writeFile): layout as layout
4796 (validate): layout as layout
4797 (getFont): layout as layout
4798 (getLabelFont): layout as layout
4799 (getLayoutFont): layout as layout
4800 (breakParagraph): layout as layout
4801 (stripLeadingSpaces): layout as layout
4802 (getEndLabel): layout as layout
4803 (getMaxDepthAfter): layout as layout
4804 (applyLayout): layout as layout
4805 (TeXOnePar): layout as layout
4806 (simpleTeXOnePar): layout as layout
4807 (TeXEnvironment): layout as layout
4808 (layout): layout as layout
4809 (layout): layout as layout
4811 * lyxtextclass.C (compare_name): new functor to work with
4812 shared_ptr, layout as layout
4813 (Read): layout as layout
4814 (hasLayout): layout as layout
4815 (operator): layout as layout
4816 (delete_layout): layout as layout
4817 (defaultLayout): layout as layout
4819 * lyxlayout_ptr_fwd.h: new file
4821 * lyxlayout.C (Read): layout as layout
4823 * lyx_cb.C (MenuInsertLabel): layout as layout
4825 * bufferlist.C (newFile): layout as layout
4827 * buffer.C (readLyXformat2): layout as layout
4828 (parseSingleLyXformat2Token): layout as layout
4829 (insertStringAsLines): layout as layout
4830 (asciiParagraph): layout as layout
4831 (latexParagraphs): layout as layout
4832 (makeLinuxDocFile): layout as layout
4833 (simpleLinuxDocOnePar): layout as layout
4834 (makeDocBookFile): layout as layout
4835 (simpleDocBookOnePar): layout as layout
4836 (getLists): layout as layout
4838 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4840 * CutAndPaste.C (cutSelection): layout as layout
4841 (pasteSelection): layout as layout
4842 (SwitchLayoutsBetweenClasses): layout as layout
4844 * BufferView_pimpl.C (Dispatch): layout as layout
4845 (smartQuote): layout as layout
4847 * BufferView2.C (unlockInset): layout as layout
4849 2002-06-24 André Pönitz <poenitz@gmx.net>
4851 * lyxfunc.C: fix #487
4853 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4857 * lyxfunc.C: remove display_shortcuts, show_banner
4859 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4861 * Buffer_pimpl.C: oops, update on resize
4863 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4870 * BufferView.C: use repaint()
4872 * BufferView_pimpl.h:
4873 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4874 as it's a clearer description. Remove superfluous
4877 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4879 * text.C: fix bug 488. Not ideal, but getting
4880 getWord() to work properly for the insets that
4881 matter is more difficult ...
4883 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4885 * BufferView_pimpl.C:
4888 * lyxfunc.C: remove the six million index lyxfuncs to just
4889 one, and DTRT (bug 458)
4891 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4895 * BufferView_pimpl.h:
4896 * BufferView_pimpl.C: clean up resize() stuff,
4897 and unnecessary updateScreen()s
4899 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4903 * BufferView_pimpl.h:
4904 * BufferView_pimpl.C:
4907 * minibuffer.C: remove focus management of workarea,
4908 not needed. Use screen's greyOut()
4910 2002-06-17 Herbert Voss <voss@lyx.org>
4912 * converter.C: (convert) do not post a message, when converting
4913 fails, let the calling function decide what to do in this case
4915 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4917 * lyxfunc.C: tidy up a little
4919 2002-06-16 <alstrup@diku.dk>
4921 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4922 Got rid of FORMS_H_LOCATION include. Now we are
4925 2002-06-15 LyX Development team <lyx@rilke>
4927 * buffer.[Ch] (sgmlOpenTag):
4928 (sgmlCloseTag): Added support for avoiding pernicious mixed
4929 content. Return number of lines written.
4932 (makeDocBookFile): Fixed calls to sgml*Tag.
4933 Simple white space clean.
4935 (simpleDocBookOnePar): Simple white space clean.
4937 * tabular.[Ch] (docBook): Renamed to docbook and got another
4938 argument to related with the pernicious mixed content.
4940 (docbookRow): Fixed calls for docbook inset method.
4942 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4944 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4945 so it's X11 independent.
4949 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4951 2002-06-15 Lyx Development team <lyx@electronia>
4953 * intl.h: Renamed getTrans to getTransManager.
4955 2002-06-14 Angus Leeming <leeming@lyx.org>
4957 * Makefile.am: nuke forgotten stl_string_fwd.h.
4959 2002-06-12 Angus Leeming <leeming@lyx.org>
4961 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4963 2002-06-13 Angus Leeming <leeming@lyx.org>
4966 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4968 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4970 * kbmap.C (getiso): add support for cyrillic and greek
4972 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4976 * BufferView_pimpl.h:
4977 * BufferView_pimpl.C: move bogus scrolling logic
4980 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4983 * BufferView_pimpl.C: view->resize() change
4985 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4987 * BufferView_pimpl.C: topCursorVisible
4990 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4994 * lyx_gui.C: move to frontends/
4998 * lyx_main.C: changes from above
5000 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5007 * lyx_main.C: minor tidy
5009 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5011 * BufferView_pimpl.h:
5012 * BufferView_pimpl.C:
5014 * BufferView.C: make painter() const,
5017 * BufferView2.C: use screen() accessor
5020 * lyx_main.C: some minor cleanup
5022 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5024 * BufferView_pimpl.h:
5025 * BufferView_pimpl.C: remove enter/leaveView,
5028 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5033 * BufferView_pimpl.h:
5034 * BufferView_pimpl.C: only construct screen once,
5037 * lyxrc.C: remove pointless comment
5039 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5042 * BufferView.C: remove active() and belowMouse()
5044 * BufferView_pimpl.h:
5045 * BufferView_pimpl.C: use workarea() not workarea_,
5046 and make it use a scoped_ptr instead
5048 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5050 * lyx_gui.C: add debug message on BadWindow
5052 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5054 * sp_spell.C: fdopen is not part of the C++ standard.
5056 * paragraph.C (InsetIterator): use >= instead of ==
5058 2002-06-07 Angus Leeming <leeming@lyx.org>
5060 Fixes needed to compile with Compaq cxx 6.5.
5061 * BufferView_pimpl.C:
5068 * lyxtextclasslist.C:
5073 all c-library variables have been moved into namespace std. Wrap
5074 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5079 Add a using std::abs declaration.
5081 * kbmap.h (modifier_pair):
5082 * paragraph.h (InsetTable, InsetList):
5083 * lyxfont.h (FontBits):
5084 type definition made public.
5086 * bufferlist.C (emergencyWriteAll): the compiler complains that
5087 there is more than one possible lyx::class_fun template to choose from.
5088 I re-named the void specialisation as lyx::void_class_fun.
5090 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5092 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5093 the compiler is is unable to find tostr in write_attribute.
5095 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5097 * buffer.C (sgmlError): hide #warning
5099 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5101 * xtl/*: get rid of xtl, which is not in use anyway
5103 * LyXAction.C (init):
5104 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5105 were unimplemented xtl experimentation
5107 2002-06-04 André Pönitz <poenitz@gmx.net>
5109 * lyxfunc.C: disable array operation on simple formulae
5111 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5113 * converter.C: constify a bit
5115 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5117 * lyx_gui.C: check xforms version correctly
5119 2002-04-30 Herbert Voss <voss@lyx.org>
5121 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5124 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5126 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5127 attempt to register it with a VCS)
5129 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5131 * lyx_main.C (init): honor variables LYX_DIR_13x and
5134 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5138 * lyx_main.C: fix a crash on bad command line,
5139 and give a useful exit status on error
5141 * lyxfunc.C (doImport): allow -i lyx to work
5143 2002-03-30 André Pönitz <poenitz@gmx.net>
5145 * lyxfunc.C: mathed font changes
5147 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5162 * trans_mgr.h: srcdocs, and some minor cleanups
5164 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5166 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5167 call getFont all the time)
5169 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5171 * switch from SigC signals to boost::signals
5173 2002-05-29 André Pönitz <poenitz@gmx.net>
5175 * paragraph_pimpl.C (getChar): don't call size() too often...
5177 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5179 * paragraph_pimpl.C (insertChar): do not try to update tables when
5180 appending (pos == size())
5182 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5183 in order to reduce drastically the number of comparisons needed to
5184 parse a large document
5186 2002-05-29 André Pönitz <poenitz@gmx.net>
5192 * textclasslist.[Ch]:
5193 * sp_ispell.h: whitespace change
5195 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5197 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5198 lyxaction directly now.
5200 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5204 * lyxvc.C: remove unused headers
5206 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5213 * undo_funcs.C: some cleanups. Use shared_ptr
5214 and a template for the undo stacks.
5216 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5218 * BufferView_pimpl.h:
5219 * BufferView_pimpl.C:
5226 * text2.C: use key_state/mouse_state
5228 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5230 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5233 * chset.C: change include order
5234 (loadFile): use boost regex and get rid of LRegex and LSubstring
5236 * Makefile.am (BOOST_LIBS): new variable
5239 * LaTeX.C: change include order.
5240 (scanAuxFile): use boost regex and get rid of LRegex and
5244 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5249 * FontInfo.C: moved to frontends/xforms/
5252 * FontLoader.C: moved into frontends for GUIIzation
5257 * lyxfunc.C: changes from above
5259 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5261 * LColor.C: remove spurious X include
5263 * BufferView_pimpl.C:
5268 * text2.C: move font metrics to frontends/
5270 2002-05-24 Juergen Vigna <jug@sad.it>
5272 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5273 setting the undo_cursor.
5275 * ParagraphParameters.h: include local includes first.
5277 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5279 * BufferView_pimpl.C:
5280 * BufferView_pimpl.h:
5284 * screen.C: move WorkArea into frontends/
5290 * BufferView2.C: move LyXScreen into frontends/
5294 * lyx_gui.C: move lyxlookup into frontends/xforms/
5296 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5299 * BufferView_pimpl.C:
5309 * bufferview_funcs.C:
5322 * vc-backend.C: move LyX/XFormsView into frontends/
5324 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5336 * text2.C: move Painter to frontends/
5338 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5340 * buffer.C: comment out some some code that depend upon lyx_format
5343 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5344 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5346 * buffer.h (NO_COMPABILITY): turn off compability
5348 * ColorHandler.C: include scoped_array.hpp
5350 * font.C: Use more specific smart_ptr header.
5353 * ShareContainer.h: ditto
5357 * BufferView_pimpl.h: ditto
5358 * ColorHandler.h: ditto
5360 * kbmap.C (defkey): change call to shared_ptr::reset
5362 2002-05-21 Juergen Vigna <jug@sad.it>
5364 * buffer.C (insertErtContents): fix to insert ert asis if it is
5365 non empty. Skip it completely if it contains only whitespaces.
5367 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5369 * BufferView_pimpl.C:
5370 * BufferView2.C: clear selection on paste (bug 393)
5372 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5374 * DepTable.C: include ctime
5376 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5378 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5380 2002-05-14 Juergen Vigna <jug@sad.it>
5382 * text.C (breakParagraph): fixed function to honor the keepempty
5383 layout in the right maner and also to permit the right breaking
5384 algorithm on empty or non empyt keepempty paragraphs.
5386 * paragraph.C (breakParagraph): we have to check also if the par
5387 is really empty (!size()) for isempty otherwise we do the wrong
5390 2002-05-10 Juergen Vigna <jug@sad.it>
5392 * buffer.[Ch] : The following are only changes to the ert
5393 compatibility read reading old LaTeX layout and font stuff and
5394 convert it to ERTInsets.
5396 * buffer.h: added isErtInset().
5398 * buffer.C (struct ErtComp): add a fromlayout bool to check
5399 if we're inside a LaTeX layout.
5400 (isErtInset): new helper function.
5401 (insertErtContents): look for other ert insets before this one
5402 and insert the contents there, so that we don't have subsequent
5403 ERT insets with nothing between them. This way we create only one
5404 inset with multiple paragraphs. Also check if we don't insert only
5405 spaces ' ' as they are ignored anyway afterwards in the .tex file
5406 so if we have only spaces we will ignore this latex part in the
5408 (parseSingleLyXformat2Token \\layout): better compatibility when
5409 reading layout-latex stuff.
5410 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5412 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5413 stuff after reading the inset only get the information back from
5416 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5418 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5420 * LaTeXFeatures.C (getBabelOptions): New method.
5422 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5424 * BufferView_pimpl.C (Dispatch): work around missing argument for
5427 2002-05-08 Juergen Vigna <jug@sad.it>
5429 * text.C (leftMargin): handle paragraph leftindent.
5431 * paragraph.C (writeFile): write the new \\leftindent tag.
5432 (validate): handle leftindent code.
5433 (TeXEnvironment): handle paragraphleftindent code again.
5435 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5437 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5438 for paragrap_extra indent code and new token \\leftindent.
5439 (latexParagraphs): handle the leftindent as environment.
5441 * ParameterStruct.h: added leftindent support.
5443 * ParagraphParameters.C (leftIndent): added support functions for
5444 the paragraph left indent.
5446 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5449 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5451 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5454 * text.C (computeBidiTables): No bidi in insetERT.
5456 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5459 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5461 * version.C.in: pre 5
5463 2002-05-02 José Matos <jamatos@fep.up.pt>
5464 * buffer.C (makeDocBookFile): white space changes, add newline to
5466 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5468 * tabular.C (docBook): fix typo.
5470 2002-05-03 Juergen Vigna <jug@sad.it>
5472 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5473 change in LyXText as we can not be sure it was not freed.
5474 (drawOneRow): remove unused code.
5476 * text.C (drawInset): redo the calculation of the need_break_row as
5477 it could have a row which was already freed.
5478 (draw): look at the return value of drawInset and return false if
5479 it also returned false.
5480 (paintRowText): look at the return value of draw and return false if
5481 it also returned false.
5483 * lyxtext.h: added bool return type to drawInset() and draw() so that
5484 if we have a change in the row so that the rowbreak has to be redone
5485 we abort drawing as it will be called again.
5487 2002-05-02 Juergen Vigna <jug@sad.it>
5489 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5490 a change in the maintext also if we're inside an inset.
5491 (Dispatch): set the cursor again after a break line and after the
5492 screen has been updated as it could be we're in a different row.
5494 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5495 to set the cursor behind the pargraph with > size().
5496 (setCursor): check also for the same paragraph when checking where
5497 to put the cursor if we have a NFR inset.
5499 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5500 parts of layout read further up as it still was in the wrong
5503 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5505 * screen.C (drawFromTo): change sine fullRebreak always return
5508 * buffer.C (parseSingleLyXformat2Token): reindent some
5510 * BufferView_pimpl.C (update): change since fullRebreak always
5512 (Dispatch): git rid of the last hardcoded "Standard"s.
5514 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5516 * text2.[Ch] (fullRebreak): make it return void now that we always
5519 2002-04-30 Juergen Vigna <jug@sad.it>
5521 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5522 ert compatibility check for "latex" layout.
5524 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5526 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5527 minipages: use col% instead of p%, and also use the current font.
5528 (makeLaTeXFile): Fix use babel condition.
5529 (parseSingleLyXformat2Token): Correct font when reading old floats.
5531 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5533 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5534 inserting list of floats.
5536 2002-04-25 Herbert Voss <voss@lyx.org>
5538 * MenuBackend.C (expand): don't add the graphics extensions to the
5541 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5543 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5544 non-existing layout, do not complain if it was the default layout
5545 of the original class (bug #342)
5547 2002-04-24 Juergen Vigna <jug@sad.it>
5549 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5550 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5552 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5554 * buffer.C (getBibkeyList): If using \bibliography, return the
5555 option field with the reference itself. Enables us to provide natbib
5556 support when using \bibliography.
5558 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5560 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5562 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5563 natbib is provided by the LaTeX class.
5565 2002-04-23 Juergen Vigna <jug@sad.it>
5567 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5570 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5572 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5574 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5576 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5577 ensuremath around textordmasculine, textordfeminine and
5580 2002-04-19 Juergen Vigna <jug@sad.it>
5582 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5583 reinitializing the buffer otherwise row-dimensions may be wrong.
5584 (update): reset also the selection cursors if they do exits otherwise
5585 their x/y positions may be wrong.
5587 * text2.C (cursorDown): don't enter the inset if we came from a row
5588 above and are one row over the inset.
5590 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5591 really leaving an inset.
5593 2002-04-18 Juergen Vigna <jug@sad.it>
5595 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5596 of the selected paragraph does not have the selected layout also if
5599 * text2.C (setLayout): fixed bug which did not change last selected
5602 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5603 changed the read and substituted \\end_float with \\end_inset!
5605 * BufferView_pimpl.C (cursorPrevious):
5606 (cursorNext): fixed to make it work with rows heigher than the work
5607 area without moving the cursor only the draw of the row.
5608 (workAreaMotionNotify): fix jumping over high rows.
5610 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5612 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5615 2002-04-16 Juergen Vigna <jug@sad.it>
5617 * text2.C (setCursor): set also the irow().
5618 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5620 (cursorDown): support for locking an inset if the x_fix value goes
5621 inside it. That way I can transverse insets too with cursor up/down.
5623 * lyxrow.h: added irow helper function same as other (i) functions.
5625 * BufferView_pimpl.C (cursorPrevious):
5626 (cursorNext): fixed for insets!
5628 2002-04-15 Juergen Vigna <jug@sad.it>
5630 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5631 position otherwise it is wrong in some cases.
5633 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5634 inside the inset before the call.
5636 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5638 * buffer.[Ch] (getBibkeyList): make it const.
5640 2002-04-12 Juergen Vigna <jug@sad.it>
5642 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5644 * text2.C (getCursorX): new helper function
5645 (setCursor): compute also ix_
5646 (setCursorFromCoordinates): set also ix.
5648 * lyxcursor.h: added ix_ and helper functions.
5650 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5652 * buffer.C (insertStringAsLines): dont break paragraph if the this
5653 paragraph is inside an inset which does not permit it!
5655 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5656 also with no chars on this paragraph.
5657 (paintRowText): only paint stuff if it's inside the workarea!
5659 * paragraph.C (breakParagraph): honor keepempty flag and break the
5660 paragraph always below not above.
5662 * BufferView2.C (unlockInset): update the paragraph layout on inset
5663 unlock as we changed paragraph in such a case.
5665 * lyxfind.C (LyXFind): clear the former selection if not found!
5667 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5668 again called in insertChar().
5670 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5671 an inset which uses the whole row!
5672 (rightMargin): ditto.
5673 (insertChar): force a rebreak if we inserted an inset!
5675 2002-03-28 Herbert Voss <voss@lyx.org>
5677 * lyxlength.[Ch]: add inBP() to get the right PS-point
5678 units (BigPoint). With inPixels we have rounding errors
5680 2002-04-11 Juergen Vigna <jug@sad.it>
5682 * text2.C (setCursorFromCoordinates): set iy to the right value.
5683 (setCursor): add check if row->previous exists!
5685 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5686 an old float_type as this was the case in the old code!
5688 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5690 * BufferView2.C (showLockedInsetCursor): use iy
5691 (fitLockedInsetCursor): ditto
5693 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5694 locked insets as there we have the right value now.
5696 * lyxcursor.C: added iy_ variable and iy functions to set to the
5697 baseline of cursor-y of the locked inset.
5699 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5700 (setCursor): fixed for insets which need a full row.
5702 * text.C (rowLastPrintable): don't ignore the last space when before
5703 an inset which needs a full row.
5704 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5705 as last character of a row when before a inset which needs a full row.
5707 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5709 * version.C.in: update date
5711 * text2.C (fullRebreak): try to always return true and see what
5714 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5716 * MenuBackend.C (expand): use Floating::listName
5718 * FloatList.C (FloatList): add listName argument to the built-in
5721 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5722 text associated with the float.
5724 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5726 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5728 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5730 * ShareContainer.h: add a couple of missing typenames.
5732 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5734 * lyxrc.C (getDescription): use _() correctly rather than N_().
5736 2002-03-28 Herbert Voss <voss@lyx.org>
5738 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5739 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5741 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5743 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5744 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5746 2002-03-29 Juergen Vigna <jug@sad.it>
5748 * lyxfunc.C (dispatch): add a missing fitCursor call.
5750 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5751 it was scrolled by a cursor move, so return the bool status.
5753 * BufferView.C (fitCursor): return the bool flag also to the outside
5754 world as this is needed.
5756 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5758 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5759 call the edit() as it is not needed (and wrong) IMO.
5760 (workAreaButtonPress): set the screen_first variable before evt.
5761 unlock the inset as this may change screen_first and then we have
5762 a wrong y position for the click!
5764 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5766 * MenuBackend.C (expand): another translation that I missed
5768 2002-03-28 Juergen Vigna <jug@sad.it>
5770 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5772 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5774 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5776 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5778 * MenuBackend.C (expand): fix export/view/update when there is no
5781 2002-03-27 Herbert Voss <voss@lyx.org>
5783 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5786 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5788 * bufferview_funcs.C (currentState): only show paragraph number
5789 for is DEVEL_VERSION is set.
5791 * lyxfunc.C (dispatch): put warning in INFO channel
5793 * MenuBackend.C (expand): translate the name of floats
5795 * FloatList.C (FloatList): mark the float names for translation
5797 * converter.C (convert): use LibScriptSearch
5799 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5801 * MenuBackend.C (defaults): fix default menu (we might as well get
5804 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5806 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5809 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5811 * lyxvc.C: reorder includes.
5813 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5815 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5818 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5820 * CutAndPaste.C: change layouts earlier on paste
5821 to avoid crashing when calling getFont()
5823 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5825 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5828 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5830 * WorkArea.C: remove 'Pending' debug message.
5832 * most files: ws cleanup
5834 * buffer.[Ch]: ws changes
5836 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5838 2002-03-21 Juergen Vigna <jug@sad.it>
5840 * tabular.C (SetMultiColumn): collapse also the contents of the
5841 cells and set the last border right. Added a Buffer const * param.
5843 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5845 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5848 2002-03-19 Juergen Vigna <jug@sad.it>
5850 * text2.C (clearSelection): reset also xsel_cache.
5852 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5853 where it needs to be called (John tells us to do so too :)
5854 (selectionLost): reset sel_cache.
5856 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5858 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5860 * text2.C (setCursorIntern): put debuging code in INSETS channel
5862 2002-03-19 André Pönitz <poenitz@gmx.net>
5864 * lyxfunc.C: tiny whitespace change
5866 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5868 * ToolbarDefaults.C (init):
5869 * LyXAction.C (init):
5871 * BufferView_pimpl.C (Dispatch):
5872 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5874 2002-03-19 Allan Rae <rae@lyx.org>
5876 * exporter.C (Export): removeAutoInsets before doing anything else.
5877 While I've just introduced a dependency on BufferView this really is
5878 the best place to clean the buffer otherwise you need to cleanup in
5879 a dozen places before calling export or cleanup in a dozen functions
5882 * converter.C (runLaTeX):
5883 (scanLog): Better handling of removeAutoInsets and screen updates.
5885 * lyxfunc.C (dispatch): small whitespace changes
5887 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5889 * WorkArea.C (C_WorkAreaEvent): return a value.
5890 (event_cb): return 1 if we handled the event, 0 otherwise.
5892 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5894 2002-03-18 Juergen Vigna <jug@sad.it>
5896 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5897 (GetAdditionalWidth): ditto.
5901 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5902 inset if we're there actually (probably not used right now but this
5903 is the direction to go for unifying code).
5904 (paste): disable code to clear the selection.
5906 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5907 inside an InsetText and move the check further up as it is in the
5910 * text2.C (pasteSelection): set a selection over the pasted text.
5912 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5914 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5915 and libgraphics to build on Cygwin.
5917 2002-03-15 Juergen Vigna <jug@sad.it>
5919 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5920 inserting an Inset into the paragraph. I know this is not the best
5921 fix but we already use current_view in CutAndPaste so we will remove
5922 all of it's using at the same time.
5924 * buffer.C (sgmlError): deactivated function till it is rewritten in
5925 the right mode, now it can create problems.
5927 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5928 before accessing it.
5930 2002-03-14 Juergen Vigna <jug@sad.it>
5932 * undo_funcs.C (textHandleUndo): do the right thing when updating
5933 the inset after the undo/redo.
5935 * text2.C (setCursor): just some testcode for #44 not ready yet.
5937 * undo_funcs.C (textHandleUndo): set the next() and previous()
5938 pointers of the paragraph to 0 before deleting otherwise we have
5939 problems with the Paragraph::[destructor].
5941 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5942 on a paragraph insertion.
5944 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5946 * buffer.C (asciiParagraph): use += operator for char append to
5949 * paragraph.C (getFontSettings): compare >= not just >
5950 (highestFontInRange): ditto
5953 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5955 * paragraph.C: change several algorithm to be more appripriate for
5956 the problem domain. This is lookip in FontList and in the InsetList.
5958 2002-03-13 André Pönitz <poenitz@gmx.net>
5961 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5963 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5968 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5970 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5972 * Painter.C (display): anon helper function, adjust code for this
5974 (pixmap): remove function.
5976 * Painter.h: remove private display variable.
5978 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5980 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5982 * WorkArea.[Ch]: remove figinset_canvas cruft.
5984 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5986 * lyxtextclass.C (operator): add one item cache optimization.
5988 * bufferlist.h: doxy changes
5990 * bufferlist.C: ws changes
5992 * DepTable.[Ch] (ext_exist): place const in the right spot.
5994 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5996 (workAreaExpose): call resizeInsets when the with BufferView changes.
5997 (Dispatch): adjust for protectedBlank removal
5998 (specialChar): call updateInset if the insert went ok.
6000 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6001 specialChar instead.
6003 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6005 * BufferView.h: doxy change
6007 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6009 * lyxtextclass.C (operator[]): remove non-const version
6010 (defaultLayout): remove non-const version
6012 2002-03-12 Juergen Vigna <jug@sad.it>
6014 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6015 did resize the LyXText too.
6017 * buffer.C (readLyXformat2): set layout information on newly allocated
6020 * tabular.C (OldFormatRead): set layout information on the paragraph.
6022 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6024 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6026 2002-03-11 Juergen Vigna <jug@sad.it>
6028 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6030 (resizeCurrentBuffer): force also the insets to resize themselfes.
6031 (moveCursorUpdate): fixed up for InsetText.
6033 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6036 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6037 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6038 value of Dialogs::tooltipsEnabled().
6039 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6041 2002-03-08 Juergen Vigna <jug@sad.it>
6043 * BufferView_pimpl.C (updateInset): update inset inside inset also
6044 if it isn't inside theLockingInset().
6046 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6048 * buffer.C (asciiParagraph): redo some of the word and line length
6050 (getLists): look for Caption instead of caption.
6052 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6054 * buffer.C (Buffer): initialize niceFile to true
6057 (makeDocBookFile): make sure niceFile is true on exit
6059 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6061 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6063 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6065 * LyXSendto.C: remove.
6066 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6067 * lyx_gui.C: remove now-redundant comment.
6068 * ColorHandler.h: remove forward declaration of class WorkArea.
6069 * lyxfunc.C: remove #include "WorkArea.h".
6071 2002-03-07 Juergen Vigna <jug@sad.it>
6073 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6074 got moved away with the DEPM and also set the inset_owner always
6075 right which before could have been omitted.
6077 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6079 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6080 wanted layout is not found.
6082 2002-03-07 Juergen Vigna <jug@sad.it>
6084 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6086 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6088 * paragraph.C (breakParagraph): use default layout not layout of
6090 (Paragraph): clear ParagraphParameters.
6092 2002-03-06 Juergen Vigna <jug@sad.it>
6094 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6095 otherwise it would not be a valid lenght. Fixed a special case in
6096 the minipage compatibility read where we end the document with a
6099 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6100 was set as it could be 0 for InsetTexts first entry.
6102 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6104 * paragraph.C (writeFile): if layout is empty write out
6105 defaultLayoutName().
6107 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6108 file without named layout we set layout to defaultLayoutName().
6110 2002-03-06 Juergen Vigna <jug@sad.it>
6112 * CutAndPaste.C (copySelection): set layout for new paragraph.
6114 * text.C (prepareToPrint): leave ERT inset left aligned
6115 (leftMargin): don't indent paragraphs inside ERT insets
6117 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6119 * paragraph.C (breakParagraph): dont call clear do the work manually
6121 * paragraph.[Ch] (clear): remove function
6123 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6125 * paragraph.C (Paragraph): dont call clear, the work has already
6128 * lyxtextclass.C (operator): assert if n is empty
6130 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6131 work manually instead.
6133 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6135 * BufferView_pimpl.C: protect selectionLost against text == 0
6137 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6139 * text.C (breakParagraph): fix a setting layout to '0' problem.
6141 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6143 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6144 final location of file, for the included files, and graphics.
6146 2002-03-05 Juergen Vigna <jug@sad.it>
6148 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6150 2002-03-04 Juergen Vigna <jug@sad.it>
6152 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6154 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6155 last column of multicolumn cells.
6156 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6158 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6160 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6161 file if it doesn't go to a temporary file.
6163 * buffer.C (sgmlOpenTag):
6164 (sgmlCloseTag): remove extra newline insertion.
6166 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6168 * text.C (getRowNearY): comment out debug msg
6170 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6172 * text2.C: first -> first_y
6174 * text.C (getRowNearY): add some attemts at a possible
6175 optimization, not working.
6177 * tabular.[Ch]: add BufferParams to several function so that newly
6178 created paragraph can be initialized to he default layotu for the
6181 * tabular-old.C (ReadOld): add buf->params to call of Init
6183 * screen.C: rename text->first to text->first_y
6185 * paragraph.C (breakParagraph): always set layout in the broken
6188 * lyxtextclass.C (Read): remove lowercase
6191 (delete_layout): ditto
6193 * lyxtext.h: rename first -> first_y
6195 * lyxlayout.C (Read): remove lowercase
6198 (obsoleted_by): ditto
6200 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6202 * buffer.C (insertErtContents): add params are to InsetERT
6203 (parseSingleLyXformat2Token): add code to check if a paragraphs
6204 layout really exist.
6205 (parseSingleLyXformat2Token): add params to several inset
6207 (asciiParagraph): remove lowercase, do the layout comparisons with
6210 * BufferView_pimpl.C (cursorNext): first -> first_y
6211 (resizeCurrentBuffer): first -> first_y
6212 (updateScrollbar): first -> first_y
6213 (scrollCB): first -> first_y
6214 (workAreaMotionNotify): first -> first_y
6215 (workAreaButtonPress): first -> first_y
6216 (checkInsetHit): first -> first_y
6217 (cursorPrevious): first -> first_y
6218 (cursorNext): first -> first_y
6219 (Dispatch): add buffer_->params to severl inset contructors
6221 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6223 * lyxlayout.C (Read): remove some debug info that I forgot.
6225 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6226 clean up the code slightly.
6227 (makeLinuxDocFile): ditto
6228 (makeDocBookFile): ditto
6230 * text2.C: layout as string
6232 * text.C: layout as string
6234 * paragraph_pimpl.C: layout as string
6236 * paragraph.[Ch]: layout as string
6238 * lyxtextclasslist.[Ch]: layout as string
6240 * lyxtextclass.[Ch]: layout as string
6242 * lyxtext.h: layout as string
6244 * lyxlayout.[Ch]: layout as string
6246 * lyx_cb.C: layout as string
6248 * bufferview_funcs.C: layout as string
6250 * bufferparams.C: layout as string
6252 * buffer.C: layout as string
6254 * LyXView.[Ch]: layout as string
6256 * LaTeXFeatures.[Ch]: layout as string
6258 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6260 * BufferView_pimpl.C: change current_layout to string, remove
6265 (workAreaButtonRelease): layout as string
6267 * BufferView2.C (unlockInset): adjust
6269 * vspace.C (asLatexCommand): use an explict temp variable.
6271 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6273 * Makefile.am: use FRONTEND_*
6275 2002-03-01 Juergen Vigna <jug@sad.it>
6277 * tabular.C (SetWidthOfMulticolCell): changed to something better
6278 I hope but still work in progress.
6279 (recalculateMulticolumnsOfColumn): renamed function from
6280 recalculateMulticolCells as it is more appropriate now.
6281 (SetWidthOfCell): calculate multicols better.
6283 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6285 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6287 * lyxfunc.C (processKeySym): print sequence also if it is
6288 `deleted' (complete)
6290 * kbsequence.C (print): print sequence even if it is deleted
6291 (complete would be a better word, actually).
6293 * lyxfunc.C (dispatch): print complete options after a prefix key
6295 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6297 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6299 * text2.C (setCharFont): eliminate setCharFont code duplication.
6301 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6303 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6304 LFUN_TABULAR_FEATURE (bug #177)
6306 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6308 * Makefile.am: remove figure.h
6310 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6312 * Bufferview_pimpl.C:
6324 * text2.C: remove #include "lyx_gui_misc.h".
6326 * LaTeX.C: added #include <cstdio>
6328 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6330 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6331 that the paragraph following this one can have.
6333 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6335 * vspace.C (asLatexCommand): fix bogus gcc warning
6337 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6339 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6341 * text2.C (setLayout): get rid of redundant code
6343 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6345 * text2.C (incDepth): make sure depth cannot be increased beyond
6348 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6350 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6351 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6353 * PainterBase.h (image):
6354 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6357 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6361 * BufferView_pimpl.C:
6362 * BufferView_pimpl.h:
6382 * sp_spell.C: remove fig inset, and the crap house of
6383 cards that follows it
6385 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6391 * nt_defines.h: move .h into support/
6393 * vms_defines.h: remove
6395 * WorkArea.C: add space in debug output
6399 * buffer.C: add WITH_WARNINGS
6403 * bufferlist.C: s/retrive/retrieve/, add docs
6414 * lyxgui.C: add ID to X error handler
6416 * lyxtestclass.c: fix typo
6418 2002-02-26 Juergen Vigna <jug@sad.it>
6420 * tabular_funcs.C (write_attribute): changed so that some default
6421 attributes are not written at all.
6422 (getTokenValue): set default values before trying to read the
6423 value so we have the return value always set as default if we don't
6424 find the token we search for.
6426 * tabular.C (Write): write bools as bools not as strings!
6428 2002-02-22 Juergen Vigna <jug@sad.it>
6430 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6431 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6433 * text.C (leftMargin): don't add an indent for paragraphs inside
6434 tabular cells (fix #208).
6436 2002-02-21 José Matos <jamatos@fep.up.pt>
6438 * tabular.C (docBook): fixed support for long tables.
6440 2002-02-20 Juergen Vigna <jug@sad.it>
6442 * text2.C (getFont): get the drawing font of the Inset if this
6443 paragraph is inside an inset (only important for InsetERT for now).
6445 * buffer.C (insertErtContents): use new lanugage params in ERT
6448 * CutAndPaste.C: commenting out seemingly uneeded code.
6450 2002-02-19 Allan Rae <rae@lyx.org>
6452 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6453 Iterators might be simple to use but they also get invalidated.
6454 (removeAutoInsets): renamed saved cursor tracking variables and added
6455 some comments to clarify what everything does.
6457 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6464 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6465 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6468 * vc-backend.h: remove #include "support/syscall.h"
6472 * converter.C: rearrange #includes in Lars' approved fashion.
6474 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6475 forward declare class Timeout in the header file.
6477 * XFormsView.C: changes due to the above.
6479 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6482 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6483 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6485 2002-02-18 José Matos <jamatos@fep.up.pt>
6487 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6490 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6492 * a lot of small ws changes
6493 * add a lot of using std::XXX
6494 * use std construcs some places where approp.
6495 * use some exisint stuff from lyxfunctional where approp.
6496 * Make file changes to use partial linking (lets test this now...)
6498 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6502 remove #include "support/syscontr.h" as it's redundant. Always has been.
6510 change Systemcalls::System to Systemcalls::Wait and
6511 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6512 No change of functionality, just reflects the stripped down Systemcalls
6515 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6517 * debug.[Ch]: add a GRAPHICS type to the enum.
6519 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6521 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6523 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6526 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6528 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6529 match the changes below.
6531 * text2.C (toggleInset): if there is not editable inset at cursor
6532 position, try to see if cursor is _inside_ a collapsable inset
6535 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6537 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6538 document menu has a nice checkbox
6540 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6542 * lyxlength.C (asLatexString): change PW to output as percent of
6545 * lengthcommon.C: change '%' to 't%'
6547 * lyxfunc.C (dispatch): a few comments from Martin
6549 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6553 * BufferView_pimpl.h:
6554 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6557 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6559 * vspace.C (inPixels): fix compiler warning
6561 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6563 * lyxfunc.C (getStatus): fix status message for disabled commands.
6565 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6567 * BufferView_pimpl.C: fix crash on close buffer
6568 during selection (#227)
6570 2002-01-27 Herbert Voss <voss@lyx.org>
6572 * buffer.C: link old Figure to new graphic inset
6574 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6576 * FontLoader.C (getFontinfo): Change the latex font names in order
6577 to match the names of type1inst.
6579 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6581 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6583 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6586 (remove_files_with_extension): ditto
6587 (remove_file): ditto
6590 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6591 document is smaller than the work area height. Do not initialize
6592 static variables to 0.
6594 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6596 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6598 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6599 LFUN_LAYOUT_PARAGRAPHS.
6601 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6602 tabular. It is possible to provide a possible cell, which will
6603 typically be the actcell from the corresponding insettabular
6605 * lyxfunc.C (getStatus): small cleanup; disable
6606 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6609 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6611 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6613 * paragraph.C (startTeXParParams):
6614 (endTeXParParams): new methods. The LaTeX code to
6615 start/end paragraph formatting
6616 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6617 empty (fixes bug #200)
6619 * vspace.C (inPixels): adapt to the change below
6620 (inPixels): [later] more cleanups (remove unused variables)
6622 * lyxlength.C (inPixels): change to use a width and a height as
6625 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6627 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6628 Replaced with \paperwidth
6630 * DepTable.C (insert): add std:: qualifier
6632 2002-01-18 Allan Rae <rae@lyx.org>
6634 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6637 * text.C (drawInset): Turned out I didn't know enough about how
6638 rebreaking worked. This fixes most of the redraw problems. I see
6639 an occasional cursor trail when a line is broken now and the cursor
6640 placement can seem out by a few pixels also after a rebreak.
6642 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6644 * buffer.C (parseSingleLyXformat2Token): update because minipage
6645 width is now a LyXLength
6647 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6649 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6652 2002-01-17 Juergen Vigna <jug@sad.it>
6654 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6656 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6657 is set correctly and the inset is updated correctly.
6659 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6661 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6662 the beginning of the loop.
6664 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6666 * lyxrc.C: improve help for use_scalable_fonts
6668 2002-01-17 Allan Rae <rae@lyx.org>
6670 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6672 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6674 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6675 make sure to set their inset_owner to the right value (bug #171)
6677 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6680 * DepTable.C: Implement mtime checking to reduce time spent doing
6683 2002-01-16 Juergen Vigna <jug@sad.it>
6685 * tabular.C (GetAdditionalHeight): one of error fixed.
6687 * lyxrc.C (output): small fix in writing use_pspell.
6689 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6691 * sp_base.h: #include LString.h
6693 2002-01-16 Allan Rae <rae@lyx.org>
6695 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6696 Can someone check this please?
6698 * text.C (drawInset): It was possible that p.row would be removed by
6699 breakAgainOneRow upsetting a few other settings. There may be another
6700 small tweak possible by setting need_break_row = 0 when p.row has been
6701 removed but I don't know enough about the logic here.
6703 2002-01-15 Allan Rae <rae@lyx.org>
6705 * text.C (insertChar): removed conditional truism.
6707 * BufferView2.C (removeAutoInsets): More tweaks.
6708 cur_par_prev could be a stray pointer. Check for trailing empty line
6709 in case last line was cur_par and only had an error inset on it.
6711 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6713 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6716 * vc-backend.C (most methods):
6717 * exporter.C (Export):
6718 * converter.C (convert):
6720 * LyXSendto.C (SendtoApplyCB):
6721 * lyxfunc.C (dispatch):
6725 * lyx_cb.C (AutoSave):
6727 * BufferView_pimpl.C (MenuInsertLyXFile):
6728 * buffer.C (runChktex): use Buffer::filePath().
6730 * buffer.h: rename filename to filename_; rename filepath to
6731 filepath_ and make it private
6732 (filePath): new method
6734 * buffer.C (writeFile): use fileName()
6737 * lyx_main.C (init): fix starting of LyX when the binary is a
6738 link from so,ewhere else.
6740 * minibuffer.C: include <cctype> for isprint
6742 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6744 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6745 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6746 name clash with InsetCollapsable's width function.
6748 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6750 * lastfiles.C: include <iterator>
6752 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6754 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6757 * buffer.C (makeLaTeXFile): ditto.
6758 Also make loop operation more transparent.
6760 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6762 * ToolbarDefaults.C: remove trailing comma closing namespace.
6764 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6766 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6769 * trans.C (Load): comment out unused variable, allowed.
6771 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6773 * minibuffer.[Ch] (append_char): new method to recieve input from the
6774 drop-down completion browser. If a key was pressed, then recieve this
6775 char and append it to the existing string.
6776 (peek_event): modify the positioning data passed to the completion
6777 browser so that it can be placed above the minibuffer rather than below.
6778 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6780 * LyXAction.C (init): alloe error-next for readonly documents.
6782 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6785 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6787 * bufferlist.C (readFile): create the buffer _after_ checking that
6790 * lyxfunc.C (verboseDispatch): fix handling of arguments
6792 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6794 * lyxrc.C: use string::erase() instead of initializing to "".
6797 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6799 * BufferView_pimpl.h:
6800 * BufferView_pimpl.C:
6803 * text2.C: tell X when we have made a selection for copying
6805 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6807 * BufferView_pimpl.C (MenuInsertLyXFile):
6808 * lyxfunc.C (menuNew):
6810 (doImport): add shortcuts to directory buttons
6812 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6815 * lyxfunc.C (setStatusMessage):
6816 (getStatusMessage): new methods
6817 (getStatus):use setStatusMessage instead of setErrorMessage
6818 (dispatch): when function is disabled, set error message here
6819 [instead of in getStatus previously]
6821 * BufferView_pimpl.C (workAreaButtonRelease): update
6822 toolbar/menubar here too.
6824 2002-01-13 Allan Rae <rae@lyx.org>
6826 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6827 Now seems indestructible. Remaining task is to audit all other
6828 code affected by deleteEmptyParagraphMechanism. One small quirk
6829 left is that an empty document with an error in the preamble can
6830 be made to report an error but no error box appears. I don't know
6832 (removeAutoInsets): Improved comments.
6834 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6837 * Thesaurus.C: update for Aiksaurus 0.14
6839 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6841 * text2.C (firstParagraph): removed member function, all uses
6842 replaces with ownerParagraph
6843 (redoParagraphs): here
6845 (toggleAppendix): here
6846 * BufferView2.C (insertErrors): here
6847 (setCursorFromRow): here
6849 2002-01-13 Allan Rae <rae@lyx.org>
6851 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6852 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6853 There is still a way to segfault this although you may have to do this
6854 multiple times: Have an InsetERT with an unknown command in it.
6855 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6856 <down-arrow>, <Enter> again, View->DVI, BANG!
6858 * text2.C (setCursor):
6859 (deleteEmptyParagraphMechanism):
6860 * lyxtext.h (setCursor):
6861 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6862 Making use of the return value may help fix other bugs.
6864 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6866 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6868 * LyXView.C (updateMenubar): call MenuBar::update here
6869 (updateToolbar): but not here
6870 (showState): do not update toolbar/menubar
6872 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6873 should need to care about that.
6875 * lyxfunc.C (verboseDispatch): simplify a bit
6876 (getStatus): have a version which takes a pseudoaction, and
6877 another which requires a (kb_action,string).
6879 * LyXAction.C (retrieveActionArg): make it work also when action
6880 is not a pseudo-action.
6881 (getActionName): simplify a bit
6884 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6886 * lyxfunc.C (verboseDispatch): new families of methods with
6887 several ways to specify a command and a bool to indicate whether
6888 the command name and shortcut should be displayed in minibuffer
6889 (eventually, we could extend that to a finer bitmask like
6890 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6891 (dispatch): the pristine dispatch command which just, well,
6892 dispatchs! Note it still sets its result to minibuffer; I'm not
6895 * lyxfunc.h: remove setHintMessage
6897 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6899 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6901 * BufferView_pimpl.C (specialChar): delete new inset if we have
6902 not been able to insert it.
6904 * kbmap.C: revert to using int instead of kb_action, since all we
6905 are dealing with is pseudo-actions.
6907 * LyXAction.C (searchActionArg): change to return int instead of
6908 kb_action, since the result is a pseudoaction.
6910 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6912 * buffer.C (insertErtContents): Fix (partially) the font bug.
6914 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6916 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6917 as the other one is broken on my machine!
6919 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6922 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6924 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6926 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6927 reflect their actual use. Provide compatibility code for older lyxrc
6930 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6932 change names of popup font variables in line with the changes to lyxrc.C
6934 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6936 * buffer.C (asciiParagraph): avoid outputing a word twice after
6939 * lyxrc.C (getDescription): document that document_path and
6940 template_path can be empty.
6942 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6944 * LaTeXFeatures.C (getMacros):
6945 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6947 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6949 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6951 (getPackages): rename feature "floats" to "float". Use an array to
6952 iterate over 'simple' features (i.e. just a \usepackage). Add
6953 handling of "amsmath" (renamed from "amsstyle").
6955 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6957 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6960 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6962 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6963 FuncStaus::FuncStatus & FuncStaus::some_method().
6965 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6967 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6968 of the func_satus stuff. Edited and massaged in various ways by
6971 * lyxfunc.C (getStatus): use FuncStatus
6973 2002-01-08 Juergen Vigna <jug@sad.it>
6975 * text.C (nextBreakPoint): use function Inset::isChar().
6977 * paragraph.C (TeXOnePar): use function
6978 Inset::forceDefaultParagraphs.
6980 * buffer.C (latexParagraphs): use function
6981 Inset::forceDefaultParagraphs.
6983 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6985 * lyx_gui.C (init): set the style of the menu popups to
6986 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6988 2002-01-07 Juergen Vigna <jug@sad.it>
6990 * text.C (setHeightOfRow): small fix
6991 (prepareToPrint): don't look at alignment if we don't have the place
6994 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6996 * box.C: New file. Move the Box methods and functions out of box.h,
6997 following Lars' suggestion.
6999 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7001 * box.h: #include "support/LOstream.h", needed for inlined function.
7004 * lyxtextclasslist.C: added some using std declarations.
7006 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7008 * box.h: make signed dimensions to allow insets wider than
7009 the screen (bug #162)
7011 * BufferView_pimpl.C: add some insetHit debug
7013 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7015 * vc-backend.C: add FIXME
7017 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7019 * lyxfunc.C (getStatus): enable code for showing math font status
7022 2002-01-07 Juergen Vigna <jug@sad.it>
7024 * text.C (nextBreakPoint): removed debug output not needed anymore.
7026 2002-01-06 Juergen Vigna <jug@sad.it>
7028 * text.C (nextBreakPoint): fixed up this function we had this bug
7029 since ever but now hopefully we break row better.
7030 (insertChar): we have to check if an inset is the next char as it
7031 could now happen that a large inset is causing a break.
7033 2002-01-05 Juergen Vigna <jug@sad.it>
7035 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7036 if it doesn't like to be drawed.
7038 2002-01-04 Juergen Vigna <jug@sad.it>
7040 * BufferView2.C (lockInset): forgot to set a cursor.
7042 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7044 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7049 * form_maths_panel.C:
7050 * form_maths_panel.h:
7051 * form_maths_panel.fd: implemented sub- and super- buttons in math
7054 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7055 (or ^ space) to be used as in TeX (req'd by André).
7057 * lyxfunc.C: Allow ^ and _ again to be used both as
7058 super/subscript (mathed) and as themselves (in text).
7060 2002-01-03 Allan Rae <rae@lyx.org>
7062 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7063 "LyX" or the filename of the current buffer if it has one. This is a
7064 modified form of John Levon's patch.
7066 * XFormsView.C (setWindowTitle): also set icon title.
7068 * LyXView.h (setWindowTitle): signature changed.
7069 * XFormsView.h (setWindowTitle): ditto.
7071 2002-01-02 Juergen Vigna <jug@sad.it>
7073 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7075 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7077 * screen.C (topCursorVisible): introduce a temp var for
7078 text->cursor.row(), handle the case where this row is null. (kindo
7081 * text2.C (setCursor): add a couple of asserts.
7083 * paragraph.h (inset_iterator): add -> operator
7085 * paragraph.[Ch] (autoDeleteInsets): remove member function
7087 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7088 cursor pos correctly and handle inset deletion by itself.
7089 (insertErrors): move iterator declaration out of for expression
7091 * lyxtextclass.C: add <algorithm>
7093 * Makefile.am: added the new files to sources, removed layout.C
7095 * layout.C: removed file
7097 * layout.h: remove LYX_DUMMY_LAYOUT
7099 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7103 * lyxtextclass.[Ch]:
7104 * lyxtextclasslist.[Ch]: new files
7106 * include order changes to a lot of files, also changes because of
7109 2001-12-27 Juergen Vigna <jug@sad.it>
7111 * buffer.C (asciiParagraph): more fixes.
7113 * tabular.C (ascii): make ascii export support export of only the
7114 data separated by a column-delimiter.
7115 (ascii): better support for ascii export.
7117 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7119 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7121 * tabular_funcs.C: use a "using std::getline" instead of the
7122 previous fix from Angus (necessary for cxx + lyxstring)
7124 2001-12-24 Juergen Vigna <jug@sad.it>
7126 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7128 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7129 problems. First check a minipage also if we have some ert-contents
7130 (not only on par->size(), second set the right depth of the paragraph
7131 on the relink to the root-paragraph-list!
7133 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7134 which then did not anymore update the main paragraphs on undo/redo!
7136 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7138 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7139 code. Support all font-changing funcs (even those which are not in
7140 menu currently). Support for reporting font settings in
7141 mathed (disabled until Andre provides a function on mathed's side).
7143 * func_status.h (toggle): small helper function to set toggle
7146 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7148 * tabular_funcs.C: getline -> std::getline
7150 2001-12-21 Juergen Vigna <jug@sad.it>
7152 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7153 accessed and could be 0 (I couldn't generate this but it seems
7156 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7158 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7159 * tabular_funcs.h: here and include iosfwd
7161 2001-12-20 Juergen Vigna <jug@sad.it>
7163 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7164 inside inset but undo_par was.
7166 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7168 * Thesaurus.C: always include <config.h> in sources.
7172 * box.h: do not include <config.h> in header files
7174 * text.C (paintLastRow): remove unused variable
7176 * text.C (transformChar):
7178 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7181 * font.C (width): rewrite to use uppercase() instead of
7184 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7186 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7188 * lyxfind.C: clean up of find failure position change
7190 2001-12-20 Juergen Vigna <jug@sad.it>
7192 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7194 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7195 (TeXRow): added to LaTeX a single tabular row.
7196 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7197 (Latex): simplified and finally good LT-h/f support.
7198 (various_functions): just small adaptions for LT-h/f support.
7200 * tabular_funcs.[hC]: added and moved here all not classfunctions
7203 2001-12-19 Juergen Vigna <jug@sad.it>
7205 * tabular.[Ch]: better support for longtabular options (not finished
7208 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7210 * text.C (paintLastRow): use the label font instead of the font of
7211 the last character to compute the size of *_BOX. This makes more
7212 sense and avoids a crash with empty paragraphs.
7213 Use Painter::rectangle to draw EMPTY_BOX.
7215 2001-12-19 Juergen Vigna <jug@sad.it>
7217 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7218 the paragraphs if the replaced paragraph is not the first one!
7219 Tried to delete not used paragraphs but does not work yet so for
7220 now it's inside #ifdef's and by default off!
7222 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7224 * MenuBackend.C: include "lyx_main.h" instead of declaring
7225 lastfiles (actually was declared as LastFiles* instead of a
7228 2001-12-17 Juergen Vigna <jug@sad.it>
7230 * tabular.C (AppendColumn): applied John's fix
7232 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7236 * BufferView_pimpl.h:
7237 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7240 * box.h: new start of class for above
7242 * lyxfunc.C: ignore space-only minibuffer dispatches.
7243 Show the command name when it doesn't exist
7245 * minibuffer.C: don't add empty lines to the history
7247 * minibuffer.C: add a space on dropdown completion
7249 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7251 * text.C: fix line above/below drawing in insets
7253 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7255 * lyxlength.C (LyXLength): Initialize private variables.
7257 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7259 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7260 when inserting error insets.
7262 2001-12-13 Juergen Vigna <jug@sad.it>
7264 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7265 actually sometimes the before-paragraph.
7266 (setUndo): don't clear the redostack if we're not actually undoing!
7268 2001-12-06 Juergen Vigna <jug@sad.it>
7270 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7271 and fixed redoing of main paragraph, so we can use it now ;)
7273 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7275 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7277 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7280 2001-12-13 André Pönitz <poenitz@gmx.net>
7283 * undo_func.C: minor cleanup
7285 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7287 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7288 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7289 font in urw-fonts package which is marked as -urw-fontspecific and
7290 does not work (incidentally, changing the encoding in the
7291 fonts.dir of this package to -adobe-fontspecific fixes the
7294 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7295 is a crash when undoing first paragraph (Juergen, please take a
7296 look). THis does not mean the undo fix is wrong, just that it
7299 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7300 the (Paragraph*) version when needed instead of duplicating the
7303 * text.C (workWidth): use Inset::parOwner to find out where the
7304 inset has been inserted. This is a huge performance gain for large
7305 documents with lots of insets. If Inset::parOwner is not set, fall
7306 back on the brute force method
7308 * paragraph_pimpl.C (insertInset):
7309 * paragraph.C (Paragraph):
7310 (cutIntoMinibuffer): set parOwner of insets when
7311 inserting/removing them
7313 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7315 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7321 * mathed/formulabase.C:
7322 * mathed/math_cursor.[Ch]:
7323 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7326 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7328 * lyxlength.[Ch] (operator!=): new function
7330 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7332 * text.C (workWidth): use Inset::parOwner to find out where the
7333 inset has been inserted. This is a huge performance gain for large
7334 documents with lots of insets. If Inset::parOwner is not set, fall
7335 back on the brute force method
7337 * paragraph_pimpl.C (insertInset):
7338 * paragraph.C (Paragraph):
7339 (cutIntoMinibuffer): set parOwner of insets when
7340 inserting/removing them
7342 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7344 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7346 * tabular-old.C (getTokenValue):
7347 * tabular.C (getTokenValue):
7348 (write_attribute): new versions for LyXLength
7349 (everywhere): adjust the use of widths
7351 * tabular.h: change the type of widths from string to LyXLength
7353 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7355 * paragraph.C: fixed missing line number count when exporting
7356 Environments to LaTeX file
7358 * buffer.C: added informational message for checking line numbers.
7360 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7362 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7363 paragraph, do the 'double space' part, but not the 'empty
7366 * text.C (workWidth): small optimization
7367 (getLengthMarkerHeight): use minimal size for negative lengths.
7369 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7371 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7373 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7375 2001-12-11 André Pönitz <poenitz@gmx.net>
7378 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7380 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7382 * text2.C: keep selection on a setFont()
7384 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7386 * lyx_cb.C: another bv->text misuse, from insert label
7388 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7391 * kbsequence.C: re-instate nmodifier mask
7393 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7395 * lyx_main.h: make lyxGUI private.
7397 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7399 * lyxfind.C: place the cursor correctly on failed search
7401 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7403 * text.C (getLengthMarkerHeight): for small heights, the arrows
7404 are not always on top/bottom of the text
7405 (drawLengthMarker): smaller arrows; take the left margin in
7406 account; draw also vfills.
7408 (paintLastRow): remove special code for vfill and standard spaces,
7409 since everything is handled in drawLengthMarker now.
7411 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7413 * buffer.C (insertErtContents): try to handle font and language
7414 interaction a bit better.g
7416 * ColorHandler.C (updateColor): change the hash to cover the whole
7417 LColor enum, ws cleanup
7418 (getGCLinepars): ditto
7419 (getGCLinepars): only lookup in the linecache once.
7421 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7423 * iterators.C (operator++): Make the iterator more robust
7425 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7427 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7429 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7432 * text.C: better added space drawing
7434 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7437 * BufferView2.C: fix layout combo update on inset unlock
7439 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7441 * Makefile.am: don't compile unused files
7443 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7447 * LyXAction.C: remove old LFUN_LAYOUTNO
7449 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7451 * paragraph_pimpl.h:
7452 * paragraph_pimpl.C: isTextAt() doesn't need font param
7454 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7457 * lyxlex.C: little cleanup
7459 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7461 * BufferView_pimpl.C: fix insertAscii for insets
7463 2001-12-05 Juergen Vigna <jug@sad.it>
7465 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7466 set the right font on the "multi" paragraph paste!
7468 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7474 * lyxlength.C: remove out-commented code.
7490 * vc-backend.C: change "while(" to "while ("
7492 * lyxlength.[Ch]: add zero function to check if length is zero or
7494 * lyxgluelength.C: use it
7496 2001-12-05 Allan Rae <rae@lyx.org>
7498 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7499 Works for 2.95.3, from what I understand of Garst's reports this should
7500 work for other g++ versions. We're screwed if the abs(int) definition
7501 changed between bugfix releases of gcc.
7503 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7505 * text.C: fix chapter label offset !
7507 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7510 * text.C: fix hfill at end of line, clean up
7512 2001-12-04 Juergen Vigna <jug@sad.it>
7514 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7515 that we force an update of the inset and it's owners if neccessary.
7517 2001-12-03 Juergen Vigna <jug@sad.it>
7519 * text.C (rowLast): simplified code
7521 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7523 * lyxfunc.C: fix show options on timeout
7525 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7527 * screen.C (topCursorVisible): scroll half a page when the cursor
7528 reached top of bottom of screen
7530 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7532 * minibuffer.C: deactivate on loss of focus
7534 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7536 * vspace.[Ch] (operator!=): add operator.
7538 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7540 * BufferView_pimpl.C: refuse to open an inset when
7541 there's a selection.
7543 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7545 * BufferView_pimpl.C: allow to click on RHS of full row insets
7547 2001-11-30 Juergen Vigna <jug@sad.it>
7549 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7550 insets for undo reasons.
7552 2001-11-28 André Pönitz <poenitz@gmx.net>
7554 * vspace.[Ch]: cosmetical changes
7556 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7566 * kbsequence.C: part re-write of old kb code
7569 * WorkArea.C: remove Lgb_bug_find_hack
7571 2001-11-30 José Matos <jamatos@fep.up.pt>
7573 * buffer.C (makeDocBookFile): add a comment to point a hack.
7574 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7575 Fixed a double write of labels.
7577 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7580 * LaTeX.h Fixed bug in LaTeX class where it would not
7581 re-run latex if no depfiles were changed, but the .dvi was removed.
7583 2001-11-28 André Pönitz <poenitz@gmx.net>
7585 * all the files from the change on 2001/11/26:
7586 use lyx::layout_type instead of LyXTextClass::size_type
7587 use lyx::textclass_type instead of LyXTextClassList::size_type
7589 2001-11-29 Juergen Vigna <jug@sad.it>
7591 * text.C: added support for paragraph::isFreeSpacing()
7593 * buffer.C: same as above
7595 * paragraph.h: inserted isFreeSpacing() function to enable
7596 FreeSpacing inside InsetERT.
7598 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7599 of the paragraph's in the cut/copy buffer to 0!
7601 * text2.C (removeRow): remove the assert as it can!
7603 * lyxtext.h: added helper function firstRow returning firstrow and
7604 made firstrow private again.
7606 * BufferView2.C (lockInset): don't relock if we're already locked!
7608 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7610 (removeRow): added Assert::(firstrow)
7612 * debug.C: forgot to add INSETTEXT here.
7614 2001-11-28 Juergen Vigna <jug@sad.it>
7616 * sp_spell.C (initialize): changed error text to more general
7617 spellchecker command use (not only ispell!)
7619 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7621 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7623 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7625 * vspace.C: initialise lyxgluelength on failure
7627 2001-11-28 Allan Rae <rae@lyx.org>
7629 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7630 declaration & definition that looks like a function declaration.
7632 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7634 * BufferView2.C (copy):
7635 (copyEnvironment): do not clear the selection when doing a copy.
7637 * text.C (paintFirstRow): compilation fix
7639 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7641 * tabular.C (Latex): correct line count when writing latex.
7643 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7645 * paragraph_pimpl.h:
7646 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7649 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7653 * LColor.C: change vfillline->added_space
7655 * text.C: add markers and text for added space
7657 * vspace.C: fix comment
7659 2001-11-28 André Pönitz <poenitz@gmx.net>
7661 * paragraph.C: whitespace changes
7662 * all the other files from the change on 2001/11/26:
7663 change *::pos_type into lyx::pos_type
7665 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7667 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7668 language of the document when inserting error insets.
7670 2001-11-26 André Pönitz <poenitz@gmx.net>
7672 * BufferView_pimpl.[Ch]:
7680 * paragraph_pimpl.[Ch]:
7683 * text2.C: reduce header dependencies, introduce type for positions
7685 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7687 * <various>: change to use Alert.h
7689 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7691 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7692 when encountering an unknown token.
7693 (readLyXformat2): Show an error message if there were unknown tokens.
7695 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7698 * BufferView_pimpl.C:
7702 * text2.C: use par->isInset()
7704 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7706 * paragraph_pimpl.h:
7707 * paragraph_pimpl.C: cleanup
7709 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7711 * text2.C (removeRow):
7712 * text.C (setHeightOfRow): remove useless (and costly) call to
7715 2001-11-20 Allan Rae <rae@lyx.org>
7717 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7718 Now need Inset*::checkInsertChar() to return true for appropriate
7719 cases so that the characters in the minibuffer will actually be
7722 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7724 * text.C: change the order of the includes.
7725 (workWidth): initialize it at once.
7726 (workWidth): make maxw unsigned
7727 (setHeightOfRow): remove unused variable (inset)
7728 (selectSelectedWord): remove unused variable (inset)
7729 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7731 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7733 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7734 server is not running.
7736 (closeConnection): add debug info when server is disabled.
7738 * ColorHandler.C (getGCForeground): send debug message to GUI
7741 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7743 * kbmap.C (bind): modify because return conventions of
7744 kb_sequence::parse have changed.
7746 * kbsequence.C (parse): only ignore spaces and not any stupid
7747 control character. This avoids tests like s[i] <= ' ', which are
7748 guaranteed to fail with 8bit characters and signed chars.
7749 Change return code to string::npos when there have been no error
7750 (0 was a bad idea when error is at first character)
7752 2001-11-14 José Matos <jamatos@fep.up.pt>
7755 * buffer.C (simpleDocBookOnePar): removed unused argument.
7757 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7759 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7760 insets which are part of a word. Paragraph::isLetter takes care of
7761 that now. Use Paragraph::isInset to identify insets.
7762 (selectSelectedWord): do not test for hyphenation break.
7764 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7765 that protected spaces are considered as spaces.
7767 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7770 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7773 * lyxserver.C: fix it. and small cleanup.
7775 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7777 * BufferView_pimpl.C: use inline helpers
7780 * LaTeXFeatures.C: fix typos
7783 * Spacing.C: move spacing_string into class
7785 * ToolbarDefaults.C: move stuff into namespace anon
7787 * layout.h: update enum
7789 * lyxfunc.C: use better debug
7791 * minibuffer.h: fix typo
7795 * WorkArea.C: add and use Debug::WORKAREA
7799 * text2.C: code re-organisation, inline helpers
7801 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7803 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7804 std::vector.empty().
7806 2001-11-09 Allan Rae <rae@lyx.org>
7808 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7809 '\n's after tables. Tabular and ERT inset work now makes this no
7812 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7815 * minibuffer.C: fix crash, improve drop-down completion
7817 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7820 * lyxserver.C: invalidate fd's when doing endPipe()
7822 2001-11-08 José Matos <jamatos@fep.up.pt>
7824 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7825 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7828 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7830 2001-11-07 José Matos <jamatos@fep.up.pt>
7833 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7836 * buffer.C (sgmlOpenTag):
7837 * buffer.C (sgmlCloseTag): removed debug info.
7839 * buffer.h (sgmlOpenTag):
7840 * buffer.h (sgmlCloseTag): made public.
7842 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7844 * buffer.C (saveParamsAsDefaults):
7845 * lyx_cb.C (MenuLayoutSave): remove
7847 * LyXAction.C (init):
7849 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7851 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7853 * buffer.C (setPaperStuff): removed from here...
7855 * bufferparams.C (setPaperStuff): ... and moved there.
7857 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7861 * XFormsView.C: add support for drop-down completion
7863 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7865 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7868 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7870 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7873 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7875 * lyx_main.C: change ref to known bugs
7877 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7879 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7880 to work around older babel problems.
7882 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7884 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7886 2001-10-24 Juergen Vigna <jug@sad.it>
7888 * tabular-old.C (ReadOld): below variable changes reflected.
7890 * tabular.[Ch]: added ltType struct for longtable header/footer
7891 defines and changed all instances where they are used. Added
7892 future support for double top/bottom rows.
7894 2001-10-24 José Matos <jamatos@fep.up.pt>
7896 * buffer.h (docbookHandleCaption):
7897 * buffer.C (docbookHandleCaption): removed unused function.
7898 (makeDocBookFile): moved docbook supported version to v4.1.
7900 2001-10-24 José Matos <jamatos@fep.up.pt>
7903 * tabular.C (docbookRow): new function to export docbook code of a row.
7904 (DocBook): now honors the longtable flags.
7906 2001-10-23 José Matos <jamatos@fep.up.pt>
7909 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7910 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7912 * buffer.C (makeLinuxDocFile):
7913 (makeDocBookFile): reworked the preamble, more clean, and with
7914 support for lyx defined entities. Changed the document declaration
7915 to be more XML friendly.
7917 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7918 if we need to output XML that should be done with a filter.
7920 2001-10-22 Juergen Vigna <jug@sad.it>
7922 * sp_pspell.h (class PSpell): add alive function needed in the
7923 controller to see if the spellchecker could be started.
7925 2001-10-22 Juergen Vigna <jug@sad.it>
7927 * buffer.C (insertStringAsLines): modify the font for inserting
7928 chars in certain conditions by calling checkInsertChar(font).
7930 2001-10-19 Juergen Vigna <jug@sad.it>
7932 * text.C (workWidth): use getRow instead of wrong algorithm.
7933 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7935 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7940 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7942 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7944 * text.C (workWidth): do not search for the exact row when
7945 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7946 optimization for big documents.
7948 2001-10-18 Juergen Vigna <jug@sad.it>
7950 * text.C (workWidth): new function with added Inset * parameter.
7952 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7954 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7956 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7957 change return type of getColumnNearX.
7960 * text.C (changeRegionCase): use uppercase/lowercase instead of
7963 (rightMargin): simplify code by factoring out the uses of
7968 (appendParagraph): use Paragraph::size_type
7970 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7972 * vspace.C (asLatexString): add a missing break
7974 2001-10-15 Herbert Voss <voss@perce.de>
7976 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7978 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7980 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7983 2001-10-10 André Pönitz <poenitz@gmx.net>
7985 * lyxfunc.C: removed greek_kb_flag.
7987 2001-10-10 Herbert Voss <voss@perce.de>
7989 * lyx_main.C: delete global string help_lyxdir.
7991 2001-10-09 Herbert Voss <voss@perce.de>
7993 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7995 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7997 * lyx_main.C: added global string help_lyxdir.
7999 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8001 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8003 * lyxrc.C (set_font_norm_type): support iso8859-4
8005 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8007 * LaTeX.C (deplog): add another regex for MikTeX
8009 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8011 * lyxrc.C (set_font_norm_type): support iso8859-3
8013 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8015 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8017 * LaTeXFeatures.C: remove special case of french and index
8019 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8020 before \begin{document}). This solves several incompatibilities.
8022 2001-10-03 Garst Reese <reese@isn.net>
8024 * lyx_cb.C: change CheckTex error msg.
8026 2001-10-03 José Matos <jamatos@fep.up.pt>
8028 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8030 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8032 * .cvsignore: update
8034 * lyx_main.C (commandLineVersionInfo): use new style version info.
8036 * buffer.C (writeFile):
8039 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8041 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8043 * version.h: update to use stuff in version.C
8045 * version.C.in: new file. Contains version information determined
8046 at compile time. This is a merging of version.h and
8049 2001-10-03 Juergen Vigna <jug@sad.it>
8051 * BufferView_pimpl.C (update): don't change "dirty" status in
8054 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8056 * WorkArea.C (c-tor): re-position version string slightly.
8058 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8060 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8061 revert to previous code.
8063 WorkArea.[Ch]: (show, destroySplash): methods removed.
8065 WorkArea.C: rework code so that it's an amalgam of the codes before and
8066 after the splash screen was moved to WorkArea.
8068 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8071 * vspace.C (inPixels):
8074 * buffer.C (insertStringAsLines):
8075 (asciiParagraph): fix types to be large enough
8077 * lyxlex_pimpl.h: change member status from short to int
8079 * layout.h: fix type of endlabeltype
8082 * kbsequence.C (parse): change return type to string::size_type
8084 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8087 * Bullet.C (bulletSize):
8088 (bulletEntry): do not use short ints as parameters
8090 * BufferView2.C (insertLyXFile): change a char to an int.
8092 * WorkArea.C (WorkArea): remove unneeded floats in computation
8094 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8096 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8098 * paragraph.C (asString): Do not ignore newline/hfill chars when
8099 copying to the clipboard.
8101 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8103 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8104 after a multi-line inset.
8106 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8108 * paragraph.C (validate): Set NeedLyXFootnoteCode
8110 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8112 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8113 and decrease-error to decrease.
8115 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8117 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8118 it more readable (should be equivalent)
8120 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8122 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8124 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8126 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8127 of a cursor (row, etc.) after a character has been deleted
8128 (deleteEmptyParagraphMechanism): call the method above on _all_
8129 cursors held by the LyXText when a double space has been
8132 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8134 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8136 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8138 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8139 background. Use greyOut() and the new show() methods to toggle between
8140 the foreground and background. Add code to remove the splash after
8141 its initial showing.
8143 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8144 (create_forms): no longer call Dialogs::showSplash.
8146 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8148 * .cvsignore: add version_info.h
8150 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8152 * version_info.h.in: new file
8154 * Makefile.am: add version_info.h.in
8156 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8157 version_info.h instead of VERSION_INFO
8159 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8161 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8162 The ERT inset now returns string().
8164 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8166 * lyxtext.h, text.C (selectNextWord): renamed as
8167 selectNextWordToSpellcheck.
8169 * text.C (selectNextWordToSpellcheck): Modified to not select
8170 words inside an ERT inset.
8172 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8174 * lyx_cb.C (MenuLayoutSave): change a bit the question
8176 * sp_base.h: include <sys/types.h>
8178 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8180 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8182 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8184 * several files: fix typos in user-visible strings
8186 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8188 * text2.C (pasteSelection): do not set the selection, since it
8189 will be cleared later. Actually, the intent was to fix the way the
8190 selection was set, but I figured rmoving the code was just as good.
8192 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8194 * FontLoader.C (available): Check if font is available without
8197 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8199 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8201 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8203 * lyxrc.[Ch]: added display_graphics variable and associated code.
8205 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8207 * bufferparams.C (hasClassDefaults): new method. Returns true if
8208 the buffer parameters correspond to known class defaults
8210 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8212 * XFormsView.C (show): set minimum size to the main window.
8214 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8216 * text2.C (copySelection):
8218 * lyxfind.C (LyXReplace):
8219 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8220 LyXText::selectionAsString.
8222 * paragraph.C (asString): add "label" argument to the second form
8224 * text2.C (selectionAsString): add "label" argument and pass it to
8225 Paragraph::asString.
8227 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8229 * lyx_main.C (commandLineHelp): remove version information
8231 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8233 * lyx_main.C: add -version commandline option
8235 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8237 * paragraph.h: make the optional constructor arg required instead.
8238 some modifications to other files because of this.
8240 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8242 * lyxserver.C (C_LyXComm_callback): make it static
8244 * lyx_main.C (error_handler): make it static
8246 * lyx_gui.C (LyX_XErrHandler): make it static
8248 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8250 * WorkArea.C: make the extern "C" methods static.
8252 * Makefile.am (lyx_LDADD): simplify
8254 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8256 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8257 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8259 * LyXAction.C (init):
8260 * lyxfunc.C (dispatch): associated code removal.
8262 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8264 * lyxfont.h (isSymbolFont): shut off warning
8266 * text.C (setHeightOfRow):
8267 (getVisibleRow): fix crash with empty paragraphs which have a
8270 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8272 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8275 2001-09-04 José Matos <jamatos@fep.up.pt>
8278 * tabular.C (docbook): rename docBook method to docbook.
8280 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8282 * Makefile.am: add dependencies to main.o.
8284 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8286 * FontLoader.C (available): Return false if !lyxrc.use_gui
8288 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8290 * FontInfo.C (query):
8291 * converter.C (view):
8292 * importer.C (Import):
8293 * exporter.C (Export): Can not -> cannot.
8295 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8297 * BufferView_pimpl.C: allow to create index inset even if
8300 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8302 * buffer.C (getLists): replace boost::tie code with an explicit pair
8303 as boost::tie can break some compilers.
8305 * iterators.h: Added a std:: declaration to the return type of
8308 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8310 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8313 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8315 * iterators.[Ch]: New files. Provide paragraph iterators.
8317 * buffer.C (changeLanguage): Use paragraph iterators.
8318 (isMultiLingual): ditto
8320 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8322 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8324 * FontLoader.C: Support for cmr font.
8326 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8328 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8329 (available): New method.
8331 * FontInfo.C (getFontname): Use scalable fonts even when
8332 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8335 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8337 * converter.C (Formats::view): reverted! Incorrect fix.
8339 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8341 * converter.C (Formats::view): only output the -paper option
8342 if the dvi viewer is xdvi, thereby fixing bug #233429.
8344 2001-08-23 Herbert Voss <voss@perce>
8346 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8348 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8350 * Spacing.h (Spacing): Set space to Default on in the default
8353 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8355 * vc-backend.h (RCS::versionString): add RCS to version
8356 (CVS::versionString): add CVS to version
8358 * vc-backend.C (scanMaster): do not add CVS to version.
8359 (scanMaster): do not add RCS to version
8361 * lyxvc.C (versionString): new method
8363 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8365 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8367 * Spacing.C (set): initialize fval
8369 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8371 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8374 2001-08-16 Juergen Vigna <jug@sad.it>
8376 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8378 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8380 * BufferView_pimpl.C:
8383 * text2.C: setParagraph takes linespacing now
8385 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8387 * LyxAction.C: add internal LFUN_CITATION_INSERT
8389 * LyXView.C: actually apply fix
8391 * bufferlist.C: fix open non-existent file
8393 * lyxfind.C: fix indentation
8395 * lyxfunc.C: remove unneeded assert, fix typo
8397 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8399 * MenuBackend.C: use "Floatname List"
8401 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8403 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8404 when converting LaTeX layout to insetERT.
8405 Generate a non-collapsed float when reading old float
8407 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8409 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8412 2001-08-13 Juergen Vigna <jug@sad.it>
8414 * text.C (fill): return 0 instead of 20 as this seems to be the more
8417 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8419 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8422 2001-08-13 Juergen Vigna <jug@sad.it>
8424 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8426 (SearchBackward): comment out the unlocking of the inset_owner this
8427 should not be needed!
8429 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8431 * Many files: Remove inherit_language, and add latex_language
8433 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8436 2001-08-10 Juergen Vigna <jug@sad.it>
8438 * text.C (prepareToPrint): fixed hfill-width in draw!
8440 * BufferView2.C (selectLastWord): save the selection cursor as this
8441 now is cleared in the function LyXText::clearSelection!
8443 2001-08-08 Juergen Vigna <jug@sad.it>
8445 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8446 BACKSPACE type functions.
8448 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8449 is only cutted from the document but not put in the cut-buffer, where
8450 still the old stuff should be.
8452 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8454 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8456 * tabular.C (SetWidthOfCell): fixed special case where the width
8458 (LeftLine): handle '|' in align_special.
8460 (LeftAlreadyDrawed): ditto
8461 (SetWidthOfCell): ditto
8463 2001-08-07 Juergen Vigna <jug@sad.it>
8465 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8467 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8469 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8470 * lyxlex.[hC]: ditto
8472 2001-08-06 Juergen Vigna <jug@sad.it>
8474 * text.C (getVisibleRow): fix up row clearing a bit.
8476 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8478 * minibuffer.C: make sure the X server sees the changes in the input.
8480 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8482 * paragraph.C (getFont): split into...
8483 (getLabelFont): this
8484 (getLayoutFont): and this
8485 * paragraph_pimpl.C (realizeFont): calling this
8487 * text2.C (getFont): split into...
8488 (getLayoutFont): this
8489 (getLabelFont): and this
8490 (realizeFont): all three calling this
8492 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8495 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8497 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8499 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8501 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8502 layouts from the Quote inset insertion.
8504 2001-08-03 Juergen Vigna <jug@sad.it>
8506 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8508 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8509 only if status not is already CHANGED_IN_DRAW (second level).
8511 * text.C (draw): don't set the need_break_row when inside an
8514 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8516 * buffer.C (parseSingleLyXformat2Token): handle more latex
8519 * bufferview_funcs.[hC]: change function names to
8520 begin with small char, adjust other files.
8522 2001-08-02 André Pönitz <poenitz@gmx.net>
8525 BufferView_pimpl.C: remove broken special code for math-greek
8527 2001-08-02 Juergen Vigna <jug@sad.it>
8529 * BufferView_pimpl.C (update): redone this function so that we
8530 update the text again if there was a CHANGE_IN_DRAW.
8532 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8533 (drawFromTo): added a new internal bool which is used by draw() and
8535 (general): some cursor drawing problems fixed.
8537 2001-08-01 Juergen Vigna <jug@sad.it>
8539 * lyxfind.C (LyXFind): fixed
8540 (SearchForward): ditto
8541 (SearchBackward): ditto
8543 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8544 spurius drawing of the cursor in the main area.
8546 * text2.C (status): small fix which could lead to a segfault!
8547 (clearSelection): remove unneeded BufferView param.
8549 2001-08-01 André Pönitz <poenitz@gmx.net>
8551 * lyxfunc.C: small change due to changed mathed interface
8553 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8555 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8557 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8559 * lyxfunc.c: fail gracefully if file doesn't exist
8564 * BufferView_pimpl.C: IsDirWriteable() proto changed
8566 * LyXView.C: fix updateWindowTitle() to store the last title
8568 2001-07-31 Juergen Vigna <jug@sad.it>
8570 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8571 the font (wrong since using of Paragraph::highestFontInRange).
8573 * paragraph.C (highestFontInRange): added a default_size parameter.
8575 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8576 (setHeightOfRow): reformat
8578 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8580 * converter.[hC] + affected files: move to (inital-char)lowercase
8583 * ParagraphParameters.C (ParagraphParameters): remove commented code
8585 * PainterBase.[Ch]: remove commented code
8587 * LaTeXFeatures.h: add "bool floats" for float.sty
8589 * LaTeXFeatures.C (LaTeXFeatures): init floats
8590 (require): handle float
8591 (getPackages): do it with floats
8593 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8595 * BufferView_pimpl.C (Dispatch): improve handling of
8596 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8598 * commandtags.h: #include lyxfont.h here temporarily to avoid
8601 * bufferlist.h: include LString.h here.
8603 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8605 * text2.C (getStringToIndex): new method.
8607 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8609 * *: Reduced header file dependencies all over.
8611 2001-07-30 Baruch Even <baruch@lyx.org>
8613 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8615 2001-07-29 Baruch Even <baruch@lyx.org>
8617 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8619 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8621 * ParameterStruct.h (endif): add a default constructor to make
8622 sure that all variables is initialized.
8624 * ParagraphParameters.C (ParagraphParameters): adjust
8626 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8628 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8629 index; also, check that there is something to index, and that it
8630 does not span over several paragraphs.
8631 (doubleClick): use WHOLE_WORD_STRICT for double click.
8633 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8635 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8638 2001-07-26 Baruch Even <baruch@lyx.org>
8640 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8641 an InsetFig figure, backwards compatible reading of old figure code.
8643 2001-07-27 Juergen Vigna <jug@sad.it>
8645 * text2.C: font.realize function adaption.
8647 * text.C (draw): add a warnings lyxerr text if needed.
8649 * layout.C: font.realize function adaption.
8651 * language.C: add inherit_language and implement it's handlings
8653 * bufferview_funcs.C (StyleReset): remove language parameter from
8654 font creation (should be language_inherit now).
8656 * bufferparams.C (writeFile): handle ignore_language.
8658 * paragraph.C (getFontSettings): the language has to be resolved
8659 otherwise we have problems in LyXFont!
8661 * lyxfont.C (lyxWriteChanges): added document_language parameter
8662 (update): removed unneeded language parameter
8664 * paragraph.C (validate): fixed wrong output of color-package when
8665 using interface colors for certain fonts in certain environments,
8666 which should not seen as that on the final output.
8668 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8670 * BufferView_pimpl.C:
8675 * LyXAction.C: add thesaurus support
8678 * lyxfind.C: add "once" parameter, for thesaurus, to not
8679 move to the next match
8681 2001-07-26 Juergen Vigna <jug@sad.it>
8683 * lyxfont.C (realize): honor ignore_language too!
8686 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8688 * text.C (draw): one place more for ignore_language to not draw
8691 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8693 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8695 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8697 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8698 the minipage conversion problem.
8700 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8702 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8705 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8707 * BufferView.h: don't forward declare WorkArea
8709 * BufferView.C: don't include WorkArea.h
8711 2001-07-25 André Pönitz <poenitz@gmx.net>
8715 * lyxfunc.C: new LFUN 'math-space'
8717 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8719 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8721 * text2.C (toggleInset): call open/close
8723 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8725 * lyxfunc.C (dispatch): add debug for the disabled case
8727 * font.C (buttonText): make similar to rectText
8729 * buffer.C (readInset): comment out parsing of insetlist and
8732 * PainterBase.C (rectText): small correction
8734 * BufferView_pimpl.C: comment out insettheorem and insetlist
8735 * LyXAction.C: ditto
8736 * commandtags.h: ditto
8738 2001-07-24 Juergen Vigna <jug@sad.it>
8740 * text.C (draw): honor the ignore_language.
8742 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8744 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8746 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8749 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8751 * lyxtext.h: remove unused (and unimplemented) methods
8753 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8755 * text.C (getVisibleRow): honor background color
8758 * Painter.h: remove default color argument for fillRectangle
8760 * text.C (backgroundColor): new method
8762 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8764 * text.C (getVisibleRow): adjust
8766 * font.[Ch] (rectText): new method, metrics
8767 (buttonText): new method, metrics
8769 * PainterBase.[hC]: make rectText and buttonText always draw and take
8772 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8774 * ToolbarDefaults.C (read):
8775 * MenuBackend.C (read): allow escaping in all strings
8777 * BufferView_pimpl.C (insertAndEditInset): new method.
8778 (Dispatch): use insertAndEditInset whenever appropriate.
8780 * BufferView_pimpl.C (insertNote): removed
8782 * BufferView_pimpl.C (smartQuote): new method, moved from
8783 BufferView; if an insetquote cannot be inserted, insert a '"'
8786 * BufferView2.C: remove insertCorrectQuote();
8788 * lyxfunc.C (getStatus): Add support for all remaingin
8791 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8793 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8794 command (necessary to pass " as parameter of self-insert.
8796 * text.C (selectWordWhenUnderCursor):
8797 (selectWord): add word_location parameter
8798 (selectWordWhenUnderCursor): same + remove special code for word
8800 (selectNextWord): use kind() to guess type of insetspecialchar,
8803 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8804 (insertErtContents): create ert insets as collapsed.
8805 (readInset): better compatibility code for Info inset.
8807 2001-07-20 Juergen Vigna <jug@sad.it>
8809 * lyxfunc.C (dispatch): use always LyXFind now!
8811 * text2.C (init): add a reinit flag so that the LyXText can be
8812 reinited instead of deleted and reallocated (used in InsetText).
8814 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8820 2001-07-18 Juergen Vigna <jug@sad.it>
8822 * text.C (selectNextWord): handle insets inside inset by calling
8823 always the bv->text functions so that we can go up the_locking_inset!
8825 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8826 in strange locations when inside an inset!
8828 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8829 handling to include insets.
8831 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8833 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8835 * LyXAction.C (init):
8837 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8838 LIGATURE_BREAK, since the name is so stupid.
8840 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8842 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8845 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8847 * sp_form.[Ch]: remove.
8849 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8851 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8854 * src/buffer.C (readInset): ditto.
8856 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8858 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8859 menuSeparator(), endOfSentenceDot(), ldots() and
8860 hyphenationPoint(), which are therefore removed.
8861 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8863 * LyXAction.C (init):
8864 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8866 * paragraph.C (getWord): removed.
8868 * BufferView_pimpl.C (Dispatch): use last word or selection for
8869 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8871 * lyx_main.C (queryUserLyXDir): do not ask before creating
8872 user_dir, except if it has been named explicitely.
8874 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8876 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8877 a document of zero size.
8879 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8881 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8882 approriately in the c-tor and in require().
8883 (getPackages): output the appropriate LaTeX for natbib support.
8885 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8886 variables "use_natbib" and "use_numerical_citations" when reading the
8888 (readInset): read the various natbib cite commands.
8889 (validate): white-space change.
8891 * bufferparams.[Ch]: new variables "bool use_natbib" and
8892 "bool use_numerical_citations".
8893 (writeFile): output them in the LyX file.
8895 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8897 * lyxfunc.C (getStatus): add support for all the inset insertion
8900 * text2.C (insertInset):
8901 * paragraph.C (insetAllowed):
8902 * BufferView_pimpl.C (insertInset): update to take in account the
8903 renaming of insertInsetAllowed
8905 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8907 * text2.C (getInset): new method. returns inset at cursor position.
8909 * BufferView_pimpl.C (Dispatch): changes because of this.
8911 * LyXAction.C (init): rename open-stuff to inset-toggle.
8913 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8915 * text2.C (toggleInset): renamed from openStuff; use
8918 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8920 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8922 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8924 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8926 * buffer.C (readLyXformat2): Add filename to the error dialog
8928 2001-07-18 Juergen Vigna <jug@sad.it>
8930 * tabular.C (GetCellNumber): put an assert here instead of the check!
8932 2001-07-17 Juergen Vigna <jug@sad.it>
8934 * BufferView_pimpl.C (toggleSelection): adapted too.
8936 * text.C (selectNextWord): adapted for use with insets.
8937 (selectSelectedWord): ditto
8939 2001-07-17 Juergen Vigna <jug@sad.it>
8941 * sp_spell.C (PSpell): fix initialitation order.
8943 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8945 * paragraph.C: spacing
8947 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8949 * sp_spell.C: repair language selection for pspell
8951 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8953 * lyxfunc.h: change more methods to begin with lower char.
8955 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8957 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8958 for unknown layouts.
8960 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8962 * buffer.C (readLyXformat2): Generate an error dialog if there are
8965 2001-07-16 Juergen Vigna <jug@sad.it>
8967 * sp_spell.C: always compile ISpell part.
8969 * lyxrc.C: added use_pspell entry and it's handling.
8971 2001-07-13 Juergen Vigna <jug@sad.it>
8973 * sp_spell.C: removed double includes.
8975 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8977 Consistent use of Lsstream.h:
8978 * Lsstream.h: added using std::stringstream for consistencies sake.
8980 * buffer.C: removed using std::stringstream
8982 * lyxfont.C (stateText):
8983 * paragraph.C (asString):
8984 * text.C (selectNextWord, selectSelectedWord):
8985 * text2.C (setCounter):
8986 * vspace.C (asString, asLatexString):
8987 std::ostringstream -> ostringstream.
8989 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8991 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8992 * commandtags.h: add LFUN_HELP_ABOUTLYX
8993 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8995 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8997 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8999 * lyx_gui_misc.C: remove spellchecker
9000 * lyxfunc.C: showSpellchecker
9002 * sp_ispell.h: added
9003 * sp_pspell.h: added
9005 * sp_form.[Ch]: removed
9006 * spellchecker.[Ch]: removed
9008 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9010 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9012 (simpleTeXSpecialChars): Simply print the input character without
9013 any special translation if pass_thru is set.
9015 * layout.h: Added bool pass_thru to layout class for being able to
9016 implement pass through of a paragraph for Literate Programming.
9018 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9019 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9020 * layout.C (Read): add "passthru" to list of layout tags and add
9021 code to set the pass_thru boolean when it is read.
9023 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9025 * trans_decl.h: remove allowed from KmodInfo
9027 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9031 * paragraph_pimpl.C (erase): use boost::prior
9033 * Painter.C (text): use data() instead of c_str() when length is
9035 * WorkArea.C (putClipboard): ditto
9036 * font.h (width): ditto
9038 * BufferView2.C: use it-> instead of (*it). for iterators
9040 * paragraph_pimpl.C: ditto
9041 * paragraph.C: ditto
9042 * minibuffer.C: ditto
9047 * converter.C: ditto
9049 * Variables.C: ditto
9050 * TextCache.C: ditto
9051 * MenuBackend.C: ditto
9052 * LyXAction.C: ditto
9054 * FloatList.C: ditto
9056 * ColorHandler.C (LyXColorHandler): ditto
9058 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9060 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9062 * text2.C (openStuff): reintroduce this method (which had been
9063 nuked in NEW_INSETS frenzy).
9065 * lyxfunc.C (Dispatch): when an action has not been handled, use
9066 its name in the error message, not its number.
9068 * paragraph.C (inInset): change method name to begin with lowercase.
9071 * text2.C: updates because of this.
9073 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9075 * ToolbarDefaults.C (add): add spaces in error message
9077 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9079 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9080 (readLyXformat2): rename return_par to first_par, use lyxlex's
9081 pushToken and remove the manual push handling.
9082 (parseSingleLyXformat2Token): add another ert comp. variable:
9083 in_tabular, rename return_par to first_par. handle newlines better
9085 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9087 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9089 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9091 * text2.C (getParFromID): removed
9093 * buffer.C (getParFromID): new method moved form lyxtext.
9094 * BufferView2.C (insertErrors): adjust
9095 (setCursorFromRow): adjust
9096 * BufferView_pimpl.C (restorePosition): adjust
9097 * lyxfunc.C (Dispatch): adjust
9098 * undo_funcs.C (textUndo): adjust
9100 (textHandleUndo): adjust
9101 (textHandleUndo): adjust
9103 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9105 * buffer.C: up' the LYX_FORMAT
9107 * lyxfont.h: turn NO_LATEX on as default
9109 * buffer.C (insertErtContents): new methods of tex style compability.
9110 (parseSingleLyXformat2Token): use it several places.
9111 * tabular.C (OldFormatRead): and here
9113 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9115 * text2.C: remove some commented code.
9118 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9119 * trans.C: changes because of the above.
9121 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9123 * text2.C (setCounter): Fix counters bug with bibliography layout.
9125 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9127 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9128 own member functions
9129 (simpleTeXSpecialChars): ditto
9131 2001-07-06 Juergen Vigna <jug@sad.it>
9133 * a lot of files: changed the access to LyXText::status and the
9134 call of undo-functions.
9136 * undo.[Ch]: added a inset_id to the undo informations.
9138 * undo_funcs.[Ch]: added and moved here all undo functions.
9140 * lyxtext.h: give the status enum a weight, made status_ a private
9141 variable and made accessor functions for it, removed the whole bunch
9142 of undo-functions as they are now in their own file, make some
9143 functions publically available. Added function ownerParagraph with
9146 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9147 made InInset() a const function, added getParFromID() function.
9149 * buffer.[Ch]: added const version for inset_iterator functions,
9150 added getInsetFromID() function.
9152 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9153 changed undo functions for new version.
9155 2001-07-05 Juergen Vigna <jug@sad.it>
9157 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9158 unknow mechanism does not call the proper constructor but only this
9159 one also if I request the other!?
9161 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9163 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9165 * text2.C (LyXText): use initialization lists.
9167 * lyxtext.h (Selection): initialize set_ and mark_
9168 (init): remove method
9170 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9172 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9174 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9176 * screen.[Ch]: change method names to begin with lowercase
9178 * BufferView_pimpl.C (updateScrollbar): simplify further and
9179 hopefully make it a bit faster.
9181 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9183 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9184 calling directly xforms functions.
9186 * Painter.C (Painter):
9187 * lyx_cb.C (MenuWrite):
9188 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9191 * lyx_gui.C: remove bogus guiruntime extern declaration.
9193 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9195 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9197 (redoDrawingOfParagraph): ditto
9198 (redoParagraphs): ditto
9199 (cutSelection): don't create a object for CutAndPaste use the
9200 static method directly
9201 (pasteSelection): ditto
9203 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9206 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9208 * modifications to some other files because of this.
9210 * Makefile.am (lyx_SOURCES): add XFormsView
9212 * XFormsView.[Ch]: new files
9214 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9215 the main window. Move the gui dependent stuff to XFormsView
9217 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9219 * tabular.C (GetCellInset): update cur_cell also in the row/col
9220 version of this function.
9222 * lyxfunc.C: no need to include figure_form.h here.
9228 * lyxvc.C: no need to include forms.h here.
9230 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9232 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9234 * lyxfunc.C (Dispatch):
9236 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9237 constructor argument.
9239 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9241 * paragraph.C (Paragraph): dont't clear, and just set layout.
9242 (makeSameLayout): use params's copy contructor.
9244 * ParagraphParameters.[Ch] (makeSame): delete method
9246 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9248 * Variables.[Ch]: fix indentation, rename set to isSet
9250 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9252 * lyxfunc.C (Dispatch): fix typo
9254 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9256 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9259 * bufferlist.C: include assert.h for emergencyWrite().
9261 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9263 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9264 give up at last (bug #425202) !
9266 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9272 * spellchecker.C: strip spellchecker options and bring up
9273 preferences tab instead
9275 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9277 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9278 the istringstream constructor
9280 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9282 * paragraph.C (getLayout): fix return value
9284 * paragraph.h: do not declare getLayout as inline.
9286 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9288 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9290 * lyxcursor.h (operator<): new func
9291 (operator>): new func
9292 (operator>=): new func
9293 (operator<=): new func
9295 * text.C (changeCase): use selection.start and selection.end
9296 (changeRegionCase): require from to be <= to. Require par to be a
9299 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9301 2001-06-27 Juergen Vigna <jug@sad.it>
9303 * text.C (cursorLeftOneWord): changed to return the cursor and added
9304 overlay with BufferView * parameter which calls this one.
9306 (selectWord): use new getWord function.
9307 (changeCase): renamed from changeWordCase as and extended to work
9310 * lyxtext.h: added enum word_location
9312 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9313 changeCase as this operates now also on selections.
9315 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9317 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9319 * many files: send debug output to Debug::INFO instead of
9322 * converter.C (View):
9324 (Move): send debug output to Debug::FILES instead of console.
9326 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9328 * lyxfunc.C (getStatus): use func_status
9330 * func_status.h: new header, describing the results of
9333 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9336 2001-06-25 The LyX Project <jug@sad.it>
9338 * buffer.C (sgmlOpenTag):
9340 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9342 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9344 * text2.C: remove some dead code
9346 * tabular.C (GetCellInset): store the last cell checked (gotten)
9348 * tabular.h: add the helper for the speedup
9350 * lyxtext.h: remove some dead code
9352 2001-06-26 The LyX Project <Asger>
9354 * paragraph.C: Change export to LaTeX of alignment to
9355 \begin{center} and family for better roundtrip work with reLyX.
9357 * Tune the math drawing a bit.
9359 2001-06-25 The LyX Project <Asger>
9361 * LColor.C (LColor): New color for math background. New color
9364 2001-06-25 The LyX Project <jug@sad.it>
9366 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9369 * bufferlist.C (newFile): do not restrict to files ending with
9372 * BufferView_pimpl.C (MenuInsertLyXFile):
9374 2001-06-24 The LyX Project <jug@sad.it>
9376 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9379 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9381 * lyxtext.h: rename most methods to begin with a small char.
9382 Lots of changes because of this.
9384 * paragraph.C (Paragraph): do not call fitToSize
9385 (erase): call Pimpl::erase
9386 (insertChar): call Pimpl::insertChar
9387 (insertInset): call Pipl::insertInset
9388 (breakParagraph): do not call fitToSize
9389 (breakParagraphConservative): do not call fitToSize
9390 (fitToSize): remove method
9392 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9394 2001-06-24 The LyX Project <Asger>
9396 * Fix Qt compilation^2
9398 2001-06-24 The LyX Project <jug@sad.it>
9400 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9401 depthHook(getDepth()-1).
9404 * ParagraphParameters.h:
9405 * ParameterStruct.h: change type of depth to unsigned int ==
9406 depth_type. Many adaptations to other files before of that.
9408 2001-06-24 The LyX Project <Asger>
9410 * Fix Qt compilation.
9412 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9414 * paragraph.h: renamed several methods to begin with small letter.
9415 several changes to many parts of the code because of this.
9417 2001-06-23 The LyX Project <jug@sad.it>
9419 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9420 rewritten to discard all double spaces when KeepEmpty is off
9421 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9422 to only handle newlines but not fiddle with spaces and friends.
9424 * lyxfunc.C (MenuNew): when doing 'new from template', use
9425 template_path as default directory
9427 2001-06-23 The LyX Project <Asger>
9429 * Clean-up of header file includes all over
9430 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9432 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9434 * paragraph.h: renamed from lyxparagraph.h
9436 2001-06-23 Asger <lyx@violet.home.sad.it>
9438 * Buffer.h: Removed Buffer::resize
9439 * BufferList.h: Removed BufferList::resize
9440 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9441 the document lazily when we change the width, or the font settings.
9443 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9445 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9447 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9449 * buffer.h: remove out of date comment
9451 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9454 * screen.C: fix "theoretical" GC leak
9456 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9458 * LaTeX.C (scanAuxFile):
9459 (deplog): remove trailing \r when reading stream (useful under
9462 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9464 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9465 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9466 and BufferView::theLockingInset(Inset*), so should use them and not
9467 access bv_->text->the_locking_inset directly.
9469 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9471 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9474 * tex-defs.h: remove old unused file
9476 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9478 * BufferView_pimpl.C: fix typo, remove minibuffer message
9479 when buffer has loaded
9481 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9483 * lyxfunc.C (Dispatch): use stringstream
9484 (MenuNew): use stringstream
9485 (Open): use stringstream
9487 * importer.C (Import): use stringstream
9489 * bufferview_funcs.C (CurrentState): use stringstream
9491 * LaTeX.C (run): use stringstream
9493 * BufferView_pimpl.C (savePosition): use stringstream
9494 (restorePosition): use stringstream
9495 (MenuInsertLyXFile): use stringstream
9497 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9510 * vspace.C: removed // -*- C++ -*- as first line.
9513 * version.h: added // -*- C++ -*- as first line.
9515 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9517 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9519 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9522 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9524 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9527 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9529 * gettext.C: include LString.h even when --disable-nls is on.
9531 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9533 * converter.h (Get): changed argument type from int to
9534 FormatList::size_type to avoid unnecessary conversion.
9536 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9539 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9541 * gettext.h: include LString.h even when --disable-nls is on.
9543 2001-06-07 Juergen Vigna <jug@sad.it>
9545 * text.C (BreakAgain): subst spaces with tabs.
9547 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9548 (resizeInsetsLyXText): set force on resizeLyXText.
9550 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9552 * gettext.h (gettext_init):
9553 (locale_init): use a real definition instead of a macro
9555 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9557 * Bufferview_pimpl.C:
9559 * LColor.C: further lcolor tidies
9561 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9563 * BufferView_pimpl.C (updateScrollbar): simplify.
9565 * BufferView2.C: don't include insets/insetinfo.h, change
9566 prototype for insertInset and call the Pimpl version. let
9567 updateInset call Pimpl version.
9569 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9570 gotoInset to BufferView::Pimpl
9572 2001-06-01 Juergen Vigna <jug@sad.it>
9574 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9575 inside a LockingInset (is the update needed at all?).
9577 2001-05-31 Juergen Vigna <jug@sad.it>
9579 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9580 here not the old one otherwise how should we compare it afterwards
9583 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9588 * FontInfo.C: bring C functions into global namespace when
9591 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * LString.h: make sure config.h has been loaded before LString.h.
9595 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9596 (one for each char read by EatLine!).
9598 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9601 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9603 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9604 to the same as the par we break from
9606 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9608 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9610 * MenuBackend.C (expand): also create menu entries for wide
9611 versions of the floats.
9613 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9615 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9617 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9618 frontends/Makefile.am
9624 * tabular.C (getTokenValue): add std::
9626 * tabular-old.C (getTokenValue): add std::
9627 (getTokenValue): ditto
9628 (getTokenValue): ditto
9630 * screen.C (ToggleSelection): adjust
9632 * lyxtext.h: put selection cursors inside a Selection struct.
9634 * lyxfunc.C (moveCursorUpdate): adjust
9636 * lyxfont.C (latexWriteStartChanges): add std::
9640 * font.h: delete with(char const *, LyXFont const &)
9642 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9644 * FontInfo.C (getFontname): add std::
9646 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9647 (workAreaButtonPress): adjust
9648 (tripleClick): adjust
9650 (moveCursorUpdate): adjust
9653 * BufferView2.C (gotoInset): adjust
9655 2001-05-30 Juergen Vigna <jug@sad.it>
9657 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9658 to check pspell I add this as default as I now have new pspell
9659 libraries and they seem to use this.
9661 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9663 * text2.C (CutSelection): make the cursor valid before the call to
9666 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9668 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9669 relied on 0 terminated strings and other horrors. Bug found due to
9670 the new assert in lyxstring!
9672 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9675 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9677 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9680 * lyxfunc.C (processKeySym): change method of getting to the
9683 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9684 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9685 * BufferView_pimpl.[Ch]: here as private methods.
9687 2001-05-28 Juergen Vigna <jug@sad.it>
9689 * text.C (SetHeightOfRow): added the update() call again as it is
9690 needed to initialize inset dimensions!
9692 2001-05-16 Juergen Vigna <jug@sad.it>
9694 * text2.C (SetCharFont): Add new function with BufferView * and
9695 bool toggleall parameters for setting insets internal fonts.
9696 (SetFont): Freeze the undo as we may change fonts in Insets and
9697 all this change should be inside only one Undo!
9699 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9700 setting font's in insets as for them we have the SetFont function!
9702 2001-05-15 Juergen Vigna <jug@sad.it>
9704 * text2.C (ClearSelection): to be sure we REALLY don't have any
9707 * tabular.C (TeXCellPreamble): fixed the left border problem for
9710 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9712 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9715 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9717 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9718 LFUN_BREAKPARAGRAPH.
9720 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9721 help test to "internal only", similar for LFUN_INSERT_URL
9723 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9724 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9725 auto_region_delete and deadkeys.
9727 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9730 * LColor.C: remove some dead entries, tidy a little
9732 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9734 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9736 (Dispatch): implement LFUN_ESCAPE
9738 * commandtags.h: add LFUN_ESCAPE
9740 * LyXAction.C (init): add entry for LFUN_ESCAPE
9742 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9743 Remove commented code.
9744 (insertNote): moved here
9745 (open_new_inset): moved here
9747 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9750 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9752 * kbmap.C (findbinding): clean it up and make it work correctly.
9754 * lyx_main.C (init): do not pass argc and argv as parameters
9756 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9758 * buffer.C: fix path for OS/2 & Win32
9762 * lyx_main.C: Added os:: class.
9764 * os2_defines.h: update
9766 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9768 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9769 better by trying again with reduced state.
9771 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9773 * lyxrc.C (read): print error about invalid key sequence only when
9774 debugging (because not all latinX keysyms are known to some X
9777 * kbsequence.C (getiso): add a few std:: qualifiers
9778 (getiso): comment out extra return statement.
9780 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9782 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9784 (Dispatch): enhance the accent inset a bit. (not perfect)
9786 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9788 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9790 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9792 * bufferlist.C (emergencyWrite): fix assert() call
9794 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9796 * text.C (InsertChar): Added trivial patch to only send the "you
9797 can not do multiple spaces this way" message once during a
9800 2001-05-08 Baruch Even <baruch@lyx.org>
9802 * Makefile.am: Changed order of libraries to get LyX to link properly
9803 with the gnome frontend.
9805 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9807 * LaTeXFeatures.h: add a std:: qualifier
9809 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9811 * paragraph.C (String): use stringstream
9813 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9815 * paragraph.C (writeFile): remove footflag arg
9817 * buffer.C (makeLaTeXFile): use stringstream
9818 (latexParagraphs): remove footnot gurba
9820 * LaTeXFeatures.C (getPackages): use stringstream
9821 (getMacros): likewise
9822 (getTClassPreamble): likewise
9823 (getFloatDefinitions): new method
9825 * paragraph.C (writeFile): reindent
9828 * WorkArea.h: revert the xpos + etc changes.
9830 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9832 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9834 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9835 (pasteSelection): likewise
9836 * text2.C (CreateUndo): likewise
9838 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9840 * minibuffer.C (peek_event): temporarily reduce the functionality
9841 of the minibuffer (to allow args on lfuns)
9843 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9844 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9846 * buffer.C (readInset): add compability reading of old float
9847 lists, add reading of new style float list.
9848 (readInset): avoid reevaluation of inscmd.getCmdName()
9849 (getLists): reindent
9851 * MenuBackend.C (MenuItem): implement parsing of
9852 md_floatlistinsert and md_floatinsert.
9853 (expand::LastFiles): move initalizaton of iterators out of loop,
9855 (expand::Documents): introduce typdedef vector<string> Strings,
9857 (expand::ExportFormats): introduce typedef vector<Format const *>
9858 Formats, and use it.
9859 (expand): implement FloatListInsert and FloatInsert.
9861 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9862 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9863 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9865 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9867 (Dispatch::LFUN_FLOAT_LIST): implement
9869 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9871 * LaTeX.C (run): Fix problem with --export code.
9873 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9875 * BufferView.[Ch] (workarea): removed.
9876 (getClipboard) new method; wrapper for workarea()->getClipboard()
9878 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9881 * WorkArea.h (width, height, xpos, ypos): These methods all
9882 returned the dimensions of the work_area sub-area of WorkArea,
9883 resulting in a position error if the WorkArea were resized. Now
9884 return the dimensions of the entire WorkArea.
9886 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9888 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9890 * LaTeX.C (deplog): correct the syntax of regex reg1
9892 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9894 * undo.C: remove !NEW_INSETS cruft
9896 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9898 * text2.C: remove !NEW_INSETS cruft
9900 * text.C: remove !NEW_INSETS cruft
9902 * tabular.C: remove !NEW_INSETS cruft
9904 * spellchecker.C: remove !NEW_INSETS cruft
9906 * lyxtext.h: remove !NEW_INSETS cruft
9908 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9910 * lyxfunc.C: remove !NEW_INSETS cruft
9912 * lyxfind.C: remove !NEW_INSETS cruft
9914 * lyx_cb.C: remove !NEW_INSETS cruft
9916 * figureForm.C: remove !NEW_INSETS cruft
9918 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9920 * buffer.[Ch]: remove !NEW_INSETS cruft
9922 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9924 * CutAndPaste.C: remove !NEW_INSETS cruft
9926 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9928 * BufferView2.C: remove !NEW_INSETS cruft
9930 * BufferView.h: remove !NEW_INSETS cruft
9932 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9934 * Lsstream.h: include LString.h before the sstream headers to
9935 fix problem with gcc 2.95.3 and lyxstring
9937 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9939 * lyx_main.C: add using directives when needed for C functions
9940 declared in std:: namespace.
9942 2001-04-27 Juergen Vigna <jug@sad.it>
9944 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9945 (SetHeightOfRow): comment out the update call should not be needed!
9947 2001-04-13 Juergen Vigna <jug@sad.it>
9949 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9950 (LyXTabular): tried to minimize operator= operations (and realized
9951 hopfully Lars wish).
9953 2001-04-27 Juergen Vigna <jug@sad.it>
9955 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9957 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9959 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9961 * buffer.C (readInset): hack to make listof algorithm work
9963 * BufferView_pimpl.C: hack to make listof algorithm work
9965 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9967 * LyXAction.C: removed all !NEW_INSETS cruft
9968 (init): moved lfun_item in method
9970 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9972 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9974 * BufferView2.C (theLockingInset): white space.
9976 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9978 * minibuffer.C: include <iostream>
9980 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9982 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9984 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9986 * text.[Ch] (TransposeChars): new method
9988 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9990 * call message directly through LyXView instead of through LyXFunc
9991 * BufferView2.C: adjust
9992 * BufferView_pimpl.C: adjust
9993 * FontLoader.C: adjust
9995 * bufferview_funcs.C: adjust
9996 * converter.C: adjust
9997 * figureForm.C: adjust
9998 * importer.C: adjust
10000 * lyx_gui_misc.C: adjust
10001 * lyxfunc.C: adjust
10004 + more files in subdirs
10006 * lyxparagraph.h (size): move up int file
10009 * adjust all uses of Assert to lyx::Assert.
10011 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10012 lyxfunctional in namespace lyx
10013 * layout.C (hasLayout): ditto
10016 (delete_layout): ditto
10017 (NumberOfClass): ditto
10018 * converter.C (GetFormat): ditto
10023 * bufferlist.C (getFileNames): ditto
10024 (emergencyWriteAll): ditto
10027 * MenuBackend.C (hasSubmenu): ditto
10030 * BufferView_pimpl.C (getInsetByCode): ditto
10032 2001-04-18 Juergen Vigna <jug@sad.it>
10034 * vspace.C (asLatexString): fixed the 100% problem.
10036 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10038 * lyxfunc.C (Dispatch):
10040 * minibuffer.h: add a few std:: qualifiers
10042 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * minibuffer.[Ch]: reimplement so that commands is initiated and
10045 run from lyxfunc, simplified som handling, and made the completion
10046 and history code for complete. wip.
10048 * lyxfunc.C (processKeySym): call message
10049 (miniDispatch): new temporary method
10050 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10051 (LFUN_MESSAGE): implement
10052 (LFUN_MESSAGE_PUSH): implement
10053 (LFUN_MESSAGE_POP): implement
10054 (initMiniBuffer): the initial/defualt minibuffer message.
10056 * lyxfont.[Ch]: inline some more getters
10058 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10060 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10062 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10063 (AutoSave): use LFUN_MESSAGE
10064 (Reconfigure): ditto
10066 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10068 * figureForm.C: use LFUN_MESSAGE
10070 * converter.C (runLaTeX): use LFUN_MESSAGE
10072 * bufferview_funcs.C: use LFUN_MESSAGE
10074 (changeDepth): ditto
10076 * bufferparams.h: use boost::
10078 * bufferlist.h: inherit privately from noncopyable
10080 * bufferlist.C (loadLyXFile): remove some commented code.
10082 * buffer.C (runChktex): use LFUN_MESSAGE
10084 * ShareContainer.h: inherit privately from noncopyable
10086 * ParagraphParameters.[hC] (depth): inline it.
10088 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10090 (message): new method
10091 (messagePush): ditto
10092 (messagePop): ditto
10093 (show): init minibuffer
10094 (showState): direct call
10096 * LaTeX.[Ch]: inherit privately from noncopyable
10097 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10098 instead of WriteStatus.
10100 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10102 * BufferView_pimpl.C (buffer): don't init minibuffer
10103 (workAreaButtonPress): use LFUN_MESSAGE
10104 (workAreaButtonRelease): ditto
10105 (savePosition): ditto
10106 (restorePosition): ditto
10107 (MenuInsertLyXFile): ditto
10108 (workAreaExpose): don't init minibuffer
10109 (update): remove commented code, simplify
10111 * BufferView2.C (openStuff): use LFUN_MESSAGE
10112 (toggleFloat): ditto
10115 (copyEnvironment): ditto
10116 (pasteEnvironment): ditto
10121 (updateInset): remove some commented code
10123 * lastfiles.h: inherit privately from noncopyable
10126 * lyx_main.h: ditto
10128 * lyxlex_pimpl.h: ditto
10130 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10131 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10132 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10134 * LyXAction.h: inherit privately from noncopyable, add methods
10135 func_begin, func_end, returning iterators to the func map.
10137 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10138 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10139 (func_begin): new method
10140 (func_end): new method
10142 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10144 (copySelection): ditto
10145 (pasteSelection): ditto
10147 * BufferView.C: whitespace change
10148 * BufferView.h: inherit privately from noncopyable
10150 2001-04-16 Allan Rae <rae@lyx.org>
10152 * tabular-old.C (l_getline):
10153 * spellchecker.C (sc_check_word):
10154 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10155 an unrecognised preprocessor directive. So ensure they're wrapped.
10157 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10159 * src/exporter.C (Export): Give an error message when path to file
10162 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10164 * LaTeX.C (deplog): Always check that foundfile exists.
10166 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10169 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10171 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10173 * tabular.[Ch] (getLabelList): implement new method
10175 * minibuffer.h: comment ouf setTiimer
10177 * minibuffer.C (ExecutingCB): constify res
10178 (peek_event): constify s
10179 (Set): constify ntext
10180 (Init): constify nicename
10182 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10184 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10185 (savePosition): use two params to Minibuffer::Set
10186 (restorePosition): ditto
10188 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10190 * lyx_main.C: include language.h
10192 * Makefile.am (lyx_main.o): add language.h
10194 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10200 * CutAndPaste.C: include gettext.h
10202 * lyxfont.h: remove old hack with ON and OFF.
10205 * lyxfont.h: do not include language.h...
10210 * bufferview_funcs.C:
10216 * paragraph.C: ... but do it here instead
10218 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10222 * tabular.C: small reformat
10224 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10227 (BreakParagraph): ditto
10228 (SetOnlyLayout): ditto
10231 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10234 * lastfiles.C: removed most using decl, add std:: where needed
10236 * buffer.C: ws changes
10238 * MenuBackend.C (class compare_format): put into anon namespace
10239 (expand): constify label, names, action, action2
10242 * text.C (SingleWidth): constify font
10243 (IsBoundary): constify rtl2
10244 (GetVisibleRow): constify ww
10246 * LaTeX.C (deplog): constify logfile
10248 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10250 (workAreaExpose): constify widthChange, heightChange
10252 * lyxrow.C (par): moved
10255 * lyxrow.h: as inlines here
10257 * lyxfont.h (shape): moved from lyxfont.C
10258 (emph): moved from lyxfont.C
10260 * lyxfont.C (LyXFont): use initialization list for all
10262 (shape): move to lyxfont.h as inline
10263 (emph): move to lyxfont.h as inline
10266 2001-04-04 Juergen Vigna <jug@sad.it>
10268 * vspace.C: had to include stdio.h for use of sscanf
10270 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10273 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10274 independent of xforms.
10276 2001-04-02 Juergen Vigna <jug@sad.it>
10278 * spellchecker.C: fixed namespace placing!
10280 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10282 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10283 the LyXParagraph * is 0.
10285 2001-03-29 Juergen Vigna <jug@sad.it>
10287 * vspace.C: added support for %, c%, p%, l%.
10288 (stringFromUnit): added helper function.
10289 (asLatexString): changed to give right results for the %-values.
10291 * buffer.C: convert the widthp in a width%.
10293 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10295 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10298 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10299 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10301 * lyx_cb.[Ch]: see above.
10303 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10307 * lyx.[Ch]: replaced by figure_form.[Ch].
10311 * lyxfunc.C: changed headers associated with above changes.
10313 2001-03-27 Juergen Vigna <jug@sad.it>
10315 * BufferView_pimpl.C: set the temporary cursor right!
10317 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10319 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10321 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10323 * LString.h: removed "using std::getline"!
10325 * BufferView_pimpl.C (Dispatch): changes due to changes in
10326 InsetInclude::Params.
10328 * buffer.C (tag_name): removed redundant break statements as they were
10329 producing lots of warnings with my compiler.
10331 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10333 * LString.h: add "using std::getline" when using the real <string>.
10335 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10337 * buffer.C: removed bitset usage.
10338 PAR_TAG moved to an anonymous name space.
10339 (tag_name): new funtion, also in the anonymous namespace.
10340 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10341 (makeDocBookFile): clean code. Completed transition from string arrays
10343 (SimpleDocBookOnePar): code clean.
10345 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10347 * tabular.C: add some comments.
10349 2001-03-22 Juergen Vigna <jug@sad.it>
10351 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10352 compatibility read a bit and fixed bug with minipage in different
10355 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10357 * buffer.C (pop_tag): removed.
10358 (push_tag): removed.
10359 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10360 array replaced with vector. Added support for CDATA sections.
10361 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10363 (makeDocBookFile): XML conformant declaration of CDATA section,
10364 fixed bug related to <emphasis> in the first paragraph char.
10365 (sgmlOpenTag): exclude empty tags.
10366 (sgmlCloseTag): ditto.
10368 * buffer.h (pop_tag): removed.
10369 (push_tag): removed.
10371 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10373 * language.h (Languages): added size_type and size().
10375 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10377 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10378 response on compability reading of minipages. One probliem is that
10379 the old usage of minipages was «flertydig»
10381 * several files here and in subdirs: don't use static at file
10382 scope use anon namespaces instead.
10384 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10386 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10387 LaTeX output. This is necessary for Literate document
10390 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10392 * buffer.C: insert hfill when needed.
10394 * tabular.C (l_getline): use string::erase, small whitespace change.
10396 * BufferView_pimpl.C: try the anon namespace.
10397 * WorkArea.C: ditto
10399 2001-03-16 Juergen Vigna <jug@sad.it>
10401 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10402 otherwise it won't open options-dialogs.
10404 * buffer.C: honor pextraWidth(p) on converting minipages.
10406 * tabular.C (l_getline): changed the functions to strip trailing \r.
10408 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10410 * BufferView_pimpl.C:
10411 * minibuffer..C: added "using SigC::slot" declaration.
10413 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10415 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10421 * paragraph.C: ditto
10423 * lyxtext.h: NO_PEXTRA
10425 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10427 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10428 * ParameterStruct.h: ditto
10429 * ParagraphParameters.h: ditto
10430 * lyxparagraph.h: ditto
10432 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10434 * buffer.C: add compability for minipage alignment.
10435 (latexParagraphs): remove unwanted pextra check.
10437 * several files: remove CXX_WORKING_NAMESPACES
10439 * buffer.C (pop_tag): tie is in namespace boost
10441 * BufferView.h: noncopyable is in namespace boost
10443 * lyx_main.h: ditto
10446 * lastfiles.h: ditto
10447 * bufferlist.h: ditto
10448 * ShareContainer.h: ditto
10450 * LyXAction.h: ditto
10453 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10455 * Merging changes from BRANCH_MVC back into HEAD.
10457 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10459 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10461 * BufferView_pimpl.C: change from intl.C
10465 * Makefile.am: move combox.*
10471 * intl.C: remove dialog (covered by prefs)
10473 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10475 * lyxfunc.C (Dispatch): removed redundant break statement.
10477 2001-03-14 Juergen Vigna <jug@sad.it>
10479 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10481 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10483 * buffer.C: add hack to fix compability reading of minipages.
10485 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10487 * buffer.C (getLists): Cleanup.
10489 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10491 * lyxfont.C (update): don't honor toggleall on font size.
10493 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10497 * Makefile.am: moved to frontends/xforms/
10501 * BufferView_pimpl.C: changes for moved mathpanel
10503 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10505 * gettext.h: fix gettext_init() in --disable-nls
10507 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10509 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10511 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10514 * lyx.h: strip external form
10516 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10518 * BufferView_pimpl.C: add comment, destroySplash()
10520 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10522 * BufferView_pimpl.C:
10526 * lyxfunc.C: use re-worked insetinclude
10528 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10530 * buffer.C: add using std::stringstream.
10532 * lyx_cb.C: readd using std::ios.
10534 * buffer.C: add using std::map.
10536 * BufferView_pimpl.C: add using std::vector.
10538 * ShareContainer.h: add std:: to swap.
10540 * buffer.h: add some typedefs
10541 * buffer.C (getLists): use them
10542 (getLists): renamed from getTocList.
10543 add a counter for the different float types and use it in the
10545 (getLists): use the same counter for the NEW_INSETS and the "non"
10548 * lyx_cb.h: remove unused items, includes, using etc.
10550 * ShareContainer.h: remove some commented code, add more comments
10551 and "documentation".
10553 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10555 * buffer.C (getTocList): make the list also when NEW_INSETS is
10558 * buffer.h: remove TocType
10560 * buffer.C (getTocList): change to return a map<string,
10561 vector<TocItem> >, implement for dynamic number of list.
10563 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10564 * text2.C (PasteSelection): adjust
10565 * CutAndPaste.C (pasteSelection): adjust
10567 * FloatList.C (FloatList): update from the new_insets branch.
10568 * Floating.[Ch]: ditto
10569 * LaTeXFeatures.C: ditto
10571 * lyxlex_pimpl.C: ditto
10573 * paragraph.C (Last): remove when NEW_INSETS is defined.
10575 * other file: changes because of the above.
10577 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10579 * lyxparagraph.h: rename next to next_, previous to previous_,
10580 make them private for NEW_INSETS. Rename Next() to next(),
10581 Previous() to previous().
10583 * other files: changes because of the above.
10585 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10588 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10591 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10593 * main.C (main): pass lyx_localedir to gettext_init().
10595 * gettext.h: remove locale_init and gettext_init macros
10597 * gettext.C (locale_init): new function
10598 (gettext_init): new function
10600 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10603 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10605 * Moved credits to frontends:
10606 * credits.[Ch]: removed
10607 * credits_form.[Ch]: removed
10608 * lyx_gui_misc.C: remove credits stuff
10611 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10613 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10615 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10616 unneeded destructor.
10618 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10619 a standalone pointer again.
10621 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10623 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10629 * ToolbarDefaults.C:
10638 * BufferView_pimpl.C: use new file dialog in GUII
10641 * lyx_cb.C: remove LayoutsCB to Toolbar
10643 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10645 * ShareContainer.h (get): add std:: qualifier
10647 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10649 * ShareContainer.h: define a proper ShareContainer::value_type
10650 type (and use typename to please compaq cxx)
10652 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10654 * lyxparagraph.h: move serveral local vars to
10655 ParameterStruct/ParagraphParameters., use ShareContainer in
10656 FontTable., make vars in FontTable private and add getter and
10659 * paragraph.C: changes because of the above.
10661 * lyxfont.h: remove copy constructor and copy assignment. (the
10662 default ones is ok), move number inside FontBits. move inlines to
10665 * lyxfont.C: add number to initializaton of statics, move several
10666 inlines here. constify several local vars. some whitespace
10667 cleanup. Dont hide outerscope variables.
10669 * Spacing.h: add two new constructors to match the set methods.
10671 * ShareContainer.h: new file, will perhaps be moved to support
10673 * ParameterStruct.h: new file
10675 * ParagraphParameters.h: new file
10677 * ParagraphParameters.C: new file
10679 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10680 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10682 * BufferView_pimpl.C: ParagraphParameter changes.
10683 * buffer.C: Likewise.
10684 * bufferview_funcs.C: Likewise.
10685 * text.C: Likewise.
10686 * text2.C: Likewise.
10688 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10690 * lyxfind.C (LyXReplace): do not redefine default argument in
10692 (IsStringInText): ditto
10693 (SearchForward): ditto
10694 (SearchBackward): ditto
10696 2001-03-06 Juergen Vigna <jug@sad.it>
10698 * lyxfind.C (IsStringInText): put parentes around expressions.
10700 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10702 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10704 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10706 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10708 * stl_string_fwd.h: add comment
10710 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10713 * tabular.C: remove unused DocBook methods
10719 killed DO_USE_DEFAULT_LANGUAGE
10721 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10723 * lyx_gui.C: do not include language.h.
10725 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10726 arguments in function implementation.
10728 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10730 * BufferView_pimpl.C: add <ctime>
10732 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10734 * BufferView_pimpl.C: add using std::find_if
10736 2001-02-27 José Matos <jamatos@fep.up.pt>
10738 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10741 2001-02-11 José Matos <jamatos@fep.up.pt>
10743 * buffer.C (makeDocBookFile): command styles now have a parameter as
10744 "title" by default.
10746 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10748 * layout_forms.[Ch]: removed
10749 * lyx_cb.[Ch]: out character
10750 * lyx_gui.C: out character
10751 * lyx_gui_misc.C: out character
10752 * bufferview_funcs.C: : out character,
10753 added toggleall as parameter in ToggleAndShow
10755 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10757 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10759 * text2.C (SetCurrentFont): Disable number property at boundary.
10761 2001-02-26 Juergen Vigna <jug@sad.it>
10763 * lyxfunc.C (getStatus): added a string argument override function so
10764 that this is correctly called from LyXFunc::Dispatch if it contains a
10765 do_not_use_argument which is used!
10766 (Dispatch): added check for "custom" export and call appropriate func.
10768 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10770 * lyxrc.C: Add language_command_local, language_use_babel and
10771 language_global_options.
10773 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10775 * buffer.C (makeLaTeXFile): Use language_use_babel and
10776 language_global_options.
10778 2001-02-23 Juergen Vigna <jug@sad.it>
10780 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10781 which works with LyXText and putted it inside BufferView. Here now we
10782 only call for that part the BufferView::Dispatch() function.
10784 * BufferView.C (Dispatch): added.
10786 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10787 functions which needs to use a LyXText over from LyXFunc.
10788 (MenuInsertLyXFile): added
10789 (getInsetByCode): added
10790 (moveCursorUpdate): added
10791 (static TEXT): added
10793 2001-02-22 Juergen Vigna <jug@sad.it>
10795 * BufferView_pimpl.C (update): call a status update to see if LyXText
10798 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10800 * vc-backend.C (revert): implement for CVS
10801 (getLog): implement for CVS
10803 2001-02-20 Juergen Vigna <jug@sad.it>
10805 * text2.C (ClearSelection): added BufferView param for inset_owner call
10807 * lyxfunc.C (TEXT): added this function and use it instead of
10808 directly owner->view()-text of getLyXText().
10810 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10812 * src/layout_forms.C: out preamble
10813 * src/layout_forms.h: out preamble
10814 * src/lyx_cb.C: out preamble
10815 * src/lyx_cb.h: out preamble
10816 * src/lyx_gui.C: out preamble
10817 * src/lyx_gui_misc.C: out preamble
10818 * src/lyxfunc.C: connect with guii preamble
10820 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10822 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10824 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10826 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10827 whether to run bibtex.
10829 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10831 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10833 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10835 * Makefile.am (lyx_SOURCES): removed bibforms.h
10837 * vspace.h: doxygen
10839 * text.C (GetVisibleRow): make several local vars const
10841 * tabular.C: small cleanup.
10843 * lyxserver.C (callback): use compare instead of strncmp
10845 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10846 inlines to after class or to paragraph.C
10848 * lyxfont.h: remove friend operator!=
10850 * converter.h: move friend bool operator< to non friend and after
10853 * combox.h: small cleanup
10855 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10856 to inlines after class def.
10858 * buffer.C (pop_tag): use string operations instead of strcmp
10860 * bmtable.c: doxygen, small cleanup
10862 * LaTeX.h: remove friend operator==
10864 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10876 * BufferView_pimpl.C:
10877 * BufferView.[Ch]: remove cruft
10879 2001-02-14 Juergen Vigna <jug@sad.it>
10881 * lyxfunc.C: removed #if 0 unused code
10883 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10885 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10887 * text2.C (SetSelection): added a BufferView * parameter
10889 2001-02-13 Juergen Vigna <jug@sad.it>
10891 * lyxfunc.C (Dispatch): fixed protected blank problem.
10892 * BufferView2.C (protectedBlank): added LyxText * parameter.
10894 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10895 (AppendColumn): same as above for column_info.
10897 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10898 (moveCursorUpdate): use a LyXText param for support of InsetText.
10900 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10901 (tripleClick): ditto
10903 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10905 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10907 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10909 * text2.C (SetSelection): set correct update status if inset_owner
10910 (ToggleFree): ditto
10912 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10914 * tabular.C: remove some commented code.
10916 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10918 * BufferView_pimpl.C: call hideSplash()
10920 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10923 * bibforms.h: remove
10926 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10927 add LFUN_CHILD_CREATE
10929 * counters.h: fix tiny typo
10934 * lyx.C: move splash to frontends/xforms/
10936 * lyx_gui_misc.C: move Include and Bibform to frontends
10938 * lyxvc.h: clarify comment
10940 * vspace.C: tiny housekeeping
10942 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10944 * text.C (PrepareToPrint): RTL Fix.
10946 * paragraph.C (GetUChar): New method.
10947 (String): Use GetUChar.
10949 * buffer.C (asciiParagraph): Use GetUChar.
10951 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10953 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10955 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10958 * buffer.C: rename to getLogName(), handle
10959 build log / latex log nicely
10961 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10964 * MenuBackend.h: remove support for reference menuitem type.
10966 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10968 * BufferView_pimpl.C: housekeeping
10969 * BufferView_pimpl.h:
10974 * minibuffer.h: move Timeout GUI-I
10976 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10978 * lyxrc.C (read): Update converters data-structures.
10980 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10982 * LaTeX.h (operator!=): add operator != for Aux_Info
10984 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10986 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10988 * LaTeXLog.C: deleted, useful code moved to Buffer
10991 * buffer.C: new function getLatexLogName()
10997 * lyxfunc.C: use frontends for LaTeX and VC logs
10999 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11001 * LaTeX.h: yet another std:: that Allan forgot.
11003 * Variables.C (set): renamed from isset(), because this clashes
11004 with some HP-UX macros (grr).
11006 2001-02-06 Allan Rae <rae@lyx.org>
11008 * LaTeX.h: Another bug fix. Missing std:: this time.
11010 2001-02-04 Allan Rae <rae@lyx.org>
11012 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11013 floats problem. I've left it commented out because it's not quite
11014 correct. It should also test that the current object is a table or
11015 figure inset. But I haven't gotten around to figuring out how to do
11016 that. I *think* it'll be something like: "table" == inset.type()
11018 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11021 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11023 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11024 all the citation/databases/styles in the auxilary file.
11025 (run): Rerun latex if there was a babel language error.
11027 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11029 * text.C (Backspace): Preserve the font when changing newline char
11031 (BreakParagraph): If the cursor is before a space, delete the space.
11033 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11035 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11037 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11038 new argument (code).
11039 (ChangeCitationsIfUnique): New method.
11041 * paragraph.C (GetPositionOfInset): Handle bibkey.
11043 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11045 * BufferView_pimpl.h: change type of Position::par_pos to
11046 LyXParagraph::size_type.
11048 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11050 * BufferView_pimpl.C (savePosition, restorePosition): Write
11051 messages to minibuffer.
11053 2001-01-28 José Matos <jamatos@fep.up.pt>
11055 * buffer.C (makeDocBookFile): adds support for document language.
11056 A silly restriction on the name of LatexCommand types where removed.
11057 Added support for CDATA sections, allows to chars unescaped, used
11058 among others in code, to avoid escape < and >.
11060 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11062 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11063 saved positions instrad of a stack. Furthermore, a position is
11064 stored using paragraph id/paragraph position.
11066 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11067 Remove LFUN_REF_BACK.
11069 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11071 * converter.C (dvipdfm_options): New method.
11073 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11075 * vspace.C (isValidLength): Fix for empty input string.
11077 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11079 * LyXAction.C (init): change description of LFUN_FIGURE to
11082 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11084 * LaTeX.C: add using directive
11086 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11088 * MenuBackend.C (expand): Fix the sorting of the formats.
11090 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11092 * lyx_main.C: tiny error message fix
11094 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11096 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11097 calling fl_initialize(). This fixes the problem with ',' as
11098 decimal separator in text files.
11100 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11102 * trans.C (process): Fix the keymap bug.
11104 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11106 * LaTeX.C (scanAuxFiles): New method. Provides support for
11107 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11108 (scanLogFile) Scan for "run BibTeX" messages.
11110 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11111 OT1 font encoding. Also, load the aecompl package if the ae
11114 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11116 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11118 * texrow.C (increasePos): turn two error messages into debug
11121 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11123 * LaTeX.C (scanAux): Handle the \@input macro.
11124 (runBibTeX): Use scanAux().
11126 * language.C (latex_options_): New field.
11128 * LaTeXFeatures.C (getMacros): Add language macros.
11130 * buffer.C (makeLaTeXFile): Small fix.
11132 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11134 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11136 * text2.C: add a using directive.
11138 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11143 * lyxfunc.C: kill LyXBell.
11145 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11147 * text.C (IsBoundary): Remove the error message
11149 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11151 * lyxrc.C (setDefaults): Correct initialization value for
11154 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11156 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11159 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11160 and GotoNextNote().
11162 * src/LyXAction.C: Added reference-next.
11164 * text.C (InsertChar): Use contains instead of strchr.
11166 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11168 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11170 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11171 alignment commands (when needed).
11173 * text.C (InsertChar): Add ':' to number separator chars.