1 2003-06-04 Angus Leeming <leeming@lyx.org>
3 * buffer.C: bump format to 224.
5 2003-06-05 André Pönitz <poenitz@gmx.net>
7 * text2.C (redoParagraphs): remove two const_cast<>
9 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
11 * ParagraphList.h: remove last remnants of NO_STD_LIST
13 2003-06-03 Angus Leeming <leeming@lyx.org>
15 * factory.C (createInset): small change to the way InsetExternal's params
18 2003-06-04 André Pönitz <poenitz@gmx.net>
20 * buffer.h: use Undo directly instead of shared_ptr<Undo>
23 * paragraph.[Ch]: some Inset -> UpdatableInset changes
25 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
27 * undo_funcs.C: make some simple cases of undo work again
29 2003-06-03 John Levon <levon@movementarian.org>
31 * ispell.C: HPUX doesn't have sys/select.h
34 2003-06-03 John Levon <levon@movementarian.org>
36 * CutAndPaste.C: update tabular and include inset
41 * paragraph.C: remove owningBuffer(), don't pass Buffer
44 * factory.C: insetGraphicsParams changed
46 2003-06-02 John Levon <levon@movementarian.org>
52 * text3.C: remove insetparent
54 2003-06-02 John Levon <levon@movementarian.org>
57 * buffer.C: fix inset_iterator.end(), move out of line
60 2003-06-01 John Levon <levon@movementarian.org>
62 * text3.C: use a proper cut/paste when doing inset
63 insert (from Jürgen Spitzmüller)
65 2003-06-01 John Levon <levon@movementarian.org>
67 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
69 2003-05-30 André Pönitz <poenitz@gmx.net>
71 * rowpainter.C: unify second drawing phase
73 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
75 * trans_mgr.C: remove one case of current_view
77 * text2.C (cursorBottom): delete NO_STD_LIST stuff
79 * paragraph_funcs.h: remove paragraph.h include
81 * paragraph.h: delete NO_STD_LIST stuff
83 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
85 * buffer.h: remove paragraph.h include
87 * ParagraphList.C: delete file
89 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
91 * toc.C (getTocList): adjust
93 * paragraph_pimpl.C (validate): adjust
95 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
97 * paragraph.C (Paragraph): adjust
98 (getPositionOfInset): use const_iterator, adjust
99 (bibitem): use const_iterator, adjust
100 (setInsetOwner): adjust
102 * iterators.C (operator++): adjust
104 * InsetList.[Ch]: Replace selfmade iterator with standard
105 vector::iterator also introduce const_iterator. Remove getPos,
106 getInset and setInset from InsetTable. Adjust accordingly.
108 * BufferView.C (lockInset): adjust
109 (ChangeInsets): adjust
111 * tabular.[Ch]: delete commented same_id functions
113 2003-05-28 John Levon <levon@movementarian.org>
115 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
117 2003-05-28 André Pönitz <poenitz@gmx.net>
119 * metricsinfo.[Ch]: remove 'fullredraw' member
121 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
123 * lyxtextclass.C (operator): remove caching.
125 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
129 * text2.C (cursorBottom): adjust
130 (setCounter): use ParagraphList::find, adjust
132 * text.C (workWidth): use ParagraphList::find, adjust
134 * lyxcursor.C (LyXCursor): adjust
136 * buffer.C (inset_iterator): adjust
138 * ParagraphList.h: make iterator(value_type) private, make
139 ParagraphList a friend of iterator.
141 * ParagraphList.C (find): new function
143 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
145 2003-05-27 André Pönitz <poenitz@gmx.net>
147 * dimension.[Ch]: a -> asc, d -> des, w -> wid
149 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
153 2003-05-26 John Levon <levon@movementarian.org>
155 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
157 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
159 * remove same_id from function signatures, adjust.
161 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
163 * undo_funcs.C (createUndo): use the id functions directly, adjust.
165 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
167 * paragraph.C (Paragraph): get rid of same_ids parameter
169 * ParagraphList.C (insert): adjust
172 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
174 * paragraph_funcs.C (breakParagraph): adjust
175 (breakParagraphConservative): adjust
177 * buffer.C (readParagraph): adjust
179 * ParagraphList.C (insert): take a reference instead of a pointer
182 * paragraph.[Ch] (id): new function
184 * bufferlist.C (newFile): adjust
186 * ParagraphList.C (ParagraphList): adjust
188 (push_back): take a reference instead of a pointer.
190 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
192 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
195 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
196 set else use old code.
198 * ParagraphList.C: remove all NO_NEXT code and only compile this
199 code of NO_STD_LIST is set.
201 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
203 * BufferView_pimpl.C:
213 * graphics/GraphicsConverter.C:
214 * graphics/PreviewLoader.C: header adjustment
216 2003-05-23 Angus Leeming <leeming@lyx.org>
218 * LaTeXFeatures.[Ch] (useBabel): new method.
219 * bufferparams.C (writeLaTeX): use it.
221 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * ParagraphList.h (set): remove unused function.
225 2003-05-23 André Pönitz <poenitz@gmx.net>
228 * BufferView_pimpl.C:
232 * undo_funcs.C: setUndo reworked
234 * iterators.[Ch]: add access to topmost ParagraphList
236 * lyxtext.[Ch] (workWidth): add a const
238 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
240 * texrow.[Ch] (increasePos): remove function
241 * exporter.C (export): removed unused var and outdated comment
243 2003-05-23 Angus Leeming <leeming@lyx.org>
245 * latexrunparams.h: rename fragile as moving_arg.
246 * paragraph.C (simpleTeXOnePar): ditto.
247 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
249 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
251 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
253 (textUndoOrRedo): comment out a currently unused var.
255 * paragraph.h (NO_NEXT): enable NO_NEXT
257 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
259 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
261 * exporter.C (Export): adjust for removeAutoInsets removal.
263 * buffer.C (runChktex): adjust for removeAutoInsets removal.
265 * LyXAction.C (init): remove LFUN_REMOVEERRORS
267 * BufferView.[Ch] (removeAutoInsets): delete function
269 2003-05-22 Angus Leeming <leeming@lyx.org>
271 * latexrunparams.h: add a free_spacing variable.
273 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
274 to pass moving_arg, as the data is stored in runparams.fragile.
276 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
277 to Inset::latexOptional or to simpleTeXOnePar.
279 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
280 free_spacing arg to Inset::latexOptional.
282 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
285 2003-05-22 Angus Leeming <leeming@lyx.org>
287 * latexrunparams.h: add fragile and use_babel variables.
289 * bufferparams.[Ch] (writeLaTeX): return use_babel.
290 * buffer.C (makeLaTeXFile): store this returned value in
291 runparams.use_babel, thus passing it to the inset::latex methods.
293 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
294 simpleTeXSpecialChars as it is now stored in runparams.fragile.
296 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
297 longer has a fragile arg, as it is stored in runparams.fragile.
299 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
300 moving_arg parameter as the data is stored in runparams.fragile.
302 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
303 a fragile parameter as the data is stored in runparams.fragile.
305 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
307 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
309 2003-05-22 Angus Leeming <leeming@lyx.org>
311 * latexrunparams.h: add a 'bool nice' which defaults to false.
313 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
314 now encapsulated within runparams.
316 * bufferlist.C (updateIncludedTeXfiles):
317 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
319 2003-05-22 Angus Leeming <leeming@lyx.org>
321 * latexrunparams.h: new file containing struct LatexRunParams.
322 * Makefile.am: add new file.
324 * LaTeX.[Ch] (c-tor, run):
325 * buffer.[Ch] (makeLaTeXFile):
326 * bufferlist.[Ch] (updateIncludedTeXfiles):
327 * converter.C (convert, scanLog):
328 * converter.[Ch] (runLaTeX):
329 * exporter.C (Export):
330 * paragraph.[Ch] (simpleTeXOnePar):
331 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
332 * paragraph_funcs.[Ch] (latexParagraphs):
333 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
334 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
335 pass around a LatexRunParams parameter.
337 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
339 * paragraph.[Ch]: remove unused constructor
341 * ParagraphList.C (erase): new function, taking two iterators
343 2003-05-22 André Pönitz <poenitz@gmx.net>
345 * undo_funcs.C: remove duplicated code
347 * iterator.[Ch]: operator=
349 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
351 * tabular.C (SetMultiColumn): ws changes
353 * rowpainter.C (paintFirst): get rid of a ->previous
355 * lyx_cb.C (getPossibleLabel): parlist simplification
357 * BufferView.C (ChangeInsets): simplify slightly.
359 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
361 * LyXAction.C: new lfun space-insert, kill protected-space-insert
362 * lfuns.h: new LFUN_SPACE
363 * lyxfunc.C: protected space has a new lfun
364 * paragraph_funcs.C: read new space insets
366 * factory.C: handle new space insets
368 2003-05-22 André Pönitz <poenitz@gmx.net>
371 * BufferView_pimpl.C:
374 * undo_funcs.C: return a ParIterator from getParFromID.
376 * iterators.[Ch]: add two const's
378 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
380 * toc.C (getTocList): adjust
382 * iterators.[Ch]: rework for parlist
384 * buffer.C (par_iterator_begin): adjust
385 (par_iterator_end): adjust
387 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
389 * BufferView.C (removeAutoInsets): adjust
390 (ChangeInsets): adjust
392 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
394 * text.C (top_y): fix bug 1110
396 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
398 * errorlist.[Ch]: added
401 * BufferView_pimpl.C:
402 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
405 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * Makefile.am: ensure that lyx is relinked upon changes to the
408 various "convenience" libs.
410 2003-05-20 Angus Leeming <leeming@lyx.org>
412 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
413 files are compiled in alphabetical order again.
415 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
417 2003-05-19 Angus Leeming <leeming@lyx.org>
419 * gettext.[Ch]: remove "char const * _(char const *)".
421 2003-05-19 André Pönitz <poenitz@gmx.net>
423 * dimension.[Ch]: promote from mathed/dimension.[Ch]
432 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
434 2003-05-19 André Pönitz <poenitz@gmx.net>
440 * paragraph_funcs.[Ch]:
442 * text3.C: more insetenv work
444 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
446 * ParagraphParameters.C (params2string): small bug fixed
448 2003-05-16 André Pönitz <poenitz@gmx.net>
451 * bufferview_funcs.C: patch from Kornel Benko to prevent
452 crash when _(...) is called twice in a statement
454 2003-05-16 André Pönitz <poenitz@gmx.net>
461 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
463 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
465 * lyx_main.C (init): remove spurious static_cast
467 2003-05-14 André Pönitz <poenitz@gmx.net>
469 * BufferView.C: fix format string
471 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
473 * BufferView.[Ch] (insertErrors): removed
474 * BufferView.[Ch] (showErrorList): added
475 * buffer.C (runChkTeX):
476 * converter.C (scanLog): call showErrorList instead of inserterrors
478 2003-05-13 André Pönitz <poenitz@gmx.net>
480 * BufferView_pimpl.C:
489 * tabular_funcs.h: tostr() from its own header
491 * ParagraphParameters.C:
498 2003-05-12 André Pönitz <poenitz@gmx.net>
501 * BufferView_pimpl.C:
505 * ParagraphParameters.C:
509 * bufferview_funcs.C:
526 * text3.C: boost::format -> bformat all over the place
529 2003-05-09 André Pönitz <poenitz@gmx.net>
531 * LColor.[Ch]: Pimpl the #include <map> away
533 2003-05-09 John Levon <levon@movementarian.org>
535 * bufferlist.C: never remove emergency saves
537 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
539 * Makefile.am: better lib building
541 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
543 * texrow.[Ch]: remove dependency on Paragraph and just store a id
545 * paragraph_pimpl.C (simpleTeXBlanks): adjust
546 (simpleTeXSpecialChars): adjust
547 (simpleTeXSpecialChars): adjust
548 * paragraph.C (simpleTeXOnePar): adjust
549 * buffer.C (makeLaTeXFile): adjust
551 * Makefile.am (BOOST_LIBS): allow boost as system lib.
553 * text2.C (changeDepth): parlist cleanup
554 (getColumnNearX): ditto
556 * rowpainter.C (getLabelFont): parlist cleanup
558 * bufferlist.C (newFile): parlist cleanup
560 * CutAndPaste.C (eraseSelection): parlist cleanup
562 * BufferView_pimpl.C (trackChanges): parlist cleanup
565 * BufferView.C (lockInset): parlist cleanup.
566 (ChangeInsets): ditto
568 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
570 * CutAndPaste.h: Update file header.
572 * CutAndPaste.C: Update file header.
573 Store the parts cut out of the Document in a limited_stack.
574 (copySelection): adjust
575 (pasteSelection): new function, takes the index in the limited stack.
576 (nrOfParagraphs): adjust
577 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
578 simplify error inset insertion.
579 (checkPastePossible): adjust
581 2003-05-06 John Levon <levon@movementarian.org>
583 * text2.C: don't cast wrap inset to float
585 2003-05-05 André Pönitz <poenitz@gmx.net>
588 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
590 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
591 few naked Paragraph *.
593 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
595 * bufferparams.C: Output warning if a document with missing
596 TeX document class is loaded
597 * exporter.C: Disable TeX exports if the document class is missing
600 * lyxtextclasslist.C: Handle new textclass.lst format; new method
601 isTeXClassAvailable()
603 2003-05-03 John Levon <levon@movementarian.org>
606 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
607 explicit cursor show/hide
609 * BufferView_pimpl.h:
610 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
611 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
613 * lyxfunc.C: hide cursor before dispatching.
618 * text3.C: remove explicit cursor hides
620 2003-05-02 André Pönitz <poenitz@gmx.net>
622 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
625 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
628 * text2.C: tiny whitespace
630 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
632 * undo_funcs.C: almost only ws changes.
634 * ParagraphList.C (splice): just return if pl is empty.
636 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
638 * ParagraphList.C (splice): new function.
640 * CutAndPaste.C (pasteSelection): use it
642 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
644 * CutAndPaste.C (pasteSelection): remove the last next and
645 previous from this file.
647 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
649 * CutAndPaste.C (pasteSelection): more clean up, user proper
650 ParagraphList functions for pasteing.
652 * ParagraphList.C (insert): new function, three arg insert
654 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
656 * ParagraphList.C (insert): new function, three arg insert
658 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
661 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
663 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
665 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
667 * CutAndPaste.C (pasteSelection): remove some unneeded code.
669 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
671 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
672 (copySelection): clean up a bit.
673 (pasteSelection): use make_pair
675 * ParagraphList.C (ParagraphList): implement copy constructor
676 (operator=): implement, base on copy constructor.
679 * paragraph.C (erase): return a bool
681 * paragraph_pimpl.C (erasePos): remove function, move contents...
682 (erase): ... here. Return a bool.
683 (erase): call erase instead of erasePos.
685 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
687 * ParagraphList.h: define PitPosPair
688 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
689 ParagraphList, fix a bug on pasting multiple pars
690 * text2.C: change interface to C&P
692 2003-04-30 André Pönitz <poenitz@gmx.net>
694 * undo_func.C: revert part of yesterday's patch 2
696 2003-04-30 John Levon <levon@movementarian.org>
698 * LColor.C: s/tabular/table/
700 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
702 * text3.C (dispatch): do not convert iterator -> pointer
703 * undo_funcs.C (setCursorParUndo): ditto
704 * text_funcs.C (transposeChars): ditto
706 * text2.C (setLayout): ws changes only
708 * text.C (breakParagraph): do not convert iterator -> pointer
710 (acceptChange): ditto
711 (rejectChange): ditto
716 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
719 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
721 * text3.C (gotoInset): YABG (yet another bad getChar)
723 2003-04-29 André Pönitz <poenitz@gmx.net>
725 * paragraph.h: make operator= private unimplemented as long as
728 * ParagraphList.C: whitespace
731 * paragraph_pimpl.[Ch]:
734 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
737 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
739 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
741 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
742 * paragraph.[Ch] (erase):
743 * paragraph_pimpl.[Ch] (erase): change return type and value
744 * text2.C (cutSelection): some rework
746 2003-04-28 John Levon <levon@movementarian.org>
748 * bufferlist.C: changes for unsaved changes dialog
750 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
752 * bufferlist.C (newFile): set language (messages_) for new
755 * buffer.C (readFile): ws changes only.
757 2003-04-28 André Pönitz <poenitz@gmx.net>
762 * BufferView_pimpl.C:
763 * BufferView.C: getParFromID related ParagraphList::iterator changes
765 2003-04-28 André Pönitz <poenitz@gmx.net>
767 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
770 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
772 * messages.C: remove one more localedir class variable.
774 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
776 * messages.C (getLocaleDir): singleton generation function
778 (Messages): add a default constructor.
780 * main.C (main): do not setup localedir here, do not call
783 * gettext.C (_): use it.
784 (gettext_init): delete funciton
786 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
788 * gettext.C (getLyXMessages): new singleton generating function.
790 * buffer.C (updateDocLang): adjust
792 * Makefile.am (messages.o): add target
793 (main.o): remove target
795 2003-04-27 John Levon <levon@movementarian.org>
800 * lyxvc.C: specify cancel button in Alert::prompt
802 2003-04-26 John Levon <levon@movementarian.org>
807 * LyXAction.C: add LFUN_INSET_SETTINGS
809 * lyxfunc.C: don't enable tabular-feature when there's
810 just any locking inset
812 2003-04-26 John Levon <levon@movementarian.org>
814 * bufferlist.C: re-add Cancel to buffer close question
816 * lyxfunc.C: fix import UI a bit
818 2003-04-25 John Levon <levon@movementarian.org>
820 * gettext.C: remove the broken asserts for now
822 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
824 * messages.C: make case where setlocale cannot comply work better.
826 * buffer.C (updateDocLang): new function
827 (changeLanguage): use it
830 * text2.C (setCounter): use B_ a bit.
832 * lyxlayout.C (Read): be sure to trim the label strings.
834 * messages.C (Messages): fix typo in comment
836 * buffer.C (readFile): set message_ after file is loaded.
837 (makeDocBookFile): remove double return
838 (changeLanguage): reset message_ upon language change.
839 (B_): new func, use this to get translated buffer strings.
841 * main.C: add myself and Jean Marc as authors.
843 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
845 * messages.[hC]: pimplify Messages, and three different pimpls to be
846 used in different circumstances.
848 * gettext.[Ch]: change for use with new message code.
850 2003-04-24 André Pönitz <poenitz@gmx.net>
852 * factory.C: support for eqref
854 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
856 * messages.[Ch]: add missing char
858 * Makefile.am (lyx_SOURCES): add messages.[Ch]
860 * messages.[Ch]: New files
862 2003-04-18 John Levon <levon@movementarian.org>
866 * BufferView_pimpl.C:
870 * text2.C: remove layout-copy/paste (bug 778)
872 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
874 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
876 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
878 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
879 if they succeed. Act accordingly.
881 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
883 * text2.C (setCharFont): adjust
885 (insertStringAsLines): adjust
887 * text.C (leftMargin): adjust
888 (setHeightOfRow): adjust
890 * rowpainter.C (paintFirst): adjust
893 * paragraph_funcs.C (depthHook): ParagraphList::iterators
895 (isFirstInSequence): ditto
899 * paragraph.C (getParLanguage): comment out some hard stuff.
901 * buffer.C (insertStringAsLines): take a ParagraphList as arg
903 (simpleDocBookOnePar): ditto
904 (makeDocBookFile): use ParagraphList::iterator
906 * CutAndPaste.C (pasteSelection): adjust
908 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
910 * text2.C (getFont): adjust
911 (getLayoutFont): adjust
912 (getLabelFont): adjust
914 * paragraph_funcs.C (TeXOnePar): adjust
916 * buffer.C (simpleLinuxDocOnePar): adjust
917 (simpleDocBookOnePar): adjust
919 * CutAndPaste.C (pasteSelection): adjust
921 * BufferView.C (getEncoding): adjust
923 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
925 2003-04-16 John Levon <levon@movementarian.org>
927 * lyxfind.C: use parlist stuff for search/changes
929 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
933 * text2.C (deleteEmptyParagraphMechanism): adjust
935 * text2.[Ch] (ownerParagraph): delete func (both of them
937 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
939 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
941 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
943 * ParagraphList.C: prepare for NO_NEXT
945 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
947 * text2.C (getFont): adjust
948 (getLayoutFont): adjust
949 (getLabelFont): adjust
951 * paragraph.C (getFont): adjust
952 (getLabelFont): adjust
953 (getLayoutFont): adjust
955 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
957 2003-04-15 John Levon <levon@movementarian.org>
961 * lyx_main.C: handle Include in .ui files
963 2003-04-15 John Levon <levon@movementarian.org>
965 * MenuBackend.C: make the doc files length shorter
968 * ToolbarBackend.C: handle toolbar placement flags,
971 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
976 * paragraph_funcs.C (TeXOnePar): adjust
978 * paragraph.C (getLabelFont): add outerfont arg, adjust
979 (getLayoutFont): ditto
980 (simpleTeXOnePar): adjust
982 * paragraph_pimpl.C (realizeFont): delete func
984 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
986 * text2.C (beforeFullRowInset): added a bad getchar check, removed
987 row argument, constify cur argument.
989 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
991 * text2.C (getFont): adjust
992 (getLayoutFont): adjust
993 (getLabelFont): adjust
995 * paragraph_funcs.C (TeXOnePar): adjust
996 (outerFont): new func...
997 (realizeFont): ...moved out from here, changed this to facilitate
1000 * paragraph.C (getFont): take outerfont as arg, adjust
1001 (simpleTeXOnePar): add outerfont arg, adjust
1003 * buffer.C (simpleLinuxDocOnePar): adjust
1004 (simpleDocBookOnePar): adjust
1006 * CutAndPaste.C (pasteSelection): adjust
1008 * BufferView.C (getEncoding): adjust
1010 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1012 * text2.C (setCharFont): adjust
1013 (setCounter): adjust
1015 * text.C (leftMargin): adjust
1016 (setHeightOfRow): adjust
1018 * rowpainter.C (paintFirst): adjust
1021 * paragraph_pimpl.C (realizeFont): adjust
1023 * paragraph.C (isFirstInSequence): move from here...
1024 * paragraph_funcs.C (isFirstInSequence): ...to here
1026 * paragraph.C (outerHook): move from here...
1027 * paragraph_funcs.C (outerHook): ...to here
1029 * paragraph.C (depthHook): move from here...
1030 * paragraph_funcs.C (depthHook): ...to here
1032 * paragraph.C (getEndLabel): move from here...
1033 * paragraph_funcs.C (getEndLabel): ...to here
1035 * text2.C (realizeFont): move from here...
1036 * paragraph_funcs.C (realizeFont): ...to here
1038 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1040 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1042 2003-04-14 Angus Leeming <leeming@lyx.org>
1044 * LColor.[Ch]: scrap LColor mathcursor.
1046 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1048 * lyxlex.[Ch] (text): delete function
1049 * trans.C (Load): adjust
1050 * paragraph_funcs.C (readParToken): adjust
1052 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1054 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1055 vector<char> instead of a char[].
1057 * lyxlex_pimpl.C (getString): adjust
1059 (lex): use getString
1063 * lyxlex.C (text): use pimpl_->getString()
1067 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1069 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1070 (makeFontEntriesLayoutSpecific): temp var for par.size()
1071 (setLayout): temp var for ownerParagraphs().end()
1072 (fullRebreak): temp var for rows().end()
1073 (selectionAsString): temp var for boost::next(startpit), realize
1074 that the while really is a regular for loop.
1075 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1076 setCursor in one place.
1077 (setParagraph): temp vr for ownerParagraphs().end()
1078 (updateCounters): make the while loop a for loop
1079 (cutSelection): temp var for ownerParagraphs().end()
1080 (updateInset): make the do {} while() a regular for loop
1081 (getCursorX): use temp vars
1082 (setCurrentFont): use temp vars
1083 (getColumnNearX): use temp vars
1085 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * text.C (transformChar): use temp var for getChar
1088 (computeBidiTables): use temp var for row->par()
1089 (fill): move temp vars for row->par() and pit->layout() earlier in
1091 (labelFill): use temp var for row->par()
1092 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1093 asc and desc, realize that pit never changes and that firstpit is
1094 just a duplicate and not needed. Exchange rit->par() with pit in a
1096 (breakAgain): use a temp var for boost::next(rit)
1097 (breakAgainOneRow): ditto
1098 (breakParagraph): use a temp var for rows().begin()
1099 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1100 (cursorRightOneWord): use temp var for cursor.par() and
1101 cursor.pos(), remove usage of tmpcursor.
1102 (cursorLeftOneWord): use temp var for cursor.par() and
1103 cursor.pos() only set cur at end of function.
1105 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1107 * text.C, text2.C: exchange all usage of Paragraph::next with
1108 boost::next(ParagraphList::iterator)
1110 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1112 * text2.C (cursorTop): simplify implementation
1113 (cursorBottom): ditto
1114 (setParagraph): use ParagraphList::iterator
1115 (setCurrentFont): adjust
1116 (getColumnNearX): adjust
1117 (cursorRight): adjust
1118 (cursorLeft): remove usage of Paragraph::previous
1119 (cursorUpParagraph): ditto
1120 (deleteEmptyParagraphMechanism): slight cleanup
1122 * text.C (isBoundary): take a Paragraph const & instead of a
1124 (addressBreakPoint): ditto
1125 (leftMargin): remove usage of Paragraph::previous.
1126 (setHeightOfRow): ditto
1127 (cursorLeftOneWord): ditto
1128 (selectNextWordToSpellcheck): ditto
1131 (breakParagraph): remove one usage of Paragraph::next
1132 (redoParagraph): ditto
1133 (acceptChange): ditto
1134 (insertChar): adjust
1135 (rowBreakPoint): adjust
1137 * bufferview_funcs.C (toggleAndShow): adjust
1139 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1141 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1142 methods to access it.
1144 * text.C: Added updateRowPositions to compute all row positions.
1145 Make top_y and getRowNearY() to use the cached y position
1147 2003-04-11 John Levon <levon@movementarian.org>
1149 * text.C (rowBreakPoint): reintroduce the labelEnd
1150 checks, code copied from the row fill stuff. Deep voodoo.
1152 * text.C (fill): add a comment and debugging for the
1155 2003-04-11 John Levon <levon@movementarian.org>
1157 * text.C: make sure fullrow insets get wrapped to the next line,
1158 even when they're in a manual label
1160 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1162 * text2.C (insertParagraph): make it take ParagraphList::iterator
1164 (setLayout): make it return ParagraphList::iterator
1165 (redoParagraphs): ditto
1167 (checkParagraph): ditto
1169 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1171 * text2.C: adjust several funcs.
1172 (realizeFont): take a ParagraphList::iterator as arg.
1173 (getLayoutFont): ditto
1174 (getLabelFont): ditto
1175 (setCharFont): ditto
1177 * text.C: adjust several funcs.
1179 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1181 * text.C (selectNextWordToSpellcheck): don't accidentally
1184 2003-04-10 John Levon <levon@movementarian.org>
1186 * ToolbarBackend.C (getIcon): special handling for
1189 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1191 * text2.C (cursorRight): a getChar assert fixed
1193 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * text2.C (getFont): change to take a ParagraphList::iterator
1196 instead of Paragraph*
1197 Adjust several functions.
1199 * text.C (transformChar): change to take a ParagraphList::iterator
1200 instead of Paragraph*
1201 (singleWidth): ditto
1202 Adjust several functions.
1204 * rowpainter.C: adjust several functions
1205 * rowpainter.h:store a ParagraphList::iterator and not a
1209 2003-04-09 John Levon <levon@movementarian.org>
1214 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1215 and the "help" bits as well
1217 2003-04-09 John Levon <levon@movementarian.org>
1220 * ToolbarBackend.C: allow multiple toolbars
1222 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1224 * undo_funcs.C (setCursorParUndo): adjust
1226 * text_funcs.C (transposeChars): adjust
1228 * text3.C (gotoNextInset): adjust
1231 * text2.C (setLayout): adjust
1232 (changeDepth): adjust
1234 (redoParagraphs): adjust
1235 (selectionAsString): adjust
1236 (setParagraph): adjust
1237 (insertInset): adjust
1238 (cutSelection): adjust
1239 (copySelection): adjust
1240 (pasteSelection): adjust
1241 (insertStringAsLines): adjust
1242 (updateInset): adjust
1243 (setCursor): change to take a ParagraphList::iterator parameter
1244 (setCursorIntern): change to take a ParagraphList::iterator parameter
1245 (setCurrentFont): adjust
1246 (cursorLeft): adjust
1247 (cursorRight): adjust
1248 (deleteEmptyParagraphMechanism): adjust
1250 * text.C (breakParagraph): adjust
1251 (insertChar): adjust
1252 (acceptChange): adjust
1253 (rejectChange): adjust
1254 (selectNextWordToSpellcheck): adjust
1255 (changeCase): adjust
1259 * lyxfind.C (SearchForward): adjust
1260 (SearchBackward): adjust
1261 (nextChange): adjust
1263 * lyxcursor.C (par): adjust
1265 * lyxcursor.h: store a ParagraphList::iterator instead of a
1268 * lyx_cb.C (getPossibleLabel): adjust
1270 * bufferview_funcs.C (toggleAndShow): adjust
1272 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1275 * BufferView.C (removeAutoInsets): adjust
1276 (lockedInsetStoreUndo): adjust
1278 2003-04-09 John Levon <levon@movementarian.org>
1280 * ToolbarBackend.C: try icon without argument
1281 if with argument fails
1283 2003-04-08 John Levon <levon@movementarian.org>
1286 * ToolbarBackend.C: add getIcon(), handle tooltip,
1287 and change from "Icon" to "Item".
1289 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1291 * BufferView.C (lockInset): another bad getchar crunched
1293 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1295 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1298 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1300 * lyxfind.C (searchForward, searchBackwards): bug 782
1302 2003-04-07 John Levon <levon@movementarian.org>
1304 * paragraph.C: remove dead comment
1306 * text.C: remove troublesome depth-fiddling code
1307 in leftMargin() and rightMargin() (bug 1017)
1309 * text.C: fix breaking of rows in nested lists
1312 * text2.C (updateCounters): fix up depth values
1315 2003-04-07 John Levon <levon@movementarian.org>
1317 * BufferView_pimpl.C: clear message when doc finishes resizing,
1318 and after a mouse event
1320 * lyxfunc.C: clear message after exiting inset
1322 2003-04-07 John Levon <levon@movementarian.org>
1324 * bufferview_funcs.C: show math status not outside
1325 status in the statusbar
1327 2003-04-07 John Levon <levon@movementarian.org>
1329 * lyxfunc.C: note status changed after a depth change
1331 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1333 * LaTeX.h: move AuxInfo operator==, != out of line.
1334 Remove LaTeX virtual destructor; nothing derives from it.
1335 Move operator()() out of public area and rename it startscript().
1336 Change protected for private.
1338 2003-04-04 Angus Leeming <leeming@lyx.org>
1341 * text2.C: remove unneeded #includes.
1343 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1345 * text2.C (dEPM): fix the heigth of the next row
1347 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1349 * text.C: squashed an invalid getChar requester + some ws changes
1351 2003-04-03 John Levon <levon@movementarian.org>
1353 * bufferview_funcs.h:
1354 * bufferview_funcs.C:
1357 * text2.C: make getStatus work for the env depth lfuns
1359 2003-04-03 John Levon <levon@movementarian.org>
1361 * bufferview_funcs.h:
1362 * bufferview_funcs.C:
1365 * text2.C: parlistize decDepth(), by merging it with incDepth()
1367 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1369 * lyxrow.h: store a ParagraphList::iterator instead of a
1370 Paragraph* and adjust other class functions to suit.
1372 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1375 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1377 * text2.C (setCursor): do not anchor to cursor row for the time being
1379 2003-04-02 John Levon <levon@movementarian.org>
1386 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1388 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1390 * paragraph.h: make ParagraphList and ParagraphList::iterator
1391 friends of Paragraph.
1393 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1395 * ParagraphList.C: Use the private next_ and previous_ from
1398 2003-04-01 John Levon <levon@movementarian.org>
1402 * Makefile.am: rename, remove defaults gunk
1405 * MenuBackend.C: remove defaults gunk
1408 * Languages.C: remove defaults gunk
1411 * lyx_main.C: error out if files couldn't be found.
1413 2003-04-02 John Levon <levon@movementarian.org>
1415 * text2.C: make incDepth() use parlist
1417 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1419 * undo_funcs.C (firstUndoParagraph): adjust
1421 * text3.C (gotoInset): adjust
1422 (dispatch): adjust, and rewrite loop.
1424 * text2.C (init): adjust, and rewrite loop.
1425 (redoParagraphs): adjust
1426 (updateInset): adjust, and rewrite loop.
1427 (deleteEmptyParagraphMechanism): adjust
1429 * tabular.C (LyXTabular): adjust
1430 (SetMultiColumn): adjust
1433 * lyxtext.[Ch] (ownerParagraph): delete function
1434 (ownerParagraphs): new function returns a ParagraphList.
1436 * BufferView.C (removeAutoInsets): adjust
1437 (insertErrors): adjust
1438 (setCursorFromRow): adjust
1440 2003-04-01 Angus Leeming <leeming@lyx.org>
1442 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1445 2003-04-02 John Levon <levon@movementarian.org>
1451 * text_funcs.C: make transposeChars a free function
1453 * lyxrow_funcs.C: remove wrong comment
1455 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1458 * rowpainter.C: adjust
1463 * lyxrow_funcs. [Ch]: new files
1465 * lyxrow.[Ch]: remove next and previous pointers
1466 (next,previous): remove accessor functions
1467 (isParEnd): move to lyxrow_funcs
1468 (lastPos): move to lyxrow_funcs
1469 (nextRowIsAllInset): move to lyxrow_funcs
1470 (lastPrintablePos): move to lyxrow_funcs
1471 (numberOfSeparators): move to lyxrow_funcs
1472 (numberOfHfills): move to lyxrow_funcs
1473 (numberOfLabelHfills): move to lyxrow_funcs
1474 (hfillExpansion): move to lyxrow_funcs
1478 * bufferview_funcs.C (toggleAndShow): adjust
1480 * RowList.h: Remove class RowList from file leave just a
1483 * RowList.C: delete file
1485 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1488 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1490 * text3.C (cursorPrevious): adjust
1491 (cursorNext): adjust
1494 * text2.C (redoHeightOfParagraph): adjust
1495 (redoDrawingOfParagraph): adjust
1498 * text.C (breakParagraph): adjust
1499 (insertChar): adjust
1502 * rowpainter.C (RowPainter): adjust
1503 (leftMargin): simplify and adjust
1504 (most rowpainter functions): adjust.
1506 * rowpainter.h: store the row as RowList::iterator not as Row*
1508 * lyxcursor.C (row): taka RowList::iterator as arg
1511 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1514 2003-04-01 Angus Leeming <leeming@lyx.org>
1516 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1517 stuff like bool Bool.
1519 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1521 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1524 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1526 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1529 * lyxtext.h (rows): drop one version and leve a const variant that
1530 returns a RowList::iterator.
1532 2003-03-31 Angus Leeming <leeming@lyx.org>
1534 * text.C (fill): ensure that the signature is the same as that in the
1537 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1539 * text2.C (redoParagraphs): adjust
1540 (updateCounters): adjust
1541 (checkParagraph): adjust
1542 (getColumnNearX): adjust and reformat a bit.
1544 * text.C (top_y): adjust
1546 (leftMargin): adjust
1547 (prepareToPrint): adjust
1549 (getRowNearY): adjust
1551 * lyxtext.h: make rowlist_ mutable.
1553 * RowList.h: add const_iterator
1554 * RowList.C: adjust for RowList::const_iterator.
1556 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1559 2003-03-31 John Levon <levon@movementarian.org>
1562 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1564 * lyx_main.C: set default fonts from using lyx_gui funcs
1566 * exporter.C: pdf_mode moved from lyxrc
1569 * lyxfunc.C: changes from above
1571 2003-03-31 John Levon <levon@movementarian.org>
1573 * lyx_main.C: fix to the last fix
1575 2003-03-31 John Levon <levon@movementarian.org>
1577 * bufferlist.C: "Load original" -> "Load Original"
1583 * format.C: more Alert cleanups
1585 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1587 * text2.C (removeParagraph): make it take a RowList::iterator as
1589 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1590 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1592 * text.C (anchor_row): make it take a RowList::iterator as arg,
1594 (computeBidiTables): make it take a const reference to Row instead
1595 of Row pointer, adjust.
1596 (leftMargin): make it take a RowList::iterator as arg, adjust.
1597 (rowBreakPoint): adjust
1598 (breakAgainOneRow): make it take a RowList::iterator as arg,
1600 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1602 * bufferview_funcs.C (toggleAndShow): adjust
1604 2003-03-30 John Levon <levon@movementarian.org>
1608 * boost-inst.C: moved to support
1610 * several files: changes as a result
1612 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1614 * text2.C (LyXText): adjust.
1616 (removeRow): make it take a RowList::iterator as arg, adjust.
1617 (fullRebreak): adjust
1618 (deleteEmptyParagraphMechanism): adjust
1619 (clearPaint): adjust
1622 * text.C (top_y): adjust
1623 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1624 (breakAgain): make it take a RowList::iterator as arg, adjust.
1625 (breakParagraph): adjust
1626 (insertChar): adjust
1629 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1630 need_break_row, and refresh_row.
1632 * text3.C (dispatch): adjust
1634 * text2.C (checkParagraph): adjust
1636 (setCursorFromCoordinates): adjust
1638 * text.C (top_y): adjust
1640 (getRow): make it return a RowList::iterator, adjust
1641 (getRowNearY): make it return a RowList::iterator, adjust
1643 * text2.C (init): adjust
1644 (insertRow): remove function
1645 (insertParagraph): adjust
1646 (redoParagraphs): adjust
1647 (fullRebreak): adjust
1648 (updateCounters): adjust
1650 * text.C (top_y): rewrite to use RowList iterators.
1652 (setHeightOfRow): rewrite to sue RowList iterators.
1653 (appendParagraph): adjust
1654 (breakAgain): adjust
1655 (breakAgainOneRow): adjust
1656 (breakParagraph): adjust
1658 (getRowNearY): adjust, and remove commented code.
1660 * lyxtext.h (firstRow): delete function
1661 (lastRow): delete function
1662 (rows): new function (const and non-const versions.)
1663 (insertRow): delete function
1665 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1667 2003-03-29 John Levon <levon@movementarian.org>
1669 * BufferView_pimpl.C: always update scrollbar top
1670 because pasting text when we're anchored could mean we
1671 miss an update altogether
1673 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1675 * text2.C (init): use rowlist_.end() and not 0.
1676 (insertRow): change to take a RowList::iterator as arg, adjust
1678 (insertParagraph): change to take a RowList::iterator as arg,
1680 (redoParagraphs): remove some debug msgs.
1682 * text.C (appendParagraph): change to take a RowList::iterator
1683 arg, adjust for this.
1684 (breakAgain): add an assert
1685 (breakAgainOneRow): ditto
1687 2003-03-29 John Levon <levon@movementarian.org>
1689 * text2.C: do not clear selection after inc/decDepth
1692 2003-03-29 John Levon <levon@movementarian.org>
1695 * buffer.C: fix broken strerrors according to Lars
1697 2003-03-29 John Levon <levon@movementarian.org>
1699 * converters.C: more Alert cleanups
1701 2003-03-29 John Levon <levon@movementarian.org>
1703 * bufferview_funcs.C: remove pointless Alert
1705 * buffer.C: fix confusing error message when
1706 a template is chmoded 000
1708 2003-03-29 John Levon <levon@movementarian.org>
1712 * BufferView_pimpl.C: Alert fixes
1716 * tabular-old.C: remove unused table compat reading
1718 2003-03-29 John Levon <levon@movementarian.org>
1723 * lyx_cb.C: more Alert cleanups
1725 * lyxfunc.C: don't allow chktex if not latex document
1727 2003-03-29 John Levon <levon@movementarian.org>
1731 * buffer.C: warnings pushed down from support/,
1734 2003-03-29 John Levon <levon@movementarian.org>
1736 * lyxfunc.C: safety check for C-r (revert)
1738 2003-03-29 John Levon <levon@movementarian.org>
1741 * bufferlist.C: several UI fixes using Alert::prompt.
1742 Fix the pointless looping quit code. Fix stupid revert
1747 * lyx_cb.C: use Alert::prompt
1749 * lyx_main.C: remove a silly question
1751 * lyxfunc.C: remove a couple of silly questions,
1754 2003-03-28 John Levon <levon@movementarian.org>
1756 * text2.C: fix bug 974 (End on empty par)
1758 2003-03-28 John Levon <levon@movementarian.org>
1760 * BufferView_pimpl.C:
1762 * lfuns.h: remove do-nothing math greek lfuns
1764 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1766 * lyxgluelength.h (isValidGlueLength): add default arg on
1767 parameter 2. Remove default arg from friend in class.
1769 * lyxlength.h (isValidLength): add default arg on parameter 2.
1770 Remove default arg from friend in class.
1772 * text2.C (LyXText): adjust, initialize refresh_row.
1776 (insertParagraph): adjst
1777 (redoParagraphs): adjust
1778 (fullRebreak): adjust
1779 (updateCounters): adjust
1780 (deleteEmptyParagraphMechanism): first attempt at fixing a
1783 * text.C (top_y): adjust
1784 (setHeightOfRow): adjust
1786 (getRowNearY): adjust
1788 * lyxtext.h: include RowList.h
1789 (~LyXText): not needed anymore, deleted.
1790 (firstRow): modify for RowList
1791 (lastRow): new function
1792 Delete firstrow and lastrow class variables, add a Rowlist
1793 rowlist_ class variable.
1795 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1798 * RowList.C (insert): fix case where it == begin().
1800 2003-03-26 Angus Leeming <leeming@lyx.org>
1802 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1803 the thesaurus dialog.
1805 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1807 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1809 * RowList.[Ch]: new files
1811 * ParagraphList.C (erase): handle the case where it == begin
1814 2003-03-25 John Levon <levon@movementarian.org>
1818 * aspell.C: add new aspell support
1821 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1824 2003-03-25 Angus Leeming <leeming@lyx.org>
1827 * LyXAction.C (init): new LFUN_INSET_INSERT.
1829 * BufferView_pimpl.C (dispatch): split out part of the
1830 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1832 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1835 2003-03-25 Angus Leeming <leeming@lyx.org>
1837 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1839 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1842 * text3.C: remove useless row->height(0)
1844 2003-03-25 John Levon <levon@movementarian.org>
1848 * text3.C: rename the refreshing stuff to better names
1850 2003-03-24 John Levon <levon@movementarian.org>
1852 * BufferView_pimpl.h:
1853 * BufferView_pimpl.C: update layout choice on a mouse
1856 2003-03-23 John Levon <levon@movementarian.org>
1858 * Makefile.am: fix commandtags.h reference
1860 2003-03-22 John Levon <levon@movementarian.org>
1862 * BufferView_pimpl.C:
1867 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1869 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1872 * text.C: take the rtl methods out of line
1874 2003-03-21 André Pönitz <poenitz@gmx.net>
1876 * metricsinfo.[Ch]: new files containing structures to be passed around
1877 during the two-phase-drawing...
1879 2003-03-21 André Pönitz <poenitz@gmx.net>
1881 * lyxtextclass.C: read 'environment' tag.
1883 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1885 * text2.C (removeRow): fix bug 964
1887 2003-03-20 John Levon <levon@movementarian.org>
1891 * text2.C: paint cleanups. Inset::update() dropped font
1894 2003-03-19 John Levon <levon@movementarian.org>
1896 * lyxfunc.C: only fitcursor/markDirty if available()
1898 2003-03-19 John Levon <levon@movementarian.org>
1900 * commandtags.h: rename to ...
1902 * lfuns.h: ... this, and renumber / cleanup
1904 2003-03-19 John Levon <levon@movementarian.org>
1906 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1907 fit the cursor after an lfun
1911 * BufferView_pimpl.h:
1912 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1914 * LyXAction.C: layout-character should have ReadOnly
1916 * ParagraphParameters.C:
1918 * bufferview_funcs.C:
1925 * undo_funcs.C: changes from above
1927 2003-03-18 John Levon <levon@movementarian.org>
1929 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1930 remove it from update()
1932 * lyxfunc.C: update layout choice after an lfun
1934 * text3.C: remove extra updateLayoutChoice()s
1936 2003-03-18 John Levon <levon@movementarian.org>
1938 * text.C: top_y change means full repaint, fix
1939 a drawing bug with cursor movement
1941 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1945 * text2.C: anchor row on setCursor
1947 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1949 * lyxtext.h: remove almost all mutable keywords
1952 * text3.C: remove const keywords accordingly
1954 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1956 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1958 (TeXEnvironment): ditto
1961 2003-03-17 John Levon <levon@movementarian.org>
1963 * text.C (rowBreakPoint): remove attempt to fix displayed
1964 math insets inside a manual label
1966 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1968 * lyxtext.h: remove BufferView* as first arg from almost all class
1970 * other files: adjust.
1972 2003-03-17 John Levon <levon@movementarian.org>
1976 * text2.C: more paint cleanups
1978 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1981 * rowpainter.C: remove "smart" background painting code
1983 2003-03-16 John Levon <levon@movementarian.org>
1988 * text3.C: add helper functions for setting refresh_row/y
1990 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1992 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1993 newline inset which *can* get inserted in the pass_thru layouts.
1994 This is primarily for literate documents.
1996 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1998 * buffer.C: increment LYX_FORMAT to 223
2000 2003-03-14 André Pönitz <poenitz@gmx.net>
2002 * textclass.h: prepare for environment handling, ws changes
2003 * lyxlayout.C: read latexheader and latexfooter tags
2005 2003-03-14 John Levon <levon@movementarian.org>
2007 * text2.C: rewrite ::status() a bit
2009 2003-03-13 John Levon <levon@movementarian.org>
2011 * lyxtext.h: add some docs
2013 2003-03-13 John Levon <levon@movementarian.org>
2018 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2020 2003-03-13 John Levon <levon@movementarian.org>
2022 * text3.C: fix appendix redrawing
2024 2003-03-13 John Levon <levon@movementarian.org>
2026 * text.C (setHeightOfRow):
2028 * rowpainter.C: make appendix mark have the text
2029 "Appendix" so the user knows what it is
2032 * LColor.C: s/appendixline/appendix/ from above
2034 2003-03-13 John Levon <levon@movementarian.org>
2036 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2038 * text.C: fix a getChar(pos) bug properly
2040 2003-03-13 Angus Leeming <leeming@lyx.org>
2043 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2044 Probably only temporary. Let's see how things pan out.
2046 * BufferView.C (unlockInset):
2047 * BufferView_pimpl.C (fitCursor):
2048 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2050 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2051 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2053 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2054 new functions that convert ParagraphParameters to and from a string.
2056 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2057 BufferView::Pimpl's dispatch.
2058 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2060 2003-03-13 André Pönitz <poenitz@gmx.net>
2064 * factory.C: make it aware of InsetEnv
2066 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2068 * text2.C (setCursor): never ask for one past last
2069 (setCursor): add some debugging messages.
2071 * text.C (singleWidth): never ask for one past last
2072 (singleWidth): ditto
2074 (rightMargin): ditto
2075 (rowBreakPoint): ditto
2076 (setHeightOfRow): ditto
2077 (prepareToPrint): ditto
2079 * rowpainter.C (paintBackground): never ask for one past last
2080 (paintText): never ask for one past last
2082 * paragraph_pimpl.C (getChar): make the assert stricter, never
2083 allow the one past last pos to be taken
2085 * paragraph.C (getChar): ws changes only
2087 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2088 (numberOfSeparators): ditto
2089 (numberOfHfills): ditto
2091 2003-03-12 John Levon <levon@movementarian.org>
2097 * paragraph_funcs.C: fix per-buffer authorlists
2099 2003-03-12 John Levon <levon@movementarian.org>
2101 * text.C: fix newline in right address
2103 2003-03-12 Angus Leeming <leeming@lyx.org>
2105 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2106 duplicate those in LyXFunc::dispatch.
2110 * ToolbarDefaults.C:
2111 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2112 Add LFUN_FONTFREE_UPDATE.
2114 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2115 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2117 * bufferview_func.[Ch]: several new functions to facilliate
2118 transfer of data to and from the character dialog.
2120 2003-03-12 John Levon <levon@movementarian.org>
2125 * paragraph_funcs.C:
2126 * paragraph_pimpl.C:
2130 * text3.C: remove META_NEWLINE in favour of an inset
2133 * rowpainter.C: remove paintNewline (done by inset)
2135 2003-03-12 John Levon <levon@movementarian.org>
2137 * paragraph_pimpl.C: complain about bad getChar()s
2138 for a while at least
2140 2003-03-12 John Levon <levon@movementarian.org>
2143 * buffer.C: move paragraph read into a separate function,
2144 a little renaming to reflect that.
2147 * bufferparams.C: remove the author_ids map, not necessary now
2150 * factory.C: moved Buffer::readInset to here
2152 * paragraph_funcs.h:
2153 * paragraph_funcs.C: readParagraph free function moved from
2156 * tabular.C: name change
2158 2003-03-12 John Levon <levon@movementarian.org>
2161 * ParagraphParameters.C: move par params input to
2164 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2165 behave like a normal read from the stream wrt reading
2166 a line vs. a \\token
2168 2003-03-12 John Levon <levon@movementarian.org>
2171 * ParagraphParameters.h:
2172 * ParagraphParameters.C: move output code to a
2175 2003-03-12 John Levon <levon@movementarian.org>
2177 * BufferView.C (insertLyXFile):
2180 * tabular.C: use a parlist iterator for creating the
2183 2003-03-12 John Levon <levon@movementarian.org>
2185 * buffer.C: make current_change static local not
2188 2003-03-12 John Levon <levon@movementarian.org>
2190 * buffer.C: fix insertStringAsLines for change tracking
2192 2003-03-12 John Levon <levon@movementarian.org>
2199 * bufferparams.C: move author list into params. Rename some
2200 functions. Move the header reading into a separate token
2201 loop. Move the header token reading into BufferParams.
2203 2003-03-12 John Levon <levon@movementarian.org>
2205 * changes.C: put debug inside lyxerr.debugging() checks
2207 2003-03-11 André Pönitz <poenitz@gmx.net>
2209 * factory.C: make it aware of InsetHFill
2211 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2213 * buffer.C (latexParagraphs): move function from here...
2214 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2217 2003-03-10 Angus Leeming <leeming@lyx.org>
2219 * LyXAction.C (init): fix bug in poplating array with multiple entries
2220 with the same LFUN (spotted by JMarc).
2222 2003-03-10 John Levon <levon@movementarian.org>
2225 * text2.C: move getColumnNearX() near its
2228 2003-03-10 John Levon <levon@movementarian.org>
2230 * text.C: fix break before a minipage
2232 2003-03-10 John Levon <levon@movementarian.org>
2234 * text.C: fix the last commit
2236 2003-03-09 John Levon <levon@movementarian.org>
2240 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2241 bug 365 (don't break before insets unless needed). Don't
2242 return a value > last under any circumstances.
2244 2003-03-09 Angus Leeming <leeming@lyx.org>
2246 * BufferView_pimpl.C (trackChanges, dispatch): call
2247 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2249 2003-03-09 Angus Leeming <leeming@lyx.org>
2251 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2252 than Dialogs::showAboutlyx().
2254 2003-03-09 Angus Leeming <leeming@lyx.org>
2256 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2257 than Dialogs::showTabularCreate().
2259 2003-03-09 John Levon <levon@movementarian.org>
2263 * text2.C: 3rd arg to nextBreakPoint was always the same.
2266 2003-03-08 John Levon <levon@movementarian.org>
2273 * text2.C: Remove the "main" bit from the "main body"
2276 2003-03-08 John Levon <levon@movementarian.org>
2278 * text.C (leftMargin): The left margin of an empty
2279 manual label paragraph should not include the label width
2282 * text.C (prepareToPrint): don't attempt to measure hfills
2283 for empty manual label paragraphs - the answer should be 0
2285 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * CutAndPaste.C: remove commented code and reindent.
2289 2003-03-08 John Levon <levon@movementarian.org>
2292 * lyxfunc.C: move reloadBuffer()
2295 * BufferView.C: to here
2297 * lyxvc.C: add comment
2300 * vc-backend.C: call bv->reload() to avoid
2301 getStatus() check on MENURELOAD
2303 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2305 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2306 to an old format .dep file.
2308 2003-03-07 Angus Leeming <leeming@lyx.org>
2310 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2311 when the LFUN_MOUSE_RELEASE should have been handled by
2312 inset->localDispatch.
2314 2003-03-07 Angus Leeming <leeming@lyx.org>
2316 * BufferView_pimpl.C (dispatch):
2317 * LyXAction.C (init):
2318 * ToolbarDefaults.C (init):
2320 * lyxfunc.C (getStatus):
2321 remove LFUN_INSET_GRAPHICS.
2323 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2325 2003-03-07 Angus Leeming <leeming@lyx.org>
2328 * LyXAction.C (init):
2329 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2331 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2334 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2336 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2337 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2339 2003-03-07 Angus Leeming <leeming@lyx.org>
2341 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2344 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2346 * ParagraphList.C (front): new function
2349 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2351 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2352 and top_row_offset_. removed var first_y.
2354 * text2.C (LyXText, removeRow):
2356 * BufferView_pimpl.C:
2357 use these methods instead of using first_y
2359 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * text2.C (pasteSelection): adjust for checkPastePossible
2363 * CutAndPaste.C: remove Paragraph * buf and replace with
2364 ParagraphList paragraphs.
2365 (DeleteBuffer): delete
2366 (cutSelection): change the tc type to textclass_type
2367 (copySelection): change the tc type to textclass_type
2368 (copySelection): adjust for ParagraphList
2369 (pasteSelection): change the tc type to textclass_type
2370 (pasteSelection): adjust for Paragraphlist
2371 (nrOfParagraphs): simplify for ParagraphList
2372 (checkPastePossible): simplify for ParagraphList
2373 (checkPastePossible): remove unused arg
2375 * ParagraphList.C (insert): handle the case where there are no
2378 * CutAndPaste.h: make CutAndPaste a namespace.
2380 * text3.C (dispatch): adjust
2382 * text.C (breakParagraph): add a ParagraphList as arg
2384 * paragraph_funcs.C (breakParagraph): change to take a
2385 BufferParams and a ParagraphList as args.
2386 (breakParagraphConservative): ditto
2387 (mergeParagraph): ditto
2388 (TeXDeeper): add a ParagraphList arg
2389 (TeXEnvironment): ditto
2392 * buffer.C (readLyXformat2): adjust
2393 (insertStringAsLines): adjust
2394 (latexParagraphs): adjust
2396 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2397 (cutSelection): adjust
2398 (pasteSelection): adjust
2400 * BufferView_pimpl.C (insertInset): adjust
2402 2003-03-05 Angus Leeming <leeming@lyx.org>
2405 * LyXAction.C (init):
2406 * BufferView_pimpl.C (dispatch):
2407 * lyxfunc.C (getStatus):
2408 remove LFUN_CHILD_INSERT.
2410 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2412 2003-03-05 Angus Leeming <leeming@lyx.org>
2415 * LyXAction.C (init):
2416 * src/factory.C (createInset):
2417 * lyxfunc.C (getStatus):
2418 * text3.C (dispatch):
2419 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2421 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2423 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2425 * ParagraphList.C (insert): handle insert right before end()
2426 (erase): fix cases where it can be first or last paragraph.
2428 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2431 Paragraph::next and Paragraph::previous
2434 * text.C (breakParagraph): adjust
2436 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2437 BufferParams& as arg.
2438 (breakParagraph): use ParagraphList::insert
2439 (breakParagraphConservative): take a Buffer* instead of a
2440 BufferParams& as arg.
2441 (breakParagraphConservative): use ParagraphList::insert.
2443 * buffer.C (insertStringAsLines): un-const it
2444 (insertStringAsLines): adjust
2446 * ParagraphList.C (insert): new function
2448 * CutAndPaste.C (pasteSelection): adjust
2450 * text.C (backspace): adjust
2452 * tabular.C (SetMultiColumn): adjust
2454 * CutAndPaste.C (cutSelection): adjust
2455 (pasteSelection): adjust
2457 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2458 Buffer const * as arg
2460 * ParagraphList.C (erase): new function
2461 * paragraph_funcs.C (mergeParagraph): use it
2462 (mergeParagraph): make it take a Buffer* instead of a
2463 BufferParams* as arg
2465 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2467 (breakParagraphConservative): ditto
2469 * paragraph.h: remove the breakParagraph friend
2471 * paragraph.C (eraseIntern): new function
2472 (setChange): new function
2474 * paragraph_funcs.C (mergeParagraph): make it take a
2475 ParagraphList::iterator instead of a Paragraph *, adjust
2478 * paragraph.h: move an #endif so that the change tracking stuff
2479 also works in the NO_NEXT case.
2481 2003-03-04 Angus Leeming <leeming@lyx.org>
2484 * LyXAction.C: new LFUN_INSET_MODIFY.
2486 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2487 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2489 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * several files: ws changes only
2493 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2494 (TeXEnvironment): ditto
2497 * buffer.C (makeLaTeXFile): adjust
2498 (latexParagraphs): make it take ParagraphList::iterator as args
2500 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2502 * buffer.C (latexParagraphs): adjust
2504 * paragraph.C (TeXOnePar): move function...
2505 (optArgInset): move function...
2506 (TeXEnvironment): move function...
2507 * paragraph_pimpl.C (TeXDeeper): move function...
2508 * paragraph_funcs.C: ...here
2510 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2512 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2514 * buffer.C (readInset): remove compability code for old Figure and
2517 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2519 * buffer.C: ws changes
2522 * BufferView_pimpl.C: ditto
2525 * bufferlist.h: ditto
2529 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2531 * converter.[Ch]: split into itself +
2534 * Makefile.am: += graph.[Ch] + format.[Ch]
2541 * lyxrc.C: added #include "format.h"
2543 2003-02-27 Angus Leeming <leeming@lyx.org>
2545 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2548 * factory.C (createInset): add "label" to the factory.
2550 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2551 string and do no more.
2553 2003-02-27 Angus Leeming <leeming@lyx.org>
2556 * LyXAction.C (init):
2557 * factory.C (createInset):
2558 * BufferView_pimpl.C (dispatch):
2559 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2561 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2563 * lyxfunc.C (dispatch):
2564 * text3.C (dispatch): pass name to params2string.
2566 2003-02-26 Angus Leeming <leeming@lyx.org>
2568 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2570 Rearrange the ~includes. Strip out the unnecessary ones.
2572 * factory.C (createInset): reformat.
2573 create new insets for the various LFUN_XYZ_APPLY lfuns.
2575 2003-02-26 John Levon <levon@movementarian.org>
2578 * lyxrow.C: add isParStart,isParEnd helpers
2580 * paragraph.h: make isInserted/DeletedText take refs
2582 * paragraph_funcs.h:
2583 * paragraph_funcs.C: remove #if 0'd code
2588 * text.C: use lyxrow helpers above.
2589 Move draw and paint routines to RowPainter.
2590 Make several methods use refs not pointers.
2591 Make backgroundColor() const.
2592 Add markChangeInDraw(), isInInset().
2593 Merge changeRegionCase into changeCase.
2594 Make workWidth() shouldn't-happen code into an Assert.
2597 * rowpainter.C: new class for painting a row.
2600 * vspace.C: make inPixels take a ref
2602 2003-02-26 Angus Leeming <leeming@lyx.org>
2604 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2607 2003-02-25 John Levon <levon@movementarian.org>
2609 * ispell.C: give the forked command a more accurate name
2611 2003-02-22 John Levon <levon@movementarian.org>
2614 * toc.C: make TocItem store an id not a Paragraph *
2617 2003-02-21 Angus Leeming <leeming@lyx.org>
2619 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2620 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2621 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2622 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2623 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2624 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2626 * BufferView_pimpl.C (dispatch):
2627 * LyXAction.C (init):
2628 * factory.C (createInset):
2629 * lyxfunc.C (getStatus, dispatch):
2630 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2632 2003-02-21 Angus Leeming <leeming@lyx.org>
2634 * BufferView_pimpl.C (MenuInsertLyXFile):
2635 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2636 * lyxfunc.C (menuNew, open, doImport):
2637 no longer pass a LyXView & to fileDlg.
2639 2003-02-21 Angus Leeming <leeming@lyx.org>
2641 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2642 * LyXAction.C: change, BIBKEY to BIBITEM.
2643 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2644 Change InsetBibKey to InsetBibitem.
2645 Change BIBKEY_CODE to BIBITEM_CODE.
2646 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2647 * factory.C: replace insetbib.h with insetbibitem.h.
2648 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2649 * paragraph.C: replace insetbib.h with insetbibitem.h.
2650 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2651 Change bibkey() to bibitem().
2652 * text.C: remove insetbib.h.
2653 * text2.C: replace insetbib.h with insetbibitem.h.
2654 change bibkey() to bibitem().
2655 * text3.C: remove insetbib.h.
2656 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2658 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2660 * lyxrc.C (output): enclose user email in quotes (in case there are
2663 2003-02-18 John Levon <levon@movementarian.org>
2665 * buffer.h: add std::
2667 2003-02-17 John Levon <levon@movementarian.org>
2673 * pspell.C: reworking. Especially in ispell, a large
2674 number of clean ups and bug fixes.
2676 * lyxfunc.C: fix revert to behave sensibly
2678 2003-02-17 André Pönitz <poenitz@gmx.net>
2681 * commandtags.h: new LFUN_INSERT_BIBKEY
2691 * paragraph_func.C: remove special bibkey handling
2693 2003-02-17 John Levon <levon@movementarian.org>
2695 * text.C (Delete): fix case where delete at the end of
2696 the very first paragraph would not merge the pars
2698 2003-02-17 John Levon <levon@movementarian.org>
2700 * lyxrow.C: fix lastPrintablePos()
2702 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2704 * bufferparams.C (writeLaTeX): add a std:here
2706 * buffer.C: and remove a using directive there
2708 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2710 * buffer.C (makeLaTeXFile): move the code that generates the
2713 * bufferparams.C (writeLaTeX): ... in this new method
2715 * LaTeXFeatures.C (getEncodingSet): make const
2716 (getLanguages): make const
2718 * MenuBackend.C (binding): returns the binding associated to this
2720 (add): sets the status of each item by calling getStatus. Adds
2722 (read): add support for OptSubMenu
2723 (expand): remove extra separator at the end of expanded menu
2725 2003-02-15 John Levon <levon@movementarian.org>
2728 * BufferView_pimpl.C:
2730 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2731 inset code that had no actual effect. Remove unneeded status
2734 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2736 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2739 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2741 * text.C (drawLengthMarker): also draw an arrow marker for
2742 symbolic lengths (medskip...)
2744 2003-02-14 John Levon <levon@movementarian.org>
2747 * tabular.C: better method names
2749 2003-02-14 John Levon <levon@movementarian.org>
2751 * BufferView_pimpl.C:
2756 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2757 it's a more accurate name. Remove some pointless uses.
2759 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2761 * text2.C (LyXText): change order of initilizers to shut off
2764 2003-02-14 John Levon <levon@movementarian.org>
2766 * buffer.C: use ParIterator for getParFromID()
2770 * paragraph_pimpl.h:
2771 * paragraph_pimpl.C: remove unused getParFromID()
2773 2003-02-14 John Levon <levon@movementarian.org>
2775 * buffer.C: remove some very old #if 0'd parse code
2777 2003-02-13 John Levon <levon@movementarian.org>
2781 * text2.C: move hfillExpansion(), numberOfSeparators(),
2782 rowLast(), rowLastPrintable(), numberofHfills(),
2783 numberOfLabelHfills() ...
2786 * lyxrow.C: ... to member functions here.
2791 * text.C: remove LyXText::beginningOfMainBody(), and call
2792 p->beginningOfMainBody() directly. Move the check for
2793 LABEL_MANUAL into the latter.
2800 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2806 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2807 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2809 2003-02-13 John Levon <levon@movementarian.org>
2811 * CutAndPaste.C: remove debug
2813 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2815 * paragraph.C (asString): remove two unused variables
2817 * lyxtextclass.C (readTitleType):
2819 (LyXTextClass): handle new members titletype_ and titlename_
2821 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2823 2003-02-09 John Levon <levon@movementarian.org>
2826 * buffer.C: replace hand-coded list with a map for the dep clean
2828 2003-02-08 John Levon <levon@movementarian.org>
2830 * LaTeX.C: consolidate code into showRunMessage() helper
2832 2003-02-08 John Levon <levon@movementarian.org>
2837 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2838 and pass the size in explicitly
2840 * BufferView_pimpl.h:
2841 * BufferView_pimpl.C:
2843 * BufferView.C: add getCurrentChange()
2845 * BufferView_pimpl.h:
2846 * BufferView_pimpl.C: handle change lfuns
2848 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2849 for changes. Mark pasted paragraphs as new.
2851 * support/lyxtime.h:
2852 * support/lyxtime.C:
2853 * DepTable.C: abstract time_t as lyx::time_type
2856 * LColor.C: add colours for new text, deleted text, changebars
2858 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2859 package use "usenames" option.
2863 * LyXAction.C: add change lfuns
2867 * author.C: author handling
2870 * buffer.C: add a per-buffer author list, with first entry as
2871 current author. Handle new .lyx tokens for change tracking. Output
2872 author list to .lyx file. Output dvipost stuff to .tex preamble.
2873 Bump lyx format to 222.
2876 * bufferlist.C: add setCurrentAuthor() to reset current author details
2880 * bufferparams.C: add param for tracking
2882 * bufferview_funcs.C: output change info in minibuffer
2886 * changes.C: add change-tracking structure
2889 * debug.C: add CHANGES debug flag
2892 * lyxfind.C: add code for finding the next change piece
2895 * lyxrc.C: add user_name and user_email
2898 * lyxrow.C: add a metric for the top of the text line
2901 * text.C: implement accept/rejectChange()
2904 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2905 Strike through deleted text.
2909 * paragraph_pimpl.h:
2910 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2911 to the insert functions. Rework erase to mark text as deleted, adding
2912 an eraseIntern() and a range-based erase(). Implement
2913 per-paragraph change lookup and accept/reject.
2915 * paragraph_funcs.C: Fixup paste for change tracking.
2917 * tabular.C: mark added row/columns as new.
2919 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2920 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2922 * text2.C: leave cursor at end of selection after a cut.
2924 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2926 * text.C (getLengthMarkerHeight):
2927 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2928 visible on screen too.
2930 2003-02-07 John Levon <levon@movementarian.org>
2932 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2934 2003-02-05 Angus Leeming <leeming@lyx.org>
2936 * lyxserver.C (read_ready): revert my patch of 11 September last year
2937 as it sends PC cpu through the roof. Presumably this means that
2938 the lyxserver will no longer run on an Alpha...
2940 2003-01-30 Angus Leeming <leeming@lyx.org>
2942 * factory.C (createInset): create an InsetCommandParam of type "index"
2943 and use it to 'do the right thing'.
2945 * text2.C (getStringToIndex): ensure that cursor position is always
2946 reset to the reset_cursor position.
2948 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2950 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2953 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2957 * lyxfunc.C: Output messages with identical spelling, punctuation,
2960 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2962 * MenuBackend.C (expandFormats): List only viewable export formats
2965 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2968 * lyxfunc.C (getStatus): Make sure that formats other than
2969 "fax" can also be disabled
2971 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2973 * text3.C (dispatch): put the lfuns that insert insets in 3
2974 groups, and call doInsertInset with appropriate arguments.
2975 (doInsertInset): new function, that creates an inset and inserts
2976 it according to some boolean parameters.
2978 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2980 * buffer.C (readFile): remember to pass on 'par' when calling
2981 readFile recursively.
2983 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2985 * MenuBackend.C (expandFormats): add "..." to import formats.
2987 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2989 * paragraph.C (asString): Remove XForms RTL hacks.
2991 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2992 * buffer.C: fix typo
2994 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2996 * Makefile.am (LIBS): delete var
2997 (lyx_LDADD): add @LIBS@ here instead.
2999 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3001 * Clarify the meaning of "wheel mouse jump"
3003 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3005 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3008 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3010 * importer.C (Loaders): do not preallocate 3 elements in the
3011 vector, since one ends up with 6 elements otherwise
3013 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3015 * DepTable.C (write): write the file name as last element of the
3016 .dep file (because it may contain spaces)
3017 (read): read info in the right order
3019 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3021 * paragraph_pimpl.C (simpleTeXBlanks):
3022 (simpleTeXSpecialChars):
3023 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3025 * tabular.C (latex): add some missing case statements. Reindent.
3027 * MenuBackend.C (expandToc): remove unused variable.
3029 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3038 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3041 2003-01-05 John Levon <levon@movementarian.org>
3044 * BufferView.C: add getEncoding()
3047 * kbsequence.C: do not store last keypress
3050 * lyxfunc.C: store last keypress here instead. Pass encoding
3053 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3055 * lyx_main.C (init): remove annoying error message when following
3056 symbolic links (bug #780)
3058 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3060 * text.C (insertChar):
3061 * lyxrc.C (getDescription): remove extra spaces
3063 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3065 * lyxrc.C (getDescription): remove extra spaces
3067 2002-12-20 John Levon <levon@movementarian.org>
3069 * text3.C: hack fix for page up/down across tall rows
3071 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3073 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3076 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3078 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3079 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3080 thesaurus is not compiled in
3082 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3084 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3086 2002-12-16 Angus Leeming <leeming@lyx.org>
3089 * lyx_main.C (init): remove override_x_deadkeys stuff.
3091 2002-12-12 John Levon <levon@movementarian.org>
3093 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3094 insert. Only remove shift modifier under strict
3097 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * MenuBackend.C (expandToc): fix crash.
3101 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3103 * MenuBackend.C (expandToc): gettext on float names.
3105 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3107 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3108 implement bool empty() [bug 490]
3110 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3112 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3114 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * several files: ws changes
3118 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3120 * text2.C (setCounter): clean up a bit, use boost.format.
3121 (updateCounters): initialize par upon declaration.
3123 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3124 if the layout exists. We do not just store the layout any more.
3125 (SwitchLayoutsBetweenClasses): use boost.format
3127 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3129 * converter.C (convert): if from and to files are the same, use a
3130 temporary files as intermediary
3132 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3135 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3137 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3139 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3141 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * tabular.C (asciiPrintCell): use string(size, char) instead of
3146 * sgml.C (openTag): fix order of arguments to string constructor
3149 * lyxfunc.C (dispatch): use boost.format
3151 * lots of files: change "c" -> 'c'
3153 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3155 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3157 2002-11-25 Angus Leeming <leeming@lyx.org>
3159 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3161 * lyx_main.C (init): compile fix.
3163 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * lyx_cb.C (start): boost.formatify
3166 do not include <iostream>
3168 * lengthcommon.C: ws only
3170 * boost-inst.C,BoostFormat.h: add more explict instantations
3172 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * lots of files: handle USE_BOOST_FORMAT
3176 2002-11-21 John Levon <levon@movementarian.org>
3178 * pspell.C: fix compile
3180 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3182 * lyxfunc.C (dispatch): use boost::format
3186 * lyxfont.C (stateText): use boost::format
3188 * lyx_main.C (LyX): use boost::format
3190 (queryUserLyXDir): ditto
3193 (typedef boost::function): use the recommened syntax.
3195 * importer.C (Import): use boost::format
3197 * debug.C (showLevel): use boost::format
3199 * converter.C (view): use boost::format
3204 * bufferview_funcs.C (currentState): use boost::format
3206 * bufferlist.C (emergencyWrite): use boost::format
3208 * buffer.C (readLyXformat2): use boost::format
3209 (parseSingleLyXformat2Token): ditto
3211 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3213 * LaTeX.C (run): use boost::format
3215 * Chktex.C (scanLogFile): use boost::format
3217 * BufferView_pimpl.C (savePosition): use boost::format
3218 (restorePosition): ditto
3219 (MenuInsertLyXFile): ditto
3221 * BoostFormat.h: help file for explicit instation.
3223 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3225 * tabular.C (latex): Support for block alignment in fixed width
3228 2002-11-17 John Levon <levon@movementarian.org>
3230 * BufferView_pimpl.C:
3232 * lyxfunc.C: split filedialog into open/save
3234 2002-11-08 Juergen Vigna <jug@sad.it>
3236 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3237 by my last patch (hopefully).
3239 2002-11-08 John Levon <levon@movementarian.org>
3248 * toc.C: ParConstIterator, and use it (from Lars)
3250 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3252 * lyxtextclass.[Ch]: revise and add doxygen comments
3254 2002-11-07 John Levon <levon@movementarian.org>
3256 * text.C: fix progress value for spellchecker
3258 * toc.C: fix navigate menu for insetwrap inside minipage
3260 * paragraph_funcs.C: added FIXME for suspect code
3262 2002-11-07 John Levon <levon@movementarian.org>
3264 * BufferView_pimpl.C: fix redrawing of insets
3267 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3269 * text2.C (updateCounters): fix bug 668
3271 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3273 * text3.C (dispatch): Do not make the buffer dirty when moving the
3276 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3278 * vc-backend.C: STRCONV
3281 * text2.C (setCounter): STRCONV
3283 * paragraph.C (asString): STRCONV
3285 * lyxlength.C (asString): STRCONV
3286 (asLatexString): ditto
3288 * lyxgluelength.C (asString): STRCONV
3289 (asLatexString): ditto
3291 * lyxfunc.C (dispatch): STRCONV
3294 * lyxfont.C (stateText): STRCONV
3296 * importer.C (Import): STRCONV
3298 * counters.C (labelItem): STRCONV
3299 (numberLabel): ditto
3300 (numberLabel): remove unused ostringstream o
3305 * bufferview_funcs.C (currentState): STRCONV
3307 * buffer.C (readFile): STRCONV
3308 (asciiParagraph): ditto
3309 (makeLaTeXFile): ditto
3311 * Spacing.C (writeEnvirBegin): STRCONV
3313 * LaTeXFeatures.C (getLanguages): STRCONV
3314 (getPackages): ditto
3316 (getBabelOptions): ditto
3317 (getTClassPreamble): ditto
3318 (getLyXSGMLEntities): ditto
3319 (getIncludedFiles): ditto
3323 (scanAuxFile): ditto
3326 * LString.h: add the STRCONV macros
3328 * BufferView_pimpl.C (savePosition): STRCONV
3329 (restorePosition): ditto
3330 (MenuInsertLyXFile): ditto
3332 * vc-backend.C (scanMaster): change from submatch[...] to
3335 * funcrequest.C: include config.h
3337 * factory.C: include config.h
3339 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3341 * box.C: include config.h
3343 * LaTeX.C (scanAuxFile): change from submatch[...] to
3347 2002-10-25 Angus Leeming <leeming@lyx.org>
3349 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3351 * ispell.[Ch] (setError): new method.
3352 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3353 Use setError() insetead of goto END.
3355 * lyx_cb.C (AutoSave): move out child process into new class
3358 2002-10-30 John Levon <levon@movementarian.org>
3360 * text3.C: make start appendix undoable
3362 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3364 * lyxlength.C (inPixels): Fix returned value.
3366 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3369 2002-10-24 Angus Leeming <leeming@lyx.org>
3371 * lyxgluelength.h: no need to forward declare BufferParams
3372 or BufferView, so don't.
3374 2002-10-21 John Levon <levon@movementarian.org>
3376 * BufferView.C: menuUndo ->undo, redo
3378 * BufferView.h: document, remove dead, make some methods private
3380 * paragraph_funcs.h:
3381 * paragraph_funcs.C:
3382 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3387 * sgml.C: move sgml open/close tag into sgml.C
3389 * bufferview_funcs.h: unused prototype
3392 * lyxfunc.C: remove unused
3395 * text.C: remove unused
3397 2002-10-21 John Levon <levon@movementarian.org>
3401 * BufferView_pimpl.h:
3402 * BufferView_pimpl.C: fix mouse wheel handling based on
3403 patch from Darren Freeman
3405 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3407 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3409 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3411 * lyxlength.C (inPixels): Fix hanfling of negative length.
3412 Fix LyXLength::MU case.
3414 2002-10-16 John Levon <levon@movementarian.org>
3416 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3418 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3420 * converter.C (view): add support for $$i (file name) and $$p
3421 (file path) for the viewer command. If $$i is not specified, then
3422 it is appended to the command (for compatibility with old syntax)
3424 2002-10-14 Juergen Vigna <jug@sad.it>
3426 * undo_funcs.C (textHandleUndo): alter the order in which the
3427 new undopar is added to the LyXText, as we have to set first
3428 the right prev/next and then add it as otherwise the rebuild of
3429 LyXText is not correct. Also reset the cursor to the right paragraph,
3430 with this IMO we could remove the hack in "redoParagraphs()".
3432 2002-10-09 Angus Leeming <leeming@lyx.org>
3434 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3435 to turn off an optimisation if a new inset is to be inserted.
3437 2002-10-11 André Pönitz <poenitz@gmx.net>
3439 * lyxtext.h: make some functions public to allow access
3440 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3442 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3444 * text3.C (dispatch): when changing layout, avoid an infinite loop
3447 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3449 * lyxrc.C (read): treat a viewer or converter command of "none" as
3452 * MenuBackend.C (expandFormats): for an update, also allow the
3453 formats that are not viewable
3455 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3456 script if it is newer than the lyxrc.defaults in user directory
3458 2002-10-07 André Pönitz <poenitz@gmx.net>
3460 * text.C: Vitaly Lipatov's small i18n fix
3462 2002-09-25 Angus Leeming <leeming@lyx.org>
3464 * ispell.h: doxygen fix.
3466 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3468 * buffer.h (readFile): Add a new argument to the method, to allow
3469 reading of old-format templates.
3471 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3473 * toc.C (getTocList): Get TOC from InsetWrap.
3475 2002-09-16 John Levon <levon@movementarian.org>
3477 * lyxfunc.C: check tabular for cut/copy too
3479 2002-09-12 John Levon <levon@movementarian.org>
3484 * factory.C: add header
3486 * paragraph_funcs.h:
3487 * paragraph_funcs.C: cleanup
3489 2002-09-11 John Levon <levon@movementarian.org>
3491 * PrinterParams.h: odd/even default to true
3493 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3495 * PrinterParams.h: update printer parameters for new xforms dialog
3497 2002-09-11 Angus Leeming <leeming@lyx.org>
3499 * lyxserver.C (read_ready): re-write to make it more transparent
3500 and to make it work in coherent fashion under Tru64 Unix.
3502 2002-09-11 André Pönitz <poenitz@gmx.net>
3506 * text3.C: implement LFUN_WORDSEL
3508 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3510 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3511 make floatlist_ a boost::shared_ptr<FloatList>
3513 * lyxtextclass.C: include FloatList.h
3514 (LyXTextClass): initialize floatlist_
3515 (TextClassTags): add TC_NOFLOAT
3516 (Read): match "nofloat" to TC_NOFLOAT and use it.
3517 (readFloat): modify call to floatlist_
3521 * FloatList.[Ch] (FloatList): remove commented out float
3523 (erase): new function
3525 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3527 * MenuBackend.C (expandToc): fix crash when there is no document
3530 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3532 * many files: Add insetwrap.
3534 2002-09-09 John Levon <levon@movementarian.org>
3536 * text2.C: remove confusing and awkward depth wraparound
3538 2002-09-09 John Levon <levon@movementarian.org>
3540 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3543 * buffer.C: remove getIncludeonlyList()
3546 * lyxfunc.C: remove headers
3548 2002-09-09 Juergen Vigna <jug@sad.it>
3550 * text.C (getColumnNearX): fix form Michael this is most
3551 probably a cut&paste bug.
3553 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3555 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3557 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3558 references, ws changes.
3560 * text2.C (init): update counters after init
3561 (insertParagraph): no need to set counter on idividual paragraphs.
3562 (setCounter): access the counters object in the textclass object
3563 on in the buffer object.
3564 (updateCounters): ditto
3566 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3567 shared_ptr<Counters> to avoid loading counters.h in all
3569 (LyXTextClass): initialize ctrs_
3570 (TextClassTags): add TC_COUNTER, and ...
3571 (Read): use it here.
3572 (CounterTags): new tags
3573 (readCounter): new function
3574 (counters): new funtion
3575 (defaultLayoutName): return a const reference
3577 * counters.C (Counters): remove contructor
3578 (newCounter): remove a couple of unneeded statements.
3579 (newCounter): simplify a bit.
3580 (numberLabel): some small formatting changes.
3582 * buffer.[Ch]: remove all traces of counters, move the Counters
3583 object to the LyXTextClass.
3585 2002-09-06 Alain Castera <castera@in2p3.fr>
3587 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3588 package to set the horizontal alignment on fixed width columns.
3591 * lyx_sty.h: added tabularnewline macro def.
3593 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3595 2002-09-06 John Levon <levon@movementarian.org>
3597 * LyXAction.C: tooltips for sub/superscript
3599 * MenuBackend.C: a bit more verbose
3601 * lyxfunc.C: tiny clean
3603 * undo_funcs.C: document undo_frozen
3605 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3607 * counters.C (Counters): add missing algorithm counter.
3609 * text2.C (setCounter): lookup the counter with layouts latexname
3610 instead of by section number.
3611 (setCounter): use a hackish way to lookup the correct enum
3613 a float name->type change
3614 reset enum couners with counter name directly instead of depth value.
3616 * counters.C (Counters): remove the push_backs, change to use the
3617 float type not the float name.
3618 (labelItem): remove unused string, float name->type change
3620 * counters.h: don't include vector, loose the enums and sects vectors
3622 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3624 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3625 (Read): add float->TC_FLOAT to textclassTags
3626 (Read): and handle it in the switch
3627 (readFloat): new function
3629 * FloatList.C (FloatList): comment out the hardcoded float
3632 * lyxlayout.h: ws change.
3634 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3636 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3638 2002-09-03 Angus Leeming <leeming@lyx.org>
3640 * BufferView_pimpl.h: qualified name is not allowed in member
3641 declaration: WorkArea & Pimpl::workarea() const;
3643 * factory.C: added using std::endl directive.
3645 * text3.C: added using std::find and std::vector directives.
3647 2002-08-29 André Pönitz <poenitz@gmx.net>
3650 * text2.C: remove unused member number_of_rows
3653 * BufferView2.C: remove file, move contents to...
3654 * BufferView.C: ... here
3656 * BufferView_pimpl.C:
3657 * factory.C: move more inset creation to factory
3659 * vspace.C: avoid direct usage of LyXText, ws changes
3662 don't provide direct access to WorkArea, use two simple
3663 acessors haveSelction() and workHeight() instead
3666 2002-08-29 John Levon <levon@movementarian.org>
3668 * BufferView_pimpl.C (dispatch): do not continue when
3671 2002-08-28 André Pönitz <poenitz@gmx.net>
3673 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3676 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3678 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3680 * buffer.C: increment LYX_FORMAT to 221
3682 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3683 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3685 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3687 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3689 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3691 * factory.C (createInset): use LyXTextClass::floats
3693 * MenuBackend.C (expandFloatListInsert):
3694 (expandFloatInsert):
3697 * text2.C (setCounter):
3699 * LaTeXFeatures.C (useFloat):
3700 (getFloatDefinitions):
3702 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3704 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3705 floatlist_, with accessor floats().
3707 * FloatList.h: remove global FloatList
3709 2002-08-26 André Pönitz <poenitz@gmx.net>
3711 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3715 * BufferView_pimpl.C:
3716 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3718 2002-08-25 John Levon <levon@movementarian.org>
3720 * LyXAction.C: fix margin note description
3722 2002-08-24 John Levon <levon@movementarian.org>
3726 * bufferview_funcs.C:
3728 * undo_funcs.C: cleanups
3730 * lyxfunc.C: disable CUT/COPY when no selection
3732 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3734 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3735 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3737 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3738 Add backward compatibility to "mono", "gray" and "no".
3740 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3742 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3743 (and file_format >= 200).
3745 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3747 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3749 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3751 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3753 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3755 * BufferView_pimpl.C:
3762 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3763 inset and code to make it work with the paragraph code. The inset
3764 can be anywhere in the paragraph, but will only do the expected
3765 thing in LaTeX if the layout file contains the parameter line
3767 (or more generally, a nonzero value) for that layout.
3769 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3771 * paragraph.h: remove the declaration of undefined counters class
3774 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3776 * text2.C (setCounter): fixed enumeration mis-count as reported by
3777 Dr. Richard Hawkins.
3779 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3781 * paragraph_funcs.h: remove some unneeded includes
3783 * text.C (backspace): pasteParagraph now in global scipe
3785 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3786 (pasteSelection): ditto
3788 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3789 * paragraph_funcs.C (pasteParagraph): ... here
3791 2002-08-20 André Pönitz <poenitz@gmx.net>
3793 * commandtags.h: new LFUNs for swapping/copying table row/colums
3796 * lyxfunc.C: support for new lfuns
3798 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3801 * buffer.[Ch]: remove NO_COMPABILITY stuff
3803 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3805 * boost.C (throw_exception): new file, with helper function for
3806 boost compiled without exceptions.
3811 * ParameterStruct.h:
3812 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3814 * bufferlist.C (emergencyWriteAll): use boost bind
3816 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3818 * text.C: include paragraph_funcs.h
3819 (breakParagraph): breakParagraph is now in global scope
3821 * paragraph_funcs.[Ch]: new files
3823 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3826 * buffer.C: include paragraph_funcs.h
3827 (insertStringAsLines): breakParagraph is now in global scope
3829 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3832 * CutAndPaste.C: include paragraph_funcs.h
3833 (cutSelection): breakParagraphConservative is now in global scope
3834 (pasteSelection): ditto
3836 * buffer.h: declare oprator== and operator!= for
3837 Buffer::inset_iterator
3839 * bufferlist.C (emergencyWrite): don't use fmt(...)
3841 * text3.C: add using std::endl
3843 * BufferView.C (moveCursorUpdate): remove default arg
3845 2002-08-20 André Pönitz <poenitz@gmx.net>
3847 * buffer.[Ch]: move inline functions to .C
3850 * BufferView_pimpl.C:
3852 * buffer.[Ch]: use improved inset_iterator
3855 * paragraph.[Ch]: write one paragraph at a time
3857 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3859 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3860 style if style is not specified.
3862 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3864 * text2.C (setCounter): when searching for right label for a
3865 caption, make sure to recurse to parent insets (so that a caption
3866 in a minipage in a figure float works) (bug #568)
3868 2002-08-20 André Pönitz <poenitz@gmx.net>
3870 * text3.C: new file for LyXText::dispatch() and helpers
3872 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3874 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3876 2002-08-19 André Pönitz <poenitz@gmx.net>
3879 * text.C: new LyXText::dispatch()
3881 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3883 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3885 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3887 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3890 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3892 * Makefile.am: use $(variables) instead of @substitutions@
3894 2002-08-15 André Pönitz <poenitz@gmx.net>
3897 * BufferView_pimpl.C: streamlining mathed <-> outer world
3901 * LyXAction.C: remove unused LFUN_MATH
3903 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3905 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3907 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3909 * paragraph.C (Paragraph): reformat a bit
3910 (cutIntoMinibuffer): use builtin InsetList function instad of
3914 * buffer.C: include boost/bind.hpp, add using std::for_each
3915 (writeFileAscii): use ParagraphList iterators
3916 (validate): use for_each for validate traversal of paragraphs
3917 (getBibkeyList): use ParagraphList iterators
3918 (resizeInsets): use for_each to resizeInsetsLyXText for all
3920 (getParFromID): use ParagraphList iterators
3922 * BufferView2.C (lockInset): use paragraph list and iterators
3924 2002-08-14 John Levon <levon@movementarian.org>
3926 * lyxserver.C: remove spurious xforms include
3928 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3930 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3932 2002-08-13 André Pönitz <poenitz@gmx.net>
3935 * lyxfunc.C: further cleaning
3937 2002-08-13 André Pönitz <poenitz@gmx.net>
3939 * funcrequest.h: new constructor
3941 * funcrequest.C: move stuff here from .h
3944 * BufferView_pimpl.C:
3947 * lyxfunc.C: subsequent changes
3949 * lyxfunc.h: new view() member function
3951 * lyxfunc.C: subsequent changes
3953 2002-08-13 Angus Leeming <leeming@lyx.org>
3956 * BufferView_pimpl.C:
3964 changes due to the changed LyXView interface that now returns references
3965 to member variables not pointers.
3967 2002-08-13 Angus Leeming <leeming@lyx.org>
3969 * WordLangTuple (word, lang_code): return references to strings,
3974 * lyxtext.h: forward-declare WordLangTuple.
3979 * text.C: #include "WordLangTuple.h".
3982 * text.C: (selectNextWordToSpellcheck): constify return type.
3984 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3990 * paragraph_pimpl.h:
3993 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3995 Made updateCounter always count from start of buffer, and removed
3996 second argument (par).
3997 Reverted floats number display to '#'. Perhaps I'll try again when the
3998 code base is sanitized a bit.
4000 2002-08-12 Angus Leeming <leeming@lyx.org>
4002 * buffer.[Ch] (getLabelList): constify.
4004 2002-08-07 André Pönitz <poenitz@gmx.net>
4006 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4008 * funcrequest.h: extension to keep mouse (x,y) position
4010 2002-08-12 Juergen Vigna <jug@sad.it>
4012 * BufferView2.C (insertErrors): forbid undo when inserting error
4015 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4017 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4019 * ParagraphList.[Ch]: new files
4021 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4023 * BufferView2.C (lockInset): ParagraphList changes
4026 * bufferlist.C: ditto
4030 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4032 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4033 unused class variable counter_,
4035 * paragraph.[Ch] (getFirstCounter): delete unused function
4037 * counters.C: include LAssert.h
4038 (reset): add a new function with no arg, change other version to
4039 not have def. arg and to not allow empty arg.
4041 * text2.C (setCounter): remove empty arg from call to Counters::reset
4043 2002-08-11 John Levon <levon@movementarian.org>
4045 * Makefile.am: add WordLangTuple.h
4047 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4049 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4050 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4052 * insets/insettext.C: InsetList changes
4054 * graphics/GraphicsSupport.C (operator()): InsetList changes
4056 * toc.C (getTocList): InsetList changes
4058 * paragraph_pimpl.[Ch]: InsetList changes
4060 * paragraph.[Ch]: InsetList changes
4062 * buffer.C (inset_iterator): InsetList changes
4063 (setParagraph): ditto
4064 * buffer.h (inset_iterator): ditto
4065 * iterators.C (operator++): ditto
4066 * iterators.h: ditto
4068 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4070 * InsetList.[Ch]: new files, most InsetList handling moved out of
4073 * BufferView2.C (removeAutoInsets): InsetList changes
4075 (ChangeInsets): ditto
4077 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4079 * paragraph_pimpl.h (empty): new function
4081 * paragraph.[Ch] (empty): new function
4083 * other files: use the new Paragraph::empty function
4085 2002-08-09 John Levon <levon@movementarian.org>
4087 * lyxtext.h: remove unused refresh_height
4089 2002-08-09 John Levon <levon@movementarian.org>
4096 * paragraph.C: move sgml char escaping out of paragraph
4099 * paragraph.C: remove id setter
4103 * paragraph_pimpl.C: remove dead tex_code_break_column
4105 * bufferview_funcs.C: small cleanup
4107 * lyxfunc.C: remove dead proto
4109 * lyxtext.h: make some stuff private. Remove some dead stuff.
4111 * lyxgluelength.C: make as[LyX]String() readable
4113 2002-08-08 John Levon <levon@movementarian.org>
4118 * ToolbarDefaults.C:
4121 * toc.C: lyxaction cleanup
4123 2002-08-08 John Levon <levon@movementarian.org>
4125 * BufferView2.C: small cleanup
4128 * lyxfind.C: move unnecessary header into the .C
4130 2002-08-08 John Levon <levon@movementarian.org>
4132 * funcrequest.h: just tedious nonsense
4135 * lyx_main.C: cleanups
4138 * vspace.C: remove dead header lyx_main.h
4140 2002-08-07 Angus Leeming <leeming@lyx.org>
4143 * paragraph_pimpl.h:
4144 Forward declare class Counters in paragraph.h by moving the ctrs member
4145 variable into Paragraph::Pimpl.
4146 (counters): new method, returning a reference to pimpl_->ctrs.
4148 * text2.C: ensuing changes.
4150 2002-08-07 John Levon <levon@movementarian.org>
4152 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4154 * BufferView_pimpl.C: announce X selection on double/triple
4157 * lyx_main.C: use correct bool in batch dispatch
4159 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4161 2002-08-07 André Pönitz <poenitz@gmx.net>
4163 * funcrequest.h: new class to wrap a kb_action and its argument
4166 * BufferView_pimpl[Ch]:
4170 * lyxrc.C: subsequent changes
4173 2002-08-07 John Levon <levon@movementarian.org>
4175 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4176 document options change.
4178 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4183 * makefile.am: move counters functionality over from
4184 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4186 2002-08-06 John Levon <levon@movementarian.org>
4188 * WordLangTuple.h: new file for word + language code tuple
4199 * BufferView2.C: use WordLangTuple
4202 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4204 2002-08-06 John Levon <levon@movementarian.org>
4206 * lyx_main.C: fix cmdline batch handling
4208 2002-08-06 André Pönitz <poenitz@gmx.net>
4210 * lyxrc.C: set default for show_banner to true
4212 2002-08-06 John Levon <levon@movementarian.org>
4214 * pspell.C: fix a crash, and allow new aspell to work
4216 2002-08-06 John Levon <levon@movementarian.org>
4219 * kbmap.C: small cleanup
4222 * vspace.C: add const
4224 2002-08-05 John Levon <levon@movementarian.org>
4226 * LyXAction.C: back to tabular-insert
4228 2002-08-04 John Levon <levon@movementarian.org>
4231 * BufferView.C: cosmetic change
4233 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4243 * BufferView2.C: purge all "Lyx" not "LyX" strings
4246 * lyxcursor.C: attempt to add some documentation
4251 * ToolbarDefaults.C:
4252 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4253 merge with LFUN_TABULAR_INSERT
4260 * pspell.C: split up i/pspell implementations into separate
4261 files, many cleanups
4263 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4265 * text2.C: some cleanup
4267 * lyxfunc.C: don't check for isp_command == "none" any more, it
4268 didn't make any sense
4270 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4275 * makefile.am: move counters functionality over
4276 from text2.C/paragraph.[Ch] to counters.[Ch], and
4278 2002-08-02 John Levon <levon@movementarian.org>
4280 * buffer.C: s/lyxconvert/lyx2lyx/
4282 2002-08-02 Angus Leeming <leeming@lyx.org>
4284 * lyxlex.C: revert John's change as it breaks reading of the user
4287 2002-08-02 Angus Leeming <leeming@lyx.org>
4289 * importer.C (Import):
4290 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4291 changes due to LyXView::view() now returning a boost::shared_ptr.
4293 2002-08-02 John Levon <levon@movementarian.org>
4295 * lyxlex.C: small cleanup
4297 2002-08-02 John Levon <levon@movementarian.org>
4299 * text2.C (status): small cleanup, no logic change
4301 2002-08-01 John Levon <levon@movementarian.org>
4304 * buffer.C (writeFile): don't output alerts, caller
4308 * lyx_cb.C: from above
4310 * lyxfunc.C: allow to open non-existent files
4312 2002-07-31 John Levon <levon@movementarian.org>
4314 * lyxserver.C: don't let incidental errors get
4317 2002-07-30 John Levon <levon@movementarian.org>
4319 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4321 2002-07-30 John Levon <levon@movementarian.org>
4324 * lyxserver.C: remove I/O callback too
4326 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4328 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4331 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4333 * many files: strip,frontStrip -> trim,ltrim,rtrim
4335 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * PrinterParams.h: remove extern containsOnly, and include
4338 support/lstrings.h instead.
4340 * LaTeX.C (scanAuxFile): modify because of strip changes
4342 * buffer.C (makeLaTeXFile): ditto
4343 * bufferparams.C (writeFile): ditt
4344 * lyxfont.C (stateText): ditto
4345 * lyxserver.C (read_ready): ditto
4346 * vc-backend.C (scanMaster): ditto
4348 * BufferView_pimpl.h: ws changes
4350 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4352 2002-07-26 André Pönitz <poenitz@gmx.net>
4354 * kb_sequence.C: remove unnedred usings
4356 2002-07-26 Juergen Vigna <jug@sad.it>
4358 * lyxfind.C (LyXReplace): we have to check better if the returned
4359 text is not of theLockingInset()->getLockingInset().
4361 2002-07-25 Juergen Vigna <jug@sad.it>
4363 * lyxfind.C (LyXReplace): don't replace if we don't get the
4366 * undo_funcs.C (createUndo): remove debugging code.
4368 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4370 * buffer.C (parseSingleLyXformat2Token): Use default placement
4371 when reading old floats.
4373 * FloatList.C (FloatList): Change the default placement of figure
4374 and tables to "tbp".
4376 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4378 * MenuBackend.C: using std::max
4380 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4382 * MenuBackend.C (expandToc):
4383 (expandToc2): code moved from xforms menu frontend. It is now
4384 generic and TOCs are transparent to menu frontends.
4386 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4388 * toc.C (getTocList): protect against buf=0
4390 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4391 Menu as first parameter. Now, this calls itself recursively to
4392 expand a whole tree (this will be useful for TOC handling)
4393 (expandFloatInsert): remove 'wide' version of floats
4395 * MenuBackend.h (submenuname): returns the name of the submenu.
4396 (submenu): returns the submenu itself, provided it has been
4397 created by MenuBackend::expand
4399 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4401 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4402 insets which have noFontChange == true. (bug #172)
4404 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4406 * BufferView_pimpl.C: add connection objects and use them...
4409 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4411 * MenuBackend.C (expandLastfiles):
4414 (expandFloatListInsert):
4415 (expandFloatInsert):
4416 (expand): split expand in parts
4418 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4420 * lyx_gui.C: use lyx_gui::exit()
4422 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4424 * LyXAction.C: show the failing pseudo action
4426 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4428 * buffer.C (readFile): Run the lyxconvert script in order to read
4431 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4435 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4437 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4441 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4443 2002-07-22 Herbert Voss <voss@lyx.org>
4446 * lyxlength.[Ch]: add support for the vertical lengths
4448 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4450 * toc.[Ch]: std:: fixes
4452 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4454 * lyxrc.C: do not include lyx_main.h
4456 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4462 * BufferView2.C: include "lyxlex.h"
4465 * bufferparams.h: do not #include "lyxlex.h"
4467 * lyxtextclasslist.C (Add): remove method
4468 (classlist): renamed to classlist_
4470 * paragraph_pimpl.C:
4474 * bufferview_funcs.C:
4479 * toc.C (getTocList): use BufferParams::getLyXTextClass
4481 * toc.C (getTocList): use InsetFloat::addToToc
4483 * toc.[Ch]: new files, containing helper functions to handle table
4486 * lyxfunc.C (dispatch): no need to remove spaces around command
4488 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4489 first command of the sequence; it is not very clever, but I do not
4490 have a better idea, actually
4492 * LyXAction.C (LookupFunc): make sure to remove space at the
4493 beginning and end of the command
4495 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4497 * MenuBackend.C (getMenubar): new method: return the menubar of
4499 (read): treat differently reading of menu and menubar (in
4500 particular, the menubar has no name now)
4501 (Menu::menubar): remove
4503 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4506 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4508 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4509 a bibitem inset in a RTL paragraph.
4511 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4513 * paragraph_pimpl.C: constify
4515 * BufferView_pimpl.C:
4517 * lyxfunc.C: fix dispatch in a nicer way
4519 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4521 * lyxfunc.C (dispatch):
4522 * BufferView_pimpl.C:
4523 * BufferView_pimpl.h:
4525 * BufferView.h: rename Dispatch() to dispatch()
4527 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4529 * lyxlayout.C (Read): honor DependsOn tag
4531 * lyxlayout.[Ch] (depends_on): new method
4533 * version.C.in: update lyx_docversion
4535 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4537 * paragraph.C (validate): remove from here...
4538 * paragraph_pimpl.C (validate): ... and move here
4539 (isTextAt): make it const
4541 * buffer.C (getLists): ws cleanup
4543 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4545 * language.C (read): Use iso8859-1 encoding in latex_lang
4546 (this prevents LyX from crashing when using iso10646-1 encoding).
4548 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4550 * text2.C (toggleInset): if cursor is inside an inset, close the
4551 inset and leave cursor _after_ it
4553 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4555 * lyxfunc.C: move minibuffer completion handling out of here
4557 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4559 * BufferView_pimpl.C:
4560 * LaTeX.C: fix dispatch calls
4562 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4564 * text.C (drawChars): Fix Arabic text rendering.
4566 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4570 * lyxfunc.C: remove message-push/pop
4574 * lyxfunc.C: rationalise some code by removing verboseDispatch
4575 in favour of a bool argument to dispatch()
4577 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4579 * lyx_main.C (init): make sure to read symlinks as absolute paths
4581 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4584 * lyxfunc.C: no need for commandshortcut to be a member
4586 2002-07-15 André Pönitz <poenitz@gmx.net>
4588 * converter.C: add support for $$s (scripts from lib/scripts dir)
4589 * lyx_main.C: white space
4591 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4595 * lyxrc.C: remove second exit confirmation
4597 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4602 * BufferView_pimpl.h:
4603 * BufferView_pimpl.C:
4604 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4606 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4608 * MenuBackend.C (expand): add numeric shortcuts to document menu
4610 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4612 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4614 * lyxfont.C (setLyXFamily):
4621 * buffer.C (asciiParagraph): use ascii_lowercase
4623 2002-07-15 Mike Fabian <mfabian@suse.de>
4625 * lyxlex_pimpl.C (search_kw):
4626 * lyxlex.C (getLongString):
4627 * converter.h (operator<):
4628 * converter.C (operator<):
4629 * buffer.C (parseSingleLyXformat2Token):
4631 * ToolbarDefaults.C (read):
4632 * MenuBackend.C (checkShortcuts):
4634 * LColor.C (getFromGUIName):
4635 (getFromLyXName): use the compare_ascii_no_case instead of
4636 compare_no_case, because in turkish, 'i' is not the lowercase
4637 version of 'I', and thus turkish locale breaks parsing of tags.
4639 2002-07-16 Angus Leeming <leeming@lyx.org>
4641 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4642 now takes a Buffer const & argument.
4644 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4646 * BufferView.C (resize): check there's a buffer to resize
4648 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4650 * lyxfunc.C: remove dead code
4653 * lyxserver.C: use lyx_guii::set_read_callback
4655 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4657 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4658 an inset in a RTL paragraph.
4660 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4662 * lyxfunc.C: repaint after a font size update
4664 2002-07-15 André Pönitz <poenitz@gmx.net>
4666 * lyxlength.C: inBP should be able to return negative values
4668 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4670 * lyxfunc.C: use lyx_gui::update_fonts()
4672 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4674 * lyxfunc.C: use lyx_gui::update_color()
4676 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4682 * lyxrc.C: remove file->new asks for name option, and let
4683 buffer-new take an argument
4685 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4687 * BufferView_pimpl.C: remove unneeded extra repaint()
4689 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4691 * LyXAction.C: allow command-sequence with NoBuffer
4693 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4695 2002-07-10 Angus Leeming <leeming@lyx.org>
4697 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4699 2002-07-09 Angus Leeming <leeming@lyx.org>
4701 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4703 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4705 * lengthcommon.h: whitespace
4707 * lyxfunc.C: update scrollbar after goto paragraph
4709 * lyxtext.h: factor out page break drawing, and fix it so
4710 page break/added space paints as selected nicely
4712 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4714 * BufferView_pimpl.C: add FIXMEs, clean up a little
4716 2002-07-09 André Pönitz <poenitz@gmx.net>
4718 * lyxfont.[Ch]: support for wasy symbols
4720 2002-07-08 André Pönitz <poenitz@gmx.net>
4722 * BufferView_pimpl.C: apply John's patch for #93.
4724 2002-07-05 Angus Leeming <leeming@lyx.org>
4726 * BufferView_pimpl.C (buffer): generate previews if desired.
4728 * LColor.h: add "preview" to the color enum.
4730 * LColor.C (LColor): add a corresponding entry to the items array.
4732 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4735 2002-07-05 Angus Leeming <leeming@lyx.org>
4737 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4738 The body of the code is now in the method that is passed an ostream &
4739 rather than a file name.
4740 Pass an additional only_preamble parameter, useful for the forthcoming
4743 2002-07-03 André Pönitz <poenitz@gmx.net>
4745 * lyxfunc.C: simplify getStatus() a bit for math stuff
4747 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4749 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4751 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4753 * text.C (changeRegionCase): do not change case of all the
4754 document when region ends at paragraph end (bug #461)
4756 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4758 * paragraph.C (startTeXParParams):
4759 (endTeXParParams): add \protect when necessary
4761 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4763 * BufferView_pimpl.C (workAreaExpose): remove warning
4765 2002-06-27 Angus Leeming <leeming@lyx.org>
4767 * Makefile.am: add lyxlayout_ptr_fwd.h.
4769 2002-06-26 André Pönitz <poenitz@gmx.net>
4771 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4773 2002-06-25 Angus Leeming <leeming@lyx.org>
4775 * lyxfunc.C (dispatch): Comment out the call to
4776 grfx::GCache::changeDisplay. The method no longer exists now that the
4777 pixmap generation part of the graphics loader has been moved into
4780 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4782 * text2.C: layout as layout
4784 * text.C: layout as layout
4786 * tabular.C (OldFormatRead): layout as layout
4788 * paragraph_pimpl.C (TeXDeeper): layout as layout
4789 (realizeFont): layout as layout
4791 * paragraph.C (writeFile): layout as layout
4792 (validate): layout as layout
4793 (getFont): layout as layout
4794 (getLabelFont): layout as layout
4795 (getLayoutFont): layout as layout
4796 (breakParagraph): layout as layout
4797 (stripLeadingSpaces): layout as layout
4798 (getEndLabel): layout as layout
4799 (getMaxDepthAfter): layout as layout
4800 (applyLayout): layout as layout
4801 (TeXOnePar): layout as layout
4802 (simpleTeXOnePar): layout as layout
4803 (TeXEnvironment): layout as layout
4804 (layout): layout as layout
4805 (layout): layout as layout
4807 * lyxtextclass.C (compare_name): new functor to work with
4808 shared_ptr, layout as layout
4809 (Read): layout as layout
4810 (hasLayout): layout as layout
4811 (operator): layout as layout
4812 (delete_layout): layout as layout
4813 (defaultLayout): layout as layout
4815 * lyxlayout_ptr_fwd.h: new file
4817 * lyxlayout.C (Read): layout as layout
4819 * lyx_cb.C (MenuInsertLabel): layout as layout
4821 * bufferlist.C (newFile): layout as layout
4823 * buffer.C (readLyXformat2): layout as layout
4824 (parseSingleLyXformat2Token): layout as layout
4825 (insertStringAsLines): layout as layout
4826 (asciiParagraph): layout as layout
4827 (latexParagraphs): layout as layout
4828 (makeLinuxDocFile): layout as layout
4829 (simpleLinuxDocOnePar): layout as layout
4830 (makeDocBookFile): layout as layout
4831 (simpleDocBookOnePar): layout as layout
4832 (getLists): layout as layout
4834 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4836 * CutAndPaste.C (cutSelection): layout as layout
4837 (pasteSelection): layout as layout
4838 (SwitchLayoutsBetweenClasses): layout as layout
4840 * BufferView_pimpl.C (Dispatch): layout as layout
4841 (smartQuote): layout as layout
4843 * BufferView2.C (unlockInset): layout as layout
4845 2002-06-24 André Pönitz <poenitz@gmx.net>
4847 * lyxfunc.C: fix #487
4849 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4853 * lyxfunc.C: remove display_shortcuts, show_banner
4855 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4857 * Buffer_pimpl.C: oops, update on resize
4859 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4866 * BufferView.C: use repaint()
4868 * BufferView_pimpl.h:
4869 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4870 as it's a clearer description. Remove superfluous
4873 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4875 * text.C: fix bug 488. Not ideal, but getting
4876 getWord() to work properly for the insets that
4877 matter is more difficult ...
4879 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4881 * BufferView_pimpl.C:
4884 * lyxfunc.C: remove the six million index lyxfuncs to just
4885 one, and DTRT (bug 458)
4887 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4891 * BufferView_pimpl.h:
4892 * BufferView_pimpl.C: clean up resize() stuff,
4893 and unnecessary updateScreen()s
4895 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4899 * BufferView_pimpl.h:
4900 * BufferView_pimpl.C:
4903 * minibuffer.C: remove focus management of workarea,
4904 not needed. Use screen's greyOut()
4906 2002-06-17 Herbert Voss <voss@lyx.org>
4908 * converter.C: (convert) do not post a message, when converting
4909 fails, let the calling function decide what to do in this case
4911 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4913 * lyxfunc.C: tidy up a little
4915 2002-06-16 <alstrup@diku.dk>
4917 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4918 Got rid of FORMS_H_LOCATION include. Now we are
4921 2002-06-15 LyX Development team <lyx@rilke>
4923 * buffer.[Ch] (sgmlOpenTag):
4924 (sgmlCloseTag): Added support for avoiding pernicious mixed
4925 content. Return number of lines written.
4928 (makeDocBookFile): Fixed calls to sgml*Tag.
4929 Simple white space clean.
4931 (simpleDocBookOnePar): Simple white space clean.
4933 * tabular.[Ch] (docBook): Renamed to docbook and got another
4934 argument to related with the pernicious mixed content.
4936 (docbookRow): Fixed calls for docbook inset method.
4938 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4940 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4941 so it's X11 independent.
4945 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4947 2002-06-15 Lyx Development team <lyx@electronia>
4949 * intl.h: Renamed getTrans to getTransManager.
4951 2002-06-14 Angus Leeming <leeming@lyx.org>
4953 * Makefile.am: nuke forgotten stl_string_fwd.h.
4955 2002-06-12 Angus Leeming <leeming@lyx.org>
4957 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4959 2002-06-13 Angus Leeming <leeming@lyx.org>
4962 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4964 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4966 * kbmap.C (getiso): add support for cyrillic and greek
4968 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4972 * BufferView_pimpl.h:
4973 * BufferView_pimpl.C: move bogus scrolling logic
4976 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4979 * BufferView_pimpl.C: view->resize() change
4981 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4983 * BufferView_pimpl.C: topCursorVisible
4986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4990 * lyx_gui.C: move to frontends/
4994 * lyx_main.C: changes from above
4996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5003 * lyx_main.C: minor tidy
5005 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5007 * BufferView_pimpl.h:
5008 * BufferView_pimpl.C:
5010 * BufferView.C: make painter() const,
5013 * BufferView2.C: use screen() accessor
5016 * lyx_main.C: some minor cleanup
5018 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5020 * BufferView_pimpl.h:
5021 * BufferView_pimpl.C: remove enter/leaveView,
5024 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5029 * BufferView_pimpl.h:
5030 * BufferView_pimpl.C: only construct screen once,
5033 * lyxrc.C: remove pointless comment
5035 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5038 * BufferView.C: remove active() and belowMouse()
5040 * BufferView_pimpl.h:
5041 * BufferView_pimpl.C: use workarea() not workarea_,
5042 and make it use a scoped_ptr instead
5044 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5046 * lyx_gui.C: add debug message on BadWindow
5048 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5050 * sp_spell.C: fdopen is not part of the C++ standard.
5052 * paragraph.C (InsetIterator): use >= instead of ==
5054 2002-06-07 Angus Leeming <leeming@lyx.org>
5056 Fixes needed to compile with Compaq cxx 6.5.
5057 * BufferView_pimpl.C:
5064 * lyxtextclasslist.C:
5069 all c-library variables have been moved into namespace std. Wrap
5070 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5075 Add a using std::abs declaration.
5077 * kbmap.h (modifier_pair):
5078 * paragraph.h (InsetTable, InsetList):
5079 * lyxfont.h (FontBits):
5080 type definition made public.
5082 * bufferlist.C (emergencyWriteAll): the compiler complains that
5083 there is more than one possible lyx::class_fun template to choose from.
5084 I re-named the void specialisation as lyx::void_class_fun.
5086 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5088 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5089 the compiler is is unable to find tostr in write_attribute.
5091 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5093 * buffer.C (sgmlError): hide #warning
5095 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5097 * xtl/*: get rid of xtl, which is not in use anyway
5099 * LyXAction.C (init):
5100 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5101 were unimplemented xtl experimentation
5103 2002-06-04 André Pönitz <poenitz@gmx.net>
5105 * lyxfunc.C: disable array operation on simple formulae
5107 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5109 * converter.C: constify a bit
5111 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5113 * lyx_gui.C: check xforms version correctly
5115 2002-04-30 Herbert Voss <voss@lyx.org>
5117 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5120 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5122 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5123 attempt to register it with a VCS)
5125 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5127 * lyx_main.C (init): honor variables LYX_DIR_13x and
5130 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5134 * lyx_main.C: fix a crash on bad command line,
5135 and give a useful exit status on error
5137 * lyxfunc.C (doImport): allow -i lyx to work
5139 2002-03-30 André Pönitz <poenitz@gmx.net>
5141 * lyxfunc.C: mathed font changes
5143 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5158 * trans_mgr.h: srcdocs, and some minor cleanups
5160 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5162 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5163 call getFont all the time)
5165 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5167 * switch from SigC signals to boost::signals
5169 2002-05-29 André Pönitz <poenitz@gmx.net>
5171 * paragraph_pimpl.C (getChar): don't call size() too often...
5173 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5175 * paragraph_pimpl.C (insertChar): do not try to update tables when
5176 appending (pos == size())
5178 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5179 in order to reduce drastically the number of comparisons needed to
5180 parse a large document
5182 2002-05-29 André Pönitz <poenitz@gmx.net>
5188 * textclasslist.[Ch]:
5189 * sp_ispell.h: whitespace change
5191 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5193 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5194 lyxaction directly now.
5196 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5200 * lyxvc.C: remove unused headers
5202 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5209 * undo_funcs.C: some cleanups. Use shared_ptr
5210 and a template for the undo stacks.
5212 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5214 * BufferView_pimpl.h:
5215 * BufferView_pimpl.C:
5222 * text2.C: use key_state/mouse_state
5224 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5226 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5229 * chset.C: change include order
5230 (loadFile): use boost regex and get rid of LRegex and LSubstring
5232 * Makefile.am (BOOST_LIBS): new variable
5235 * LaTeX.C: change include order.
5236 (scanAuxFile): use boost regex and get rid of LRegex and
5240 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5245 * FontInfo.C: moved to frontends/xforms/
5248 * FontLoader.C: moved into frontends for GUIIzation
5253 * lyxfunc.C: changes from above
5255 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5257 * LColor.C: remove spurious X include
5259 * BufferView_pimpl.C:
5264 * text2.C: move font metrics to frontends/
5266 2002-05-24 Juergen Vigna <jug@sad.it>
5268 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5269 setting the undo_cursor.
5271 * ParagraphParameters.h: include local includes first.
5273 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5275 * BufferView_pimpl.C:
5276 * BufferView_pimpl.h:
5280 * screen.C: move WorkArea into frontends/
5286 * BufferView2.C: move LyXScreen into frontends/
5290 * lyx_gui.C: move lyxlookup into frontends/xforms/
5292 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5295 * BufferView_pimpl.C:
5305 * bufferview_funcs.C:
5318 * vc-backend.C: move LyX/XFormsView into frontends/
5320 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5332 * text2.C: move Painter to frontends/
5334 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5336 * buffer.C: comment out some some code that depend upon lyx_format
5339 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5340 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5342 * buffer.h (NO_COMPABILITY): turn off compability
5344 * ColorHandler.C: include scoped_array.hpp
5346 * font.C: Use more specific smart_ptr header.
5349 * ShareContainer.h: ditto
5353 * BufferView_pimpl.h: ditto
5354 * ColorHandler.h: ditto
5356 * kbmap.C (defkey): change call to shared_ptr::reset
5358 2002-05-21 Juergen Vigna <jug@sad.it>
5360 * buffer.C (insertErtContents): fix to insert ert asis if it is
5361 non empty. Skip it completely if it contains only whitespaces.
5363 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5365 * BufferView_pimpl.C:
5366 * BufferView2.C: clear selection on paste (bug 393)
5368 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5370 * DepTable.C: include ctime
5372 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5374 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5376 2002-05-14 Juergen Vigna <jug@sad.it>
5378 * text.C (breakParagraph): fixed function to honor the keepempty
5379 layout in the right maner and also to permit the right breaking
5380 algorithm on empty or non empyt keepempty paragraphs.
5382 * paragraph.C (breakParagraph): we have to check also if the par
5383 is really empty (!size()) for isempty otherwise we do the wrong
5386 2002-05-10 Juergen Vigna <jug@sad.it>
5388 * buffer.[Ch] : The following are only changes to the ert
5389 compatibility read reading old LaTeX layout and font stuff and
5390 convert it to ERTInsets.
5392 * buffer.h: added isErtInset().
5394 * buffer.C (struct ErtComp): add a fromlayout bool to check
5395 if we're inside a LaTeX layout.
5396 (isErtInset): new helper function.
5397 (insertErtContents): look for other ert insets before this one
5398 and insert the contents there, so that we don't have subsequent
5399 ERT insets with nothing between them. This way we create only one
5400 inset with multiple paragraphs. Also check if we don't insert only
5401 spaces ' ' as they are ignored anyway afterwards in the .tex file
5402 so if we have only spaces we will ignore this latex part in the
5404 (parseSingleLyXformat2Token \\layout): better compatibility when
5405 reading layout-latex stuff.
5406 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5408 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5409 stuff after reading the inset only get the information back from
5412 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5414 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5416 * LaTeXFeatures.C (getBabelOptions): New method.
5418 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5420 * BufferView_pimpl.C (Dispatch): work around missing argument for
5423 2002-05-08 Juergen Vigna <jug@sad.it>
5425 * text.C (leftMargin): handle paragraph leftindent.
5427 * paragraph.C (writeFile): write the new \\leftindent tag.
5428 (validate): handle leftindent code.
5429 (TeXEnvironment): handle paragraphleftindent code again.
5431 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5433 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5434 for paragrap_extra indent code and new token \\leftindent.
5435 (latexParagraphs): handle the leftindent as environment.
5437 * ParameterStruct.h: added leftindent support.
5439 * ParagraphParameters.C (leftIndent): added support functions for
5440 the paragraph left indent.
5442 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5445 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5447 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5450 * text.C (computeBidiTables): No bidi in insetERT.
5452 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5455 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5457 * version.C.in: pre 5
5459 2002-05-02 José Matos <jamatos@fep.up.pt>
5460 * buffer.C (makeDocBookFile): white space changes, add newline to
5462 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5464 * tabular.C (docBook): fix typo.
5466 2002-05-03 Juergen Vigna <jug@sad.it>
5468 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5469 change in LyXText as we can not be sure it was not freed.
5470 (drawOneRow): remove unused code.
5472 * text.C (drawInset): redo the calculation of the need_break_row as
5473 it could have a row which was already freed.
5474 (draw): look at the return value of drawInset and return false if
5475 it also returned false.
5476 (paintRowText): look at the return value of draw and return false if
5477 it also returned false.
5479 * lyxtext.h: added bool return type to drawInset() and draw() so that
5480 if we have a change in the row so that the rowbreak has to be redone
5481 we abort drawing as it will be called again.
5483 2002-05-02 Juergen Vigna <jug@sad.it>
5485 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5486 a change in the maintext also if we're inside an inset.
5487 (Dispatch): set the cursor again after a break line and after the
5488 screen has been updated as it could be we're in a different row.
5490 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5491 to set the cursor behind the pargraph with > size().
5492 (setCursor): check also for the same paragraph when checking where
5493 to put the cursor if we have a NFR inset.
5495 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5496 parts of layout read further up as it still was in the wrong
5499 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5501 * screen.C (drawFromTo): change sine fullRebreak always return
5504 * buffer.C (parseSingleLyXformat2Token): reindent some
5506 * BufferView_pimpl.C (update): change since fullRebreak always
5508 (Dispatch): git rid of the last hardcoded "Standard"s.
5510 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5512 * text2.[Ch] (fullRebreak): make it return void now that we always
5515 2002-04-30 Juergen Vigna <jug@sad.it>
5517 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5518 ert compatibility check for "latex" layout.
5520 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5522 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5523 minipages: use col% instead of p%, and also use the current font.
5524 (makeLaTeXFile): Fix use babel condition.
5525 (parseSingleLyXformat2Token): Correct font when reading old floats.
5527 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5529 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5530 inserting list of floats.
5532 2002-04-25 Herbert Voss <voss@lyx.org>
5534 * MenuBackend.C (expand): don't add the graphics extensions to the
5537 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5539 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5540 non-existing layout, do not complain if it was the default layout
5541 of the original class (bug #342)
5543 2002-04-24 Juergen Vigna <jug@sad.it>
5545 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5546 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5548 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5550 * buffer.C (getBibkeyList): If using \bibliography, return the
5551 option field with the reference itself. Enables us to provide natbib
5552 support when using \bibliography.
5554 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5556 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5558 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5559 natbib is provided by the LaTeX class.
5561 2002-04-23 Juergen Vigna <jug@sad.it>
5563 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5566 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5568 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5570 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5572 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5573 ensuremath around textordmasculine, textordfeminine and
5576 2002-04-19 Juergen Vigna <jug@sad.it>
5578 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5579 reinitializing the buffer otherwise row-dimensions may be wrong.
5580 (update): reset also the selection cursors if they do exits otherwise
5581 their x/y positions may be wrong.
5583 * text2.C (cursorDown): don't enter the inset if we came from a row
5584 above and are one row over the inset.
5586 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5587 really leaving an inset.
5589 2002-04-18 Juergen Vigna <jug@sad.it>
5591 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5592 of the selected paragraph does not have the selected layout also if
5595 * text2.C (setLayout): fixed bug which did not change last selected
5598 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5599 changed the read and substituted \\end_float with \\end_inset!
5601 * BufferView_pimpl.C (cursorPrevious):
5602 (cursorNext): fixed to make it work with rows heigher than the work
5603 area without moving the cursor only the draw of the row.
5604 (workAreaMotionNotify): fix jumping over high rows.
5606 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5608 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5611 2002-04-16 Juergen Vigna <jug@sad.it>
5613 * text2.C (setCursor): set also the irow().
5614 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5616 (cursorDown): support for locking an inset if the x_fix value goes
5617 inside it. That way I can transverse insets too with cursor up/down.
5619 * lyxrow.h: added irow helper function same as other (i) functions.
5621 * BufferView_pimpl.C (cursorPrevious):
5622 (cursorNext): fixed for insets!
5624 2002-04-15 Juergen Vigna <jug@sad.it>
5626 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5627 position otherwise it is wrong in some cases.
5629 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5630 inside the inset before the call.
5632 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5634 * buffer.[Ch] (getBibkeyList): make it const.
5636 2002-04-12 Juergen Vigna <jug@sad.it>
5638 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5640 * text2.C (getCursorX): new helper function
5641 (setCursor): compute also ix_
5642 (setCursorFromCoordinates): set also ix.
5644 * lyxcursor.h: added ix_ and helper functions.
5646 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5648 * buffer.C (insertStringAsLines): dont break paragraph if the this
5649 paragraph is inside an inset which does not permit it!
5651 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5652 also with no chars on this paragraph.
5653 (paintRowText): only paint stuff if it's inside the workarea!
5655 * paragraph.C (breakParagraph): honor keepempty flag and break the
5656 paragraph always below not above.
5658 * BufferView2.C (unlockInset): update the paragraph layout on inset
5659 unlock as we changed paragraph in such a case.
5661 * lyxfind.C (LyXFind): clear the former selection if not found!
5663 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5664 again called in insertChar().
5666 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5667 an inset which uses the whole row!
5668 (rightMargin): ditto.
5669 (insertChar): force a rebreak if we inserted an inset!
5671 2002-03-28 Herbert Voss <voss@lyx.org>
5673 * lyxlength.[Ch]: add inBP() to get the right PS-point
5674 units (BigPoint). With inPixels we have rounding errors
5676 2002-04-11 Juergen Vigna <jug@sad.it>
5678 * text2.C (setCursorFromCoordinates): set iy to the right value.
5679 (setCursor): add check if row->previous exists!
5681 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5682 an old float_type as this was the case in the old code!
5684 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5686 * BufferView2.C (showLockedInsetCursor): use iy
5687 (fitLockedInsetCursor): ditto
5689 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5690 locked insets as there we have the right value now.
5692 * lyxcursor.C: added iy_ variable and iy functions to set to the
5693 baseline of cursor-y of the locked inset.
5695 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5696 (setCursor): fixed for insets which need a full row.
5698 * text.C (rowLastPrintable): don't ignore the last space when before
5699 an inset which needs a full row.
5700 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5701 as last character of a row when before a inset which needs a full row.
5703 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5705 * version.C.in: update date
5707 * text2.C (fullRebreak): try to always return true and see what
5710 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5712 * MenuBackend.C (expand): use Floating::listName
5714 * FloatList.C (FloatList): add listName argument to the built-in
5717 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5718 text associated with the float.
5720 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5722 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5724 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5726 * ShareContainer.h: add a couple of missing typenames.
5728 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5730 * lyxrc.C (getDescription): use _() correctly rather than N_().
5732 2002-03-28 Herbert Voss <voss@lyx.org>
5734 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5735 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5737 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5739 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5740 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5742 2002-03-29 Juergen Vigna <jug@sad.it>
5744 * lyxfunc.C (dispatch): add a missing fitCursor call.
5746 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5747 it was scrolled by a cursor move, so return the bool status.
5749 * BufferView.C (fitCursor): return the bool flag also to the outside
5750 world as this is needed.
5752 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5754 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5755 call the edit() as it is not needed (and wrong) IMO.
5756 (workAreaButtonPress): set the screen_first variable before evt.
5757 unlock the inset as this may change screen_first and then we have
5758 a wrong y position for the click!
5760 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5762 * MenuBackend.C (expand): another translation that I missed
5764 2002-03-28 Juergen Vigna <jug@sad.it>
5766 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5768 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5770 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5772 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5774 * MenuBackend.C (expand): fix export/view/update when there is no
5777 2002-03-27 Herbert Voss <voss@lyx.org>
5779 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5782 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5784 * bufferview_funcs.C (currentState): only show paragraph number
5785 for is DEVEL_VERSION is set.
5787 * lyxfunc.C (dispatch): put warning in INFO channel
5789 * MenuBackend.C (expand): translate the name of floats
5791 * FloatList.C (FloatList): mark the float names for translation
5793 * converter.C (convert): use LibScriptSearch
5795 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5797 * MenuBackend.C (defaults): fix default menu (we might as well get
5800 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5802 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5805 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5807 * lyxvc.C: reorder includes.
5809 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5811 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5814 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5816 * CutAndPaste.C: change layouts earlier on paste
5817 to avoid crashing when calling getFont()
5819 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5821 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5824 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5826 * WorkArea.C: remove 'Pending' debug message.
5828 * most files: ws cleanup
5830 * buffer.[Ch]: ws changes
5832 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5834 2002-03-21 Juergen Vigna <jug@sad.it>
5836 * tabular.C (SetMultiColumn): collapse also the contents of the
5837 cells and set the last border right. Added a Buffer const * param.
5839 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5841 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5844 2002-03-19 Juergen Vigna <jug@sad.it>
5846 * text2.C (clearSelection): reset also xsel_cache.
5848 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5849 where it needs to be called (John tells us to do so too :)
5850 (selectionLost): reset sel_cache.
5852 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5854 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5856 * text2.C (setCursorIntern): put debuging code in INSETS channel
5858 2002-03-19 André Pönitz <poenitz@gmx.net>
5860 * lyxfunc.C: tiny whitespace change
5862 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5864 * ToolbarDefaults.C (init):
5865 * LyXAction.C (init):
5867 * BufferView_pimpl.C (Dispatch):
5868 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5870 2002-03-19 Allan Rae <rae@lyx.org>
5872 * exporter.C (Export): removeAutoInsets before doing anything else.
5873 While I've just introduced a dependency on BufferView this really is
5874 the best place to clean the buffer otherwise you need to cleanup in
5875 a dozen places before calling export or cleanup in a dozen functions
5878 * converter.C (runLaTeX):
5879 (scanLog): Better handling of removeAutoInsets and screen updates.
5881 * lyxfunc.C (dispatch): small whitespace changes
5883 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5885 * WorkArea.C (C_WorkAreaEvent): return a value.
5886 (event_cb): return 1 if we handled the event, 0 otherwise.
5888 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5890 2002-03-18 Juergen Vigna <jug@sad.it>
5892 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5893 (GetAdditionalWidth): ditto.
5897 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5898 inset if we're there actually (probably not used right now but this
5899 is the direction to go for unifying code).
5900 (paste): disable code to clear the selection.
5902 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5903 inside an InsetText and move the check further up as it is in the
5906 * text2.C (pasteSelection): set a selection over the pasted text.
5908 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5910 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5911 and libgraphics to build on Cygwin.
5913 2002-03-15 Juergen Vigna <jug@sad.it>
5915 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5916 inserting an Inset into the paragraph. I know this is not the best
5917 fix but we already use current_view in CutAndPaste so we will remove
5918 all of it's using at the same time.
5920 * buffer.C (sgmlError): deactivated function till it is rewritten in
5921 the right mode, now it can create problems.
5923 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5924 before accessing it.
5926 2002-03-14 Juergen Vigna <jug@sad.it>
5928 * undo_funcs.C (textHandleUndo): do the right thing when updating
5929 the inset after the undo/redo.
5931 * text2.C (setCursor): just some testcode for #44 not ready yet.
5933 * undo_funcs.C (textHandleUndo): set the next() and previous()
5934 pointers of the paragraph to 0 before deleting otherwise we have
5935 problems with the Paragraph::[destructor].
5937 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5938 on a paragraph insertion.
5940 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5942 * buffer.C (asciiParagraph): use += operator for char append to
5945 * paragraph.C (getFontSettings): compare >= not just >
5946 (highestFontInRange): ditto
5949 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5951 * paragraph.C: change several algorithm to be more appripriate for
5952 the problem domain. This is lookip in FontList and in the InsetList.
5954 2002-03-13 André Pönitz <poenitz@gmx.net>
5957 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5959 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5964 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5966 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5968 * Painter.C (display): anon helper function, adjust code for this
5970 (pixmap): remove function.
5972 * Painter.h: remove private display variable.
5974 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5976 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5978 * WorkArea.[Ch]: remove figinset_canvas cruft.
5980 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5982 * lyxtextclass.C (operator): add one item cache optimization.
5984 * bufferlist.h: doxy changes
5986 * bufferlist.C: ws changes
5988 * DepTable.[Ch] (ext_exist): place const in the right spot.
5990 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5992 (workAreaExpose): call resizeInsets when the with BufferView changes.
5993 (Dispatch): adjust for protectedBlank removal
5994 (specialChar): call updateInset if the insert went ok.
5996 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5997 specialChar instead.
5999 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6001 * BufferView.h: doxy change
6003 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6005 * lyxtextclass.C (operator[]): remove non-const version
6006 (defaultLayout): remove non-const version
6008 2002-03-12 Juergen Vigna <jug@sad.it>
6010 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6011 did resize the LyXText too.
6013 * buffer.C (readLyXformat2): set layout information on newly allocated
6016 * tabular.C (OldFormatRead): set layout information on the paragraph.
6018 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6020 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6022 2002-03-11 Juergen Vigna <jug@sad.it>
6024 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6026 (resizeCurrentBuffer): force also the insets to resize themselfes.
6027 (moveCursorUpdate): fixed up for InsetText.
6029 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6032 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6033 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6034 value of Dialogs::tooltipsEnabled().
6035 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6037 2002-03-08 Juergen Vigna <jug@sad.it>
6039 * BufferView_pimpl.C (updateInset): update inset inside inset also
6040 if it isn't inside theLockingInset().
6042 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6044 * buffer.C (asciiParagraph): redo some of the word and line length
6046 (getLists): look for Caption instead of caption.
6048 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6050 * buffer.C (Buffer): initialize niceFile to true
6053 (makeDocBookFile): make sure niceFile is true on exit
6055 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6057 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6059 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6061 * LyXSendto.C: remove.
6062 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6063 * lyx_gui.C: remove now-redundant comment.
6064 * ColorHandler.h: remove forward declaration of class WorkArea.
6065 * lyxfunc.C: remove #include "WorkArea.h".
6067 2002-03-07 Juergen Vigna <jug@sad.it>
6069 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6070 got moved away with the DEPM and also set the inset_owner always
6071 right which before could have been omitted.
6073 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6075 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6076 wanted layout is not found.
6078 2002-03-07 Juergen Vigna <jug@sad.it>
6080 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6082 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6084 * paragraph.C (breakParagraph): use default layout not layout of
6086 (Paragraph): clear ParagraphParameters.
6088 2002-03-06 Juergen Vigna <jug@sad.it>
6090 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6091 otherwise it would not be a valid lenght. Fixed a special case in
6092 the minipage compatibility read where we end the document with a
6095 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6096 was set as it could be 0 for InsetTexts first entry.
6098 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6100 * paragraph.C (writeFile): if layout is empty write out
6101 defaultLayoutName().
6103 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6104 file without named layout we set layout to defaultLayoutName().
6106 2002-03-06 Juergen Vigna <jug@sad.it>
6108 * CutAndPaste.C (copySelection): set layout for new paragraph.
6110 * text.C (prepareToPrint): leave ERT inset left aligned
6111 (leftMargin): don't indent paragraphs inside ERT insets
6113 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6115 * paragraph.C (breakParagraph): dont call clear do the work manually
6117 * paragraph.[Ch] (clear): remove function
6119 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6121 * paragraph.C (Paragraph): dont call clear, the work has already
6124 * lyxtextclass.C (operator): assert if n is empty
6126 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6127 work manually instead.
6129 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6131 * BufferView_pimpl.C: protect selectionLost against text == 0
6133 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6135 * text.C (breakParagraph): fix a setting layout to '0' problem.
6137 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6139 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6140 final location of file, for the included files, and graphics.
6142 2002-03-05 Juergen Vigna <jug@sad.it>
6144 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6146 2002-03-04 Juergen Vigna <jug@sad.it>
6148 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6150 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6151 last column of multicolumn cells.
6152 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6154 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6156 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6157 file if it doesn't go to a temporary file.
6159 * buffer.C (sgmlOpenTag):
6160 (sgmlCloseTag): remove extra newline insertion.
6162 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6164 * text.C (getRowNearY): comment out debug msg
6166 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6168 * text2.C: first -> first_y
6170 * text.C (getRowNearY): add some attemts at a possible
6171 optimization, not working.
6173 * tabular.[Ch]: add BufferParams to several function so that newly
6174 created paragraph can be initialized to he default layotu for the
6177 * tabular-old.C (ReadOld): add buf->params to call of Init
6179 * screen.C: rename text->first to text->first_y
6181 * paragraph.C (breakParagraph): always set layout in the broken
6184 * lyxtextclass.C (Read): remove lowercase
6187 (delete_layout): ditto
6189 * lyxtext.h: rename first -> first_y
6191 * lyxlayout.C (Read): remove lowercase
6194 (obsoleted_by): ditto
6196 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6198 * buffer.C (insertErtContents): add params are to InsetERT
6199 (parseSingleLyXformat2Token): add code to check if a paragraphs
6200 layout really exist.
6201 (parseSingleLyXformat2Token): add params to several inset
6203 (asciiParagraph): remove lowercase, do the layout comparisons with
6206 * BufferView_pimpl.C (cursorNext): first -> first_y
6207 (resizeCurrentBuffer): first -> first_y
6208 (updateScrollbar): first -> first_y
6209 (scrollCB): first -> first_y
6210 (workAreaMotionNotify): first -> first_y
6211 (workAreaButtonPress): first -> first_y
6212 (checkInsetHit): first -> first_y
6213 (cursorPrevious): first -> first_y
6214 (cursorNext): first -> first_y
6215 (Dispatch): add buffer_->params to severl inset contructors
6217 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6219 * lyxlayout.C (Read): remove some debug info that I forgot.
6221 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6222 clean up the code slightly.
6223 (makeLinuxDocFile): ditto
6224 (makeDocBookFile): ditto
6226 * text2.C: layout as string
6228 * text.C: layout as string
6230 * paragraph_pimpl.C: layout as string
6232 * paragraph.[Ch]: layout as string
6234 * lyxtextclasslist.[Ch]: layout as string
6236 * lyxtextclass.[Ch]: layout as string
6238 * lyxtext.h: layout as string
6240 * lyxlayout.[Ch]: layout as string
6242 * lyx_cb.C: layout as string
6244 * bufferview_funcs.C: layout as string
6246 * bufferparams.C: layout as string
6248 * buffer.C: layout as string
6250 * LyXView.[Ch]: layout as string
6252 * LaTeXFeatures.[Ch]: layout as string
6254 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6256 * BufferView_pimpl.C: change current_layout to string, remove
6261 (workAreaButtonRelease): layout as string
6263 * BufferView2.C (unlockInset): adjust
6265 * vspace.C (asLatexCommand): use an explict temp variable.
6267 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6269 * Makefile.am: use FRONTEND_*
6271 2002-03-01 Juergen Vigna <jug@sad.it>
6273 * tabular.C (SetWidthOfMulticolCell): changed to something better
6274 I hope but still work in progress.
6275 (recalculateMulticolumnsOfColumn): renamed function from
6276 recalculateMulticolCells as it is more appropriate now.
6277 (SetWidthOfCell): calculate multicols better.
6279 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6281 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6283 * lyxfunc.C (processKeySym): print sequence also if it is
6284 `deleted' (complete)
6286 * kbsequence.C (print): print sequence even if it is deleted
6287 (complete would be a better word, actually).
6289 * lyxfunc.C (dispatch): print complete options after a prefix key
6291 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6293 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6295 * text2.C (setCharFont): eliminate setCharFont code duplication.
6297 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6299 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6300 LFUN_TABULAR_FEATURE (bug #177)
6302 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6304 * Makefile.am: remove figure.h
6306 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6308 * Bufferview_pimpl.C:
6320 * text2.C: remove #include "lyx_gui_misc.h".
6322 * LaTeX.C: added #include <cstdio>
6324 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6326 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6327 that the paragraph following this one can have.
6329 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6331 * vspace.C (asLatexCommand): fix bogus gcc warning
6333 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6335 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6337 * text2.C (setLayout): get rid of redundant code
6339 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6341 * text2.C (incDepth): make sure depth cannot be increased beyond
6344 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6346 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6347 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6349 * PainterBase.h (image):
6350 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6353 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6357 * BufferView_pimpl.C:
6358 * BufferView_pimpl.h:
6378 * sp_spell.C: remove fig inset, and the crap house of
6379 cards that follows it
6381 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6387 * nt_defines.h: move .h into support/
6389 * vms_defines.h: remove
6391 * WorkArea.C: add space in debug output
6395 * buffer.C: add WITH_WARNINGS
6399 * bufferlist.C: s/retrive/retrieve/, add docs
6410 * lyxgui.C: add ID to X error handler
6412 * lyxtestclass.c: fix typo
6414 2002-02-26 Juergen Vigna <jug@sad.it>
6416 * tabular_funcs.C (write_attribute): changed so that some default
6417 attributes are not written at all.
6418 (getTokenValue): set default values before trying to read the
6419 value so we have the return value always set as default if we don't
6420 find the token we search for.
6422 * tabular.C (Write): write bools as bools not as strings!
6424 2002-02-22 Juergen Vigna <jug@sad.it>
6426 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6427 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6429 * text.C (leftMargin): don't add an indent for paragraphs inside
6430 tabular cells (fix #208).
6432 2002-02-21 José Matos <jamatos@fep.up.pt>
6434 * tabular.C (docBook): fixed support for long tables.
6436 2002-02-20 Juergen Vigna <jug@sad.it>
6438 * text2.C (getFont): get the drawing font of the Inset if this
6439 paragraph is inside an inset (only important for InsetERT for now).
6441 * buffer.C (insertErtContents): use new lanugage params in ERT
6444 * CutAndPaste.C: commenting out seemingly uneeded code.
6446 2002-02-19 Allan Rae <rae@lyx.org>
6448 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6449 Iterators might be simple to use but they also get invalidated.
6450 (removeAutoInsets): renamed saved cursor tracking variables and added
6451 some comments to clarify what everything does.
6453 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6460 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6461 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6464 * vc-backend.h: remove #include "support/syscall.h"
6468 * converter.C: rearrange #includes in Lars' approved fashion.
6470 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6471 forward declare class Timeout in the header file.
6473 * XFormsView.C: changes due to the above.
6475 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6478 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6479 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6481 2002-02-18 José Matos <jamatos@fep.up.pt>
6483 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6486 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6488 * a lot of small ws changes
6489 * add a lot of using std::XXX
6490 * use std construcs some places where approp.
6491 * use some exisint stuff from lyxfunctional where approp.
6492 * Make file changes to use partial linking (lets test this now...)
6494 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6498 remove #include "support/syscontr.h" as it's redundant. Always has been.
6506 change Systemcalls::System to Systemcalls::Wait and
6507 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6508 No change of functionality, just reflects the stripped down Systemcalls
6511 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6513 * debug.[Ch]: add a GRAPHICS type to the enum.
6515 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6517 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6519 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6522 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6524 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6525 match the changes below.
6527 * text2.C (toggleInset): if there is not editable inset at cursor
6528 position, try to see if cursor is _inside_ a collapsable inset
6531 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6533 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6534 document menu has a nice checkbox
6536 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6538 * lyxlength.C (asLatexString): change PW to output as percent of
6541 * lengthcommon.C: change '%' to 't%'
6543 * lyxfunc.C (dispatch): a few comments from Martin
6545 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6549 * BufferView_pimpl.h:
6550 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6553 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6555 * vspace.C (inPixels): fix compiler warning
6557 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6559 * lyxfunc.C (getStatus): fix status message for disabled commands.
6561 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6563 * BufferView_pimpl.C: fix crash on close buffer
6564 during selection (#227)
6566 2002-01-27 Herbert Voss <voss@lyx.org>
6568 * buffer.C: link old Figure to new graphic inset
6570 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6572 * FontLoader.C (getFontinfo): Change the latex font names in order
6573 to match the names of type1inst.
6575 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6577 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6579 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6582 (remove_files_with_extension): ditto
6583 (remove_file): ditto
6586 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6587 document is smaller than the work area height. Do not initialize
6588 static variables to 0.
6590 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6592 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6594 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6595 LFUN_LAYOUT_PARAGRAPHS.
6597 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6598 tabular. It is possible to provide a possible cell, which will
6599 typically be the actcell from the corresponding insettabular
6601 * lyxfunc.C (getStatus): small cleanup; disable
6602 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6605 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6607 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6609 * paragraph.C (startTeXParParams):
6610 (endTeXParParams): new methods. The LaTeX code to
6611 start/end paragraph formatting
6612 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6613 empty (fixes bug #200)
6615 * vspace.C (inPixels): adapt to the change below
6616 (inPixels): [later] more cleanups (remove unused variables)
6618 * lyxlength.C (inPixels): change to use a width and a height as
6621 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6623 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6624 Replaced with \paperwidth
6626 * DepTable.C (insert): add std:: qualifier
6628 2002-01-18 Allan Rae <rae@lyx.org>
6630 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6633 * text.C (drawInset): Turned out I didn't know enough about how
6634 rebreaking worked. This fixes most of the redraw problems. I see
6635 an occasional cursor trail when a line is broken now and the cursor
6636 placement can seem out by a few pixels also after a rebreak.
6638 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6640 * buffer.C (parseSingleLyXformat2Token): update because minipage
6641 width is now a LyXLength
6643 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6645 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6648 2002-01-17 Juergen Vigna <jug@sad.it>
6650 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6652 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6653 is set correctly and the inset is updated correctly.
6655 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6657 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6658 the beginning of the loop.
6660 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6662 * lyxrc.C: improve help for use_scalable_fonts
6664 2002-01-17 Allan Rae <rae@lyx.org>
6666 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6668 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6670 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6671 make sure to set their inset_owner to the right value (bug #171)
6673 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6676 * DepTable.C: Implement mtime checking to reduce time spent doing
6679 2002-01-16 Juergen Vigna <jug@sad.it>
6681 * tabular.C (GetAdditionalHeight): one of error fixed.
6683 * lyxrc.C (output): small fix in writing use_pspell.
6685 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6687 * sp_base.h: #include LString.h
6689 2002-01-16 Allan Rae <rae@lyx.org>
6691 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6692 Can someone check this please?
6694 * text.C (drawInset): It was possible that p.row would be removed by
6695 breakAgainOneRow upsetting a few other settings. There may be another
6696 small tweak possible by setting need_break_row = 0 when p.row has been
6697 removed but I don't know enough about the logic here.
6699 2002-01-15 Allan Rae <rae@lyx.org>
6701 * text.C (insertChar): removed conditional truism.
6703 * BufferView2.C (removeAutoInsets): More tweaks.
6704 cur_par_prev could be a stray pointer. Check for trailing empty line
6705 in case last line was cur_par and only had an error inset on it.
6707 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6709 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6712 * vc-backend.C (most methods):
6713 * exporter.C (Export):
6714 * converter.C (convert):
6716 * LyXSendto.C (SendtoApplyCB):
6717 * lyxfunc.C (dispatch):
6721 * lyx_cb.C (AutoSave):
6723 * BufferView_pimpl.C (MenuInsertLyXFile):
6724 * buffer.C (runChktex): use Buffer::filePath().
6726 * buffer.h: rename filename to filename_; rename filepath to
6727 filepath_ and make it private
6728 (filePath): new method
6730 * buffer.C (writeFile): use fileName()
6733 * lyx_main.C (init): fix starting of LyX when the binary is a
6734 link from so,ewhere else.
6736 * minibuffer.C: include <cctype> for isprint
6738 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6740 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6741 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6742 name clash with InsetCollapsable's width function.
6744 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6746 * lastfiles.C: include <iterator>
6748 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6750 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6753 * buffer.C (makeLaTeXFile): ditto.
6754 Also make loop operation more transparent.
6756 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6758 * ToolbarDefaults.C: remove trailing comma closing namespace.
6760 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6762 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6765 * trans.C (Load): comment out unused variable, allowed.
6767 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6769 * minibuffer.[Ch] (append_char): new method to recieve input from the
6770 drop-down completion browser. If a key was pressed, then recieve this
6771 char and append it to the existing string.
6772 (peek_event): modify the positioning data passed to the completion
6773 browser so that it can be placed above the minibuffer rather than below.
6774 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6776 * LyXAction.C (init): alloe error-next for readonly documents.
6778 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6781 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6783 * bufferlist.C (readFile): create the buffer _after_ checking that
6786 * lyxfunc.C (verboseDispatch): fix handling of arguments
6788 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6790 * lyxrc.C: use string::erase() instead of initializing to "".
6793 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6795 * BufferView_pimpl.h:
6796 * BufferView_pimpl.C:
6799 * text2.C: tell X when we have made a selection for copying
6801 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * BufferView_pimpl.C (MenuInsertLyXFile):
6804 * lyxfunc.C (menuNew):
6806 (doImport): add shortcuts to directory buttons
6808 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6811 * lyxfunc.C (setStatusMessage):
6812 (getStatusMessage): new methods
6813 (getStatus):use setStatusMessage instead of setErrorMessage
6814 (dispatch): when function is disabled, set error message here
6815 [instead of in getStatus previously]
6817 * BufferView_pimpl.C (workAreaButtonRelease): update
6818 toolbar/menubar here too.
6820 2002-01-13 Allan Rae <rae@lyx.org>
6822 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6823 Now seems indestructible. Remaining task is to audit all other
6824 code affected by deleteEmptyParagraphMechanism. One small quirk
6825 left is that an empty document with an error in the preamble can
6826 be made to report an error but no error box appears. I don't know
6828 (removeAutoInsets): Improved comments.
6830 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6833 * Thesaurus.C: update for Aiksaurus 0.14
6835 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6837 * text2.C (firstParagraph): removed member function, all uses
6838 replaces with ownerParagraph
6839 (redoParagraphs): here
6841 (toggleAppendix): here
6842 * BufferView2.C (insertErrors): here
6843 (setCursorFromRow): here
6845 2002-01-13 Allan Rae <rae@lyx.org>
6847 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6848 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6849 There is still a way to segfault this although you may have to do this
6850 multiple times: Have an InsetERT with an unknown command in it.
6851 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6852 <down-arrow>, <Enter> again, View->DVI, BANG!
6854 * text2.C (setCursor):
6855 (deleteEmptyParagraphMechanism):
6856 * lyxtext.h (setCursor):
6857 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6858 Making use of the return value may help fix other bugs.
6860 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6862 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6864 * LyXView.C (updateMenubar): call MenuBar::update here
6865 (updateToolbar): but not here
6866 (showState): do not update toolbar/menubar
6868 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6869 should need to care about that.
6871 * lyxfunc.C (verboseDispatch): simplify a bit
6872 (getStatus): have a version which takes a pseudoaction, and
6873 another which requires a (kb_action,string).
6875 * LyXAction.C (retrieveActionArg): make it work also when action
6876 is not a pseudo-action.
6877 (getActionName): simplify a bit
6880 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6882 * lyxfunc.C (verboseDispatch): new families of methods with
6883 several ways to specify a command and a bool to indicate whether
6884 the command name and shortcut should be displayed in minibuffer
6885 (eventually, we could extend that to a finer bitmask like
6886 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6887 (dispatch): the pristine dispatch command which just, well,
6888 dispatchs! Note it still sets its result to minibuffer; I'm not
6891 * lyxfunc.h: remove setHintMessage
6893 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6895 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6897 * BufferView_pimpl.C (specialChar): delete new inset if we have
6898 not been able to insert it.
6900 * kbmap.C: revert to using int instead of kb_action, since all we
6901 are dealing with is pseudo-actions.
6903 * LyXAction.C (searchActionArg): change to return int instead of
6904 kb_action, since the result is a pseudoaction.
6906 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6908 * buffer.C (insertErtContents): Fix (partially) the font bug.
6910 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6912 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6913 as the other one is broken on my machine!
6915 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6918 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6920 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6922 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6923 reflect their actual use. Provide compatibility code for older lyxrc
6926 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6928 change names of popup font variables in line with the changes to lyxrc.C
6930 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6932 * buffer.C (asciiParagraph): avoid outputing a word twice after
6935 * lyxrc.C (getDescription): document that document_path and
6936 template_path can be empty.
6938 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6940 * LaTeXFeatures.C (getMacros):
6941 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6943 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6945 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6947 (getPackages): rename feature "floats" to "float". Use an array to
6948 iterate over 'simple' features (i.e. just a \usepackage). Add
6949 handling of "amsmath" (renamed from "amsstyle").
6951 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6953 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6956 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6958 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6959 FuncStaus::FuncStatus & FuncStaus::some_method().
6961 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6963 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6964 of the func_satus stuff. Edited and massaged in various ways by
6967 * lyxfunc.C (getStatus): use FuncStatus
6969 2002-01-08 Juergen Vigna <jug@sad.it>
6971 * text.C (nextBreakPoint): use function Inset::isChar().
6973 * paragraph.C (TeXOnePar): use function
6974 Inset::forceDefaultParagraphs.
6976 * buffer.C (latexParagraphs): use function
6977 Inset::forceDefaultParagraphs.
6979 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6981 * lyx_gui.C (init): set the style of the menu popups to
6982 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6984 2002-01-07 Juergen Vigna <jug@sad.it>
6986 * text.C (setHeightOfRow): small fix
6987 (prepareToPrint): don't look at alignment if we don't have the place
6990 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6992 * box.C: New file. Move the Box methods and functions out of box.h,
6993 following Lars' suggestion.
6995 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6997 * box.h: #include "support/LOstream.h", needed for inlined function.
7000 * lyxtextclasslist.C: added some using std declarations.
7002 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7004 * box.h: make signed dimensions to allow insets wider than
7005 the screen (bug #162)
7007 * BufferView_pimpl.C: add some insetHit debug
7009 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7011 * vc-backend.C: add FIXME
7013 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7015 * lyxfunc.C (getStatus): enable code for showing math font status
7018 2002-01-07 Juergen Vigna <jug@sad.it>
7020 * text.C (nextBreakPoint): removed debug output not needed anymore.
7022 2002-01-06 Juergen Vigna <jug@sad.it>
7024 * text.C (nextBreakPoint): fixed up this function we had this bug
7025 since ever but now hopefully we break row better.
7026 (insertChar): we have to check if an inset is the next char as it
7027 could now happen that a large inset is causing a break.
7029 2002-01-05 Juergen Vigna <jug@sad.it>
7031 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7032 if it doesn't like to be drawed.
7034 2002-01-04 Juergen Vigna <jug@sad.it>
7036 * BufferView2.C (lockInset): forgot to set a cursor.
7038 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7040 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7045 * form_maths_panel.C:
7046 * form_maths_panel.h:
7047 * form_maths_panel.fd: implemented sub- and super- buttons in math
7050 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7051 (or ^ space) to be used as in TeX (req'd by André).
7053 * lyxfunc.C: Allow ^ and _ again to be used both as
7054 super/subscript (mathed) and as themselves (in text).
7056 2002-01-03 Allan Rae <rae@lyx.org>
7058 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7059 "LyX" or the filename of the current buffer if it has one. This is a
7060 modified form of John Levon's patch.
7062 * XFormsView.C (setWindowTitle): also set icon title.
7064 * LyXView.h (setWindowTitle): signature changed.
7065 * XFormsView.h (setWindowTitle): ditto.
7067 2002-01-02 Juergen Vigna <jug@sad.it>
7069 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7071 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7073 * screen.C (topCursorVisible): introduce a temp var for
7074 text->cursor.row(), handle the case where this row is null. (kindo
7077 * text2.C (setCursor): add a couple of asserts.
7079 * paragraph.h (inset_iterator): add -> operator
7081 * paragraph.[Ch] (autoDeleteInsets): remove member function
7083 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7084 cursor pos correctly and handle inset deletion by itself.
7085 (insertErrors): move iterator declaration out of for expression
7087 * lyxtextclass.C: add <algorithm>
7089 * Makefile.am: added the new files to sources, removed layout.C
7091 * layout.C: removed file
7093 * layout.h: remove LYX_DUMMY_LAYOUT
7095 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7099 * lyxtextclass.[Ch]:
7100 * lyxtextclasslist.[Ch]: new files
7102 * include order changes to a lot of files, also changes because of
7105 2001-12-27 Juergen Vigna <jug@sad.it>
7107 * buffer.C (asciiParagraph): more fixes.
7109 * tabular.C (ascii): make ascii export support export of only the
7110 data separated by a column-delimiter.
7111 (ascii): better support for ascii export.
7113 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7115 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7117 * tabular_funcs.C: use a "using std::getline" instead of the
7118 previous fix from Angus (necessary for cxx + lyxstring)
7120 2001-12-24 Juergen Vigna <jug@sad.it>
7122 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7124 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7125 problems. First check a minipage also if we have some ert-contents
7126 (not only on par->size(), second set the right depth of the paragraph
7127 on the relink to the root-paragraph-list!
7129 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7130 which then did not anymore update the main paragraphs on undo/redo!
7132 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7134 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7135 code. Support all font-changing funcs (even those which are not in
7136 menu currently). Support for reporting font settings in
7137 mathed (disabled until Andre provides a function on mathed's side).
7139 * func_status.h (toggle): small helper function to set toggle
7142 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7144 * tabular_funcs.C: getline -> std::getline
7146 2001-12-21 Juergen Vigna <jug@sad.it>
7148 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7149 accessed and could be 0 (I couldn't generate this but it seems
7152 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7154 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7155 * tabular_funcs.h: here and include iosfwd
7157 2001-12-20 Juergen Vigna <jug@sad.it>
7159 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7160 inside inset but undo_par was.
7162 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7164 * Thesaurus.C: always include <config.h> in sources.
7168 * box.h: do not include <config.h> in header files
7170 * text.C (paintLastRow): remove unused variable
7172 * text.C (transformChar):
7174 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7177 * font.C (width): rewrite to use uppercase() instead of
7180 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7182 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7184 * lyxfind.C: clean up of find failure position change
7186 2001-12-20 Juergen Vigna <jug@sad.it>
7188 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7190 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7191 (TeXRow): added to LaTeX a single tabular row.
7192 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7193 (Latex): simplified and finally good LT-h/f support.
7194 (various_functions): just small adaptions for LT-h/f support.
7196 * tabular_funcs.[hC]: added and moved here all not classfunctions
7199 2001-12-19 Juergen Vigna <jug@sad.it>
7201 * tabular.[Ch]: better support for longtabular options (not finished
7204 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7206 * text.C (paintLastRow): use the label font instead of the font of
7207 the last character to compute the size of *_BOX. This makes more
7208 sense and avoids a crash with empty paragraphs.
7209 Use Painter::rectangle to draw EMPTY_BOX.
7211 2001-12-19 Juergen Vigna <jug@sad.it>
7213 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7214 the paragraphs if the replaced paragraph is not the first one!
7215 Tried to delete not used paragraphs but does not work yet so for
7216 now it's inside #ifdef's and by default off!
7218 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7220 * MenuBackend.C: include "lyx_main.h" instead of declaring
7221 lastfiles (actually was declared as LastFiles* instead of a
7224 2001-12-17 Juergen Vigna <jug@sad.it>
7226 * tabular.C (AppendColumn): applied John's fix
7228 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7232 * BufferView_pimpl.h:
7233 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7236 * box.h: new start of class for above
7238 * lyxfunc.C: ignore space-only minibuffer dispatches.
7239 Show the command name when it doesn't exist
7241 * minibuffer.C: don't add empty lines to the history
7243 * minibuffer.C: add a space on dropdown completion
7245 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7247 * text.C: fix line above/below drawing in insets
7249 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7251 * lyxlength.C (LyXLength): Initialize private variables.
7253 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7255 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7256 when inserting error insets.
7258 2001-12-13 Juergen Vigna <jug@sad.it>
7260 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7261 actually sometimes the before-paragraph.
7262 (setUndo): don't clear the redostack if we're not actually undoing!
7264 2001-12-06 Juergen Vigna <jug@sad.it>
7266 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7267 and fixed redoing of main paragraph, so we can use it now ;)
7269 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7271 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7273 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7276 2001-12-13 André Pönitz <poenitz@gmx.net>
7279 * undo_func.C: minor cleanup
7281 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7283 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7284 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7285 font in urw-fonts package which is marked as -urw-fontspecific and
7286 does not work (incidentally, changing the encoding in the
7287 fonts.dir of this package to -adobe-fontspecific fixes the
7290 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7291 is a crash when undoing first paragraph (Juergen, please take a
7292 look). THis does not mean the undo fix is wrong, just that it
7295 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7296 the (Paragraph*) version when needed instead of duplicating the
7299 * text.C (workWidth): use Inset::parOwner to find out where the
7300 inset has been inserted. This is a huge performance gain for large
7301 documents with lots of insets. If Inset::parOwner is not set, fall
7302 back on the brute force method
7304 * paragraph_pimpl.C (insertInset):
7305 * paragraph.C (Paragraph):
7306 (cutIntoMinibuffer): set parOwner of insets when
7307 inserting/removing them
7309 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7311 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7317 * mathed/formulabase.C:
7318 * mathed/math_cursor.[Ch]:
7319 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7322 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7324 * lyxlength.[Ch] (operator!=): new function
7326 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7328 * text.C (workWidth): use Inset::parOwner to find out where the
7329 inset has been inserted. This is a huge performance gain for large
7330 documents with lots of insets. If Inset::parOwner is not set, fall
7331 back on the brute force method
7333 * paragraph_pimpl.C (insertInset):
7334 * paragraph.C (Paragraph):
7335 (cutIntoMinibuffer): set parOwner of insets when
7336 inserting/removing them
7338 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7340 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7342 * tabular-old.C (getTokenValue):
7343 * tabular.C (getTokenValue):
7344 (write_attribute): new versions for LyXLength
7345 (everywhere): adjust the use of widths
7347 * tabular.h: change the type of widths from string to LyXLength
7349 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7351 * paragraph.C: fixed missing line number count when exporting
7352 Environments to LaTeX file
7354 * buffer.C: added informational message for checking line numbers.
7356 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7358 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7359 paragraph, do the 'double space' part, but not the 'empty
7362 * text.C (workWidth): small optimization
7363 (getLengthMarkerHeight): use minimal size for negative lengths.
7365 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7367 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7369 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7371 2001-12-11 André Pönitz <poenitz@gmx.net>
7374 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7376 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7378 * text2.C: keep selection on a setFont()
7380 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7382 * lyx_cb.C: another bv->text misuse, from insert label
7384 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7387 * kbsequence.C: re-instate nmodifier mask
7389 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7391 * lyx_main.h: make lyxGUI private.
7393 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7395 * lyxfind.C: place the cursor correctly on failed search
7397 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7399 * text.C (getLengthMarkerHeight): for small heights, the arrows
7400 are not always on top/bottom of the text
7401 (drawLengthMarker): smaller arrows; take the left margin in
7402 account; draw also vfills.
7404 (paintLastRow): remove special code for vfill and standard spaces,
7405 since everything is handled in drawLengthMarker now.
7407 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7409 * buffer.C (insertErtContents): try to handle font and language
7410 interaction a bit better.g
7412 * ColorHandler.C (updateColor): change the hash to cover the whole
7413 LColor enum, ws cleanup
7414 (getGCLinepars): ditto
7415 (getGCLinepars): only lookup in the linecache once.
7417 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7419 * iterators.C (operator++): Make the iterator more robust
7421 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7423 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7425 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7428 * text.C: better added space drawing
7430 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7433 * BufferView2.C: fix layout combo update on inset unlock
7435 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7437 * Makefile.am: don't compile unused files
7439 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7443 * LyXAction.C: remove old LFUN_LAYOUTNO
7445 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7447 * paragraph_pimpl.h:
7448 * paragraph_pimpl.C: isTextAt() doesn't need font param
7450 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7453 * lyxlex.C: little cleanup
7455 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7457 * BufferView_pimpl.C: fix insertAscii for insets
7459 2001-12-05 Juergen Vigna <jug@sad.it>
7461 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7462 set the right font on the "multi" paragraph paste!
7464 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7470 * lyxlength.C: remove out-commented code.
7486 * vc-backend.C: change "while(" to "while ("
7488 * lyxlength.[Ch]: add zero function to check if length is zero or
7490 * lyxgluelength.C: use it
7492 2001-12-05 Allan Rae <rae@lyx.org>
7494 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7495 Works for 2.95.3, from what I understand of Garst's reports this should
7496 work for other g++ versions. We're screwed if the abs(int) definition
7497 changed between bugfix releases of gcc.
7499 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7501 * text.C: fix chapter label offset !
7503 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7506 * text.C: fix hfill at end of line, clean up
7508 2001-12-04 Juergen Vigna <jug@sad.it>
7510 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7511 that we force an update of the inset and it's owners if neccessary.
7513 2001-12-03 Juergen Vigna <jug@sad.it>
7515 * text.C (rowLast): simplified code
7517 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7519 * lyxfunc.C: fix show options on timeout
7521 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7523 * screen.C (topCursorVisible): scroll half a page when the cursor
7524 reached top of bottom of screen
7526 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7528 * minibuffer.C: deactivate on loss of focus
7530 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7532 * vspace.[Ch] (operator!=): add operator.
7534 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7536 * BufferView_pimpl.C: refuse to open an inset when
7537 there's a selection.
7539 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7541 * BufferView_pimpl.C: allow to click on RHS of full row insets
7543 2001-11-30 Juergen Vigna <jug@sad.it>
7545 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7546 insets for undo reasons.
7548 2001-11-28 André Pönitz <poenitz@gmx.net>
7550 * vspace.[Ch]: cosmetical changes
7552 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7562 * kbsequence.C: part re-write of old kb code
7565 * WorkArea.C: remove Lgb_bug_find_hack
7567 2001-11-30 José Matos <jamatos@fep.up.pt>
7569 * buffer.C (makeDocBookFile): add a comment to point a hack.
7570 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7571 Fixed a double write of labels.
7573 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7576 * LaTeX.h Fixed bug in LaTeX class where it would not
7577 re-run latex if no depfiles were changed, but the .dvi was removed.
7579 2001-11-28 André Pönitz <poenitz@gmx.net>
7581 * all the files from the change on 2001/11/26:
7582 use lyx::layout_type instead of LyXTextClass::size_type
7583 use lyx::textclass_type instead of LyXTextClassList::size_type
7585 2001-11-29 Juergen Vigna <jug@sad.it>
7587 * text.C: added support for paragraph::isFreeSpacing()
7589 * buffer.C: same as above
7591 * paragraph.h: inserted isFreeSpacing() function to enable
7592 FreeSpacing inside InsetERT.
7594 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7595 of the paragraph's in the cut/copy buffer to 0!
7597 * text2.C (removeRow): remove the assert as it can!
7599 * lyxtext.h: added helper function firstRow returning firstrow and
7600 made firstrow private again.
7602 * BufferView2.C (lockInset): don't relock if we're already locked!
7604 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7606 (removeRow): added Assert::(firstrow)
7608 * debug.C: forgot to add INSETTEXT here.
7610 2001-11-28 Juergen Vigna <jug@sad.it>
7612 * sp_spell.C (initialize): changed error text to more general
7613 spellchecker command use (not only ispell!)
7615 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7617 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7619 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7621 * vspace.C: initialise lyxgluelength on failure
7623 2001-11-28 Allan Rae <rae@lyx.org>
7625 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7626 declaration & definition that looks like a function declaration.
7628 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7630 * BufferView2.C (copy):
7631 (copyEnvironment): do not clear the selection when doing a copy.
7633 * text.C (paintFirstRow): compilation fix
7635 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7637 * tabular.C (Latex): correct line count when writing latex.
7639 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7641 * paragraph_pimpl.h:
7642 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7645 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7649 * LColor.C: change vfillline->added_space
7651 * text.C: add markers and text for added space
7653 * vspace.C: fix comment
7655 2001-11-28 André Pönitz <poenitz@gmx.net>
7657 * paragraph.C: whitespace changes
7658 * all the other files from the change on 2001/11/26:
7659 change *::pos_type into lyx::pos_type
7661 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7663 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7664 language of the document when inserting error insets.
7666 2001-11-26 André Pönitz <poenitz@gmx.net>
7668 * BufferView_pimpl.[Ch]:
7676 * paragraph_pimpl.[Ch]:
7679 * text2.C: reduce header dependencies, introduce type for positions
7681 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7683 * <various>: change to use Alert.h
7685 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7687 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7688 when encountering an unknown token.
7689 (readLyXformat2): Show an error message if there were unknown tokens.
7691 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7694 * BufferView_pimpl.C:
7698 * text2.C: use par->isInset()
7700 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7702 * paragraph_pimpl.h:
7703 * paragraph_pimpl.C: cleanup
7705 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7707 * text2.C (removeRow):
7708 * text.C (setHeightOfRow): remove useless (and costly) call to
7711 2001-11-20 Allan Rae <rae@lyx.org>
7713 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7714 Now need Inset*::checkInsertChar() to return true for appropriate
7715 cases so that the characters in the minibuffer will actually be
7718 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7720 * text.C: change the order of the includes.
7721 (workWidth): initialize it at once.
7722 (workWidth): make maxw unsigned
7723 (setHeightOfRow): remove unused variable (inset)
7724 (selectSelectedWord): remove unused variable (inset)
7725 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7727 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7729 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7730 server is not running.
7732 (closeConnection): add debug info when server is disabled.
7734 * ColorHandler.C (getGCForeground): send debug message to GUI
7737 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7739 * kbmap.C (bind): modify because return conventions of
7740 kb_sequence::parse have changed.
7742 * kbsequence.C (parse): only ignore spaces and not any stupid
7743 control character. This avoids tests like s[i] <= ' ', which are
7744 guaranteed to fail with 8bit characters and signed chars.
7745 Change return code to string::npos when there have been no error
7746 (0 was a bad idea when error is at first character)
7748 2001-11-14 José Matos <jamatos@fep.up.pt>
7751 * buffer.C (simpleDocBookOnePar): removed unused argument.
7753 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7755 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7756 insets which are part of a word. Paragraph::isLetter takes care of
7757 that now. Use Paragraph::isInset to identify insets.
7758 (selectSelectedWord): do not test for hyphenation break.
7760 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7761 that protected spaces are considered as spaces.
7763 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7766 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7769 * lyxserver.C: fix it. and small cleanup.
7771 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7773 * BufferView_pimpl.C: use inline helpers
7776 * LaTeXFeatures.C: fix typos
7779 * Spacing.C: move spacing_string into class
7781 * ToolbarDefaults.C: move stuff into namespace anon
7783 * layout.h: update enum
7785 * lyxfunc.C: use better debug
7787 * minibuffer.h: fix typo
7791 * WorkArea.C: add and use Debug::WORKAREA
7795 * text2.C: code re-organisation, inline helpers
7797 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7799 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7800 std::vector.empty().
7802 2001-11-09 Allan Rae <rae@lyx.org>
7804 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7805 '\n's after tables. Tabular and ERT inset work now makes this no
7808 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7811 * minibuffer.C: fix crash, improve drop-down completion
7813 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7816 * lyxserver.C: invalidate fd's when doing endPipe()
7818 2001-11-08 José Matos <jamatos@fep.up.pt>
7820 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7821 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7824 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7826 2001-11-07 José Matos <jamatos@fep.up.pt>
7829 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7832 * buffer.C (sgmlOpenTag):
7833 * buffer.C (sgmlCloseTag): removed debug info.
7835 * buffer.h (sgmlOpenTag):
7836 * buffer.h (sgmlCloseTag): made public.
7838 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7840 * buffer.C (saveParamsAsDefaults):
7841 * lyx_cb.C (MenuLayoutSave): remove
7843 * LyXAction.C (init):
7845 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7847 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7849 * buffer.C (setPaperStuff): removed from here...
7851 * bufferparams.C (setPaperStuff): ... and moved there.
7853 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7857 * XFormsView.C: add support for drop-down completion
7859 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7861 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7864 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7866 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7869 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7871 * lyx_main.C: change ref to known bugs
7873 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7875 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7876 to work around older babel problems.
7878 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7880 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7882 2001-10-24 Juergen Vigna <jug@sad.it>
7884 * tabular-old.C (ReadOld): below variable changes reflected.
7886 * tabular.[Ch]: added ltType struct for longtable header/footer
7887 defines and changed all instances where they are used. Added
7888 future support for double top/bottom rows.
7890 2001-10-24 José Matos <jamatos@fep.up.pt>
7892 * buffer.h (docbookHandleCaption):
7893 * buffer.C (docbookHandleCaption): removed unused function.
7894 (makeDocBookFile): moved docbook supported version to v4.1.
7896 2001-10-24 José Matos <jamatos@fep.up.pt>
7899 * tabular.C (docbookRow): new function to export docbook code of a row.
7900 (DocBook): now honors the longtable flags.
7902 2001-10-23 José Matos <jamatos@fep.up.pt>
7905 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7906 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7908 * buffer.C (makeLinuxDocFile):
7909 (makeDocBookFile): reworked the preamble, more clean, and with
7910 support for lyx defined entities. Changed the document declaration
7911 to be more XML friendly.
7913 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7914 if we need to output XML that should be done with a filter.
7916 2001-10-22 Juergen Vigna <jug@sad.it>
7918 * sp_pspell.h (class PSpell): add alive function needed in the
7919 controller to see if the spellchecker could be started.
7921 2001-10-22 Juergen Vigna <jug@sad.it>
7923 * buffer.C (insertStringAsLines): modify the font for inserting
7924 chars in certain conditions by calling checkInsertChar(font).
7926 2001-10-19 Juergen Vigna <jug@sad.it>
7928 * text.C (workWidth): use getRow instead of wrong algorithm.
7929 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7931 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7936 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7938 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7940 * text.C (workWidth): do not search for the exact row when
7941 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7942 optimization for big documents.
7944 2001-10-18 Juergen Vigna <jug@sad.it>
7946 * text.C (workWidth): new function with added Inset * parameter.
7948 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7950 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7952 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7953 change return type of getColumnNearX.
7956 * text.C (changeRegionCase): use uppercase/lowercase instead of
7959 (rightMargin): simplify code by factoring out the uses of
7964 (appendParagraph): use Paragraph::size_type
7966 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7968 * vspace.C (asLatexString): add a missing break
7970 2001-10-15 Herbert Voss <voss@perce.de>
7972 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7974 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7976 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7979 2001-10-10 André Pönitz <poenitz@gmx.net>
7981 * lyxfunc.C: removed greek_kb_flag.
7983 2001-10-10 Herbert Voss <voss@perce.de>
7985 * lyx_main.C: delete global string help_lyxdir.
7987 2001-10-09 Herbert Voss <voss@perce.de>
7989 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7991 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7993 * lyx_main.C: added global string help_lyxdir.
7995 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7997 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7999 * lyxrc.C (set_font_norm_type): support iso8859-4
8001 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8003 * LaTeX.C (deplog): add another regex for MikTeX
8005 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8007 * lyxrc.C (set_font_norm_type): support iso8859-3
8009 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8011 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8013 * LaTeXFeatures.C: remove special case of french and index
8015 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8016 before \begin{document}). This solves several incompatibilities.
8018 2001-10-03 Garst Reese <reese@isn.net>
8020 * lyx_cb.C: change CheckTex error msg.
8022 2001-10-03 José Matos <jamatos@fep.up.pt>
8024 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8026 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8028 * .cvsignore: update
8030 * lyx_main.C (commandLineVersionInfo): use new style version info.
8032 * buffer.C (writeFile):
8035 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8037 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8039 * version.h: update to use stuff in version.C
8041 * version.C.in: new file. Contains version information determined
8042 at compile time. This is a merging of version.h and
8045 2001-10-03 Juergen Vigna <jug@sad.it>
8047 * BufferView_pimpl.C (update): don't change "dirty" status in
8050 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8052 * WorkArea.C (c-tor): re-position version string slightly.
8054 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8056 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8057 revert to previous code.
8059 WorkArea.[Ch]: (show, destroySplash): methods removed.
8061 WorkArea.C: rework code so that it's an amalgam of the codes before and
8062 after the splash screen was moved to WorkArea.
8064 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8067 * vspace.C (inPixels):
8070 * buffer.C (insertStringAsLines):
8071 (asciiParagraph): fix types to be large enough
8073 * lyxlex_pimpl.h: change member status from short to int
8075 * layout.h: fix type of endlabeltype
8078 * kbsequence.C (parse): change return type to string::size_type
8080 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8083 * Bullet.C (bulletSize):
8084 (bulletEntry): do not use short ints as parameters
8086 * BufferView2.C (insertLyXFile): change a char to an int.
8088 * WorkArea.C (WorkArea): remove unneeded floats in computation
8090 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8092 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8094 * paragraph.C (asString): Do not ignore newline/hfill chars when
8095 copying to the clipboard.
8097 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8099 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8100 after a multi-line inset.
8102 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8104 * paragraph.C (validate): Set NeedLyXFootnoteCode
8106 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8108 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8109 and decrease-error to decrease.
8111 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8114 it more readable (should be equivalent)
8116 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8118 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8120 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8122 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8123 of a cursor (row, etc.) after a character has been deleted
8124 (deleteEmptyParagraphMechanism): call the method above on _all_
8125 cursors held by the LyXText when a double space has been
8128 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8130 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8132 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8134 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8135 background. Use greyOut() and the new show() methods to toggle between
8136 the foreground and background. Add code to remove the splash after
8137 its initial showing.
8139 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8140 (create_forms): no longer call Dialogs::showSplash.
8142 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8144 * .cvsignore: add version_info.h
8146 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8148 * version_info.h.in: new file
8150 * Makefile.am: add version_info.h.in
8152 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8153 version_info.h instead of VERSION_INFO
8155 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8157 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8158 The ERT inset now returns string().
8160 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8162 * lyxtext.h, text.C (selectNextWord): renamed as
8163 selectNextWordToSpellcheck.
8165 * text.C (selectNextWordToSpellcheck): Modified to not select
8166 words inside an ERT inset.
8168 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8170 * lyx_cb.C (MenuLayoutSave): change a bit the question
8172 * sp_base.h: include <sys/types.h>
8174 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8176 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8178 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8180 * several files: fix typos in user-visible strings
8182 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8184 * text2.C (pasteSelection): do not set the selection, since it
8185 will be cleared later. Actually, the intent was to fix the way the
8186 selection was set, but I figured rmoving the code was just as good.
8188 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8190 * FontLoader.C (available): Check if font is available without
8193 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8195 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8197 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8199 * lyxrc.[Ch]: added display_graphics variable and associated code.
8201 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8203 * bufferparams.C (hasClassDefaults): new method. Returns true if
8204 the buffer parameters correspond to known class defaults
8206 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8208 * XFormsView.C (show): set minimum size to the main window.
8210 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8212 * text2.C (copySelection):
8214 * lyxfind.C (LyXReplace):
8215 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8216 LyXText::selectionAsString.
8218 * paragraph.C (asString): add "label" argument to the second form
8220 * text2.C (selectionAsString): add "label" argument and pass it to
8221 Paragraph::asString.
8223 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8225 * lyx_main.C (commandLineHelp): remove version information
8227 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8229 * lyx_main.C: add -version commandline option
8231 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8233 * paragraph.h: make the optional constructor arg required instead.
8234 some modifications to other files because of this.
8236 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8238 * lyxserver.C (C_LyXComm_callback): make it static
8240 * lyx_main.C (error_handler): make it static
8242 * lyx_gui.C (LyX_XErrHandler): make it static
8244 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8246 * WorkArea.C: make the extern "C" methods static.
8248 * Makefile.am (lyx_LDADD): simplify
8250 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8252 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8253 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8255 * LyXAction.C (init):
8256 * lyxfunc.C (dispatch): associated code removal.
8258 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8260 * lyxfont.h (isSymbolFont): shut off warning
8262 * text.C (setHeightOfRow):
8263 (getVisibleRow): fix crash with empty paragraphs which have a
8266 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8268 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8271 2001-09-04 José Matos <jamatos@fep.up.pt>
8274 * tabular.C (docbook): rename docBook method to docbook.
8276 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8278 * Makefile.am: add dependencies to main.o.
8280 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8282 * FontLoader.C (available): Return false if !lyxrc.use_gui
8284 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8286 * FontInfo.C (query):
8287 * converter.C (view):
8288 * importer.C (Import):
8289 * exporter.C (Export): Can not -> cannot.
8291 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8293 * BufferView_pimpl.C: allow to create index inset even if
8296 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8298 * buffer.C (getLists): replace boost::tie code with an explicit pair
8299 as boost::tie can break some compilers.
8301 * iterators.h: Added a std:: declaration to the return type of
8304 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8306 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8309 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8311 * iterators.[Ch]: New files. Provide paragraph iterators.
8313 * buffer.C (changeLanguage): Use paragraph iterators.
8314 (isMultiLingual): ditto
8316 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8318 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8320 * FontLoader.C: Support for cmr font.
8322 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8324 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8325 (available): New method.
8327 * FontInfo.C (getFontname): Use scalable fonts even when
8328 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8331 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8333 * converter.C (Formats::view): reverted! Incorrect fix.
8335 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8337 * converter.C (Formats::view): only output the -paper option
8338 if the dvi viewer is xdvi, thereby fixing bug #233429.
8340 2001-08-23 Herbert Voss <voss@perce>
8342 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8344 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8346 * Spacing.h (Spacing): Set space to Default on in the default
8349 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8351 * vc-backend.h (RCS::versionString): add RCS to version
8352 (CVS::versionString): add CVS to version
8354 * vc-backend.C (scanMaster): do not add CVS to version.
8355 (scanMaster): do not add RCS to version
8357 * lyxvc.C (versionString): new method
8359 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8361 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8363 * Spacing.C (set): initialize fval
8365 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8367 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8370 2001-08-16 Juergen Vigna <jug@sad.it>
8372 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8374 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8376 * BufferView_pimpl.C:
8379 * text2.C: setParagraph takes linespacing now
8381 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8383 * LyxAction.C: add internal LFUN_CITATION_INSERT
8385 * LyXView.C: actually apply fix
8387 * bufferlist.C: fix open non-existent file
8389 * lyxfind.C: fix indentation
8391 * lyxfunc.C: remove unneeded assert, fix typo
8393 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8395 * MenuBackend.C: use "Floatname List"
8397 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8399 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8400 when converting LaTeX layout to insetERT.
8401 Generate a non-collapsed float when reading old float
8403 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8405 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8408 2001-08-13 Juergen Vigna <jug@sad.it>
8410 * text.C (fill): return 0 instead of 20 as this seems to be the more
8413 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8415 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8418 2001-08-13 Juergen Vigna <jug@sad.it>
8420 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8422 (SearchBackward): comment out the unlocking of the inset_owner this
8423 should not be needed!
8425 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8427 * Many files: Remove inherit_language, and add latex_language
8429 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8432 2001-08-10 Juergen Vigna <jug@sad.it>
8434 * text.C (prepareToPrint): fixed hfill-width in draw!
8436 * BufferView2.C (selectLastWord): save the selection cursor as this
8437 now is cleared in the function LyXText::clearSelection!
8439 2001-08-08 Juergen Vigna <jug@sad.it>
8441 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8442 BACKSPACE type functions.
8444 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8445 is only cutted from the document but not put in the cut-buffer, where
8446 still the old stuff should be.
8448 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8450 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8452 * tabular.C (SetWidthOfCell): fixed special case where the width
8454 (LeftLine): handle '|' in align_special.
8456 (LeftAlreadyDrawed): ditto
8457 (SetWidthOfCell): ditto
8459 2001-08-07 Juergen Vigna <jug@sad.it>
8461 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8463 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8465 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8466 * lyxlex.[hC]: ditto
8468 2001-08-06 Juergen Vigna <jug@sad.it>
8470 * text.C (getVisibleRow): fix up row clearing a bit.
8472 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8474 * minibuffer.C: make sure the X server sees the changes in the input.
8476 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8478 * paragraph.C (getFont): split into...
8479 (getLabelFont): this
8480 (getLayoutFont): and this
8481 * paragraph_pimpl.C (realizeFont): calling this
8483 * text2.C (getFont): split into...
8484 (getLayoutFont): this
8485 (getLabelFont): and this
8486 (realizeFont): all three calling this
8488 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8491 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8493 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8495 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8497 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8498 layouts from the Quote inset insertion.
8500 2001-08-03 Juergen Vigna <jug@sad.it>
8502 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8504 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8505 only if status not is already CHANGED_IN_DRAW (second level).
8507 * text.C (draw): don't set the need_break_row when inside an
8510 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8512 * buffer.C (parseSingleLyXformat2Token): handle more latex
8515 * bufferview_funcs.[hC]: change function names to
8516 begin with small char, adjust other files.
8518 2001-08-02 André Pönitz <poenitz@gmx.net>
8521 BufferView_pimpl.C: remove broken special code for math-greek
8523 2001-08-02 Juergen Vigna <jug@sad.it>
8525 * BufferView_pimpl.C (update): redone this function so that we
8526 update the text again if there was a CHANGE_IN_DRAW.
8528 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8529 (drawFromTo): added a new internal bool which is used by draw() and
8531 (general): some cursor drawing problems fixed.
8533 2001-08-01 Juergen Vigna <jug@sad.it>
8535 * lyxfind.C (LyXFind): fixed
8536 (SearchForward): ditto
8537 (SearchBackward): ditto
8539 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8540 spurius drawing of the cursor in the main area.
8542 * text2.C (status): small fix which could lead to a segfault!
8543 (clearSelection): remove unneeded BufferView param.
8545 2001-08-01 André Pönitz <poenitz@gmx.net>
8547 * lyxfunc.C: small change due to changed mathed interface
8549 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8551 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8553 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8555 * lyxfunc.c: fail gracefully if file doesn't exist
8560 * BufferView_pimpl.C: IsDirWriteable() proto changed
8562 * LyXView.C: fix updateWindowTitle() to store the last title
8564 2001-07-31 Juergen Vigna <jug@sad.it>
8566 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8567 the font (wrong since using of Paragraph::highestFontInRange).
8569 * paragraph.C (highestFontInRange): added a default_size parameter.
8571 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8572 (setHeightOfRow): reformat
8574 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8576 * converter.[hC] + affected files: move to (inital-char)lowercase
8579 * ParagraphParameters.C (ParagraphParameters): remove commented code
8581 * PainterBase.[Ch]: remove commented code
8583 * LaTeXFeatures.h: add "bool floats" for float.sty
8585 * LaTeXFeatures.C (LaTeXFeatures): init floats
8586 (require): handle float
8587 (getPackages): do it with floats
8589 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8591 * BufferView_pimpl.C (Dispatch): improve handling of
8592 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8594 * commandtags.h: #include lyxfont.h here temporarily to avoid
8597 * bufferlist.h: include LString.h here.
8599 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8601 * text2.C (getStringToIndex): new method.
8603 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8605 * *: Reduced header file dependencies all over.
8607 2001-07-30 Baruch Even <baruch@lyx.org>
8609 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8611 2001-07-29 Baruch Even <baruch@lyx.org>
8613 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8615 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8617 * ParameterStruct.h (endif): add a default constructor to make
8618 sure that all variables is initialized.
8620 * ParagraphParameters.C (ParagraphParameters): adjust
8622 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8624 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8625 index; also, check that there is something to index, and that it
8626 does not span over several paragraphs.
8627 (doubleClick): use WHOLE_WORD_STRICT for double click.
8629 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8631 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8634 2001-07-26 Baruch Even <baruch@lyx.org>
8636 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8637 an InsetFig figure, backwards compatible reading of old figure code.
8639 2001-07-27 Juergen Vigna <jug@sad.it>
8641 * text2.C: font.realize function adaption.
8643 * text.C (draw): add a warnings lyxerr text if needed.
8645 * layout.C: font.realize function adaption.
8647 * language.C: add inherit_language and implement it's handlings
8649 * bufferview_funcs.C (StyleReset): remove language parameter from
8650 font creation (should be language_inherit now).
8652 * bufferparams.C (writeFile): handle ignore_language.
8654 * paragraph.C (getFontSettings): the language has to be resolved
8655 otherwise we have problems in LyXFont!
8657 * lyxfont.C (lyxWriteChanges): added document_language parameter
8658 (update): removed unneeded language parameter
8660 * paragraph.C (validate): fixed wrong output of color-package when
8661 using interface colors for certain fonts in certain environments,
8662 which should not seen as that on the final output.
8664 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8666 * BufferView_pimpl.C:
8671 * LyXAction.C: add thesaurus support
8674 * lyxfind.C: add "once" parameter, for thesaurus, to not
8675 move to the next match
8677 2001-07-26 Juergen Vigna <jug@sad.it>
8679 * lyxfont.C (realize): honor ignore_language too!
8682 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8684 * text.C (draw): one place more for ignore_language to not draw
8687 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8689 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8691 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8693 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8694 the minipage conversion problem.
8696 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8698 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8701 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8703 * BufferView.h: don't forward declare WorkArea
8705 * BufferView.C: don't include WorkArea.h
8707 2001-07-25 André Pönitz <poenitz@gmx.net>
8711 * lyxfunc.C: new LFUN 'math-space'
8713 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8715 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8717 * text2.C (toggleInset): call open/close
8719 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8721 * lyxfunc.C (dispatch): add debug for the disabled case
8723 * font.C (buttonText): make similar to rectText
8725 * buffer.C (readInset): comment out parsing of insetlist and
8728 * PainterBase.C (rectText): small correction
8730 * BufferView_pimpl.C: comment out insettheorem and insetlist
8731 * LyXAction.C: ditto
8732 * commandtags.h: ditto
8734 2001-07-24 Juergen Vigna <jug@sad.it>
8736 * text.C (draw): honor the ignore_language.
8738 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8740 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8742 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8745 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8747 * lyxtext.h: remove unused (and unimplemented) methods
8749 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8751 * text.C (getVisibleRow): honor background color
8754 * Painter.h: remove default color argument for fillRectangle
8756 * text.C (backgroundColor): new method
8758 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8760 * text.C (getVisibleRow): adjust
8762 * font.[Ch] (rectText): new method, metrics
8763 (buttonText): new method, metrics
8765 * PainterBase.[hC]: make rectText and buttonText always draw and take
8768 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8770 * ToolbarDefaults.C (read):
8771 * MenuBackend.C (read): allow escaping in all strings
8773 * BufferView_pimpl.C (insertAndEditInset): new method.
8774 (Dispatch): use insertAndEditInset whenever appropriate.
8776 * BufferView_pimpl.C (insertNote): removed
8778 * BufferView_pimpl.C (smartQuote): new method, moved from
8779 BufferView; if an insetquote cannot be inserted, insert a '"'
8782 * BufferView2.C: remove insertCorrectQuote();
8784 * lyxfunc.C (getStatus): Add support for all remaingin
8787 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8789 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8790 command (necessary to pass " as parameter of self-insert.
8792 * text.C (selectWordWhenUnderCursor):
8793 (selectWord): add word_location parameter
8794 (selectWordWhenUnderCursor): same + remove special code for word
8796 (selectNextWord): use kind() to guess type of insetspecialchar,
8799 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8800 (insertErtContents): create ert insets as collapsed.
8801 (readInset): better compatibility code for Info inset.
8803 2001-07-20 Juergen Vigna <jug@sad.it>
8805 * lyxfunc.C (dispatch): use always LyXFind now!
8807 * text2.C (init): add a reinit flag so that the LyXText can be
8808 reinited instead of deleted and reallocated (used in InsetText).
8810 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8816 2001-07-18 Juergen Vigna <jug@sad.it>
8818 * text.C (selectNextWord): handle insets inside inset by calling
8819 always the bv->text functions so that we can go up the_locking_inset!
8821 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8822 in strange locations when inside an inset!
8824 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8825 handling to include insets.
8827 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8829 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8831 * LyXAction.C (init):
8833 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8834 LIGATURE_BREAK, since the name is so stupid.
8836 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8838 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8841 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8843 * sp_form.[Ch]: remove.
8845 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8847 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8850 * src/buffer.C (readInset): ditto.
8852 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8854 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8855 menuSeparator(), endOfSentenceDot(), ldots() and
8856 hyphenationPoint(), which are therefore removed.
8857 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8859 * LyXAction.C (init):
8860 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8862 * paragraph.C (getWord): removed.
8864 * BufferView_pimpl.C (Dispatch): use last word or selection for
8865 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8867 * lyx_main.C (queryUserLyXDir): do not ask before creating
8868 user_dir, except if it has been named explicitely.
8870 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8872 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8873 a document of zero size.
8875 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8877 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8878 approriately in the c-tor and in require().
8879 (getPackages): output the appropriate LaTeX for natbib support.
8881 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8882 variables "use_natbib" and "use_numerical_citations" when reading the
8884 (readInset): read the various natbib cite commands.
8885 (validate): white-space change.
8887 * bufferparams.[Ch]: new variables "bool use_natbib" and
8888 "bool use_numerical_citations".
8889 (writeFile): output them in the LyX file.
8891 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8893 * lyxfunc.C (getStatus): add support for all the inset insertion
8896 * text2.C (insertInset):
8897 * paragraph.C (insetAllowed):
8898 * BufferView_pimpl.C (insertInset): update to take in account the
8899 renaming of insertInsetAllowed
8901 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8903 * text2.C (getInset): new method. returns inset at cursor position.
8905 * BufferView_pimpl.C (Dispatch): changes because of this.
8907 * LyXAction.C (init): rename open-stuff to inset-toggle.
8909 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8911 * text2.C (toggleInset): renamed from openStuff; use
8914 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8916 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8918 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8920 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8922 * buffer.C (readLyXformat2): Add filename to the error dialog
8924 2001-07-18 Juergen Vigna <jug@sad.it>
8926 * tabular.C (GetCellNumber): put an assert here instead of the check!
8928 2001-07-17 Juergen Vigna <jug@sad.it>
8930 * BufferView_pimpl.C (toggleSelection): adapted too.
8932 * text.C (selectNextWord): adapted for use with insets.
8933 (selectSelectedWord): ditto
8935 2001-07-17 Juergen Vigna <jug@sad.it>
8937 * sp_spell.C (PSpell): fix initialitation order.
8939 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8941 * paragraph.C: spacing
8943 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8945 * sp_spell.C: repair language selection for pspell
8947 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8949 * lyxfunc.h: change more methods to begin with lower char.
8951 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8953 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8954 for unknown layouts.
8956 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8958 * buffer.C (readLyXformat2): Generate an error dialog if there are
8961 2001-07-16 Juergen Vigna <jug@sad.it>
8963 * sp_spell.C: always compile ISpell part.
8965 * lyxrc.C: added use_pspell entry and it's handling.
8967 2001-07-13 Juergen Vigna <jug@sad.it>
8969 * sp_spell.C: removed double includes.
8971 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8973 Consistent use of Lsstream.h:
8974 * Lsstream.h: added using std::stringstream for consistencies sake.
8976 * buffer.C: removed using std::stringstream
8978 * lyxfont.C (stateText):
8979 * paragraph.C (asString):
8980 * text.C (selectNextWord, selectSelectedWord):
8981 * text2.C (setCounter):
8982 * vspace.C (asString, asLatexString):
8983 std::ostringstream -> ostringstream.
8985 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8987 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8988 * commandtags.h: add LFUN_HELP_ABOUTLYX
8989 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8991 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8993 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8995 * lyx_gui_misc.C: remove spellchecker
8996 * lyxfunc.C: showSpellchecker
8998 * sp_ispell.h: added
8999 * sp_pspell.h: added
9001 * sp_form.[Ch]: removed
9002 * spellchecker.[Ch]: removed
9004 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9006 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9008 (simpleTeXSpecialChars): Simply print the input character without
9009 any special translation if pass_thru is set.
9011 * layout.h: Added bool pass_thru to layout class for being able to
9012 implement pass through of a paragraph for Literate Programming.
9014 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9015 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9016 * layout.C (Read): add "passthru" to list of layout tags and add
9017 code to set the pass_thru boolean when it is read.
9019 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9021 * trans_decl.h: remove allowed from KmodInfo
9023 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9027 * paragraph_pimpl.C (erase): use boost::prior
9029 * Painter.C (text): use data() instead of c_str() when length is
9031 * WorkArea.C (putClipboard): ditto
9032 * font.h (width): ditto
9034 * BufferView2.C: use it-> instead of (*it). for iterators
9036 * paragraph_pimpl.C: ditto
9037 * paragraph.C: ditto
9038 * minibuffer.C: ditto
9043 * converter.C: ditto
9045 * Variables.C: ditto
9046 * TextCache.C: ditto
9047 * MenuBackend.C: ditto
9048 * LyXAction.C: ditto
9050 * FloatList.C: ditto
9052 * ColorHandler.C (LyXColorHandler): ditto
9054 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9056 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9058 * text2.C (openStuff): reintroduce this method (which had been
9059 nuked in NEW_INSETS frenzy).
9061 * lyxfunc.C (Dispatch): when an action has not been handled, use
9062 its name in the error message, not its number.
9064 * paragraph.C (inInset): change method name to begin with lowercase.
9067 * text2.C: updates because of this.
9069 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9071 * ToolbarDefaults.C (add): add spaces in error message
9073 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9075 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9076 (readLyXformat2): rename return_par to first_par, use lyxlex's
9077 pushToken and remove the manual push handling.
9078 (parseSingleLyXformat2Token): add another ert comp. variable:
9079 in_tabular, rename return_par to first_par. handle newlines better
9081 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9083 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9085 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9087 * text2.C (getParFromID): removed
9089 * buffer.C (getParFromID): new method moved form lyxtext.
9090 * BufferView2.C (insertErrors): adjust
9091 (setCursorFromRow): adjust
9092 * BufferView_pimpl.C (restorePosition): adjust
9093 * lyxfunc.C (Dispatch): adjust
9094 * undo_funcs.C (textUndo): adjust
9096 (textHandleUndo): adjust
9097 (textHandleUndo): adjust
9099 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9101 * buffer.C: up' the LYX_FORMAT
9103 * lyxfont.h: turn NO_LATEX on as default
9105 * buffer.C (insertErtContents): new methods of tex style compability.
9106 (parseSingleLyXformat2Token): use it several places.
9107 * tabular.C (OldFormatRead): and here
9109 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9111 * text2.C: remove some commented code.
9114 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9115 * trans.C: changes because of the above.
9117 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9119 * text2.C (setCounter): Fix counters bug with bibliography layout.
9121 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9123 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9124 own member functions
9125 (simpleTeXSpecialChars): ditto
9127 2001-07-06 Juergen Vigna <jug@sad.it>
9129 * a lot of files: changed the access to LyXText::status and the
9130 call of undo-functions.
9132 * undo.[Ch]: added a inset_id to the undo informations.
9134 * undo_funcs.[Ch]: added and moved here all undo functions.
9136 * lyxtext.h: give the status enum a weight, made status_ a private
9137 variable and made accessor functions for it, removed the whole bunch
9138 of undo-functions as they are now in their own file, make some
9139 functions publically available. Added function ownerParagraph with
9142 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9143 made InInset() a const function, added getParFromID() function.
9145 * buffer.[Ch]: added const version for inset_iterator functions,
9146 added getInsetFromID() function.
9148 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9149 changed undo functions for new version.
9151 2001-07-05 Juergen Vigna <jug@sad.it>
9153 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9154 unknow mechanism does not call the proper constructor but only this
9155 one also if I request the other!?
9157 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9159 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9161 * text2.C (LyXText): use initialization lists.
9163 * lyxtext.h (Selection): initialize set_ and mark_
9164 (init): remove method
9166 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9168 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9170 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9172 * screen.[Ch]: change method names to begin with lowercase
9174 * BufferView_pimpl.C (updateScrollbar): simplify further and
9175 hopefully make it a bit faster.
9177 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9179 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9180 calling directly xforms functions.
9182 * Painter.C (Painter):
9183 * lyx_cb.C (MenuWrite):
9184 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9187 * lyx_gui.C: remove bogus guiruntime extern declaration.
9189 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9193 (redoDrawingOfParagraph): ditto
9194 (redoParagraphs): ditto
9195 (cutSelection): don't create a object for CutAndPaste use the
9196 static method directly
9197 (pasteSelection): ditto
9199 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9202 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9204 * modifications to some other files because of this.
9206 * Makefile.am (lyx_SOURCES): add XFormsView
9208 * XFormsView.[Ch]: new files
9210 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9211 the main window. Move the gui dependent stuff to XFormsView
9213 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9215 * tabular.C (GetCellInset): update cur_cell also in the row/col
9216 version of this function.
9218 * lyxfunc.C: no need to include figure_form.h here.
9224 * lyxvc.C: no need to include forms.h here.
9226 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9228 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9230 * lyxfunc.C (Dispatch):
9232 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9233 constructor argument.
9235 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9237 * paragraph.C (Paragraph): dont't clear, and just set layout.
9238 (makeSameLayout): use params's copy contructor.
9240 * ParagraphParameters.[Ch] (makeSame): delete method
9242 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9244 * Variables.[Ch]: fix indentation, rename set to isSet
9246 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9248 * lyxfunc.C (Dispatch): fix typo
9250 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9252 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9255 * bufferlist.C: include assert.h for emergencyWrite().
9257 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9259 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9260 give up at last (bug #425202) !
9262 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9268 * spellchecker.C: strip spellchecker options and bring up
9269 preferences tab instead
9271 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9273 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9274 the istringstream constructor
9276 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9278 * paragraph.C (getLayout): fix return value
9280 * paragraph.h: do not declare getLayout as inline.
9282 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9284 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9286 * lyxcursor.h (operator<): new func
9287 (operator>): new func
9288 (operator>=): new func
9289 (operator<=): new func
9291 * text.C (changeCase): use selection.start and selection.end
9292 (changeRegionCase): require from to be <= to. Require par to be a
9295 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9297 2001-06-27 Juergen Vigna <jug@sad.it>
9299 * text.C (cursorLeftOneWord): changed to return the cursor and added
9300 overlay with BufferView * parameter which calls this one.
9302 (selectWord): use new getWord function.
9303 (changeCase): renamed from changeWordCase as and extended to work
9306 * lyxtext.h: added enum word_location
9308 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9309 changeCase as this operates now also on selections.
9311 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9313 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9315 * many files: send debug output to Debug::INFO instead of
9318 * converter.C (View):
9320 (Move): send debug output to Debug::FILES instead of console.
9322 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9324 * lyxfunc.C (getStatus): use func_status
9326 * func_status.h: new header, describing the results of
9329 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9332 2001-06-25 The LyX Project <jug@sad.it>
9334 * buffer.C (sgmlOpenTag):
9336 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9338 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9340 * text2.C: remove some dead code
9342 * tabular.C (GetCellInset): store the last cell checked (gotten)
9344 * tabular.h: add the helper for the speedup
9346 * lyxtext.h: remove some dead code
9348 2001-06-26 The LyX Project <Asger>
9350 * paragraph.C: Change export to LaTeX of alignment to
9351 \begin{center} and family for better roundtrip work with reLyX.
9353 * Tune the math drawing a bit.
9355 2001-06-25 The LyX Project <Asger>
9357 * LColor.C (LColor): New color for math background. New color
9360 2001-06-25 The LyX Project <jug@sad.it>
9362 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9365 * bufferlist.C (newFile): do not restrict to files ending with
9368 * BufferView_pimpl.C (MenuInsertLyXFile):
9370 2001-06-24 The LyX Project <jug@sad.it>
9372 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9375 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9377 * lyxtext.h: rename most methods to begin with a small char.
9378 Lots of changes because of this.
9380 * paragraph.C (Paragraph): do not call fitToSize
9381 (erase): call Pimpl::erase
9382 (insertChar): call Pimpl::insertChar
9383 (insertInset): call Pipl::insertInset
9384 (breakParagraph): do not call fitToSize
9385 (breakParagraphConservative): do not call fitToSize
9386 (fitToSize): remove method
9388 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9390 2001-06-24 The LyX Project <Asger>
9392 * Fix Qt compilation^2
9394 2001-06-24 The LyX Project <jug@sad.it>
9396 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9397 depthHook(getDepth()-1).
9400 * ParagraphParameters.h:
9401 * ParameterStruct.h: change type of depth to unsigned int ==
9402 depth_type. Many adaptations to other files before of that.
9404 2001-06-24 The LyX Project <Asger>
9406 * Fix Qt compilation.
9408 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9410 * paragraph.h: renamed several methods to begin with small letter.
9411 several changes to many parts of the code because of this.
9413 2001-06-23 The LyX Project <jug@sad.it>
9415 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9416 rewritten to discard all double spaces when KeepEmpty is off
9417 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9418 to only handle newlines but not fiddle with spaces and friends.
9420 * lyxfunc.C (MenuNew): when doing 'new from template', use
9421 template_path as default directory
9423 2001-06-23 The LyX Project <Asger>
9425 * Clean-up of header file includes all over
9426 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9428 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9430 * paragraph.h: renamed from lyxparagraph.h
9432 2001-06-23 Asger <lyx@violet.home.sad.it>
9434 * Buffer.h: Removed Buffer::resize
9435 * BufferList.h: Removed BufferList::resize
9436 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9437 the document lazily when we change the width, or the font settings.
9439 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9441 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9443 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9445 * buffer.h: remove out of date comment
9447 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9450 * screen.C: fix "theoretical" GC leak
9452 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9454 * LaTeX.C (scanAuxFile):
9455 (deplog): remove trailing \r when reading stream (useful under
9458 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9460 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9461 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9462 and BufferView::theLockingInset(Inset*), so should use them and not
9463 access bv_->text->the_locking_inset directly.
9465 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9467 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9470 * tex-defs.h: remove old unused file
9472 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9474 * BufferView_pimpl.C: fix typo, remove minibuffer message
9475 when buffer has loaded
9477 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9479 * lyxfunc.C (Dispatch): use stringstream
9480 (MenuNew): use stringstream
9481 (Open): use stringstream
9483 * importer.C (Import): use stringstream
9485 * bufferview_funcs.C (CurrentState): use stringstream
9487 * LaTeX.C (run): use stringstream
9489 * BufferView_pimpl.C (savePosition): use stringstream
9490 (restorePosition): use stringstream
9491 (MenuInsertLyXFile): use stringstream
9493 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9506 * vspace.C: removed // -*- C++ -*- as first line.
9509 * version.h: added // -*- C++ -*- as first line.
9511 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9513 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9515 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9518 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9520 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9523 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9525 * gettext.C: include LString.h even when --disable-nls is on.
9527 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9529 * converter.h (Get): changed argument type from int to
9530 FormatList::size_type to avoid unnecessary conversion.
9532 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9535 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9537 * gettext.h: include LString.h even when --disable-nls is on.
9539 2001-06-07 Juergen Vigna <jug@sad.it>
9541 * text.C (BreakAgain): subst spaces with tabs.
9543 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9544 (resizeInsetsLyXText): set force on resizeLyXText.
9546 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9548 * gettext.h (gettext_init):
9549 (locale_init): use a real definition instead of a macro
9551 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9553 * Bufferview_pimpl.C:
9555 * LColor.C: further lcolor tidies
9557 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9559 * BufferView_pimpl.C (updateScrollbar): simplify.
9561 * BufferView2.C: don't include insets/insetinfo.h, change
9562 prototype for insertInset and call the Pimpl version. let
9563 updateInset call Pimpl version.
9565 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9566 gotoInset to BufferView::Pimpl
9568 2001-06-01 Juergen Vigna <jug@sad.it>
9570 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9571 inside a LockingInset (is the update needed at all?).
9573 2001-05-31 Juergen Vigna <jug@sad.it>
9575 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9576 here not the old one otherwise how should we compare it afterwards
9579 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9584 * FontInfo.C: bring C functions into global namespace when
9587 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9589 * LString.h: make sure config.h has been loaded before LString.h.
9591 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9592 (one for each char read by EatLine!).
9594 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9597 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9599 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9600 to the same as the par we break from
9602 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9606 * MenuBackend.C (expand): also create menu entries for wide
9607 versions of the floats.
9609 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9611 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9613 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9614 frontends/Makefile.am
9620 * tabular.C (getTokenValue): add std::
9622 * tabular-old.C (getTokenValue): add std::
9623 (getTokenValue): ditto
9624 (getTokenValue): ditto
9626 * screen.C (ToggleSelection): adjust
9628 * lyxtext.h: put selection cursors inside a Selection struct.
9630 * lyxfunc.C (moveCursorUpdate): adjust
9632 * lyxfont.C (latexWriteStartChanges): add std::
9636 * font.h: delete with(char const *, LyXFont const &)
9638 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9640 * FontInfo.C (getFontname): add std::
9642 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9643 (workAreaButtonPress): adjust
9644 (tripleClick): adjust
9646 (moveCursorUpdate): adjust
9649 * BufferView2.C (gotoInset): adjust
9651 2001-05-30 Juergen Vigna <jug@sad.it>
9653 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9654 to check pspell I add this as default as I now have new pspell
9655 libraries and they seem to use this.
9657 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9659 * text2.C (CutSelection): make the cursor valid before the call to
9662 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9664 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9665 relied on 0 terminated strings and other horrors. Bug found due to
9666 the new assert in lyxstring!
9668 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9671 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9673 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9676 * lyxfunc.C (processKeySym): change method of getting to the
9679 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9680 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9681 * BufferView_pimpl.[Ch]: here as private methods.
9683 2001-05-28 Juergen Vigna <jug@sad.it>
9685 * text.C (SetHeightOfRow): added the update() call again as it is
9686 needed to initialize inset dimensions!
9688 2001-05-16 Juergen Vigna <jug@sad.it>
9690 * text2.C (SetCharFont): Add new function with BufferView * and
9691 bool toggleall parameters for setting insets internal fonts.
9692 (SetFont): Freeze the undo as we may change fonts in Insets and
9693 all this change should be inside only one Undo!
9695 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9696 setting font's in insets as for them we have the SetFont function!
9698 2001-05-15 Juergen Vigna <jug@sad.it>
9700 * text2.C (ClearSelection): to be sure we REALLY don't have any
9703 * tabular.C (TeXCellPreamble): fixed the left border problem for
9706 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9708 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9711 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9713 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9714 LFUN_BREAKPARAGRAPH.
9716 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9717 help test to "internal only", similar for LFUN_INSERT_URL
9719 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9720 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9721 auto_region_delete and deadkeys.
9723 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9726 * LColor.C: remove some dead entries, tidy a little
9728 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9730 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9732 (Dispatch): implement LFUN_ESCAPE
9734 * commandtags.h: add LFUN_ESCAPE
9736 * LyXAction.C (init): add entry for LFUN_ESCAPE
9738 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9739 Remove commented code.
9740 (insertNote): moved here
9741 (open_new_inset): moved here
9743 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9746 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9748 * kbmap.C (findbinding): clean it up and make it work correctly.
9750 * lyx_main.C (init): do not pass argc and argv as parameters
9752 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9754 * buffer.C: fix path for OS/2 & Win32
9758 * lyx_main.C: Added os:: class.
9760 * os2_defines.h: update
9762 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9764 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9765 better by trying again with reduced state.
9767 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9769 * lyxrc.C (read): print error about invalid key sequence only when
9770 debugging (because not all latinX keysyms are known to some X
9773 * kbsequence.C (getiso): add a few std:: qualifiers
9774 (getiso): comment out extra return statement.
9776 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9778 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9780 (Dispatch): enhance the accent inset a bit. (not perfect)
9782 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9784 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9786 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9788 * bufferlist.C (emergencyWrite): fix assert() call
9790 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9792 * text.C (InsertChar): Added trivial patch to only send the "you
9793 can not do multiple spaces this way" message once during a
9796 2001-05-08 Baruch Even <baruch@lyx.org>
9798 * Makefile.am: Changed order of libraries to get LyX to link properly
9799 with the gnome frontend.
9801 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9803 * LaTeXFeatures.h: add a std:: qualifier
9805 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9807 * paragraph.C (String): use stringstream
9809 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9811 * paragraph.C (writeFile): remove footflag arg
9813 * buffer.C (makeLaTeXFile): use stringstream
9814 (latexParagraphs): remove footnot gurba
9816 * LaTeXFeatures.C (getPackages): use stringstream
9817 (getMacros): likewise
9818 (getTClassPreamble): likewise
9819 (getFloatDefinitions): new method
9821 * paragraph.C (writeFile): reindent
9824 * WorkArea.h: revert the xpos + etc changes.
9826 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9828 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9830 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9831 (pasteSelection): likewise
9832 * text2.C (CreateUndo): likewise
9834 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9836 * minibuffer.C (peek_event): temporarily reduce the functionality
9837 of the minibuffer (to allow args on lfuns)
9839 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9840 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9842 * buffer.C (readInset): add compability reading of old float
9843 lists, add reading of new style float list.
9844 (readInset): avoid reevaluation of inscmd.getCmdName()
9845 (getLists): reindent
9847 * MenuBackend.C (MenuItem): implement parsing of
9848 md_floatlistinsert and md_floatinsert.
9849 (expand::LastFiles): move initalizaton of iterators out of loop,
9851 (expand::Documents): introduce typdedef vector<string> Strings,
9853 (expand::ExportFormats): introduce typedef vector<Format const *>
9854 Formats, and use it.
9855 (expand): implement FloatListInsert and FloatInsert.
9857 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9858 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9859 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9861 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9863 (Dispatch::LFUN_FLOAT_LIST): implement
9865 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9867 * LaTeX.C (run): Fix problem with --export code.
9869 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9871 * BufferView.[Ch] (workarea): removed.
9872 (getClipboard) new method; wrapper for workarea()->getClipboard()
9874 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9877 * WorkArea.h (width, height, xpos, ypos): These methods all
9878 returned the dimensions of the work_area sub-area of WorkArea,
9879 resulting in a position error if the WorkArea were resized. Now
9880 return the dimensions of the entire WorkArea.
9882 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9884 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9886 * LaTeX.C (deplog): correct the syntax of regex reg1
9888 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9890 * undo.C: remove !NEW_INSETS cruft
9892 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9894 * text2.C: remove !NEW_INSETS cruft
9896 * text.C: remove !NEW_INSETS cruft
9898 * tabular.C: remove !NEW_INSETS cruft
9900 * spellchecker.C: remove !NEW_INSETS cruft
9902 * lyxtext.h: remove !NEW_INSETS cruft
9904 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9906 * lyxfunc.C: remove !NEW_INSETS cruft
9908 * lyxfind.C: remove !NEW_INSETS cruft
9910 * lyx_cb.C: remove !NEW_INSETS cruft
9912 * figureForm.C: remove !NEW_INSETS cruft
9914 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9916 * buffer.[Ch]: remove !NEW_INSETS cruft
9918 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9920 * CutAndPaste.C: remove !NEW_INSETS cruft
9922 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9924 * BufferView2.C: remove !NEW_INSETS cruft
9926 * BufferView.h: remove !NEW_INSETS cruft
9928 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9930 * Lsstream.h: include LString.h before the sstream headers to
9931 fix problem with gcc 2.95.3 and lyxstring
9933 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9935 * lyx_main.C: add using directives when needed for C functions
9936 declared in std:: namespace.
9938 2001-04-27 Juergen Vigna <jug@sad.it>
9940 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9941 (SetHeightOfRow): comment out the update call should not be needed!
9943 2001-04-13 Juergen Vigna <jug@sad.it>
9945 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9946 (LyXTabular): tried to minimize operator= operations (and realized
9947 hopfully Lars wish).
9949 2001-04-27 Juergen Vigna <jug@sad.it>
9951 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9953 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9955 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9957 * buffer.C (readInset): hack to make listof algorithm work
9959 * BufferView_pimpl.C: hack to make listof algorithm work
9961 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9963 * LyXAction.C: removed all !NEW_INSETS cruft
9964 (init): moved lfun_item in method
9966 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9968 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9970 * BufferView2.C (theLockingInset): white space.
9972 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * minibuffer.C: include <iostream>
9976 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9978 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9980 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9982 * text.[Ch] (TransposeChars): new method
9984 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * call message directly through LyXView instead of through LyXFunc
9987 * BufferView2.C: adjust
9988 * BufferView_pimpl.C: adjust
9989 * FontLoader.C: adjust
9991 * bufferview_funcs.C: adjust
9992 * converter.C: adjust
9993 * figureForm.C: adjust
9994 * importer.C: adjust
9996 * lyx_gui_misc.C: adjust
10000 + more files in subdirs
10002 * lyxparagraph.h (size): move up int file
10005 * adjust all uses of Assert to lyx::Assert.
10007 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10008 lyxfunctional in namespace lyx
10009 * layout.C (hasLayout): ditto
10012 (delete_layout): ditto
10013 (NumberOfClass): ditto
10014 * converter.C (GetFormat): ditto
10019 * bufferlist.C (getFileNames): ditto
10020 (emergencyWriteAll): ditto
10023 * MenuBackend.C (hasSubmenu): ditto
10026 * BufferView_pimpl.C (getInsetByCode): ditto
10028 2001-04-18 Juergen Vigna <jug@sad.it>
10030 * vspace.C (asLatexString): fixed the 100% problem.
10032 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10034 * lyxfunc.C (Dispatch):
10036 * minibuffer.h: add a few std:: qualifiers
10038 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10040 * minibuffer.[Ch]: reimplement so that commands is initiated and
10041 run from lyxfunc, simplified som handling, and made the completion
10042 and history code for complete. wip.
10044 * lyxfunc.C (processKeySym): call message
10045 (miniDispatch): new temporary method
10046 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10047 (LFUN_MESSAGE): implement
10048 (LFUN_MESSAGE_PUSH): implement
10049 (LFUN_MESSAGE_POP): implement
10050 (initMiniBuffer): the initial/defualt minibuffer message.
10052 * lyxfont.[Ch]: inline some more getters
10054 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10056 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10058 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10059 (AutoSave): use LFUN_MESSAGE
10060 (Reconfigure): ditto
10062 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10064 * figureForm.C: use LFUN_MESSAGE
10066 * converter.C (runLaTeX): use LFUN_MESSAGE
10068 * bufferview_funcs.C: use LFUN_MESSAGE
10070 (changeDepth): ditto
10072 * bufferparams.h: use boost::
10074 * bufferlist.h: inherit privately from noncopyable
10076 * bufferlist.C (loadLyXFile): remove some commented code.
10078 * buffer.C (runChktex): use LFUN_MESSAGE
10080 * ShareContainer.h: inherit privately from noncopyable
10082 * ParagraphParameters.[hC] (depth): inline it.
10084 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10086 (message): new method
10087 (messagePush): ditto
10088 (messagePop): ditto
10089 (show): init minibuffer
10090 (showState): direct call
10092 * LaTeX.[Ch]: inherit privately from noncopyable
10093 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10094 instead of WriteStatus.
10096 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10098 * BufferView_pimpl.C (buffer): don't init minibuffer
10099 (workAreaButtonPress): use LFUN_MESSAGE
10100 (workAreaButtonRelease): ditto
10101 (savePosition): ditto
10102 (restorePosition): ditto
10103 (MenuInsertLyXFile): ditto
10104 (workAreaExpose): don't init minibuffer
10105 (update): remove commented code, simplify
10107 * BufferView2.C (openStuff): use LFUN_MESSAGE
10108 (toggleFloat): ditto
10111 (copyEnvironment): ditto
10112 (pasteEnvironment): ditto
10117 (updateInset): remove some commented code
10119 * lastfiles.h: inherit privately from noncopyable
10122 * lyx_main.h: ditto
10124 * lyxlex_pimpl.h: ditto
10126 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10127 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10128 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10130 * LyXAction.h: inherit privately from noncopyable, add methods
10131 func_begin, func_end, returning iterators to the func map.
10133 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10134 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10135 (func_begin): new method
10136 (func_end): new method
10138 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10140 (copySelection): ditto
10141 (pasteSelection): ditto
10143 * BufferView.C: whitespace change
10144 * BufferView.h: inherit privately from noncopyable
10146 2001-04-16 Allan Rae <rae@lyx.org>
10148 * tabular-old.C (l_getline):
10149 * spellchecker.C (sc_check_word):
10150 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10151 an unrecognised preprocessor directive. So ensure they're wrapped.
10153 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10155 * src/exporter.C (Export): Give an error message when path to file
10158 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10160 * LaTeX.C (deplog): Always check that foundfile exists.
10162 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10165 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10167 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10169 * tabular.[Ch] (getLabelList): implement new method
10171 * minibuffer.h: comment ouf setTiimer
10173 * minibuffer.C (ExecutingCB): constify res
10174 (peek_event): constify s
10175 (Set): constify ntext
10176 (Init): constify nicename
10178 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10180 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10181 (savePosition): use two params to Minibuffer::Set
10182 (restorePosition): ditto
10184 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10186 * lyx_main.C: include language.h
10188 * Makefile.am (lyx_main.o): add language.h
10190 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10196 * CutAndPaste.C: include gettext.h
10198 * lyxfont.h: remove old hack with ON and OFF.
10201 * lyxfont.h: do not include language.h...
10206 * bufferview_funcs.C:
10212 * paragraph.C: ... but do it here instead
10214 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10216 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10218 * tabular.C: small reformat
10220 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10223 (BreakParagraph): ditto
10224 (SetOnlyLayout): ditto
10227 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10230 * lastfiles.C: removed most using decl, add std:: where needed
10232 * buffer.C: ws changes
10234 * MenuBackend.C (class compare_format): put into anon namespace
10235 (expand): constify label, names, action, action2
10238 * text.C (SingleWidth): constify font
10239 (IsBoundary): constify rtl2
10240 (GetVisibleRow): constify ww
10242 * LaTeX.C (deplog): constify logfile
10244 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10246 (workAreaExpose): constify widthChange, heightChange
10248 * lyxrow.C (par): moved
10251 * lyxrow.h: as inlines here
10253 * lyxfont.h (shape): moved from lyxfont.C
10254 (emph): moved from lyxfont.C
10256 * lyxfont.C (LyXFont): use initialization list for all
10258 (shape): move to lyxfont.h as inline
10259 (emph): move to lyxfont.h as inline
10262 2001-04-04 Juergen Vigna <jug@sad.it>
10264 * vspace.C: had to include stdio.h for use of sscanf
10266 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10269 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10270 independent of xforms.
10272 2001-04-02 Juergen Vigna <jug@sad.it>
10274 * spellchecker.C: fixed namespace placing!
10276 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10278 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10279 the LyXParagraph * is 0.
10281 2001-03-29 Juergen Vigna <jug@sad.it>
10283 * vspace.C: added support for %, c%, p%, l%.
10284 (stringFromUnit): added helper function.
10285 (asLatexString): changed to give right results for the %-values.
10287 * buffer.C: convert the widthp in a width%.
10289 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10291 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10294 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10295 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10297 * lyx_cb.[Ch]: see above.
10299 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10303 * lyx.[Ch]: replaced by figure_form.[Ch].
10307 * lyxfunc.C: changed headers associated with above changes.
10309 2001-03-27 Juergen Vigna <jug@sad.it>
10311 * BufferView_pimpl.C: set the temporary cursor right!
10313 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10315 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10317 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10319 * LString.h: removed "using std::getline"!
10321 * BufferView_pimpl.C (Dispatch): changes due to changes in
10322 InsetInclude::Params.
10324 * buffer.C (tag_name): removed redundant break statements as they were
10325 producing lots of warnings with my compiler.
10327 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10329 * LString.h: add "using std::getline" when using the real <string>.
10331 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10333 * buffer.C: removed bitset usage.
10334 PAR_TAG moved to an anonymous name space.
10335 (tag_name): new funtion, also in the anonymous namespace.
10336 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10337 (makeDocBookFile): clean code. Completed transition from string arrays
10339 (SimpleDocBookOnePar): code clean.
10341 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10343 * tabular.C: add some comments.
10345 2001-03-22 Juergen Vigna <jug@sad.it>
10347 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10348 compatibility read a bit and fixed bug with minipage in different
10351 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10353 * buffer.C (pop_tag): removed.
10354 (push_tag): removed.
10355 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10356 array replaced with vector. Added support for CDATA sections.
10357 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10359 (makeDocBookFile): XML conformant declaration of CDATA section,
10360 fixed bug related to <emphasis> in the first paragraph char.
10361 (sgmlOpenTag): exclude empty tags.
10362 (sgmlCloseTag): ditto.
10364 * buffer.h (pop_tag): removed.
10365 (push_tag): removed.
10367 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10369 * language.h (Languages): added size_type and size().
10371 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10373 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10374 response on compability reading of minipages. One probliem is that
10375 the old usage of minipages was «flertydig»
10377 * several files here and in subdirs: don't use static at file
10378 scope use anon namespaces instead.
10380 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10382 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10383 LaTeX output. This is necessary for Literate document
10386 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10388 * buffer.C: insert hfill when needed.
10390 * tabular.C (l_getline): use string::erase, small whitespace change.
10392 * BufferView_pimpl.C: try the anon namespace.
10393 * WorkArea.C: ditto
10395 2001-03-16 Juergen Vigna <jug@sad.it>
10397 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10398 otherwise it won't open options-dialogs.
10400 * buffer.C: honor pextraWidth(p) on converting minipages.
10402 * tabular.C (l_getline): changed the functions to strip trailing \r.
10404 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10406 * BufferView_pimpl.C:
10407 * minibuffer..C: added "using SigC::slot" declaration.
10409 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10411 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10417 * paragraph.C: ditto
10419 * lyxtext.h: NO_PEXTRA
10421 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10423 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10424 * ParameterStruct.h: ditto
10425 * ParagraphParameters.h: ditto
10426 * lyxparagraph.h: ditto
10428 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10430 * buffer.C: add compability for minipage alignment.
10431 (latexParagraphs): remove unwanted pextra check.
10433 * several files: remove CXX_WORKING_NAMESPACES
10435 * buffer.C (pop_tag): tie is in namespace boost
10437 * BufferView.h: noncopyable is in namespace boost
10439 * lyx_main.h: ditto
10442 * lastfiles.h: ditto
10443 * bufferlist.h: ditto
10444 * ShareContainer.h: ditto
10446 * LyXAction.h: ditto
10449 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10451 * Merging changes from BRANCH_MVC back into HEAD.
10453 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10455 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10457 * BufferView_pimpl.C: change from intl.C
10461 * Makefile.am: move combox.*
10467 * intl.C: remove dialog (covered by prefs)
10469 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10471 * lyxfunc.C (Dispatch): removed redundant break statement.
10473 2001-03-14 Juergen Vigna <jug@sad.it>
10475 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10477 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10479 * buffer.C: add hack to fix compability reading of minipages.
10481 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10483 * buffer.C (getLists): Cleanup.
10485 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10487 * lyxfont.C (update): don't honor toggleall on font size.
10489 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10493 * Makefile.am: moved to frontends/xforms/
10497 * BufferView_pimpl.C: changes for moved mathpanel
10499 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10501 * gettext.h: fix gettext_init() in --disable-nls
10503 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10505 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10507 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10510 * lyx.h: strip external form
10512 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10514 * BufferView_pimpl.C: add comment, destroySplash()
10516 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10518 * BufferView_pimpl.C:
10522 * lyxfunc.C: use re-worked insetinclude
10524 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10526 * buffer.C: add using std::stringstream.
10528 * lyx_cb.C: readd using std::ios.
10530 * buffer.C: add using std::map.
10532 * BufferView_pimpl.C: add using std::vector.
10534 * ShareContainer.h: add std:: to swap.
10536 * buffer.h: add some typedefs
10537 * buffer.C (getLists): use them
10538 (getLists): renamed from getTocList.
10539 add a counter for the different float types and use it in the
10541 (getLists): use the same counter for the NEW_INSETS and the "non"
10544 * lyx_cb.h: remove unused items, includes, using etc.
10546 * ShareContainer.h: remove some commented code, add more comments
10547 and "documentation".
10549 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10551 * buffer.C (getTocList): make the list also when NEW_INSETS is
10554 * buffer.h: remove TocType
10556 * buffer.C (getTocList): change to return a map<string,
10557 vector<TocItem> >, implement for dynamic number of list.
10559 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10560 * text2.C (PasteSelection): adjust
10561 * CutAndPaste.C (pasteSelection): adjust
10563 * FloatList.C (FloatList): update from the new_insets branch.
10564 * Floating.[Ch]: ditto
10565 * LaTeXFeatures.C: ditto
10567 * lyxlex_pimpl.C: ditto
10569 * paragraph.C (Last): remove when NEW_INSETS is defined.
10571 * other file: changes because of the above.
10573 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10575 * lyxparagraph.h: rename next to next_, previous to previous_,
10576 make them private for NEW_INSETS. Rename Next() to next(),
10577 Previous() to previous().
10579 * other files: changes because of the above.
10581 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10584 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10587 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10589 * main.C (main): pass lyx_localedir to gettext_init().
10591 * gettext.h: remove locale_init and gettext_init macros
10593 * gettext.C (locale_init): new function
10594 (gettext_init): new function
10596 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10599 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10601 * Moved credits to frontends:
10602 * credits.[Ch]: removed
10603 * credits_form.[Ch]: removed
10604 * lyx_gui_misc.C: remove credits stuff
10607 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10609 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10611 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10612 unneeded destructor.
10614 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10615 a standalone pointer again.
10617 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10619 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10625 * ToolbarDefaults.C:
10634 * BufferView_pimpl.C: use new file dialog in GUII
10637 * lyx_cb.C: remove LayoutsCB to Toolbar
10639 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10641 * ShareContainer.h (get): add std:: qualifier
10643 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10645 * ShareContainer.h: define a proper ShareContainer::value_type
10646 type (and use typename to please compaq cxx)
10648 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10650 * lyxparagraph.h: move serveral local vars to
10651 ParameterStruct/ParagraphParameters., use ShareContainer in
10652 FontTable., make vars in FontTable private and add getter and
10655 * paragraph.C: changes because of the above.
10657 * lyxfont.h: remove copy constructor and copy assignment. (the
10658 default ones is ok), move number inside FontBits. move inlines to
10661 * lyxfont.C: add number to initializaton of statics, move several
10662 inlines here. constify several local vars. some whitespace
10663 cleanup. Dont hide outerscope variables.
10665 * Spacing.h: add two new constructors to match the set methods.
10667 * ShareContainer.h: new file, will perhaps be moved to support
10669 * ParameterStruct.h: new file
10671 * ParagraphParameters.h: new file
10673 * ParagraphParameters.C: new file
10675 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10676 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10678 * BufferView_pimpl.C: ParagraphParameter changes.
10679 * buffer.C: Likewise.
10680 * bufferview_funcs.C: Likewise.
10681 * text.C: Likewise.
10682 * text2.C: Likewise.
10684 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10686 * lyxfind.C (LyXReplace): do not redefine default argument in
10688 (IsStringInText): ditto
10689 (SearchForward): ditto
10690 (SearchBackward): ditto
10692 2001-03-06 Juergen Vigna <jug@sad.it>
10694 * lyxfind.C (IsStringInText): put parentes around expressions.
10696 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10698 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10700 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10702 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10704 * stl_string_fwd.h: add comment
10706 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10709 * tabular.C: remove unused DocBook methods
10715 killed DO_USE_DEFAULT_LANGUAGE
10717 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10719 * lyx_gui.C: do not include language.h.
10721 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10722 arguments in function implementation.
10724 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10726 * BufferView_pimpl.C: add <ctime>
10728 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10730 * BufferView_pimpl.C: add using std::find_if
10732 2001-02-27 José Matos <jamatos@fep.up.pt>
10734 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10737 2001-02-11 José Matos <jamatos@fep.up.pt>
10739 * buffer.C (makeDocBookFile): command styles now have a parameter as
10740 "title" by default.
10742 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10744 * layout_forms.[Ch]: removed
10745 * lyx_cb.[Ch]: out character
10746 * lyx_gui.C: out character
10747 * lyx_gui_misc.C: out character
10748 * bufferview_funcs.C: : out character,
10749 added toggleall as parameter in ToggleAndShow
10751 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10753 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10755 * text2.C (SetCurrentFont): Disable number property at boundary.
10757 2001-02-26 Juergen Vigna <jug@sad.it>
10759 * lyxfunc.C (getStatus): added a string argument override function so
10760 that this is correctly called from LyXFunc::Dispatch if it contains a
10761 do_not_use_argument which is used!
10762 (Dispatch): added check for "custom" export and call appropriate func.
10764 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10766 * lyxrc.C: Add language_command_local, language_use_babel and
10767 language_global_options.
10769 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10771 * buffer.C (makeLaTeXFile): Use language_use_babel and
10772 language_global_options.
10774 2001-02-23 Juergen Vigna <jug@sad.it>
10776 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10777 which works with LyXText and putted it inside BufferView. Here now we
10778 only call for that part the BufferView::Dispatch() function.
10780 * BufferView.C (Dispatch): added.
10782 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10783 functions which needs to use a LyXText over from LyXFunc.
10784 (MenuInsertLyXFile): added
10785 (getInsetByCode): added
10786 (moveCursorUpdate): added
10787 (static TEXT): added
10789 2001-02-22 Juergen Vigna <jug@sad.it>
10791 * BufferView_pimpl.C (update): call a status update to see if LyXText
10794 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10796 * vc-backend.C (revert): implement for CVS
10797 (getLog): implement for CVS
10799 2001-02-20 Juergen Vigna <jug@sad.it>
10801 * text2.C (ClearSelection): added BufferView param for inset_owner call
10803 * lyxfunc.C (TEXT): added this function and use it instead of
10804 directly owner->view()-text of getLyXText().
10806 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10808 * src/layout_forms.C: out preamble
10809 * src/layout_forms.h: out preamble
10810 * src/lyx_cb.C: out preamble
10811 * src/lyx_cb.h: out preamble
10812 * src/lyx_gui.C: out preamble
10813 * src/lyx_gui_misc.C: out preamble
10814 * src/lyxfunc.C: connect with guii preamble
10816 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10818 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10820 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10822 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10823 whether to run bibtex.
10825 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10827 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10829 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10831 * Makefile.am (lyx_SOURCES): removed bibforms.h
10833 * vspace.h: doxygen
10835 * text.C (GetVisibleRow): make several local vars const
10837 * tabular.C: small cleanup.
10839 * lyxserver.C (callback): use compare instead of strncmp
10841 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10842 inlines to after class or to paragraph.C
10844 * lyxfont.h: remove friend operator!=
10846 * converter.h: move friend bool operator< to non friend and after
10849 * combox.h: small cleanup
10851 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10852 to inlines after class def.
10854 * buffer.C (pop_tag): use string operations instead of strcmp
10856 * bmtable.c: doxygen, small cleanup
10858 * LaTeX.h: remove friend operator==
10860 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10872 * BufferView_pimpl.C:
10873 * BufferView.[Ch]: remove cruft
10875 2001-02-14 Juergen Vigna <jug@sad.it>
10877 * lyxfunc.C: removed #if 0 unused code
10879 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10881 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10883 * text2.C (SetSelection): added a BufferView * parameter
10885 2001-02-13 Juergen Vigna <jug@sad.it>
10887 * lyxfunc.C (Dispatch): fixed protected blank problem.
10888 * BufferView2.C (protectedBlank): added LyxText * parameter.
10890 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10891 (AppendColumn): same as above for column_info.
10893 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10894 (moveCursorUpdate): use a LyXText param for support of InsetText.
10896 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10897 (tripleClick): ditto
10899 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10901 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10903 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10905 * text2.C (SetSelection): set correct update status if inset_owner
10906 (ToggleFree): ditto
10908 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10910 * tabular.C: remove some commented code.
10912 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10914 * BufferView_pimpl.C: call hideSplash()
10916 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10919 * bibforms.h: remove
10922 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10923 add LFUN_CHILD_CREATE
10925 * counters.h: fix tiny typo
10930 * lyx.C: move splash to frontends/xforms/
10932 * lyx_gui_misc.C: move Include and Bibform to frontends
10934 * lyxvc.h: clarify comment
10936 * vspace.C: tiny housekeeping
10938 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10940 * text.C (PrepareToPrint): RTL Fix.
10942 * paragraph.C (GetUChar): New method.
10943 (String): Use GetUChar.
10945 * buffer.C (asciiParagraph): Use GetUChar.
10947 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10949 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10951 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10954 * buffer.C: rename to getLogName(), handle
10955 build log / latex log nicely
10957 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10960 * MenuBackend.h: remove support for reference menuitem type.
10962 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10964 * BufferView_pimpl.C: housekeeping
10965 * BufferView_pimpl.h:
10970 * minibuffer.h: move Timeout GUI-I
10972 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10974 * lyxrc.C (read): Update converters data-structures.
10976 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10978 * LaTeX.h (operator!=): add operator != for Aux_Info
10980 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10982 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10984 * LaTeXLog.C: deleted, useful code moved to Buffer
10987 * buffer.C: new function getLatexLogName()
10993 * lyxfunc.C: use frontends for LaTeX and VC logs
10995 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10997 * LaTeX.h: yet another std:: that Allan forgot.
10999 * Variables.C (set): renamed from isset(), because this clashes
11000 with some HP-UX macros (grr).
11002 2001-02-06 Allan Rae <rae@lyx.org>
11004 * LaTeX.h: Another bug fix. Missing std:: this time.
11006 2001-02-04 Allan Rae <rae@lyx.org>
11008 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11009 floats problem. I've left it commented out because it's not quite
11010 correct. It should also test that the current object is a table or
11011 figure inset. But I haven't gotten around to figuring out how to do
11012 that. I *think* it'll be something like: "table" == inset.type()
11014 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11017 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11019 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11020 all the citation/databases/styles in the auxilary file.
11021 (run): Rerun latex if there was a babel language error.
11023 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11025 * text.C (Backspace): Preserve the font when changing newline char
11027 (BreakParagraph): If the cursor is before a space, delete the space.
11029 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11031 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11033 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11034 new argument (code).
11035 (ChangeCitationsIfUnique): New method.
11037 * paragraph.C (GetPositionOfInset): Handle bibkey.
11039 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11041 * BufferView_pimpl.h: change type of Position::par_pos to
11042 LyXParagraph::size_type.
11044 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11046 * BufferView_pimpl.C (savePosition, restorePosition): Write
11047 messages to minibuffer.
11049 2001-01-28 José Matos <jamatos@fep.up.pt>
11051 * buffer.C (makeDocBookFile): adds support for document language.
11052 A silly restriction on the name of LatexCommand types where removed.
11053 Added support for CDATA sections, allows to chars unescaped, used
11054 among others in code, to avoid escape < and >.
11056 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11058 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11059 saved positions instrad of a stack. Furthermore, a position is
11060 stored using paragraph id/paragraph position.
11062 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11063 Remove LFUN_REF_BACK.
11065 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11067 * converter.C (dvipdfm_options): New method.
11069 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11071 * vspace.C (isValidLength): Fix for empty input string.
11073 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11075 * LyXAction.C (init): change description of LFUN_FIGURE to
11078 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11080 * LaTeX.C: add using directive
11082 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11084 * MenuBackend.C (expand): Fix the sorting of the formats.
11086 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11088 * lyx_main.C: tiny error message fix
11090 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11092 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11093 calling fl_initialize(). This fixes the problem with ',' as
11094 decimal separator in text files.
11096 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11098 * trans.C (process): Fix the keymap bug.
11100 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11102 * LaTeX.C (scanAuxFiles): New method. Provides support for
11103 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11104 (scanLogFile) Scan for "run BibTeX" messages.
11106 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11107 OT1 font encoding. Also, load the aecompl package if the ae
11110 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11112 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11114 * texrow.C (increasePos): turn two error messages into debug
11117 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11119 * LaTeX.C (scanAux): Handle the \@input macro.
11120 (runBibTeX): Use scanAux().
11122 * language.C (latex_options_): New field.
11124 * LaTeXFeatures.C (getMacros): Add language macros.
11126 * buffer.C (makeLaTeXFile): Small fix.
11128 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11130 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11132 * text2.C: add a using directive.
11134 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11139 * lyxfunc.C: kill LyXBell.
11141 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11143 * text.C (IsBoundary): Remove the error message
11145 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11147 * lyxrc.C (setDefaults): Correct initialization value for
11150 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11152 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11155 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11156 and GotoNextNote().
11158 * src/LyXAction.C: Added reference-next.
11160 * text.C (InsertChar): Use contains instead of strchr.
11162 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11164 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11166 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11167 alignment commands (when needed).
11169 * text.C (InsertChar): Add ':' to number separator chars.