1 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3 * main.C: protect <ios> with HAVE_IOS
4 (main): protect sync_with_stdio with HAVE_IOS
6 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
8 * text2.C (cutSelection): adjust
9 (pasteSelection): adjust
11 * messages.C: handle get of empty string
13 * main.C (main): use sync_with_stdio(false)
15 * lyxfunc.C (dispatch): adjust
17 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
18 (WriteAs): remove unneeded BufferView arg.
20 * bufferparams.h: use correct types on papersize, papersize2 and
23 * bufferparams.C (readToken): adjust for type
24 (writeLaTeX): add missing cases to switch.
26 * bufferlist.C (quitWriteBuffer): adjust
29 * buffer.C (asciiParagraph): remove some commented code.
31 * CutAndPaste.C: remove current_view extern variable.
32 (cutSelection): add BufferParams arg.
33 (eraseSelection): add BufferParams arg.
34 (pasteSelection): add Buffer const & arg
36 2003-06-07 John Levon <levon@movementarian.org>
44 * paragraph.C: allow InsetERT to freely space lines,
45 and some consolidation of code
47 2003-06-06 José Matos <jamatos@fep.up.pt>
49 * buffer.C (makeDocBookFile): fix bug #821
51 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
53 * BufferView_pimpl.C (dispatch): use Dialogs::visible
55 2003-06-04 Angus Leeming <leeming@lyx.org>
57 * buffer.C: bump format to 224.
59 2003-06-05 André Pönitz <poenitz@gmx.net>
61 * text2.C (redoParagraphs): remove two const_cast<>
63 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
65 * ParagraphList.h: remove last remnants of NO_STD_LIST
67 2003-06-03 Angus Leeming <leeming@lyx.org>
69 * factory.C (createInset): small change to the way InsetExternal's params
72 2003-06-04 André Pönitz <poenitz@gmx.net>
74 * buffer.h: use Undo directly instead of shared_ptr<Undo>
77 * paragraph.[Ch]: some Inset -> UpdatableInset changes
79 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
81 * undo_funcs.C: make some simple cases of undo work again
83 2003-06-03 John Levon <levon@movementarian.org>
85 * ispell.C: HPUX doesn't have sys/select.h
88 2003-06-03 John Levon <levon@movementarian.org>
90 * CutAndPaste.C: update tabular and include inset
95 * paragraph.C: remove owningBuffer(), don't pass Buffer
98 * factory.C: insetGraphicsParams changed
100 2003-06-02 John Levon <levon@movementarian.org>
106 * text3.C: remove insetparent
108 2003-06-02 John Levon <levon@movementarian.org>
111 * buffer.C: fix inset_iterator.end(), move out of line
114 2003-06-01 John Levon <levon@movementarian.org>
116 * text3.C: use a proper cut/paste when doing inset
117 insert (from Jürgen Spitzmüller)
119 2003-06-01 John Levon <levon@movementarian.org>
121 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
123 2003-05-30 André Pönitz <poenitz@gmx.net>
125 * rowpainter.C: unify second drawing phase
127 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
129 * trans_mgr.C: remove one case of current_view
131 * text2.C (cursorBottom): delete NO_STD_LIST stuff
133 * paragraph_funcs.h: remove paragraph.h include
135 * paragraph.h: delete NO_STD_LIST stuff
137 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
139 * buffer.h: remove paragraph.h include
141 * ParagraphList.C: delete file
143 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
145 * toc.C (getTocList): adjust
147 * paragraph_pimpl.C (validate): adjust
149 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
151 * paragraph.C (Paragraph): adjust
152 (getPositionOfInset): use const_iterator, adjust
153 (bibitem): use const_iterator, adjust
154 (setInsetOwner): adjust
156 * iterators.C (operator++): adjust
158 * InsetList.[Ch]: Replace selfmade iterator with standard
159 vector::iterator also introduce const_iterator. Remove getPos,
160 getInset and setInset from InsetTable. Adjust accordingly.
162 * BufferView.C (lockInset): adjust
163 (ChangeInsets): adjust
165 * tabular.[Ch]: delete commented same_id functions
167 2003-05-28 John Levon <levon@movementarian.org>
169 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
171 2003-05-28 André Pönitz <poenitz@gmx.net>
173 * metricsinfo.[Ch]: remove 'fullredraw' member
175 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
177 * lyxtextclass.C (operator): remove caching.
179 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
183 * text2.C (cursorBottom): adjust
184 (setCounter): use ParagraphList::find, adjust
186 * text.C (workWidth): use ParagraphList::find, adjust
188 * lyxcursor.C (LyXCursor): adjust
190 * buffer.C (inset_iterator): adjust
192 * ParagraphList.h: make iterator(value_type) private, make
193 ParagraphList a friend of iterator.
195 * ParagraphList.C (find): new function
197 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
199 2003-05-27 André Pönitz <poenitz@gmx.net>
201 * dimension.[Ch]: a -> asc, d -> des, w -> wid
203 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
207 2003-05-26 John Levon <levon@movementarian.org>
209 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
211 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
213 * remove same_id from function signatures, adjust.
215 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
217 * undo_funcs.C (createUndo): use the id functions directly, adjust.
219 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
221 * paragraph.C (Paragraph): get rid of same_ids parameter
223 * ParagraphList.C (insert): adjust
226 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
228 * paragraph_funcs.C (breakParagraph): adjust
229 (breakParagraphConservative): adjust
231 * buffer.C (readParagraph): adjust
233 * ParagraphList.C (insert): take a reference instead of a pointer
236 * paragraph.[Ch] (id): new function
238 * bufferlist.C (newFile): adjust
240 * ParagraphList.C (ParagraphList): adjust
242 (push_back): take a reference instead of a pointer.
244 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
246 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
249 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
250 set else use old code.
252 * ParagraphList.C: remove all NO_NEXT code and only compile this
253 code of NO_STD_LIST is set.
255 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
257 * BufferView_pimpl.C:
267 * graphics/GraphicsConverter.C:
268 * graphics/PreviewLoader.C: header adjustment
270 2003-05-23 Angus Leeming <leeming@lyx.org>
272 * LaTeXFeatures.[Ch] (useBabel): new method.
273 * bufferparams.C (writeLaTeX): use it.
275 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
277 * ParagraphList.h (set): remove unused function.
279 2003-05-23 André Pönitz <poenitz@gmx.net>
282 * BufferView_pimpl.C:
286 * undo_funcs.C: setUndo reworked
288 * iterators.[Ch]: add access to topmost ParagraphList
290 * lyxtext.[Ch] (workWidth): add a const
292 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
294 * texrow.[Ch] (increasePos): remove function
295 * exporter.C (export): removed unused var and outdated comment
297 2003-05-23 Angus Leeming <leeming@lyx.org>
299 * latexrunparams.h: rename fragile as moving_arg.
300 * paragraph.C (simpleTeXOnePar): ditto.
301 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
303 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
305 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
307 (textUndoOrRedo): comment out a currently unused var.
309 * paragraph.h (NO_NEXT): enable NO_NEXT
311 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
313 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
315 * exporter.C (Export): adjust for removeAutoInsets removal.
317 * buffer.C (runChktex): adjust for removeAutoInsets removal.
319 * LyXAction.C (init): remove LFUN_REMOVEERRORS
321 * BufferView.[Ch] (removeAutoInsets): delete function
323 2003-05-22 Angus Leeming <leeming@lyx.org>
325 * latexrunparams.h: add a free_spacing variable.
327 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
328 to pass moving_arg, as the data is stored in runparams.fragile.
330 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
331 to Inset::latexOptional or to simpleTeXOnePar.
333 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
334 free_spacing arg to Inset::latexOptional.
336 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
339 2003-05-22 Angus Leeming <leeming@lyx.org>
341 * latexrunparams.h: add fragile and use_babel variables.
343 * bufferparams.[Ch] (writeLaTeX): return use_babel.
344 * buffer.C (makeLaTeXFile): store this returned value in
345 runparams.use_babel, thus passing it to the inset::latex methods.
347 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
348 simpleTeXSpecialChars as it is now stored in runparams.fragile.
350 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
351 longer has a fragile arg, as it is stored in runparams.fragile.
353 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
354 moving_arg parameter as the data is stored in runparams.fragile.
356 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
357 a fragile parameter as the data is stored in runparams.fragile.
359 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
361 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
363 2003-05-22 Angus Leeming <leeming@lyx.org>
365 * latexrunparams.h: add a 'bool nice' which defaults to false.
367 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
368 now encapsulated within runparams.
370 * bufferlist.C (updateIncludedTeXfiles):
371 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
373 2003-05-22 Angus Leeming <leeming@lyx.org>
375 * latexrunparams.h: new file containing struct LatexRunParams.
376 * Makefile.am: add new file.
378 * LaTeX.[Ch] (c-tor, run):
379 * buffer.[Ch] (makeLaTeXFile):
380 * bufferlist.[Ch] (updateIncludedTeXfiles):
381 * converter.C (convert, scanLog):
382 * converter.[Ch] (runLaTeX):
383 * exporter.C (Export):
384 * paragraph.[Ch] (simpleTeXOnePar):
385 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
386 * paragraph_funcs.[Ch] (latexParagraphs):
387 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
388 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
389 pass around a LatexRunParams parameter.
391 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
393 * paragraph.[Ch]: remove unused constructor
395 * ParagraphList.C (erase): new function, taking two iterators
397 2003-05-22 André Pönitz <poenitz@gmx.net>
399 * undo_funcs.C: remove duplicated code
401 * iterator.[Ch]: operator=
403 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
405 * tabular.C (SetMultiColumn): ws changes
407 * rowpainter.C (paintFirst): get rid of a ->previous
409 * lyx_cb.C (getPossibleLabel): parlist simplification
411 * BufferView.C (ChangeInsets): simplify slightly.
413 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
415 * LyXAction.C: new lfun space-insert, kill protected-space-insert
416 * lfuns.h: new LFUN_SPACE
417 * lyxfunc.C: protected space has a new lfun
418 * paragraph_funcs.C: read new space insets
420 * factory.C: handle new space insets
422 2003-05-22 André Pönitz <poenitz@gmx.net>
425 * BufferView_pimpl.C:
428 * undo_funcs.C: return a ParIterator from getParFromID.
430 * iterators.[Ch]: add two const's
432 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
434 * toc.C (getTocList): adjust
436 * iterators.[Ch]: rework for parlist
438 * buffer.C (par_iterator_begin): adjust
439 (par_iterator_end): adjust
441 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
443 * BufferView.C (removeAutoInsets): adjust
444 (ChangeInsets): adjust
446 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
448 * text.C (top_y): fix bug 1110
450 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
452 * errorlist.[Ch]: added
455 * BufferView_pimpl.C:
456 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
459 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
461 * Makefile.am: ensure that lyx is relinked upon changes to the
462 various "convenience" libs.
464 2003-05-20 Angus Leeming <leeming@lyx.org>
466 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
467 files are compiled in alphabetical order again.
469 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
471 2003-05-19 Angus Leeming <leeming@lyx.org>
473 * gettext.[Ch]: remove "char const * _(char const *)".
475 2003-05-19 André Pönitz <poenitz@gmx.net>
477 * dimension.[Ch]: promote from mathed/dimension.[Ch]
486 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
488 2003-05-19 André Pönitz <poenitz@gmx.net>
494 * paragraph_funcs.[Ch]:
496 * text3.C: more insetenv work
498 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
500 * ParagraphParameters.C (params2string): small bug fixed
502 2003-05-16 André Pönitz <poenitz@gmx.net>
505 * bufferview_funcs.C: patch from Kornel Benko to prevent
506 crash when _(...) is called twice in a statement
508 2003-05-16 André Pönitz <poenitz@gmx.net>
515 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
517 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
519 * lyx_main.C (init): remove spurious static_cast
521 2003-05-14 André Pönitz <poenitz@gmx.net>
523 * BufferView.C: fix format string
525 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
527 * BufferView.[Ch] (insertErrors): removed
528 * BufferView.[Ch] (showErrorList): added
529 * buffer.C (runChkTeX):
530 * converter.C (scanLog): call showErrorList instead of inserterrors
532 2003-05-13 André Pönitz <poenitz@gmx.net>
534 * BufferView_pimpl.C:
543 * tabular_funcs.h: tostr() from its own header
545 * ParagraphParameters.C:
552 2003-05-12 André Pönitz <poenitz@gmx.net>
555 * BufferView_pimpl.C:
559 * ParagraphParameters.C:
563 * bufferview_funcs.C:
580 * text3.C: boost::format -> bformat all over the place
583 2003-05-09 André Pönitz <poenitz@gmx.net>
585 * LColor.[Ch]: Pimpl the #include <map> away
587 2003-05-09 John Levon <levon@movementarian.org>
589 * bufferlist.C: never remove emergency saves
591 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
593 * Makefile.am: better lib building
595 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * texrow.[Ch]: remove dependency on Paragraph and just store a id
599 * paragraph_pimpl.C (simpleTeXBlanks): adjust
600 (simpleTeXSpecialChars): adjust
601 (simpleTeXSpecialChars): adjust
602 * paragraph.C (simpleTeXOnePar): adjust
603 * buffer.C (makeLaTeXFile): adjust
605 * Makefile.am (BOOST_LIBS): allow boost as system lib.
607 * text2.C (changeDepth): parlist cleanup
608 (getColumnNearX): ditto
610 * rowpainter.C (getLabelFont): parlist cleanup
612 * bufferlist.C (newFile): parlist cleanup
614 * CutAndPaste.C (eraseSelection): parlist cleanup
616 * BufferView_pimpl.C (trackChanges): parlist cleanup
619 * BufferView.C (lockInset): parlist cleanup.
620 (ChangeInsets): ditto
622 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
624 * CutAndPaste.h: Update file header.
626 * CutAndPaste.C: Update file header.
627 Store the parts cut out of the Document in a limited_stack.
628 (copySelection): adjust
629 (pasteSelection): new function, takes the index in the limited stack.
630 (nrOfParagraphs): adjust
631 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
632 simplify error inset insertion.
633 (checkPastePossible): adjust
635 2003-05-06 John Levon <levon@movementarian.org>
637 * text2.C: don't cast wrap inset to float
639 2003-05-05 André Pönitz <poenitz@gmx.net>
642 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
644 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
645 few naked Paragraph *.
647 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
649 * bufferparams.C: Output warning if a document with missing
650 TeX document class is loaded
651 * exporter.C: Disable TeX exports if the document class is missing
654 * lyxtextclasslist.C: Handle new textclass.lst format; new method
655 isTeXClassAvailable()
657 2003-05-03 John Levon <levon@movementarian.org>
660 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
661 explicit cursor show/hide
663 * BufferView_pimpl.h:
664 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
665 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
667 * lyxfunc.C: hide cursor before dispatching.
672 * text3.C: remove explicit cursor hides
674 2003-05-02 André Pönitz <poenitz@gmx.net>
676 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
679 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
682 * text2.C: tiny whitespace
684 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * undo_funcs.C: almost only ws changes.
688 * ParagraphList.C (splice): just return if pl is empty.
690 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
692 * ParagraphList.C (splice): new function.
694 * CutAndPaste.C (pasteSelection): use it
696 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
698 * CutAndPaste.C (pasteSelection): remove the last next and
699 previous from this file.
701 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
703 * CutAndPaste.C (pasteSelection): more clean up, user proper
704 ParagraphList functions for pasteing.
706 * ParagraphList.C (insert): new function, three arg insert
708 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
710 * ParagraphList.C (insert): new function, three arg insert
712 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
715 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
719 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
721 * CutAndPaste.C (pasteSelection): remove some unneeded code.
723 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
726 (copySelection): clean up a bit.
727 (pasteSelection): use make_pair
729 * ParagraphList.C (ParagraphList): implement copy constructor
730 (operator=): implement, base on copy constructor.
733 * paragraph.C (erase): return a bool
735 * paragraph_pimpl.C (erasePos): remove function, move contents...
736 (erase): ... here. Return a bool.
737 (erase): call erase instead of erasePos.
739 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
741 * ParagraphList.h: define PitPosPair
742 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
743 ParagraphList, fix a bug on pasting multiple pars
744 * text2.C: change interface to C&P
746 2003-04-30 André Pönitz <poenitz@gmx.net>
748 * undo_func.C: revert part of yesterday's patch 2
750 2003-04-30 John Levon <levon@movementarian.org>
752 * LColor.C: s/tabular/table/
754 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
756 * text3.C (dispatch): do not convert iterator -> pointer
757 * undo_funcs.C (setCursorParUndo): ditto
758 * text_funcs.C (transposeChars): ditto
760 * text2.C (setLayout): ws changes only
762 * text.C (breakParagraph): do not convert iterator -> pointer
764 (acceptChange): ditto
765 (rejectChange): ditto
770 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
773 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
775 * text3.C (gotoInset): YABG (yet another bad getChar)
777 2003-04-29 André Pönitz <poenitz@gmx.net>
779 * paragraph.h: make operator= private unimplemented as long as
782 * ParagraphList.C: whitespace
785 * paragraph_pimpl.[Ch]:
788 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
791 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
793 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
795 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
796 * paragraph.[Ch] (erase):
797 * paragraph_pimpl.[Ch] (erase): change return type and value
798 * text2.C (cutSelection): some rework
800 2003-04-28 John Levon <levon@movementarian.org>
802 * bufferlist.C: changes for unsaved changes dialog
804 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
806 * bufferlist.C (newFile): set language (messages_) for new
809 * buffer.C (readFile): ws changes only.
811 2003-04-28 André Pönitz <poenitz@gmx.net>
816 * BufferView_pimpl.C:
817 * BufferView.C: getParFromID related ParagraphList::iterator changes
819 2003-04-28 André Pönitz <poenitz@gmx.net>
821 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
824 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
826 * messages.C: remove one more localedir class variable.
828 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * messages.C (getLocaleDir): singleton generation function
832 (Messages): add a default constructor.
834 * main.C (main): do not setup localedir here, do not call
837 * gettext.C (_): use it.
838 (gettext_init): delete funciton
840 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
842 * gettext.C (getLyXMessages): new singleton generating function.
844 * buffer.C (updateDocLang): adjust
846 * Makefile.am (messages.o): add target
847 (main.o): remove target
849 2003-04-27 John Levon <levon@movementarian.org>
854 * lyxvc.C: specify cancel button in Alert::prompt
856 2003-04-26 John Levon <levon@movementarian.org>
861 * LyXAction.C: add LFUN_INSET_SETTINGS
863 * lyxfunc.C: don't enable tabular-feature when there's
864 just any locking inset
866 2003-04-26 John Levon <levon@movementarian.org>
868 * bufferlist.C: re-add Cancel to buffer close question
870 * lyxfunc.C: fix import UI a bit
872 2003-04-25 John Levon <levon@movementarian.org>
874 * gettext.C: remove the broken asserts for now
876 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
878 * messages.C: make case where setlocale cannot comply work better.
880 * buffer.C (updateDocLang): new function
881 (changeLanguage): use it
884 * text2.C (setCounter): use B_ a bit.
886 * lyxlayout.C (Read): be sure to trim the label strings.
888 * messages.C (Messages): fix typo in comment
890 * buffer.C (readFile): set message_ after file is loaded.
891 (makeDocBookFile): remove double return
892 (changeLanguage): reset message_ upon language change.
893 (B_): new func, use this to get translated buffer strings.
895 * main.C: add myself and Jean Marc as authors.
897 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
899 * messages.[hC]: pimplify Messages, and three different pimpls to be
900 used in different circumstances.
902 * gettext.[Ch]: change for use with new message code.
904 2003-04-24 André Pönitz <poenitz@gmx.net>
906 * factory.C: support for eqref
908 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
910 * messages.[Ch]: add missing char
912 * Makefile.am (lyx_SOURCES): add messages.[Ch]
914 * messages.[Ch]: New files
916 2003-04-18 John Levon <levon@movementarian.org>
920 * BufferView_pimpl.C:
924 * text2.C: remove layout-copy/paste (bug 778)
926 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
928 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
930 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
932 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
933 if they succeed. Act accordingly.
935 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
937 * text2.C (setCharFont): adjust
939 (insertStringAsLines): adjust
941 * text.C (leftMargin): adjust
942 (setHeightOfRow): adjust
944 * rowpainter.C (paintFirst): adjust
947 * paragraph_funcs.C (depthHook): ParagraphList::iterators
949 (isFirstInSequence): ditto
953 * paragraph.C (getParLanguage): comment out some hard stuff.
955 * buffer.C (insertStringAsLines): take a ParagraphList as arg
957 (simpleDocBookOnePar): ditto
958 (makeDocBookFile): use ParagraphList::iterator
960 * CutAndPaste.C (pasteSelection): adjust
962 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
964 * text2.C (getFont): adjust
965 (getLayoutFont): adjust
966 (getLabelFont): adjust
968 * paragraph_funcs.C (TeXOnePar): adjust
970 * buffer.C (simpleLinuxDocOnePar): adjust
971 (simpleDocBookOnePar): adjust
973 * CutAndPaste.C (pasteSelection): adjust
975 * BufferView.C (getEncoding): adjust
977 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
979 2003-04-16 John Levon <levon@movementarian.org>
981 * lyxfind.C: use parlist stuff for search/changes
983 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
985 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
987 * text2.C (deleteEmptyParagraphMechanism): adjust
989 * text2.[Ch] (ownerParagraph): delete func (both of them
991 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
993 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
995 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
997 * ParagraphList.C: prepare for NO_NEXT
999 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1001 * text2.C (getFont): adjust
1002 (getLayoutFont): adjust
1003 (getLabelFont): adjust
1005 * paragraph.C (getFont): adjust
1006 (getLabelFont): adjust
1007 (getLayoutFont): adjust
1009 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1011 2003-04-15 John Levon <levon@movementarian.org>
1015 * lyx_main.C: handle Include in .ui files
1017 2003-04-15 John Levon <levon@movementarian.org>
1019 * MenuBackend.C: make the doc files length shorter
1022 * ToolbarBackend.C: handle toolbar placement flags,
1025 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1030 * paragraph_funcs.C (TeXOnePar): adjust
1032 * paragraph.C (getLabelFont): add outerfont arg, adjust
1033 (getLayoutFont): ditto
1034 (simpleTeXOnePar): adjust
1036 * paragraph_pimpl.C (realizeFont): delete func
1038 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1040 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1041 row argument, constify cur argument.
1043 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1045 * text2.C (getFont): adjust
1046 (getLayoutFont): adjust
1047 (getLabelFont): adjust
1049 * paragraph_funcs.C (TeXOnePar): adjust
1050 (outerFont): new func...
1051 (realizeFont): ...moved out from here, changed this to facilitate
1054 * paragraph.C (getFont): take outerfont as arg, adjust
1055 (simpleTeXOnePar): add outerfont arg, adjust
1057 * buffer.C (simpleLinuxDocOnePar): adjust
1058 (simpleDocBookOnePar): adjust
1060 * CutAndPaste.C (pasteSelection): adjust
1062 * BufferView.C (getEncoding): adjust
1064 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1066 * text2.C (setCharFont): adjust
1067 (setCounter): adjust
1069 * text.C (leftMargin): adjust
1070 (setHeightOfRow): adjust
1072 * rowpainter.C (paintFirst): adjust
1075 * paragraph_pimpl.C (realizeFont): adjust
1077 * paragraph.C (isFirstInSequence): move from here...
1078 * paragraph_funcs.C (isFirstInSequence): ...to here
1080 * paragraph.C (outerHook): move from here...
1081 * paragraph_funcs.C (outerHook): ...to here
1083 * paragraph.C (depthHook): move from here...
1084 * paragraph_funcs.C (depthHook): ...to here
1086 * paragraph.C (getEndLabel): move from here...
1087 * paragraph_funcs.C (getEndLabel): ...to here
1089 * text2.C (realizeFont): move from here...
1090 * paragraph_funcs.C (realizeFont): ...to here
1092 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1094 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1096 2003-04-14 Angus Leeming <leeming@lyx.org>
1098 * LColor.[Ch]: scrap LColor mathcursor.
1100 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1102 * lyxlex.[Ch] (text): delete function
1103 * trans.C (Load): adjust
1104 * paragraph_funcs.C (readParToken): adjust
1106 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1108 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1109 vector<char> instead of a char[].
1111 * lyxlex_pimpl.C (getString): adjust
1113 (lex): use getString
1117 * lyxlex.C (text): use pimpl_->getString()
1121 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1123 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1124 (makeFontEntriesLayoutSpecific): temp var for par.size()
1125 (setLayout): temp var for ownerParagraphs().end()
1126 (fullRebreak): temp var for rows().end()
1127 (selectionAsString): temp var for boost::next(startpit), realize
1128 that the while really is a regular for loop.
1129 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1130 setCursor in one place.
1131 (setParagraph): temp vr for ownerParagraphs().end()
1132 (updateCounters): make the while loop a for loop
1133 (cutSelection): temp var for ownerParagraphs().end()
1134 (updateInset): make the do {} while() a regular for loop
1135 (getCursorX): use temp vars
1136 (setCurrentFont): use temp vars
1137 (getColumnNearX): use temp vars
1139 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1141 * text.C (transformChar): use temp var for getChar
1142 (computeBidiTables): use temp var for row->par()
1143 (fill): move temp vars for row->par() and pit->layout() earlier in
1145 (labelFill): use temp var for row->par()
1146 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1147 asc and desc, realize that pit never changes and that firstpit is
1148 just a duplicate and not needed. Exchange rit->par() with pit in a
1150 (breakAgain): use a temp var for boost::next(rit)
1151 (breakAgainOneRow): ditto
1152 (breakParagraph): use a temp var for rows().begin()
1153 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1154 (cursorRightOneWord): use temp var for cursor.par() and
1155 cursor.pos(), remove usage of tmpcursor.
1156 (cursorLeftOneWord): use temp var for cursor.par() and
1157 cursor.pos() only set cur at end of function.
1159 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1161 * text.C, text2.C: exchange all usage of Paragraph::next with
1162 boost::next(ParagraphList::iterator)
1164 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1166 * text2.C (cursorTop): simplify implementation
1167 (cursorBottom): ditto
1168 (setParagraph): use ParagraphList::iterator
1169 (setCurrentFont): adjust
1170 (getColumnNearX): adjust
1171 (cursorRight): adjust
1172 (cursorLeft): remove usage of Paragraph::previous
1173 (cursorUpParagraph): ditto
1174 (deleteEmptyParagraphMechanism): slight cleanup
1176 * text.C (isBoundary): take a Paragraph const & instead of a
1178 (addressBreakPoint): ditto
1179 (leftMargin): remove usage of Paragraph::previous.
1180 (setHeightOfRow): ditto
1181 (cursorLeftOneWord): ditto
1182 (selectNextWordToSpellcheck): ditto
1185 (breakParagraph): remove one usage of Paragraph::next
1186 (redoParagraph): ditto
1187 (acceptChange): ditto
1188 (insertChar): adjust
1189 (rowBreakPoint): adjust
1191 * bufferview_funcs.C (toggleAndShow): adjust
1193 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1195 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1196 methods to access it.
1198 * text.C: Added updateRowPositions to compute all row positions.
1199 Make top_y and getRowNearY() to use the cached y position
1201 2003-04-11 John Levon <levon@movementarian.org>
1203 * text.C (rowBreakPoint): reintroduce the labelEnd
1204 checks, code copied from the row fill stuff. Deep voodoo.
1206 * text.C (fill): add a comment and debugging for the
1209 2003-04-11 John Levon <levon@movementarian.org>
1211 * text.C: make sure fullrow insets get wrapped to the next line,
1212 even when they're in a manual label
1214 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1216 * text2.C (insertParagraph): make it take ParagraphList::iterator
1218 (setLayout): make it return ParagraphList::iterator
1219 (redoParagraphs): ditto
1221 (checkParagraph): ditto
1223 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1225 * text2.C: adjust several funcs.
1226 (realizeFont): take a ParagraphList::iterator as arg.
1227 (getLayoutFont): ditto
1228 (getLabelFont): ditto
1229 (setCharFont): ditto
1231 * text.C: adjust several funcs.
1233 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1235 * text.C (selectNextWordToSpellcheck): don't accidentally
1238 2003-04-10 John Levon <levon@movementarian.org>
1240 * ToolbarBackend.C (getIcon): special handling for
1243 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1245 * text2.C (cursorRight): a getChar assert fixed
1247 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * text2.C (getFont): change to take a ParagraphList::iterator
1250 instead of Paragraph*
1251 Adjust several functions.
1253 * text.C (transformChar): change to take a ParagraphList::iterator
1254 instead of Paragraph*
1255 (singleWidth): ditto
1256 Adjust several functions.
1258 * rowpainter.C: adjust several functions
1259 * rowpainter.h:store a ParagraphList::iterator and not a
1263 2003-04-09 John Levon <levon@movementarian.org>
1268 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1269 and the "help" bits as well
1271 2003-04-09 John Levon <levon@movementarian.org>
1274 * ToolbarBackend.C: allow multiple toolbars
1276 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1278 * undo_funcs.C (setCursorParUndo): adjust
1280 * text_funcs.C (transposeChars): adjust
1282 * text3.C (gotoNextInset): adjust
1285 * text2.C (setLayout): adjust
1286 (changeDepth): adjust
1288 (redoParagraphs): adjust
1289 (selectionAsString): adjust
1290 (setParagraph): adjust
1291 (insertInset): adjust
1292 (cutSelection): adjust
1293 (copySelection): adjust
1294 (pasteSelection): adjust
1295 (insertStringAsLines): adjust
1296 (updateInset): adjust
1297 (setCursor): change to take a ParagraphList::iterator parameter
1298 (setCursorIntern): change to take a ParagraphList::iterator parameter
1299 (setCurrentFont): adjust
1300 (cursorLeft): adjust
1301 (cursorRight): adjust
1302 (deleteEmptyParagraphMechanism): adjust
1304 * text.C (breakParagraph): adjust
1305 (insertChar): adjust
1306 (acceptChange): adjust
1307 (rejectChange): adjust
1308 (selectNextWordToSpellcheck): adjust
1309 (changeCase): adjust
1313 * lyxfind.C (SearchForward): adjust
1314 (SearchBackward): adjust
1315 (nextChange): adjust
1317 * lyxcursor.C (par): adjust
1319 * lyxcursor.h: store a ParagraphList::iterator instead of a
1322 * lyx_cb.C (getPossibleLabel): adjust
1324 * bufferview_funcs.C (toggleAndShow): adjust
1326 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1329 * BufferView.C (removeAutoInsets): adjust
1330 (lockedInsetStoreUndo): adjust
1332 2003-04-09 John Levon <levon@movementarian.org>
1334 * ToolbarBackend.C: try icon without argument
1335 if with argument fails
1337 2003-04-08 John Levon <levon@movementarian.org>
1340 * ToolbarBackend.C: add getIcon(), handle tooltip,
1341 and change from "Icon" to "Item".
1343 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1345 * BufferView.C (lockInset): another bad getchar crunched
1347 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1349 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1352 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1354 * lyxfind.C (searchForward, searchBackwards): bug 782
1356 2003-04-07 John Levon <levon@movementarian.org>
1358 * paragraph.C: remove dead comment
1360 * text.C: remove troublesome depth-fiddling code
1361 in leftMargin() and rightMargin() (bug 1017)
1363 * text.C: fix breaking of rows in nested lists
1366 * text2.C (updateCounters): fix up depth values
1369 2003-04-07 John Levon <levon@movementarian.org>
1371 * BufferView_pimpl.C: clear message when doc finishes resizing,
1372 and after a mouse event
1374 * lyxfunc.C: clear message after exiting inset
1376 2003-04-07 John Levon <levon@movementarian.org>
1378 * bufferview_funcs.C: show math status not outside
1379 status in the statusbar
1381 2003-04-07 John Levon <levon@movementarian.org>
1383 * lyxfunc.C: note status changed after a depth change
1385 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1387 * LaTeX.h: move AuxInfo operator==, != out of line.
1388 Remove LaTeX virtual destructor; nothing derives from it.
1389 Move operator()() out of public area and rename it startscript().
1390 Change protected for private.
1392 2003-04-04 Angus Leeming <leeming@lyx.org>
1395 * text2.C: remove unneeded #includes.
1397 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1399 * text2.C (dEPM): fix the heigth of the next row
1401 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1403 * text.C: squashed an invalid getChar requester + some ws changes
1405 2003-04-03 John Levon <levon@movementarian.org>
1407 * bufferview_funcs.h:
1408 * bufferview_funcs.C:
1411 * text2.C: make getStatus work for the env depth lfuns
1413 2003-04-03 John Levon <levon@movementarian.org>
1415 * bufferview_funcs.h:
1416 * bufferview_funcs.C:
1419 * text2.C: parlistize decDepth(), by merging it with incDepth()
1421 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * lyxrow.h: store a ParagraphList::iterator instead of a
1424 Paragraph* and adjust other class functions to suit.
1426 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1429 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1431 * text2.C (setCursor): do not anchor to cursor row for the time being
1433 2003-04-02 John Levon <levon@movementarian.org>
1440 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1442 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1444 * paragraph.h: make ParagraphList and ParagraphList::iterator
1445 friends of Paragraph.
1447 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1449 * ParagraphList.C: Use the private next_ and previous_ from
1452 2003-04-01 John Levon <levon@movementarian.org>
1456 * Makefile.am: rename, remove defaults gunk
1459 * MenuBackend.C: remove defaults gunk
1462 * Languages.C: remove defaults gunk
1465 * lyx_main.C: error out if files couldn't be found.
1467 2003-04-02 John Levon <levon@movementarian.org>
1469 * text2.C: make incDepth() use parlist
1471 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1473 * undo_funcs.C (firstUndoParagraph): adjust
1475 * text3.C (gotoInset): adjust
1476 (dispatch): adjust, and rewrite loop.
1478 * text2.C (init): adjust, and rewrite loop.
1479 (redoParagraphs): adjust
1480 (updateInset): adjust, and rewrite loop.
1481 (deleteEmptyParagraphMechanism): adjust
1483 * tabular.C (LyXTabular): adjust
1484 (SetMultiColumn): adjust
1487 * lyxtext.[Ch] (ownerParagraph): delete function
1488 (ownerParagraphs): new function returns a ParagraphList.
1490 * BufferView.C (removeAutoInsets): adjust
1491 (insertErrors): adjust
1492 (setCursorFromRow): adjust
1494 2003-04-01 Angus Leeming <leeming@lyx.org>
1496 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1499 2003-04-02 John Levon <levon@movementarian.org>
1505 * text_funcs.C: make transposeChars a free function
1507 * lyxrow_funcs.C: remove wrong comment
1509 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1512 * rowpainter.C: adjust
1517 * lyxrow_funcs. [Ch]: new files
1519 * lyxrow.[Ch]: remove next and previous pointers
1520 (next,previous): remove accessor functions
1521 (isParEnd): move to lyxrow_funcs
1522 (lastPos): move to lyxrow_funcs
1523 (nextRowIsAllInset): move to lyxrow_funcs
1524 (lastPrintablePos): move to lyxrow_funcs
1525 (numberOfSeparators): move to lyxrow_funcs
1526 (numberOfHfills): move to lyxrow_funcs
1527 (numberOfLabelHfills): move to lyxrow_funcs
1528 (hfillExpansion): move to lyxrow_funcs
1532 * bufferview_funcs.C (toggleAndShow): adjust
1534 * RowList.h: Remove class RowList from file leave just a
1537 * RowList.C: delete file
1539 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1542 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1544 * text3.C (cursorPrevious): adjust
1545 (cursorNext): adjust
1548 * text2.C (redoHeightOfParagraph): adjust
1549 (redoDrawingOfParagraph): adjust
1552 * text.C (breakParagraph): adjust
1553 (insertChar): adjust
1556 * rowpainter.C (RowPainter): adjust
1557 (leftMargin): simplify and adjust
1558 (most rowpainter functions): adjust.
1560 * rowpainter.h: store the row as RowList::iterator not as Row*
1562 * lyxcursor.C (row): taka RowList::iterator as arg
1565 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1568 2003-04-01 Angus Leeming <leeming@lyx.org>
1570 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1571 stuff like bool Bool.
1573 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1575 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1578 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1580 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1583 * lyxtext.h (rows): drop one version and leve a const variant that
1584 returns a RowList::iterator.
1586 2003-03-31 Angus Leeming <leeming@lyx.org>
1588 * text.C (fill): ensure that the signature is the same as that in the
1591 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1593 * text2.C (redoParagraphs): adjust
1594 (updateCounters): adjust
1595 (checkParagraph): adjust
1596 (getColumnNearX): adjust and reformat a bit.
1598 * text.C (top_y): adjust
1600 (leftMargin): adjust
1601 (prepareToPrint): adjust
1603 (getRowNearY): adjust
1605 * lyxtext.h: make rowlist_ mutable.
1607 * RowList.h: add const_iterator
1608 * RowList.C: adjust for RowList::const_iterator.
1610 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1613 2003-03-31 John Levon <levon@movementarian.org>
1616 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1618 * lyx_main.C: set default fonts from using lyx_gui funcs
1620 * exporter.C: pdf_mode moved from lyxrc
1623 * lyxfunc.C: changes from above
1625 2003-03-31 John Levon <levon@movementarian.org>
1627 * lyx_main.C: fix to the last fix
1629 2003-03-31 John Levon <levon@movementarian.org>
1631 * bufferlist.C: "Load original" -> "Load Original"
1637 * format.C: more Alert cleanups
1639 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1641 * text2.C (removeParagraph): make it take a RowList::iterator as
1643 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1644 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1646 * text.C (anchor_row): make it take a RowList::iterator as arg,
1648 (computeBidiTables): make it take a const reference to Row instead
1649 of Row pointer, adjust.
1650 (leftMargin): make it take a RowList::iterator as arg, adjust.
1651 (rowBreakPoint): adjust
1652 (breakAgainOneRow): make it take a RowList::iterator as arg,
1654 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1656 * bufferview_funcs.C (toggleAndShow): adjust
1658 2003-03-30 John Levon <levon@movementarian.org>
1662 * boost-inst.C: moved to support
1664 * several files: changes as a result
1666 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * text2.C (LyXText): adjust.
1670 (removeRow): make it take a RowList::iterator as arg, adjust.
1671 (fullRebreak): adjust
1672 (deleteEmptyParagraphMechanism): adjust
1673 (clearPaint): adjust
1676 * text.C (top_y): adjust
1677 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1678 (breakAgain): make it take a RowList::iterator as arg, adjust.
1679 (breakParagraph): adjust
1680 (insertChar): adjust
1683 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1684 need_break_row, and refresh_row.
1686 * text3.C (dispatch): adjust
1688 * text2.C (checkParagraph): adjust
1690 (setCursorFromCoordinates): adjust
1692 * text.C (top_y): adjust
1694 (getRow): make it return a RowList::iterator, adjust
1695 (getRowNearY): make it return a RowList::iterator, adjust
1697 * text2.C (init): adjust
1698 (insertRow): remove function
1699 (insertParagraph): adjust
1700 (redoParagraphs): adjust
1701 (fullRebreak): adjust
1702 (updateCounters): adjust
1704 * text.C (top_y): rewrite to use RowList iterators.
1706 (setHeightOfRow): rewrite to sue RowList iterators.
1707 (appendParagraph): adjust
1708 (breakAgain): adjust
1709 (breakAgainOneRow): adjust
1710 (breakParagraph): adjust
1712 (getRowNearY): adjust, and remove commented code.
1714 * lyxtext.h (firstRow): delete function
1715 (lastRow): delete function
1716 (rows): new function (const and non-const versions.)
1717 (insertRow): delete function
1719 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1721 2003-03-29 John Levon <levon@movementarian.org>
1723 * BufferView_pimpl.C: always update scrollbar top
1724 because pasting text when we're anchored could mean we
1725 miss an update altogether
1727 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1729 * text2.C (init): use rowlist_.end() and not 0.
1730 (insertRow): change to take a RowList::iterator as arg, adjust
1732 (insertParagraph): change to take a RowList::iterator as arg,
1734 (redoParagraphs): remove some debug msgs.
1736 * text.C (appendParagraph): change to take a RowList::iterator
1737 arg, adjust for this.
1738 (breakAgain): add an assert
1739 (breakAgainOneRow): ditto
1741 2003-03-29 John Levon <levon@movementarian.org>
1743 * text2.C: do not clear selection after inc/decDepth
1746 2003-03-29 John Levon <levon@movementarian.org>
1749 * buffer.C: fix broken strerrors according to Lars
1751 2003-03-29 John Levon <levon@movementarian.org>
1753 * converters.C: more Alert cleanups
1755 2003-03-29 John Levon <levon@movementarian.org>
1757 * bufferview_funcs.C: remove pointless Alert
1759 * buffer.C: fix confusing error message when
1760 a template is chmoded 000
1762 2003-03-29 John Levon <levon@movementarian.org>
1766 * BufferView_pimpl.C: Alert fixes
1770 * tabular-old.C: remove unused table compat reading
1772 2003-03-29 John Levon <levon@movementarian.org>
1777 * lyx_cb.C: more Alert cleanups
1779 * lyxfunc.C: don't allow chktex if not latex document
1781 2003-03-29 John Levon <levon@movementarian.org>
1785 * buffer.C: warnings pushed down from support/,
1788 2003-03-29 John Levon <levon@movementarian.org>
1790 * lyxfunc.C: safety check for C-r (revert)
1792 2003-03-29 John Levon <levon@movementarian.org>
1795 * bufferlist.C: several UI fixes using Alert::prompt.
1796 Fix the pointless looping quit code. Fix stupid revert
1801 * lyx_cb.C: use Alert::prompt
1803 * lyx_main.C: remove a silly question
1805 * lyxfunc.C: remove a couple of silly questions,
1808 2003-03-28 John Levon <levon@movementarian.org>
1810 * text2.C: fix bug 974 (End on empty par)
1812 2003-03-28 John Levon <levon@movementarian.org>
1814 * BufferView_pimpl.C:
1816 * lfuns.h: remove do-nothing math greek lfuns
1818 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1820 * lyxgluelength.h (isValidGlueLength): add default arg on
1821 parameter 2. Remove default arg from friend in class.
1823 * lyxlength.h (isValidLength): add default arg on parameter 2.
1824 Remove default arg from friend in class.
1826 * text2.C (LyXText): adjust, initialize refresh_row.
1830 (insertParagraph): adjst
1831 (redoParagraphs): adjust
1832 (fullRebreak): adjust
1833 (updateCounters): adjust
1834 (deleteEmptyParagraphMechanism): first attempt at fixing a
1837 * text.C (top_y): adjust
1838 (setHeightOfRow): adjust
1840 (getRowNearY): adjust
1842 * lyxtext.h: include RowList.h
1843 (~LyXText): not needed anymore, deleted.
1844 (firstRow): modify for RowList
1845 (lastRow): new function
1846 Delete firstrow and lastrow class variables, add a Rowlist
1847 rowlist_ class variable.
1849 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1852 * RowList.C (insert): fix case where it == begin().
1854 2003-03-26 Angus Leeming <leeming@lyx.org>
1856 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1857 the thesaurus dialog.
1859 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1863 * RowList.[Ch]: new files
1865 * ParagraphList.C (erase): handle the case where it == begin
1868 2003-03-25 John Levon <levon@movementarian.org>
1872 * aspell.C: add new aspell support
1875 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1878 2003-03-25 Angus Leeming <leeming@lyx.org>
1881 * LyXAction.C (init): new LFUN_INSET_INSERT.
1883 * BufferView_pimpl.C (dispatch): split out part of the
1884 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1886 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1889 2003-03-25 Angus Leeming <leeming@lyx.org>
1891 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1893 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1896 * text3.C: remove useless row->height(0)
1898 2003-03-25 John Levon <levon@movementarian.org>
1902 * text3.C: rename the refreshing stuff to better names
1904 2003-03-24 John Levon <levon@movementarian.org>
1906 * BufferView_pimpl.h:
1907 * BufferView_pimpl.C: update layout choice on a mouse
1910 2003-03-23 John Levon <levon@movementarian.org>
1912 * Makefile.am: fix commandtags.h reference
1914 2003-03-22 John Levon <levon@movementarian.org>
1916 * BufferView_pimpl.C:
1921 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1923 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1926 * text.C: take the rtl methods out of line
1928 2003-03-21 André Pönitz <poenitz@gmx.net>
1930 * metricsinfo.[Ch]: new files containing structures to be passed around
1931 during the two-phase-drawing...
1933 2003-03-21 André Pönitz <poenitz@gmx.net>
1935 * lyxtextclass.C: read 'environment' tag.
1937 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1939 * text2.C (removeRow): fix bug 964
1941 2003-03-20 John Levon <levon@movementarian.org>
1945 * text2.C: paint cleanups. Inset::update() dropped font
1948 2003-03-19 John Levon <levon@movementarian.org>
1950 * lyxfunc.C: only fitcursor/markDirty if available()
1952 2003-03-19 John Levon <levon@movementarian.org>
1954 * commandtags.h: rename to ...
1956 * lfuns.h: ... this, and renumber / cleanup
1958 2003-03-19 John Levon <levon@movementarian.org>
1960 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1961 fit the cursor after an lfun
1965 * BufferView_pimpl.h:
1966 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1968 * LyXAction.C: layout-character should have ReadOnly
1970 * ParagraphParameters.C:
1972 * bufferview_funcs.C:
1979 * undo_funcs.C: changes from above
1981 2003-03-18 John Levon <levon@movementarian.org>
1983 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1984 remove it from update()
1986 * lyxfunc.C: update layout choice after an lfun
1988 * text3.C: remove extra updateLayoutChoice()s
1990 2003-03-18 John Levon <levon@movementarian.org>
1992 * text.C: top_y change means full repaint, fix
1993 a drawing bug with cursor movement
1995 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1999 * text2.C: anchor row on setCursor
2001 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2003 * lyxtext.h: remove almost all mutable keywords
2006 * text3.C: remove const keywords accordingly
2008 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2010 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2012 (TeXEnvironment): ditto
2015 2003-03-17 John Levon <levon@movementarian.org>
2017 * text.C (rowBreakPoint): remove attempt to fix displayed
2018 math insets inside a manual label
2020 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2022 * lyxtext.h: remove BufferView* as first arg from almost all class
2024 * other files: adjust.
2026 2003-03-17 John Levon <levon@movementarian.org>
2030 * text2.C: more paint cleanups
2032 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2035 * rowpainter.C: remove "smart" background painting code
2037 2003-03-16 John Levon <levon@movementarian.org>
2042 * text3.C: add helper functions for setting refresh_row/y
2044 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2046 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2047 newline inset which *can* get inserted in the pass_thru layouts.
2048 This is primarily for literate documents.
2050 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2052 * buffer.C: increment LYX_FORMAT to 223
2054 2003-03-14 André Pönitz <poenitz@gmx.net>
2056 * textclass.h: prepare for environment handling, ws changes
2057 * lyxlayout.C: read latexheader and latexfooter tags
2059 2003-03-14 John Levon <levon@movementarian.org>
2061 * text2.C: rewrite ::status() a bit
2063 2003-03-13 John Levon <levon@movementarian.org>
2065 * lyxtext.h: add some docs
2067 2003-03-13 John Levon <levon@movementarian.org>
2072 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2074 2003-03-13 John Levon <levon@movementarian.org>
2076 * text3.C: fix appendix redrawing
2078 2003-03-13 John Levon <levon@movementarian.org>
2080 * text.C (setHeightOfRow):
2082 * rowpainter.C: make appendix mark have the text
2083 "Appendix" so the user knows what it is
2086 * LColor.C: s/appendixline/appendix/ from above
2088 2003-03-13 John Levon <levon@movementarian.org>
2090 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2092 * text.C: fix a getChar(pos) bug properly
2094 2003-03-13 Angus Leeming <leeming@lyx.org>
2097 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2098 Probably only temporary. Let's see how things pan out.
2100 * BufferView.C (unlockInset):
2101 * BufferView_pimpl.C (fitCursor):
2102 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2104 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2105 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2107 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2108 new functions that convert ParagraphParameters to and from a string.
2110 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2111 BufferView::Pimpl's dispatch.
2112 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2114 2003-03-13 André Pönitz <poenitz@gmx.net>
2118 * factory.C: make it aware of InsetEnv
2120 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2122 * text2.C (setCursor): never ask for one past last
2123 (setCursor): add some debugging messages.
2125 * text.C (singleWidth): never ask for one past last
2126 (singleWidth): ditto
2128 (rightMargin): ditto
2129 (rowBreakPoint): ditto
2130 (setHeightOfRow): ditto
2131 (prepareToPrint): ditto
2133 * rowpainter.C (paintBackground): never ask for one past last
2134 (paintText): never ask for one past last
2136 * paragraph_pimpl.C (getChar): make the assert stricter, never
2137 allow the one past last pos to be taken
2139 * paragraph.C (getChar): ws changes only
2141 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2142 (numberOfSeparators): ditto
2143 (numberOfHfills): ditto
2145 2003-03-12 John Levon <levon@movementarian.org>
2151 * paragraph_funcs.C: fix per-buffer authorlists
2153 2003-03-12 John Levon <levon@movementarian.org>
2155 * text.C: fix newline in right address
2157 2003-03-12 Angus Leeming <leeming@lyx.org>
2159 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2160 duplicate those in LyXFunc::dispatch.
2164 * ToolbarDefaults.C:
2165 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2166 Add LFUN_FONTFREE_UPDATE.
2168 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2169 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2171 * bufferview_func.[Ch]: several new functions to facilliate
2172 transfer of data to and from the character dialog.
2174 2003-03-12 John Levon <levon@movementarian.org>
2179 * paragraph_funcs.C:
2180 * paragraph_pimpl.C:
2184 * text3.C: remove META_NEWLINE in favour of an inset
2187 * rowpainter.C: remove paintNewline (done by inset)
2189 2003-03-12 John Levon <levon@movementarian.org>
2191 * paragraph_pimpl.C: complain about bad getChar()s
2192 for a while at least
2194 2003-03-12 John Levon <levon@movementarian.org>
2197 * buffer.C: move paragraph read into a separate function,
2198 a little renaming to reflect that.
2201 * bufferparams.C: remove the author_ids map, not necessary now
2204 * factory.C: moved Buffer::readInset to here
2206 * paragraph_funcs.h:
2207 * paragraph_funcs.C: readParagraph free function moved from
2210 * tabular.C: name change
2212 2003-03-12 John Levon <levon@movementarian.org>
2215 * ParagraphParameters.C: move par params input to
2218 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2219 behave like a normal read from the stream wrt reading
2220 a line vs. a \\token
2222 2003-03-12 John Levon <levon@movementarian.org>
2225 * ParagraphParameters.h:
2226 * ParagraphParameters.C: move output code to a
2229 2003-03-12 John Levon <levon@movementarian.org>
2231 * BufferView.C (insertLyXFile):
2234 * tabular.C: use a parlist iterator for creating the
2237 2003-03-12 John Levon <levon@movementarian.org>
2239 * buffer.C: make current_change static local not
2242 2003-03-12 John Levon <levon@movementarian.org>
2244 * buffer.C: fix insertStringAsLines for change tracking
2246 2003-03-12 John Levon <levon@movementarian.org>
2253 * bufferparams.C: move author list into params. Rename some
2254 functions. Move the header reading into a separate token
2255 loop. Move the header token reading into BufferParams.
2257 2003-03-12 John Levon <levon@movementarian.org>
2259 * changes.C: put debug inside lyxerr.debugging() checks
2261 2003-03-11 André Pönitz <poenitz@gmx.net>
2263 * factory.C: make it aware of InsetHFill
2265 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2267 * buffer.C (latexParagraphs): move function from here...
2268 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2271 2003-03-10 Angus Leeming <leeming@lyx.org>
2273 * LyXAction.C (init): fix bug in poplating array with multiple entries
2274 with the same LFUN (spotted by JMarc).
2276 2003-03-10 John Levon <levon@movementarian.org>
2279 * text2.C: move getColumnNearX() near its
2282 2003-03-10 John Levon <levon@movementarian.org>
2284 * text.C: fix break before a minipage
2286 2003-03-10 John Levon <levon@movementarian.org>
2288 * text.C: fix the last commit
2290 2003-03-09 John Levon <levon@movementarian.org>
2294 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2295 bug 365 (don't break before insets unless needed). Don't
2296 return a value > last under any circumstances.
2298 2003-03-09 Angus Leeming <leeming@lyx.org>
2300 * BufferView_pimpl.C (trackChanges, dispatch): call
2301 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2303 2003-03-09 Angus Leeming <leeming@lyx.org>
2305 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2306 than Dialogs::showAboutlyx().
2308 2003-03-09 Angus Leeming <leeming@lyx.org>
2310 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2311 than Dialogs::showTabularCreate().
2313 2003-03-09 John Levon <levon@movementarian.org>
2317 * text2.C: 3rd arg to nextBreakPoint was always the same.
2320 2003-03-08 John Levon <levon@movementarian.org>
2327 * text2.C: Remove the "main" bit from the "main body"
2330 2003-03-08 John Levon <levon@movementarian.org>
2332 * text.C (leftMargin): The left margin of an empty
2333 manual label paragraph should not include the label width
2336 * text.C (prepareToPrint): don't attempt to measure hfills
2337 for empty manual label paragraphs - the answer should be 0
2339 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2341 * CutAndPaste.C: remove commented code and reindent.
2343 2003-03-08 John Levon <levon@movementarian.org>
2346 * lyxfunc.C: move reloadBuffer()
2349 * BufferView.C: to here
2351 * lyxvc.C: add comment
2354 * vc-backend.C: call bv->reload() to avoid
2355 getStatus() check on MENURELOAD
2357 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2359 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2360 to an old format .dep file.
2362 2003-03-07 Angus Leeming <leeming@lyx.org>
2364 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2365 when the LFUN_MOUSE_RELEASE should have been handled by
2366 inset->localDispatch.
2368 2003-03-07 Angus Leeming <leeming@lyx.org>
2370 * BufferView_pimpl.C (dispatch):
2371 * LyXAction.C (init):
2372 * ToolbarDefaults.C (init):
2374 * lyxfunc.C (getStatus):
2375 remove LFUN_INSET_GRAPHICS.
2377 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2379 2003-03-07 Angus Leeming <leeming@lyx.org>
2382 * LyXAction.C (init):
2383 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2385 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2388 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2390 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2391 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2393 2003-03-07 Angus Leeming <leeming@lyx.org>
2395 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2398 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * ParagraphList.C (front): new function
2403 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2405 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2406 and top_row_offset_. removed var first_y.
2408 * text2.C (LyXText, removeRow):
2410 * BufferView_pimpl.C:
2411 use these methods instead of using first_y
2413 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2415 * text2.C (pasteSelection): adjust for checkPastePossible
2417 * CutAndPaste.C: remove Paragraph * buf and replace with
2418 ParagraphList paragraphs.
2419 (DeleteBuffer): delete
2420 (cutSelection): change the tc type to textclass_type
2421 (copySelection): change the tc type to textclass_type
2422 (copySelection): adjust for ParagraphList
2423 (pasteSelection): change the tc type to textclass_type
2424 (pasteSelection): adjust for Paragraphlist
2425 (nrOfParagraphs): simplify for ParagraphList
2426 (checkPastePossible): simplify for ParagraphList
2427 (checkPastePossible): remove unused arg
2429 * ParagraphList.C (insert): handle the case where there are no
2432 * CutAndPaste.h: make CutAndPaste a namespace.
2434 * text3.C (dispatch): adjust
2436 * text.C (breakParagraph): add a ParagraphList as arg
2438 * paragraph_funcs.C (breakParagraph): change to take a
2439 BufferParams and a ParagraphList as args.
2440 (breakParagraphConservative): ditto
2441 (mergeParagraph): ditto
2442 (TeXDeeper): add a ParagraphList arg
2443 (TeXEnvironment): ditto
2446 * buffer.C (readLyXformat2): adjust
2447 (insertStringAsLines): adjust
2448 (latexParagraphs): adjust
2450 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2451 (cutSelection): adjust
2452 (pasteSelection): adjust
2454 * BufferView_pimpl.C (insertInset): adjust
2456 2003-03-05 Angus Leeming <leeming@lyx.org>
2459 * LyXAction.C (init):
2460 * BufferView_pimpl.C (dispatch):
2461 * lyxfunc.C (getStatus):
2462 remove LFUN_CHILD_INSERT.
2464 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2466 2003-03-05 Angus Leeming <leeming@lyx.org>
2469 * LyXAction.C (init):
2470 * src/factory.C (createInset):
2471 * lyxfunc.C (getStatus):
2472 * text3.C (dispatch):
2473 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2475 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2477 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * ParagraphList.C (insert): handle insert right before end()
2480 (erase): fix cases where it can be first or last paragraph.
2482 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2485 Paragraph::next and Paragraph::previous
2488 * text.C (breakParagraph): adjust
2490 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2491 BufferParams& as arg.
2492 (breakParagraph): use ParagraphList::insert
2493 (breakParagraphConservative): take a Buffer* instead of a
2494 BufferParams& as arg.
2495 (breakParagraphConservative): use ParagraphList::insert.
2497 * buffer.C (insertStringAsLines): un-const it
2498 (insertStringAsLines): adjust
2500 * ParagraphList.C (insert): new function
2502 * CutAndPaste.C (pasteSelection): adjust
2504 * text.C (backspace): adjust
2506 * tabular.C (SetMultiColumn): adjust
2508 * CutAndPaste.C (cutSelection): adjust
2509 (pasteSelection): adjust
2511 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2512 Buffer const * as arg
2514 * ParagraphList.C (erase): new function
2515 * paragraph_funcs.C (mergeParagraph): use it
2516 (mergeParagraph): make it take a Buffer* instead of a
2517 BufferParams* as arg
2519 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2521 (breakParagraphConservative): ditto
2523 * paragraph.h: remove the breakParagraph friend
2525 * paragraph.C (eraseIntern): new function
2526 (setChange): new function
2528 * paragraph_funcs.C (mergeParagraph): make it take a
2529 ParagraphList::iterator instead of a Paragraph *, adjust
2532 * paragraph.h: move an #endif so that the change tracking stuff
2533 also works in the NO_NEXT case.
2535 2003-03-04 Angus Leeming <leeming@lyx.org>
2538 * LyXAction.C: new LFUN_INSET_MODIFY.
2540 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2541 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2543 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * several files: ws changes only
2547 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2548 (TeXEnvironment): ditto
2551 * buffer.C (makeLaTeXFile): adjust
2552 (latexParagraphs): make it take ParagraphList::iterator as args
2554 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * buffer.C (latexParagraphs): adjust
2558 * paragraph.C (TeXOnePar): move function...
2559 (optArgInset): move function...
2560 (TeXEnvironment): move function...
2561 * paragraph_pimpl.C (TeXDeeper): move function...
2562 * paragraph_funcs.C: ...here
2564 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2566 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * buffer.C (readInset): remove compability code for old Figure and
2571 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * buffer.C: ws changes
2576 * BufferView_pimpl.C: ditto
2579 * bufferlist.h: ditto
2583 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2585 * converter.[Ch]: split into itself +
2588 * Makefile.am: += graph.[Ch] + format.[Ch]
2595 * lyxrc.C: added #include "format.h"
2597 2003-02-27 Angus Leeming <leeming@lyx.org>
2599 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2602 * factory.C (createInset): add "label" to the factory.
2604 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2605 string and do no more.
2607 2003-02-27 Angus Leeming <leeming@lyx.org>
2610 * LyXAction.C (init):
2611 * factory.C (createInset):
2612 * BufferView_pimpl.C (dispatch):
2613 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2615 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2617 * lyxfunc.C (dispatch):
2618 * text3.C (dispatch): pass name to params2string.
2620 2003-02-26 Angus Leeming <leeming@lyx.org>
2622 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2624 Rearrange the ~includes. Strip out the unnecessary ones.
2626 * factory.C (createInset): reformat.
2627 create new insets for the various LFUN_XYZ_APPLY lfuns.
2629 2003-02-26 John Levon <levon@movementarian.org>
2632 * lyxrow.C: add isParStart,isParEnd helpers
2634 * paragraph.h: make isInserted/DeletedText take refs
2636 * paragraph_funcs.h:
2637 * paragraph_funcs.C: remove #if 0'd code
2642 * text.C: use lyxrow helpers above.
2643 Move draw and paint routines to RowPainter.
2644 Make several methods use refs not pointers.
2645 Make backgroundColor() const.
2646 Add markChangeInDraw(), isInInset().
2647 Merge changeRegionCase into changeCase.
2648 Make workWidth() shouldn't-happen code into an Assert.
2651 * rowpainter.C: new class for painting a row.
2654 * vspace.C: make inPixels take a ref
2656 2003-02-26 Angus Leeming <leeming@lyx.org>
2658 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2661 2003-02-25 John Levon <levon@movementarian.org>
2663 * ispell.C: give the forked command a more accurate name
2665 2003-02-22 John Levon <levon@movementarian.org>
2668 * toc.C: make TocItem store an id not a Paragraph *
2671 2003-02-21 Angus Leeming <leeming@lyx.org>
2673 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2674 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2675 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2676 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2677 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2678 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2680 * BufferView_pimpl.C (dispatch):
2681 * LyXAction.C (init):
2682 * factory.C (createInset):
2683 * lyxfunc.C (getStatus, dispatch):
2684 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2686 2003-02-21 Angus Leeming <leeming@lyx.org>
2688 * BufferView_pimpl.C (MenuInsertLyXFile):
2689 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2690 * lyxfunc.C (menuNew, open, doImport):
2691 no longer pass a LyXView & to fileDlg.
2693 2003-02-21 Angus Leeming <leeming@lyx.org>
2695 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2696 * LyXAction.C: change, BIBKEY to BIBITEM.
2697 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2698 Change InsetBibKey to InsetBibitem.
2699 Change BIBKEY_CODE to BIBITEM_CODE.
2700 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2701 * factory.C: replace insetbib.h with insetbibitem.h.
2702 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2703 * paragraph.C: replace insetbib.h with insetbibitem.h.
2704 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2705 Change bibkey() to bibitem().
2706 * text.C: remove insetbib.h.
2707 * text2.C: replace insetbib.h with insetbibitem.h.
2708 change bibkey() to bibitem().
2709 * text3.C: remove insetbib.h.
2710 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2712 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2714 * lyxrc.C (output): enclose user email in quotes (in case there are
2717 2003-02-18 John Levon <levon@movementarian.org>
2719 * buffer.h: add std::
2721 2003-02-17 John Levon <levon@movementarian.org>
2727 * pspell.C: reworking. Especially in ispell, a large
2728 number of clean ups and bug fixes.
2730 * lyxfunc.C: fix revert to behave sensibly
2732 2003-02-17 André Pönitz <poenitz@gmx.net>
2735 * commandtags.h: new LFUN_INSERT_BIBKEY
2745 * paragraph_func.C: remove special bibkey handling
2747 2003-02-17 John Levon <levon@movementarian.org>
2749 * text.C (Delete): fix case where delete at the end of
2750 the very first paragraph would not merge the pars
2752 2003-02-17 John Levon <levon@movementarian.org>
2754 * lyxrow.C: fix lastPrintablePos()
2756 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2758 * bufferparams.C (writeLaTeX): add a std:here
2760 * buffer.C: and remove a using directive there
2762 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2764 * buffer.C (makeLaTeXFile): move the code that generates the
2767 * bufferparams.C (writeLaTeX): ... in this new method
2769 * LaTeXFeatures.C (getEncodingSet): make const
2770 (getLanguages): make const
2772 * MenuBackend.C (binding): returns the binding associated to this
2774 (add): sets the status of each item by calling getStatus. Adds
2776 (read): add support for OptSubMenu
2777 (expand): remove extra separator at the end of expanded menu
2779 2003-02-15 John Levon <levon@movementarian.org>
2782 * BufferView_pimpl.C:
2784 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2785 inset code that had no actual effect. Remove unneeded status
2788 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2790 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2793 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2795 * text.C (drawLengthMarker): also draw an arrow marker for
2796 symbolic lengths (medskip...)
2798 2003-02-14 John Levon <levon@movementarian.org>
2801 * tabular.C: better method names
2803 2003-02-14 John Levon <levon@movementarian.org>
2805 * BufferView_pimpl.C:
2810 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2811 it's a more accurate name. Remove some pointless uses.
2813 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2815 * text2.C (LyXText): change order of initilizers to shut off
2818 2003-02-14 John Levon <levon@movementarian.org>
2820 * buffer.C: use ParIterator for getParFromID()
2824 * paragraph_pimpl.h:
2825 * paragraph_pimpl.C: remove unused getParFromID()
2827 2003-02-14 John Levon <levon@movementarian.org>
2829 * buffer.C: remove some very old #if 0'd parse code
2831 2003-02-13 John Levon <levon@movementarian.org>
2835 * text2.C: move hfillExpansion(), numberOfSeparators(),
2836 rowLast(), rowLastPrintable(), numberofHfills(),
2837 numberOfLabelHfills() ...
2840 * lyxrow.C: ... to member functions here.
2845 * text.C: remove LyXText::beginningOfMainBody(), and call
2846 p->beginningOfMainBody() directly. Move the check for
2847 LABEL_MANUAL into the latter.
2854 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2860 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2861 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2863 2003-02-13 John Levon <levon@movementarian.org>
2865 * CutAndPaste.C: remove debug
2867 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2869 * paragraph.C (asString): remove two unused variables
2871 * lyxtextclass.C (readTitleType):
2873 (LyXTextClass): handle new members titletype_ and titlename_
2875 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2877 2003-02-09 John Levon <levon@movementarian.org>
2880 * buffer.C: replace hand-coded list with a map for the dep clean
2882 2003-02-08 John Levon <levon@movementarian.org>
2884 * LaTeX.C: consolidate code into showRunMessage() helper
2886 2003-02-08 John Levon <levon@movementarian.org>
2891 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2892 and pass the size in explicitly
2894 * BufferView_pimpl.h:
2895 * BufferView_pimpl.C:
2897 * BufferView.C: add getCurrentChange()
2899 * BufferView_pimpl.h:
2900 * BufferView_pimpl.C: handle change lfuns
2902 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2903 for changes. Mark pasted paragraphs as new.
2905 * support/lyxtime.h:
2906 * support/lyxtime.C:
2907 * DepTable.C: abstract time_t as lyx::time_type
2910 * LColor.C: add colours for new text, deleted text, changebars
2912 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2913 package use "usenames" option.
2917 * LyXAction.C: add change lfuns
2921 * author.C: author handling
2924 * buffer.C: add a per-buffer author list, with first entry as
2925 current author. Handle new .lyx tokens for change tracking. Output
2926 author list to .lyx file. Output dvipost stuff to .tex preamble.
2927 Bump lyx format to 222.
2930 * bufferlist.C: add setCurrentAuthor() to reset current author details
2934 * bufferparams.C: add param for tracking
2936 * bufferview_funcs.C: output change info in minibuffer
2940 * changes.C: add change-tracking structure
2943 * debug.C: add CHANGES debug flag
2946 * lyxfind.C: add code for finding the next change piece
2949 * lyxrc.C: add user_name and user_email
2952 * lyxrow.C: add a metric for the top of the text line
2955 * text.C: implement accept/rejectChange()
2958 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2959 Strike through deleted text.
2963 * paragraph_pimpl.h:
2964 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2965 to the insert functions. Rework erase to mark text as deleted, adding
2966 an eraseIntern() and a range-based erase(). Implement
2967 per-paragraph change lookup and accept/reject.
2969 * paragraph_funcs.C: Fixup paste for change tracking.
2971 * tabular.C: mark added row/columns as new.
2973 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2974 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2976 * text2.C: leave cursor at end of selection after a cut.
2978 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2980 * text.C (getLengthMarkerHeight):
2981 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2982 visible on screen too.
2984 2003-02-07 John Levon <levon@movementarian.org>
2986 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2988 2003-02-05 Angus Leeming <leeming@lyx.org>
2990 * lyxserver.C (read_ready): revert my patch of 11 September last year
2991 as it sends PC cpu through the roof. Presumably this means that
2992 the lyxserver will no longer run on an Alpha...
2994 2003-01-30 Angus Leeming <leeming@lyx.org>
2996 * factory.C (createInset): create an InsetCommandParam of type "index"
2997 and use it to 'do the right thing'.
2999 * text2.C (getStringToIndex): ensure that cursor position is always
3000 reset to the reset_cursor position.
3002 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3004 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3007 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3011 * lyxfunc.C: Output messages with identical spelling, punctuation,
3014 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3016 * MenuBackend.C (expandFormats): List only viewable export formats
3019 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3022 * lyxfunc.C (getStatus): Make sure that formats other than
3023 "fax" can also be disabled
3025 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3027 * text3.C (dispatch): put the lfuns that insert insets in 3
3028 groups, and call doInsertInset with appropriate arguments.
3029 (doInsertInset): new function, that creates an inset and inserts
3030 it according to some boolean parameters.
3032 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3034 * buffer.C (readFile): remember to pass on 'par' when calling
3035 readFile recursively.
3037 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3039 * MenuBackend.C (expandFormats): add "..." to import formats.
3041 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3043 * paragraph.C (asString): Remove XForms RTL hacks.
3045 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3046 * buffer.C: fix typo
3048 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3050 * Makefile.am (LIBS): delete var
3051 (lyx_LDADD): add @LIBS@ here instead.
3053 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3055 * Clarify the meaning of "wheel mouse jump"
3057 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3059 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3062 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3064 * importer.C (Loaders): do not preallocate 3 elements in the
3065 vector, since one ends up with 6 elements otherwise
3067 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3069 * DepTable.C (write): write the file name as last element of the
3070 .dep file (because it may contain spaces)
3071 (read): read info in the right order
3073 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3075 * paragraph_pimpl.C (simpleTeXBlanks):
3076 (simpleTeXSpecialChars):
3077 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3079 * tabular.C (latex): add some missing case statements. Reindent.
3081 * MenuBackend.C (expandToc): remove unused variable.
3083 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3092 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3095 2003-01-05 John Levon <levon@movementarian.org>
3098 * BufferView.C: add getEncoding()
3101 * kbsequence.C: do not store last keypress
3104 * lyxfunc.C: store last keypress here instead. Pass encoding
3107 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3109 * lyx_main.C (init): remove annoying error message when following
3110 symbolic links (bug #780)
3112 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3114 * text.C (insertChar):
3115 * lyxrc.C (getDescription): remove extra spaces
3117 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3119 * lyxrc.C (getDescription): remove extra spaces
3121 2002-12-20 John Levon <levon@movementarian.org>
3123 * text3.C: hack fix for page up/down across tall rows
3125 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3127 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3130 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3132 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3133 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3134 thesaurus is not compiled in
3136 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3138 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3140 2002-12-16 Angus Leeming <leeming@lyx.org>
3143 * lyx_main.C (init): remove override_x_deadkeys stuff.
3145 2002-12-12 John Levon <levon@movementarian.org>
3147 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3148 insert. Only remove shift modifier under strict
3151 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3153 * MenuBackend.C (expandToc): fix crash.
3155 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3157 * MenuBackend.C (expandToc): gettext on float names.
3159 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3161 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3162 implement bool empty() [bug 490]
3164 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3168 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * several files: ws changes
3172 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * text2.C (setCounter): clean up a bit, use boost.format.
3175 (updateCounters): initialize par upon declaration.
3177 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3178 if the layout exists. We do not just store the layout any more.
3179 (SwitchLayoutsBetweenClasses): use boost.format
3181 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3183 * converter.C (convert): if from and to files are the same, use a
3184 temporary files as intermediary
3186 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3189 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3191 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3193 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3195 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * tabular.C (asciiPrintCell): use string(size, char) instead of
3200 * sgml.C (openTag): fix order of arguments to string constructor
3203 * lyxfunc.C (dispatch): use boost.format
3205 * lots of files: change "c" -> 'c'
3207 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3209 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3211 2002-11-25 Angus Leeming <leeming@lyx.org>
3213 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3215 * lyx_main.C (init): compile fix.
3217 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * lyx_cb.C (start): boost.formatify
3220 do not include <iostream>
3222 * lengthcommon.C: ws only
3224 * boost-inst.C,BoostFormat.h: add more explict instantations
3226 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * lots of files: handle USE_BOOST_FORMAT
3230 2002-11-21 John Levon <levon@movementarian.org>
3232 * pspell.C: fix compile
3234 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3236 * lyxfunc.C (dispatch): use boost::format
3240 * lyxfont.C (stateText): use boost::format
3242 * lyx_main.C (LyX): use boost::format
3244 (queryUserLyXDir): ditto
3247 (typedef boost::function): use the recommened syntax.
3249 * importer.C (Import): use boost::format
3251 * debug.C (showLevel): use boost::format
3253 * converter.C (view): use boost::format
3258 * bufferview_funcs.C (currentState): use boost::format
3260 * bufferlist.C (emergencyWrite): use boost::format
3262 * buffer.C (readLyXformat2): use boost::format
3263 (parseSingleLyXformat2Token): ditto
3265 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3267 * LaTeX.C (run): use boost::format
3269 * Chktex.C (scanLogFile): use boost::format
3271 * BufferView_pimpl.C (savePosition): use boost::format
3272 (restorePosition): ditto
3273 (MenuInsertLyXFile): ditto
3275 * BoostFormat.h: help file for explicit instation.
3277 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3279 * tabular.C (latex): Support for block alignment in fixed width
3282 2002-11-17 John Levon <levon@movementarian.org>
3284 * BufferView_pimpl.C:
3286 * lyxfunc.C: split filedialog into open/save
3288 2002-11-08 Juergen Vigna <jug@sad.it>
3290 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3291 by my last patch (hopefully).
3293 2002-11-08 John Levon <levon@movementarian.org>
3302 * toc.C: ParConstIterator, and use it (from Lars)
3304 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3306 * lyxtextclass.[Ch]: revise and add doxygen comments
3308 2002-11-07 John Levon <levon@movementarian.org>
3310 * text.C: fix progress value for spellchecker
3312 * toc.C: fix navigate menu for insetwrap inside minipage
3314 * paragraph_funcs.C: added FIXME for suspect code
3316 2002-11-07 John Levon <levon@movementarian.org>
3318 * BufferView_pimpl.C: fix redrawing of insets
3321 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3323 * text2.C (updateCounters): fix bug 668
3325 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3327 * text3.C (dispatch): Do not make the buffer dirty when moving the
3330 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3332 * vc-backend.C: STRCONV
3335 * text2.C (setCounter): STRCONV
3337 * paragraph.C (asString): STRCONV
3339 * lyxlength.C (asString): STRCONV
3340 (asLatexString): ditto
3342 * lyxgluelength.C (asString): STRCONV
3343 (asLatexString): ditto
3345 * lyxfunc.C (dispatch): STRCONV
3348 * lyxfont.C (stateText): STRCONV
3350 * importer.C (Import): STRCONV
3352 * counters.C (labelItem): STRCONV
3353 (numberLabel): ditto
3354 (numberLabel): remove unused ostringstream o
3359 * bufferview_funcs.C (currentState): STRCONV
3361 * buffer.C (readFile): STRCONV
3362 (asciiParagraph): ditto
3363 (makeLaTeXFile): ditto
3365 * Spacing.C (writeEnvirBegin): STRCONV
3367 * LaTeXFeatures.C (getLanguages): STRCONV
3368 (getPackages): ditto
3370 (getBabelOptions): ditto
3371 (getTClassPreamble): ditto
3372 (getLyXSGMLEntities): ditto
3373 (getIncludedFiles): ditto
3377 (scanAuxFile): ditto
3380 * LString.h: add the STRCONV macros
3382 * BufferView_pimpl.C (savePosition): STRCONV
3383 (restorePosition): ditto
3384 (MenuInsertLyXFile): ditto
3386 * vc-backend.C (scanMaster): change from submatch[...] to
3389 * funcrequest.C: include config.h
3391 * factory.C: include config.h
3393 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3395 * box.C: include config.h
3397 * LaTeX.C (scanAuxFile): change from submatch[...] to
3401 2002-10-25 Angus Leeming <leeming@lyx.org>
3403 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3405 * ispell.[Ch] (setError): new method.
3406 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3407 Use setError() insetead of goto END.
3409 * lyx_cb.C (AutoSave): move out child process into new class
3412 2002-10-30 John Levon <levon@movementarian.org>
3414 * text3.C: make start appendix undoable
3416 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3418 * lyxlength.C (inPixels): Fix returned value.
3420 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3423 2002-10-24 Angus Leeming <leeming@lyx.org>
3425 * lyxgluelength.h: no need to forward declare BufferParams
3426 or BufferView, so don't.
3428 2002-10-21 John Levon <levon@movementarian.org>
3430 * BufferView.C: menuUndo ->undo, redo
3432 * BufferView.h: document, remove dead, make some methods private
3434 * paragraph_funcs.h:
3435 * paragraph_funcs.C:
3436 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3441 * sgml.C: move sgml open/close tag into sgml.C
3443 * bufferview_funcs.h: unused prototype
3446 * lyxfunc.C: remove unused
3449 * text.C: remove unused
3451 2002-10-21 John Levon <levon@movementarian.org>
3455 * BufferView_pimpl.h:
3456 * BufferView_pimpl.C: fix mouse wheel handling based on
3457 patch from Darren Freeman
3459 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3461 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3463 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3465 * lyxlength.C (inPixels): Fix hanfling of negative length.
3466 Fix LyXLength::MU case.
3468 2002-10-16 John Levon <levon@movementarian.org>
3470 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3472 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3474 * converter.C (view): add support for $$i (file name) and $$p
3475 (file path) for the viewer command. If $$i is not specified, then
3476 it is appended to the command (for compatibility with old syntax)
3478 2002-10-14 Juergen Vigna <jug@sad.it>
3480 * undo_funcs.C (textHandleUndo): alter the order in which the
3481 new undopar is added to the LyXText, as we have to set first
3482 the right prev/next and then add it as otherwise the rebuild of
3483 LyXText is not correct. Also reset the cursor to the right paragraph,
3484 with this IMO we could remove the hack in "redoParagraphs()".
3486 2002-10-09 Angus Leeming <leeming@lyx.org>
3488 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3489 to turn off an optimisation if a new inset is to be inserted.
3491 2002-10-11 André Pönitz <poenitz@gmx.net>
3493 * lyxtext.h: make some functions public to allow access
3494 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3496 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3498 * text3.C (dispatch): when changing layout, avoid an infinite loop
3501 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3503 * lyxrc.C (read): treat a viewer or converter command of "none" as
3506 * MenuBackend.C (expandFormats): for an update, also allow the
3507 formats that are not viewable
3509 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3510 script if it is newer than the lyxrc.defaults in user directory
3512 2002-10-07 André Pönitz <poenitz@gmx.net>
3514 * text.C: Vitaly Lipatov's small i18n fix
3516 2002-09-25 Angus Leeming <leeming@lyx.org>
3518 * ispell.h: doxygen fix.
3520 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3522 * buffer.h (readFile): Add a new argument to the method, to allow
3523 reading of old-format templates.
3525 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3527 * toc.C (getTocList): Get TOC from InsetWrap.
3529 2002-09-16 John Levon <levon@movementarian.org>
3531 * lyxfunc.C: check tabular for cut/copy too
3533 2002-09-12 John Levon <levon@movementarian.org>
3538 * factory.C: add header
3540 * paragraph_funcs.h:
3541 * paragraph_funcs.C: cleanup
3543 2002-09-11 John Levon <levon@movementarian.org>
3545 * PrinterParams.h: odd/even default to true
3547 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3549 * PrinterParams.h: update printer parameters for new xforms dialog
3551 2002-09-11 Angus Leeming <leeming@lyx.org>
3553 * lyxserver.C (read_ready): re-write to make it more transparent
3554 and to make it work in coherent fashion under Tru64 Unix.
3556 2002-09-11 André Pönitz <poenitz@gmx.net>
3560 * text3.C: implement LFUN_WORDSEL
3562 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3564 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3565 make floatlist_ a boost::shared_ptr<FloatList>
3567 * lyxtextclass.C: include FloatList.h
3568 (LyXTextClass): initialize floatlist_
3569 (TextClassTags): add TC_NOFLOAT
3570 (Read): match "nofloat" to TC_NOFLOAT and use it.
3571 (readFloat): modify call to floatlist_
3575 * FloatList.[Ch] (FloatList): remove commented out float
3577 (erase): new function
3579 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3581 * MenuBackend.C (expandToc): fix crash when there is no document
3584 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3586 * many files: Add insetwrap.
3588 2002-09-09 John Levon <levon@movementarian.org>
3590 * text2.C: remove confusing and awkward depth wraparound
3592 2002-09-09 John Levon <levon@movementarian.org>
3594 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3597 * buffer.C: remove getIncludeonlyList()
3600 * lyxfunc.C: remove headers
3602 2002-09-09 Juergen Vigna <jug@sad.it>
3604 * text.C (getColumnNearX): fix form Michael this is most
3605 probably a cut&paste bug.
3607 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3611 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3612 references, ws changes.
3614 * text2.C (init): update counters after init
3615 (insertParagraph): no need to set counter on idividual paragraphs.
3616 (setCounter): access the counters object in the textclass object
3617 on in the buffer object.
3618 (updateCounters): ditto
3620 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3621 shared_ptr<Counters> to avoid loading counters.h in all
3623 (LyXTextClass): initialize ctrs_
3624 (TextClassTags): add TC_COUNTER, and ...
3625 (Read): use it here.
3626 (CounterTags): new tags
3627 (readCounter): new function
3628 (counters): new funtion
3629 (defaultLayoutName): return a const reference
3631 * counters.C (Counters): remove contructor
3632 (newCounter): remove a couple of unneeded statements.
3633 (newCounter): simplify a bit.
3634 (numberLabel): some small formatting changes.
3636 * buffer.[Ch]: remove all traces of counters, move the Counters
3637 object to the LyXTextClass.
3639 2002-09-06 Alain Castera <castera@in2p3.fr>
3641 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3642 package to set the horizontal alignment on fixed width columns.
3645 * lyx_sty.h: added tabularnewline macro def.
3647 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3649 2002-09-06 John Levon <levon@movementarian.org>
3651 * LyXAction.C: tooltips for sub/superscript
3653 * MenuBackend.C: a bit more verbose
3655 * lyxfunc.C: tiny clean
3657 * undo_funcs.C: document undo_frozen
3659 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3661 * counters.C (Counters): add missing algorithm counter.
3663 * text2.C (setCounter): lookup the counter with layouts latexname
3664 instead of by section number.
3665 (setCounter): use a hackish way to lookup the correct enum
3667 a float name->type change
3668 reset enum couners with counter name directly instead of depth value.
3670 * counters.C (Counters): remove the push_backs, change to use the
3671 float type not the float name.
3672 (labelItem): remove unused string, float name->type change
3674 * counters.h: don't include vector, loose the enums and sects vectors
3676 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3678 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3679 (Read): add float->TC_FLOAT to textclassTags
3680 (Read): and handle it in the switch
3681 (readFloat): new function
3683 * FloatList.C (FloatList): comment out the hardcoded float
3686 * lyxlayout.h: ws change.
3688 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3690 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3692 2002-09-03 Angus Leeming <leeming@lyx.org>
3694 * BufferView_pimpl.h: qualified name is not allowed in member
3695 declaration: WorkArea & Pimpl::workarea() const;
3697 * factory.C: added using std::endl directive.
3699 * text3.C: added using std::find and std::vector directives.
3701 2002-08-29 André Pönitz <poenitz@gmx.net>
3704 * text2.C: remove unused member number_of_rows
3707 * BufferView2.C: remove file, move contents to...
3708 * BufferView.C: ... here
3710 * BufferView_pimpl.C:
3711 * factory.C: move more inset creation to factory
3713 * vspace.C: avoid direct usage of LyXText, ws changes
3716 don't provide direct access to WorkArea, use two simple
3717 acessors haveSelction() and workHeight() instead
3720 2002-08-29 John Levon <levon@movementarian.org>
3722 * BufferView_pimpl.C (dispatch): do not continue when
3725 2002-08-28 André Pönitz <poenitz@gmx.net>
3727 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3730 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3732 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3734 * buffer.C: increment LYX_FORMAT to 221
3736 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3737 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3739 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3741 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3743 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3745 * factory.C (createInset): use LyXTextClass::floats
3747 * MenuBackend.C (expandFloatListInsert):
3748 (expandFloatInsert):
3751 * text2.C (setCounter):
3753 * LaTeXFeatures.C (useFloat):
3754 (getFloatDefinitions):
3756 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3758 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3759 floatlist_, with accessor floats().
3761 * FloatList.h: remove global FloatList
3763 2002-08-26 André Pönitz <poenitz@gmx.net>
3765 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3769 * BufferView_pimpl.C:
3770 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3772 2002-08-25 John Levon <levon@movementarian.org>
3774 * LyXAction.C: fix margin note description
3776 2002-08-24 John Levon <levon@movementarian.org>
3780 * bufferview_funcs.C:
3782 * undo_funcs.C: cleanups
3784 * lyxfunc.C: disable CUT/COPY when no selection
3786 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3788 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3789 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3791 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3792 Add backward compatibility to "mono", "gray" and "no".
3794 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3796 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3797 (and file_format >= 200).
3799 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3801 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3803 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3805 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3807 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3809 * BufferView_pimpl.C:
3816 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3817 inset and code to make it work with the paragraph code. The inset
3818 can be anywhere in the paragraph, but will only do the expected
3819 thing in LaTeX if the layout file contains the parameter line
3821 (or more generally, a nonzero value) for that layout.
3823 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * paragraph.h: remove the declaration of undefined counters class
3828 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3830 * text2.C (setCounter): fixed enumeration mis-count as reported by
3831 Dr. Richard Hawkins.
3833 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3835 * paragraph_funcs.h: remove some unneeded includes
3837 * text.C (backspace): pasteParagraph now in global scipe
3839 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3840 (pasteSelection): ditto
3842 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3843 * paragraph_funcs.C (pasteParagraph): ... here
3845 2002-08-20 André Pönitz <poenitz@gmx.net>
3847 * commandtags.h: new LFUNs for swapping/copying table row/colums
3850 * lyxfunc.C: support for new lfuns
3852 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3855 * buffer.[Ch]: remove NO_COMPABILITY stuff
3857 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3859 * boost.C (throw_exception): new file, with helper function for
3860 boost compiled without exceptions.
3865 * ParameterStruct.h:
3866 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3868 * bufferlist.C (emergencyWriteAll): use boost bind
3870 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3872 * text.C: include paragraph_funcs.h
3873 (breakParagraph): breakParagraph is now in global scope
3875 * paragraph_funcs.[Ch]: new files
3877 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3880 * buffer.C: include paragraph_funcs.h
3881 (insertStringAsLines): breakParagraph is now in global scope
3883 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3886 * CutAndPaste.C: include paragraph_funcs.h
3887 (cutSelection): breakParagraphConservative is now in global scope
3888 (pasteSelection): ditto
3890 * buffer.h: declare oprator== and operator!= for
3891 Buffer::inset_iterator
3893 * bufferlist.C (emergencyWrite): don't use fmt(...)
3895 * text3.C: add using std::endl
3897 * BufferView.C (moveCursorUpdate): remove default arg
3899 2002-08-20 André Pönitz <poenitz@gmx.net>
3901 * buffer.[Ch]: move inline functions to .C
3904 * BufferView_pimpl.C:
3906 * buffer.[Ch]: use improved inset_iterator
3909 * paragraph.[Ch]: write one paragraph at a time
3911 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3913 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3914 style if style is not specified.
3916 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3918 * text2.C (setCounter): when searching for right label for a
3919 caption, make sure to recurse to parent insets (so that a caption
3920 in a minipage in a figure float works) (bug #568)
3922 2002-08-20 André Pönitz <poenitz@gmx.net>
3924 * text3.C: new file for LyXText::dispatch() and helpers
3926 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3928 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3930 2002-08-19 André Pönitz <poenitz@gmx.net>
3933 * text.C: new LyXText::dispatch()
3935 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3937 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3939 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3941 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3944 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3946 * Makefile.am: use $(variables) instead of @substitutions@
3948 2002-08-15 André Pönitz <poenitz@gmx.net>
3951 * BufferView_pimpl.C: streamlining mathed <-> outer world
3955 * LyXAction.C: remove unused LFUN_MATH
3957 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3959 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3961 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3963 * paragraph.C (Paragraph): reformat a bit
3964 (cutIntoMinibuffer): use builtin InsetList function instad of
3968 * buffer.C: include boost/bind.hpp, add using std::for_each
3969 (writeFileAscii): use ParagraphList iterators
3970 (validate): use for_each for validate traversal of paragraphs
3971 (getBibkeyList): use ParagraphList iterators
3972 (resizeInsets): use for_each to resizeInsetsLyXText for all
3974 (getParFromID): use ParagraphList iterators
3976 * BufferView2.C (lockInset): use paragraph list and iterators
3978 2002-08-14 John Levon <levon@movementarian.org>
3980 * lyxserver.C: remove spurious xforms include
3982 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3984 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3986 2002-08-13 André Pönitz <poenitz@gmx.net>
3989 * lyxfunc.C: further cleaning
3991 2002-08-13 André Pönitz <poenitz@gmx.net>
3993 * funcrequest.h: new constructor
3995 * funcrequest.C: move stuff here from .h
3998 * BufferView_pimpl.C:
4001 * lyxfunc.C: subsequent changes
4003 * lyxfunc.h: new view() member function
4005 * lyxfunc.C: subsequent changes
4007 2002-08-13 Angus Leeming <leeming@lyx.org>
4010 * BufferView_pimpl.C:
4018 changes due to the changed LyXView interface that now returns references
4019 to member variables not pointers.
4021 2002-08-13 Angus Leeming <leeming@lyx.org>
4023 * WordLangTuple (word, lang_code): return references to strings,
4028 * lyxtext.h: forward-declare WordLangTuple.
4033 * text.C: #include "WordLangTuple.h".
4036 * text.C: (selectNextWordToSpellcheck): constify return type.
4038 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4044 * paragraph_pimpl.h:
4047 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4049 Made updateCounter always count from start of buffer, and removed
4050 second argument (par).
4051 Reverted floats number display to '#'. Perhaps I'll try again when the
4052 code base is sanitized a bit.
4054 2002-08-12 Angus Leeming <leeming@lyx.org>
4056 * buffer.[Ch] (getLabelList): constify.
4058 2002-08-07 André Pönitz <poenitz@gmx.net>
4060 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4062 * funcrequest.h: extension to keep mouse (x,y) position
4064 2002-08-12 Juergen Vigna <jug@sad.it>
4066 * BufferView2.C (insertErrors): forbid undo when inserting error
4069 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4071 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4073 * ParagraphList.[Ch]: new files
4075 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4077 * BufferView2.C (lockInset): ParagraphList changes
4080 * bufferlist.C: ditto
4084 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4086 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4087 unused class variable counter_,
4089 * paragraph.[Ch] (getFirstCounter): delete unused function
4091 * counters.C: include LAssert.h
4092 (reset): add a new function with no arg, change other version to
4093 not have def. arg and to not allow empty arg.
4095 * text2.C (setCounter): remove empty arg from call to Counters::reset
4097 2002-08-11 John Levon <levon@movementarian.org>
4099 * Makefile.am: add WordLangTuple.h
4101 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4104 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4106 * insets/insettext.C: InsetList changes
4108 * graphics/GraphicsSupport.C (operator()): InsetList changes
4110 * toc.C (getTocList): InsetList changes
4112 * paragraph_pimpl.[Ch]: InsetList changes
4114 * paragraph.[Ch]: InsetList changes
4116 * buffer.C (inset_iterator): InsetList changes
4117 (setParagraph): ditto
4118 * buffer.h (inset_iterator): ditto
4119 * iterators.C (operator++): ditto
4120 * iterators.h: ditto
4122 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4124 * InsetList.[Ch]: new files, most InsetList handling moved out of
4127 * BufferView2.C (removeAutoInsets): InsetList changes
4129 (ChangeInsets): ditto
4131 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4133 * paragraph_pimpl.h (empty): new function
4135 * paragraph.[Ch] (empty): new function
4137 * other files: use the new Paragraph::empty function
4139 2002-08-09 John Levon <levon@movementarian.org>
4141 * lyxtext.h: remove unused refresh_height
4143 2002-08-09 John Levon <levon@movementarian.org>
4150 * paragraph.C: move sgml char escaping out of paragraph
4153 * paragraph.C: remove id setter
4157 * paragraph_pimpl.C: remove dead tex_code_break_column
4159 * bufferview_funcs.C: small cleanup
4161 * lyxfunc.C: remove dead proto
4163 * lyxtext.h: make some stuff private. Remove some dead stuff.
4165 * lyxgluelength.C: make as[LyX]String() readable
4167 2002-08-08 John Levon <levon@movementarian.org>
4172 * ToolbarDefaults.C:
4175 * toc.C: lyxaction cleanup
4177 2002-08-08 John Levon <levon@movementarian.org>
4179 * BufferView2.C: small cleanup
4182 * lyxfind.C: move unnecessary header into the .C
4184 2002-08-08 John Levon <levon@movementarian.org>
4186 * funcrequest.h: just tedious nonsense
4189 * lyx_main.C: cleanups
4192 * vspace.C: remove dead header lyx_main.h
4194 2002-08-07 Angus Leeming <leeming@lyx.org>
4197 * paragraph_pimpl.h:
4198 Forward declare class Counters in paragraph.h by moving the ctrs member
4199 variable into Paragraph::Pimpl.
4200 (counters): new method, returning a reference to pimpl_->ctrs.
4202 * text2.C: ensuing changes.
4204 2002-08-07 John Levon <levon@movementarian.org>
4206 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4208 * BufferView_pimpl.C: announce X selection on double/triple
4211 * lyx_main.C: use correct bool in batch dispatch
4213 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4215 2002-08-07 André Pönitz <poenitz@gmx.net>
4217 * funcrequest.h: new class to wrap a kb_action and its argument
4220 * BufferView_pimpl[Ch]:
4224 * lyxrc.C: subsequent changes
4227 2002-08-07 John Levon <levon@movementarian.org>
4229 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4230 document options change.
4232 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4237 * makefile.am: move counters functionality over from
4238 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4240 2002-08-06 John Levon <levon@movementarian.org>
4242 * WordLangTuple.h: new file for word + language code tuple
4253 * BufferView2.C: use WordLangTuple
4256 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4258 2002-08-06 John Levon <levon@movementarian.org>
4260 * lyx_main.C: fix cmdline batch handling
4262 2002-08-06 André Pönitz <poenitz@gmx.net>
4264 * lyxrc.C: set default for show_banner to true
4266 2002-08-06 John Levon <levon@movementarian.org>
4268 * pspell.C: fix a crash, and allow new aspell to work
4270 2002-08-06 John Levon <levon@movementarian.org>
4273 * kbmap.C: small cleanup
4276 * vspace.C: add const
4278 2002-08-05 John Levon <levon@movementarian.org>
4280 * LyXAction.C: back to tabular-insert
4282 2002-08-04 John Levon <levon@movementarian.org>
4285 * BufferView.C: cosmetic change
4287 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4297 * BufferView2.C: purge all "Lyx" not "LyX" strings
4300 * lyxcursor.C: attempt to add some documentation
4305 * ToolbarDefaults.C:
4306 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4307 merge with LFUN_TABULAR_INSERT
4314 * pspell.C: split up i/pspell implementations into separate
4315 files, many cleanups
4317 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4319 * text2.C: some cleanup
4321 * lyxfunc.C: don't check for isp_command == "none" any more, it
4322 didn't make any sense
4324 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4329 * makefile.am: move counters functionality over
4330 from text2.C/paragraph.[Ch] to counters.[Ch], and
4332 2002-08-02 John Levon <levon@movementarian.org>
4334 * buffer.C: s/lyxconvert/lyx2lyx/
4336 2002-08-02 Angus Leeming <leeming@lyx.org>
4338 * lyxlex.C: revert John's change as it breaks reading of the user
4341 2002-08-02 Angus Leeming <leeming@lyx.org>
4343 * importer.C (Import):
4344 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4345 changes due to LyXView::view() now returning a boost::shared_ptr.
4347 2002-08-02 John Levon <levon@movementarian.org>
4349 * lyxlex.C: small cleanup
4351 2002-08-02 John Levon <levon@movementarian.org>
4353 * text2.C (status): small cleanup, no logic change
4355 2002-08-01 John Levon <levon@movementarian.org>
4358 * buffer.C (writeFile): don't output alerts, caller
4362 * lyx_cb.C: from above
4364 * lyxfunc.C: allow to open non-existent files
4366 2002-07-31 John Levon <levon@movementarian.org>
4368 * lyxserver.C: don't let incidental errors get
4371 2002-07-30 John Levon <levon@movementarian.org>
4373 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4375 2002-07-30 John Levon <levon@movementarian.org>
4378 * lyxserver.C: remove I/O callback too
4380 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4382 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4385 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4387 * many files: strip,frontStrip -> trim,ltrim,rtrim
4389 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4391 * PrinterParams.h: remove extern containsOnly, and include
4392 support/lstrings.h instead.
4394 * LaTeX.C (scanAuxFile): modify because of strip changes
4396 * buffer.C (makeLaTeXFile): ditto
4397 * bufferparams.C (writeFile): ditt
4398 * lyxfont.C (stateText): ditto
4399 * lyxserver.C (read_ready): ditto
4400 * vc-backend.C (scanMaster): ditto
4402 * BufferView_pimpl.h: ws changes
4404 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4406 2002-07-26 André Pönitz <poenitz@gmx.net>
4408 * kb_sequence.C: remove unnedred usings
4410 2002-07-26 Juergen Vigna <jug@sad.it>
4412 * lyxfind.C (LyXReplace): we have to check better if the returned
4413 text is not of theLockingInset()->getLockingInset().
4415 2002-07-25 Juergen Vigna <jug@sad.it>
4417 * lyxfind.C (LyXReplace): don't replace if we don't get the
4420 * undo_funcs.C (createUndo): remove debugging code.
4422 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4424 * buffer.C (parseSingleLyXformat2Token): Use default placement
4425 when reading old floats.
4427 * FloatList.C (FloatList): Change the default placement of figure
4428 and tables to "tbp".
4430 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4432 * MenuBackend.C: using std::max
4434 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4436 * MenuBackend.C (expandToc):
4437 (expandToc2): code moved from xforms menu frontend. It is now
4438 generic and TOCs are transparent to menu frontends.
4440 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4442 * toc.C (getTocList): protect against buf=0
4444 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4445 Menu as first parameter. Now, this calls itself recursively to
4446 expand a whole tree (this will be useful for TOC handling)
4447 (expandFloatInsert): remove 'wide' version of floats
4449 * MenuBackend.h (submenuname): returns the name of the submenu.
4450 (submenu): returns the submenu itself, provided it has been
4451 created by MenuBackend::expand
4453 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4455 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4456 insets which have noFontChange == true. (bug #172)
4458 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4460 * BufferView_pimpl.C: add connection objects and use them...
4463 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4465 * MenuBackend.C (expandLastfiles):
4468 (expandFloatListInsert):
4469 (expandFloatInsert):
4470 (expand): split expand in parts
4472 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4474 * lyx_gui.C: use lyx_gui::exit()
4476 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4478 * LyXAction.C: show the failing pseudo action
4480 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4482 * buffer.C (readFile): Run the lyxconvert script in order to read
4485 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4489 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4491 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4495 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4497 2002-07-22 Herbert Voss <voss@lyx.org>
4500 * lyxlength.[Ch]: add support for the vertical lengths
4502 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4504 * toc.[Ch]: std:: fixes
4506 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4508 * lyxrc.C: do not include lyx_main.h
4510 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4516 * BufferView2.C: include "lyxlex.h"
4519 * bufferparams.h: do not #include "lyxlex.h"
4521 * lyxtextclasslist.C (Add): remove method
4522 (classlist): renamed to classlist_
4524 * paragraph_pimpl.C:
4528 * bufferview_funcs.C:
4533 * toc.C (getTocList): use BufferParams::getLyXTextClass
4535 * toc.C (getTocList): use InsetFloat::addToToc
4537 * toc.[Ch]: new files, containing helper functions to handle table
4540 * lyxfunc.C (dispatch): no need to remove spaces around command
4542 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4543 first command of the sequence; it is not very clever, but I do not
4544 have a better idea, actually
4546 * LyXAction.C (LookupFunc): make sure to remove space at the
4547 beginning and end of the command
4549 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4551 * MenuBackend.C (getMenubar): new method: return the menubar of
4553 (read): treat differently reading of menu and menubar (in
4554 particular, the menubar has no name now)
4555 (Menu::menubar): remove
4557 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4560 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4562 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4563 a bibitem inset in a RTL paragraph.
4565 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4567 * paragraph_pimpl.C: constify
4569 * BufferView_pimpl.C:
4571 * lyxfunc.C: fix dispatch in a nicer way
4573 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4575 * lyxfunc.C (dispatch):
4576 * BufferView_pimpl.C:
4577 * BufferView_pimpl.h:
4579 * BufferView.h: rename Dispatch() to dispatch()
4581 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4583 * lyxlayout.C (Read): honor DependsOn tag
4585 * lyxlayout.[Ch] (depends_on): new method
4587 * version.C.in: update lyx_docversion
4589 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4591 * paragraph.C (validate): remove from here...
4592 * paragraph_pimpl.C (validate): ... and move here
4593 (isTextAt): make it const
4595 * buffer.C (getLists): ws cleanup
4597 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4599 * language.C (read): Use iso8859-1 encoding in latex_lang
4600 (this prevents LyX from crashing when using iso10646-1 encoding).
4602 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4604 * text2.C (toggleInset): if cursor is inside an inset, close the
4605 inset and leave cursor _after_ it
4607 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4609 * lyxfunc.C: move minibuffer completion handling out of here
4611 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4613 * BufferView_pimpl.C:
4614 * LaTeX.C: fix dispatch calls
4616 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4618 * text.C (drawChars): Fix Arabic text rendering.
4620 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4624 * lyxfunc.C: remove message-push/pop
4628 * lyxfunc.C: rationalise some code by removing verboseDispatch
4629 in favour of a bool argument to dispatch()
4631 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4633 * lyx_main.C (init): make sure to read symlinks as absolute paths
4635 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4638 * lyxfunc.C: no need for commandshortcut to be a member
4640 2002-07-15 André Pönitz <poenitz@gmx.net>
4642 * converter.C: add support for $$s (scripts from lib/scripts dir)
4643 * lyx_main.C: white space
4645 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4649 * lyxrc.C: remove second exit confirmation
4651 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4656 * BufferView_pimpl.h:
4657 * BufferView_pimpl.C:
4658 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4660 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4662 * MenuBackend.C (expand): add numeric shortcuts to document menu
4664 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4666 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4668 * lyxfont.C (setLyXFamily):
4675 * buffer.C (asciiParagraph): use ascii_lowercase
4677 2002-07-15 Mike Fabian <mfabian@suse.de>
4679 * lyxlex_pimpl.C (search_kw):
4680 * lyxlex.C (getLongString):
4681 * converter.h (operator<):
4682 * converter.C (operator<):
4683 * buffer.C (parseSingleLyXformat2Token):
4685 * ToolbarDefaults.C (read):
4686 * MenuBackend.C (checkShortcuts):
4688 * LColor.C (getFromGUIName):
4689 (getFromLyXName): use the compare_ascii_no_case instead of
4690 compare_no_case, because in turkish, 'i' is not the lowercase
4691 version of 'I', and thus turkish locale breaks parsing of tags.
4693 2002-07-16 Angus Leeming <leeming@lyx.org>
4695 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4696 now takes a Buffer const & argument.
4698 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4700 * BufferView.C (resize): check there's a buffer to resize
4702 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4704 * lyxfunc.C: remove dead code
4707 * lyxserver.C: use lyx_guii::set_read_callback
4709 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4711 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4712 an inset in a RTL paragraph.
4714 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4716 * lyxfunc.C: repaint after a font size update
4718 2002-07-15 André Pönitz <poenitz@gmx.net>
4720 * lyxlength.C: inBP should be able to return negative values
4722 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4724 * lyxfunc.C: use lyx_gui::update_fonts()
4726 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4728 * lyxfunc.C: use lyx_gui::update_color()
4730 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4736 * lyxrc.C: remove file->new asks for name option, and let
4737 buffer-new take an argument
4739 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4741 * BufferView_pimpl.C: remove unneeded extra repaint()
4743 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4745 * LyXAction.C: allow command-sequence with NoBuffer
4747 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4749 2002-07-10 Angus Leeming <leeming@lyx.org>
4751 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4753 2002-07-09 Angus Leeming <leeming@lyx.org>
4755 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4757 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4759 * lengthcommon.h: whitespace
4761 * lyxfunc.C: update scrollbar after goto paragraph
4763 * lyxtext.h: factor out page break drawing, and fix it so
4764 page break/added space paints as selected nicely
4766 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4768 * BufferView_pimpl.C: add FIXMEs, clean up a little
4770 2002-07-09 André Pönitz <poenitz@gmx.net>
4772 * lyxfont.[Ch]: support for wasy symbols
4774 2002-07-08 André Pönitz <poenitz@gmx.net>
4776 * BufferView_pimpl.C: apply John's patch for #93.
4778 2002-07-05 Angus Leeming <leeming@lyx.org>
4780 * BufferView_pimpl.C (buffer): generate previews if desired.
4782 * LColor.h: add "preview" to the color enum.
4784 * LColor.C (LColor): add a corresponding entry to the items array.
4786 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4789 2002-07-05 Angus Leeming <leeming@lyx.org>
4791 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4792 The body of the code is now in the method that is passed an ostream &
4793 rather than a file name.
4794 Pass an additional only_preamble parameter, useful for the forthcoming
4797 2002-07-03 André Pönitz <poenitz@gmx.net>
4799 * lyxfunc.C: simplify getStatus() a bit for math stuff
4801 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4803 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4805 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4807 * text.C (changeRegionCase): do not change case of all the
4808 document when region ends at paragraph end (bug #461)
4810 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4812 * paragraph.C (startTeXParParams):
4813 (endTeXParParams): add \protect when necessary
4815 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4817 * BufferView_pimpl.C (workAreaExpose): remove warning
4819 2002-06-27 Angus Leeming <leeming@lyx.org>
4821 * Makefile.am: add lyxlayout_ptr_fwd.h.
4823 2002-06-26 André Pönitz <poenitz@gmx.net>
4825 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4827 2002-06-25 Angus Leeming <leeming@lyx.org>
4829 * lyxfunc.C (dispatch): Comment out the call to
4830 grfx::GCache::changeDisplay. The method no longer exists now that the
4831 pixmap generation part of the graphics loader has been moved into
4834 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4836 * text2.C: layout as layout
4838 * text.C: layout as layout
4840 * tabular.C (OldFormatRead): layout as layout
4842 * paragraph_pimpl.C (TeXDeeper): layout as layout
4843 (realizeFont): layout as layout
4845 * paragraph.C (writeFile): layout as layout
4846 (validate): layout as layout
4847 (getFont): layout as layout
4848 (getLabelFont): layout as layout
4849 (getLayoutFont): layout as layout
4850 (breakParagraph): layout as layout
4851 (stripLeadingSpaces): layout as layout
4852 (getEndLabel): layout as layout
4853 (getMaxDepthAfter): layout as layout
4854 (applyLayout): layout as layout
4855 (TeXOnePar): layout as layout
4856 (simpleTeXOnePar): layout as layout
4857 (TeXEnvironment): layout as layout
4858 (layout): layout as layout
4859 (layout): layout as layout
4861 * lyxtextclass.C (compare_name): new functor to work with
4862 shared_ptr, layout as layout
4863 (Read): layout as layout
4864 (hasLayout): layout as layout
4865 (operator): layout as layout
4866 (delete_layout): layout as layout
4867 (defaultLayout): layout as layout
4869 * lyxlayout_ptr_fwd.h: new file
4871 * lyxlayout.C (Read): layout as layout
4873 * lyx_cb.C (MenuInsertLabel): layout as layout
4875 * bufferlist.C (newFile): layout as layout
4877 * buffer.C (readLyXformat2): layout as layout
4878 (parseSingleLyXformat2Token): layout as layout
4879 (insertStringAsLines): layout as layout
4880 (asciiParagraph): layout as layout
4881 (latexParagraphs): layout as layout
4882 (makeLinuxDocFile): layout as layout
4883 (simpleLinuxDocOnePar): layout as layout
4884 (makeDocBookFile): layout as layout
4885 (simpleDocBookOnePar): layout as layout
4886 (getLists): layout as layout
4888 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4890 * CutAndPaste.C (cutSelection): layout as layout
4891 (pasteSelection): layout as layout
4892 (SwitchLayoutsBetweenClasses): layout as layout
4894 * BufferView_pimpl.C (Dispatch): layout as layout
4895 (smartQuote): layout as layout
4897 * BufferView2.C (unlockInset): layout as layout
4899 2002-06-24 André Pönitz <poenitz@gmx.net>
4901 * lyxfunc.C: fix #487
4903 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4907 * lyxfunc.C: remove display_shortcuts, show_banner
4909 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4911 * Buffer_pimpl.C: oops, update on resize
4913 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4920 * BufferView.C: use repaint()
4922 * BufferView_pimpl.h:
4923 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4924 as it's a clearer description. Remove superfluous
4927 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4929 * text.C: fix bug 488. Not ideal, but getting
4930 getWord() to work properly for the insets that
4931 matter is more difficult ...
4933 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4935 * BufferView_pimpl.C:
4938 * lyxfunc.C: remove the six million index lyxfuncs to just
4939 one, and DTRT (bug 458)
4941 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4945 * BufferView_pimpl.h:
4946 * BufferView_pimpl.C: clean up resize() stuff,
4947 and unnecessary updateScreen()s
4949 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4953 * BufferView_pimpl.h:
4954 * BufferView_pimpl.C:
4957 * minibuffer.C: remove focus management of workarea,
4958 not needed. Use screen's greyOut()
4960 2002-06-17 Herbert Voss <voss@lyx.org>
4962 * converter.C: (convert) do not post a message, when converting
4963 fails, let the calling function decide what to do in this case
4965 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4967 * lyxfunc.C: tidy up a little
4969 2002-06-16 <alstrup@diku.dk>
4971 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4972 Got rid of FORMS_H_LOCATION include. Now we are
4975 2002-06-15 LyX Development team <lyx@rilke>
4977 * buffer.[Ch] (sgmlOpenTag):
4978 (sgmlCloseTag): Added support for avoiding pernicious mixed
4979 content. Return number of lines written.
4982 (makeDocBookFile): Fixed calls to sgml*Tag.
4983 Simple white space clean.
4985 (simpleDocBookOnePar): Simple white space clean.
4987 * tabular.[Ch] (docBook): Renamed to docbook and got another
4988 argument to related with the pernicious mixed content.
4990 (docbookRow): Fixed calls for docbook inset method.
4992 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4994 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4995 so it's X11 independent.
4999 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5001 2002-06-15 Lyx Development team <lyx@electronia>
5003 * intl.h: Renamed getTrans to getTransManager.
5005 2002-06-14 Angus Leeming <leeming@lyx.org>
5007 * Makefile.am: nuke forgotten stl_string_fwd.h.
5009 2002-06-12 Angus Leeming <leeming@lyx.org>
5011 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5013 2002-06-13 Angus Leeming <leeming@lyx.org>
5016 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5018 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5020 * kbmap.C (getiso): add support for cyrillic and greek
5022 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5026 * BufferView_pimpl.h:
5027 * BufferView_pimpl.C: move bogus scrolling logic
5030 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5033 * BufferView_pimpl.C: view->resize() change
5035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5037 * BufferView_pimpl.C: topCursorVisible
5040 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5044 * lyx_gui.C: move to frontends/
5048 * lyx_main.C: changes from above
5050 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5057 * lyx_main.C: minor tidy
5059 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5061 * BufferView_pimpl.h:
5062 * BufferView_pimpl.C:
5064 * BufferView.C: make painter() const,
5067 * BufferView2.C: use screen() accessor
5070 * lyx_main.C: some minor cleanup
5072 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5074 * BufferView_pimpl.h:
5075 * BufferView_pimpl.C: remove enter/leaveView,
5078 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5083 * BufferView_pimpl.h:
5084 * BufferView_pimpl.C: only construct screen once,
5087 * lyxrc.C: remove pointless comment
5089 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5092 * BufferView.C: remove active() and belowMouse()
5094 * BufferView_pimpl.h:
5095 * BufferView_pimpl.C: use workarea() not workarea_,
5096 and make it use a scoped_ptr instead
5098 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5100 * lyx_gui.C: add debug message on BadWindow
5102 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5104 * sp_spell.C: fdopen is not part of the C++ standard.
5106 * paragraph.C (InsetIterator): use >= instead of ==
5108 2002-06-07 Angus Leeming <leeming@lyx.org>
5110 Fixes needed to compile with Compaq cxx 6.5.
5111 * BufferView_pimpl.C:
5118 * lyxtextclasslist.C:
5123 all c-library variables have been moved into namespace std. Wrap
5124 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5129 Add a using std::abs declaration.
5131 * kbmap.h (modifier_pair):
5132 * paragraph.h (InsetTable, InsetList):
5133 * lyxfont.h (FontBits):
5134 type definition made public.
5136 * bufferlist.C (emergencyWriteAll): the compiler complains that
5137 there is more than one possible lyx::class_fun template to choose from.
5138 I re-named the void specialisation as lyx::void_class_fun.
5140 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5142 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5143 the compiler is is unable to find tostr in write_attribute.
5145 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5147 * buffer.C (sgmlError): hide #warning
5149 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5151 * xtl/*: get rid of xtl, which is not in use anyway
5153 * LyXAction.C (init):
5154 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5155 were unimplemented xtl experimentation
5157 2002-06-04 André Pönitz <poenitz@gmx.net>
5159 * lyxfunc.C: disable array operation on simple formulae
5161 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5163 * converter.C: constify a bit
5165 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5167 * lyx_gui.C: check xforms version correctly
5169 2002-04-30 Herbert Voss <voss@lyx.org>
5171 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5174 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5176 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5177 attempt to register it with a VCS)
5179 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5181 * lyx_main.C (init): honor variables LYX_DIR_13x and
5184 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5188 * lyx_main.C: fix a crash on bad command line,
5189 and give a useful exit status on error
5191 * lyxfunc.C (doImport): allow -i lyx to work
5193 2002-03-30 André Pönitz <poenitz@gmx.net>
5195 * lyxfunc.C: mathed font changes
5197 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5212 * trans_mgr.h: srcdocs, and some minor cleanups
5214 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5216 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5217 call getFont all the time)
5219 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5221 * switch from SigC signals to boost::signals
5223 2002-05-29 André Pönitz <poenitz@gmx.net>
5225 * paragraph_pimpl.C (getChar): don't call size() too often...
5227 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5229 * paragraph_pimpl.C (insertChar): do not try to update tables when
5230 appending (pos == size())
5232 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5233 in order to reduce drastically the number of comparisons needed to
5234 parse a large document
5236 2002-05-29 André Pönitz <poenitz@gmx.net>
5242 * textclasslist.[Ch]:
5243 * sp_ispell.h: whitespace change
5245 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5247 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5248 lyxaction directly now.
5250 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5254 * lyxvc.C: remove unused headers
5256 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5263 * undo_funcs.C: some cleanups. Use shared_ptr
5264 and a template for the undo stacks.
5266 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5268 * BufferView_pimpl.h:
5269 * BufferView_pimpl.C:
5276 * text2.C: use key_state/mouse_state
5278 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5280 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5283 * chset.C: change include order
5284 (loadFile): use boost regex and get rid of LRegex and LSubstring
5286 * Makefile.am (BOOST_LIBS): new variable
5289 * LaTeX.C: change include order.
5290 (scanAuxFile): use boost regex and get rid of LRegex and
5294 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5299 * FontInfo.C: moved to frontends/xforms/
5302 * FontLoader.C: moved into frontends for GUIIzation
5307 * lyxfunc.C: changes from above
5309 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5311 * LColor.C: remove spurious X include
5313 * BufferView_pimpl.C:
5318 * text2.C: move font metrics to frontends/
5320 2002-05-24 Juergen Vigna <jug@sad.it>
5322 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5323 setting the undo_cursor.
5325 * ParagraphParameters.h: include local includes first.
5327 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5329 * BufferView_pimpl.C:
5330 * BufferView_pimpl.h:
5334 * screen.C: move WorkArea into frontends/
5340 * BufferView2.C: move LyXScreen into frontends/
5344 * lyx_gui.C: move lyxlookup into frontends/xforms/
5346 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5349 * BufferView_pimpl.C:
5359 * bufferview_funcs.C:
5372 * vc-backend.C: move LyX/XFormsView into frontends/
5374 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5386 * text2.C: move Painter to frontends/
5388 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5390 * buffer.C: comment out some some code that depend upon lyx_format
5393 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5394 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5396 * buffer.h (NO_COMPABILITY): turn off compability
5398 * ColorHandler.C: include scoped_array.hpp
5400 * font.C: Use more specific smart_ptr header.
5403 * ShareContainer.h: ditto
5407 * BufferView_pimpl.h: ditto
5408 * ColorHandler.h: ditto
5410 * kbmap.C (defkey): change call to shared_ptr::reset
5412 2002-05-21 Juergen Vigna <jug@sad.it>
5414 * buffer.C (insertErtContents): fix to insert ert asis if it is
5415 non empty. Skip it completely if it contains only whitespaces.
5417 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5419 * BufferView_pimpl.C:
5420 * BufferView2.C: clear selection on paste (bug 393)
5422 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5424 * DepTable.C: include ctime
5426 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5428 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5430 2002-05-14 Juergen Vigna <jug@sad.it>
5432 * text.C (breakParagraph): fixed function to honor the keepempty
5433 layout in the right maner and also to permit the right breaking
5434 algorithm on empty or non empyt keepempty paragraphs.
5436 * paragraph.C (breakParagraph): we have to check also if the par
5437 is really empty (!size()) for isempty otherwise we do the wrong
5440 2002-05-10 Juergen Vigna <jug@sad.it>
5442 * buffer.[Ch] : The following are only changes to the ert
5443 compatibility read reading old LaTeX layout and font stuff and
5444 convert it to ERTInsets.
5446 * buffer.h: added isErtInset().
5448 * buffer.C (struct ErtComp): add a fromlayout bool to check
5449 if we're inside a LaTeX layout.
5450 (isErtInset): new helper function.
5451 (insertErtContents): look for other ert insets before this one
5452 and insert the contents there, so that we don't have subsequent
5453 ERT insets with nothing between them. This way we create only one
5454 inset with multiple paragraphs. Also check if we don't insert only
5455 spaces ' ' as they are ignored anyway afterwards in the .tex file
5456 so if we have only spaces we will ignore this latex part in the
5458 (parseSingleLyXformat2Token \\layout): better compatibility when
5459 reading layout-latex stuff.
5460 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5462 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5463 stuff after reading the inset only get the information back from
5466 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5468 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5470 * LaTeXFeatures.C (getBabelOptions): New method.
5472 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5474 * BufferView_pimpl.C (Dispatch): work around missing argument for
5477 2002-05-08 Juergen Vigna <jug@sad.it>
5479 * text.C (leftMargin): handle paragraph leftindent.
5481 * paragraph.C (writeFile): write the new \\leftindent tag.
5482 (validate): handle leftindent code.
5483 (TeXEnvironment): handle paragraphleftindent code again.
5485 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5487 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5488 for paragrap_extra indent code and new token \\leftindent.
5489 (latexParagraphs): handle the leftindent as environment.
5491 * ParameterStruct.h: added leftindent support.
5493 * ParagraphParameters.C (leftIndent): added support functions for
5494 the paragraph left indent.
5496 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5499 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5501 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5504 * text.C (computeBidiTables): No bidi in insetERT.
5506 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5509 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5511 * version.C.in: pre 5
5513 2002-05-02 José Matos <jamatos@fep.up.pt>
5514 * buffer.C (makeDocBookFile): white space changes, add newline to
5516 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5518 * tabular.C (docBook): fix typo.
5520 2002-05-03 Juergen Vigna <jug@sad.it>
5522 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5523 change in LyXText as we can not be sure it was not freed.
5524 (drawOneRow): remove unused code.
5526 * text.C (drawInset): redo the calculation of the need_break_row as
5527 it could have a row which was already freed.
5528 (draw): look at the return value of drawInset and return false if
5529 it also returned false.
5530 (paintRowText): look at the return value of draw and return false if
5531 it also returned false.
5533 * lyxtext.h: added bool return type to drawInset() and draw() so that
5534 if we have a change in the row so that the rowbreak has to be redone
5535 we abort drawing as it will be called again.
5537 2002-05-02 Juergen Vigna <jug@sad.it>
5539 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5540 a change in the maintext also if we're inside an inset.
5541 (Dispatch): set the cursor again after a break line and after the
5542 screen has been updated as it could be we're in a different row.
5544 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5545 to set the cursor behind the pargraph with > size().
5546 (setCursor): check also for the same paragraph when checking where
5547 to put the cursor if we have a NFR inset.
5549 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5550 parts of layout read further up as it still was in the wrong
5553 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5555 * screen.C (drawFromTo): change sine fullRebreak always return
5558 * buffer.C (parseSingleLyXformat2Token): reindent some
5560 * BufferView_pimpl.C (update): change since fullRebreak always
5562 (Dispatch): git rid of the last hardcoded "Standard"s.
5564 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5566 * text2.[Ch] (fullRebreak): make it return void now that we always
5569 2002-04-30 Juergen Vigna <jug@sad.it>
5571 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5572 ert compatibility check for "latex" layout.
5574 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5576 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5577 minipages: use col% instead of p%, and also use the current font.
5578 (makeLaTeXFile): Fix use babel condition.
5579 (parseSingleLyXformat2Token): Correct font when reading old floats.
5581 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5583 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5584 inserting list of floats.
5586 2002-04-25 Herbert Voss <voss@lyx.org>
5588 * MenuBackend.C (expand): don't add the graphics extensions to the
5591 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5593 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5594 non-existing layout, do not complain if it was the default layout
5595 of the original class (bug #342)
5597 2002-04-24 Juergen Vigna <jug@sad.it>
5599 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5600 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5602 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5604 * buffer.C (getBibkeyList): If using \bibliography, return the
5605 option field with the reference itself. Enables us to provide natbib
5606 support when using \bibliography.
5608 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5610 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5612 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5613 natbib is provided by the LaTeX class.
5615 2002-04-23 Juergen Vigna <jug@sad.it>
5617 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5620 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5622 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5624 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5626 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5627 ensuremath around textordmasculine, textordfeminine and
5630 2002-04-19 Juergen Vigna <jug@sad.it>
5632 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5633 reinitializing the buffer otherwise row-dimensions may be wrong.
5634 (update): reset also the selection cursors if they do exits otherwise
5635 their x/y positions may be wrong.
5637 * text2.C (cursorDown): don't enter the inset if we came from a row
5638 above and are one row over the inset.
5640 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5641 really leaving an inset.
5643 2002-04-18 Juergen Vigna <jug@sad.it>
5645 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5646 of the selected paragraph does not have the selected layout also if
5649 * text2.C (setLayout): fixed bug which did not change last selected
5652 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5653 changed the read and substituted \\end_float with \\end_inset!
5655 * BufferView_pimpl.C (cursorPrevious):
5656 (cursorNext): fixed to make it work with rows heigher than the work
5657 area without moving the cursor only the draw of the row.
5658 (workAreaMotionNotify): fix jumping over high rows.
5660 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5662 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5665 2002-04-16 Juergen Vigna <jug@sad.it>
5667 * text2.C (setCursor): set also the irow().
5668 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5670 (cursorDown): support for locking an inset if the x_fix value goes
5671 inside it. That way I can transverse insets too with cursor up/down.
5673 * lyxrow.h: added irow helper function same as other (i) functions.
5675 * BufferView_pimpl.C (cursorPrevious):
5676 (cursorNext): fixed for insets!
5678 2002-04-15 Juergen Vigna <jug@sad.it>
5680 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5681 position otherwise it is wrong in some cases.
5683 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5684 inside the inset before the call.
5686 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5688 * buffer.[Ch] (getBibkeyList): make it const.
5690 2002-04-12 Juergen Vigna <jug@sad.it>
5692 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5694 * text2.C (getCursorX): new helper function
5695 (setCursor): compute also ix_
5696 (setCursorFromCoordinates): set also ix.
5698 * lyxcursor.h: added ix_ and helper functions.
5700 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5702 * buffer.C (insertStringAsLines): dont break paragraph if the this
5703 paragraph is inside an inset which does not permit it!
5705 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5706 also with no chars on this paragraph.
5707 (paintRowText): only paint stuff if it's inside the workarea!
5709 * paragraph.C (breakParagraph): honor keepempty flag and break the
5710 paragraph always below not above.
5712 * BufferView2.C (unlockInset): update the paragraph layout on inset
5713 unlock as we changed paragraph in such a case.
5715 * lyxfind.C (LyXFind): clear the former selection if not found!
5717 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5718 again called in insertChar().
5720 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5721 an inset which uses the whole row!
5722 (rightMargin): ditto.
5723 (insertChar): force a rebreak if we inserted an inset!
5725 2002-03-28 Herbert Voss <voss@lyx.org>
5727 * lyxlength.[Ch]: add inBP() to get the right PS-point
5728 units (BigPoint). With inPixels we have rounding errors
5730 2002-04-11 Juergen Vigna <jug@sad.it>
5732 * text2.C (setCursorFromCoordinates): set iy to the right value.
5733 (setCursor): add check if row->previous exists!
5735 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5736 an old float_type as this was the case in the old code!
5738 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5740 * BufferView2.C (showLockedInsetCursor): use iy
5741 (fitLockedInsetCursor): ditto
5743 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5744 locked insets as there we have the right value now.
5746 * lyxcursor.C: added iy_ variable and iy functions to set to the
5747 baseline of cursor-y of the locked inset.
5749 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5750 (setCursor): fixed for insets which need a full row.
5752 * text.C (rowLastPrintable): don't ignore the last space when before
5753 an inset which needs a full row.
5754 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5755 as last character of a row when before a inset which needs a full row.
5757 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5759 * version.C.in: update date
5761 * text2.C (fullRebreak): try to always return true and see what
5764 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5766 * MenuBackend.C (expand): use Floating::listName
5768 * FloatList.C (FloatList): add listName argument to the built-in
5771 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5772 text associated with the float.
5774 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5776 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5778 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5780 * ShareContainer.h: add a couple of missing typenames.
5782 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5784 * lyxrc.C (getDescription): use _() correctly rather than N_().
5786 2002-03-28 Herbert Voss <voss@lyx.org>
5788 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5789 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5791 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5793 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5794 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5796 2002-03-29 Juergen Vigna <jug@sad.it>
5798 * lyxfunc.C (dispatch): add a missing fitCursor call.
5800 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5801 it was scrolled by a cursor move, so return the bool status.
5803 * BufferView.C (fitCursor): return the bool flag also to the outside
5804 world as this is needed.
5806 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5808 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5809 call the edit() as it is not needed (and wrong) IMO.
5810 (workAreaButtonPress): set the screen_first variable before evt.
5811 unlock the inset as this may change screen_first and then we have
5812 a wrong y position for the click!
5814 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5816 * MenuBackend.C (expand): another translation that I missed
5818 2002-03-28 Juergen Vigna <jug@sad.it>
5820 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5822 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5824 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5826 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5828 * MenuBackend.C (expand): fix export/view/update when there is no
5831 2002-03-27 Herbert Voss <voss@lyx.org>
5833 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5836 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5838 * bufferview_funcs.C (currentState): only show paragraph number
5839 for is DEVEL_VERSION is set.
5841 * lyxfunc.C (dispatch): put warning in INFO channel
5843 * MenuBackend.C (expand): translate the name of floats
5845 * FloatList.C (FloatList): mark the float names for translation
5847 * converter.C (convert): use LibScriptSearch
5849 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5851 * MenuBackend.C (defaults): fix default menu (we might as well get
5854 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5856 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5859 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5861 * lyxvc.C: reorder includes.
5863 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5865 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5868 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5870 * CutAndPaste.C: change layouts earlier on paste
5871 to avoid crashing when calling getFont()
5873 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5875 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5878 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5880 * WorkArea.C: remove 'Pending' debug message.
5882 * most files: ws cleanup
5884 * buffer.[Ch]: ws changes
5886 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5888 2002-03-21 Juergen Vigna <jug@sad.it>
5890 * tabular.C (SetMultiColumn): collapse also the contents of the
5891 cells and set the last border right. Added a Buffer const * param.
5893 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5895 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5898 2002-03-19 Juergen Vigna <jug@sad.it>
5900 * text2.C (clearSelection): reset also xsel_cache.
5902 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5903 where it needs to be called (John tells us to do so too :)
5904 (selectionLost): reset sel_cache.
5906 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5908 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5910 * text2.C (setCursorIntern): put debuging code in INSETS channel
5912 2002-03-19 André Pönitz <poenitz@gmx.net>
5914 * lyxfunc.C: tiny whitespace change
5916 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5918 * ToolbarDefaults.C (init):
5919 * LyXAction.C (init):
5921 * BufferView_pimpl.C (Dispatch):
5922 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5924 2002-03-19 Allan Rae <rae@lyx.org>
5926 * exporter.C (Export): removeAutoInsets before doing anything else.
5927 While I've just introduced a dependency on BufferView this really is
5928 the best place to clean the buffer otherwise you need to cleanup in
5929 a dozen places before calling export or cleanup in a dozen functions
5932 * converter.C (runLaTeX):
5933 (scanLog): Better handling of removeAutoInsets and screen updates.
5935 * lyxfunc.C (dispatch): small whitespace changes
5937 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5939 * WorkArea.C (C_WorkAreaEvent): return a value.
5940 (event_cb): return 1 if we handled the event, 0 otherwise.
5942 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5944 2002-03-18 Juergen Vigna <jug@sad.it>
5946 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5947 (GetAdditionalWidth): ditto.
5951 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5952 inset if we're there actually (probably not used right now but this
5953 is the direction to go for unifying code).
5954 (paste): disable code to clear the selection.
5956 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5957 inside an InsetText and move the check further up as it is in the
5960 * text2.C (pasteSelection): set a selection over the pasted text.
5962 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5964 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5965 and libgraphics to build on Cygwin.
5967 2002-03-15 Juergen Vigna <jug@sad.it>
5969 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5970 inserting an Inset into the paragraph. I know this is not the best
5971 fix but we already use current_view in CutAndPaste so we will remove
5972 all of it's using at the same time.
5974 * buffer.C (sgmlError): deactivated function till it is rewritten in
5975 the right mode, now it can create problems.
5977 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5978 before accessing it.
5980 2002-03-14 Juergen Vigna <jug@sad.it>
5982 * undo_funcs.C (textHandleUndo): do the right thing when updating
5983 the inset after the undo/redo.
5985 * text2.C (setCursor): just some testcode for #44 not ready yet.
5987 * undo_funcs.C (textHandleUndo): set the next() and previous()
5988 pointers of the paragraph to 0 before deleting otherwise we have
5989 problems with the Paragraph::[destructor].
5991 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5992 on a paragraph insertion.
5994 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5996 * buffer.C (asciiParagraph): use += operator for char append to
5999 * paragraph.C (getFontSettings): compare >= not just >
6000 (highestFontInRange): ditto
6003 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6005 * paragraph.C: change several algorithm to be more appripriate for
6006 the problem domain. This is lookip in FontList and in the InsetList.
6008 2002-03-13 André Pönitz <poenitz@gmx.net>
6011 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6013 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6018 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6020 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6022 * Painter.C (display): anon helper function, adjust code for this
6024 (pixmap): remove function.
6026 * Painter.h: remove private display variable.
6028 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6030 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6032 * WorkArea.[Ch]: remove figinset_canvas cruft.
6034 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6036 * lyxtextclass.C (operator): add one item cache optimization.
6038 * bufferlist.h: doxy changes
6040 * bufferlist.C: ws changes
6042 * DepTable.[Ch] (ext_exist): place const in the right spot.
6044 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6046 (workAreaExpose): call resizeInsets when the with BufferView changes.
6047 (Dispatch): adjust for protectedBlank removal
6048 (specialChar): call updateInset if the insert went ok.
6050 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6051 specialChar instead.
6053 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6055 * BufferView.h: doxy change
6057 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6059 * lyxtextclass.C (operator[]): remove non-const version
6060 (defaultLayout): remove non-const version
6062 2002-03-12 Juergen Vigna <jug@sad.it>
6064 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6065 did resize the LyXText too.
6067 * buffer.C (readLyXformat2): set layout information on newly allocated
6070 * tabular.C (OldFormatRead): set layout information on the paragraph.
6072 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6074 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6076 2002-03-11 Juergen Vigna <jug@sad.it>
6078 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6080 (resizeCurrentBuffer): force also the insets to resize themselfes.
6081 (moveCursorUpdate): fixed up for InsetText.
6083 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6086 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6087 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6088 value of Dialogs::tooltipsEnabled().
6089 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6091 2002-03-08 Juergen Vigna <jug@sad.it>
6093 * BufferView_pimpl.C (updateInset): update inset inside inset also
6094 if it isn't inside theLockingInset().
6096 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6098 * buffer.C (asciiParagraph): redo some of the word and line length
6100 (getLists): look for Caption instead of caption.
6102 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6104 * buffer.C (Buffer): initialize niceFile to true
6107 (makeDocBookFile): make sure niceFile is true on exit
6109 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6111 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6113 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6115 * LyXSendto.C: remove.
6116 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6117 * lyx_gui.C: remove now-redundant comment.
6118 * ColorHandler.h: remove forward declaration of class WorkArea.
6119 * lyxfunc.C: remove #include "WorkArea.h".
6121 2002-03-07 Juergen Vigna <jug@sad.it>
6123 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6124 got moved away with the DEPM and also set the inset_owner always
6125 right which before could have been omitted.
6127 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6129 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6130 wanted layout is not found.
6132 2002-03-07 Juergen Vigna <jug@sad.it>
6134 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6136 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6138 * paragraph.C (breakParagraph): use default layout not layout of
6140 (Paragraph): clear ParagraphParameters.
6142 2002-03-06 Juergen Vigna <jug@sad.it>
6144 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6145 otherwise it would not be a valid lenght. Fixed a special case in
6146 the minipage compatibility read where we end the document with a
6149 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6150 was set as it could be 0 for InsetTexts first entry.
6152 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6154 * paragraph.C (writeFile): if layout is empty write out
6155 defaultLayoutName().
6157 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6158 file without named layout we set layout to defaultLayoutName().
6160 2002-03-06 Juergen Vigna <jug@sad.it>
6162 * CutAndPaste.C (copySelection): set layout for new paragraph.
6164 * text.C (prepareToPrint): leave ERT inset left aligned
6165 (leftMargin): don't indent paragraphs inside ERT insets
6167 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * paragraph.C (breakParagraph): dont call clear do the work manually
6171 * paragraph.[Ch] (clear): remove function
6173 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6175 * paragraph.C (Paragraph): dont call clear, the work has already
6178 * lyxtextclass.C (operator): assert if n is empty
6180 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6181 work manually instead.
6183 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6185 * BufferView_pimpl.C: protect selectionLost against text == 0
6187 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6189 * text.C (breakParagraph): fix a setting layout to '0' problem.
6191 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6193 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6194 final location of file, for the included files, and graphics.
6196 2002-03-05 Juergen Vigna <jug@sad.it>
6198 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6200 2002-03-04 Juergen Vigna <jug@sad.it>
6202 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6204 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6205 last column of multicolumn cells.
6206 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6208 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6210 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6211 file if it doesn't go to a temporary file.
6213 * buffer.C (sgmlOpenTag):
6214 (sgmlCloseTag): remove extra newline insertion.
6216 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6218 * text.C (getRowNearY): comment out debug msg
6220 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6222 * text2.C: first -> first_y
6224 * text.C (getRowNearY): add some attemts at a possible
6225 optimization, not working.
6227 * tabular.[Ch]: add BufferParams to several function so that newly
6228 created paragraph can be initialized to he default layotu for the
6231 * tabular-old.C (ReadOld): add buf->params to call of Init
6233 * screen.C: rename text->first to text->first_y
6235 * paragraph.C (breakParagraph): always set layout in the broken
6238 * lyxtextclass.C (Read): remove lowercase
6241 (delete_layout): ditto
6243 * lyxtext.h: rename first -> first_y
6245 * lyxlayout.C (Read): remove lowercase
6248 (obsoleted_by): ditto
6250 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6252 * buffer.C (insertErtContents): add params are to InsetERT
6253 (parseSingleLyXformat2Token): add code to check if a paragraphs
6254 layout really exist.
6255 (parseSingleLyXformat2Token): add params to several inset
6257 (asciiParagraph): remove lowercase, do the layout comparisons with
6260 * BufferView_pimpl.C (cursorNext): first -> first_y
6261 (resizeCurrentBuffer): first -> first_y
6262 (updateScrollbar): first -> first_y
6263 (scrollCB): first -> first_y
6264 (workAreaMotionNotify): first -> first_y
6265 (workAreaButtonPress): first -> first_y
6266 (checkInsetHit): first -> first_y
6267 (cursorPrevious): first -> first_y
6268 (cursorNext): first -> first_y
6269 (Dispatch): add buffer_->params to severl inset contructors
6271 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6273 * lyxlayout.C (Read): remove some debug info that I forgot.
6275 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6276 clean up the code slightly.
6277 (makeLinuxDocFile): ditto
6278 (makeDocBookFile): ditto
6280 * text2.C: layout as string
6282 * text.C: layout as string
6284 * paragraph_pimpl.C: layout as string
6286 * paragraph.[Ch]: layout as string
6288 * lyxtextclasslist.[Ch]: layout as string
6290 * lyxtextclass.[Ch]: layout as string
6292 * lyxtext.h: layout as string
6294 * lyxlayout.[Ch]: layout as string
6296 * lyx_cb.C: layout as string
6298 * bufferview_funcs.C: layout as string
6300 * bufferparams.C: layout as string
6302 * buffer.C: layout as string
6304 * LyXView.[Ch]: layout as string
6306 * LaTeXFeatures.[Ch]: layout as string
6308 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6310 * BufferView_pimpl.C: change current_layout to string, remove
6315 (workAreaButtonRelease): layout as string
6317 * BufferView2.C (unlockInset): adjust
6319 * vspace.C (asLatexCommand): use an explict temp variable.
6321 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6323 * Makefile.am: use FRONTEND_*
6325 2002-03-01 Juergen Vigna <jug@sad.it>
6327 * tabular.C (SetWidthOfMulticolCell): changed to something better
6328 I hope but still work in progress.
6329 (recalculateMulticolumnsOfColumn): renamed function from
6330 recalculateMulticolCells as it is more appropriate now.
6331 (SetWidthOfCell): calculate multicols better.
6333 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6335 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6337 * lyxfunc.C (processKeySym): print sequence also if it is
6338 `deleted' (complete)
6340 * kbsequence.C (print): print sequence even if it is deleted
6341 (complete would be a better word, actually).
6343 * lyxfunc.C (dispatch): print complete options after a prefix key
6345 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6347 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6349 * text2.C (setCharFont): eliminate setCharFont code duplication.
6351 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6353 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6354 LFUN_TABULAR_FEATURE (bug #177)
6356 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6358 * Makefile.am: remove figure.h
6360 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6362 * Bufferview_pimpl.C:
6374 * text2.C: remove #include "lyx_gui_misc.h".
6376 * LaTeX.C: added #include <cstdio>
6378 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6380 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6381 that the paragraph following this one can have.
6383 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6385 * vspace.C (asLatexCommand): fix bogus gcc warning
6387 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6389 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6391 * text2.C (setLayout): get rid of redundant code
6393 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6395 * text2.C (incDepth): make sure depth cannot be increased beyond
6398 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6400 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6401 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6403 * PainterBase.h (image):
6404 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6407 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6411 * BufferView_pimpl.C:
6412 * BufferView_pimpl.h:
6432 * sp_spell.C: remove fig inset, and the crap house of
6433 cards that follows it
6435 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6441 * nt_defines.h: move .h into support/
6443 * vms_defines.h: remove
6445 * WorkArea.C: add space in debug output
6449 * buffer.C: add WITH_WARNINGS
6453 * bufferlist.C: s/retrive/retrieve/, add docs
6464 * lyxgui.C: add ID to X error handler
6466 * lyxtestclass.c: fix typo
6468 2002-02-26 Juergen Vigna <jug@sad.it>
6470 * tabular_funcs.C (write_attribute): changed so that some default
6471 attributes are not written at all.
6472 (getTokenValue): set default values before trying to read the
6473 value so we have the return value always set as default if we don't
6474 find the token we search for.
6476 * tabular.C (Write): write bools as bools not as strings!
6478 2002-02-22 Juergen Vigna <jug@sad.it>
6480 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6481 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6483 * text.C (leftMargin): don't add an indent for paragraphs inside
6484 tabular cells (fix #208).
6486 2002-02-21 José Matos <jamatos@fep.up.pt>
6488 * tabular.C (docBook): fixed support for long tables.
6490 2002-02-20 Juergen Vigna <jug@sad.it>
6492 * text2.C (getFont): get the drawing font of the Inset if this
6493 paragraph is inside an inset (only important for InsetERT for now).
6495 * buffer.C (insertErtContents): use new lanugage params in ERT
6498 * CutAndPaste.C: commenting out seemingly uneeded code.
6500 2002-02-19 Allan Rae <rae@lyx.org>
6502 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6503 Iterators might be simple to use but they also get invalidated.
6504 (removeAutoInsets): renamed saved cursor tracking variables and added
6505 some comments to clarify what everything does.
6507 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6514 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6515 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6518 * vc-backend.h: remove #include "support/syscall.h"
6522 * converter.C: rearrange #includes in Lars' approved fashion.
6524 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6525 forward declare class Timeout in the header file.
6527 * XFormsView.C: changes due to the above.
6529 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6532 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6533 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6535 2002-02-18 José Matos <jamatos@fep.up.pt>
6537 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6540 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6542 * a lot of small ws changes
6543 * add a lot of using std::XXX
6544 * use std construcs some places where approp.
6545 * use some exisint stuff from lyxfunctional where approp.
6546 * Make file changes to use partial linking (lets test this now...)
6548 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6552 remove #include "support/syscontr.h" as it's redundant. Always has been.
6560 change Systemcalls::System to Systemcalls::Wait and
6561 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6562 No change of functionality, just reflects the stripped down Systemcalls
6565 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6567 * debug.[Ch]: add a GRAPHICS type to the enum.
6569 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6571 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6573 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6576 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6578 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6579 match the changes below.
6581 * text2.C (toggleInset): if there is not editable inset at cursor
6582 position, try to see if cursor is _inside_ a collapsable inset
6585 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6587 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6588 document menu has a nice checkbox
6590 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6592 * lyxlength.C (asLatexString): change PW to output as percent of
6595 * lengthcommon.C: change '%' to 't%'
6597 * lyxfunc.C (dispatch): a few comments from Martin
6599 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6603 * BufferView_pimpl.h:
6604 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6607 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6609 * vspace.C (inPixels): fix compiler warning
6611 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6613 * lyxfunc.C (getStatus): fix status message for disabled commands.
6615 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6617 * BufferView_pimpl.C: fix crash on close buffer
6618 during selection (#227)
6620 2002-01-27 Herbert Voss <voss@lyx.org>
6622 * buffer.C: link old Figure to new graphic inset
6624 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6626 * FontLoader.C (getFontinfo): Change the latex font names in order
6627 to match the names of type1inst.
6629 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6631 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6633 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6636 (remove_files_with_extension): ditto
6637 (remove_file): ditto
6640 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6641 document is smaller than the work area height. Do not initialize
6642 static variables to 0.
6644 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6646 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6648 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6649 LFUN_LAYOUT_PARAGRAPHS.
6651 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6652 tabular. It is possible to provide a possible cell, which will
6653 typically be the actcell from the corresponding insettabular
6655 * lyxfunc.C (getStatus): small cleanup; disable
6656 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6659 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6661 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6663 * paragraph.C (startTeXParParams):
6664 (endTeXParParams): new methods. The LaTeX code to
6665 start/end paragraph formatting
6666 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6667 empty (fixes bug #200)
6669 * vspace.C (inPixels): adapt to the change below
6670 (inPixels): [later] more cleanups (remove unused variables)
6672 * lyxlength.C (inPixels): change to use a width and a height as
6675 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6677 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6678 Replaced with \paperwidth
6680 * DepTable.C (insert): add std:: qualifier
6682 2002-01-18 Allan Rae <rae@lyx.org>
6684 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6687 * text.C (drawInset): Turned out I didn't know enough about how
6688 rebreaking worked. This fixes most of the redraw problems. I see
6689 an occasional cursor trail when a line is broken now and the cursor
6690 placement can seem out by a few pixels also after a rebreak.
6692 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6694 * buffer.C (parseSingleLyXformat2Token): update because minipage
6695 width is now a LyXLength
6697 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6699 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6702 2002-01-17 Juergen Vigna <jug@sad.it>
6704 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6706 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6707 is set correctly and the inset is updated correctly.
6709 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6711 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6712 the beginning of the loop.
6714 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6716 * lyxrc.C: improve help for use_scalable_fonts
6718 2002-01-17 Allan Rae <rae@lyx.org>
6720 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6722 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6724 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6725 make sure to set their inset_owner to the right value (bug #171)
6727 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6730 * DepTable.C: Implement mtime checking to reduce time spent doing
6733 2002-01-16 Juergen Vigna <jug@sad.it>
6735 * tabular.C (GetAdditionalHeight): one of error fixed.
6737 * lyxrc.C (output): small fix in writing use_pspell.
6739 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6741 * sp_base.h: #include LString.h
6743 2002-01-16 Allan Rae <rae@lyx.org>
6745 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6746 Can someone check this please?
6748 * text.C (drawInset): It was possible that p.row would be removed by
6749 breakAgainOneRow upsetting a few other settings. There may be another
6750 small tweak possible by setting need_break_row = 0 when p.row has been
6751 removed but I don't know enough about the logic here.
6753 2002-01-15 Allan Rae <rae@lyx.org>
6755 * text.C (insertChar): removed conditional truism.
6757 * BufferView2.C (removeAutoInsets): More tweaks.
6758 cur_par_prev could be a stray pointer. Check for trailing empty line
6759 in case last line was cur_par and only had an error inset on it.
6761 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6763 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6766 * vc-backend.C (most methods):
6767 * exporter.C (Export):
6768 * converter.C (convert):
6770 * LyXSendto.C (SendtoApplyCB):
6771 * lyxfunc.C (dispatch):
6775 * lyx_cb.C (AutoSave):
6777 * BufferView_pimpl.C (MenuInsertLyXFile):
6778 * buffer.C (runChktex): use Buffer::filePath().
6780 * buffer.h: rename filename to filename_; rename filepath to
6781 filepath_ and make it private
6782 (filePath): new method
6784 * buffer.C (writeFile): use fileName()
6787 * lyx_main.C (init): fix starting of LyX when the binary is a
6788 link from so,ewhere else.
6790 * minibuffer.C: include <cctype> for isprint
6792 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6794 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6795 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6796 name clash with InsetCollapsable's width function.
6798 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6800 * lastfiles.C: include <iterator>
6802 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6804 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6807 * buffer.C (makeLaTeXFile): ditto.
6808 Also make loop operation more transparent.
6810 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6812 * ToolbarDefaults.C: remove trailing comma closing namespace.
6814 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6816 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6819 * trans.C (Load): comment out unused variable, allowed.
6821 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6823 * minibuffer.[Ch] (append_char): new method to recieve input from the
6824 drop-down completion browser. If a key was pressed, then recieve this
6825 char and append it to the existing string.
6826 (peek_event): modify the positioning data passed to the completion
6827 browser so that it can be placed above the minibuffer rather than below.
6828 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6830 * LyXAction.C (init): alloe error-next for readonly documents.
6832 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6835 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6837 * bufferlist.C (readFile): create the buffer _after_ checking that
6840 * lyxfunc.C (verboseDispatch): fix handling of arguments
6842 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6844 * lyxrc.C: use string::erase() instead of initializing to "".
6847 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6849 * BufferView_pimpl.h:
6850 * BufferView_pimpl.C:
6853 * text2.C: tell X when we have made a selection for copying
6855 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6857 * BufferView_pimpl.C (MenuInsertLyXFile):
6858 * lyxfunc.C (menuNew):
6860 (doImport): add shortcuts to directory buttons
6862 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6865 * lyxfunc.C (setStatusMessage):
6866 (getStatusMessage): new methods
6867 (getStatus):use setStatusMessage instead of setErrorMessage
6868 (dispatch): when function is disabled, set error message here
6869 [instead of in getStatus previously]
6871 * BufferView_pimpl.C (workAreaButtonRelease): update
6872 toolbar/menubar here too.
6874 2002-01-13 Allan Rae <rae@lyx.org>
6876 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6877 Now seems indestructible. Remaining task is to audit all other
6878 code affected by deleteEmptyParagraphMechanism. One small quirk
6879 left is that an empty document with an error in the preamble can
6880 be made to report an error but no error box appears. I don't know
6882 (removeAutoInsets): Improved comments.
6884 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6887 * Thesaurus.C: update for Aiksaurus 0.14
6889 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6891 * text2.C (firstParagraph): removed member function, all uses
6892 replaces with ownerParagraph
6893 (redoParagraphs): here
6895 (toggleAppendix): here
6896 * BufferView2.C (insertErrors): here
6897 (setCursorFromRow): here
6899 2002-01-13 Allan Rae <rae@lyx.org>
6901 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6902 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6903 There is still a way to segfault this although you may have to do this
6904 multiple times: Have an InsetERT with an unknown command in it.
6905 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6906 <down-arrow>, <Enter> again, View->DVI, BANG!
6908 * text2.C (setCursor):
6909 (deleteEmptyParagraphMechanism):
6910 * lyxtext.h (setCursor):
6911 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6912 Making use of the return value may help fix other bugs.
6914 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6916 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6918 * LyXView.C (updateMenubar): call MenuBar::update here
6919 (updateToolbar): but not here
6920 (showState): do not update toolbar/menubar
6922 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6923 should need to care about that.
6925 * lyxfunc.C (verboseDispatch): simplify a bit
6926 (getStatus): have a version which takes a pseudoaction, and
6927 another which requires a (kb_action,string).
6929 * LyXAction.C (retrieveActionArg): make it work also when action
6930 is not a pseudo-action.
6931 (getActionName): simplify a bit
6934 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6936 * lyxfunc.C (verboseDispatch): new families of methods with
6937 several ways to specify a command and a bool to indicate whether
6938 the command name and shortcut should be displayed in minibuffer
6939 (eventually, we could extend that to a finer bitmask like
6940 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6941 (dispatch): the pristine dispatch command which just, well,
6942 dispatchs! Note it still sets its result to minibuffer; I'm not
6945 * lyxfunc.h: remove setHintMessage
6947 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6949 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6951 * BufferView_pimpl.C (specialChar): delete new inset if we have
6952 not been able to insert it.
6954 * kbmap.C: revert to using int instead of kb_action, since all we
6955 are dealing with is pseudo-actions.
6957 * LyXAction.C (searchActionArg): change to return int instead of
6958 kb_action, since the result is a pseudoaction.
6960 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6962 * buffer.C (insertErtContents): Fix (partially) the font bug.
6964 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6966 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6967 as the other one is broken on my machine!
6969 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6972 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6974 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6976 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6977 reflect their actual use. Provide compatibility code for older lyxrc
6980 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6982 change names of popup font variables in line with the changes to lyxrc.C
6984 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6986 * buffer.C (asciiParagraph): avoid outputing a word twice after
6989 * lyxrc.C (getDescription): document that document_path and
6990 template_path can be empty.
6992 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6994 * LaTeXFeatures.C (getMacros):
6995 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6997 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6999 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7001 (getPackages): rename feature "floats" to "float". Use an array to
7002 iterate over 'simple' features (i.e. just a \usepackage). Add
7003 handling of "amsmath" (renamed from "amsstyle").
7005 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7007 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7010 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7012 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7013 FuncStaus::FuncStatus & FuncStaus::some_method().
7015 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7017 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7018 of the func_satus stuff. Edited and massaged in various ways by
7021 * lyxfunc.C (getStatus): use FuncStatus
7023 2002-01-08 Juergen Vigna <jug@sad.it>
7025 * text.C (nextBreakPoint): use function Inset::isChar().
7027 * paragraph.C (TeXOnePar): use function
7028 Inset::forceDefaultParagraphs.
7030 * buffer.C (latexParagraphs): use function
7031 Inset::forceDefaultParagraphs.
7033 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7035 * lyx_gui.C (init): set the style of the menu popups to
7036 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7038 2002-01-07 Juergen Vigna <jug@sad.it>
7040 * text.C (setHeightOfRow): small fix
7041 (prepareToPrint): don't look at alignment if we don't have the place
7044 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7046 * box.C: New file. Move the Box methods and functions out of box.h,
7047 following Lars' suggestion.
7049 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7051 * box.h: #include "support/LOstream.h", needed for inlined function.
7054 * lyxtextclasslist.C: added some using std declarations.
7056 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7058 * box.h: make signed dimensions to allow insets wider than
7059 the screen (bug #162)
7061 * BufferView_pimpl.C: add some insetHit debug
7063 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7065 * vc-backend.C: add FIXME
7067 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7069 * lyxfunc.C (getStatus): enable code for showing math font status
7072 2002-01-07 Juergen Vigna <jug@sad.it>
7074 * text.C (nextBreakPoint): removed debug output not needed anymore.
7076 2002-01-06 Juergen Vigna <jug@sad.it>
7078 * text.C (nextBreakPoint): fixed up this function we had this bug
7079 since ever but now hopefully we break row better.
7080 (insertChar): we have to check if an inset is the next char as it
7081 could now happen that a large inset is causing a break.
7083 2002-01-05 Juergen Vigna <jug@sad.it>
7085 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7086 if it doesn't like to be drawed.
7088 2002-01-04 Juergen Vigna <jug@sad.it>
7090 * BufferView2.C (lockInset): forgot to set a cursor.
7092 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7094 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7099 * form_maths_panel.C:
7100 * form_maths_panel.h:
7101 * form_maths_panel.fd: implemented sub- and super- buttons in math
7104 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7105 (or ^ space) to be used as in TeX (req'd by André).
7107 * lyxfunc.C: Allow ^ and _ again to be used both as
7108 super/subscript (mathed) and as themselves (in text).
7110 2002-01-03 Allan Rae <rae@lyx.org>
7112 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7113 "LyX" or the filename of the current buffer if it has one. This is a
7114 modified form of John Levon's patch.
7116 * XFormsView.C (setWindowTitle): also set icon title.
7118 * LyXView.h (setWindowTitle): signature changed.
7119 * XFormsView.h (setWindowTitle): ditto.
7121 2002-01-02 Juergen Vigna <jug@sad.it>
7123 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7125 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7127 * screen.C (topCursorVisible): introduce a temp var for
7128 text->cursor.row(), handle the case where this row is null. (kindo
7131 * text2.C (setCursor): add a couple of asserts.
7133 * paragraph.h (inset_iterator): add -> operator
7135 * paragraph.[Ch] (autoDeleteInsets): remove member function
7137 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7138 cursor pos correctly and handle inset deletion by itself.
7139 (insertErrors): move iterator declaration out of for expression
7141 * lyxtextclass.C: add <algorithm>
7143 * Makefile.am: added the new files to sources, removed layout.C
7145 * layout.C: removed file
7147 * layout.h: remove LYX_DUMMY_LAYOUT
7149 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7153 * lyxtextclass.[Ch]:
7154 * lyxtextclasslist.[Ch]: new files
7156 * include order changes to a lot of files, also changes because of
7159 2001-12-27 Juergen Vigna <jug@sad.it>
7161 * buffer.C (asciiParagraph): more fixes.
7163 * tabular.C (ascii): make ascii export support export of only the
7164 data separated by a column-delimiter.
7165 (ascii): better support for ascii export.
7167 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7169 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7171 * tabular_funcs.C: use a "using std::getline" instead of the
7172 previous fix from Angus (necessary for cxx + lyxstring)
7174 2001-12-24 Juergen Vigna <jug@sad.it>
7176 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7178 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7179 problems. First check a minipage also if we have some ert-contents
7180 (not only on par->size(), second set the right depth of the paragraph
7181 on the relink to the root-paragraph-list!
7183 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7184 which then did not anymore update the main paragraphs on undo/redo!
7186 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7188 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7189 code. Support all font-changing funcs (even those which are not in
7190 menu currently). Support for reporting font settings in
7191 mathed (disabled until Andre provides a function on mathed's side).
7193 * func_status.h (toggle): small helper function to set toggle
7196 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7198 * tabular_funcs.C: getline -> std::getline
7200 2001-12-21 Juergen Vigna <jug@sad.it>
7202 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7203 accessed and could be 0 (I couldn't generate this but it seems
7206 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7208 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7209 * tabular_funcs.h: here and include iosfwd
7211 2001-12-20 Juergen Vigna <jug@sad.it>
7213 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7214 inside inset but undo_par was.
7216 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7218 * Thesaurus.C: always include <config.h> in sources.
7222 * box.h: do not include <config.h> in header files
7224 * text.C (paintLastRow): remove unused variable
7226 * text.C (transformChar):
7228 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7231 * font.C (width): rewrite to use uppercase() instead of
7234 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7236 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7238 * lyxfind.C: clean up of find failure position change
7240 2001-12-20 Juergen Vigna <jug@sad.it>
7242 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7244 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7245 (TeXRow): added to LaTeX a single tabular row.
7246 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7247 (Latex): simplified and finally good LT-h/f support.
7248 (various_functions): just small adaptions for LT-h/f support.
7250 * tabular_funcs.[hC]: added and moved here all not classfunctions
7253 2001-12-19 Juergen Vigna <jug@sad.it>
7255 * tabular.[Ch]: better support for longtabular options (not finished
7258 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7260 * text.C (paintLastRow): use the label font instead of the font of
7261 the last character to compute the size of *_BOX. This makes more
7262 sense and avoids a crash with empty paragraphs.
7263 Use Painter::rectangle to draw EMPTY_BOX.
7265 2001-12-19 Juergen Vigna <jug@sad.it>
7267 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7268 the paragraphs if the replaced paragraph is not the first one!
7269 Tried to delete not used paragraphs but does not work yet so for
7270 now it's inside #ifdef's and by default off!
7272 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7274 * MenuBackend.C: include "lyx_main.h" instead of declaring
7275 lastfiles (actually was declared as LastFiles* instead of a
7278 2001-12-17 Juergen Vigna <jug@sad.it>
7280 * tabular.C (AppendColumn): applied John's fix
7282 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7286 * BufferView_pimpl.h:
7287 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7290 * box.h: new start of class for above
7292 * lyxfunc.C: ignore space-only minibuffer dispatches.
7293 Show the command name when it doesn't exist
7295 * minibuffer.C: don't add empty lines to the history
7297 * minibuffer.C: add a space on dropdown completion
7299 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7301 * text.C: fix line above/below drawing in insets
7303 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7305 * lyxlength.C (LyXLength): Initialize private variables.
7307 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7309 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7310 when inserting error insets.
7312 2001-12-13 Juergen Vigna <jug@sad.it>
7314 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7315 actually sometimes the before-paragraph.
7316 (setUndo): don't clear the redostack if we're not actually undoing!
7318 2001-12-06 Juergen Vigna <jug@sad.it>
7320 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7321 and fixed redoing of main paragraph, so we can use it now ;)
7323 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7325 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7327 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7330 2001-12-13 André Pönitz <poenitz@gmx.net>
7333 * undo_func.C: minor cleanup
7335 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7337 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7338 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7339 font in urw-fonts package which is marked as -urw-fontspecific and
7340 does not work (incidentally, changing the encoding in the
7341 fonts.dir of this package to -adobe-fontspecific fixes the
7344 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7345 is a crash when undoing first paragraph (Juergen, please take a
7346 look). THis does not mean the undo fix is wrong, just that it
7349 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7350 the (Paragraph*) version when needed instead of duplicating the
7353 * text.C (workWidth): use Inset::parOwner to find out where the
7354 inset has been inserted. This is a huge performance gain for large
7355 documents with lots of insets. If Inset::parOwner is not set, fall
7356 back on the brute force method
7358 * paragraph_pimpl.C (insertInset):
7359 * paragraph.C (Paragraph):
7360 (cutIntoMinibuffer): set parOwner of insets when
7361 inserting/removing them
7363 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7365 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7371 * mathed/formulabase.C:
7372 * mathed/math_cursor.[Ch]:
7373 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7376 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7378 * lyxlength.[Ch] (operator!=): new function
7380 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7382 * text.C (workWidth): use Inset::parOwner to find out where the
7383 inset has been inserted. This is a huge performance gain for large
7384 documents with lots of insets. If Inset::parOwner is not set, fall
7385 back on the brute force method
7387 * paragraph_pimpl.C (insertInset):
7388 * paragraph.C (Paragraph):
7389 (cutIntoMinibuffer): set parOwner of insets when
7390 inserting/removing them
7392 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7394 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7396 * tabular-old.C (getTokenValue):
7397 * tabular.C (getTokenValue):
7398 (write_attribute): new versions for LyXLength
7399 (everywhere): adjust the use of widths
7401 * tabular.h: change the type of widths from string to LyXLength
7403 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7405 * paragraph.C: fixed missing line number count when exporting
7406 Environments to LaTeX file
7408 * buffer.C: added informational message for checking line numbers.
7410 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7412 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7413 paragraph, do the 'double space' part, but not the 'empty
7416 * text.C (workWidth): small optimization
7417 (getLengthMarkerHeight): use minimal size for negative lengths.
7419 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7421 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7423 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7425 2001-12-11 André Pönitz <poenitz@gmx.net>
7428 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7430 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7432 * text2.C: keep selection on a setFont()
7434 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7436 * lyx_cb.C: another bv->text misuse, from insert label
7438 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7441 * kbsequence.C: re-instate nmodifier mask
7443 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7445 * lyx_main.h: make lyxGUI private.
7447 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7449 * lyxfind.C: place the cursor correctly on failed search
7451 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7453 * text.C (getLengthMarkerHeight): for small heights, the arrows
7454 are not always on top/bottom of the text
7455 (drawLengthMarker): smaller arrows; take the left margin in
7456 account; draw also vfills.
7458 (paintLastRow): remove special code for vfill and standard spaces,
7459 since everything is handled in drawLengthMarker now.
7461 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7463 * buffer.C (insertErtContents): try to handle font and language
7464 interaction a bit better.g
7466 * ColorHandler.C (updateColor): change the hash to cover the whole
7467 LColor enum, ws cleanup
7468 (getGCLinepars): ditto
7469 (getGCLinepars): only lookup in the linecache once.
7471 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7473 * iterators.C (operator++): Make the iterator more robust
7475 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7477 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7479 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7482 * text.C: better added space drawing
7484 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7487 * BufferView2.C: fix layout combo update on inset unlock
7489 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7491 * Makefile.am: don't compile unused files
7493 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7497 * LyXAction.C: remove old LFUN_LAYOUTNO
7499 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7501 * paragraph_pimpl.h:
7502 * paragraph_pimpl.C: isTextAt() doesn't need font param
7504 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7507 * lyxlex.C: little cleanup
7509 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7511 * BufferView_pimpl.C: fix insertAscii for insets
7513 2001-12-05 Juergen Vigna <jug@sad.it>
7515 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7516 set the right font on the "multi" paragraph paste!
7518 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7524 * lyxlength.C: remove out-commented code.
7540 * vc-backend.C: change "while(" to "while ("
7542 * lyxlength.[Ch]: add zero function to check if length is zero or
7544 * lyxgluelength.C: use it
7546 2001-12-05 Allan Rae <rae@lyx.org>
7548 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7549 Works for 2.95.3, from what I understand of Garst's reports this should
7550 work for other g++ versions. We're screwed if the abs(int) definition
7551 changed between bugfix releases of gcc.
7553 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7555 * text.C: fix chapter label offset !
7557 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7560 * text.C: fix hfill at end of line, clean up
7562 2001-12-04 Juergen Vigna <jug@sad.it>
7564 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7565 that we force an update of the inset and it's owners if neccessary.
7567 2001-12-03 Juergen Vigna <jug@sad.it>
7569 * text.C (rowLast): simplified code
7571 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7573 * lyxfunc.C: fix show options on timeout
7575 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7577 * screen.C (topCursorVisible): scroll half a page when the cursor
7578 reached top of bottom of screen
7580 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7582 * minibuffer.C: deactivate on loss of focus
7584 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7586 * vspace.[Ch] (operator!=): add operator.
7588 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7590 * BufferView_pimpl.C: refuse to open an inset when
7591 there's a selection.
7593 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7595 * BufferView_pimpl.C: allow to click on RHS of full row insets
7597 2001-11-30 Juergen Vigna <jug@sad.it>
7599 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7600 insets for undo reasons.
7602 2001-11-28 André Pönitz <poenitz@gmx.net>
7604 * vspace.[Ch]: cosmetical changes
7606 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7616 * kbsequence.C: part re-write of old kb code
7619 * WorkArea.C: remove Lgb_bug_find_hack
7621 2001-11-30 José Matos <jamatos@fep.up.pt>
7623 * buffer.C (makeDocBookFile): add a comment to point a hack.
7624 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7625 Fixed a double write of labels.
7627 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7630 * LaTeX.h Fixed bug in LaTeX class where it would not
7631 re-run latex if no depfiles were changed, but the .dvi was removed.
7633 2001-11-28 André Pönitz <poenitz@gmx.net>
7635 * all the files from the change on 2001/11/26:
7636 use lyx::layout_type instead of LyXTextClass::size_type
7637 use lyx::textclass_type instead of LyXTextClassList::size_type
7639 2001-11-29 Juergen Vigna <jug@sad.it>
7641 * text.C: added support for paragraph::isFreeSpacing()
7643 * buffer.C: same as above
7645 * paragraph.h: inserted isFreeSpacing() function to enable
7646 FreeSpacing inside InsetERT.
7648 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7649 of the paragraph's in the cut/copy buffer to 0!
7651 * text2.C (removeRow): remove the assert as it can!
7653 * lyxtext.h: added helper function firstRow returning firstrow and
7654 made firstrow private again.
7656 * BufferView2.C (lockInset): don't relock if we're already locked!
7658 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7660 (removeRow): added Assert::(firstrow)
7662 * debug.C: forgot to add INSETTEXT here.
7664 2001-11-28 Juergen Vigna <jug@sad.it>
7666 * sp_spell.C (initialize): changed error text to more general
7667 spellchecker command use (not only ispell!)
7669 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7671 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7673 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7675 * vspace.C: initialise lyxgluelength on failure
7677 2001-11-28 Allan Rae <rae@lyx.org>
7679 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7680 declaration & definition that looks like a function declaration.
7682 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7684 * BufferView2.C (copy):
7685 (copyEnvironment): do not clear the selection when doing a copy.
7687 * text.C (paintFirstRow): compilation fix
7689 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7691 * tabular.C (Latex): correct line count when writing latex.
7693 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7695 * paragraph_pimpl.h:
7696 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7699 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7703 * LColor.C: change vfillline->added_space
7705 * text.C: add markers and text for added space
7707 * vspace.C: fix comment
7709 2001-11-28 André Pönitz <poenitz@gmx.net>
7711 * paragraph.C: whitespace changes
7712 * all the other files from the change on 2001/11/26:
7713 change *::pos_type into lyx::pos_type
7715 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7717 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7718 language of the document when inserting error insets.
7720 2001-11-26 André Pönitz <poenitz@gmx.net>
7722 * BufferView_pimpl.[Ch]:
7730 * paragraph_pimpl.[Ch]:
7733 * text2.C: reduce header dependencies, introduce type for positions
7735 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7737 * <various>: change to use Alert.h
7739 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7741 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7742 when encountering an unknown token.
7743 (readLyXformat2): Show an error message if there were unknown tokens.
7745 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7748 * BufferView_pimpl.C:
7752 * text2.C: use par->isInset()
7754 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7756 * paragraph_pimpl.h:
7757 * paragraph_pimpl.C: cleanup
7759 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7761 * text2.C (removeRow):
7762 * text.C (setHeightOfRow): remove useless (and costly) call to
7765 2001-11-20 Allan Rae <rae@lyx.org>
7767 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7768 Now need Inset*::checkInsertChar() to return true for appropriate
7769 cases so that the characters in the minibuffer will actually be
7772 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7774 * text.C: change the order of the includes.
7775 (workWidth): initialize it at once.
7776 (workWidth): make maxw unsigned
7777 (setHeightOfRow): remove unused variable (inset)
7778 (selectSelectedWord): remove unused variable (inset)
7779 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7781 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7783 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7784 server is not running.
7786 (closeConnection): add debug info when server is disabled.
7788 * ColorHandler.C (getGCForeground): send debug message to GUI
7791 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7793 * kbmap.C (bind): modify because return conventions of
7794 kb_sequence::parse have changed.
7796 * kbsequence.C (parse): only ignore spaces and not any stupid
7797 control character. This avoids tests like s[i] <= ' ', which are
7798 guaranteed to fail with 8bit characters and signed chars.
7799 Change return code to string::npos when there have been no error
7800 (0 was a bad idea when error is at first character)
7802 2001-11-14 José Matos <jamatos@fep.up.pt>
7805 * buffer.C (simpleDocBookOnePar): removed unused argument.
7807 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7809 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7810 insets which are part of a word. Paragraph::isLetter takes care of
7811 that now. Use Paragraph::isInset to identify insets.
7812 (selectSelectedWord): do not test for hyphenation break.
7814 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7815 that protected spaces are considered as spaces.
7817 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7820 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7823 * lyxserver.C: fix it. and small cleanup.
7825 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7827 * BufferView_pimpl.C: use inline helpers
7830 * LaTeXFeatures.C: fix typos
7833 * Spacing.C: move spacing_string into class
7835 * ToolbarDefaults.C: move stuff into namespace anon
7837 * layout.h: update enum
7839 * lyxfunc.C: use better debug
7841 * minibuffer.h: fix typo
7845 * WorkArea.C: add and use Debug::WORKAREA
7849 * text2.C: code re-organisation, inline helpers
7851 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7853 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7854 std::vector.empty().
7856 2001-11-09 Allan Rae <rae@lyx.org>
7858 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7859 '\n's after tables. Tabular and ERT inset work now makes this no
7862 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7865 * minibuffer.C: fix crash, improve drop-down completion
7867 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7870 * lyxserver.C: invalidate fd's when doing endPipe()
7872 2001-11-08 José Matos <jamatos@fep.up.pt>
7874 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7875 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7878 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7880 2001-11-07 José Matos <jamatos@fep.up.pt>
7883 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7886 * buffer.C (sgmlOpenTag):
7887 * buffer.C (sgmlCloseTag): removed debug info.
7889 * buffer.h (sgmlOpenTag):
7890 * buffer.h (sgmlCloseTag): made public.
7892 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7894 * buffer.C (saveParamsAsDefaults):
7895 * lyx_cb.C (MenuLayoutSave): remove
7897 * LyXAction.C (init):
7899 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7901 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7903 * buffer.C (setPaperStuff): removed from here...
7905 * bufferparams.C (setPaperStuff): ... and moved there.
7907 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7911 * XFormsView.C: add support for drop-down completion
7913 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7915 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7918 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7920 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7923 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7925 * lyx_main.C: change ref to known bugs
7927 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7929 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7930 to work around older babel problems.
7932 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7934 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7936 2001-10-24 Juergen Vigna <jug@sad.it>
7938 * tabular-old.C (ReadOld): below variable changes reflected.
7940 * tabular.[Ch]: added ltType struct for longtable header/footer
7941 defines and changed all instances where they are used. Added
7942 future support for double top/bottom rows.
7944 2001-10-24 José Matos <jamatos@fep.up.pt>
7946 * buffer.h (docbookHandleCaption):
7947 * buffer.C (docbookHandleCaption): removed unused function.
7948 (makeDocBookFile): moved docbook supported version to v4.1.
7950 2001-10-24 José Matos <jamatos@fep.up.pt>
7953 * tabular.C (docbookRow): new function to export docbook code of a row.
7954 (DocBook): now honors the longtable flags.
7956 2001-10-23 José Matos <jamatos@fep.up.pt>
7959 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7960 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7962 * buffer.C (makeLinuxDocFile):
7963 (makeDocBookFile): reworked the preamble, more clean, and with
7964 support for lyx defined entities. Changed the document declaration
7965 to be more XML friendly.
7967 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7968 if we need to output XML that should be done with a filter.
7970 2001-10-22 Juergen Vigna <jug@sad.it>
7972 * sp_pspell.h (class PSpell): add alive function needed in the
7973 controller to see if the spellchecker could be started.
7975 2001-10-22 Juergen Vigna <jug@sad.it>
7977 * buffer.C (insertStringAsLines): modify the font for inserting
7978 chars in certain conditions by calling checkInsertChar(font).
7980 2001-10-19 Juergen Vigna <jug@sad.it>
7982 * text.C (workWidth): use getRow instead of wrong algorithm.
7983 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7985 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7990 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7992 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7994 * text.C (workWidth): do not search for the exact row when
7995 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7996 optimization for big documents.
7998 2001-10-18 Juergen Vigna <jug@sad.it>
8000 * text.C (workWidth): new function with added Inset * parameter.
8002 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8004 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8006 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8007 change return type of getColumnNearX.
8010 * text.C (changeRegionCase): use uppercase/lowercase instead of
8013 (rightMargin): simplify code by factoring out the uses of
8018 (appendParagraph): use Paragraph::size_type
8020 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8022 * vspace.C (asLatexString): add a missing break
8024 2001-10-15 Herbert Voss <voss@perce.de>
8026 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8028 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8030 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8033 2001-10-10 André Pönitz <poenitz@gmx.net>
8035 * lyxfunc.C: removed greek_kb_flag.
8037 2001-10-10 Herbert Voss <voss@perce.de>
8039 * lyx_main.C: delete global string help_lyxdir.
8041 2001-10-09 Herbert Voss <voss@perce.de>
8043 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8045 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8047 * lyx_main.C: added global string help_lyxdir.
8049 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8051 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8053 * lyxrc.C (set_font_norm_type): support iso8859-4
8055 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8057 * LaTeX.C (deplog): add another regex for MikTeX
8059 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8061 * lyxrc.C (set_font_norm_type): support iso8859-3
8063 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8065 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8067 * LaTeXFeatures.C: remove special case of french and index
8069 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8070 before \begin{document}). This solves several incompatibilities.
8072 2001-10-03 Garst Reese <reese@isn.net>
8074 * lyx_cb.C: change CheckTex error msg.
8076 2001-10-03 José Matos <jamatos@fep.up.pt>
8078 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8080 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8082 * .cvsignore: update
8084 * lyx_main.C (commandLineVersionInfo): use new style version info.
8086 * buffer.C (writeFile):
8089 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8091 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8093 * version.h: update to use stuff in version.C
8095 * version.C.in: new file. Contains version information determined
8096 at compile time. This is a merging of version.h and
8099 2001-10-03 Juergen Vigna <jug@sad.it>
8101 * BufferView_pimpl.C (update): don't change "dirty" status in
8104 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8106 * WorkArea.C (c-tor): re-position version string slightly.
8108 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8110 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8111 revert to previous code.
8113 WorkArea.[Ch]: (show, destroySplash): methods removed.
8115 WorkArea.C: rework code so that it's an amalgam of the codes before and
8116 after the splash screen was moved to WorkArea.
8118 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8121 * vspace.C (inPixels):
8124 * buffer.C (insertStringAsLines):
8125 (asciiParagraph): fix types to be large enough
8127 * lyxlex_pimpl.h: change member status from short to int
8129 * layout.h: fix type of endlabeltype
8132 * kbsequence.C (parse): change return type to string::size_type
8134 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8137 * Bullet.C (bulletSize):
8138 (bulletEntry): do not use short ints as parameters
8140 * BufferView2.C (insertLyXFile): change a char to an int.
8142 * WorkArea.C (WorkArea): remove unneeded floats in computation
8144 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8146 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8148 * paragraph.C (asString): Do not ignore newline/hfill chars when
8149 copying to the clipboard.
8151 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8153 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8154 after a multi-line inset.
8156 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8158 * paragraph.C (validate): Set NeedLyXFootnoteCode
8160 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8162 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8163 and decrease-error to decrease.
8165 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8167 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8168 it more readable (should be equivalent)
8170 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8172 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8174 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8176 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8177 of a cursor (row, etc.) after a character has been deleted
8178 (deleteEmptyParagraphMechanism): call the method above on _all_
8179 cursors held by the LyXText when a double space has been
8182 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8184 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8186 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8188 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8189 background. Use greyOut() and the new show() methods to toggle between
8190 the foreground and background. Add code to remove the splash after
8191 its initial showing.
8193 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8194 (create_forms): no longer call Dialogs::showSplash.
8196 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8198 * .cvsignore: add version_info.h
8200 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8202 * version_info.h.in: new file
8204 * Makefile.am: add version_info.h.in
8206 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8207 version_info.h instead of VERSION_INFO
8209 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8211 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8212 The ERT inset now returns string().
8214 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8216 * lyxtext.h, text.C (selectNextWord): renamed as
8217 selectNextWordToSpellcheck.
8219 * text.C (selectNextWordToSpellcheck): Modified to not select
8220 words inside an ERT inset.
8222 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * lyx_cb.C (MenuLayoutSave): change a bit the question
8226 * sp_base.h: include <sys/types.h>
8228 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8230 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8232 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8234 * several files: fix typos in user-visible strings
8236 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8238 * text2.C (pasteSelection): do not set the selection, since it
8239 will be cleared later. Actually, the intent was to fix the way the
8240 selection was set, but I figured rmoving the code was just as good.
8242 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8244 * FontLoader.C (available): Check if font is available without
8247 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8249 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8251 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8253 * lyxrc.[Ch]: added display_graphics variable and associated code.
8255 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8257 * bufferparams.C (hasClassDefaults): new method. Returns true if
8258 the buffer parameters correspond to known class defaults
8260 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8262 * XFormsView.C (show): set minimum size to the main window.
8264 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8266 * text2.C (copySelection):
8268 * lyxfind.C (LyXReplace):
8269 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8270 LyXText::selectionAsString.
8272 * paragraph.C (asString): add "label" argument to the second form
8274 * text2.C (selectionAsString): add "label" argument and pass it to
8275 Paragraph::asString.
8277 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8279 * lyx_main.C (commandLineHelp): remove version information
8281 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8283 * lyx_main.C: add -version commandline option
8285 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8287 * paragraph.h: make the optional constructor arg required instead.
8288 some modifications to other files because of this.
8290 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8292 * lyxserver.C (C_LyXComm_callback): make it static
8294 * lyx_main.C (error_handler): make it static
8296 * lyx_gui.C (LyX_XErrHandler): make it static
8298 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8300 * WorkArea.C: make the extern "C" methods static.
8302 * Makefile.am (lyx_LDADD): simplify
8304 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8306 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8307 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8309 * LyXAction.C (init):
8310 * lyxfunc.C (dispatch): associated code removal.
8312 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8314 * lyxfont.h (isSymbolFont): shut off warning
8316 * text.C (setHeightOfRow):
8317 (getVisibleRow): fix crash with empty paragraphs which have a
8320 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8322 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8325 2001-09-04 José Matos <jamatos@fep.up.pt>
8328 * tabular.C (docbook): rename docBook method to docbook.
8330 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8332 * Makefile.am: add dependencies to main.o.
8334 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8336 * FontLoader.C (available): Return false if !lyxrc.use_gui
8338 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8340 * FontInfo.C (query):
8341 * converter.C (view):
8342 * importer.C (Import):
8343 * exporter.C (Export): Can not -> cannot.
8345 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8347 * BufferView_pimpl.C: allow to create index inset even if
8350 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8352 * buffer.C (getLists): replace boost::tie code with an explicit pair
8353 as boost::tie can break some compilers.
8355 * iterators.h: Added a std:: declaration to the return type of
8358 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8360 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8363 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8365 * iterators.[Ch]: New files. Provide paragraph iterators.
8367 * buffer.C (changeLanguage): Use paragraph iterators.
8368 (isMultiLingual): ditto
8370 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8372 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8374 * FontLoader.C: Support for cmr font.
8376 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8378 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8379 (available): New method.
8381 * FontInfo.C (getFontname): Use scalable fonts even when
8382 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8385 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8387 * converter.C (Formats::view): reverted! Incorrect fix.
8389 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8391 * converter.C (Formats::view): only output the -paper option
8392 if the dvi viewer is xdvi, thereby fixing bug #233429.
8394 2001-08-23 Herbert Voss <voss@perce>
8396 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8398 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8400 * Spacing.h (Spacing): Set space to Default on in the default
8403 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8405 * vc-backend.h (RCS::versionString): add RCS to version
8406 (CVS::versionString): add CVS to version
8408 * vc-backend.C (scanMaster): do not add CVS to version.
8409 (scanMaster): do not add RCS to version
8411 * lyxvc.C (versionString): new method
8413 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8415 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8417 * Spacing.C (set): initialize fval
8419 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8421 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8424 2001-08-16 Juergen Vigna <jug@sad.it>
8426 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8428 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8430 * BufferView_pimpl.C:
8433 * text2.C: setParagraph takes linespacing now
8435 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8437 * LyxAction.C: add internal LFUN_CITATION_INSERT
8439 * LyXView.C: actually apply fix
8441 * bufferlist.C: fix open non-existent file
8443 * lyxfind.C: fix indentation
8445 * lyxfunc.C: remove unneeded assert, fix typo
8447 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8449 * MenuBackend.C: use "Floatname List"
8451 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8453 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8454 when converting LaTeX layout to insetERT.
8455 Generate a non-collapsed float when reading old float
8457 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8459 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8462 2001-08-13 Juergen Vigna <jug@sad.it>
8464 * text.C (fill): return 0 instead of 20 as this seems to be the more
8467 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8469 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8472 2001-08-13 Juergen Vigna <jug@sad.it>
8474 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8476 (SearchBackward): comment out the unlocking of the inset_owner this
8477 should not be needed!
8479 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8481 * Many files: Remove inherit_language, and add latex_language
8483 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8486 2001-08-10 Juergen Vigna <jug@sad.it>
8488 * text.C (prepareToPrint): fixed hfill-width in draw!
8490 * BufferView2.C (selectLastWord): save the selection cursor as this
8491 now is cleared in the function LyXText::clearSelection!
8493 2001-08-08 Juergen Vigna <jug@sad.it>
8495 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8496 BACKSPACE type functions.
8498 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8499 is only cutted from the document but not put in the cut-buffer, where
8500 still the old stuff should be.
8502 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8504 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8506 * tabular.C (SetWidthOfCell): fixed special case where the width
8508 (LeftLine): handle '|' in align_special.
8510 (LeftAlreadyDrawed): ditto
8511 (SetWidthOfCell): ditto
8513 2001-08-07 Juergen Vigna <jug@sad.it>
8515 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8517 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8519 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8520 * lyxlex.[hC]: ditto
8522 2001-08-06 Juergen Vigna <jug@sad.it>
8524 * text.C (getVisibleRow): fix up row clearing a bit.
8526 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8528 * minibuffer.C: make sure the X server sees the changes in the input.
8530 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8532 * paragraph.C (getFont): split into...
8533 (getLabelFont): this
8534 (getLayoutFont): and this
8535 * paragraph_pimpl.C (realizeFont): calling this
8537 * text2.C (getFont): split into...
8538 (getLayoutFont): this
8539 (getLabelFont): and this
8540 (realizeFont): all three calling this
8542 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8545 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8547 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8549 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8551 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8552 layouts from the Quote inset insertion.
8554 2001-08-03 Juergen Vigna <jug@sad.it>
8556 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8558 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8559 only if status not is already CHANGED_IN_DRAW (second level).
8561 * text.C (draw): don't set the need_break_row when inside an
8564 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8566 * buffer.C (parseSingleLyXformat2Token): handle more latex
8569 * bufferview_funcs.[hC]: change function names to
8570 begin with small char, adjust other files.
8572 2001-08-02 André Pönitz <poenitz@gmx.net>
8575 BufferView_pimpl.C: remove broken special code for math-greek
8577 2001-08-02 Juergen Vigna <jug@sad.it>
8579 * BufferView_pimpl.C (update): redone this function so that we
8580 update the text again if there was a CHANGE_IN_DRAW.
8582 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8583 (drawFromTo): added a new internal bool which is used by draw() and
8585 (general): some cursor drawing problems fixed.
8587 2001-08-01 Juergen Vigna <jug@sad.it>
8589 * lyxfind.C (LyXFind): fixed
8590 (SearchForward): ditto
8591 (SearchBackward): ditto
8593 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8594 spurius drawing of the cursor in the main area.
8596 * text2.C (status): small fix which could lead to a segfault!
8597 (clearSelection): remove unneeded BufferView param.
8599 2001-08-01 André Pönitz <poenitz@gmx.net>
8601 * lyxfunc.C: small change due to changed mathed interface
8603 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8605 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8607 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8609 * lyxfunc.c: fail gracefully if file doesn't exist
8614 * BufferView_pimpl.C: IsDirWriteable() proto changed
8616 * LyXView.C: fix updateWindowTitle() to store the last title
8618 2001-07-31 Juergen Vigna <jug@sad.it>
8620 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8621 the font (wrong since using of Paragraph::highestFontInRange).
8623 * paragraph.C (highestFontInRange): added a default_size parameter.
8625 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8626 (setHeightOfRow): reformat
8628 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8630 * converter.[hC] + affected files: move to (inital-char)lowercase
8633 * ParagraphParameters.C (ParagraphParameters): remove commented code
8635 * PainterBase.[Ch]: remove commented code
8637 * LaTeXFeatures.h: add "bool floats" for float.sty
8639 * LaTeXFeatures.C (LaTeXFeatures): init floats
8640 (require): handle float
8641 (getPackages): do it with floats
8643 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8645 * BufferView_pimpl.C (Dispatch): improve handling of
8646 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8648 * commandtags.h: #include lyxfont.h here temporarily to avoid
8651 * bufferlist.h: include LString.h here.
8653 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8655 * text2.C (getStringToIndex): new method.
8657 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8659 * *: Reduced header file dependencies all over.
8661 2001-07-30 Baruch Even <baruch@lyx.org>
8663 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8665 2001-07-29 Baruch Even <baruch@lyx.org>
8667 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8669 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8671 * ParameterStruct.h (endif): add a default constructor to make
8672 sure that all variables is initialized.
8674 * ParagraphParameters.C (ParagraphParameters): adjust
8676 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8678 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8679 index; also, check that there is something to index, and that it
8680 does not span over several paragraphs.
8681 (doubleClick): use WHOLE_WORD_STRICT for double click.
8683 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8685 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8688 2001-07-26 Baruch Even <baruch@lyx.org>
8690 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8691 an InsetFig figure, backwards compatible reading of old figure code.
8693 2001-07-27 Juergen Vigna <jug@sad.it>
8695 * text2.C: font.realize function adaption.
8697 * text.C (draw): add a warnings lyxerr text if needed.
8699 * layout.C: font.realize function adaption.
8701 * language.C: add inherit_language and implement it's handlings
8703 * bufferview_funcs.C (StyleReset): remove language parameter from
8704 font creation (should be language_inherit now).
8706 * bufferparams.C (writeFile): handle ignore_language.
8708 * paragraph.C (getFontSettings): the language has to be resolved
8709 otherwise we have problems in LyXFont!
8711 * lyxfont.C (lyxWriteChanges): added document_language parameter
8712 (update): removed unneeded language parameter
8714 * paragraph.C (validate): fixed wrong output of color-package when
8715 using interface colors for certain fonts in certain environments,
8716 which should not seen as that on the final output.
8718 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8720 * BufferView_pimpl.C:
8725 * LyXAction.C: add thesaurus support
8728 * lyxfind.C: add "once" parameter, for thesaurus, to not
8729 move to the next match
8731 2001-07-26 Juergen Vigna <jug@sad.it>
8733 * lyxfont.C (realize): honor ignore_language too!
8736 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8738 * text.C (draw): one place more for ignore_language to not draw
8741 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8743 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8745 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8747 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8748 the minipage conversion problem.
8750 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8752 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8755 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8757 * BufferView.h: don't forward declare WorkArea
8759 * BufferView.C: don't include WorkArea.h
8761 2001-07-25 André Pönitz <poenitz@gmx.net>
8765 * lyxfunc.C: new LFUN 'math-space'
8767 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8769 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8771 * text2.C (toggleInset): call open/close
8773 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8775 * lyxfunc.C (dispatch): add debug for the disabled case
8777 * font.C (buttonText): make similar to rectText
8779 * buffer.C (readInset): comment out parsing of insetlist and
8782 * PainterBase.C (rectText): small correction
8784 * BufferView_pimpl.C: comment out insettheorem and insetlist
8785 * LyXAction.C: ditto
8786 * commandtags.h: ditto
8788 2001-07-24 Juergen Vigna <jug@sad.it>
8790 * text.C (draw): honor the ignore_language.
8792 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8794 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8796 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8799 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8801 * lyxtext.h: remove unused (and unimplemented) methods
8803 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8805 * text.C (getVisibleRow): honor background color
8808 * Painter.h: remove default color argument for fillRectangle
8810 * text.C (backgroundColor): new method
8812 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8814 * text.C (getVisibleRow): adjust
8816 * font.[Ch] (rectText): new method, metrics
8817 (buttonText): new method, metrics
8819 * PainterBase.[hC]: make rectText and buttonText always draw and take
8822 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8824 * ToolbarDefaults.C (read):
8825 * MenuBackend.C (read): allow escaping in all strings
8827 * BufferView_pimpl.C (insertAndEditInset): new method.
8828 (Dispatch): use insertAndEditInset whenever appropriate.
8830 * BufferView_pimpl.C (insertNote): removed
8832 * BufferView_pimpl.C (smartQuote): new method, moved from
8833 BufferView; if an insetquote cannot be inserted, insert a '"'
8836 * BufferView2.C: remove insertCorrectQuote();
8838 * lyxfunc.C (getStatus): Add support for all remaingin
8841 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8843 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8844 command (necessary to pass " as parameter of self-insert.
8846 * text.C (selectWordWhenUnderCursor):
8847 (selectWord): add word_location parameter
8848 (selectWordWhenUnderCursor): same + remove special code for word
8850 (selectNextWord): use kind() to guess type of insetspecialchar,
8853 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8854 (insertErtContents): create ert insets as collapsed.
8855 (readInset): better compatibility code for Info inset.
8857 2001-07-20 Juergen Vigna <jug@sad.it>
8859 * lyxfunc.C (dispatch): use always LyXFind now!
8861 * text2.C (init): add a reinit flag so that the LyXText can be
8862 reinited instead of deleted and reallocated (used in InsetText).
8864 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8870 2001-07-18 Juergen Vigna <jug@sad.it>
8872 * text.C (selectNextWord): handle insets inside inset by calling
8873 always the bv->text functions so that we can go up the_locking_inset!
8875 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8876 in strange locations when inside an inset!
8878 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8879 handling to include insets.
8881 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8883 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8885 * LyXAction.C (init):
8887 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8888 LIGATURE_BREAK, since the name is so stupid.
8890 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8892 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8895 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8897 * sp_form.[Ch]: remove.
8899 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8901 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8904 * src/buffer.C (readInset): ditto.
8906 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8908 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8909 menuSeparator(), endOfSentenceDot(), ldots() and
8910 hyphenationPoint(), which are therefore removed.
8911 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8913 * LyXAction.C (init):
8914 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8916 * paragraph.C (getWord): removed.
8918 * BufferView_pimpl.C (Dispatch): use last word or selection for
8919 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8921 * lyx_main.C (queryUserLyXDir): do not ask before creating
8922 user_dir, except if it has been named explicitely.
8924 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8926 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8927 a document of zero size.
8929 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8931 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8932 approriately in the c-tor and in require().
8933 (getPackages): output the appropriate LaTeX for natbib support.
8935 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8936 variables "use_natbib" and "use_numerical_citations" when reading the
8938 (readInset): read the various natbib cite commands.
8939 (validate): white-space change.
8941 * bufferparams.[Ch]: new variables "bool use_natbib" and
8942 "bool use_numerical_citations".
8943 (writeFile): output them in the LyX file.
8945 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8947 * lyxfunc.C (getStatus): add support for all the inset insertion
8950 * text2.C (insertInset):
8951 * paragraph.C (insetAllowed):
8952 * BufferView_pimpl.C (insertInset): update to take in account the
8953 renaming of insertInsetAllowed
8955 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8957 * text2.C (getInset): new method. returns inset at cursor position.
8959 * BufferView_pimpl.C (Dispatch): changes because of this.
8961 * LyXAction.C (init): rename open-stuff to inset-toggle.
8963 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8965 * text2.C (toggleInset): renamed from openStuff; use
8968 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8970 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8972 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8974 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8976 * buffer.C (readLyXformat2): Add filename to the error dialog
8978 2001-07-18 Juergen Vigna <jug@sad.it>
8980 * tabular.C (GetCellNumber): put an assert here instead of the check!
8982 2001-07-17 Juergen Vigna <jug@sad.it>
8984 * BufferView_pimpl.C (toggleSelection): adapted too.
8986 * text.C (selectNextWord): adapted for use with insets.
8987 (selectSelectedWord): ditto
8989 2001-07-17 Juergen Vigna <jug@sad.it>
8991 * sp_spell.C (PSpell): fix initialitation order.
8993 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8995 * paragraph.C: spacing
8997 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8999 * sp_spell.C: repair language selection for pspell
9001 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9003 * lyxfunc.h: change more methods to begin with lower char.
9005 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9007 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9008 for unknown layouts.
9010 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9012 * buffer.C (readLyXformat2): Generate an error dialog if there are
9015 2001-07-16 Juergen Vigna <jug@sad.it>
9017 * sp_spell.C: always compile ISpell part.
9019 * lyxrc.C: added use_pspell entry and it's handling.
9021 2001-07-13 Juergen Vigna <jug@sad.it>
9023 * sp_spell.C: removed double includes.
9025 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9027 Consistent use of Lsstream.h:
9028 * Lsstream.h: added using std::stringstream for consistencies sake.
9030 * buffer.C: removed using std::stringstream
9032 * lyxfont.C (stateText):
9033 * paragraph.C (asString):
9034 * text.C (selectNextWord, selectSelectedWord):
9035 * text2.C (setCounter):
9036 * vspace.C (asString, asLatexString):
9037 std::ostringstream -> ostringstream.
9039 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9041 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9042 * commandtags.h: add LFUN_HELP_ABOUTLYX
9043 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9045 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9047 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9049 * lyx_gui_misc.C: remove spellchecker
9050 * lyxfunc.C: showSpellchecker
9052 * sp_ispell.h: added
9053 * sp_pspell.h: added
9055 * sp_form.[Ch]: removed
9056 * spellchecker.[Ch]: removed
9058 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9060 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9062 (simpleTeXSpecialChars): Simply print the input character without
9063 any special translation if pass_thru is set.
9065 * layout.h: Added bool pass_thru to layout class for being able to
9066 implement pass through of a paragraph for Literate Programming.
9068 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9069 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9070 * layout.C (Read): add "passthru" to list of layout tags and add
9071 code to set the pass_thru boolean when it is read.
9073 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9075 * trans_decl.h: remove allowed from KmodInfo
9077 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9081 * paragraph_pimpl.C (erase): use boost::prior
9083 * Painter.C (text): use data() instead of c_str() when length is
9085 * WorkArea.C (putClipboard): ditto
9086 * font.h (width): ditto
9088 * BufferView2.C: use it-> instead of (*it). for iterators
9090 * paragraph_pimpl.C: ditto
9091 * paragraph.C: ditto
9092 * minibuffer.C: ditto
9097 * converter.C: ditto
9099 * Variables.C: ditto
9100 * TextCache.C: ditto
9101 * MenuBackend.C: ditto
9102 * LyXAction.C: ditto
9104 * FloatList.C: ditto
9106 * ColorHandler.C (LyXColorHandler): ditto
9108 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9110 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9112 * text2.C (openStuff): reintroduce this method (which had been
9113 nuked in NEW_INSETS frenzy).
9115 * lyxfunc.C (Dispatch): when an action has not been handled, use
9116 its name in the error message, not its number.
9118 * paragraph.C (inInset): change method name to begin with lowercase.
9121 * text2.C: updates because of this.
9123 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9125 * ToolbarDefaults.C (add): add spaces in error message
9127 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9129 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9130 (readLyXformat2): rename return_par to first_par, use lyxlex's
9131 pushToken and remove the manual push handling.
9132 (parseSingleLyXformat2Token): add another ert comp. variable:
9133 in_tabular, rename return_par to first_par. handle newlines better
9135 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9137 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9139 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9141 * text2.C (getParFromID): removed
9143 * buffer.C (getParFromID): new method moved form lyxtext.
9144 * BufferView2.C (insertErrors): adjust
9145 (setCursorFromRow): adjust
9146 * BufferView_pimpl.C (restorePosition): adjust
9147 * lyxfunc.C (Dispatch): adjust
9148 * undo_funcs.C (textUndo): adjust
9150 (textHandleUndo): adjust
9151 (textHandleUndo): adjust
9153 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * buffer.C: up' the LYX_FORMAT
9157 * lyxfont.h: turn NO_LATEX on as default
9159 * buffer.C (insertErtContents): new methods of tex style compability.
9160 (parseSingleLyXformat2Token): use it several places.
9161 * tabular.C (OldFormatRead): and here
9163 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9165 * text2.C: remove some commented code.
9168 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9169 * trans.C: changes because of the above.
9171 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9173 * text2.C (setCounter): Fix counters bug with bibliography layout.
9175 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9177 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9178 own member functions
9179 (simpleTeXSpecialChars): ditto
9181 2001-07-06 Juergen Vigna <jug@sad.it>
9183 * a lot of files: changed the access to LyXText::status and the
9184 call of undo-functions.
9186 * undo.[Ch]: added a inset_id to the undo informations.
9188 * undo_funcs.[Ch]: added and moved here all undo functions.
9190 * lyxtext.h: give the status enum a weight, made status_ a private
9191 variable and made accessor functions for it, removed the whole bunch
9192 of undo-functions as they are now in their own file, make some
9193 functions publically available. Added function ownerParagraph with
9196 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9197 made InInset() a const function, added getParFromID() function.
9199 * buffer.[Ch]: added const version for inset_iterator functions,
9200 added getInsetFromID() function.
9202 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9203 changed undo functions for new version.
9205 2001-07-05 Juergen Vigna <jug@sad.it>
9207 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9208 unknow mechanism does not call the proper constructor but only this
9209 one also if I request the other!?
9211 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9213 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9215 * text2.C (LyXText): use initialization lists.
9217 * lyxtext.h (Selection): initialize set_ and mark_
9218 (init): remove method
9220 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9222 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9224 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9226 * screen.[Ch]: change method names to begin with lowercase
9228 * BufferView_pimpl.C (updateScrollbar): simplify further and
9229 hopefully make it a bit faster.
9231 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9233 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9234 calling directly xforms functions.
9236 * Painter.C (Painter):
9237 * lyx_cb.C (MenuWrite):
9238 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9241 * lyx_gui.C: remove bogus guiruntime extern declaration.
9243 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9245 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9247 (redoDrawingOfParagraph): ditto
9248 (redoParagraphs): ditto
9249 (cutSelection): don't create a object for CutAndPaste use the
9250 static method directly
9251 (pasteSelection): ditto
9253 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9256 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * modifications to some other files because of this.
9260 * Makefile.am (lyx_SOURCES): add XFormsView
9262 * XFormsView.[Ch]: new files
9264 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9265 the main window. Move the gui dependent stuff to XFormsView
9267 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9269 * tabular.C (GetCellInset): update cur_cell also in the row/col
9270 version of this function.
9272 * lyxfunc.C: no need to include figure_form.h here.
9278 * lyxvc.C: no need to include forms.h here.
9280 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9282 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9284 * lyxfunc.C (Dispatch):
9286 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9287 constructor argument.
9289 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9291 * paragraph.C (Paragraph): dont't clear, and just set layout.
9292 (makeSameLayout): use params's copy contructor.
9294 * ParagraphParameters.[Ch] (makeSame): delete method
9296 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9298 * Variables.[Ch]: fix indentation, rename set to isSet
9300 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9302 * lyxfunc.C (Dispatch): fix typo
9304 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9306 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9309 * bufferlist.C: include assert.h for emergencyWrite().
9311 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9313 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9314 give up at last (bug #425202) !
9316 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9322 * spellchecker.C: strip spellchecker options and bring up
9323 preferences tab instead
9325 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9327 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9328 the istringstream constructor
9330 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9332 * paragraph.C (getLayout): fix return value
9334 * paragraph.h: do not declare getLayout as inline.
9336 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9338 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9340 * lyxcursor.h (operator<): new func
9341 (operator>): new func
9342 (operator>=): new func
9343 (operator<=): new func
9345 * text.C (changeCase): use selection.start and selection.end
9346 (changeRegionCase): require from to be <= to. Require par to be a
9349 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9351 2001-06-27 Juergen Vigna <jug@sad.it>
9353 * text.C (cursorLeftOneWord): changed to return the cursor and added
9354 overlay with BufferView * parameter which calls this one.
9356 (selectWord): use new getWord function.
9357 (changeCase): renamed from changeWordCase as and extended to work
9360 * lyxtext.h: added enum word_location
9362 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9363 changeCase as this operates now also on selections.
9365 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9367 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9369 * many files: send debug output to Debug::INFO instead of
9372 * converter.C (View):
9374 (Move): send debug output to Debug::FILES instead of console.
9376 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9378 * lyxfunc.C (getStatus): use func_status
9380 * func_status.h: new header, describing the results of
9383 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9386 2001-06-25 The LyX Project <jug@sad.it>
9388 * buffer.C (sgmlOpenTag):
9390 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9392 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9394 * text2.C: remove some dead code
9396 * tabular.C (GetCellInset): store the last cell checked (gotten)
9398 * tabular.h: add the helper for the speedup
9400 * lyxtext.h: remove some dead code
9402 2001-06-26 The LyX Project <Asger>
9404 * paragraph.C: Change export to LaTeX of alignment to
9405 \begin{center} and family for better roundtrip work with reLyX.
9407 * Tune the math drawing a bit.
9409 2001-06-25 The LyX Project <Asger>
9411 * LColor.C (LColor): New color for math background. New color
9414 2001-06-25 The LyX Project <jug@sad.it>
9416 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9419 * bufferlist.C (newFile): do not restrict to files ending with
9422 * BufferView_pimpl.C (MenuInsertLyXFile):
9424 2001-06-24 The LyX Project <jug@sad.it>
9426 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9429 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9431 * lyxtext.h: rename most methods to begin with a small char.
9432 Lots of changes because of this.
9434 * paragraph.C (Paragraph): do not call fitToSize
9435 (erase): call Pimpl::erase
9436 (insertChar): call Pimpl::insertChar
9437 (insertInset): call Pipl::insertInset
9438 (breakParagraph): do not call fitToSize
9439 (breakParagraphConservative): do not call fitToSize
9440 (fitToSize): remove method
9442 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9444 2001-06-24 The LyX Project <Asger>
9446 * Fix Qt compilation^2
9448 2001-06-24 The LyX Project <jug@sad.it>
9450 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9451 depthHook(getDepth()-1).
9454 * ParagraphParameters.h:
9455 * ParameterStruct.h: change type of depth to unsigned int ==
9456 depth_type. Many adaptations to other files before of that.
9458 2001-06-24 The LyX Project <Asger>
9460 * Fix Qt compilation.
9462 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9464 * paragraph.h: renamed several methods to begin with small letter.
9465 several changes to many parts of the code because of this.
9467 2001-06-23 The LyX Project <jug@sad.it>
9469 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9470 rewritten to discard all double spaces when KeepEmpty is off
9471 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9472 to only handle newlines but not fiddle with spaces and friends.
9474 * lyxfunc.C (MenuNew): when doing 'new from template', use
9475 template_path as default directory
9477 2001-06-23 The LyX Project <Asger>
9479 * Clean-up of header file includes all over
9480 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9482 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9484 * paragraph.h: renamed from lyxparagraph.h
9486 2001-06-23 Asger <lyx@violet.home.sad.it>
9488 * Buffer.h: Removed Buffer::resize
9489 * BufferList.h: Removed BufferList::resize
9490 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9491 the document lazily when we change the width, or the font settings.
9493 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9495 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9497 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9499 * buffer.h: remove out of date comment
9501 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9504 * screen.C: fix "theoretical" GC leak
9506 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9508 * LaTeX.C (scanAuxFile):
9509 (deplog): remove trailing \r when reading stream (useful under
9512 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9514 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9515 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9516 and BufferView::theLockingInset(Inset*), so should use them and not
9517 access bv_->text->the_locking_inset directly.
9519 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9521 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9524 * tex-defs.h: remove old unused file
9526 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9528 * BufferView_pimpl.C: fix typo, remove minibuffer message
9529 when buffer has loaded
9531 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9533 * lyxfunc.C (Dispatch): use stringstream
9534 (MenuNew): use stringstream
9535 (Open): use stringstream
9537 * importer.C (Import): use stringstream
9539 * bufferview_funcs.C (CurrentState): use stringstream
9541 * LaTeX.C (run): use stringstream
9543 * BufferView_pimpl.C (savePosition): use stringstream
9544 (restorePosition): use stringstream
9545 (MenuInsertLyXFile): use stringstream
9547 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9560 * vspace.C: removed // -*- C++ -*- as first line.
9563 * version.h: added // -*- C++ -*- as first line.
9565 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9567 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9569 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9572 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9577 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9579 * gettext.C: include LString.h even when --disable-nls is on.
9581 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9583 * converter.h (Get): changed argument type from int to
9584 FormatList::size_type to avoid unnecessary conversion.
9586 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9589 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9591 * gettext.h: include LString.h even when --disable-nls is on.
9593 2001-06-07 Juergen Vigna <jug@sad.it>
9595 * text.C (BreakAgain): subst spaces with tabs.
9597 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9598 (resizeInsetsLyXText): set force on resizeLyXText.
9600 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9602 * gettext.h (gettext_init):
9603 (locale_init): use a real definition instead of a macro
9605 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9607 * Bufferview_pimpl.C:
9609 * LColor.C: further lcolor tidies
9611 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9613 * BufferView_pimpl.C (updateScrollbar): simplify.
9615 * BufferView2.C: don't include insets/insetinfo.h, change
9616 prototype for insertInset and call the Pimpl version. let
9617 updateInset call Pimpl version.
9619 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9620 gotoInset to BufferView::Pimpl
9622 2001-06-01 Juergen Vigna <jug@sad.it>
9624 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9625 inside a LockingInset (is the update needed at all?).
9627 2001-05-31 Juergen Vigna <jug@sad.it>
9629 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9630 here not the old one otherwise how should we compare it afterwards
9633 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9638 * FontInfo.C: bring C functions into global namespace when
9641 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9643 * LString.h: make sure config.h has been loaded before LString.h.
9645 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9646 (one for each char read by EatLine!).
9648 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9651 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9653 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9654 to the same as the par we break from
9656 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9658 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9660 * MenuBackend.C (expand): also create menu entries for wide
9661 versions of the floats.
9663 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9665 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9667 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9668 frontends/Makefile.am
9674 * tabular.C (getTokenValue): add std::
9676 * tabular-old.C (getTokenValue): add std::
9677 (getTokenValue): ditto
9678 (getTokenValue): ditto
9680 * screen.C (ToggleSelection): adjust
9682 * lyxtext.h: put selection cursors inside a Selection struct.
9684 * lyxfunc.C (moveCursorUpdate): adjust
9686 * lyxfont.C (latexWriteStartChanges): add std::
9690 * font.h: delete with(char const *, LyXFont const &)
9692 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9694 * FontInfo.C (getFontname): add std::
9696 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9697 (workAreaButtonPress): adjust
9698 (tripleClick): adjust
9700 (moveCursorUpdate): adjust
9703 * BufferView2.C (gotoInset): adjust
9705 2001-05-30 Juergen Vigna <jug@sad.it>
9707 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9708 to check pspell I add this as default as I now have new pspell
9709 libraries and they seem to use this.
9711 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * text2.C (CutSelection): make the cursor valid before the call to
9716 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9718 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9719 relied on 0 terminated strings and other horrors. Bug found due to
9720 the new assert in lyxstring!
9722 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9725 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9727 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9730 * lyxfunc.C (processKeySym): change method of getting to the
9733 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9734 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9735 * BufferView_pimpl.[Ch]: here as private methods.
9737 2001-05-28 Juergen Vigna <jug@sad.it>
9739 * text.C (SetHeightOfRow): added the update() call again as it is
9740 needed to initialize inset dimensions!
9742 2001-05-16 Juergen Vigna <jug@sad.it>
9744 * text2.C (SetCharFont): Add new function with BufferView * and
9745 bool toggleall parameters for setting insets internal fonts.
9746 (SetFont): Freeze the undo as we may change fonts in Insets and
9747 all this change should be inside only one Undo!
9749 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9750 setting font's in insets as for them we have the SetFont function!
9752 2001-05-15 Juergen Vigna <jug@sad.it>
9754 * text2.C (ClearSelection): to be sure we REALLY don't have any
9757 * tabular.C (TeXCellPreamble): fixed the left border problem for
9760 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9762 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9765 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9767 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9768 LFUN_BREAKPARAGRAPH.
9770 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9771 help test to "internal only", similar for LFUN_INSERT_URL
9773 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9774 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9775 auto_region_delete and deadkeys.
9777 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9780 * LColor.C: remove some dead entries, tidy a little
9782 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9784 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9786 (Dispatch): implement LFUN_ESCAPE
9788 * commandtags.h: add LFUN_ESCAPE
9790 * LyXAction.C (init): add entry for LFUN_ESCAPE
9792 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9793 Remove commented code.
9794 (insertNote): moved here
9795 (open_new_inset): moved here
9797 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9800 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9802 * kbmap.C (findbinding): clean it up and make it work correctly.
9804 * lyx_main.C (init): do not pass argc and argv as parameters
9806 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9808 * buffer.C: fix path for OS/2 & Win32
9812 * lyx_main.C: Added os:: class.
9814 * os2_defines.h: update
9816 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9818 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9819 better by trying again with reduced state.
9821 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9823 * lyxrc.C (read): print error about invalid key sequence only when
9824 debugging (because not all latinX keysyms are known to some X
9827 * kbsequence.C (getiso): add a few std:: qualifiers
9828 (getiso): comment out extra return statement.
9830 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9832 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9834 (Dispatch): enhance the accent inset a bit. (not perfect)
9836 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9838 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9840 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9842 * bufferlist.C (emergencyWrite): fix assert() call
9844 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9846 * text.C (InsertChar): Added trivial patch to only send the "you
9847 can not do multiple spaces this way" message once during a
9850 2001-05-08 Baruch Even <baruch@lyx.org>
9852 * Makefile.am: Changed order of libraries to get LyX to link properly
9853 with the gnome frontend.
9855 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9857 * LaTeXFeatures.h: add a std:: qualifier
9859 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9861 * paragraph.C (String): use stringstream
9863 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9865 * paragraph.C (writeFile): remove footflag arg
9867 * buffer.C (makeLaTeXFile): use stringstream
9868 (latexParagraphs): remove footnot gurba
9870 * LaTeXFeatures.C (getPackages): use stringstream
9871 (getMacros): likewise
9872 (getTClassPreamble): likewise
9873 (getFloatDefinitions): new method
9875 * paragraph.C (writeFile): reindent
9878 * WorkArea.h: revert the xpos + etc changes.
9880 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9882 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9884 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9885 (pasteSelection): likewise
9886 * text2.C (CreateUndo): likewise
9888 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9890 * minibuffer.C (peek_event): temporarily reduce the functionality
9891 of the minibuffer (to allow args on lfuns)
9893 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9894 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9896 * buffer.C (readInset): add compability reading of old float
9897 lists, add reading of new style float list.
9898 (readInset): avoid reevaluation of inscmd.getCmdName()
9899 (getLists): reindent
9901 * MenuBackend.C (MenuItem): implement parsing of
9902 md_floatlistinsert and md_floatinsert.
9903 (expand::LastFiles): move initalizaton of iterators out of loop,
9905 (expand::Documents): introduce typdedef vector<string> Strings,
9907 (expand::ExportFormats): introduce typedef vector<Format const *>
9908 Formats, and use it.
9909 (expand): implement FloatListInsert and FloatInsert.
9911 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9912 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9913 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9915 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9917 (Dispatch::LFUN_FLOAT_LIST): implement
9919 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9921 * LaTeX.C (run): Fix problem with --export code.
9923 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9925 * BufferView.[Ch] (workarea): removed.
9926 (getClipboard) new method; wrapper for workarea()->getClipboard()
9928 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9931 * WorkArea.h (width, height, xpos, ypos): These methods all
9932 returned the dimensions of the work_area sub-area of WorkArea,
9933 resulting in a position error if the WorkArea were resized. Now
9934 return the dimensions of the entire WorkArea.
9936 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9938 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9940 * LaTeX.C (deplog): correct the syntax of regex reg1
9942 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9944 * undo.C: remove !NEW_INSETS cruft
9946 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9948 * text2.C: remove !NEW_INSETS cruft
9950 * text.C: remove !NEW_INSETS cruft
9952 * tabular.C: remove !NEW_INSETS cruft
9954 * spellchecker.C: remove !NEW_INSETS cruft
9956 * lyxtext.h: remove !NEW_INSETS cruft
9958 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9960 * lyxfunc.C: remove !NEW_INSETS cruft
9962 * lyxfind.C: remove !NEW_INSETS cruft
9964 * lyx_cb.C: remove !NEW_INSETS cruft
9966 * figureForm.C: remove !NEW_INSETS cruft
9968 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9970 * buffer.[Ch]: remove !NEW_INSETS cruft
9972 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9974 * CutAndPaste.C: remove !NEW_INSETS cruft
9976 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9978 * BufferView2.C: remove !NEW_INSETS cruft
9980 * BufferView.h: remove !NEW_INSETS cruft
9982 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9984 * Lsstream.h: include LString.h before the sstream headers to
9985 fix problem with gcc 2.95.3 and lyxstring
9987 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9989 * lyx_main.C: add using directives when needed for C functions
9990 declared in std:: namespace.
9992 2001-04-27 Juergen Vigna <jug@sad.it>
9994 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9995 (SetHeightOfRow): comment out the update call should not be needed!
9997 2001-04-13 Juergen Vigna <jug@sad.it>
9999 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10000 (LyXTabular): tried to minimize operator= operations (and realized
10001 hopfully Lars wish).
10003 2001-04-27 Juergen Vigna <jug@sad.it>
10005 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10007 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10009 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10011 * buffer.C (readInset): hack to make listof algorithm work
10013 * BufferView_pimpl.C: hack to make listof algorithm work
10015 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10017 * LyXAction.C: removed all !NEW_INSETS cruft
10018 (init): moved lfun_item in method
10020 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10022 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10024 * BufferView2.C (theLockingInset): white space.
10026 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10028 * minibuffer.C: include <iostream>
10030 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10032 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10034 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10036 * text.[Ch] (TransposeChars): new method
10038 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10040 * call message directly through LyXView instead of through LyXFunc
10041 * BufferView2.C: adjust
10042 * BufferView_pimpl.C: adjust
10043 * FontLoader.C: adjust
10045 * bufferview_funcs.C: adjust
10046 * converter.C: adjust
10047 * figureForm.C: adjust
10048 * importer.C: adjust
10050 * lyx_gui_misc.C: adjust
10051 * lyxfunc.C: adjust
10054 + more files in subdirs
10056 * lyxparagraph.h (size): move up int file
10059 * adjust all uses of Assert to lyx::Assert.
10061 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10062 lyxfunctional in namespace lyx
10063 * layout.C (hasLayout): ditto
10066 (delete_layout): ditto
10067 (NumberOfClass): ditto
10068 * converter.C (GetFormat): ditto
10073 * bufferlist.C (getFileNames): ditto
10074 (emergencyWriteAll): ditto
10077 * MenuBackend.C (hasSubmenu): ditto
10080 * BufferView_pimpl.C (getInsetByCode): ditto
10082 2001-04-18 Juergen Vigna <jug@sad.it>
10084 * vspace.C (asLatexString): fixed the 100% problem.
10086 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10088 * lyxfunc.C (Dispatch):
10090 * minibuffer.h: add a few std:: qualifiers
10092 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10094 * minibuffer.[Ch]: reimplement so that commands is initiated and
10095 run from lyxfunc, simplified som handling, and made the completion
10096 and history code for complete. wip.
10098 * lyxfunc.C (processKeySym): call message
10099 (miniDispatch): new temporary method
10100 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10101 (LFUN_MESSAGE): implement
10102 (LFUN_MESSAGE_PUSH): implement
10103 (LFUN_MESSAGE_POP): implement
10104 (initMiniBuffer): the initial/defualt minibuffer message.
10106 * lyxfont.[Ch]: inline some more getters
10108 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10110 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10112 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10113 (AutoSave): use LFUN_MESSAGE
10114 (Reconfigure): ditto
10116 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10118 * figureForm.C: use LFUN_MESSAGE
10120 * converter.C (runLaTeX): use LFUN_MESSAGE
10122 * bufferview_funcs.C: use LFUN_MESSAGE
10124 (changeDepth): ditto
10126 * bufferparams.h: use boost::
10128 * bufferlist.h: inherit privately from noncopyable
10130 * bufferlist.C (loadLyXFile): remove some commented code.
10132 * buffer.C (runChktex): use LFUN_MESSAGE
10134 * ShareContainer.h: inherit privately from noncopyable
10136 * ParagraphParameters.[hC] (depth): inline it.
10138 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10140 (message): new method
10141 (messagePush): ditto
10142 (messagePop): ditto
10143 (show): init minibuffer
10144 (showState): direct call
10146 * LaTeX.[Ch]: inherit privately from noncopyable
10147 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10148 instead of WriteStatus.
10150 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10152 * BufferView_pimpl.C (buffer): don't init minibuffer
10153 (workAreaButtonPress): use LFUN_MESSAGE
10154 (workAreaButtonRelease): ditto
10155 (savePosition): ditto
10156 (restorePosition): ditto
10157 (MenuInsertLyXFile): ditto
10158 (workAreaExpose): don't init minibuffer
10159 (update): remove commented code, simplify
10161 * BufferView2.C (openStuff): use LFUN_MESSAGE
10162 (toggleFloat): ditto
10165 (copyEnvironment): ditto
10166 (pasteEnvironment): ditto
10171 (updateInset): remove some commented code
10173 * lastfiles.h: inherit privately from noncopyable
10176 * lyx_main.h: ditto
10178 * lyxlex_pimpl.h: ditto
10180 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10181 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10182 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10184 * LyXAction.h: inherit privately from noncopyable, add methods
10185 func_begin, func_end, returning iterators to the func map.
10187 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10188 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10189 (func_begin): new method
10190 (func_end): new method
10192 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10194 (copySelection): ditto
10195 (pasteSelection): ditto
10197 * BufferView.C: whitespace change
10198 * BufferView.h: inherit privately from noncopyable
10200 2001-04-16 Allan Rae <rae@lyx.org>
10202 * tabular-old.C (l_getline):
10203 * spellchecker.C (sc_check_word):
10204 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10205 an unrecognised preprocessor directive. So ensure they're wrapped.
10207 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10209 * src/exporter.C (Export): Give an error message when path to file
10212 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10214 * LaTeX.C (deplog): Always check that foundfile exists.
10216 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10219 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10221 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * tabular.[Ch] (getLabelList): implement new method
10225 * minibuffer.h: comment ouf setTiimer
10227 * minibuffer.C (ExecutingCB): constify res
10228 (peek_event): constify s
10229 (Set): constify ntext
10230 (Init): constify nicename
10232 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10234 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10235 (savePosition): use two params to Minibuffer::Set
10236 (restorePosition): ditto
10238 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10240 * lyx_main.C: include language.h
10242 * Makefile.am (lyx_main.o): add language.h
10244 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10250 * CutAndPaste.C: include gettext.h
10252 * lyxfont.h: remove old hack with ON and OFF.
10255 * lyxfont.h: do not include language.h...
10260 * bufferview_funcs.C:
10266 * paragraph.C: ... but do it here instead
10268 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10270 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10272 * tabular.C: small reformat
10274 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10277 (BreakParagraph): ditto
10278 (SetOnlyLayout): ditto
10281 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10284 * lastfiles.C: removed most using decl, add std:: where needed
10286 * buffer.C: ws changes
10288 * MenuBackend.C (class compare_format): put into anon namespace
10289 (expand): constify label, names, action, action2
10292 * text.C (SingleWidth): constify font
10293 (IsBoundary): constify rtl2
10294 (GetVisibleRow): constify ww
10296 * LaTeX.C (deplog): constify logfile
10298 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10300 (workAreaExpose): constify widthChange, heightChange
10302 * lyxrow.C (par): moved
10305 * lyxrow.h: as inlines here
10307 * lyxfont.h (shape): moved from lyxfont.C
10308 (emph): moved from lyxfont.C
10310 * lyxfont.C (LyXFont): use initialization list for all
10312 (shape): move to lyxfont.h as inline
10313 (emph): move to lyxfont.h as inline
10316 2001-04-04 Juergen Vigna <jug@sad.it>
10318 * vspace.C: had to include stdio.h for use of sscanf
10320 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10323 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10324 independent of xforms.
10326 2001-04-02 Juergen Vigna <jug@sad.it>
10328 * spellchecker.C: fixed namespace placing!
10330 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10332 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10333 the LyXParagraph * is 0.
10335 2001-03-29 Juergen Vigna <jug@sad.it>
10337 * vspace.C: added support for %, c%, p%, l%.
10338 (stringFromUnit): added helper function.
10339 (asLatexString): changed to give right results for the %-values.
10341 * buffer.C: convert the widthp in a width%.
10343 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10345 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10348 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10349 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10351 * lyx_cb.[Ch]: see above.
10353 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10357 * lyx.[Ch]: replaced by figure_form.[Ch].
10361 * lyxfunc.C: changed headers associated with above changes.
10363 2001-03-27 Juergen Vigna <jug@sad.it>
10365 * BufferView_pimpl.C: set the temporary cursor right!
10367 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10369 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10371 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10373 * LString.h: removed "using std::getline"!
10375 * BufferView_pimpl.C (Dispatch): changes due to changes in
10376 InsetInclude::Params.
10378 * buffer.C (tag_name): removed redundant break statements as they were
10379 producing lots of warnings with my compiler.
10381 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10383 * LString.h: add "using std::getline" when using the real <string>.
10385 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10387 * buffer.C: removed bitset usage.
10388 PAR_TAG moved to an anonymous name space.
10389 (tag_name): new funtion, also in the anonymous namespace.
10390 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10391 (makeDocBookFile): clean code. Completed transition from string arrays
10393 (SimpleDocBookOnePar): code clean.
10395 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10397 * tabular.C: add some comments.
10399 2001-03-22 Juergen Vigna <jug@sad.it>
10401 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10402 compatibility read a bit and fixed bug with minipage in different
10405 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10407 * buffer.C (pop_tag): removed.
10408 (push_tag): removed.
10409 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10410 array replaced with vector. Added support for CDATA sections.
10411 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10413 (makeDocBookFile): XML conformant declaration of CDATA section,
10414 fixed bug related to <emphasis> in the first paragraph char.
10415 (sgmlOpenTag): exclude empty tags.
10416 (sgmlCloseTag): ditto.
10418 * buffer.h (pop_tag): removed.
10419 (push_tag): removed.
10421 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10423 * language.h (Languages): added size_type and size().
10425 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10427 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10428 response on compability reading of minipages. One probliem is that
10429 the old usage of minipages was «flertydig»
10431 * several files here and in subdirs: don't use static at file
10432 scope use anon namespaces instead.
10434 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10436 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10437 LaTeX output. This is necessary for Literate document
10440 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10442 * buffer.C: insert hfill when needed.
10444 * tabular.C (l_getline): use string::erase, small whitespace change.
10446 * BufferView_pimpl.C: try the anon namespace.
10447 * WorkArea.C: ditto
10449 2001-03-16 Juergen Vigna <jug@sad.it>
10451 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10452 otherwise it won't open options-dialogs.
10454 * buffer.C: honor pextraWidth(p) on converting minipages.
10456 * tabular.C (l_getline): changed the functions to strip trailing \r.
10458 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10460 * BufferView_pimpl.C:
10461 * minibuffer..C: added "using SigC::slot" declaration.
10463 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10465 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10471 * paragraph.C: ditto
10473 * lyxtext.h: NO_PEXTRA
10475 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10477 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10478 * ParameterStruct.h: ditto
10479 * ParagraphParameters.h: ditto
10480 * lyxparagraph.h: ditto
10482 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10484 * buffer.C: add compability for minipage alignment.
10485 (latexParagraphs): remove unwanted pextra check.
10487 * several files: remove CXX_WORKING_NAMESPACES
10489 * buffer.C (pop_tag): tie is in namespace boost
10491 * BufferView.h: noncopyable is in namespace boost
10493 * lyx_main.h: ditto
10496 * lastfiles.h: ditto
10497 * bufferlist.h: ditto
10498 * ShareContainer.h: ditto
10500 * LyXAction.h: ditto
10503 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10505 * Merging changes from BRANCH_MVC back into HEAD.
10507 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10509 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10511 * BufferView_pimpl.C: change from intl.C
10515 * Makefile.am: move combox.*
10521 * intl.C: remove dialog (covered by prefs)
10523 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10525 * lyxfunc.C (Dispatch): removed redundant break statement.
10527 2001-03-14 Juergen Vigna <jug@sad.it>
10529 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10531 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10533 * buffer.C: add hack to fix compability reading of minipages.
10535 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10537 * buffer.C (getLists): Cleanup.
10539 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10541 * lyxfont.C (update): don't honor toggleall on font size.
10543 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10547 * Makefile.am: moved to frontends/xforms/
10551 * BufferView_pimpl.C: changes for moved mathpanel
10553 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10555 * gettext.h: fix gettext_init() in --disable-nls
10557 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10559 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10561 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10564 * lyx.h: strip external form
10566 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10568 * BufferView_pimpl.C: add comment, destroySplash()
10570 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10572 * BufferView_pimpl.C:
10576 * lyxfunc.C: use re-worked insetinclude
10578 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10580 * buffer.C: add using std::stringstream.
10582 * lyx_cb.C: readd using std::ios.
10584 * buffer.C: add using std::map.
10586 * BufferView_pimpl.C: add using std::vector.
10588 * ShareContainer.h: add std:: to swap.
10590 * buffer.h: add some typedefs
10591 * buffer.C (getLists): use them
10592 (getLists): renamed from getTocList.
10593 add a counter for the different float types and use it in the
10595 (getLists): use the same counter for the NEW_INSETS and the "non"
10598 * lyx_cb.h: remove unused items, includes, using etc.
10600 * ShareContainer.h: remove some commented code, add more comments
10601 and "documentation".
10603 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10605 * buffer.C (getTocList): make the list also when NEW_INSETS is
10608 * buffer.h: remove TocType
10610 * buffer.C (getTocList): change to return a map<string,
10611 vector<TocItem> >, implement for dynamic number of list.
10613 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10614 * text2.C (PasteSelection): adjust
10615 * CutAndPaste.C (pasteSelection): adjust
10617 * FloatList.C (FloatList): update from the new_insets branch.
10618 * Floating.[Ch]: ditto
10619 * LaTeXFeatures.C: ditto
10621 * lyxlex_pimpl.C: ditto
10623 * paragraph.C (Last): remove when NEW_INSETS is defined.
10625 * other file: changes because of the above.
10627 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10629 * lyxparagraph.h: rename next to next_, previous to previous_,
10630 make them private for NEW_INSETS. Rename Next() to next(),
10631 Previous() to previous().
10633 * other files: changes because of the above.
10635 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10638 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10641 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10643 * main.C (main): pass lyx_localedir to gettext_init().
10645 * gettext.h: remove locale_init and gettext_init macros
10647 * gettext.C (locale_init): new function
10648 (gettext_init): new function
10650 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10653 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10655 * Moved credits to frontends:
10656 * credits.[Ch]: removed
10657 * credits_form.[Ch]: removed
10658 * lyx_gui_misc.C: remove credits stuff
10661 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10663 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10665 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10666 unneeded destructor.
10668 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10669 a standalone pointer again.
10671 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10673 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10679 * ToolbarDefaults.C:
10688 * BufferView_pimpl.C: use new file dialog in GUII
10691 * lyx_cb.C: remove LayoutsCB to Toolbar
10693 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10695 * ShareContainer.h (get): add std:: qualifier
10697 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * ShareContainer.h: define a proper ShareContainer::value_type
10700 type (and use typename to please compaq cxx)
10702 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10704 * lyxparagraph.h: move serveral local vars to
10705 ParameterStruct/ParagraphParameters., use ShareContainer in
10706 FontTable., make vars in FontTable private and add getter and
10709 * paragraph.C: changes because of the above.
10711 * lyxfont.h: remove copy constructor and copy assignment. (the
10712 default ones is ok), move number inside FontBits. move inlines to
10715 * lyxfont.C: add number to initializaton of statics, move several
10716 inlines here. constify several local vars. some whitespace
10717 cleanup. Dont hide outerscope variables.
10719 * Spacing.h: add two new constructors to match the set methods.
10721 * ShareContainer.h: new file, will perhaps be moved to support
10723 * ParameterStruct.h: new file
10725 * ParagraphParameters.h: new file
10727 * ParagraphParameters.C: new file
10729 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10730 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10732 * BufferView_pimpl.C: ParagraphParameter changes.
10733 * buffer.C: Likewise.
10734 * bufferview_funcs.C: Likewise.
10735 * text.C: Likewise.
10736 * text2.C: Likewise.
10738 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10740 * lyxfind.C (LyXReplace): do not redefine default argument in
10742 (IsStringInText): ditto
10743 (SearchForward): ditto
10744 (SearchBackward): ditto
10746 2001-03-06 Juergen Vigna <jug@sad.it>
10748 * lyxfind.C (IsStringInText): put parentes around expressions.
10750 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10752 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10754 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10756 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10758 * stl_string_fwd.h: add comment
10760 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10763 * tabular.C: remove unused DocBook methods
10769 killed DO_USE_DEFAULT_LANGUAGE
10771 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10773 * lyx_gui.C: do not include language.h.
10775 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10776 arguments in function implementation.
10778 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10780 * BufferView_pimpl.C: add <ctime>
10782 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10784 * BufferView_pimpl.C: add using std::find_if
10786 2001-02-27 José Matos <jamatos@fep.up.pt>
10788 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10791 2001-02-11 José Matos <jamatos@fep.up.pt>
10793 * buffer.C (makeDocBookFile): command styles now have a parameter as
10794 "title" by default.
10796 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10798 * layout_forms.[Ch]: removed
10799 * lyx_cb.[Ch]: out character
10800 * lyx_gui.C: out character
10801 * lyx_gui_misc.C: out character
10802 * bufferview_funcs.C: : out character,
10803 added toggleall as parameter in ToggleAndShow
10805 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10807 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10809 * text2.C (SetCurrentFont): Disable number property at boundary.
10811 2001-02-26 Juergen Vigna <jug@sad.it>
10813 * lyxfunc.C (getStatus): added a string argument override function so
10814 that this is correctly called from LyXFunc::Dispatch if it contains a
10815 do_not_use_argument which is used!
10816 (Dispatch): added check for "custom" export and call appropriate func.
10818 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10820 * lyxrc.C: Add language_command_local, language_use_babel and
10821 language_global_options.
10823 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10825 * buffer.C (makeLaTeXFile): Use language_use_babel and
10826 language_global_options.
10828 2001-02-23 Juergen Vigna <jug@sad.it>
10830 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10831 which works with LyXText and putted it inside BufferView. Here now we
10832 only call for that part the BufferView::Dispatch() function.
10834 * BufferView.C (Dispatch): added.
10836 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10837 functions which needs to use a LyXText over from LyXFunc.
10838 (MenuInsertLyXFile): added
10839 (getInsetByCode): added
10840 (moveCursorUpdate): added
10841 (static TEXT): added
10843 2001-02-22 Juergen Vigna <jug@sad.it>
10845 * BufferView_pimpl.C (update): call a status update to see if LyXText
10848 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10850 * vc-backend.C (revert): implement for CVS
10851 (getLog): implement for CVS
10853 2001-02-20 Juergen Vigna <jug@sad.it>
10855 * text2.C (ClearSelection): added BufferView param for inset_owner call
10857 * lyxfunc.C (TEXT): added this function and use it instead of
10858 directly owner->view()-text of getLyXText().
10860 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10862 * src/layout_forms.C: out preamble
10863 * src/layout_forms.h: out preamble
10864 * src/lyx_cb.C: out preamble
10865 * src/lyx_cb.h: out preamble
10866 * src/lyx_gui.C: out preamble
10867 * src/lyx_gui_misc.C: out preamble
10868 * src/lyxfunc.C: connect with guii preamble
10870 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10872 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10874 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10876 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10877 whether to run bibtex.
10879 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10881 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10883 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10885 * Makefile.am (lyx_SOURCES): removed bibforms.h
10887 * vspace.h: doxygen
10889 * text.C (GetVisibleRow): make several local vars const
10891 * tabular.C: small cleanup.
10893 * lyxserver.C (callback): use compare instead of strncmp
10895 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10896 inlines to after class or to paragraph.C
10898 * lyxfont.h: remove friend operator!=
10900 * converter.h: move friend bool operator< to non friend and after
10903 * combox.h: small cleanup
10905 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10906 to inlines after class def.
10908 * buffer.C (pop_tag): use string operations instead of strcmp
10910 * bmtable.c: doxygen, small cleanup
10912 * LaTeX.h: remove friend operator==
10914 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10926 * BufferView_pimpl.C:
10927 * BufferView.[Ch]: remove cruft
10929 2001-02-14 Juergen Vigna <jug@sad.it>
10931 * lyxfunc.C: removed #if 0 unused code
10933 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10935 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10937 * text2.C (SetSelection): added a BufferView * parameter
10939 2001-02-13 Juergen Vigna <jug@sad.it>
10941 * lyxfunc.C (Dispatch): fixed protected blank problem.
10942 * BufferView2.C (protectedBlank): added LyxText * parameter.
10944 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10945 (AppendColumn): same as above for column_info.
10947 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10948 (moveCursorUpdate): use a LyXText param for support of InsetText.
10950 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10951 (tripleClick): ditto
10953 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10955 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10957 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10959 * text2.C (SetSelection): set correct update status if inset_owner
10960 (ToggleFree): ditto
10962 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10964 * tabular.C: remove some commented code.
10966 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10968 * BufferView_pimpl.C: call hideSplash()
10970 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10973 * bibforms.h: remove
10976 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10977 add LFUN_CHILD_CREATE
10979 * counters.h: fix tiny typo
10984 * lyx.C: move splash to frontends/xforms/
10986 * lyx_gui_misc.C: move Include and Bibform to frontends
10988 * lyxvc.h: clarify comment
10990 * vspace.C: tiny housekeeping
10992 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10994 * text.C (PrepareToPrint): RTL Fix.
10996 * paragraph.C (GetUChar): New method.
10997 (String): Use GetUChar.
10999 * buffer.C (asciiParagraph): Use GetUChar.
11001 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11003 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11005 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11008 * buffer.C: rename to getLogName(), handle
11009 build log / latex log nicely
11011 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11014 * MenuBackend.h: remove support for reference menuitem type.
11016 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11018 * BufferView_pimpl.C: housekeeping
11019 * BufferView_pimpl.h:
11024 * minibuffer.h: move Timeout GUI-I
11026 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11028 * lyxrc.C (read): Update converters data-structures.
11030 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11032 * LaTeX.h (operator!=): add operator != for Aux_Info
11034 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11036 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11038 * LaTeXLog.C: deleted, useful code moved to Buffer
11041 * buffer.C: new function getLatexLogName()
11047 * lyxfunc.C: use frontends for LaTeX and VC logs
11049 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11051 * LaTeX.h: yet another std:: that Allan forgot.
11053 * Variables.C (set): renamed from isset(), because this clashes
11054 with some HP-UX macros (grr).
11056 2001-02-06 Allan Rae <rae@lyx.org>
11058 * LaTeX.h: Another bug fix. Missing std:: this time.
11060 2001-02-04 Allan Rae <rae@lyx.org>
11062 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11063 floats problem. I've left it commented out because it's not quite
11064 correct. It should also test that the current object is a table or
11065 figure inset. But I haven't gotten around to figuring out how to do
11066 that. I *think* it'll be something like: "table" == inset.type()
11068 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11071 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11073 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11074 all the citation/databases/styles in the auxilary file.
11075 (run): Rerun latex if there was a babel language error.
11077 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11079 * text.C (Backspace): Preserve the font when changing newline char
11081 (BreakParagraph): If the cursor is before a space, delete the space.
11083 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11085 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11087 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11088 new argument (code).
11089 (ChangeCitationsIfUnique): New method.
11091 * paragraph.C (GetPositionOfInset): Handle bibkey.
11093 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11095 * BufferView_pimpl.h: change type of Position::par_pos to
11096 LyXParagraph::size_type.
11098 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11100 * BufferView_pimpl.C (savePosition, restorePosition): Write
11101 messages to minibuffer.
11103 2001-01-28 José Matos <jamatos@fep.up.pt>
11105 * buffer.C (makeDocBookFile): adds support for document language.
11106 A silly restriction on the name of LatexCommand types where removed.
11107 Added support for CDATA sections, allows to chars unescaped, used
11108 among others in code, to avoid escape < and >.
11110 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11112 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11113 saved positions instrad of a stack. Furthermore, a position is
11114 stored using paragraph id/paragraph position.
11116 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11117 Remove LFUN_REF_BACK.
11119 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11121 * converter.C (dvipdfm_options): New method.
11123 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11125 * vspace.C (isValidLength): Fix for empty input string.
11127 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11129 * LyXAction.C (init): change description of LFUN_FIGURE to
11132 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11134 * LaTeX.C: add using directive
11136 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11138 * MenuBackend.C (expand): Fix the sorting of the formats.
11140 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11142 * lyx_main.C: tiny error message fix
11144 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11146 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11147 calling fl_initialize(). This fixes the problem with ',' as
11148 decimal separator in text files.
11150 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11152 * trans.C (process): Fix the keymap bug.
11154 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11156 * LaTeX.C (scanAuxFiles): New method. Provides support for
11157 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11158 (scanLogFile) Scan for "run BibTeX" messages.
11160 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11161 OT1 font encoding. Also, load the aecompl package if the ae
11164 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11166 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11168 * texrow.C (increasePos): turn two error messages into debug
11171 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11173 * LaTeX.C (scanAux): Handle the \@input macro.
11174 (runBibTeX): Use scanAux().
11176 * language.C (latex_options_): New field.
11178 * LaTeXFeatures.C (getMacros): Add language macros.
11180 * buffer.C (makeLaTeXFile): Small fix.
11182 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11184 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11186 * text2.C: add a using directive.
11188 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11193 * lyxfunc.C: kill LyXBell.
11195 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11197 * text.C (IsBoundary): Remove the error message
11199 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11201 * lyxrc.C (setDefaults): Correct initialization value for
11204 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11206 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11209 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11210 and GotoNextNote().
11212 * src/LyXAction.C: Added reference-next.
11214 * text.C (InsertChar): Use contains instead of strchr.
11216 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11218 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11220 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11221 alignment commands (when needed).
11223 * text.C (InsertChar): Add ':' to number separator chars.