1 2003-06-03 John Levon <levon@movementarian.org>
3 * ispell.C: HPUX doesn't have sys/select.h
6 2003-06-03 John Levon <levon@movementarian.org>
8 * CutAndPaste.C: update tabular and include inset
13 * paragraph.C: remove owningBuffer(), don't pass Buffer
16 * factory.C: insetGraphicsParams changed
18 2003-06-02 John Levon <levon@movementarian.org>
24 * text3.C: remove insetparent
26 2003-06-02 John Levon <levon@movementarian.org>
29 * buffer.C: fix inset_iterator.end(), move out of line
32 2003-06-01 John Levon <levon@movementarian.org>
34 * text3.C: use a proper cut/paste when doing inset
35 insert (from Jürgen Spitzmüller)
37 2003-06-01 John Levon <levon@movementarian.org>
39 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
41 2003-05-30 André Pönitz <poenitz@gmx.net>
43 * rowpainter.C: unify second drawing phase
45 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
47 * trans_mgr.C: remove one case of current_view
49 * text2.C (cursorBottom): delete NO_STD_LIST stuff
51 * paragraph_funcs.h: remove paragraph.h include
53 * paragraph.h: delete NO_STD_LIST stuff
55 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
57 * buffer.h: remove paragraph.h include
59 * ParagraphList.C: delete file
61 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
63 * toc.C (getTocList): adjust
65 * paragraph_pimpl.C (validate): adjust
67 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
69 * paragraph.C (Paragraph): adjust
70 (getPositionOfInset): use const_iterator, adjust
71 (bibitem): use const_iterator, adjust
72 (setInsetOwner): adjust
74 * iterators.C (operator++): adjust
76 * InsetList.[Ch]: Replace selfmade iterator with standard
77 vector::iterator also introduce const_iterator. Remove getPos,
78 getInset and setInset from InsetTable. Adjust accordingly.
80 * BufferView.C (lockInset): adjust
81 (ChangeInsets): adjust
83 * tabular.[Ch]: delete commented same_id functions
85 2003-05-28 John Levon <levon@movementarian.org>
87 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
89 2003-05-28 André Pönitz <poenitz@gmx.net>
91 * metricsinfo.[Ch]: remove 'fullredraw' member
93 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
95 * lyxtextclass.C (operator): remove caching.
97 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
101 * text2.C (cursorBottom): adjust
102 (setCounter): use ParagraphList::find, adjust
104 * text.C (workWidth): use ParagraphList::find, adjust
106 * lyxcursor.C (LyXCursor): adjust
108 * buffer.C (inset_iterator): adjust
110 * ParagraphList.h: make iterator(value_type) private, make
111 ParagraphList a friend of iterator.
113 * ParagraphList.C (find): new function
115 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
117 2003-05-27 André Pönitz <poenitz@gmx.net>
119 * dimension.[Ch]: a -> asc, d -> des, w -> wid
121 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
123 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
125 2003-05-26 John Levon <levon@movementarian.org>
127 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
129 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
131 * remove same_id from function signatures, adjust.
133 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
135 * undo_funcs.C (createUndo): use the id functions directly, adjust.
137 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
139 * paragraph.C (Paragraph): get rid of same_ids parameter
141 * ParagraphList.C (insert): adjust
144 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
146 * paragraph_funcs.C (breakParagraph): adjust
147 (breakParagraphConservative): adjust
149 * buffer.C (readParagraph): adjust
151 * ParagraphList.C (insert): take a reference instead of a pointer
154 * paragraph.[Ch] (id): new function
156 * bufferlist.C (newFile): adjust
158 * ParagraphList.C (ParagraphList): adjust
160 (push_back): take a reference instead of a pointer.
162 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
164 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
167 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
168 set else use old code.
170 * ParagraphList.C: remove all NO_NEXT code and only compile this
171 code of NO_STD_LIST is set.
173 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
175 * BufferView_pimpl.C:
185 * graphics/GraphicsConverter.C:
186 * graphics/PreviewLoader.C: header adjustment
188 2003-05-23 Angus Leeming <leeming@lyx.org>
190 * LaTeXFeatures.[Ch] (useBabel): new method.
191 * bufferparams.C (writeLaTeX): use it.
193 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
195 * ParagraphList.h (set): remove unused function.
197 2003-05-23 André Pönitz <poenitz@gmx.net>
200 * BufferView_pimpl.C:
204 * undo_funcs.C: setUndo reworked
206 * iterators.[Ch]: add access to topmost ParagraphList
208 * lyxtext.[Ch] (workWidth): add a const
210 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
212 * texrow.[Ch] (increasePos): remove function
213 * exporter.C (export): removed unused var and outdated comment
215 2003-05-23 Angus Leeming <leeming@lyx.org>
217 * latexrunparams.h: rename fragile as moving_arg.
218 * paragraph.C (simpleTeXOnePar): ditto.
219 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
221 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
225 (textUndoOrRedo): comment out a currently unused var.
227 * paragraph.h (NO_NEXT): enable NO_NEXT
229 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
231 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
233 * exporter.C (Export): adjust for removeAutoInsets removal.
235 * buffer.C (runChktex): adjust for removeAutoInsets removal.
237 * LyXAction.C (init): remove LFUN_REMOVEERRORS
239 * BufferView.[Ch] (removeAutoInsets): delete function
241 2003-05-22 Angus Leeming <leeming@lyx.org>
243 * latexrunparams.h: add a free_spacing variable.
245 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
246 to pass moving_arg, as the data is stored in runparams.fragile.
248 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
249 to Inset::latexOptional or to simpleTeXOnePar.
251 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
252 free_spacing arg to Inset::latexOptional.
254 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
257 2003-05-22 Angus Leeming <leeming@lyx.org>
259 * latexrunparams.h: add fragile and use_babel variables.
261 * bufferparams.[Ch] (writeLaTeX): return use_babel.
262 * buffer.C (makeLaTeXFile): store this returned value in
263 runparams.use_babel, thus passing it to the inset::latex methods.
265 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
266 simpleTeXSpecialChars as it is now stored in runparams.fragile.
268 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
269 longer has a fragile arg, as it is stored in runparams.fragile.
271 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
272 moving_arg parameter as the data is stored in runparams.fragile.
274 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
275 a fragile parameter as the data is stored in runparams.fragile.
277 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
279 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
281 2003-05-22 Angus Leeming <leeming@lyx.org>
283 * latexrunparams.h: add a 'bool nice' which defaults to false.
285 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
286 now encapsulated within runparams.
288 * bufferlist.C (updateIncludedTeXfiles):
289 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
291 2003-05-22 Angus Leeming <leeming@lyx.org>
293 * latexrunparams.h: new file containing struct LatexRunParams.
294 * Makefile.am: add new file.
296 * LaTeX.[Ch] (c-tor, run):
297 * buffer.[Ch] (makeLaTeXFile):
298 * bufferlist.[Ch] (updateIncludedTeXfiles):
299 * converter.C (convert, scanLog):
300 * converter.[Ch] (runLaTeX):
301 * exporter.C (Export):
302 * paragraph.[Ch] (simpleTeXOnePar):
303 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
304 * paragraph_funcs.[Ch] (latexParagraphs):
305 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
306 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
307 pass around a LatexRunParams parameter.
309 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
311 * paragraph.[Ch]: remove unused constructor
313 * ParagraphList.C (erase): new function, taking two iterators
315 2003-05-22 André Pönitz <poenitz@gmx.net>
317 * undo_funcs.C: remove duplicated code
319 * iterator.[Ch]: operator=
321 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
323 * tabular.C (SetMultiColumn): ws changes
325 * rowpainter.C (paintFirst): get rid of a ->previous
327 * lyx_cb.C (getPossibleLabel): parlist simplification
329 * BufferView.C (ChangeInsets): simplify slightly.
331 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
333 * LyXAction.C: new lfun space-insert, kill protected-space-insert
334 * lfuns.h: new LFUN_SPACE
335 * lyxfunc.C: protected space has a new lfun
336 * paragraph_funcs.C: read new space insets
338 * factory.C: handle new space insets
340 2003-05-22 André Pönitz <poenitz@gmx.net>
343 * BufferView_pimpl.C:
346 * undo_funcs.C: return a ParIterator from getParFromID.
348 * iterators.[Ch]: add two const's
350 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
352 * toc.C (getTocList): adjust
354 * iterators.[Ch]: rework for parlist
356 * buffer.C (par_iterator_begin): adjust
357 (par_iterator_end): adjust
359 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
361 * BufferView.C (removeAutoInsets): adjust
362 (ChangeInsets): adjust
364 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
366 * text.C (top_y): fix bug 1110
368 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
370 * errorlist.[Ch]: added
373 * BufferView_pimpl.C:
374 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
377 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
379 * Makefile.am: ensure that lyx is relinked upon changes to the
380 various "convenience" libs.
382 2003-05-20 Angus Leeming <leeming@lyx.org>
384 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
385 files are compiled in alphabetical order again.
387 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
389 2003-05-19 Angus Leeming <leeming@lyx.org>
391 * gettext.[Ch]: remove "char const * _(char const *)".
393 2003-05-19 André Pönitz <poenitz@gmx.net>
395 * dimension.[Ch]: promote from mathed/dimension.[Ch]
404 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
406 2003-05-19 André Pönitz <poenitz@gmx.net>
412 * paragraph_funcs.[Ch]:
414 * text3.C: more insetenv work
416 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
418 * ParagraphParameters.C (params2string): small bug fixed
420 2003-05-16 André Pönitz <poenitz@gmx.net>
423 * bufferview_funcs.C: patch from Kornel Benko to prevent
424 crash when _(...) is called twice in a statement
426 2003-05-16 André Pönitz <poenitz@gmx.net>
433 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
435 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
437 * lyx_main.C (init): remove spurious static_cast
439 2003-05-14 André Pönitz <poenitz@gmx.net>
441 * BufferView.C: fix format string
443 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
445 * BufferView.[Ch] (insertErrors): removed
446 * BufferView.[Ch] (showErrorList): added
447 * buffer.C (runChkTeX):
448 * converter.C (scanLog): call showErrorList instead of inserterrors
450 2003-05-13 André Pönitz <poenitz@gmx.net>
452 * BufferView_pimpl.C:
461 * tabular_funcs.h: tostr() from its own header
463 * ParagraphParameters.C:
470 2003-05-12 André Pönitz <poenitz@gmx.net>
473 * BufferView_pimpl.C:
477 * ParagraphParameters.C:
481 * bufferview_funcs.C:
498 * text3.C: boost::format -> bformat all over the place
501 2003-05-09 André Pönitz <poenitz@gmx.net>
503 * LColor.[Ch]: Pimpl the #include <map> away
505 2003-05-09 John Levon <levon@movementarian.org>
507 * bufferlist.C: never remove emergency saves
509 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
511 * Makefile.am: better lib building
513 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * texrow.[Ch]: remove dependency on Paragraph and just store a id
517 * paragraph_pimpl.C (simpleTeXBlanks): adjust
518 (simpleTeXSpecialChars): adjust
519 (simpleTeXSpecialChars): adjust
520 * paragraph.C (simpleTeXOnePar): adjust
521 * buffer.C (makeLaTeXFile): adjust
523 * Makefile.am (BOOST_LIBS): allow boost as system lib.
525 * text2.C (changeDepth): parlist cleanup
526 (getColumnNearX): ditto
528 * rowpainter.C (getLabelFont): parlist cleanup
530 * bufferlist.C (newFile): parlist cleanup
532 * CutAndPaste.C (eraseSelection): parlist cleanup
534 * BufferView_pimpl.C (trackChanges): parlist cleanup
537 * BufferView.C (lockInset): parlist cleanup.
538 (ChangeInsets): ditto
540 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
542 * CutAndPaste.h: Update file header.
544 * CutAndPaste.C: Update file header.
545 Store the parts cut out of the Document in a limited_stack.
546 (copySelection): adjust
547 (pasteSelection): new function, takes the index in the limited stack.
548 (nrOfParagraphs): adjust
549 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
550 simplify error inset insertion.
551 (checkPastePossible): adjust
553 2003-05-06 John Levon <levon@movementarian.org>
555 * text2.C: don't cast wrap inset to float
557 2003-05-05 André Pönitz <poenitz@gmx.net>
560 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
562 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
563 few naked Paragraph *.
565 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
567 * bufferparams.C: Output warning if a document with missing
568 TeX document class is loaded
569 * exporter.C: Disable TeX exports if the document class is missing
572 * lyxtextclasslist.C: Handle new textclass.lst format; new method
573 isTeXClassAvailable()
575 2003-05-03 John Levon <levon@movementarian.org>
578 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
579 explicit cursor show/hide
581 * BufferView_pimpl.h:
582 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
583 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
585 * lyxfunc.C: hide cursor before dispatching.
590 * text3.C: remove explicit cursor hides
592 2003-05-02 André Pönitz <poenitz@gmx.net>
594 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
597 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
600 * text2.C: tiny whitespace
602 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
604 * undo_funcs.C: almost only ws changes.
606 * ParagraphList.C (splice): just return if pl is empty.
608 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
610 * ParagraphList.C (splice): new function.
612 * CutAndPaste.C (pasteSelection): use it
614 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
616 * CutAndPaste.C (pasteSelection): remove the last next and
617 previous from this file.
619 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
621 * CutAndPaste.C (pasteSelection): more clean up, user proper
622 ParagraphList functions for pasteing.
624 * ParagraphList.C (insert): new function, three arg insert
626 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
628 * ParagraphList.C (insert): new function, three arg insert
630 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
633 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
637 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
639 * CutAndPaste.C (pasteSelection): remove some unneeded code.
641 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
643 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
644 (copySelection): clean up a bit.
645 (pasteSelection): use make_pair
647 * ParagraphList.C (ParagraphList): implement copy constructor
648 (operator=): implement, base on copy constructor.
651 * paragraph.C (erase): return a bool
653 * paragraph_pimpl.C (erasePos): remove function, move contents...
654 (erase): ... here. Return a bool.
655 (erase): call erase instead of erasePos.
657 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
659 * ParagraphList.h: define PitPosPair
660 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
661 ParagraphList, fix a bug on pasting multiple pars
662 * text2.C: change interface to C&P
664 2003-04-30 André Pönitz <poenitz@gmx.net>
666 * undo_func.C: revert part of yesterday's patch 2
668 2003-04-30 John Levon <levon@movementarian.org>
670 * LColor.C: s/tabular/table/
672 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
674 * text3.C (dispatch): do not convert iterator -> pointer
675 * undo_funcs.C (setCursorParUndo): ditto
676 * text_funcs.C (transposeChars): ditto
678 * text2.C (setLayout): ws changes only
680 * text.C (breakParagraph): do not convert iterator -> pointer
682 (acceptChange): ditto
683 (rejectChange): ditto
688 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
691 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
693 * text3.C (gotoInset): YABG (yet another bad getChar)
695 2003-04-29 André Pönitz <poenitz@gmx.net>
697 * paragraph.h: make operator= private unimplemented as long as
700 * ParagraphList.C: whitespace
703 * paragraph_pimpl.[Ch]:
706 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
709 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
711 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
713 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
714 * paragraph.[Ch] (erase):
715 * paragraph_pimpl.[Ch] (erase): change return type and value
716 * text2.C (cutSelection): some rework
718 2003-04-28 John Levon <levon@movementarian.org>
720 * bufferlist.C: changes for unsaved changes dialog
722 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
724 * bufferlist.C (newFile): set language (messages_) for new
727 * buffer.C (readFile): ws changes only.
729 2003-04-28 André Pönitz <poenitz@gmx.net>
734 * BufferView_pimpl.C:
735 * BufferView.C: getParFromID related ParagraphList::iterator changes
737 2003-04-28 André Pönitz <poenitz@gmx.net>
739 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
742 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
744 * messages.C: remove one more localedir class variable.
746 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
748 * messages.C (getLocaleDir): singleton generation function
750 (Messages): add a default constructor.
752 * main.C (main): do not setup localedir here, do not call
755 * gettext.C (_): use it.
756 (gettext_init): delete funciton
758 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
760 * gettext.C (getLyXMessages): new singleton generating function.
762 * buffer.C (updateDocLang): adjust
764 * Makefile.am (messages.o): add target
765 (main.o): remove target
767 2003-04-27 John Levon <levon@movementarian.org>
772 * lyxvc.C: specify cancel button in Alert::prompt
774 2003-04-26 John Levon <levon@movementarian.org>
779 * LyXAction.C: add LFUN_INSET_SETTINGS
781 * lyxfunc.C: don't enable tabular-feature when there's
782 just any locking inset
784 2003-04-26 John Levon <levon@movementarian.org>
786 * bufferlist.C: re-add Cancel to buffer close question
788 * lyxfunc.C: fix import UI a bit
790 2003-04-25 John Levon <levon@movementarian.org>
792 * gettext.C: remove the broken asserts for now
794 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
796 * messages.C: make case where setlocale cannot comply work better.
798 * buffer.C (updateDocLang): new function
799 (changeLanguage): use it
802 * text2.C (setCounter): use B_ a bit.
804 * lyxlayout.C (Read): be sure to trim the label strings.
806 * messages.C (Messages): fix typo in comment
808 * buffer.C (readFile): set message_ after file is loaded.
809 (makeDocBookFile): remove double return
810 (changeLanguage): reset message_ upon language change.
811 (B_): new func, use this to get translated buffer strings.
813 * main.C: add myself and Jean Marc as authors.
815 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * messages.[hC]: pimplify Messages, and three different pimpls to be
818 used in different circumstances.
820 * gettext.[Ch]: change for use with new message code.
822 2003-04-24 André Pönitz <poenitz@gmx.net>
824 * factory.C: support for eqref
826 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
828 * messages.[Ch]: add missing char
830 * Makefile.am (lyx_SOURCES): add messages.[Ch]
832 * messages.[Ch]: New files
834 2003-04-18 John Levon <levon@movementarian.org>
838 * BufferView_pimpl.C:
842 * text2.C: remove layout-copy/paste (bug 778)
844 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
846 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
848 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
850 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
851 if they succeed. Act accordingly.
853 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
855 * text2.C (setCharFont): adjust
857 (insertStringAsLines): adjust
859 * text.C (leftMargin): adjust
860 (setHeightOfRow): adjust
862 * rowpainter.C (paintFirst): adjust
865 * paragraph_funcs.C (depthHook): ParagraphList::iterators
867 (isFirstInSequence): ditto
871 * paragraph.C (getParLanguage): comment out some hard stuff.
873 * buffer.C (insertStringAsLines): take a ParagraphList as arg
875 (simpleDocBookOnePar): ditto
876 (makeDocBookFile): use ParagraphList::iterator
878 * CutAndPaste.C (pasteSelection): adjust
880 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * text2.C (getFont): adjust
883 (getLayoutFont): adjust
884 (getLabelFont): adjust
886 * paragraph_funcs.C (TeXOnePar): adjust
888 * buffer.C (simpleLinuxDocOnePar): adjust
889 (simpleDocBookOnePar): adjust
891 * CutAndPaste.C (pasteSelection): adjust
893 * BufferView.C (getEncoding): adjust
895 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
897 2003-04-16 John Levon <levon@movementarian.org>
899 * lyxfind.C: use parlist stuff for search/changes
901 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
903 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
905 * text2.C (deleteEmptyParagraphMechanism): adjust
907 * text2.[Ch] (ownerParagraph): delete func (both of them
909 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
911 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
913 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
915 * ParagraphList.C: prepare for NO_NEXT
917 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
919 * text2.C (getFont): adjust
920 (getLayoutFont): adjust
921 (getLabelFont): adjust
923 * paragraph.C (getFont): adjust
924 (getLabelFont): adjust
925 (getLayoutFont): adjust
927 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
929 2003-04-15 John Levon <levon@movementarian.org>
933 * lyx_main.C: handle Include in .ui files
935 2003-04-15 John Levon <levon@movementarian.org>
937 * MenuBackend.C: make the doc files length shorter
940 * ToolbarBackend.C: handle toolbar placement flags,
943 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
945 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
948 * paragraph_funcs.C (TeXOnePar): adjust
950 * paragraph.C (getLabelFont): add outerfont arg, adjust
951 (getLayoutFont): ditto
952 (simpleTeXOnePar): adjust
954 * paragraph_pimpl.C (realizeFont): delete func
956 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
958 * text2.C (beforeFullRowInset): added a bad getchar check, removed
959 row argument, constify cur argument.
961 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
963 * text2.C (getFont): adjust
964 (getLayoutFont): adjust
965 (getLabelFont): adjust
967 * paragraph_funcs.C (TeXOnePar): adjust
968 (outerFont): new func...
969 (realizeFont): ...moved out from here, changed this to facilitate
972 * paragraph.C (getFont): take outerfont as arg, adjust
973 (simpleTeXOnePar): add outerfont arg, adjust
975 * buffer.C (simpleLinuxDocOnePar): adjust
976 (simpleDocBookOnePar): adjust
978 * CutAndPaste.C (pasteSelection): adjust
980 * BufferView.C (getEncoding): adjust
982 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
984 * text2.C (setCharFont): adjust
987 * text.C (leftMargin): adjust
988 (setHeightOfRow): adjust
990 * rowpainter.C (paintFirst): adjust
993 * paragraph_pimpl.C (realizeFont): adjust
995 * paragraph.C (isFirstInSequence): move from here...
996 * paragraph_funcs.C (isFirstInSequence): ...to here
998 * paragraph.C (outerHook): move from here...
999 * paragraph_funcs.C (outerHook): ...to here
1001 * paragraph.C (depthHook): move from here...
1002 * paragraph_funcs.C (depthHook): ...to here
1004 * paragraph.C (getEndLabel): move from here...
1005 * paragraph_funcs.C (getEndLabel): ...to here
1007 * text2.C (realizeFont): move from here...
1008 * paragraph_funcs.C (realizeFont): ...to here
1010 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1012 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1014 2003-04-14 Angus Leeming <leeming@lyx.org>
1016 * LColor.[Ch]: scrap LColor mathcursor.
1018 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * lyxlex.[Ch] (text): delete function
1021 * trans.C (Load): adjust
1022 * paragraph_funcs.C (readParToken): adjust
1024 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1026 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1027 vector<char> instead of a char[].
1029 * lyxlex_pimpl.C (getString): adjust
1031 (lex): use getString
1035 * lyxlex.C (text): use pimpl_->getString()
1039 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1041 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1042 (makeFontEntriesLayoutSpecific): temp var for par.size()
1043 (setLayout): temp var for ownerParagraphs().end()
1044 (fullRebreak): temp var for rows().end()
1045 (selectionAsString): temp var for boost::next(startpit), realize
1046 that the while really is a regular for loop.
1047 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1048 setCursor in one place.
1049 (setParagraph): temp vr for ownerParagraphs().end()
1050 (updateCounters): make the while loop a for loop
1051 (cutSelection): temp var for ownerParagraphs().end()
1052 (updateInset): make the do {} while() a regular for loop
1053 (getCursorX): use temp vars
1054 (setCurrentFont): use temp vars
1055 (getColumnNearX): use temp vars
1057 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1059 * text.C (transformChar): use temp var for getChar
1060 (computeBidiTables): use temp var for row->par()
1061 (fill): move temp vars for row->par() and pit->layout() earlier in
1063 (labelFill): use temp var for row->par()
1064 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1065 asc and desc, realize that pit never changes and that firstpit is
1066 just a duplicate and not needed. Exchange rit->par() with pit in a
1068 (breakAgain): use a temp var for boost::next(rit)
1069 (breakAgainOneRow): ditto
1070 (breakParagraph): use a temp var for rows().begin()
1071 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1072 (cursorRightOneWord): use temp var for cursor.par() and
1073 cursor.pos(), remove usage of tmpcursor.
1074 (cursorLeftOneWord): use temp var for cursor.par() and
1075 cursor.pos() only set cur at end of function.
1077 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1079 * text.C, text2.C: exchange all usage of Paragraph::next with
1080 boost::next(ParagraphList::iterator)
1082 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1084 * text2.C (cursorTop): simplify implementation
1085 (cursorBottom): ditto
1086 (setParagraph): use ParagraphList::iterator
1087 (setCurrentFont): adjust
1088 (getColumnNearX): adjust
1089 (cursorRight): adjust
1090 (cursorLeft): remove usage of Paragraph::previous
1091 (cursorUpParagraph): ditto
1092 (deleteEmptyParagraphMechanism): slight cleanup
1094 * text.C (isBoundary): take a Paragraph const & instead of a
1096 (addressBreakPoint): ditto
1097 (leftMargin): remove usage of Paragraph::previous.
1098 (setHeightOfRow): ditto
1099 (cursorLeftOneWord): ditto
1100 (selectNextWordToSpellcheck): ditto
1103 (breakParagraph): remove one usage of Paragraph::next
1104 (redoParagraph): ditto
1105 (acceptChange): ditto
1106 (insertChar): adjust
1107 (rowBreakPoint): adjust
1109 * bufferview_funcs.C (toggleAndShow): adjust
1111 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1113 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1114 methods to access it.
1116 * text.C: Added updateRowPositions to compute all row positions.
1117 Make top_y and getRowNearY() to use the cached y position
1119 2003-04-11 John Levon <levon@movementarian.org>
1121 * text.C (rowBreakPoint): reintroduce the labelEnd
1122 checks, code copied from the row fill stuff. Deep voodoo.
1124 * text.C (fill): add a comment and debugging for the
1127 2003-04-11 John Levon <levon@movementarian.org>
1129 * text.C: make sure fullrow insets get wrapped to the next line,
1130 even when they're in a manual label
1132 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1134 * text2.C (insertParagraph): make it take ParagraphList::iterator
1136 (setLayout): make it return ParagraphList::iterator
1137 (redoParagraphs): ditto
1139 (checkParagraph): ditto
1141 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1143 * text2.C: adjust several funcs.
1144 (realizeFont): take a ParagraphList::iterator as arg.
1145 (getLayoutFont): ditto
1146 (getLabelFont): ditto
1147 (setCharFont): ditto
1149 * text.C: adjust several funcs.
1151 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1153 * text.C (selectNextWordToSpellcheck): don't accidentally
1156 2003-04-10 John Levon <levon@movementarian.org>
1158 * ToolbarBackend.C (getIcon): special handling for
1161 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1163 * text2.C (cursorRight): a getChar assert fixed
1165 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1167 * text2.C (getFont): change to take a ParagraphList::iterator
1168 instead of Paragraph*
1169 Adjust several functions.
1171 * text.C (transformChar): change to take a ParagraphList::iterator
1172 instead of Paragraph*
1173 (singleWidth): ditto
1174 Adjust several functions.
1176 * rowpainter.C: adjust several functions
1177 * rowpainter.h:store a ParagraphList::iterator and not a
1181 2003-04-09 John Levon <levon@movementarian.org>
1186 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1187 and the "help" bits as well
1189 2003-04-09 John Levon <levon@movementarian.org>
1192 * ToolbarBackend.C: allow multiple toolbars
1194 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1196 * undo_funcs.C (setCursorParUndo): adjust
1198 * text_funcs.C (transposeChars): adjust
1200 * text3.C (gotoNextInset): adjust
1203 * text2.C (setLayout): adjust
1204 (changeDepth): adjust
1206 (redoParagraphs): adjust
1207 (selectionAsString): adjust
1208 (setParagraph): adjust
1209 (insertInset): adjust
1210 (cutSelection): adjust
1211 (copySelection): adjust
1212 (pasteSelection): adjust
1213 (insertStringAsLines): adjust
1214 (updateInset): adjust
1215 (setCursor): change to take a ParagraphList::iterator parameter
1216 (setCursorIntern): change to take a ParagraphList::iterator parameter
1217 (setCurrentFont): adjust
1218 (cursorLeft): adjust
1219 (cursorRight): adjust
1220 (deleteEmptyParagraphMechanism): adjust
1222 * text.C (breakParagraph): adjust
1223 (insertChar): adjust
1224 (acceptChange): adjust
1225 (rejectChange): adjust
1226 (selectNextWordToSpellcheck): adjust
1227 (changeCase): adjust
1231 * lyxfind.C (SearchForward): adjust
1232 (SearchBackward): adjust
1233 (nextChange): adjust
1235 * lyxcursor.C (par): adjust
1237 * lyxcursor.h: store a ParagraphList::iterator instead of a
1240 * lyx_cb.C (getPossibleLabel): adjust
1242 * bufferview_funcs.C (toggleAndShow): adjust
1244 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1247 * BufferView.C (removeAutoInsets): adjust
1248 (lockedInsetStoreUndo): adjust
1250 2003-04-09 John Levon <levon@movementarian.org>
1252 * ToolbarBackend.C: try icon without argument
1253 if with argument fails
1255 2003-04-08 John Levon <levon@movementarian.org>
1258 * ToolbarBackend.C: add getIcon(), handle tooltip,
1259 and change from "Icon" to "Item".
1261 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1263 * BufferView.C (lockInset): another bad getchar crunched
1265 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1267 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1270 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1272 * lyxfind.C (searchForward, searchBackwards): bug 782
1274 2003-04-07 John Levon <levon@movementarian.org>
1276 * paragraph.C: remove dead comment
1278 * text.C: remove troublesome depth-fiddling code
1279 in leftMargin() and rightMargin() (bug 1017)
1281 * text.C: fix breaking of rows in nested lists
1284 * text2.C (updateCounters): fix up depth values
1287 2003-04-07 John Levon <levon@movementarian.org>
1289 * BufferView_pimpl.C: clear message when doc finishes resizing,
1290 and after a mouse event
1292 * lyxfunc.C: clear message after exiting inset
1294 2003-04-07 John Levon <levon@movementarian.org>
1296 * bufferview_funcs.C: show math status not outside
1297 status in the statusbar
1299 2003-04-07 John Levon <levon@movementarian.org>
1301 * lyxfunc.C: note status changed after a depth change
1303 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1305 * LaTeX.h: move AuxInfo operator==, != out of line.
1306 Remove LaTeX virtual destructor; nothing derives from it.
1307 Move operator()() out of public area and rename it startscript().
1308 Change protected for private.
1310 2003-04-04 Angus Leeming <leeming@lyx.org>
1313 * text2.C: remove unneeded #includes.
1315 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1317 * text2.C (dEPM): fix the heigth of the next row
1319 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1321 * text.C: squashed an invalid getChar requester + some ws changes
1323 2003-04-03 John Levon <levon@movementarian.org>
1325 * bufferview_funcs.h:
1326 * bufferview_funcs.C:
1329 * text2.C: make getStatus work for the env depth lfuns
1331 2003-04-03 John Levon <levon@movementarian.org>
1333 * bufferview_funcs.h:
1334 * bufferview_funcs.C:
1337 * text2.C: parlistize decDepth(), by merging it with incDepth()
1339 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * lyxrow.h: store a ParagraphList::iterator instead of a
1342 Paragraph* and adjust other class functions to suit.
1344 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1347 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1349 * text2.C (setCursor): do not anchor to cursor row for the time being
1351 2003-04-02 John Levon <levon@movementarian.org>
1358 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1360 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1362 * paragraph.h: make ParagraphList and ParagraphList::iterator
1363 friends of Paragraph.
1365 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1367 * ParagraphList.C: Use the private next_ and previous_ from
1370 2003-04-01 John Levon <levon@movementarian.org>
1374 * Makefile.am: rename, remove defaults gunk
1377 * MenuBackend.C: remove defaults gunk
1380 * Languages.C: remove defaults gunk
1383 * lyx_main.C: error out if files couldn't be found.
1385 2003-04-02 John Levon <levon@movementarian.org>
1387 * text2.C: make incDepth() use parlist
1389 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1391 * undo_funcs.C (firstUndoParagraph): adjust
1393 * text3.C (gotoInset): adjust
1394 (dispatch): adjust, and rewrite loop.
1396 * text2.C (init): adjust, and rewrite loop.
1397 (redoParagraphs): adjust
1398 (updateInset): adjust, and rewrite loop.
1399 (deleteEmptyParagraphMechanism): adjust
1401 * tabular.C (LyXTabular): adjust
1402 (SetMultiColumn): adjust
1405 * lyxtext.[Ch] (ownerParagraph): delete function
1406 (ownerParagraphs): new function returns a ParagraphList.
1408 * BufferView.C (removeAutoInsets): adjust
1409 (insertErrors): adjust
1410 (setCursorFromRow): adjust
1412 2003-04-01 Angus Leeming <leeming@lyx.org>
1414 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1417 2003-04-02 John Levon <levon@movementarian.org>
1423 * text_funcs.C: make transposeChars a free function
1425 * lyxrow_funcs.C: remove wrong comment
1427 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1430 * rowpainter.C: adjust
1435 * lyxrow_funcs. [Ch]: new files
1437 * lyxrow.[Ch]: remove next and previous pointers
1438 (next,previous): remove accessor functions
1439 (isParEnd): move to lyxrow_funcs
1440 (lastPos): move to lyxrow_funcs
1441 (nextRowIsAllInset): move to lyxrow_funcs
1442 (lastPrintablePos): move to lyxrow_funcs
1443 (numberOfSeparators): move to lyxrow_funcs
1444 (numberOfHfills): move to lyxrow_funcs
1445 (numberOfLabelHfills): move to lyxrow_funcs
1446 (hfillExpansion): move to lyxrow_funcs
1450 * bufferview_funcs.C (toggleAndShow): adjust
1452 * RowList.h: Remove class RowList from file leave just a
1455 * RowList.C: delete file
1457 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1460 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1462 * text3.C (cursorPrevious): adjust
1463 (cursorNext): adjust
1466 * text2.C (redoHeightOfParagraph): adjust
1467 (redoDrawingOfParagraph): adjust
1470 * text.C (breakParagraph): adjust
1471 (insertChar): adjust
1474 * rowpainter.C (RowPainter): adjust
1475 (leftMargin): simplify and adjust
1476 (most rowpainter functions): adjust.
1478 * rowpainter.h: store the row as RowList::iterator not as Row*
1480 * lyxcursor.C (row): taka RowList::iterator as arg
1483 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1486 2003-04-01 Angus Leeming <leeming@lyx.org>
1488 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1489 stuff like bool Bool.
1491 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1493 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1496 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1501 * lyxtext.h (rows): drop one version and leve a const variant that
1502 returns a RowList::iterator.
1504 2003-03-31 Angus Leeming <leeming@lyx.org>
1506 * text.C (fill): ensure that the signature is the same as that in the
1509 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1511 * text2.C (redoParagraphs): adjust
1512 (updateCounters): adjust
1513 (checkParagraph): adjust
1514 (getColumnNearX): adjust and reformat a bit.
1516 * text.C (top_y): adjust
1518 (leftMargin): adjust
1519 (prepareToPrint): adjust
1521 (getRowNearY): adjust
1523 * lyxtext.h: make rowlist_ mutable.
1525 * RowList.h: add const_iterator
1526 * RowList.C: adjust for RowList::const_iterator.
1528 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1531 2003-03-31 John Levon <levon@movementarian.org>
1534 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1536 * lyx_main.C: set default fonts from using lyx_gui funcs
1538 * exporter.C: pdf_mode moved from lyxrc
1541 * lyxfunc.C: changes from above
1543 2003-03-31 John Levon <levon@movementarian.org>
1545 * lyx_main.C: fix to the last fix
1547 2003-03-31 John Levon <levon@movementarian.org>
1549 * bufferlist.C: "Load original" -> "Load Original"
1555 * format.C: more Alert cleanups
1557 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1559 * text2.C (removeParagraph): make it take a RowList::iterator as
1561 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1562 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1564 * text.C (anchor_row): make it take a RowList::iterator as arg,
1566 (computeBidiTables): make it take a const reference to Row instead
1567 of Row pointer, adjust.
1568 (leftMargin): make it take a RowList::iterator as arg, adjust.
1569 (rowBreakPoint): adjust
1570 (breakAgainOneRow): make it take a RowList::iterator as arg,
1572 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1574 * bufferview_funcs.C (toggleAndShow): adjust
1576 2003-03-30 John Levon <levon@movementarian.org>
1580 * boost-inst.C: moved to support
1582 * several files: changes as a result
1584 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1586 * text2.C (LyXText): adjust.
1588 (removeRow): make it take a RowList::iterator as arg, adjust.
1589 (fullRebreak): adjust
1590 (deleteEmptyParagraphMechanism): adjust
1591 (clearPaint): adjust
1594 * text.C (top_y): adjust
1595 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1596 (breakAgain): make it take a RowList::iterator as arg, adjust.
1597 (breakParagraph): adjust
1598 (insertChar): adjust
1601 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1602 need_break_row, and refresh_row.
1604 * text3.C (dispatch): adjust
1606 * text2.C (checkParagraph): adjust
1608 (setCursorFromCoordinates): adjust
1610 * text.C (top_y): adjust
1612 (getRow): make it return a RowList::iterator, adjust
1613 (getRowNearY): make it return a RowList::iterator, adjust
1615 * text2.C (init): adjust
1616 (insertRow): remove function
1617 (insertParagraph): adjust
1618 (redoParagraphs): adjust
1619 (fullRebreak): adjust
1620 (updateCounters): adjust
1622 * text.C (top_y): rewrite to use RowList iterators.
1624 (setHeightOfRow): rewrite to sue RowList iterators.
1625 (appendParagraph): adjust
1626 (breakAgain): adjust
1627 (breakAgainOneRow): adjust
1628 (breakParagraph): adjust
1630 (getRowNearY): adjust, and remove commented code.
1632 * lyxtext.h (firstRow): delete function
1633 (lastRow): delete function
1634 (rows): new function (const and non-const versions.)
1635 (insertRow): delete function
1637 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1639 2003-03-29 John Levon <levon@movementarian.org>
1641 * BufferView_pimpl.C: always update scrollbar top
1642 because pasting text when we're anchored could mean we
1643 miss an update altogether
1645 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * text2.C (init): use rowlist_.end() and not 0.
1648 (insertRow): change to take a RowList::iterator as arg, adjust
1650 (insertParagraph): change to take a RowList::iterator as arg,
1652 (redoParagraphs): remove some debug msgs.
1654 * text.C (appendParagraph): change to take a RowList::iterator
1655 arg, adjust for this.
1656 (breakAgain): add an assert
1657 (breakAgainOneRow): ditto
1659 2003-03-29 John Levon <levon@movementarian.org>
1661 * text2.C: do not clear selection after inc/decDepth
1664 2003-03-29 John Levon <levon@movementarian.org>
1667 * buffer.C: fix broken strerrors according to Lars
1669 2003-03-29 John Levon <levon@movementarian.org>
1671 * converters.C: more Alert cleanups
1673 2003-03-29 John Levon <levon@movementarian.org>
1675 * bufferview_funcs.C: remove pointless Alert
1677 * buffer.C: fix confusing error message when
1678 a template is chmoded 000
1680 2003-03-29 John Levon <levon@movementarian.org>
1684 * BufferView_pimpl.C: Alert fixes
1688 * tabular-old.C: remove unused table compat reading
1690 2003-03-29 John Levon <levon@movementarian.org>
1695 * lyx_cb.C: more Alert cleanups
1697 * lyxfunc.C: don't allow chktex if not latex document
1699 2003-03-29 John Levon <levon@movementarian.org>
1703 * buffer.C: warnings pushed down from support/,
1706 2003-03-29 John Levon <levon@movementarian.org>
1708 * lyxfunc.C: safety check for C-r (revert)
1710 2003-03-29 John Levon <levon@movementarian.org>
1713 * bufferlist.C: several UI fixes using Alert::prompt.
1714 Fix the pointless looping quit code. Fix stupid revert
1719 * lyx_cb.C: use Alert::prompt
1721 * lyx_main.C: remove a silly question
1723 * lyxfunc.C: remove a couple of silly questions,
1726 2003-03-28 John Levon <levon@movementarian.org>
1728 * text2.C: fix bug 974 (End on empty par)
1730 2003-03-28 John Levon <levon@movementarian.org>
1732 * BufferView_pimpl.C:
1734 * lfuns.h: remove do-nothing math greek lfuns
1736 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1738 * lyxgluelength.h (isValidGlueLength): add default arg on
1739 parameter 2. Remove default arg from friend in class.
1741 * lyxlength.h (isValidLength): add default arg on parameter 2.
1742 Remove default arg from friend in class.
1744 * text2.C (LyXText): adjust, initialize refresh_row.
1748 (insertParagraph): adjst
1749 (redoParagraphs): adjust
1750 (fullRebreak): adjust
1751 (updateCounters): adjust
1752 (deleteEmptyParagraphMechanism): first attempt at fixing a
1755 * text.C (top_y): adjust
1756 (setHeightOfRow): adjust
1758 (getRowNearY): adjust
1760 * lyxtext.h: include RowList.h
1761 (~LyXText): not needed anymore, deleted.
1762 (firstRow): modify for RowList
1763 (lastRow): new function
1764 Delete firstrow and lastrow class variables, add a Rowlist
1765 rowlist_ class variable.
1767 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1770 * RowList.C (insert): fix case where it == begin().
1772 2003-03-26 Angus Leeming <leeming@lyx.org>
1774 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1775 the thesaurus dialog.
1777 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1779 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1781 * RowList.[Ch]: new files
1783 * ParagraphList.C (erase): handle the case where it == begin
1786 2003-03-25 John Levon <levon@movementarian.org>
1790 * aspell.C: add new aspell support
1793 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1796 2003-03-25 Angus Leeming <leeming@lyx.org>
1799 * LyXAction.C (init): new LFUN_INSET_INSERT.
1801 * BufferView_pimpl.C (dispatch): split out part of the
1802 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1804 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1807 2003-03-25 Angus Leeming <leeming@lyx.org>
1809 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1811 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1814 * text3.C: remove useless row->height(0)
1816 2003-03-25 John Levon <levon@movementarian.org>
1820 * text3.C: rename the refreshing stuff to better names
1822 2003-03-24 John Levon <levon@movementarian.org>
1824 * BufferView_pimpl.h:
1825 * BufferView_pimpl.C: update layout choice on a mouse
1828 2003-03-23 John Levon <levon@movementarian.org>
1830 * Makefile.am: fix commandtags.h reference
1832 2003-03-22 John Levon <levon@movementarian.org>
1834 * BufferView_pimpl.C:
1839 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1841 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1844 * text.C: take the rtl methods out of line
1846 2003-03-21 André Pönitz <poenitz@gmx.net>
1848 * metricsinfo.[Ch]: new files containing structures to be passed around
1849 during the two-phase-drawing...
1851 2003-03-21 André Pönitz <poenitz@gmx.net>
1853 * lyxtextclass.C: read 'environment' tag.
1855 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1857 * text2.C (removeRow): fix bug 964
1859 2003-03-20 John Levon <levon@movementarian.org>
1863 * text2.C: paint cleanups. Inset::update() dropped font
1866 2003-03-19 John Levon <levon@movementarian.org>
1868 * lyxfunc.C: only fitcursor/markDirty if available()
1870 2003-03-19 John Levon <levon@movementarian.org>
1872 * commandtags.h: rename to ...
1874 * lfuns.h: ... this, and renumber / cleanup
1876 2003-03-19 John Levon <levon@movementarian.org>
1878 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1879 fit the cursor after an lfun
1883 * BufferView_pimpl.h:
1884 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1886 * LyXAction.C: layout-character should have ReadOnly
1888 * ParagraphParameters.C:
1890 * bufferview_funcs.C:
1897 * undo_funcs.C: changes from above
1899 2003-03-18 John Levon <levon@movementarian.org>
1901 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1902 remove it from update()
1904 * lyxfunc.C: update layout choice after an lfun
1906 * text3.C: remove extra updateLayoutChoice()s
1908 2003-03-18 John Levon <levon@movementarian.org>
1910 * text.C: top_y change means full repaint, fix
1911 a drawing bug with cursor movement
1913 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1917 * text2.C: anchor row on setCursor
1919 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1921 * lyxtext.h: remove almost all mutable keywords
1924 * text3.C: remove const keywords accordingly
1926 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1928 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1930 (TeXEnvironment): ditto
1933 2003-03-17 John Levon <levon@movementarian.org>
1935 * text.C (rowBreakPoint): remove attempt to fix displayed
1936 math insets inside a manual label
1938 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1940 * lyxtext.h: remove BufferView* as first arg from almost all class
1942 * other files: adjust.
1944 2003-03-17 John Levon <levon@movementarian.org>
1948 * text2.C: more paint cleanups
1950 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1953 * rowpainter.C: remove "smart" background painting code
1955 2003-03-16 John Levon <levon@movementarian.org>
1960 * text3.C: add helper functions for setting refresh_row/y
1962 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1964 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1965 newline inset which *can* get inserted in the pass_thru layouts.
1966 This is primarily for literate documents.
1968 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1970 * buffer.C: increment LYX_FORMAT to 223
1972 2003-03-14 André Pönitz <poenitz@gmx.net>
1974 * textclass.h: prepare for environment handling, ws changes
1975 * lyxlayout.C: read latexheader and latexfooter tags
1977 2003-03-14 John Levon <levon@movementarian.org>
1979 * text2.C: rewrite ::status() a bit
1981 2003-03-13 John Levon <levon@movementarian.org>
1983 * lyxtext.h: add some docs
1985 2003-03-13 John Levon <levon@movementarian.org>
1990 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1992 2003-03-13 John Levon <levon@movementarian.org>
1994 * text3.C: fix appendix redrawing
1996 2003-03-13 John Levon <levon@movementarian.org>
1998 * text.C (setHeightOfRow):
2000 * rowpainter.C: make appendix mark have the text
2001 "Appendix" so the user knows what it is
2004 * LColor.C: s/appendixline/appendix/ from above
2006 2003-03-13 John Levon <levon@movementarian.org>
2008 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2010 * text.C: fix a getChar(pos) bug properly
2012 2003-03-13 Angus Leeming <leeming@lyx.org>
2015 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2016 Probably only temporary. Let's see how things pan out.
2018 * BufferView.C (unlockInset):
2019 * BufferView_pimpl.C (fitCursor):
2020 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2022 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2023 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2025 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2026 new functions that convert ParagraphParameters to and from a string.
2028 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2029 BufferView::Pimpl's dispatch.
2030 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2032 2003-03-13 André Pönitz <poenitz@gmx.net>
2036 * factory.C: make it aware of InsetEnv
2038 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * text2.C (setCursor): never ask for one past last
2041 (setCursor): add some debugging messages.
2043 * text.C (singleWidth): never ask for one past last
2044 (singleWidth): ditto
2046 (rightMargin): ditto
2047 (rowBreakPoint): ditto
2048 (setHeightOfRow): ditto
2049 (prepareToPrint): ditto
2051 * rowpainter.C (paintBackground): never ask for one past last
2052 (paintText): never ask for one past last
2054 * paragraph_pimpl.C (getChar): make the assert stricter, never
2055 allow the one past last pos to be taken
2057 * paragraph.C (getChar): ws changes only
2059 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2060 (numberOfSeparators): ditto
2061 (numberOfHfills): ditto
2063 2003-03-12 John Levon <levon@movementarian.org>
2069 * paragraph_funcs.C: fix per-buffer authorlists
2071 2003-03-12 John Levon <levon@movementarian.org>
2073 * text.C: fix newline in right address
2075 2003-03-12 Angus Leeming <leeming@lyx.org>
2077 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2078 duplicate those in LyXFunc::dispatch.
2082 * ToolbarDefaults.C:
2083 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2084 Add LFUN_FONTFREE_UPDATE.
2086 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2087 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2089 * bufferview_func.[Ch]: several new functions to facilliate
2090 transfer of data to and from the character dialog.
2092 2003-03-12 John Levon <levon@movementarian.org>
2097 * paragraph_funcs.C:
2098 * paragraph_pimpl.C:
2102 * text3.C: remove META_NEWLINE in favour of an inset
2105 * rowpainter.C: remove paintNewline (done by inset)
2107 2003-03-12 John Levon <levon@movementarian.org>
2109 * paragraph_pimpl.C: complain about bad getChar()s
2110 for a while at least
2112 2003-03-12 John Levon <levon@movementarian.org>
2115 * buffer.C: move paragraph read into a separate function,
2116 a little renaming to reflect that.
2119 * bufferparams.C: remove the author_ids map, not necessary now
2122 * factory.C: moved Buffer::readInset to here
2124 * paragraph_funcs.h:
2125 * paragraph_funcs.C: readParagraph free function moved from
2128 * tabular.C: name change
2130 2003-03-12 John Levon <levon@movementarian.org>
2133 * ParagraphParameters.C: move par params input to
2136 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2137 behave like a normal read from the stream wrt reading
2138 a line vs. a \\token
2140 2003-03-12 John Levon <levon@movementarian.org>
2143 * ParagraphParameters.h:
2144 * ParagraphParameters.C: move output code to a
2147 2003-03-12 John Levon <levon@movementarian.org>
2149 * BufferView.C (insertLyXFile):
2152 * tabular.C: use a parlist iterator for creating the
2155 2003-03-12 John Levon <levon@movementarian.org>
2157 * buffer.C: make current_change static local not
2160 2003-03-12 John Levon <levon@movementarian.org>
2162 * buffer.C: fix insertStringAsLines for change tracking
2164 2003-03-12 John Levon <levon@movementarian.org>
2171 * bufferparams.C: move author list into params. Rename some
2172 functions. Move the header reading into a separate token
2173 loop. Move the header token reading into BufferParams.
2175 2003-03-12 John Levon <levon@movementarian.org>
2177 * changes.C: put debug inside lyxerr.debugging() checks
2179 2003-03-11 André Pönitz <poenitz@gmx.net>
2181 * factory.C: make it aware of InsetHFill
2183 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2185 * buffer.C (latexParagraphs): move function from here...
2186 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2189 2003-03-10 Angus Leeming <leeming@lyx.org>
2191 * LyXAction.C (init): fix bug in poplating array with multiple entries
2192 with the same LFUN (spotted by JMarc).
2194 2003-03-10 John Levon <levon@movementarian.org>
2197 * text2.C: move getColumnNearX() near its
2200 2003-03-10 John Levon <levon@movementarian.org>
2202 * text.C: fix break before a minipage
2204 2003-03-10 John Levon <levon@movementarian.org>
2206 * text.C: fix the last commit
2208 2003-03-09 John Levon <levon@movementarian.org>
2212 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2213 bug 365 (don't break before insets unless needed). Don't
2214 return a value > last under any circumstances.
2216 2003-03-09 Angus Leeming <leeming@lyx.org>
2218 * BufferView_pimpl.C (trackChanges, dispatch): call
2219 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2221 2003-03-09 Angus Leeming <leeming@lyx.org>
2223 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2224 than Dialogs::showAboutlyx().
2226 2003-03-09 Angus Leeming <leeming@lyx.org>
2228 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2229 than Dialogs::showTabularCreate().
2231 2003-03-09 John Levon <levon@movementarian.org>
2235 * text2.C: 3rd arg to nextBreakPoint was always the same.
2238 2003-03-08 John Levon <levon@movementarian.org>
2245 * text2.C: Remove the "main" bit from the "main body"
2248 2003-03-08 John Levon <levon@movementarian.org>
2250 * text.C (leftMargin): The left margin of an empty
2251 manual label paragraph should not include the label width
2254 * text.C (prepareToPrint): don't attempt to measure hfills
2255 for empty manual label paragraphs - the answer should be 0
2257 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2259 * CutAndPaste.C: remove commented code and reindent.
2261 2003-03-08 John Levon <levon@movementarian.org>
2264 * lyxfunc.C: move reloadBuffer()
2267 * BufferView.C: to here
2269 * lyxvc.C: add comment
2272 * vc-backend.C: call bv->reload() to avoid
2273 getStatus() check on MENURELOAD
2275 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2277 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2278 to an old format .dep file.
2280 2003-03-07 Angus Leeming <leeming@lyx.org>
2282 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2283 when the LFUN_MOUSE_RELEASE should have been handled by
2284 inset->localDispatch.
2286 2003-03-07 Angus Leeming <leeming@lyx.org>
2288 * BufferView_pimpl.C (dispatch):
2289 * LyXAction.C (init):
2290 * ToolbarDefaults.C (init):
2292 * lyxfunc.C (getStatus):
2293 remove LFUN_INSET_GRAPHICS.
2295 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2297 2003-03-07 Angus Leeming <leeming@lyx.org>
2300 * LyXAction.C (init):
2301 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2303 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2306 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2308 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2309 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2311 2003-03-07 Angus Leeming <leeming@lyx.org>
2313 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2316 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2318 * ParagraphList.C (front): new function
2321 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2323 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2324 and top_row_offset_. removed var first_y.
2326 * text2.C (LyXText, removeRow):
2328 * BufferView_pimpl.C:
2329 use these methods instead of using first_y
2331 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2333 * text2.C (pasteSelection): adjust for checkPastePossible
2335 * CutAndPaste.C: remove Paragraph * buf and replace with
2336 ParagraphList paragraphs.
2337 (DeleteBuffer): delete
2338 (cutSelection): change the tc type to textclass_type
2339 (copySelection): change the tc type to textclass_type
2340 (copySelection): adjust for ParagraphList
2341 (pasteSelection): change the tc type to textclass_type
2342 (pasteSelection): adjust for Paragraphlist
2343 (nrOfParagraphs): simplify for ParagraphList
2344 (checkPastePossible): simplify for ParagraphList
2345 (checkPastePossible): remove unused arg
2347 * ParagraphList.C (insert): handle the case where there are no
2350 * CutAndPaste.h: make CutAndPaste a namespace.
2352 * text3.C (dispatch): adjust
2354 * text.C (breakParagraph): add a ParagraphList as arg
2356 * paragraph_funcs.C (breakParagraph): change to take a
2357 BufferParams and a ParagraphList as args.
2358 (breakParagraphConservative): ditto
2359 (mergeParagraph): ditto
2360 (TeXDeeper): add a ParagraphList arg
2361 (TeXEnvironment): ditto
2364 * buffer.C (readLyXformat2): adjust
2365 (insertStringAsLines): adjust
2366 (latexParagraphs): adjust
2368 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2369 (cutSelection): adjust
2370 (pasteSelection): adjust
2372 * BufferView_pimpl.C (insertInset): adjust
2374 2003-03-05 Angus Leeming <leeming@lyx.org>
2377 * LyXAction.C (init):
2378 * BufferView_pimpl.C (dispatch):
2379 * lyxfunc.C (getStatus):
2380 remove LFUN_CHILD_INSERT.
2382 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2384 2003-03-05 Angus Leeming <leeming@lyx.org>
2387 * LyXAction.C (init):
2388 * src/factory.C (createInset):
2389 * lyxfunc.C (getStatus):
2390 * text3.C (dispatch):
2391 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2393 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2395 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2397 * ParagraphList.C (insert): handle insert right before end()
2398 (erase): fix cases where it can be first or last paragraph.
2400 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2402 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2403 Paragraph::next and Paragraph::previous
2406 * text.C (breakParagraph): adjust
2408 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2409 BufferParams& as arg.
2410 (breakParagraph): use ParagraphList::insert
2411 (breakParagraphConservative): take a Buffer* instead of a
2412 BufferParams& as arg.
2413 (breakParagraphConservative): use ParagraphList::insert.
2415 * buffer.C (insertStringAsLines): un-const it
2416 (insertStringAsLines): adjust
2418 * ParagraphList.C (insert): new function
2420 * CutAndPaste.C (pasteSelection): adjust
2422 * text.C (backspace): adjust
2424 * tabular.C (SetMultiColumn): adjust
2426 * CutAndPaste.C (cutSelection): adjust
2427 (pasteSelection): adjust
2429 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2430 Buffer const * as arg
2432 * ParagraphList.C (erase): new function
2433 * paragraph_funcs.C (mergeParagraph): use it
2434 (mergeParagraph): make it take a Buffer* instead of a
2435 BufferParams* as arg
2437 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2439 (breakParagraphConservative): ditto
2441 * paragraph.h: remove the breakParagraph friend
2443 * paragraph.C (eraseIntern): new function
2444 (setChange): new function
2446 * paragraph_funcs.C (mergeParagraph): make it take a
2447 ParagraphList::iterator instead of a Paragraph *, adjust
2450 * paragraph.h: move an #endif so that the change tracking stuff
2451 also works in the NO_NEXT case.
2453 2003-03-04 Angus Leeming <leeming@lyx.org>
2456 * LyXAction.C: new LFUN_INSET_MODIFY.
2458 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2459 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2461 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2463 * several files: ws changes only
2465 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2466 (TeXEnvironment): ditto
2469 * buffer.C (makeLaTeXFile): adjust
2470 (latexParagraphs): make it take ParagraphList::iterator as args
2472 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * buffer.C (latexParagraphs): adjust
2476 * paragraph.C (TeXOnePar): move function...
2477 (optArgInset): move function...
2478 (TeXEnvironment): move function...
2479 * paragraph_pimpl.C (TeXDeeper): move function...
2480 * paragraph_funcs.C: ...here
2482 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2484 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * buffer.C (readInset): remove compability code for old Figure and
2489 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * buffer.C: ws changes
2494 * BufferView_pimpl.C: ditto
2497 * bufferlist.h: ditto
2501 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2503 * converter.[Ch]: split into itself +
2506 * Makefile.am: += graph.[Ch] + format.[Ch]
2513 * lyxrc.C: added #include "format.h"
2515 2003-02-27 Angus Leeming <leeming@lyx.org>
2517 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2520 * factory.C (createInset): add "label" to the factory.
2522 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2523 string and do no more.
2525 2003-02-27 Angus Leeming <leeming@lyx.org>
2528 * LyXAction.C (init):
2529 * factory.C (createInset):
2530 * BufferView_pimpl.C (dispatch):
2531 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2533 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2535 * lyxfunc.C (dispatch):
2536 * text3.C (dispatch): pass name to params2string.
2538 2003-02-26 Angus Leeming <leeming@lyx.org>
2540 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2542 Rearrange the ~includes. Strip out the unnecessary ones.
2544 * factory.C (createInset): reformat.
2545 create new insets for the various LFUN_XYZ_APPLY lfuns.
2547 2003-02-26 John Levon <levon@movementarian.org>
2550 * lyxrow.C: add isParStart,isParEnd helpers
2552 * paragraph.h: make isInserted/DeletedText take refs
2554 * paragraph_funcs.h:
2555 * paragraph_funcs.C: remove #if 0'd code
2560 * text.C: use lyxrow helpers above.
2561 Move draw and paint routines to RowPainter.
2562 Make several methods use refs not pointers.
2563 Make backgroundColor() const.
2564 Add markChangeInDraw(), isInInset().
2565 Merge changeRegionCase into changeCase.
2566 Make workWidth() shouldn't-happen code into an Assert.
2569 * rowpainter.C: new class for painting a row.
2572 * vspace.C: make inPixels take a ref
2574 2003-02-26 Angus Leeming <leeming@lyx.org>
2576 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2579 2003-02-25 John Levon <levon@movementarian.org>
2581 * ispell.C: give the forked command a more accurate name
2583 2003-02-22 John Levon <levon@movementarian.org>
2586 * toc.C: make TocItem store an id not a Paragraph *
2589 2003-02-21 Angus Leeming <leeming@lyx.org>
2591 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2592 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2593 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2594 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2595 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2596 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2598 * BufferView_pimpl.C (dispatch):
2599 * LyXAction.C (init):
2600 * factory.C (createInset):
2601 * lyxfunc.C (getStatus, dispatch):
2602 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2604 2003-02-21 Angus Leeming <leeming@lyx.org>
2606 * BufferView_pimpl.C (MenuInsertLyXFile):
2607 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2608 * lyxfunc.C (menuNew, open, doImport):
2609 no longer pass a LyXView & to fileDlg.
2611 2003-02-21 Angus Leeming <leeming@lyx.org>
2613 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2614 * LyXAction.C: change, BIBKEY to BIBITEM.
2615 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2616 Change InsetBibKey to InsetBibitem.
2617 Change BIBKEY_CODE to BIBITEM_CODE.
2618 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2619 * factory.C: replace insetbib.h with insetbibitem.h.
2620 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2621 * paragraph.C: replace insetbib.h with insetbibitem.h.
2622 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2623 Change bibkey() to bibitem().
2624 * text.C: remove insetbib.h.
2625 * text2.C: replace insetbib.h with insetbibitem.h.
2626 change bibkey() to bibitem().
2627 * text3.C: remove insetbib.h.
2628 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2630 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2632 * lyxrc.C (output): enclose user email in quotes (in case there are
2635 2003-02-18 John Levon <levon@movementarian.org>
2637 * buffer.h: add std::
2639 2003-02-17 John Levon <levon@movementarian.org>
2645 * pspell.C: reworking. Especially in ispell, a large
2646 number of clean ups and bug fixes.
2648 * lyxfunc.C: fix revert to behave sensibly
2650 2003-02-17 André Pönitz <poenitz@gmx.net>
2653 * commandtags.h: new LFUN_INSERT_BIBKEY
2663 * paragraph_func.C: remove special bibkey handling
2665 2003-02-17 John Levon <levon@movementarian.org>
2667 * text.C (Delete): fix case where delete at the end of
2668 the very first paragraph would not merge the pars
2670 2003-02-17 John Levon <levon@movementarian.org>
2672 * lyxrow.C: fix lastPrintablePos()
2674 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2676 * bufferparams.C (writeLaTeX): add a std:here
2678 * buffer.C: and remove a using directive there
2680 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2682 * buffer.C (makeLaTeXFile): move the code that generates the
2685 * bufferparams.C (writeLaTeX): ... in this new method
2687 * LaTeXFeatures.C (getEncodingSet): make const
2688 (getLanguages): make const
2690 * MenuBackend.C (binding): returns the binding associated to this
2692 (add): sets the status of each item by calling getStatus. Adds
2694 (read): add support for OptSubMenu
2695 (expand): remove extra separator at the end of expanded menu
2697 2003-02-15 John Levon <levon@movementarian.org>
2700 * BufferView_pimpl.C:
2702 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2703 inset code that had no actual effect. Remove unneeded status
2706 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2708 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2711 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2713 * text.C (drawLengthMarker): also draw an arrow marker for
2714 symbolic lengths (medskip...)
2716 2003-02-14 John Levon <levon@movementarian.org>
2719 * tabular.C: better method names
2721 2003-02-14 John Levon <levon@movementarian.org>
2723 * BufferView_pimpl.C:
2728 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2729 it's a more accurate name. Remove some pointless uses.
2731 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2733 * text2.C (LyXText): change order of initilizers to shut off
2736 2003-02-14 John Levon <levon@movementarian.org>
2738 * buffer.C: use ParIterator for getParFromID()
2742 * paragraph_pimpl.h:
2743 * paragraph_pimpl.C: remove unused getParFromID()
2745 2003-02-14 John Levon <levon@movementarian.org>
2747 * buffer.C: remove some very old #if 0'd parse code
2749 2003-02-13 John Levon <levon@movementarian.org>
2753 * text2.C: move hfillExpansion(), numberOfSeparators(),
2754 rowLast(), rowLastPrintable(), numberofHfills(),
2755 numberOfLabelHfills() ...
2758 * lyxrow.C: ... to member functions here.
2763 * text.C: remove LyXText::beginningOfMainBody(), and call
2764 p->beginningOfMainBody() directly. Move the check for
2765 LABEL_MANUAL into the latter.
2772 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2778 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2779 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2781 2003-02-13 John Levon <levon@movementarian.org>
2783 * CutAndPaste.C: remove debug
2785 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2787 * paragraph.C (asString): remove two unused variables
2789 * lyxtextclass.C (readTitleType):
2791 (LyXTextClass): handle new members titletype_ and titlename_
2793 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2795 2003-02-09 John Levon <levon@movementarian.org>
2798 * buffer.C: replace hand-coded list with a map for the dep clean
2800 2003-02-08 John Levon <levon@movementarian.org>
2802 * LaTeX.C: consolidate code into showRunMessage() helper
2804 2003-02-08 John Levon <levon@movementarian.org>
2809 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2810 and pass the size in explicitly
2812 * BufferView_pimpl.h:
2813 * BufferView_pimpl.C:
2815 * BufferView.C: add getCurrentChange()
2817 * BufferView_pimpl.h:
2818 * BufferView_pimpl.C: handle change lfuns
2820 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2821 for changes. Mark pasted paragraphs as new.
2823 * support/lyxtime.h:
2824 * support/lyxtime.C:
2825 * DepTable.C: abstract time_t as lyx::time_type
2828 * LColor.C: add colours for new text, deleted text, changebars
2830 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2831 package use "usenames" option.
2835 * LyXAction.C: add change lfuns
2839 * author.C: author handling
2842 * buffer.C: add a per-buffer author list, with first entry as
2843 current author. Handle new .lyx tokens for change tracking. Output
2844 author list to .lyx file. Output dvipost stuff to .tex preamble.
2845 Bump lyx format to 222.
2848 * bufferlist.C: add setCurrentAuthor() to reset current author details
2852 * bufferparams.C: add param for tracking
2854 * bufferview_funcs.C: output change info in minibuffer
2858 * changes.C: add change-tracking structure
2861 * debug.C: add CHANGES debug flag
2864 * lyxfind.C: add code for finding the next change piece
2867 * lyxrc.C: add user_name and user_email
2870 * lyxrow.C: add a metric for the top of the text line
2873 * text.C: implement accept/rejectChange()
2876 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2877 Strike through deleted text.
2881 * paragraph_pimpl.h:
2882 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2883 to the insert functions. Rework erase to mark text as deleted, adding
2884 an eraseIntern() and a range-based erase(). Implement
2885 per-paragraph change lookup and accept/reject.
2887 * paragraph_funcs.C: Fixup paste for change tracking.
2889 * tabular.C: mark added row/columns as new.
2891 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2892 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2894 * text2.C: leave cursor at end of selection after a cut.
2896 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2898 * text.C (getLengthMarkerHeight):
2899 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2900 visible on screen too.
2902 2003-02-07 John Levon <levon@movementarian.org>
2904 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2906 2003-02-05 Angus Leeming <leeming@lyx.org>
2908 * lyxserver.C (read_ready): revert my patch of 11 September last year
2909 as it sends PC cpu through the roof. Presumably this means that
2910 the lyxserver will no longer run on an Alpha...
2912 2003-01-30 Angus Leeming <leeming@lyx.org>
2914 * factory.C (createInset): create an InsetCommandParam of type "index"
2915 and use it to 'do the right thing'.
2917 * text2.C (getStringToIndex): ensure that cursor position is always
2918 reset to the reset_cursor position.
2920 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2922 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2925 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2929 * lyxfunc.C: Output messages with identical spelling, punctuation,
2932 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2934 * MenuBackend.C (expandFormats): List only viewable export formats
2937 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2940 * lyxfunc.C (getStatus): Make sure that formats other than
2941 "fax" can also be disabled
2943 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2945 * text3.C (dispatch): put the lfuns that insert insets in 3
2946 groups, and call doInsertInset with appropriate arguments.
2947 (doInsertInset): new function, that creates an inset and inserts
2948 it according to some boolean parameters.
2950 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * buffer.C (readFile): remember to pass on 'par' when calling
2953 readFile recursively.
2955 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2957 * MenuBackend.C (expandFormats): add "..." to import formats.
2959 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2961 * paragraph.C (asString): Remove XForms RTL hacks.
2963 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2964 * buffer.C: fix typo
2966 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2968 * Makefile.am (LIBS): delete var
2969 (lyx_LDADD): add @LIBS@ here instead.
2971 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2973 * Clarify the meaning of "wheel mouse jump"
2975 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2977 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2980 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2982 * importer.C (Loaders): do not preallocate 3 elements in the
2983 vector, since one ends up with 6 elements otherwise
2985 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2987 * DepTable.C (write): write the file name as last element of the
2988 .dep file (because it may contain spaces)
2989 (read): read info in the right order
2991 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2993 * paragraph_pimpl.C (simpleTeXBlanks):
2994 (simpleTeXSpecialChars):
2995 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2997 * tabular.C (latex): add some missing case statements. Reindent.
2999 * MenuBackend.C (expandToc): remove unused variable.
3001 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3010 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3013 2003-01-05 John Levon <levon@movementarian.org>
3016 * BufferView.C: add getEncoding()
3019 * kbsequence.C: do not store last keypress
3022 * lyxfunc.C: store last keypress here instead. Pass encoding
3025 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3027 * lyx_main.C (init): remove annoying error message when following
3028 symbolic links (bug #780)
3030 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3032 * text.C (insertChar):
3033 * lyxrc.C (getDescription): remove extra spaces
3035 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3037 * lyxrc.C (getDescription): remove extra spaces
3039 2002-12-20 John Levon <levon@movementarian.org>
3041 * text3.C: hack fix for page up/down across tall rows
3043 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3045 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3048 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3050 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3051 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3052 thesaurus is not compiled in
3054 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3056 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3058 2002-12-16 Angus Leeming <leeming@lyx.org>
3061 * lyx_main.C (init): remove override_x_deadkeys stuff.
3063 2002-12-12 John Levon <levon@movementarian.org>
3065 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3066 insert. Only remove shift modifier under strict
3069 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * MenuBackend.C (expandToc): fix crash.
3073 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3075 * MenuBackend.C (expandToc): gettext on float names.
3077 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3079 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3080 implement bool empty() [bug 490]
3082 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3084 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3086 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3088 * several files: ws changes
3090 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3092 * text2.C (setCounter): clean up a bit, use boost.format.
3093 (updateCounters): initialize par upon declaration.
3095 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3096 if the layout exists. We do not just store the layout any more.
3097 (SwitchLayoutsBetweenClasses): use boost.format
3099 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3101 * converter.C (convert): if from and to files are the same, use a
3102 temporary files as intermediary
3104 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3107 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3109 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3111 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3113 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * tabular.C (asciiPrintCell): use string(size, char) instead of
3118 * sgml.C (openTag): fix order of arguments to string constructor
3121 * lyxfunc.C (dispatch): use boost.format
3123 * lots of files: change "c" -> 'c'
3125 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3127 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3129 2002-11-25 Angus Leeming <leeming@lyx.org>
3131 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3133 * lyx_main.C (init): compile fix.
3135 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3137 * lyx_cb.C (start): boost.formatify
3138 do not include <iostream>
3140 * lengthcommon.C: ws only
3142 * boost-inst.C,BoostFormat.h: add more explict instantations
3144 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * lots of files: handle USE_BOOST_FORMAT
3148 2002-11-21 John Levon <levon@movementarian.org>
3150 * pspell.C: fix compile
3152 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3154 * lyxfunc.C (dispatch): use boost::format
3158 * lyxfont.C (stateText): use boost::format
3160 * lyx_main.C (LyX): use boost::format
3162 (queryUserLyXDir): ditto
3165 (typedef boost::function): use the recommened syntax.
3167 * importer.C (Import): use boost::format
3169 * debug.C (showLevel): use boost::format
3171 * converter.C (view): use boost::format
3176 * bufferview_funcs.C (currentState): use boost::format
3178 * bufferlist.C (emergencyWrite): use boost::format
3180 * buffer.C (readLyXformat2): use boost::format
3181 (parseSingleLyXformat2Token): ditto
3183 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3185 * LaTeX.C (run): use boost::format
3187 * Chktex.C (scanLogFile): use boost::format
3189 * BufferView_pimpl.C (savePosition): use boost::format
3190 (restorePosition): ditto
3191 (MenuInsertLyXFile): ditto
3193 * BoostFormat.h: help file for explicit instation.
3195 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3197 * tabular.C (latex): Support for block alignment in fixed width
3200 2002-11-17 John Levon <levon@movementarian.org>
3202 * BufferView_pimpl.C:
3204 * lyxfunc.C: split filedialog into open/save
3206 2002-11-08 Juergen Vigna <jug@sad.it>
3208 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3209 by my last patch (hopefully).
3211 2002-11-08 John Levon <levon@movementarian.org>
3220 * toc.C: ParConstIterator, and use it (from Lars)
3222 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3224 * lyxtextclass.[Ch]: revise and add doxygen comments
3226 2002-11-07 John Levon <levon@movementarian.org>
3228 * text.C: fix progress value for spellchecker
3230 * toc.C: fix navigate menu for insetwrap inside minipage
3232 * paragraph_funcs.C: added FIXME for suspect code
3234 2002-11-07 John Levon <levon@movementarian.org>
3236 * BufferView_pimpl.C: fix redrawing of insets
3239 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3241 * text2.C (updateCounters): fix bug 668
3243 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3245 * text3.C (dispatch): Do not make the buffer dirty when moving the
3248 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3250 * vc-backend.C: STRCONV
3253 * text2.C (setCounter): STRCONV
3255 * paragraph.C (asString): STRCONV
3257 * lyxlength.C (asString): STRCONV
3258 (asLatexString): ditto
3260 * lyxgluelength.C (asString): STRCONV
3261 (asLatexString): ditto
3263 * lyxfunc.C (dispatch): STRCONV
3266 * lyxfont.C (stateText): STRCONV
3268 * importer.C (Import): STRCONV
3270 * counters.C (labelItem): STRCONV
3271 (numberLabel): ditto
3272 (numberLabel): remove unused ostringstream o
3277 * bufferview_funcs.C (currentState): STRCONV
3279 * buffer.C (readFile): STRCONV
3280 (asciiParagraph): ditto
3281 (makeLaTeXFile): ditto
3283 * Spacing.C (writeEnvirBegin): STRCONV
3285 * LaTeXFeatures.C (getLanguages): STRCONV
3286 (getPackages): ditto
3288 (getBabelOptions): ditto
3289 (getTClassPreamble): ditto
3290 (getLyXSGMLEntities): ditto
3291 (getIncludedFiles): ditto
3295 (scanAuxFile): ditto
3298 * LString.h: add the STRCONV macros
3300 * BufferView_pimpl.C (savePosition): STRCONV
3301 (restorePosition): ditto
3302 (MenuInsertLyXFile): ditto
3304 * vc-backend.C (scanMaster): change from submatch[...] to
3307 * funcrequest.C: include config.h
3309 * factory.C: include config.h
3311 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3313 * box.C: include config.h
3315 * LaTeX.C (scanAuxFile): change from submatch[...] to
3319 2002-10-25 Angus Leeming <leeming@lyx.org>
3321 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3323 * ispell.[Ch] (setError): new method.
3324 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3325 Use setError() insetead of goto END.
3327 * lyx_cb.C (AutoSave): move out child process into new class
3330 2002-10-30 John Levon <levon@movementarian.org>
3332 * text3.C: make start appendix undoable
3334 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3336 * lyxlength.C (inPixels): Fix returned value.
3338 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3341 2002-10-24 Angus Leeming <leeming@lyx.org>
3343 * lyxgluelength.h: no need to forward declare BufferParams
3344 or BufferView, so don't.
3346 2002-10-21 John Levon <levon@movementarian.org>
3348 * BufferView.C: menuUndo ->undo, redo
3350 * BufferView.h: document, remove dead, make some methods private
3352 * paragraph_funcs.h:
3353 * paragraph_funcs.C:
3354 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3359 * sgml.C: move sgml open/close tag into sgml.C
3361 * bufferview_funcs.h: unused prototype
3364 * lyxfunc.C: remove unused
3367 * text.C: remove unused
3369 2002-10-21 John Levon <levon@movementarian.org>
3373 * BufferView_pimpl.h:
3374 * BufferView_pimpl.C: fix mouse wheel handling based on
3375 patch from Darren Freeman
3377 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3379 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3381 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3383 * lyxlength.C (inPixels): Fix hanfling of negative length.
3384 Fix LyXLength::MU case.
3386 2002-10-16 John Levon <levon@movementarian.org>
3388 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3390 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3392 * converter.C (view): add support for $$i (file name) and $$p
3393 (file path) for the viewer command. If $$i is not specified, then
3394 it is appended to the command (for compatibility with old syntax)
3396 2002-10-14 Juergen Vigna <jug@sad.it>
3398 * undo_funcs.C (textHandleUndo): alter the order in which the
3399 new undopar is added to the LyXText, as we have to set first
3400 the right prev/next and then add it as otherwise the rebuild of
3401 LyXText is not correct. Also reset the cursor to the right paragraph,
3402 with this IMO we could remove the hack in "redoParagraphs()".
3404 2002-10-09 Angus Leeming <leeming@lyx.org>
3406 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3407 to turn off an optimisation if a new inset is to be inserted.
3409 2002-10-11 André Pönitz <poenitz@gmx.net>
3411 * lyxtext.h: make some functions public to allow access
3412 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3414 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3416 * text3.C (dispatch): when changing layout, avoid an infinite loop
3419 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3421 * lyxrc.C (read): treat a viewer or converter command of "none" as
3424 * MenuBackend.C (expandFormats): for an update, also allow the
3425 formats that are not viewable
3427 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3428 script if it is newer than the lyxrc.defaults in user directory
3430 2002-10-07 André Pönitz <poenitz@gmx.net>
3432 * text.C: Vitaly Lipatov's small i18n fix
3434 2002-09-25 Angus Leeming <leeming@lyx.org>
3436 * ispell.h: doxygen fix.
3438 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3440 * buffer.h (readFile): Add a new argument to the method, to allow
3441 reading of old-format templates.
3443 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3445 * toc.C (getTocList): Get TOC from InsetWrap.
3447 2002-09-16 John Levon <levon@movementarian.org>
3449 * lyxfunc.C: check tabular for cut/copy too
3451 2002-09-12 John Levon <levon@movementarian.org>
3456 * factory.C: add header
3458 * paragraph_funcs.h:
3459 * paragraph_funcs.C: cleanup
3461 2002-09-11 John Levon <levon@movementarian.org>
3463 * PrinterParams.h: odd/even default to true
3465 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3467 * PrinterParams.h: update printer parameters for new xforms dialog
3469 2002-09-11 Angus Leeming <leeming@lyx.org>
3471 * lyxserver.C (read_ready): re-write to make it more transparent
3472 and to make it work in coherent fashion under Tru64 Unix.
3474 2002-09-11 André Pönitz <poenitz@gmx.net>
3478 * text3.C: implement LFUN_WORDSEL
3480 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3483 make floatlist_ a boost::shared_ptr<FloatList>
3485 * lyxtextclass.C: include FloatList.h
3486 (LyXTextClass): initialize floatlist_
3487 (TextClassTags): add TC_NOFLOAT
3488 (Read): match "nofloat" to TC_NOFLOAT and use it.
3489 (readFloat): modify call to floatlist_
3493 * FloatList.[Ch] (FloatList): remove commented out float
3495 (erase): new function
3497 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3499 * MenuBackend.C (expandToc): fix crash when there is no document
3502 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3504 * many files: Add insetwrap.
3506 2002-09-09 John Levon <levon@movementarian.org>
3508 * text2.C: remove confusing and awkward depth wraparound
3510 2002-09-09 John Levon <levon@movementarian.org>
3512 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3515 * buffer.C: remove getIncludeonlyList()
3518 * lyxfunc.C: remove headers
3520 2002-09-09 Juergen Vigna <jug@sad.it>
3522 * text.C (getColumnNearX): fix form Michael this is most
3523 probably a cut&paste bug.
3525 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3529 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3530 references, ws changes.
3532 * text2.C (init): update counters after init
3533 (insertParagraph): no need to set counter on idividual paragraphs.
3534 (setCounter): access the counters object in the textclass object
3535 on in the buffer object.
3536 (updateCounters): ditto
3538 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3539 shared_ptr<Counters> to avoid loading counters.h in all
3541 (LyXTextClass): initialize ctrs_
3542 (TextClassTags): add TC_COUNTER, and ...
3543 (Read): use it here.
3544 (CounterTags): new tags
3545 (readCounter): new function
3546 (counters): new funtion
3547 (defaultLayoutName): return a const reference
3549 * counters.C (Counters): remove contructor
3550 (newCounter): remove a couple of unneeded statements.
3551 (newCounter): simplify a bit.
3552 (numberLabel): some small formatting changes.
3554 * buffer.[Ch]: remove all traces of counters, move the Counters
3555 object to the LyXTextClass.
3557 2002-09-06 Alain Castera <castera@in2p3.fr>
3559 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3560 package to set the horizontal alignment on fixed width columns.
3563 * lyx_sty.h: added tabularnewline macro def.
3565 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3567 2002-09-06 John Levon <levon@movementarian.org>
3569 * LyXAction.C: tooltips for sub/superscript
3571 * MenuBackend.C: a bit more verbose
3573 * lyxfunc.C: tiny clean
3575 * undo_funcs.C: document undo_frozen
3577 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3579 * counters.C (Counters): add missing algorithm counter.
3581 * text2.C (setCounter): lookup the counter with layouts latexname
3582 instead of by section number.
3583 (setCounter): use a hackish way to lookup the correct enum
3585 a float name->type change
3586 reset enum couners with counter name directly instead of depth value.
3588 * counters.C (Counters): remove the push_backs, change to use the
3589 float type not the float name.
3590 (labelItem): remove unused string, float name->type change
3592 * counters.h: don't include vector, loose the enums and sects vectors
3594 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3597 (Read): add float->TC_FLOAT to textclassTags
3598 (Read): and handle it in the switch
3599 (readFloat): new function
3601 * FloatList.C (FloatList): comment out the hardcoded float
3604 * lyxlayout.h: ws change.
3606 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3608 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3610 2002-09-03 Angus Leeming <leeming@lyx.org>
3612 * BufferView_pimpl.h: qualified name is not allowed in member
3613 declaration: WorkArea & Pimpl::workarea() const;
3615 * factory.C: added using std::endl directive.
3617 * text3.C: added using std::find and std::vector directives.
3619 2002-08-29 André Pönitz <poenitz@gmx.net>
3622 * text2.C: remove unused member number_of_rows
3625 * BufferView2.C: remove file, move contents to...
3626 * BufferView.C: ... here
3628 * BufferView_pimpl.C:
3629 * factory.C: move more inset creation to factory
3631 * vspace.C: avoid direct usage of LyXText, ws changes
3634 don't provide direct access to WorkArea, use two simple
3635 acessors haveSelction() and workHeight() instead
3638 2002-08-29 John Levon <levon@movementarian.org>
3640 * BufferView_pimpl.C (dispatch): do not continue when
3643 2002-08-28 André Pönitz <poenitz@gmx.net>
3645 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3648 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3650 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3652 * buffer.C: increment LYX_FORMAT to 221
3654 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3655 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3657 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3659 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3661 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3663 * factory.C (createInset): use LyXTextClass::floats
3665 * MenuBackend.C (expandFloatListInsert):
3666 (expandFloatInsert):
3669 * text2.C (setCounter):
3671 * LaTeXFeatures.C (useFloat):
3672 (getFloatDefinitions):
3674 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3676 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3677 floatlist_, with accessor floats().
3679 * FloatList.h: remove global FloatList
3681 2002-08-26 André Pönitz <poenitz@gmx.net>
3683 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3687 * BufferView_pimpl.C:
3688 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3690 2002-08-25 John Levon <levon@movementarian.org>
3692 * LyXAction.C: fix margin note description
3694 2002-08-24 John Levon <levon@movementarian.org>
3698 * bufferview_funcs.C:
3700 * undo_funcs.C: cleanups
3702 * lyxfunc.C: disable CUT/COPY when no selection
3704 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3706 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3707 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3709 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3710 Add backward compatibility to "mono", "gray" and "no".
3712 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3714 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3715 (and file_format >= 200).
3717 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3719 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3721 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3723 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3725 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3727 * BufferView_pimpl.C:
3734 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3735 inset and code to make it work with the paragraph code. The inset
3736 can be anywhere in the paragraph, but will only do the expected
3737 thing in LaTeX if the layout file contains the parameter line
3739 (or more generally, a nonzero value) for that layout.
3741 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3743 * paragraph.h: remove the declaration of undefined counters class
3746 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3748 * text2.C (setCounter): fixed enumeration mis-count as reported by
3749 Dr. Richard Hawkins.
3751 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3753 * paragraph_funcs.h: remove some unneeded includes
3755 * text.C (backspace): pasteParagraph now in global scipe
3757 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3758 (pasteSelection): ditto
3760 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3761 * paragraph_funcs.C (pasteParagraph): ... here
3763 2002-08-20 André Pönitz <poenitz@gmx.net>
3765 * commandtags.h: new LFUNs for swapping/copying table row/colums
3768 * lyxfunc.C: support for new lfuns
3770 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3773 * buffer.[Ch]: remove NO_COMPABILITY stuff
3775 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3777 * boost.C (throw_exception): new file, with helper function for
3778 boost compiled without exceptions.
3783 * ParameterStruct.h:
3784 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3786 * bufferlist.C (emergencyWriteAll): use boost bind
3788 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3790 * text.C: include paragraph_funcs.h
3791 (breakParagraph): breakParagraph is now in global scope
3793 * paragraph_funcs.[Ch]: new files
3795 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3798 * buffer.C: include paragraph_funcs.h
3799 (insertStringAsLines): breakParagraph is now in global scope
3801 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3804 * CutAndPaste.C: include paragraph_funcs.h
3805 (cutSelection): breakParagraphConservative is now in global scope
3806 (pasteSelection): ditto
3808 * buffer.h: declare oprator== and operator!= for
3809 Buffer::inset_iterator
3811 * bufferlist.C (emergencyWrite): don't use fmt(...)
3813 * text3.C: add using std::endl
3815 * BufferView.C (moveCursorUpdate): remove default arg
3817 2002-08-20 André Pönitz <poenitz@gmx.net>
3819 * buffer.[Ch]: move inline functions to .C
3822 * BufferView_pimpl.C:
3824 * buffer.[Ch]: use improved inset_iterator
3827 * paragraph.[Ch]: write one paragraph at a time
3829 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3831 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3832 style if style is not specified.
3834 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3836 * text2.C (setCounter): when searching for right label for a
3837 caption, make sure to recurse to parent insets (so that a caption
3838 in a minipage in a figure float works) (bug #568)
3840 2002-08-20 André Pönitz <poenitz@gmx.net>
3842 * text3.C: new file for LyXText::dispatch() and helpers
3844 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3846 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3848 2002-08-19 André Pönitz <poenitz@gmx.net>
3851 * text.C: new LyXText::dispatch()
3853 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3855 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3857 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3859 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3862 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3864 * Makefile.am: use $(variables) instead of @substitutions@
3866 2002-08-15 André Pönitz <poenitz@gmx.net>
3869 * BufferView_pimpl.C: streamlining mathed <-> outer world
3873 * LyXAction.C: remove unused LFUN_MATH
3875 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3879 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * paragraph.C (Paragraph): reformat a bit
3882 (cutIntoMinibuffer): use builtin InsetList function instad of
3886 * buffer.C: include boost/bind.hpp, add using std::for_each
3887 (writeFileAscii): use ParagraphList iterators
3888 (validate): use for_each for validate traversal of paragraphs
3889 (getBibkeyList): use ParagraphList iterators
3890 (resizeInsets): use for_each to resizeInsetsLyXText for all
3892 (getParFromID): use ParagraphList iterators
3894 * BufferView2.C (lockInset): use paragraph list and iterators
3896 2002-08-14 John Levon <levon@movementarian.org>
3898 * lyxserver.C: remove spurious xforms include
3900 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3902 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3904 2002-08-13 André Pönitz <poenitz@gmx.net>
3907 * lyxfunc.C: further cleaning
3909 2002-08-13 André Pönitz <poenitz@gmx.net>
3911 * funcrequest.h: new constructor
3913 * funcrequest.C: move stuff here from .h
3916 * BufferView_pimpl.C:
3919 * lyxfunc.C: subsequent changes
3921 * lyxfunc.h: new view() member function
3923 * lyxfunc.C: subsequent changes
3925 2002-08-13 Angus Leeming <leeming@lyx.org>
3928 * BufferView_pimpl.C:
3936 changes due to the changed LyXView interface that now returns references
3937 to member variables not pointers.
3939 2002-08-13 Angus Leeming <leeming@lyx.org>
3941 * WordLangTuple (word, lang_code): return references to strings,
3946 * lyxtext.h: forward-declare WordLangTuple.
3951 * text.C: #include "WordLangTuple.h".
3954 * text.C: (selectNextWordToSpellcheck): constify return type.
3956 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3962 * paragraph_pimpl.h:
3965 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3967 Made updateCounter always count from start of buffer, and removed
3968 second argument (par).
3969 Reverted floats number display to '#'. Perhaps I'll try again when the
3970 code base is sanitized a bit.
3972 2002-08-12 Angus Leeming <leeming@lyx.org>
3974 * buffer.[Ch] (getLabelList): constify.
3976 2002-08-07 André Pönitz <poenitz@gmx.net>
3978 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3980 * funcrequest.h: extension to keep mouse (x,y) position
3982 2002-08-12 Juergen Vigna <jug@sad.it>
3984 * BufferView2.C (insertErrors): forbid undo when inserting error
3987 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3989 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3991 * ParagraphList.[Ch]: new files
3993 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3995 * BufferView2.C (lockInset): ParagraphList changes
3998 * bufferlist.C: ditto
4002 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4004 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4005 unused class variable counter_,
4007 * paragraph.[Ch] (getFirstCounter): delete unused function
4009 * counters.C: include LAssert.h
4010 (reset): add a new function with no arg, change other version to
4011 not have def. arg and to not allow empty arg.
4013 * text2.C (setCounter): remove empty arg from call to Counters::reset
4015 2002-08-11 John Levon <levon@movementarian.org>
4017 * Makefile.am: add WordLangTuple.h
4019 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4022 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4024 * insets/insettext.C: InsetList changes
4026 * graphics/GraphicsSupport.C (operator()): InsetList changes
4028 * toc.C (getTocList): InsetList changes
4030 * paragraph_pimpl.[Ch]: InsetList changes
4032 * paragraph.[Ch]: InsetList changes
4034 * buffer.C (inset_iterator): InsetList changes
4035 (setParagraph): ditto
4036 * buffer.h (inset_iterator): ditto
4037 * iterators.C (operator++): ditto
4038 * iterators.h: ditto
4040 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4042 * InsetList.[Ch]: new files, most InsetList handling moved out of
4045 * BufferView2.C (removeAutoInsets): InsetList changes
4047 (ChangeInsets): ditto
4049 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * paragraph_pimpl.h (empty): new function
4053 * paragraph.[Ch] (empty): new function
4055 * other files: use the new Paragraph::empty function
4057 2002-08-09 John Levon <levon@movementarian.org>
4059 * lyxtext.h: remove unused refresh_height
4061 2002-08-09 John Levon <levon@movementarian.org>
4068 * paragraph.C: move sgml char escaping out of paragraph
4071 * paragraph.C: remove id setter
4075 * paragraph_pimpl.C: remove dead tex_code_break_column
4077 * bufferview_funcs.C: small cleanup
4079 * lyxfunc.C: remove dead proto
4081 * lyxtext.h: make some stuff private. Remove some dead stuff.
4083 * lyxgluelength.C: make as[LyX]String() readable
4085 2002-08-08 John Levon <levon@movementarian.org>
4090 * ToolbarDefaults.C:
4093 * toc.C: lyxaction cleanup
4095 2002-08-08 John Levon <levon@movementarian.org>
4097 * BufferView2.C: small cleanup
4100 * lyxfind.C: move unnecessary header into the .C
4102 2002-08-08 John Levon <levon@movementarian.org>
4104 * funcrequest.h: just tedious nonsense
4107 * lyx_main.C: cleanups
4110 * vspace.C: remove dead header lyx_main.h
4112 2002-08-07 Angus Leeming <leeming@lyx.org>
4115 * paragraph_pimpl.h:
4116 Forward declare class Counters in paragraph.h by moving the ctrs member
4117 variable into Paragraph::Pimpl.
4118 (counters): new method, returning a reference to pimpl_->ctrs.
4120 * text2.C: ensuing changes.
4122 2002-08-07 John Levon <levon@movementarian.org>
4124 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4126 * BufferView_pimpl.C: announce X selection on double/triple
4129 * lyx_main.C: use correct bool in batch dispatch
4131 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4133 2002-08-07 André Pönitz <poenitz@gmx.net>
4135 * funcrequest.h: new class to wrap a kb_action and its argument
4138 * BufferView_pimpl[Ch]:
4142 * lyxrc.C: subsequent changes
4145 2002-08-07 John Levon <levon@movementarian.org>
4147 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4148 document options change.
4150 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4155 * makefile.am: move counters functionality over from
4156 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4158 2002-08-06 John Levon <levon@movementarian.org>
4160 * WordLangTuple.h: new file for word + language code tuple
4171 * BufferView2.C: use WordLangTuple
4174 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4176 2002-08-06 John Levon <levon@movementarian.org>
4178 * lyx_main.C: fix cmdline batch handling
4180 2002-08-06 André Pönitz <poenitz@gmx.net>
4182 * lyxrc.C: set default for show_banner to true
4184 2002-08-06 John Levon <levon@movementarian.org>
4186 * pspell.C: fix a crash, and allow new aspell to work
4188 2002-08-06 John Levon <levon@movementarian.org>
4191 * kbmap.C: small cleanup
4194 * vspace.C: add const
4196 2002-08-05 John Levon <levon@movementarian.org>
4198 * LyXAction.C: back to tabular-insert
4200 2002-08-04 John Levon <levon@movementarian.org>
4203 * BufferView.C: cosmetic change
4205 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4215 * BufferView2.C: purge all "Lyx" not "LyX" strings
4218 * lyxcursor.C: attempt to add some documentation
4223 * ToolbarDefaults.C:
4224 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4225 merge with LFUN_TABULAR_INSERT
4232 * pspell.C: split up i/pspell implementations into separate
4233 files, many cleanups
4235 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4237 * text2.C: some cleanup
4239 * lyxfunc.C: don't check for isp_command == "none" any more, it
4240 didn't make any sense
4242 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4247 * makefile.am: move counters functionality over
4248 from text2.C/paragraph.[Ch] to counters.[Ch], and
4250 2002-08-02 John Levon <levon@movementarian.org>
4252 * buffer.C: s/lyxconvert/lyx2lyx/
4254 2002-08-02 Angus Leeming <leeming@lyx.org>
4256 * lyxlex.C: revert John's change as it breaks reading of the user
4259 2002-08-02 Angus Leeming <leeming@lyx.org>
4261 * importer.C (Import):
4262 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4263 changes due to LyXView::view() now returning a boost::shared_ptr.
4265 2002-08-02 John Levon <levon@movementarian.org>
4267 * lyxlex.C: small cleanup
4269 2002-08-02 John Levon <levon@movementarian.org>
4271 * text2.C (status): small cleanup, no logic change
4273 2002-08-01 John Levon <levon@movementarian.org>
4276 * buffer.C (writeFile): don't output alerts, caller
4280 * lyx_cb.C: from above
4282 * lyxfunc.C: allow to open non-existent files
4284 2002-07-31 John Levon <levon@movementarian.org>
4286 * lyxserver.C: don't let incidental errors get
4289 2002-07-30 John Levon <levon@movementarian.org>
4291 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4293 2002-07-30 John Levon <levon@movementarian.org>
4296 * lyxserver.C: remove I/O callback too
4298 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4300 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4303 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * many files: strip,frontStrip -> trim,ltrim,rtrim
4307 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4309 * PrinterParams.h: remove extern containsOnly, and include
4310 support/lstrings.h instead.
4312 * LaTeX.C (scanAuxFile): modify because of strip changes
4314 * buffer.C (makeLaTeXFile): ditto
4315 * bufferparams.C (writeFile): ditt
4316 * lyxfont.C (stateText): ditto
4317 * lyxserver.C (read_ready): ditto
4318 * vc-backend.C (scanMaster): ditto
4320 * BufferView_pimpl.h: ws changes
4322 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4324 2002-07-26 André Pönitz <poenitz@gmx.net>
4326 * kb_sequence.C: remove unnedred usings
4328 2002-07-26 Juergen Vigna <jug@sad.it>
4330 * lyxfind.C (LyXReplace): we have to check better if the returned
4331 text is not of theLockingInset()->getLockingInset().
4333 2002-07-25 Juergen Vigna <jug@sad.it>
4335 * lyxfind.C (LyXReplace): don't replace if we don't get the
4338 * undo_funcs.C (createUndo): remove debugging code.
4340 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4342 * buffer.C (parseSingleLyXformat2Token): Use default placement
4343 when reading old floats.
4345 * FloatList.C (FloatList): Change the default placement of figure
4346 and tables to "tbp".
4348 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4350 * MenuBackend.C: using std::max
4352 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4354 * MenuBackend.C (expandToc):
4355 (expandToc2): code moved from xforms menu frontend. It is now
4356 generic and TOCs are transparent to menu frontends.
4358 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4360 * toc.C (getTocList): protect against buf=0
4362 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4363 Menu as first parameter. Now, this calls itself recursively to
4364 expand a whole tree (this will be useful for TOC handling)
4365 (expandFloatInsert): remove 'wide' version of floats
4367 * MenuBackend.h (submenuname): returns the name of the submenu.
4368 (submenu): returns the submenu itself, provided it has been
4369 created by MenuBackend::expand
4371 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4373 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4374 insets which have noFontChange == true. (bug #172)
4376 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4378 * BufferView_pimpl.C: add connection objects and use them...
4381 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4383 * MenuBackend.C (expandLastfiles):
4386 (expandFloatListInsert):
4387 (expandFloatInsert):
4388 (expand): split expand in parts
4390 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4392 * lyx_gui.C: use lyx_gui::exit()
4394 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4396 * LyXAction.C: show the failing pseudo action
4398 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4400 * buffer.C (readFile): Run the lyxconvert script in order to read
4403 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4407 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4409 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4413 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4415 2002-07-22 Herbert Voss <voss@lyx.org>
4418 * lyxlength.[Ch]: add support for the vertical lengths
4420 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4422 * toc.[Ch]: std:: fixes
4424 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4426 * lyxrc.C: do not include lyx_main.h
4428 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4434 * BufferView2.C: include "lyxlex.h"
4437 * bufferparams.h: do not #include "lyxlex.h"
4439 * lyxtextclasslist.C (Add): remove method
4440 (classlist): renamed to classlist_
4442 * paragraph_pimpl.C:
4446 * bufferview_funcs.C:
4451 * toc.C (getTocList): use BufferParams::getLyXTextClass
4453 * toc.C (getTocList): use InsetFloat::addToToc
4455 * toc.[Ch]: new files, containing helper functions to handle table
4458 * lyxfunc.C (dispatch): no need to remove spaces around command
4460 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4461 first command of the sequence; it is not very clever, but I do not
4462 have a better idea, actually
4464 * LyXAction.C (LookupFunc): make sure to remove space at the
4465 beginning and end of the command
4467 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4469 * MenuBackend.C (getMenubar): new method: return the menubar of
4471 (read): treat differently reading of menu and menubar (in
4472 particular, the menubar has no name now)
4473 (Menu::menubar): remove
4475 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4478 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4480 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4481 a bibitem inset in a RTL paragraph.
4483 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4485 * paragraph_pimpl.C: constify
4487 * BufferView_pimpl.C:
4489 * lyxfunc.C: fix dispatch in a nicer way
4491 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4493 * lyxfunc.C (dispatch):
4494 * BufferView_pimpl.C:
4495 * BufferView_pimpl.h:
4497 * BufferView.h: rename Dispatch() to dispatch()
4499 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4501 * lyxlayout.C (Read): honor DependsOn tag
4503 * lyxlayout.[Ch] (depends_on): new method
4505 * version.C.in: update lyx_docversion
4507 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4509 * paragraph.C (validate): remove from here...
4510 * paragraph_pimpl.C (validate): ... and move here
4511 (isTextAt): make it const
4513 * buffer.C (getLists): ws cleanup
4515 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4517 * language.C (read): Use iso8859-1 encoding in latex_lang
4518 (this prevents LyX from crashing when using iso10646-1 encoding).
4520 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4522 * text2.C (toggleInset): if cursor is inside an inset, close the
4523 inset and leave cursor _after_ it
4525 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4527 * lyxfunc.C: move minibuffer completion handling out of here
4529 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4531 * BufferView_pimpl.C:
4532 * LaTeX.C: fix dispatch calls
4534 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4536 * text.C (drawChars): Fix Arabic text rendering.
4538 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4542 * lyxfunc.C: remove message-push/pop
4546 * lyxfunc.C: rationalise some code by removing verboseDispatch
4547 in favour of a bool argument to dispatch()
4549 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4551 * lyx_main.C (init): make sure to read symlinks as absolute paths
4553 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4556 * lyxfunc.C: no need for commandshortcut to be a member
4558 2002-07-15 André Pönitz <poenitz@gmx.net>
4560 * converter.C: add support for $$s (scripts from lib/scripts dir)
4561 * lyx_main.C: white space
4563 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4567 * lyxrc.C: remove second exit confirmation
4569 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4574 * BufferView_pimpl.h:
4575 * BufferView_pimpl.C:
4576 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4578 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4580 * MenuBackend.C (expand): add numeric shortcuts to document menu
4582 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4584 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4586 * lyxfont.C (setLyXFamily):
4593 * buffer.C (asciiParagraph): use ascii_lowercase
4595 2002-07-15 Mike Fabian <mfabian@suse.de>
4597 * lyxlex_pimpl.C (search_kw):
4598 * lyxlex.C (getLongString):
4599 * converter.h (operator<):
4600 * converter.C (operator<):
4601 * buffer.C (parseSingleLyXformat2Token):
4603 * ToolbarDefaults.C (read):
4604 * MenuBackend.C (checkShortcuts):
4606 * LColor.C (getFromGUIName):
4607 (getFromLyXName): use the compare_ascii_no_case instead of
4608 compare_no_case, because in turkish, 'i' is not the lowercase
4609 version of 'I', and thus turkish locale breaks parsing of tags.
4611 2002-07-16 Angus Leeming <leeming@lyx.org>
4613 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4614 now takes a Buffer const & argument.
4616 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4618 * BufferView.C (resize): check there's a buffer to resize
4620 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4622 * lyxfunc.C: remove dead code
4625 * lyxserver.C: use lyx_guii::set_read_callback
4627 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4629 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4630 an inset in a RTL paragraph.
4632 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4634 * lyxfunc.C: repaint after a font size update
4636 2002-07-15 André Pönitz <poenitz@gmx.net>
4638 * lyxlength.C: inBP should be able to return negative values
4640 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4642 * lyxfunc.C: use lyx_gui::update_fonts()
4644 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4646 * lyxfunc.C: use lyx_gui::update_color()
4648 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4654 * lyxrc.C: remove file->new asks for name option, and let
4655 buffer-new take an argument
4657 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4659 * BufferView_pimpl.C: remove unneeded extra repaint()
4661 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4663 * LyXAction.C: allow command-sequence with NoBuffer
4665 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4667 2002-07-10 Angus Leeming <leeming@lyx.org>
4669 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4671 2002-07-09 Angus Leeming <leeming@lyx.org>
4673 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4675 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4677 * lengthcommon.h: whitespace
4679 * lyxfunc.C: update scrollbar after goto paragraph
4681 * lyxtext.h: factor out page break drawing, and fix it so
4682 page break/added space paints as selected nicely
4684 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4686 * BufferView_pimpl.C: add FIXMEs, clean up a little
4688 2002-07-09 André Pönitz <poenitz@gmx.net>
4690 * lyxfont.[Ch]: support for wasy symbols
4692 2002-07-08 André Pönitz <poenitz@gmx.net>
4694 * BufferView_pimpl.C: apply John's patch for #93.
4696 2002-07-05 Angus Leeming <leeming@lyx.org>
4698 * BufferView_pimpl.C (buffer): generate previews if desired.
4700 * LColor.h: add "preview" to the color enum.
4702 * LColor.C (LColor): add a corresponding entry to the items array.
4704 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4707 2002-07-05 Angus Leeming <leeming@lyx.org>
4709 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4710 The body of the code is now in the method that is passed an ostream &
4711 rather than a file name.
4712 Pass an additional only_preamble parameter, useful for the forthcoming
4715 2002-07-03 André Pönitz <poenitz@gmx.net>
4717 * lyxfunc.C: simplify getStatus() a bit for math stuff
4719 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4721 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4723 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4725 * text.C (changeRegionCase): do not change case of all the
4726 document when region ends at paragraph end (bug #461)
4728 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4730 * paragraph.C (startTeXParParams):
4731 (endTeXParParams): add \protect when necessary
4733 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4735 * BufferView_pimpl.C (workAreaExpose): remove warning
4737 2002-06-27 Angus Leeming <leeming@lyx.org>
4739 * Makefile.am: add lyxlayout_ptr_fwd.h.
4741 2002-06-26 André Pönitz <poenitz@gmx.net>
4743 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4745 2002-06-25 Angus Leeming <leeming@lyx.org>
4747 * lyxfunc.C (dispatch): Comment out the call to
4748 grfx::GCache::changeDisplay. The method no longer exists now that the
4749 pixmap generation part of the graphics loader has been moved into
4752 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4754 * text2.C: layout as layout
4756 * text.C: layout as layout
4758 * tabular.C (OldFormatRead): layout as layout
4760 * paragraph_pimpl.C (TeXDeeper): layout as layout
4761 (realizeFont): layout as layout
4763 * paragraph.C (writeFile): layout as layout
4764 (validate): layout as layout
4765 (getFont): layout as layout
4766 (getLabelFont): layout as layout
4767 (getLayoutFont): layout as layout
4768 (breakParagraph): layout as layout
4769 (stripLeadingSpaces): layout as layout
4770 (getEndLabel): layout as layout
4771 (getMaxDepthAfter): layout as layout
4772 (applyLayout): layout as layout
4773 (TeXOnePar): layout as layout
4774 (simpleTeXOnePar): layout as layout
4775 (TeXEnvironment): layout as layout
4776 (layout): layout as layout
4777 (layout): layout as layout
4779 * lyxtextclass.C (compare_name): new functor to work with
4780 shared_ptr, layout as layout
4781 (Read): layout as layout
4782 (hasLayout): layout as layout
4783 (operator): layout as layout
4784 (delete_layout): layout as layout
4785 (defaultLayout): layout as layout
4787 * lyxlayout_ptr_fwd.h: new file
4789 * lyxlayout.C (Read): layout as layout
4791 * lyx_cb.C (MenuInsertLabel): layout as layout
4793 * bufferlist.C (newFile): layout as layout
4795 * buffer.C (readLyXformat2): layout as layout
4796 (parseSingleLyXformat2Token): layout as layout
4797 (insertStringAsLines): layout as layout
4798 (asciiParagraph): layout as layout
4799 (latexParagraphs): layout as layout
4800 (makeLinuxDocFile): layout as layout
4801 (simpleLinuxDocOnePar): layout as layout
4802 (makeDocBookFile): layout as layout
4803 (simpleDocBookOnePar): layout as layout
4804 (getLists): layout as layout
4806 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4808 * CutAndPaste.C (cutSelection): layout as layout
4809 (pasteSelection): layout as layout
4810 (SwitchLayoutsBetweenClasses): layout as layout
4812 * BufferView_pimpl.C (Dispatch): layout as layout
4813 (smartQuote): layout as layout
4815 * BufferView2.C (unlockInset): layout as layout
4817 2002-06-24 André Pönitz <poenitz@gmx.net>
4819 * lyxfunc.C: fix #487
4821 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4825 * lyxfunc.C: remove display_shortcuts, show_banner
4827 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4829 * Buffer_pimpl.C: oops, update on resize
4831 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4838 * BufferView.C: use repaint()
4840 * BufferView_pimpl.h:
4841 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4842 as it's a clearer description. Remove superfluous
4845 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4847 * text.C: fix bug 488. Not ideal, but getting
4848 getWord() to work properly for the insets that
4849 matter is more difficult ...
4851 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4853 * BufferView_pimpl.C:
4856 * lyxfunc.C: remove the six million index lyxfuncs to just
4857 one, and DTRT (bug 458)
4859 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4863 * BufferView_pimpl.h:
4864 * BufferView_pimpl.C: clean up resize() stuff,
4865 and unnecessary updateScreen()s
4867 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4871 * BufferView_pimpl.h:
4872 * BufferView_pimpl.C:
4875 * minibuffer.C: remove focus management of workarea,
4876 not needed. Use screen's greyOut()
4878 2002-06-17 Herbert Voss <voss@lyx.org>
4880 * converter.C: (convert) do not post a message, when converting
4881 fails, let the calling function decide what to do in this case
4883 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4885 * lyxfunc.C: tidy up a little
4887 2002-06-16 <alstrup@diku.dk>
4889 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4890 Got rid of FORMS_H_LOCATION include. Now we are
4893 2002-06-15 LyX Development team <lyx@rilke>
4895 * buffer.[Ch] (sgmlOpenTag):
4896 (sgmlCloseTag): Added support for avoiding pernicious mixed
4897 content. Return number of lines written.
4900 (makeDocBookFile): Fixed calls to sgml*Tag.
4901 Simple white space clean.
4903 (simpleDocBookOnePar): Simple white space clean.
4905 * tabular.[Ch] (docBook): Renamed to docbook and got another
4906 argument to related with the pernicious mixed content.
4908 (docbookRow): Fixed calls for docbook inset method.
4910 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4912 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4913 so it's X11 independent.
4917 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4919 2002-06-15 Lyx Development team <lyx@electronia>
4921 * intl.h: Renamed getTrans to getTransManager.
4923 2002-06-14 Angus Leeming <leeming@lyx.org>
4925 * Makefile.am: nuke forgotten stl_string_fwd.h.
4927 2002-06-12 Angus Leeming <leeming@lyx.org>
4929 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4931 2002-06-13 Angus Leeming <leeming@lyx.org>
4934 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4936 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4938 * kbmap.C (getiso): add support for cyrillic and greek
4940 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4944 * BufferView_pimpl.h:
4945 * BufferView_pimpl.C: move bogus scrolling logic
4948 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4951 * BufferView_pimpl.C: view->resize() change
4953 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4955 * BufferView_pimpl.C: topCursorVisible
4958 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4962 * lyx_gui.C: move to frontends/
4966 * lyx_main.C: changes from above
4968 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4975 * lyx_main.C: minor tidy
4977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4979 * BufferView_pimpl.h:
4980 * BufferView_pimpl.C:
4982 * BufferView.C: make painter() const,
4985 * BufferView2.C: use screen() accessor
4988 * lyx_main.C: some minor cleanup
4990 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4992 * BufferView_pimpl.h:
4993 * BufferView_pimpl.C: remove enter/leaveView,
4996 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5001 * BufferView_pimpl.h:
5002 * BufferView_pimpl.C: only construct screen once,
5005 * lyxrc.C: remove pointless comment
5007 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5010 * BufferView.C: remove active() and belowMouse()
5012 * BufferView_pimpl.h:
5013 * BufferView_pimpl.C: use workarea() not workarea_,
5014 and make it use a scoped_ptr instead
5016 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5018 * lyx_gui.C: add debug message on BadWindow
5020 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5022 * sp_spell.C: fdopen is not part of the C++ standard.
5024 * paragraph.C (InsetIterator): use >= instead of ==
5026 2002-06-07 Angus Leeming <leeming@lyx.org>
5028 Fixes needed to compile with Compaq cxx 6.5.
5029 * BufferView_pimpl.C:
5036 * lyxtextclasslist.C:
5041 all c-library variables have been moved into namespace std. Wrap
5042 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5047 Add a using std::abs declaration.
5049 * kbmap.h (modifier_pair):
5050 * paragraph.h (InsetTable, InsetList):
5051 * lyxfont.h (FontBits):
5052 type definition made public.
5054 * bufferlist.C (emergencyWriteAll): the compiler complains that
5055 there is more than one possible lyx::class_fun template to choose from.
5056 I re-named the void specialisation as lyx::void_class_fun.
5058 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5060 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5061 the compiler is is unable to find tostr in write_attribute.
5063 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5065 * buffer.C (sgmlError): hide #warning
5067 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5069 * xtl/*: get rid of xtl, which is not in use anyway
5071 * LyXAction.C (init):
5072 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5073 were unimplemented xtl experimentation
5075 2002-06-04 André Pönitz <poenitz@gmx.net>
5077 * lyxfunc.C: disable array operation on simple formulae
5079 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5081 * converter.C: constify a bit
5083 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5085 * lyx_gui.C: check xforms version correctly
5087 2002-04-30 Herbert Voss <voss@lyx.org>
5089 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5092 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5094 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5095 attempt to register it with a VCS)
5097 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5099 * lyx_main.C (init): honor variables LYX_DIR_13x and
5102 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5106 * lyx_main.C: fix a crash on bad command line,
5107 and give a useful exit status on error
5109 * lyxfunc.C (doImport): allow -i lyx to work
5111 2002-03-30 André Pönitz <poenitz@gmx.net>
5113 * lyxfunc.C: mathed font changes
5115 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5130 * trans_mgr.h: srcdocs, and some minor cleanups
5132 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5134 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5135 call getFont all the time)
5137 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5139 * switch from SigC signals to boost::signals
5141 2002-05-29 André Pönitz <poenitz@gmx.net>
5143 * paragraph_pimpl.C (getChar): don't call size() too often...
5145 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5147 * paragraph_pimpl.C (insertChar): do not try to update tables when
5148 appending (pos == size())
5150 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5151 in order to reduce drastically the number of comparisons needed to
5152 parse a large document
5154 2002-05-29 André Pönitz <poenitz@gmx.net>
5160 * textclasslist.[Ch]:
5161 * sp_ispell.h: whitespace change
5163 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5165 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5166 lyxaction directly now.
5168 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5172 * lyxvc.C: remove unused headers
5174 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5181 * undo_funcs.C: some cleanups. Use shared_ptr
5182 and a template for the undo stacks.
5184 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5186 * BufferView_pimpl.h:
5187 * BufferView_pimpl.C:
5194 * text2.C: use key_state/mouse_state
5196 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5198 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5201 * chset.C: change include order
5202 (loadFile): use boost regex and get rid of LRegex and LSubstring
5204 * Makefile.am (BOOST_LIBS): new variable
5207 * LaTeX.C: change include order.
5208 (scanAuxFile): use boost regex and get rid of LRegex and
5212 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5217 * FontInfo.C: moved to frontends/xforms/
5220 * FontLoader.C: moved into frontends for GUIIzation
5225 * lyxfunc.C: changes from above
5227 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5229 * LColor.C: remove spurious X include
5231 * BufferView_pimpl.C:
5236 * text2.C: move font metrics to frontends/
5238 2002-05-24 Juergen Vigna <jug@sad.it>
5240 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5241 setting the undo_cursor.
5243 * ParagraphParameters.h: include local includes first.
5245 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5247 * BufferView_pimpl.C:
5248 * BufferView_pimpl.h:
5252 * screen.C: move WorkArea into frontends/
5258 * BufferView2.C: move LyXScreen into frontends/
5262 * lyx_gui.C: move lyxlookup into frontends/xforms/
5264 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5267 * BufferView_pimpl.C:
5277 * bufferview_funcs.C:
5290 * vc-backend.C: move LyX/XFormsView into frontends/
5292 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5304 * text2.C: move Painter to frontends/
5306 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5308 * buffer.C: comment out some some code that depend upon lyx_format
5311 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5312 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5314 * buffer.h (NO_COMPABILITY): turn off compability
5316 * ColorHandler.C: include scoped_array.hpp
5318 * font.C: Use more specific smart_ptr header.
5321 * ShareContainer.h: ditto
5325 * BufferView_pimpl.h: ditto
5326 * ColorHandler.h: ditto
5328 * kbmap.C (defkey): change call to shared_ptr::reset
5330 2002-05-21 Juergen Vigna <jug@sad.it>
5332 * buffer.C (insertErtContents): fix to insert ert asis if it is
5333 non empty. Skip it completely if it contains only whitespaces.
5335 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5337 * BufferView_pimpl.C:
5338 * BufferView2.C: clear selection on paste (bug 393)
5340 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5342 * DepTable.C: include ctime
5344 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5346 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5348 2002-05-14 Juergen Vigna <jug@sad.it>
5350 * text.C (breakParagraph): fixed function to honor the keepempty
5351 layout in the right maner and also to permit the right breaking
5352 algorithm on empty or non empyt keepempty paragraphs.
5354 * paragraph.C (breakParagraph): we have to check also if the par
5355 is really empty (!size()) for isempty otherwise we do the wrong
5358 2002-05-10 Juergen Vigna <jug@sad.it>
5360 * buffer.[Ch] : The following are only changes to the ert
5361 compatibility read reading old LaTeX layout and font stuff and
5362 convert it to ERTInsets.
5364 * buffer.h: added isErtInset().
5366 * buffer.C (struct ErtComp): add a fromlayout bool to check
5367 if we're inside a LaTeX layout.
5368 (isErtInset): new helper function.
5369 (insertErtContents): look for other ert insets before this one
5370 and insert the contents there, so that we don't have subsequent
5371 ERT insets with nothing between them. This way we create only one
5372 inset with multiple paragraphs. Also check if we don't insert only
5373 spaces ' ' as they are ignored anyway afterwards in the .tex file
5374 so if we have only spaces we will ignore this latex part in the
5376 (parseSingleLyXformat2Token \\layout): better compatibility when
5377 reading layout-latex stuff.
5378 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5380 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5381 stuff after reading the inset only get the information back from
5384 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5386 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5388 * LaTeXFeatures.C (getBabelOptions): New method.
5390 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5392 * BufferView_pimpl.C (Dispatch): work around missing argument for
5395 2002-05-08 Juergen Vigna <jug@sad.it>
5397 * text.C (leftMargin): handle paragraph leftindent.
5399 * paragraph.C (writeFile): write the new \\leftindent tag.
5400 (validate): handle leftindent code.
5401 (TeXEnvironment): handle paragraphleftindent code again.
5403 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5405 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5406 for paragrap_extra indent code and new token \\leftindent.
5407 (latexParagraphs): handle the leftindent as environment.
5409 * ParameterStruct.h: added leftindent support.
5411 * ParagraphParameters.C (leftIndent): added support functions for
5412 the paragraph left indent.
5414 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5417 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5419 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5422 * text.C (computeBidiTables): No bidi in insetERT.
5424 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5427 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5429 * version.C.in: pre 5
5431 2002-05-02 José Matos <jamatos@fep.up.pt>
5432 * buffer.C (makeDocBookFile): white space changes, add newline to
5434 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5436 * tabular.C (docBook): fix typo.
5438 2002-05-03 Juergen Vigna <jug@sad.it>
5440 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5441 change in LyXText as we can not be sure it was not freed.
5442 (drawOneRow): remove unused code.
5444 * text.C (drawInset): redo the calculation of the need_break_row as
5445 it could have a row which was already freed.
5446 (draw): look at the return value of drawInset and return false if
5447 it also returned false.
5448 (paintRowText): look at the return value of draw and return false if
5449 it also returned false.
5451 * lyxtext.h: added bool return type to drawInset() and draw() so that
5452 if we have a change in the row so that the rowbreak has to be redone
5453 we abort drawing as it will be called again.
5455 2002-05-02 Juergen Vigna <jug@sad.it>
5457 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5458 a change in the maintext also if we're inside an inset.
5459 (Dispatch): set the cursor again after a break line and after the
5460 screen has been updated as it could be we're in a different row.
5462 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5463 to set the cursor behind the pargraph with > size().
5464 (setCursor): check also for the same paragraph when checking where
5465 to put the cursor if we have a NFR inset.
5467 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5468 parts of layout read further up as it still was in the wrong
5471 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5473 * screen.C (drawFromTo): change sine fullRebreak always return
5476 * buffer.C (parseSingleLyXformat2Token): reindent some
5478 * BufferView_pimpl.C (update): change since fullRebreak always
5480 (Dispatch): git rid of the last hardcoded "Standard"s.
5482 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5484 * text2.[Ch] (fullRebreak): make it return void now that we always
5487 2002-04-30 Juergen Vigna <jug@sad.it>
5489 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5490 ert compatibility check for "latex" layout.
5492 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5494 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5495 minipages: use col% instead of p%, and also use the current font.
5496 (makeLaTeXFile): Fix use babel condition.
5497 (parseSingleLyXformat2Token): Correct font when reading old floats.
5499 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5501 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5502 inserting list of floats.
5504 2002-04-25 Herbert Voss <voss@lyx.org>
5506 * MenuBackend.C (expand): don't add the graphics extensions to the
5509 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5511 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5512 non-existing layout, do not complain if it was the default layout
5513 of the original class (bug #342)
5515 2002-04-24 Juergen Vigna <jug@sad.it>
5517 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5518 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5520 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5522 * buffer.C (getBibkeyList): If using \bibliography, return the
5523 option field with the reference itself. Enables us to provide natbib
5524 support when using \bibliography.
5526 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5528 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5530 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5531 natbib is provided by the LaTeX class.
5533 2002-04-23 Juergen Vigna <jug@sad.it>
5535 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5538 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5540 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5542 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5544 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5545 ensuremath around textordmasculine, textordfeminine and
5548 2002-04-19 Juergen Vigna <jug@sad.it>
5550 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5551 reinitializing the buffer otherwise row-dimensions may be wrong.
5552 (update): reset also the selection cursors if they do exits otherwise
5553 their x/y positions may be wrong.
5555 * text2.C (cursorDown): don't enter the inset if we came from a row
5556 above and are one row over the inset.
5558 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5559 really leaving an inset.
5561 2002-04-18 Juergen Vigna <jug@sad.it>
5563 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5564 of the selected paragraph does not have the selected layout also if
5567 * text2.C (setLayout): fixed bug which did not change last selected
5570 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5571 changed the read and substituted \\end_float with \\end_inset!
5573 * BufferView_pimpl.C (cursorPrevious):
5574 (cursorNext): fixed to make it work with rows heigher than the work
5575 area without moving the cursor only the draw of the row.
5576 (workAreaMotionNotify): fix jumping over high rows.
5578 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5580 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5583 2002-04-16 Juergen Vigna <jug@sad.it>
5585 * text2.C (setCursor): set also the irow().
5586 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5588 (cursorDown): support for locking an inset if the x_fix value goes
5589 inside it. That way I can transverse insets too with cursor up/down.
5591 * lyxrow.h: added irow helper function same as other (i) functions.
5593 * BufferView_pimpl.C (cursorPrevious):
5594 (cursorNext): fixed for insets!
5596 2002-04-15 Juergen Vigna <jug@sad.it>
5598 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5599 position otherwise it is wrong in some cases.
5601 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5602 inside the inset before the call.
5604 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5606 * buffer.[Ch] (getBibkeyList): make it const.
5608 2002-04-12 Juergen Vigna <jug@sad.it>
5610 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5612 * text2.C (getCursorX): new helper function
5613 (setCursor): compute also ix_
5614 (setCursorFromCoordinates): set also ix.
5616 * lyxcursor.h: added ix_ and helper functions.
5618 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5620 * buffer.C (insertStringAsLines): dont break paragraph if the this
5621 paragraph is inside an inset which does not permit it!
5623 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5624 also with no chars on this paragraph.
5625 (paintRowText): only paint stuff if it's inside the workarea!
5627 * paragraph.C (breakParagraph): honor keepempty flag and break the
5628 paragraph always below not above.
5630 * BufferView2.C (unlockInset): update the paragraph layout on inset
5631 unlock as we changed paragraph in such a case.
5633 * lyxfind.C (LyXFind): clear the former selection if not found!
5635 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5636 again called in insertChar().
5638 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5639 an inset which uses the whole row!
5640 (rightMargin): ditto.
5641 (insertChar): force a rebreak if we inserted an inset!
5643 2002-03-28 Herbert Voss <voss@lyx.org>
5645 * lyxlength.[Ch]: add inBP() to get the right PS-point
5646 units (BigPoint). With inPixels we have rounding errors
5648 2002-04-11 Juergen Vigna <jug@sad.it>
5650 * text2.C (setCursorFromCoordinates): set iy to the right value.
5651 (setCursor): add check if row->previous exists!
5653 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5654 an old float_type as this was the case in the old code!
5656 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5658 * BufferView2.C (showLockedInsetCursor): use iy
5659 (fitLockedInsetCursor): ditto
5661 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5662 locked insets as there we have the right value now.
5664 * lyxcursor.C: added iy_ variable and iy functions to set to the
5665 baseline of cursor-y of the locked inset.
5667 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5668 (setCursor): fixed for insets which need a full row.
5670 * text.C (rowLastPrintable): don't ignore the last space when before
5671 an inset which needs a full row.
5672 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5673 as last character of a row when before a inset which needs a full row.
5675 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5677 * version.C.in: update date
5679 * text2.C (fullRebreak): try to always return true and see what
5682 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5684 * MenuBackend.C (expand): use Floating::listName
5686 * FloatList.C (FloatList): add listName argument to the built-in
5689 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5690 text associated with the float.
5692 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5694 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5696 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5698 * ShareContainer.h: add a couple of missing typenames.
5700 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5702 * lyxrc.C (getDescription): use _() correctly rather than N_().
5704 2002-03-28 Herbert Voss <voss@lyx.org>
5706 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5707 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5709 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5711 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5712 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5714 2002-03-29 Juergen Vigna <jug@sad.it>
5716 * lyxfunc.C (dispatch): add a missing fitCursor call.
5718 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5719 it was scrolled by a cursor move, so return the bool status.
5721 * BufferView.C (fitCursor): return the bool flag also to the outside
5722 world as this is needed.
5724 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5726 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5727 call the edit() as it is not needed (and wrong) IMO.
5728 (workAreaButtonPress): set the screen_first variable before evt.
5729 unlock the inset as this may change screen_first and then we have
5730 a wrong y position for the click!
5732 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5734 * MenuBackend.C (expand): another translation that I missed
5736 2002-03-28 Juergen Vigna <jug@sad.it>
5738 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5740 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5742 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5744 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5746 * MenuBackend.C (expand): fix export/view/update when there is no
5749 2002-03-27 Herbert Voss <voss@lyx.org>
5751 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5754 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5756 * bufferview_funcs.C (currentState): only show paragraph number
5757 for is DEVEL_VERSION is set.
5759 * lyxfunc.C (dispatch): put warning in INFO channel
5761 * MenuBackend.C (expand): translate the name of floats
5763 * FloatList.C (FloatList): mark the float names for translation
5765 * converter.C (convert): use LibScriptSearch
5767 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5769 * MenuBackend.C (defaults): fix default menu (we might as well get
5772 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5774 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5777 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5779 * lyxvc.C: reorder includes.
5781 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5783 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5786 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5788 * CutAndPaste.C: change layouts earlier on paste
5789 to avoid crashing when calling getFont()
5791 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5793 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5796 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5798 * WorkArea.C: remove 'Pending' debug message.
5800 * most files: ws cleanup
5802 * buffer.[Ch]: ws changes
5804 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5806 2002-03-21 Juergen Vigna <jug@sad.it>
5808 * tabular.C (SetMultiColumn): collapse also the contents of the
5809 cells and set the last border right. Added a Buffer const * param.
5811 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5813 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5816 2002-03-19 Juergen Vigna <jug@sad.it>
5818 * text2.C (clearSelection): reset also xsel_cache.
5820 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5821 where it needs to be called (John tells us to do so too :)
5822 (selectionLost): reset sel_cache.
5824 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5826 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5828 * text2.C (setCursorIntern): put debuging code in INSETS channel
5830 2002-03-19 André Pönitz <poenitz@gmx.net>
5832 * lyxfunc.C: tiny whitespace change
5834 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5836 * ToolbarDefaults.C (init):
5837 * LyXAction.C (init):
5839 * BufferView_pimpl.C (Dispatch):
5840 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5842 2002-03-19 Allan Rae <rae@lyx.org>
5844 * exporter.C (Export): removeAutoInsets before doing anything else.
5845 While I've just introduced a dependency on BufferView this really is
5846 the best place to clean the buffer otherwise you need to cleanup in
5847 a dozen places before calling export or cleanup in a dozen functions
5850 * converter.C (runLaTeX):
5851 (scanLog): Better handling of removeAutoInsets and screen updates.
5853 * lyxfunc.C (dispatch): small whitespace changes
5855 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5857 * WorkArea.C (C_WorkAreaEvent): return a value.
5858 (event_cb): return 1 if we handled the event, 0 otherwise.
5860 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5862 2002-03-18 Juergen Vigna <jug@sad.it>
5864 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5865 (GetAdditionalWidth): ditto.
5869 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5870 inset if we're there actually (probably not used right now but this
5871 is the direction to go for unifying code).
5872 (paste): disable code to clear the selection.
5874 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5875 inside an InsetText and move the check further up as it is in the
5878 * text2.C (pasteSelection): set a selection over the pasted text.
5880 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5882 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5883 and libgraphics to build on Cygwin.
5885 2002-03-15 Juergen Vigna <jug@sad.it>
5887 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5888 inserting an Inset into the paragraph. I know this is not the best
5889 fix but we already use current_view in CutAndPaste so we will remove
5890 all of it's using at the same time.
5892 * buffer.C (sgmlError): deactivated function till it is rewritten in
5893 the right mode, now it can create problems.
5895 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5896 before accessing it.
5898 2002-03-14 Juergen Vigna <jug@sad.it>
5900 * undo_funcs.C (textHandleUndo): do the right thing when updating
5901 the inset after the undo/redo.
5903 * text2.C (setCursor): just some testcode for #44 not ready yet.
5905 * undo_funcs.C (textHandleUndo): set the next() and previous()
5906 pointers of the paragraph to 0 before deleting otherwise we have
5907 problems with the Paragraph::[destructor].
5909 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5910 on a paragraph insertion.
5912 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5914 * buffer.C (asciiParagraph): use += operator for char append to
5917 * paragraph.C (getFontSettings): compare >= not just >
5918 (highestFontInRange): ditto
5921 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5923 * paragraph.C: change several algorithm to be more appripriate for
5924 the problem domain. This is lookip in FontList and in the InsetList.
5926 2002-03-13 André Pönitz <poenitz@gmx.net>
5929 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5931 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5936 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5938 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5940 * Painter.C (display): anon helper function, adjust code for this
5942 (pixmap): remove function.
5944 * Painter.h: remove private display variable.
5946 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5948 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5950 * WorkArea.[Ch]: remove figinset_canvas cruft.
5952 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5954 * lyxtextclass.C (operator): add one item cache optimization.
5956 * bufferlist.h: doxy changes
5958 * bufferlist.C: ws changes
5960 * DepTable.[Ch] (ext_exist): place const in the right spot.
5962 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5964 (workAreaExpose): call resizeInsets when the with BufferView changes.
5965 (Dispatch): adjust for protectedBlank removal
5966 (specialChar): call updateInset if the insert went ok.
5968 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5969 specialChar instead.
5971 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5973 * BufferView.h: doxy change
5975 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5977 * lyxtextclass.C (operator[]): remove non-const version
5978 (defaultLayout): remove non-const version
5980 2002-03-12 Juergen Vigna <jug@sad.it>
5982 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5983 did resize the LyXText too.
5985 * buffer.C (readLyXformat2): set layout information on newly allocated
5988 * tabular.C (OldFormatRead): set layout information on the paragraph.
5990 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5992 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5994 2002-03-11 Juergen Vigna <jug@sad.it>
5996 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5998 (resizeCurrentBuffer): force also the insets to resize themselfes.
5999 (moveCursorUpdate): fixed up for InsetText.
6001 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6004 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6005 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6006 value of Dialogs::tooltipsEnabled().
6007 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6009 2002-03-08 Juergen Vigna <jug@sad.it>
6011 * BufferView_pimpl.C (updateInset): update inset inside inset also
6012 if it isn't inside theLockingInset().
6014 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6016 * buffer.C (asciiParagraph): redo some of the word and line length
6018 (getLists): look for Caption instead of caption.
6020 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6022 * buffer.C (Buffer): initialize niceFile to true
6025 (makeDocBookFile): make sure niceFile is true on exit
6027 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6029 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6031 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6033 * LyXSendto.C: remove.
6034 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6035 * lyx_gui.C: remove now-redundant comment.
6036 * ColorHandler.h: remove forward declaration of class WorkArea.
6037 * lyxfunc.C: remove #include "WorkArea.h".
6039 2002-03-07 Juergen Vigna <jug@sad.it>
6041 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6042 got moved away with the DEPM and also set the inset_owner always
6043 right which before could have been omitted.
6045 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6047 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6048 wanted layout is not found.
6050 2002-03-07 Juergen Vigna <jug@sad.it>
6052 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6054 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6056 * paragraph.C (breakParagraph): use default layout not layout of
6058 (Paragraph): clear ParagraphParameters.
6060 2002-03-06 Juergen Vigna <jug@sad.it>
6062 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6063 otherwise it would not be a valid lenght. Fixed a special case in
6064 the minipage compatibility read where we end the document with a
6067 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6068 was set as it could be 0 for InsetTexts first entry.
6070 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6072 * paragraph.C (writeFile): if layout is empty write out
6073 defaultLayoutName().
6075 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6076 file without named layout we set layout to defaultLayoutName().
6078 2002-03-06 Juergen Vigna <jug@sad.it>
6080 * CutAndPaste.C (copySelection): set layout for new paragraph.
6082 * text.C (prepareToPrint): leave ERT inset left aligned
6083 (leftMargin): don't indent paragraphs inside ERT insets
6085 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6087 * paragraph.C (breakParagraph): dont call clear do the work manually
6089 * paragraph.[Ch] (clear): remove function
6091 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6093 * paragraph.C (Paragraph): dont call clear, the work has already
6096 * lyxtextclass.C (operator): assert if n is empty
6098 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6099 work manually instead.
6101 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6103 * BufferView_pimpl.C: protect selectionLost against text == 0
6105 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6107 * text.C (breakParagraph): fix a setting layout to '0' problem.
6109 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6111 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6112 final location of file, for the included files, and graphics.
6114 2002-03-05 Juergen Vigna <jug@sad.it>
6116 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6118 2002-03-04 Juergen Vigna <jug@sad.it>
6120 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6122 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6123 last column of multicolumn cells.
6124 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6126 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6128 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6129 file if it doesn't go to a temporary file.
6131 * buffer.C (sgmlOpenTag):
6132 (sgmlCloseTag): remove extra newline insertion.
6134 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6136 * text.C (getRowNearY): comment out debug msg
6138 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6140 * text2.C: first -> first_y
6142 * text.C (getRowNearY): add some attemts at a possible
6143 optimization, not working.
6145 * tabular.[Ch]: add BufferParams to several function so that newly
6146 created paragraph can be initialized to he default layotu for the
6149 * tabular-old.C (ReadOld): add buf->params to call of Init
6151 * screen.C: rename text->first to text->first_y
6153 * paragraph.C (breakParagraph): always set layout in the broken
6156 * lyxtextclass.C (Read): remove lowercase
6159 (delete_layout): ditto
6161 * lyxtext.h: rename first -> first_y
6163 * lyxlayout.C (Read): remove lowercase
6166 (obsoleted_by): ditto
6168 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6170 * buffer.C (insertErtContents): add params are to InsetERT
6171 (parseSingleLyXformat2Token): add code to check if a paragraphs
6172 layout really exist.
6173 (parseSingleLyXformat2Token): add params to several inset
6175 (asciiParagraph): remove lowercase, do the layout comparisons with
6178 * BufferView_pimpl.C (cursorNext): first -> first_y
6179 (resizeCurrentBuffer): first -> first_y
6180 (updateScrollbar): first -> first_y
6181 (scrollCB): first -> first_y
6182 (workAreaMotionNotify): first -> first_y
6183 (workAreaButtonPress): first -> first_y
6184 (checkInsetHit): first -> first_y
6185 (cursorPrevious): first -> first_y
6186 (cursorNext): first -> first_y
6187 (Dispatch): add buffer_->params to severl inset contructors
6189 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6191 * lyxlayout.C (Read): remove some debug info that I forgot.
6193 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6194 clean up the code slightly.
6195 (makeLinuxDocFile): ditto
6196 (makeDocBookFile): ditto
6198 * text2.C: layout as string
6200 * text.C: layout as string
6202 * paragraph_pimpl.C: layout as string
6204 * paragraph.[Ch]: layout as string
6206 * lyxtextclasslist.[Ch]: layout as string
6208 * lyxtextclass.[Ch]: layout as string
6210 * lyxtext.h: layout as string
6212 * lyxlayout.[Ch]: layout as string
6214 * lyx_cb.C: layout as string
6216 * bufferview_funcs.C: layout as string
6218 * bufferparams.C: layout as string
6220 * buffer.C: layout as string
6222 * LyXView.[Ch]: layout as string
6224 * LaTeXFeatures.[Ch]: layout as string
6226 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6228 * BufferView_pimpl.C: change current_layout to string, remove
6233 (workAreaButtonRelease): layout as string
6235 * BufferView2.C (unlockInset): adjust
6237 * vspace.C (asLatexCommand): use an explict temp variable.
6239 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6241 * Makefile.am: use FRONTEND_*
6243 2002-03-01 Juergen Vigna <jug@sad.it>
6245 * tabular.C (SetWidthOfMulticolCell): changed to something better
6246 I hope but still work in progress.
6247 (recalculateMulticolumnsOfColumn): renamed function from
6248 recalculateMulticolCells as it is more appropriate now.
6249 (SetWidthOfCell): calculate multicols better.
6251 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6253 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6255 * lyxfunc.C (processKeySym): print sequence also if it is
6256 `deleted' (complete)
6258 * kbsequence.C (print): print sequence even if it is deleted
6259 (complete would be a better word, actually).
6261 * lyxfunc.C (dispatch): print complete options after a prefix key
6263 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6265 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6267 * text2.C (setCharFont): eliminate setCharFont code duplication.
6269 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6271 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6272 LFUN_TABULAR_FEATURE (bug #177)
6274 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6276 * Makefile.am: remove figure.h
6278 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6280 * Bufferview_pimpl.C:
6292 * text2.C: remove #include "lyx_gui_misc.h".
6294 * LaTeX.C: added #include <cstdio>
6296 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6298 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6299 that the paragraph following this one can have.
6301 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6303 * vspace.C (asLatexCommand): fix bogus gcc warning
6305 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6307 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6309 * text2.C (setLayout): get rid of redundant code
6311 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6313 * text2.C (incDepth): make sure depth cannot be increased beyond
6316 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6318 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6319 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6321 * PainterBase.h (image):
6322 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6325 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6329 * BufferView_pimpl.C:
6330 * BufferView_pimpl.h:
6350 * sp_spell.C: remove fig inset, and the crap house of
6351 cards that follows it
6353 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6359 * nt_defines.h: move .h into support/
6361 * vms_defines.h: remove
6363 * WorkArea.C: add space in debug output
6367 * buffer.C: add WITH_WARNINGS
6371 * bufferlist.C: s/retrive/retrieve/, add docs
6382 * lyxgui.C: add ID to X error handler
6384 * lyxtestclass.c: fix typo
6386 2002-02-26 Juergen Vigna <jug@sad.it>
6388 * tabular_funcs.C (write_attribute): changed so that some default
6389 attributes are not written at all.
6390 (getTokenValue): set default values before trying to read the
6391 value so we have the return value always set as default if we don't
6392 find the token we search for.
6394 * tabular.C (Write): write bools as bools not as strings!
6396 2002-02-22 Juergen Vigna <jug@sad.it>
6398 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6399 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6401 * text.C (leftMargin): don't add an indent for paragraphs inside
6402 tabular cells (fix #208).
6404 2002-02-21 José Matos <jamatos@fep.up.pt>
6406 * tabular.C (docBook): fixed support for long tables.
6408 2002-02-20 Juergen Vigna <jug@sad.it>
6410 * text2.C (getFont): get the drawing font of the Inset if this
6411 paragraph is inside an inset (only important for InsetERT for now).
6413 * buffer.C (insertErtContents): use new lanugage params in ERT
6416 * CutAndPaste.C: commenting out seemingly uneeded code.
6418 2002-02-19 Allan Rae <rae@lyx.org>
6420 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6421 Iterators might be simple to use but they also get invalidated.
6422 (removeAutoInsets): renamed saved cursor tracking variables and added
6423 some comments to clarify what everything does.
6425 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6432 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6433 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6436 * vc-backend.h: remove #include "support/syscall.h"
6440 * converter.C: rearrange #includes in Lars' approved fashion.
6442 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6443 forward declare class Timeout in the header file.
6445 * XFormsView.C: changes due to the above.
6447 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6450 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6451 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6453 2002-02-18 José Matos <jamatos@fep.up.pt>
6455 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6458 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6460 * a lot of small ws changes
6461 * add a lot of using std::XXX
6462 * use std construcs some places where approp.
6463 * use some exisint stuff from lyxfunctional where approp.
6464 * Make file changes to use partial linking (lets test this now...)
6466 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6470 remove #include "support/syscontr.h" as it's redundant. Always has been.
6478 change Systemcalls::System to Systemcalls::Wait and
6479 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6480 No change of functionality, just reflects the stripped down Systemcalls
6483 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6485 * debug.[Ch]: add a GRAPHICS type to the enum.
6487 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6489 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6491 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6494 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6496 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6497 match the changes below.
6499 * text2.C (toggleInset): if there is not editable inset at cursor
6500 position, try to see if cursor is _inside_ a collapsable inset
6503 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6505 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6506 document menu has a nice checkbox
6508 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6510 * lyxlength.C (asLatexString): change PW to output as percent of
6513 * lengthcommon.C: change '%' to 't%'
6515 * lyxfunc.C (dispatch): a few comments from Martin
6517 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6521 * BufferView_pimpl.h:
6522 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6525 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6527 * vspace.C (inPixels): fix compiler warning
6529 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6531 * lyxfunc.C (getStatus): fix status message for disabled commands.
6533 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6535 * BufferView_pimpl.C: fix crash on close buffer
6536 during selection (#227)
6538 2002-01-27 Herbert Voss <voss@lyx.org>
6540 * buffer.C: link old Figure to new graphic inset
6542 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6544 * FontLoader.C (getFontinfo): Change the latex font names in order
6545 to match the names of type1inst.
6547 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6549 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6551 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6554 (remove_files_with_extension): ditto
6555 (remove_file): ditto
6558 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6559 document is smaller than the work area height. Do not initialize
6560 static variables to 0.
6562 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6564 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6566 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6567 LFUN_LAYOUT_PARAGRAPHS.
6569 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6570 tabular. It is possible to provide a possible cell, which will
6571 typically be the actcell from the corresponding insettabular
6573 * lyxfunc.C (getStatus): small cleanup; disable
6574 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6577 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6579 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6581 * paragraph.C (startTeXParParams):
6582 (endTeXParParams): new methods. The LaTeX code to
6583 start/end paragraph formatting
6584 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6585 empty (fixes bug #200)
6587 * vspace.C (inPixels): adapt to the change below
6588 (inPixels): [later] more cleanups (remove unused variables)
6590 * lyxlength.C (inPixels): change to use a width and a height as
6593 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6595 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6596 Replaced with \paperwidth
6598 * DepTable.C (insert): add std:: qualifier
6600 2002-01-18 Allan Rae <rae@lyx.org>
6602 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6605 * text.C (drawInset): Turned out I didn't know enough about how
6606 rebreaking worked. This fixes most of the redraw problems. I see
6607 an occasional cursor trail when a line is broken now and the cursor
6608 placement can seem out by a few pixels also after a rebreak.
6610 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6612 * buffer.C (parseSingleLyXformat2Token): update because minipage
6613 width is now a LyXLength
6615 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6617 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6620 2002-01-17 Juergen Vigna <jug@sad.it>
6622 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6624 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6625 is set correctly and the inset is updated correctly.
6627 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6629 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6630 the beginning of the loop.
6632 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6634 * lyxrc.C: improve help for use_scalable_fonts
6636 2002-01-17 Allan Rae <rae@lyx.org>
6638 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6640 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6642 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6643 make sure to set their inset_owner to the right value (bug #171)
6645 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6648 * DepTable.C: Implement mtime checking to reduce time spent doing
6651 2002-01-16 Juergen Vigna <jug@sad.it>
6653 * tabular.C (GetAdditionalHeight): one of error fixed.
6655 * lyxrc.C (output): small fix in writing use_pspell.
6657 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6659 * sp_base.h: #include LString.h
6661 2002-01-16 Allan Rae <rae@lyx.org>
6663 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6664 Can someone check this please?
6666 * text.C (drawInset): It was possible that p.row would be removed by
6667 breakAgainOneRow upsetting a few other settings. There may be another
6668 small tweak possible by setting need_break_row = 0 when p.row has been
6669 removed but I don't know enough about the logic here.
6671 2002-01-15 Allan Rae <rae@lyx.org>
6673 * text.C (insertChar): removed conditional truism.
6675 * BufferView2.C (removeAutoInsets): More tweaks.
6676 cur_par_prev could be a stray pointer. Check for trailing empty line
6677 in case last line was cur_par and only had an error inset on it.
6679 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6681 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6684 * vc-backend.C (most methods):
6685 * exporter.C (Export):
6686 * converter.C (convert):
6688 * LyXSendto.C (SendtoApplyCB):
6689 * lyxfunc.C (dispatch):
6693 * lyx_cb.C (AutoSave):
6695 * BufferView_pimpl.C (MenuInsertLyXFile):
6696 * buffer.C (runChktex): use Buffer::filePath().
6698 * buffer.h: rename filename to filename_; rename filepath to
6699 filepath_ and make it private
6700 (filePath): new method
6702 * buffer.C (writeFile): use fileName()
6705 * lyx_main.C (init): fix starting of LyX when the binary is a
6706 link from so,ewhere else.
6708 * minibuffer.C: include <cctype> for isprint
6710 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6712 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6713 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6714 name clash with InsetCollapsable's width function.
6716 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6718 * lastfiles.C: include <iterator>
6720 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6722 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6725 * buffer.C (makeLaTeXFile): ditto.
6726 Also make loop operation more transparent.
6728 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6730 * ToolbarDefaults.C: remove trailing comma closing namespace.
6732 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6734 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6737 * trans.C (Load): comment out unused variable, allowed.
6739 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6741 * minibuffer.[Ch] (append_char): new method to recieve input from the
6742 drop-down completion browser. If a key was pressed, then recieve this
6743 char and append it to the existing string.
6744 (peek_event): modify the positioning data passed to the completion
6745 browser so that it can be placed above the minibuffer rather than below.
6746 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6748 * LyXAction.C (init): alloe error-next for readonly documents.
6750 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6753 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6755 * bufferlist.C (readFile): create the buffer _after_ checking that
6758 * lyxfunc.C (verboseDispatch): fix handling of arguments
6760 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6762 * lyxrc.C: use string::erase() instead of initializing to "".
6765 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6767 * BufferView_pimpl.h:
6768 * BufferView_pimpl.C:
6771 * text2.C: tell X when we have made a selection for copying
6773 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6775 * BufferView_pimpl.C (MenuInsertLyXFile):
6776 * lyxfunc.C (menuNew):
6778 (doImport): add shortcuts to directory buttons
6780 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6783 * lyxfunc.C (setStatusMessage):
6784 (getStatusMessage): new methods
6785 (getStatus):use setStatusMessage instead of setErrorMessage
6786 (dispatch): when function is disabled, set error message here
6787 [instead of in getStatus previously]
6789 * BufferView_pimpl.C (workAreaButtonRelease): update
6790 toolbar/menubar here too.
6792 2002-01-13 Allan Rae <rae@lyx.org>
6794 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6795 Now seems indestructible. Remaining task is to audit all other
6796 code affected by deleteEmptyParagraphMechanism. One small quirk
6797 left is that an empty document with an error in the preamble can
6798 be made to report an error but no error box appears. I don't know
6800 (removeAutoInsets): Improved comments.
6802 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6805 * Thesaurus.C: update for Aiksaurus 0.14
6807 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6809 * text2.C (firstParagraph): removed member function, all uses
6810 replaces with ownerParagraph
6811 (redoParagraphs): here
6813 (toggleAppendix): here
6814 * BufferView2.C (insertErrors): here
6815 (setCursorFromRow): here
6817 2002-01-13 Allan Rae <rae@lyx.org>
6819 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6820 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6821 There is still a way to segfault this although you may have to do this
6822 multiple times: Have an InsetERT with an unknown command in it.
6823 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6824 <down-arrow>, <Enter> again, View->DVI, BANG!
6826 * text2.C (setCursor):
6827 (deleteEmptyParagraphMechanism):
6828 * lyxtext.h (setCursor):
6829 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6830 Making use of the return value may help fix other bugs.
6832 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6834 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6836 * LyXView.C (updateMenubar): call MenuBar::update here
6837 (updateToolbar): but not here
6838 (showState): do not update toolbar/menubar
6840 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6841 should need to care about that.
6843 * lyxfunc.C (verboseDispatch): simplify a bit
6844 (getStatus): have a version which takes a pseudoaction, and
6845 another which requires a (kb_action,string).
6847 * LyXAction.C (retrieveActionArg): make it work also when action
6848 is not a pseudo-action.
6849 (getActionName): simplify a bit
6852 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6854 * lyxfunc.C (verboseDispatch): new families of methods with
6855 several ways to specify a command and a bool to indicate whether
6856 the command name and shortcut should be displayed in minibuffer
6857 (eventually, we could extend that to a finer bitmask like
6858 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6859 (dispatch): the pristine dispatch command which just, well,
6860 dispatchs! Note it still sets its result to minibuffer; I'm not
6863 * lyxfunc.h: remove setHintMessage
6865 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6867 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6869 * BufferView_pimpl.C (specialChar): delete new inset if we have
6870 not been able to insert it.
6872 * kbmap.C: revert to using int instead of kb_action, since all we
6873 are dealing with is pseudo-actions.
6875 * LyXAction.C (searchActionArg): change to return int instead of
6876 kb_action, since the result is a pseudoaction.
6878 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6880 * buffer.C (insertErtContents): Fix (partially) the font bug.
6882 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6884 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6885 as the other one is broken on my machine!
6887 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6890 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6892 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6894 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6895 reflect their actual use. Provide compatibility code for older lyxrc
6898 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6900 change names of popup font variables in line with the changes to lyxrc.C
6902 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6904 * buffer.C (asciiParagraph): avoid outputing a word twice after
6907 * lyxrc.C (getDescription): document that document_path and
6908 template_path can be empty.
6910 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6912 * LaTeXFeatures.C (getMacros):
6913 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6915 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6917 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6919 (getPackages): rename feature "floats" to "float". Use an array to
6920 iterate over 'simple' features (i.e. just a \usepackage). Add
6921 handling of "amsmath" (renamed from "amsstyle").
6923 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6925 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6928 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6930 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6931 FuncStaus::FuncStatus & FuncStaus::some_method().
6933 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6935 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6936 of the func_satus stuff. Edited and massaged in various ways by
6939 * lyxfunc.C (getStatus): use FuncStatus
6941 2002-01-08 Juergen Vigna <jug@sad.it>
6943 * text.C (nextBreakPoint): use function Inset::isChar().
6945 * paragraph.C (TeXOnePar): use function
6946 Inset::forceDefaultParagraphs.
6948 * buffer.C (latexParagraphs): use function
6949 Inset::forceDefaultParagraphs.
6951 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6953 * lyx_gui.C (init): set the style of the menu popups to
6954 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6956 2002-01-07 Juergen Vigna <jug@sad.it>
6958 * text.C (setHeightOfRow): small fix
6959 (prepareToPrint): don't look at alignment if we don't have the place
6962 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6964 * box.C: New file. Move the Box methods and functions out of box.h,
6965 following Lars' suggestion.
6967 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6969 * box.h: #include "support/LOstream.h", needed for inlined function.
6972 * lyxtextclasslist.C: added some using std declarations.
6974 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6976 * box.h: make signed dimensions to allow insets wider than
6977 the screen (bug #162)
6979 * BufferView_pimpl.C: add some insetHit debug
6981 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6983 * vc-backend.C: add FIXME
6985 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6987 * lyxfunc.C (getStatus): enable code for showing math font status
6990 2002-01-07 Juergen Vigna <jug@sad.it>
6992 * text.C (nextBreakPoint): removed debug output not needed anymore.
6994 2002-01-06 Juergen Vigna <jug@sad.it>
6996 * text.C (nextBreakPoint): fixed up this function we had this bug
6997 since ever but now hopefully we break row better.
6998 (insertChar): we have to check if an inset is the next char as it
6999 could now happen that a large inset is causing a break.
7001 2002-01-05 Juergen Vigna <jug@sad.it>
7003 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7004 if it doesn't like to be drawed.
7006 2002-01-04 Juergen Vigna <jug@sad.it>
7008 * BufferView2.C (lockInset): forgot to set a cursor.
7010 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7012 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7017 * form_maths_panel.C:
7018 * form_maths_panel.h:
7019 * form_maths_panel.fd: implemented sub- and super- buttons in math
7022 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7023 (or ^ space) to be used as in TeX (req'd by André).
7025 * lyxfunc.C: Allow ^ and _ again to be used both as
7026 super/subscript (mathed) and as themselves (in text).
7028 2002-01-03 Allan Rae <rae@lyx.org>
7030 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7031 "LyX" or the filename of the current buffer if it has one. This is a
7032 modified form of John Levon's patch.
7034 * XFormsView.C (setWindowTitle): also set icon title.
7036 * LyXView.h (setWindowTitle): signature changed.
7037 * XFormsView.h (setWindowTitle): ditto.
7039 2002-01-02 Juergen Vigna <jug@sad.it>
7041 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7043 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7045 * screen.C (topCursorVisible): introduce a temp var for
7046 text->cursor.row(), handle the case where this row is null. (kindo
7049 * text2.C (setCursor): add a couple of asserts.
7051 * paragraph.h (inset_iterator): add -> operator
7053 * paragraph.[Ch] (autoDeleteInsets): remove member function
7055 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7056 cursor pos correctly and handle inset deletion by itself.
7057 (insertErrors): move iterator declaration out of for expression
7059 * lyxtextclass.C: add <algorithm>
7061 * Makefile.am: added the new files to sources, removed layout.C
7063 * layout.C: removed file
7065 * layout.h: remove LYX_DUMMY_LAYOUT
7067 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7071 * lyxtextclass.[Ch]:
7072 * lyxtextclasslist.[Ch]: new files
7074 * include order changes to a lot of files, also changes because of
7077 2001-12-27 Juergen Vigna <jug@sad.it>
7079 * buffer.C (asciiParagraph): more fixes.
7081 * tabular.C (ascii): make ascii export support export of only the
7082 data separated by a column-delimiter.
7083 (ascii): better support for ascii export.
7085 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7087 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7089 * tabular_funcs.C: use a "using std::getline" instead of the
7090 previous fix from Angus (necessary for cxx + lyxstring)
7092 2001-12-24 Juergen Vigna <jug@sad.it>
7094 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7096 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7097 problems. First check a minipage also if we have some ert-contents
7098 (not only on par->size(), second set the right depth of the paragraph
7099 on the relink to the root-paragraph-list!
7101 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7102 which then did not anymore update the main paragraphs on undo/redo!
7104 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7106 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7107 code. Support all font-changing funcs (even those which are not in
7108 menu currently). Support for reporting font settings in
7109 mathed (disabled until Andre provides a function on mathed's side).
7111 * func_status.h (toggle): small helper function to set toggle
7114 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7116 * tabular_funcs.C: getline -> std::getline
7118 2001-12-21 Juergen Vigna <jug@sad.it>
7120 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7121 accessed and could be 0 (I couldn't generate this but it seems
7124 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7126 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7127 * tabular_funcs.h: here and include iosfwd
7129 2001-12-20 Juergen Vigna <jug@sad.it>
7131 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7132 inside inset but undo_par was.
7134 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7136 * Thesaurus.C: always include <config.h> in sources.
7140 * box.h: do not include <config.h> in header files
7142 * text.C (paintLastRow): remove unused variable
7144 * text.C (transformChar):
7146 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7149 * font.C (width): rewrite to use uppercase() instead of
7152 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7154 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7156 * lyxfind.C: clean up of find failure position change
7158 2001-12-20 Juergen Vigna <jug@sad.it>
7160 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7162 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7163 (TeXRow): added to LaTeX a single tabular row.
7164 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7165 (Latex): simplified and finally good LT-h/f support.
7166 (various_functions): just small adaptions for LT-h/f support.
7168 * tabular_funcs.[hC]: added and moved here all not classfunctions
7171 2001-12-19 Juergen Vigna <jug@sad.it>
7173 * tabular.[Ch]: better support for longtabular options (not finished
7176 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7178 * text.C (paintLastRow): use the label font instead of the font of
7179 the last character to compute the size of *_BOX. This makes more
7180 sense and avoids a crash with empty paragraphs.
7181 Use Painter::rectangle to draw EMPTY_BOX.
7183 2001-12-19 Juergen Vigna <jug@sad.it>
7185 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7186 the paragraphs if the replaced paragraph is not the first one!
7187 Tried to delete not used paragraphs but does not work yet so for
7188 now it's inside #ifdef's and by default off!
7190 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7192 * MenuBackend.C: include "lyx_main.h" instead of declaring
7193 lastfiles (actually was declared as LastFiles* instead of a
7196 2001-12-17 Juergen Vigna <jug@sad.it>
7198 * tabular.C (AppendColumn): applied John's fix
7200 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7204 * BufferView_pimpl.h:
7205 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7208 * box.h: new start of class for above
7210 * lyxfunc.C: ignore space-only minibuffer dispatches.
7211 Show the command name when it doesn't exist
7213 * minibuffer.C: don't add empty lines to the history
7215 * minibuffer.C: add a space on dropdown completion
7217 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7219 * text.C: fix line above/below drawing in insets
7221 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7223 * lyxlength.C (LyXLength): Initialize private variables.
7225 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7227 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7228 when inserting error insets.
7230 2001-12-13 Juergen Vigna <jug@sad.it>
7232 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7233 actually sometimes the before-paragraph.
7234 (setUndo): don't clear the redostack if we're not actually undoing!
7236 2001-12-06 Juergen Vigna <jug@sad.it>
7238 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7239 and fixed redoing of main paragraph, so we can use it now ;)
7241 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7243 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7245 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7248 2001-12-13 André Pönitz <poenitz@gmx.net>
7251 * undo_func.C: minor cleanup
7253 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7255 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7256 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7257 font in urw-fonts package which is marked as -urw-fontspecific and
7258 does not work (incidentally, changing the encoding in the
7259 fonts.dir of this package to -adobe-fontspecific fixes the
7262 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7263 is a crash when undoing first paragraph (Juergen, please take a
7264 look). THis does not mean the undo fix is wrong, just that it
7267 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7268 the (Paragraph*) version when needed instead of duplicating the
7271 * text.C (workWidth): use Inset::parOwner to find out where the
7272 inset has been inserted. This is a huge performance gain for large
7273 documents with lots of insets. If Inset::parOwner is not set, fall
7274 back on the brute force method
7276 * paragraph_pimpl.C (insertInset):
7277 * paragraph.C (Paragraph):
7278 (cutIntoMinibuffer): set parOwner of insets when
7279 inserting/removing them
7281 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7283 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7289 * mathed/formulabase.C:
7290 * mathed/math_cursor.[Ch]:
7291 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7294 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7296 * lyxlength.[Ch] (operator!=): new function
7298 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7300 * text.C (workWidth): use Inset::parOwner to find out where the
7301 inset has been inserted. This is a huge performance gain for large
7302 documents with lots of insets. If Inset::parOwner is not set, fall
7303 back on the brute force method
7305 * paragraph_pimpl.C (insertInset):
7306 * paragraph.C (Paragraph):
7307 (cutIntoMinibuffer): set parOwner of insets when
7308 inserting/removing them
7310 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7312 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7314 * tabular-old.C (getTokenValue):
7315 * tabular.C (getTokenValue):
7316 (write_attribute): new versions for LyXLength
7317 (everywhere): adjust the use of widths
7319 * tabular.h: change the type of widths from string to LyXLength
7321 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7323 * paragraph.C: fixed missing line number count when exporting
7324 Environments to LaTeX file
7326 * buffer.C: added informational message for checking line numbers.
7328 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7331 paragraph, do the 'double space' part, but not the 'empty
7334 * text.C (workWidth): small optimization
7335 (getLengthMarkerHeight): use minimal size for negative lengths.
7337 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7339 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7341 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7343 2001-12-11 André Pönitz <poenitz@gmx.net>
7346 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7348 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7350 * text2.C: keep selection on a setFont()
7352 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7354 * lyx_cb.C: another bv->text misuse, from insert label
7356 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7359 * kbsequence.C: re-instate nmodifier mask
7361 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7363 * lyx_main.h: make lyxGUI private.
7365 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7367 * lyxfind.C: place the cursor correctly on failed search
7369 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7371 * text.C (getLengthMarkerHeight): for small heights, the arrows
7372 are not always on top/bottom of the text
7373 (drawLengthMarker): smaller arrows; take the left margin in
7374 account; draw also vfills.
7376 (paintLastRow): remove special code for vfill and standard spaces,
7377 since everything is handled in drawLengthMarker now.
7379 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7381 * buffer.C (insertErtContents): try to handle font and language
7382 interaction a bit better.g
7384 * ColorHandler.C (updateColor): change the hash to cover the whole
7385 LColor enum, ws cleanup
7386 (getGCLinepars): ditto
7387 (getGCLinepars): only lookup in the linecache once.
7389 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7391 * iterators.C (operator++): Make the iterator more robust
7393 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7397 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7400 * text.C: better added space drawing
7402 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7405 * BufferView2.C: fix layout combo update on inset unlock
7407 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7409 * Makefile.am: don't compile unused files
7411 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7415 * LyXAction.C: remove old LFUN_LAYOUTNO
7417 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7419 * paragraph_pimpl.h:
7420 * paragraph_pimpl.C: isTextAt() doesn't need font param
7422 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7425 * lyxlex.C: little cleanup
7427 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7429 * BufferView_pimpl.C: fix insertAscii for insets
7431 2001-12-05 Juergen Vigna <jug@sad.it>
7433 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7434 set the right font on the "multi" paragraph paste!
7436 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7442 * lyxlength.C: remove out-commented code.
7458 * vc-backend.C: change "while(" to "while ("
7460 * lyxlength.[Ch]: add zero function to check if length is zero or
7462 * lyxgluelength.C: use it
7464 2001-12-05 Allan Rae <rae@lyx.org>
7466 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7467 Works for 2.95.3, from what I understand of Garst's reports this should
7468 work for other g++ versions. We're screwed if the abs(int) definition
7469 changed between bugfix releases of gcc.
7471 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7473 * text.C: fix chapter label offset !
7475 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7478 * text.C: fix hfill at end of line, clean up
7480 2001-12-04 Juergen Vigna <jug@sad.it>
7482 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7483 that we force an update of the inset and it's owners if neccessary.
7485 2001-12-03 Juergen Vigna <jug@sad.it>
7487 * text.C (rowLast): simplified code
7489 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7491 * lyxfunc.C: fix show options on timeout
7493 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7495 * screen.C (topCursorVisible): scroll half a page when the cursor
7496 reached top of bottom of screen
7498 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7500 * minibuffer.C: deactivate on loss of focus
7502 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7504 * vspace.[Ch] (operator!=): add operator.
7506 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7508 * BufferView_pimpl.C: refuse to open an inset when
7509 there's a selection.
7511 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7513 * BufferView_pimpl.C: allow to click on RHS of full row insets
7515 2001-11-30 Juergen Vigna <jug@sad.it>
7517 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7518 insets for undo reasons.
7520 2001-11-28 André Pönitz <poenitz@gmx.net>
7522 * vspace.[Ch]: cosmetical changes
7524 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7534 * kbsequence.C: part re-write of old kb code
7537 * WorkArea.C: remove Lgb_bug_find_hack
7539 2001-11-30 José Matos <jamatos@fep.up.pt>
7541 * buffer.C (makeDocBookFile): add a comment to point a hack.
7542 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7543 Fixed a double write of labels.
7545 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7548 * LaTeX.h Fixed bug in LaTeX class where it would not
7549 re-run latex if no depfiles were changed, but the .dvi was removed.
7551 2001-11-28 André Pönitz <poenitz@gmx.net>
7553 * all the files from the change on 2001/11/26:
7554 use lyx::layout_type instead of LyXTextClass::size_type
7555 use lyx::textclass_type instead of LyXTextClassList::size_type
7557 2001-11-29 Juergen Vigna <jug@sad.it>
7559 * text.C: added support for paragraph::isFreeSpacing()
7561 * buffer.C: same as above
7563 * paragraph.h: inserted isFreeSpacing() function to enable
7564 FreeSpacing inside InsetERT.
7566 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7567 of the paragraph's in the cut/copy buffer to 0!
7569 * text2.C (removeRow): remove the assert as it can!
7571 * lyxtext.h: added helper function firstRow returning firstrow and
7572 made firstrow private again.
7574 * BufferView2.C (lockInset): don't relock if we're already locked!
7576 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7578 (removeRow): added Assert::(firstrow)
7580 * debug.C: forgot to add INSETTEXT here.
7582 2001-11-28 Juergen Vigna <jug@sad.it>
7584 * sp_spell.C (initialize): changed error text to more general
7585 spellchecker command use (not only ispell!)
7587 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7589 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7591 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7593 * vspace.C: initialise lyxgluelength on failure
7595 2001-11-28 Allan Rae <rae@lyx.org>
7597 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7598 declaration & definition that looks like a function declaration.
7600 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7602 * BufferView2.C (copy):
7603 (copyEnvironment): do not clear the selection when doing a copy.
7605 * text.C (paintFirstRow): compilation fix
7607 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7609 * tabular.C (Latex): correct line count when writing latex.
7611 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7613 * paragraph_pimpl.h:
7614 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7617 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7621 * LColor.C: change vfillline->added_space
7623 * text.C: add markers and text for added space
7625 * vspace.C: fix comment
7627 2001-11-28 André Pönitz <poenitz@gmx.net>
7629 * paragraph.C: whitespace changes
7630 * all the other files from the change on 2001/11/26:
7631 change *::pos_type into lyx::pos_type
7633 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7635 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7636 language of the document when inserting error insets.
7638 2001-11-26 André Pönitz <poenitz@gmx.net>
7640 * BufferView_pimpl.[Ch]:
7648 * paragraph_pimpl.[Ch]:
7651 * text2.C: reduce header dependencies, introduce type for positions
7653 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7655 * <various>: change to use Alert.h
7657 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7659 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7660 when encountering an unknown token.
7661 (readLyXformat2): Show an error message if there were unknown tokens.
7663 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7666 * BufferView_pimpl.C:
7670 * text2.C: use par->isInset()
7672 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7674 * paragraph_pimpl.h:
7675 * paragraph_pimpl.C: cleanup
7677 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7679 * text2.C (removeRow):
7680 * text.C (setHeightOfRow): remove useless (and costly) call to
7683 2001-11-20 Allan Rae <rae@lyx.org>
7685 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7686 Now need Inset*::checkInsertChar() to return true for appropriate
7687 cases so that the characters in the minibuffer will actually be
7690 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7692 * text.C: change the order of the includes.
7693 (workWidth): initialize it at once.
7694 (workWidth): make maxw unsigned
7695 (setHeightOfRow): remove unused variable (inset)
7696 (selectSelectedWord): remove unused variable (inset)
7697 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7699 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7701 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7702 server is not running.
7704 (closeConnection): add debug info when server is disabled.
7706 * ColorHandler.C (getGCForeground): send debug message to GUI
7709 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7711 * kbmap.C (bind): modify because return conventions of
7712 kb_sequence::parse have changed.
7714 * kbsequence.C (parse): only ignore spaces and not any stupid
7715 control character. This avoids tests like s[i] <= ' ', which are
7716 guaranteed to fail with 8bit characters and signed chars.
7717 Change return code to string::npos when there have been no error
7718 (0 was a bad idea when error is at first character)
7720 2001-11-14 José Matos <jamatos@fep.up.pt>
7723 * buffer.C (simpleDocBookOnePar): removed unused argument.
7725 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7727 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7728 insets which are part of a word. Paragraph::isLetter takes care of
7729 that now. Use Paragraph::isInset to identify insets.
7730 (selectSelectedWord): do not test for hyphenation break.
7732 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7733 that protected spaces are considered as spaces.
7735 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7738 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7741 * lyxserver.C: fix it. and small cleanup.
7743 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7745 * BufferView_pimpl.C: use inline helpers
7748 * LaTeXFeatures.C: fix typos
7751 * Spacing.C: move spacing_string into class
7753 * ToolbarDefaults.C: move stuff into namespace anon
7755 * layout.h: update enum
7757 * lyxfunc.C: use better debug
7759 * minibuffer.h: fix typo
7763 * WorkArea.C: add and use Debug::WORKAREA
7767 * text2.C: code re-organisation, inline helpers
7769 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7771 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7772 std::vector.empty().
7774 2001-11-09 Allan Rae <rae@lyx.org>
7776 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7777 '\n's after tables. Tabular and ERT inset work now makes this no
7780 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7783 * minibuffer.C: fix crash, improve drop-down completion
7785 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7788 * lyxserver.C: invalidate fd's when doing endPipe()
7790 2001-11-08 José Matos <jamatos@fep.up.pt>
7792 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7793 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7796 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7798 2001-11-07 José Matos <jamatos@fep.up.pt>
7801 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7804 * buffer.C (sgmlOpenTag):
7805 * buffer.C (sgmlCloseTag): removed debug info.
7807 * buffer.h (sgmlOpenTag):
7808 * buffer.h (sgmlCloseTag): made public.
7810 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7812 * buffer.C (saveParamsAsDefaults):
7813 * lyx_cb.C (MenuLayoutSave): remove
7815 * LyXAction.C (init):
7817 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7819 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7821 * buffer.C (setPaperStuff): removed from here...
7823 * bufferparams.C (setPaperStuff): ... and moved there.
7825 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7829 * XFormsView.C: add support for drop-down completion
7831 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7833 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7836 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7838 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7841 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7843 * lyx_main.C: change ref to known bugs
7845 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7847 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7848 to work around older babel problems.
7850 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7852 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7854 2001-10-24 Juergen Vigna <jug@sad.it>
7856 * tabular-old.C (ReadOld): below variable changes reflected.
7858 * tabular.[Ch]: added ltType struct for longtable header/footer
7859 defines and changed all instances where they are used. Added
7860 future support for double top/bottom rows.
7862 2001-10-24 José Matos <jamatos@fep.up.pt>
7864 * buffer.h (docbookHandleCaption):
7865 * buffer.C (docbookHandleCaption): removed unused function.
7866 (makeDocBookFile): moved docbook supported version to v4.1.
7868 2001-10-24 José Matos <jamatos@fep.up.pt>
7871 * tabular.C (docbookRow): new function to export docbook code of a row.
7872 (DocBook): now honors the longtable flags.
7874 2001-10-23 José Matos <jamatos@fep.up.pt>
7877 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7878 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7880 * buffer.C (makeLinuxDocFile):
7881 (makeDocBookFile): reworked the preamble, more clean, and with
7882 support for lyx defined entities. Changed the document declaration
7883 to be more XML friendly.
7885 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7886 if we need to output XML that should be done with a filter.
7888 2001-10-22 Juergen Vigna <jug@sad.it>
7890 * sp_pspell.h (class PSpell): add alive function needed in the
7891 controller to see if the spellchecker could be started.
7893 2001-10-22 Juergen Vigna <jug@sad.it>
7895 * buffer.C (insertStringAsLines): modify the font for inserting
7896 chars in certain conditions by calling checkInsertChar(font).
7898 2001-10-19 Juergen Vigna <jug@sad.it>
7900 * text.C (workWidth): use getRow instead of wrong algorithm.
7901 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7903 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7908 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7910 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7912 * text.C (workWidth): do not search for the exact row when
7913 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7914 optimization for big documents.
7916 2001-10-18 Juergen Vigna <jug@sad.it>
7918 * text.C (workWidth): new function with added Inset * parameter.
7920 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7922 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7924 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7925 change return type of getColumnNearX.
7928 * text.C (changeRegionCase): use uppercase/lowercase instead of
7931 (rightMargin): simplify code by factoring out the uses of
7936 (appendParagraph): use Paragraph::size_type
7938 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7940 * vspace.C (asLatexString): add a missing break
7942 2001-10-15 Herbert Voss <voss@perce.de>
7944 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7946 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7948 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7951 2001-10-10 André Pönitz <poenitz@gmx.net>
7953 * lyxfunc.C: removed greek_kb_flag.
7955 2001-10-10 Herbert Voss <voss@perce.de>
7957 * lyx_main.C: delete global string help_lyxdir.
7959 2001-10-09 Herbert Voss <voss@perce.de>
7961 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7963 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7965 * lyx_main.C: added global string help_lyxdir.
7967 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7969 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7971 * lyxrc.C (set_font_norm_type): support iso8859-4
7973 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7975 * LaTeX.C (deplog): add another regex for MikTeX
7977 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7979 * lyxrc.C (set_font_norm_type): support iso8859-3
7981 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7983 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7985 * LaTeXFeatures.C: remove special case of french and index
7987 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7988 before \begin{document}). This solves several incompatibilities.
7990 2001-10-03 Garst Reese <reese@isn.net>
7992 * lyx_cb.C: change CheckTex error msg.
7994 2001-10-03 José Matos <jamatos@fep.up.pt>
7996 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7998 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8000 * .cvsignore: update
8002 * lyx_main.C (commandLineVersionInfo): use new style version info.
8004 * buffer.C (writeFile):
8007 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8009 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8011 * version.h: update to use stuff in version.C
8013 * version.C.in: new file. Contains version information determined
8014 at compile time. This is a merging of version.h and
8017 2001-10-03 Juergen Vigna <jug@sad.it>
8019 * BufferView_pimpl.C (update): don't change "dirty" status in
8022 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8024 * WorkArea.C (c-tor): re-position version string slightly.
8026 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8028 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8029 revert to previous code.
8031 WorkArea.[Ch]: (show, destroySplash): methods removed.
8033 WorkArea.C: rework code so that it's an amalgam of the codes before and
8034 after the splash screen was moved to WorkArea.
8036 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8039 * vspace.C (inPixels):
8042 * buffer.C (insertStringAsLines):
8043 (asciiParagraph): fix types to be large enough
8045 * lyxlex_pimpl.h: change member status from short to int
8047 * layout.h: fix type of endlabeltype
8050 * kbsequence.C (parse): change return type to string::size_type
8052 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8055 * Bullet.C (bulletSize):
8056 (bulletEntry): do not use short ints as parameters
8058 * BufferView2.C (insertLyXFile): change a char to an int.
8060 * WorkArea.C (WorkArea): remove unneeded floats in computation
8062 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8064 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8066 * paragraph.C (asString): Do not ignore newline/hfill chars when
8067 copying to the clipboard.
8069 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8071 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8072 after a multi-line inset.
8074 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8076 * paragraph.C (validate): Set NeedLyXFootnoteCode
8078 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8080 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8081 and decrease-error to decrease.
8083 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8085 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8086 it more readable (should be equivalent)
8088 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8090 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8092 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8094 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8095 of a cursor (row, etc.) after a character has been deleted
8096 (deleteEmptyParagraphMechanism): call the method above on _all_
8097 cursors held by the LyXText when a double space has been
8100 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8102 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8104 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8106 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8107 background. Use greyOut() and the new show() methods to toggle between
8108 the foreground and background. Add code to remove the splash after
8109 its initial showing.
8111 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8112 (create_forms): no longer call Dialogs::showSplash.
8114 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8116 * .cvsignore: add version_info.h
8118 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8120 * version_info.h.in: new file
8122 * Makefile.am: add version_info.h.in
8124 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8125 version_info.h instead of VERSION_INFO
8127 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8129 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8130 The ERT inset now returns string().
8132 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8134 * lyxtext.h, text.C (selectNextWord): renamed as
8135 selectNextWordToSpellcheck.
8137 * text.C (selectNextWordToSpellcheck): Modified to not select
8138 words inside an ERT inset.
8140 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8142 * lyx_cb.C (MenuLayoutSave): change a bit the question
8144 * sp_base.h: include <sys/types.h>
8146 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8148 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8150 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8152 * several files: fix typos in user-visible strings
8154 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8156 * text2.C (pasteSelection): do not set the selection, since it
8157 will be cleared later. Actually, the intent was to fix the way the
8158 selection was set, but I figured rmoving the code was just as good.
8160 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8162 * FontLoader.C (available): Check if font is available without
8165 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8167 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8169 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8171 * lyxrc.[Ch]: added display_graphics variable and associated code.
8173 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8175 * bufferparams.C (hasClassDefaults): new method. Returns true if
8176 the buffer parameters correspond to known class defaults
8178 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8180 * XFormsView.C (show): set minimum size to the main window.
8182 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8184 * text2.C (copySelection):
8186 * lyxfind.C (LyXReplace):
8187 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8188 LyXText::selectionAsString.
8190 * paragraph.C (asString): add "label" argument to the second form
8192 * text2.C (selectionAsString): add "label" argument and pass it to
8193 Paragraph::asString.
8195 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8197 * lyx_main.C (commandLineHelp): remove version information
8199 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8201 * lyx_main.C: add -version commandline option
8203 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8205 * paragraph.h: make the optional constructor arg required instead.
8206 some modifications to other files because of this.
8208 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8210 * lyxserver.C (C_LyXComm_callback): make it static
8212 * lyx_main.C (error_handler): make it static
8214 * lyx_gui.C (LyX_XErrHandler): make it static
8216 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8218 * WorkArea.C: make the extern "C" methods static.
8220 * Makefile.am (lyx_LDADD): simplify
8222 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8224 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8225 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8227 * LyXAction.C (init):
8228 * lyxfunc.C (dispatch): associated code removal.
8230 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8232 * lyxfont.h (isSymbolFont): shut off warning
8234 * text.C (setHeightOfRow):
8235 (getVisibleRow): fix crash with empty paragraphs which have a
8238 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8240 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8243 2001-09-04 José Matos <jamatos@fep.up.pt>
8246 * tabular.C (docbook): rename docBook method to docbook.
8248 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8250 * Makefile.am: add dependencies to main.o.
8252 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8254 * FontLoader.C (available): Return false if !lyxrc.use_gui
8256 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8258 * FontInfo.C (query):
8259 * converter.C (view):
8260 * importer.C (Import):
8261 * exporter.C (Export): Can not -> cannot.
8263 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8265 * BufferView_pimpl.C: allow to create index inset even if
8268 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8270 * buffer.C (getLists): replace boost::tie code with an explicit pair
8271 as boost::tie can break some compilers.
8273 * iterators.h: Added a std:: declaration to the return type of
8276 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8278 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8281 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8283 * iterators.[Ch]: New files. Provide paragraph iterators.
8285 * buffer.C (changeLanguage): Use paragraph iterators.
8286 (isMultiLingual): ditto
8288 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8290 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8292 * FontLoader.C: Support for cmr font.
8294 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8296 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8297 (available): New method.
8299 * FontInfo.C (getFontname): Use scalable fonts even when
8300 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8303 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8305 * converter.C (Formats::view): reverted! Incorrect fix.
8307 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8309 * converter.C (Formats::view): only output the -paper option
8310 if the dvi viewer is xdvi, thereby fixing bug #233429.
8312 2001-08-23 Herbert Voss <voss@perce>
8314 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8316 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8318 * Spacing.h (Spacing): Set space to Default on in the default
8321 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8323 * vc-backend.h (RCS::versionString): add RCS to version
8324 (CVS::versionString): add CVS to version
8326 * vc-backend.C (scanMaster): do not add CVS to version.
8327 (scanMaster): do not add RCS to version
8329 * lyxvc.C (versionString): new method
8331 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8333 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8335 * Spacing.C (set): initialize fval
8337 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8339 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8342 2001-08-16 Juergen Vigna <jug@sad.it>
8344 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8346 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8348 * BufferView_pimpl.C:
8351 * text2.C: setParagraph takes linespacing now
8353 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8355 * LyxAction.C: add internal LFUN_CITATION_INSERT
8357 * LyXView.C: actually apply fix
8359 * bufferlist.C: fix open non-existent file
8361 * lyxfind.C: fix indentation
8363 * lyxfunc.C: remove unneeded assert, fix typo
8365 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8367 * MenuBackend.C: use "Floatname List"
8369 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8371 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8372 when converting LaTeX layout to insetERT.
8373 Generate a non-collapsed float when reading old float
8375 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8377 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8380 2001-08-13 Juergen Vigna <jug@sad.it>
8382 * text.C (fill): return 0 instead of 20 as this seems to be the more
8385 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8387 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8390 2001-08-13 Juergen Vigna <jug@sad.it>
8392 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8394 (SearchBackward): comment out the unlocking of the inset_owner this
8395 should not be needed!
8397 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8399 * Many files: Remove inherit_language, and add latex_language
8401 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8404 2001-08-10 Juergen Vigna <jug@sad.it>
8406 * text.C (prepareToPrint): fixed hfill-width in draw!
8408 * BufferView2.C (selectLastWord): save the selection cursor as this
8409 now is cleared in the function LyXText::clearSelection!
8411 2001-08-08 Juergen Vigna <jug@sad.it>
8413 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8414 BACKSPACE type functions.
8416 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8417 is only cutted from the document but not put in the cut-buffer, where
8418 still the old stuff should be.
8420 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8422 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8424 * tabular.C (SetWidthOfCell): fixed special case where the width
8426 (LeftLine): handle '|' in align_special.
8428 (LeftAlreadyDrawed): ditto
8429 (SetWidthOfCell): ditto
8431 2001-08-07 Juergen Vigna <jug@sad.it>
8433 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8435 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8437 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8438 * lyxlex.[hC]: ditto
8440 2001-08-06 Juergen Vigna <jug@sad.it>
8442 * text.C (getVisibleRow): fix up row clearing a bit.
8444 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8446 * minibuffer.C: make sure the X server sees the changes in the input.
8448 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8450 * paragraph.C (getFont): split into...
8451 (getLabelFont): this
8452 (getLayoutFont): and this
8453 * paragraph_pimpl.C (realizeFont): calling this
8455 * text2.C (getFont): split into...
8456 (getLayoutFont): this
8457 (getLabelFont): and this
8458 (realizeFont): all three calling this
8460 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8463 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8465 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8467 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8469 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8470 layouts from the Quote inset insertion.
8472 2001-08-03 Juergen Vigna <jug@sad.it>
8474 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8476 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8477 only if status not is already CHANGED_IN_DRAW (second level).
8479 * text.C (draw): don't set the need_break_row when inside an
8482 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8484 * buffer.C (parseSingleLyXformat2Token): handle more latex
8487 * bufferview_funcs.[hC]: change function names to
8488 begin with small char, adjust other files.
8490 2001-08-02 André Pönitz <poenitz@gmx.net>
8493 BufferView_pimpl.C: remove broken special code for math-greek
8495 2001-08-02 Juergen Vigna <jug@sad.it>
8497 * BufferView_pimpl.C (update): redone this function so that we
8498 update the text again if there was a CHANGE_IN_DRAW.
8500 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8501 (drawFromTo): added a new internal bool which is used by draw() and
8503 (general): some cursor drawing problems fixed.
8505 2001-08-01 Juergen Vigna <jug@sad.it>
8507 * lyxfind.C (LyXFind): fixed
8508 (SearchForward): ditto
8509 (SearchBackward): ditto
8511 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8512 spurius drawing of the cursor in the main area.
8514 * text2.C (status): small fix which could lead to a segfault!
8515 (clearSelection): remove unneeded BufferView param.
8517 2001-08-01 André Pönitz <poenitz@gmx.net>
8519 * lyxfunc.C: small change due to changed mathed interface
8521 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8523 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8525 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8527 * lyxfunc.c: fail gracefully if file doesn't exist
8532 * BufferView_pimpl.C: IsDirWriteable() proto changed
8534 * LyXView.C: fix updateWindowTitle() to store the last title
8536 2001-07-31 Juergen Vigna <jug@sad.it>
8538 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8539 the font (wrong since using of Paragraph::highestFontInRange).
8541 * paragraph.C (highestFontInRange): added a default_size parameter.
8543 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8544 (setHeightOfRow): reformat
8546 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8548 * converter.[hC] + affected files: move to (inital-char)lowercase
8551 * ParagraphParameters.C (ParagraphParameters): remove commented code
8553 * PainterBase.[Ch]: remove commented code
8555 * LaTeXFeatures.h: add "bool floats" for float.sty
8557 * LaTeXFeatures.C (LaTeXFeatures): init floats
8558 (require): handle float
8559 (getPackages): do it with floats
8561 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8563 * BufferView_pimpl.C (Dispatch): improve handling of
8564 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8566 * commandtags.h: #include lyxfont.h here temporarily to avoid
8569 * bufferlist.h: include LString.h here.
8571 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8573 * text2.C (getStringToIndex): new method.
8575 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8577 * *: Reduced header file dependencies all over.
8579 2001-07-30 Baruch Even <baruch@lyx.org>
8581 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8583 2001-07-29 Baruch Even <baruch@lyx.org>
8585 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8587 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8589 * ParameterStruct.h (endif): add a default constructor to make
8590 sure that all variables is initialized.
8592 * ParagraphParameters.C (ParagraphParameters): adjust
8594 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8596 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8597 index; also, check that there is something to index, and that it
8598 does not span over several paragraphs.
8599 (doubleClick): use WHOLE_WORD_STRICT for double click.
8601 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8603 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8606 2001-07-26 Baruch Even <baruch@lyx.org>
8608 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8609 an InsetFig figure, backwards compatible reading of old figure code.
8611 2001-07-27 Juergen Vigna <jug@sad.it>
8613 * text2.C: font.realize function adaption.
8615 * text.C (draw): add a warnings lyxerr text if needed.
8617 * layout.C: font.realize function adaption.
8619 * language.C: add inherit_language and implement it's handlings
8621 * bufferview_funcs.C (StyleReset): remove language parameter from
8622 font creation (should be language_inherit now).
8624 * bufferparams.C (writeFile): handle ignore_language.
8626 * paragraph.C (getFontSettings): the language has to be resolved
8627 otherwise we have problems in LyXFont!
8629 * lyxfont.C (lyxWriteChanges): added document_language parameter
8630 (update): removed unneeded language parameter
8632 * paragraph.C (validate): fixed wrong output of color-package when
8633 using interface colors for certain fonts in certain environments,
8634 which should not seen as that on the final output.
8636 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8638 * BufferView_pimpl.C:
8643 * LyXAction.C: add thesaurus support
8646 * lyxfind.C: add "once" parameter, for thesaurus, to not
8647 move to the next match
8649 2001-07-26 Juergen Vigna <jug@sad.it>
8651 * lyxfont.C (realize): honor ignore_language too!
8654 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8656 * text.C (draw): one place more for ignore_language to not draw
8659 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8661 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8663 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8665 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8666 the minipage conversion problem.
8668 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8670 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8673 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8675 * BufferView.h: don't forward declare WorkArea
8677 * BufferView.C: don't include WorkArea.h
8679 2001-07-25 André Pönitz <poenitz@gmx.net>
8683 * lyxfunc.C: new LFUN 'math-space'
8685 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8687 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8689 * text2.C (toggleInset): call open/close
8691 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8693 * lyxfunc.C (dispatch): add debug for the disabled case
8695 * font.C (buttonText): make similar to rectText
8697 * buffer.C (readInset): comment out parsing of insetlist and
8700 * PainterBase.C (rectText): small correction
8702 * BufferView_pimpl.C: comment out insettheorem and insetlist
8703 * LyXAction.C: ditto
8704 * commandtags.h: ditto
8706 2001-07-24 Juergen Vigna <jug@sad.it>
8708 * text.C (draw): honor the ignore_language.
8710 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8712 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8714 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8717 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8719 * lyxtext.h: remove unused (and unimplemented) methods
8721 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8723 * text.C (getVisibleRow): honor background color
8726 * Painter.h: remove default color argument for fillRectangle
8728 * text.C (backgroundColor): new method
8730 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8732 * text.C (getVisibleRow): adjust
8734 * font.[Ch] (rectText): new method, metrics
8735 (buttonText): new method, metrics
8737 * PainterBase.[hC]: make rectText and buttonText always draw and take
8740 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8742 * ToolbarDefaults.C (read):
8743 * MenuBackend.C (read): allow escaping in all strings
8745 * BufferView_pimpl.C (insertAndEditInset): new method.
8746 (Dispatch): use insertAndEditInset whenever appropriate.
8748 * BufferView_pimpl.C (insertNote): removed
8750 * BufferView_pimpl.C (smartQuote): new method, moved from
8751 BufferView; if an insetquote cannot be inserted, insert a '"'
8754 * BufferView2.C: remove insertCorrectQuote();
8756 * lyxfunc.C (getStatus): Add support for all remaingin
8759 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8761 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8762 command (necessary to pass " as parameter of self-insert.
8764 * text.C (selectWordWhenUnderCursor):
8765 (selectWord): add word_location parameter
8766 (selectWordWhenUnderCursor): same + remove special code for word
8768 (selectNextWord): use kind() to guess type of insetspecialchar,
8771 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8772 (insertErtContents): create ert insets as collapsed.
8773 (readInset): better compatibility code for Info inset.
8775 2001-07-20 Juergen Vigna <jug@sad.it>
8777 * lyxfunc.C (dispatch): use always LyXFind now!
8779 * text2.C (init): add a reinit flag so that the LyXText can be
8780 reinited instead of deleted and reallocated (used in InsetText).
8782 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8788 2001-07-18 Juergen Vigna <jug@sad.it>
8790 * text.C (selectNextWord): handle insets inside inset by calling
8791 always the bv->text functions so that we can go up the_locking_inset!
8793 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8794 in strange locations when inside an inset!
8796 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8797 handling to include insets.
8799 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8801 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8803 * LyXAction.C (init):
8805 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8806 LIGATURE_BREAK, since the name is so stupid.
8808 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8810 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8813 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8815 * sp_form.[Ch]: remove.
8817 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8819 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8822 * src/buffer.C (readInset): ditto.
8824 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8826 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8827 menuSeparator(), endOfSentenceDot(), ldots() and
8828 hyphenationPoint(), which are therefore removed.
8829 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8831 * LyXAction.C (init):
8832 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8834 * paragraph.C (getWord): removed.
8836 * BufferView_pimpl.C (Dispatch): use last word or selection for
8837 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8839 * lyx_main.C (queryUserLyXDir): do not ask before creating
8840 user_dir, except if it has been named explicitely.
8842 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8844 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8845 a document of zero size.
8847 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8849 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8850 approriately in the c-tor and in require().
8851 (getPackages): output the appropriate LaTeX for natbib support.
8853 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8854 variables "use_natbib" and "use_numerical_citations" when reading the
8856 (readInset): read the various natbib cite commands.
8857 (validate): white-space change.
8859 * bufferparams.[Ch]: new variables "bool use_natbib" and
8860 "bool use_numerical_citations".
8861 (writeFile): output them in the LyX file.
8863 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8865 * lyxfunc.C (getStatus): add support for all the inset insertion
8868 * text2.C (insertInset):
8869 * paragraph.C (insetAllowed):
8870 * BufferView_pimpl.C (insertInset): update to take in account the
8871 renaming of insertInsetAllowed
8873 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8875 * text2.C (getInset): new method. returns inset at cursor position.
8877 * BufferView_pimpl.C (Dispatch): changes because of this.
8879 * LyXAction.C (init): rename open-stuff to inset-toggle.
8881 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8883 * text2.C (toggleInset): renamed from openStuff; use
8886 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8888 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8890 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8892 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8894 * buffer.C (readLyXformat2): Add filename to the error dialog
8896 2001-07-18 Juergen Vigna <jug@sad.it>
8898 * tabular.C (GetCellNumber): put an assert here instead of the check!
8900 2001-07-17 Juergen Vigna <jug@sad.it>
8902 * BufferView_pimpl.C (toggleSelection): adapted too.
8904 * text.C (selectNextWord): adapted for use with insets.
8905 (selectSelectedWord): ditto
8907 2001-07-17 Juergen Vigna <jug@sad.it>
8909 * sp_spell.C (PSpell): fix initialitation order.
8911 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8913 * paragraph.C: spacing
8915 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8917 * sp_spell.C: repair language selection for pspell
8919 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8921 * lyxfunc.h: change more methods to begin with lower char.
8923 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8925 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8926 for unknown layouts.
8928 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8930 * buffer.C (readLyXformat2): Generate an error dialog if there are
8933 2001-07-16 Juergen Vigna <jug@sad.it>
8935 * sp_spell.C: always compile ISpell part.
8937 * lyxrc.C: added use_pspell entry and it's handling.
8939 2001-07-13 Juergen Vigna <jug@sad.it>
8941 * sp_spell.C: removed double includes.
8943 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8945 Consistent use of Lsstream.h:
8946 * Lsstream.h: added using std::stringstream for consistencies sake.
8948 * buffer.C: removed using std::stringstream
8950 * lyxfont.C (stateText):
8951 * paragraph.C (asString):
8952 * text.C (selectNextWord, selectSelectedWord):
8953 * text2.C (setCounter):
8954 * vspace.C (asString, asLatexString):
8955 std::ostringstream -> ostringstream.
8957 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8959 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8960 * commandtags.h: add LFUN_HELP_ABOUTLYX
8961 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8963 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8965 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8967 * lyx_gui_misc.C: remove spellchecker
8968 * lyxfunc.C: showSpellchecker
8970 * sp_ispell.h: added
8971 * sp_pspell.h: added
8973 * sp_form.[Ch]: removed
8974 * spellchecker.[Ch]: removed
8976 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8978 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8980 (simpleTeXSpecialChars): Simply print the input character without
8981 any special translation if pass_thru is set.
8983 * layout.h: Added bool pass_thru to layout class for being able to
8984 implement pass through of a paragraph for Literate Programming.
8986 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8987 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8988 * layout.C (Read): add "passthru" to list of layout tags and add
8989 code to set the pass_thru boolean when it is read.
8991 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8993 * trans_decl.h: remove allowed from KmodInfo
8995 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8999 * paragraph_pimpl.C (erase): use boost::prior
9001 * Painter.C (text): use data() instead of c_str() when length is
9003 * WorkArea.C (putClipboard): ditto
9004 * font.h (width): ditto
9006 * BufferView2.C: use it-> instead of (*it). for iterators
9008 * paragraph_pimpl.C: ditto
9009 * paragraph.C: ditto
9010 * minibuffer.C: ditto
9015 * converter.C: ditto
9017 * Variables.C: ditto
9018 * TextCache.C: ditto
9019 * MenuBackend.C: ditto
9020 * LyXAction.C: ditto
9022 * FloatList.C: ditto
9024 * ColorHandler.C (LyXColorHandler): ditto
9026 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9028 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9030 * text2.C (openStuff): reintroduce this method (which had been
9031 nuked in NEW_INSETS frenzy).
9033 * lyxfunc.C (Dispatch): when an action has not been handled, use
9034 its name in the error message, not its number.
9036 * paragraph.C (inInset): change method name to begin with lowercase.
9039 * text2.C: updates because of this.
9041 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9043 * ToolbarDefaults.C (add): add spaces in error message
9045 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9047 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9048 (readLyXformat2): rename return_par to first_par, use lyxlex's
9049 pushToken and remove the manual push handling.
9050 (parseSingleLyXformat2Token): add another ert comp. variable:
9051 in_tabular, rename return_par to first_par. handle newlines better
9053 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9055 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9057 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9059 * text2.C (getParFromID): removed
9061 * buffer.C (getParFromID): new method moved form lyxtext.
9062 * BufferView2.C (insertErrors): adjust
9063 (setCursorFromRow): adjust
9064 * BufferView_pimpl.C (restorePosition): adjust
9065 * lyxfunc.C (Dispatch): adjust
9066 * undo_funcs.C (textUndo): adjust
9068 (textHandleUndo): adjust
9069 (textHandleUndo): adjust
9071 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9073 * buffer.C: up' the LYX_FORMAT
9075 * lyxfont.h: turn NO_LATEX on as default
9077 * buffer.C (insertErtContents): new methods of tex style compability.
9078 (parseSingleLyXformat2Token): use it several places.
9079 * tabular.C (OldFormatRead): and here
9081 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9083 * text2.C: remove some commented code.
9086 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9087 * trans.C: changes because of the above.
9089 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9091 * text2.C (setCounter): Fix counters bug with bibliography layout.
9093 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9095 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9096 own member functions
9097 (simpleTeXSpecialChars): ditto
9099 2001-07-06 Juergen Vigna <jug@sad.it>
9101 * a lot of files: changed the access to LyXText::status and the
9102 call of undo-functions.
9104 * undo.[Ch]: added a inset_id to the undo informations.
9106 * undo_funcs.[Ch]: added and moved here all undo functions.
9108 * lyxtext.h: give the status enum a weight, made status_ a private
9109 variable and made accessor functions for it, removed the whole bunch
9110 of undo-functions as they are now in their own file, make some
9111 functions publically available. Added function ownerParagraph with
9114 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9115 made InInset() a const function, added getParFromID() function.
9117 * buffer.[Ch]: added const version for inset_iterator functions,
9118 added getInsetFromID() function.
9120 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9121 changed undo functions for new version.
9123 2001-07-05 Juergen Vigna <jug@sad.it>
9125 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9126 unknow mechanism does not call the proper constructor but only this
9127 one also if I request the other!?
9129 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9133 * text2.C (LyXText): use initialization lists.
9135 * lyxtext.h (Selection): initialize set_ and mark_
9136 (init): remove method
9138 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9140 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9142 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9144 * screen.[Ch]: change method names to begin with lowercase
9146 * BufferView_pimpl.C (updateScrollbar): simplify further and
9147 hopefully make it a bit faster.
9149 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9151 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9152 calling directly xforms functions.
9154 * Painter.C (Painter):
9155 * lyx_cb.C (MenuWrite):
9156 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9159 * lyx_gui.C: remove bogus guiruntime extern declaration.
9161 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9163 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9165 (redoDrawingOfParagraph): ditto
9166 (redoParagraphs): ditto
9167 (cutSelection): don't create a object for CutAndPaste use the
9168 static method directly
9169 (pasteSelection): ditto
9171 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9174 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9176 * modifications to some other files because of this.
9178 * Makefile.am (lyx_SOURCES): add XFormsView
9180 * XFormsView.[Ch]: new files
9182 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9183 the main window. Move the gui dependent stuff to XFormsView
9185 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9187 * tabular.C (GetCellInset): update cur_cell also in the row/col
9188 version of this function.
9190 * lyxfunc.C: no need to include figure_form.h here.
9196 * lyxvc.C: no need to include forms.h here.
9198 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9202 * lyxfunc.C (Dispatch):
9204 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9205 constructor argument.
9207 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9209 * paragraph.C (Paragraph): dont't clear, and just set layout.
9210 (makeSameLayout): use params's copy contructor.
9212 * ParagraphParameters.[Ch] (makeSame): delete method
9214 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9216 * Variables.[Ch]: fix indentation, rename set to isSet
9218 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9220 * lyxfunc.C (Dispatch): fix typo
9222 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9224 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9227 * bufferlist.C: include assert.h for emergencyWrite().
9229 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9231 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9232 give up at last (bug #425202) !
9234 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9240 * spellchecker.C: strip spellchecker options and bring up
9241 preferences tab instead
9243 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9245 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9246 the istringstream constructor
9248 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9250 * paragraph.C (getLayout): fix return value
9252 * paragraph.h: do not declare getLayout as inline.
9254 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9256 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9258 * lyxcursor.h (operator<): new func
9259 (operator>): new func
9260 (operator>=): new func
9261 (operator<=): new func
9263 * text.C (changeCase): use selection.start and selection.end
9264 (changeRegionCase): require from to be <= to. Require par to be a
9267 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9269 2001-06-27 Juergen Vigna <jug@sad.it>
9271 * text.C (cursorLeftOneWord): changed to return the cursor and added
9272 overlay with BufferView * parameter which calls this one.
9274 (selectWord): use new getWord function.
9275 (changeCase): renamed from changeWordCase as and extended to work
9278 * lyxtext.h: added enum word_location
9280 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9281 changeCase as this operates now also on selections.
9283 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9285 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9287 * many files: send debug output to Debug::INFO instead of
9290 * converter.C (View):
9292 (Move): send debug output to Debug::FILES instead of console.
9294 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9296 * lyxfunc.C (getStatus): use func_status
9298 * func_status.h: new header, describing the results of
9301 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9304 2001-06-25 The LyX Project <jug@sad.it>
9306 * buffer.C (sgmlOpenTag):
9308 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9310 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9312 * text2.C: remove some dead code
9314 * tabular.C (GetCellInset): store the last cell checked (gotten)
9316 * tabular.h: add the helper for the speedup
9318 * lyxtext.h: remove some dead code
9320 2001-06-26 The LyX Project <Asger>
9322 * paragraph.C: Change export to LaTeX of alignment to
9323 \begin{center} and family for better roundtrip work with reLyX.
9325 * Tune the math drawing a bit.
9327 2001-06-25 The LyX Project <Asger>
9329 * LColor.C (LColor): New color for math background. New color
9332 2001-06-25 The LyX Project <jug@sad.it>
9334 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9337 * bufferlist.C (newFile): do not restrict to files ending with
9340 * BufferView_pimpl.C (MenuInsertLyXFile):
9342 2001-06-24 The LyX Project <jug@sad.it>
9344 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9347 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9349 * lyxtext.h: rename most methods to begin with a small char.
9350 Lots of changes because of this.
9352 * paragraph.C (Paragraph): do not call fitToSize
9353 (erase): call Pimpl::erase
9354 (insertChar): call Pimpl::insertChar
9355 (insertInset): call Pipl::insertInset
9356 (breakParagraph): do not call fitToSize
9357 (breakParagraphConservative): do not call fitToSize
9358 (fitToSize): remove method
9360 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9362 2001-06-24 The LyX Project <Asger>
9364 * Fix Qt compilation^2
9366 2001-06-24 The LyX Project <jug@sad.it>
9368 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9369 depthHook(getDepth()-1).
9372 * ParagraphParameters.h:
9373 * ParameterStruct.h: change type of depth to unsigned int ==
9374 depth_type. Many adaptations to other files before of that.
9376 2001-06-24 The LyX Project <Asger>
9378 * Fix Qt compilation.
9380 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9382 * paragraph.h: renamed several methods to begin with small letter.
9383 several changes to many parts of the code because of this.
9385 2001-06-23 The LyX Project <jug@sad.it>
9387 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9388 rewritten to discard all double spaces when KeepEmpty is off
9389 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9390 to only handle newlines but not fiddle with spaces and friends.
9392 * lyxfunc.C (MenuNew): when doing 'new from template', use
9393 template_path as default directory
9395 2001-06-23 The LyX Project <Asger>
9397 * Clean-up of header file includes all over
9398 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9400 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9402 * paragraph.h: renamed from lyxparagraph.h
9404 2001-06-23 Asger <lyx@violet.home.sad.it>
9406 * Buffer.h: Removed Buffer::resize
9407 * BufferList.h: Removed BufferList::resize
9408 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9409 the document lazily when we change the width, or the font settings.
9411 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9413 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9415 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9417 * buffer.h: remove out of date comment
9419 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9422 * screen.C: fix "theoretical" GC leak
9424 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9426 * LaTeX.C (scanAuxFile):
9427 (deplog): remove trailing \r when reading stream (useful under
9430 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9432 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9433 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9434 and BufferView::theLockingInset(Inset*), so should use them and not
9435 access bv_->text->the_locking_inset directly.
9437 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9439 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9442 * tex-defs.h: remove old unused file
9444 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9446 * BufferView_pimpl.C: fix typo, remove minibuffer message
9447 when buffer has loaded
9449 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9451 * lyxfunc.C (Dispatch): use stringstream
9452 (MenuNew): use stringstream
9453 (Open): use stringstream
9455 * importer.C (Import): use stringstream
9457 * bufferview_funcs.C (CurrentState): use stringstream
9459 * LaTeX.C (run): use stringstream
9461 * BufferView_pimpl.C (savePosition): use stringstream
9462 (restorePosition): use stringstream
9463 (MenuInsertLyXFile): use stringstream
9465 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9478 * vspace.C: removed // -*- C++ -*- as first line.
9481 * version.h: added // -*- C++ -*- as first line.
9483 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9485 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9487 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9490 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9492 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9495 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9497 * gettext.C: include LString.h even when --disable-nls is on.
9499 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9501 * converter.h (Get): changed argument type from int to
9502 FormatList::size_type to avoid unnecessary conversion.
9504 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9507 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9509 * gettext.h: include LString.h even when --disable-nls is on.
9511 2001-06-07 Juergen Vigna <jug@sad.it>
9513 * text.C (BreakAgain): subst spaces with tabs.
9515 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9516 (resizeInsetsLyXText): set force on resizeLyXText.
9518 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9520 * gettext.h (gettext_init):
9521 (locale_init): use a real definition instead of a macro
9523 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9525 * Bufferview_pimpl.C:
9527 * LColor.C: further lcolor tidies
9529 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9531 * BufferView_pimpl.C (updateScrollbar): simplify.
9533 * BufferView2.C: don't include insets/insetinfo.h, change
9534 prototype for insertInset and call the Pimpl version. let
9535 updateInset call Pimpl version.
9537 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9538 gotoInset to BufferView::Pimpl
9540 2001-06-01 Juergen Vigna <jug@sad.it>
9542 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9543 inside a LockingInset (is the update needed at all?).
9545 2001-05-31 Juergen Vigna <jug@sad.it>
9547 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9548 here not the old one otherwise how should we compare it afterwards
9551 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9556 * FontInfo.C: bring C functions into global namespace when
9559 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9561 * LString.h: make sure config.h has been loaded before LString.h.
9563 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9564 (one for each char read by EatLine!).
9566 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9569 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9571 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9572 to the same as the par we break from
9574 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9576 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9578 * MenuBackend.C (expand): also create menu entries for wide
9579 versions of the floats.
9581 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9583 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9585 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9586 frontends/Makefile.am
9592 * tabular.C (getTokenValue): add std::
9594 * tabular-old.C (getTokenValue): add std::
9595 (getTokenValue): ditto
9596 (getTokenValue): ditto
9598 * screen.C (ToggleSelection): adjust
9600 * lyxtext.h: put selection cursors inside a Selection struct.
9602 * lyxfunc.C (moveCursorUpdate): adjust
9604 * lyxfont.C (latexWriteStartChanges): add std::
9608 * font.h: delete with(char const *, LyXFont const &)
9610 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9612 * FontInfo.C (getFontname): add std::
9614 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9615 (workAreaButtonPress): adjust
9616 (tripleClick): adjust
9618 (moveCursorUpdate): adjust
9621 * BufferView2.C (gotoInset): adjust
9623 2001-05-30 Juergen Vigna <jug@sad.it>
9625 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9626 to check pspell I add this as default as I now have new pspell
9627 libraries and they seem to use this.
9629 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9631 * text2.C (CutSelection): make the cursor valid before the call to
9634 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9636 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9637 relied on 0 terminated strings and other horrors. Bug found due to
9638 the new assert in lyxstring!
9640 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9643 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9645 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9648 * lyxfunc.C (processKeySym): change method of getting to the
9651 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9652 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9653 * BufferView_pimpl.[Ch]: here as private methods.
9655 2001-05-28 Juergen Vigna <jug@sad.it>
9657 * text.C (SetHeightOfRow): added the update() call again as it is
9658 needed to initialize inset dimensions!
9660 2001-05-16 Juergen Vigna <jug@sad.it>
9662 * text2.C (SetCharFont): Add new function with BufferView * and
9663 bool toggleall parameters for setting insets internal fonts.
9664 (SetFont): Freeze the undo as we may change fonts in Insets and
9665 all this change should be inside only one Undo!
9667 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9668 setting font's in insets as for them we have the SetFont function!
9670 2001-05-15 Juergen Vigna <jug@sad.it>
9672 * text2.C (ClearSelection): to be sure we REALLY don't have any
9675 * tabular.C (TeXCellPreamble): fixed the left border problem for
9678 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9680 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9683 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9685 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9686 LFUN_BREAKPARAGRAPH.
9688 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9689 help test to "internal only", similar for LFUN_INSERT_URL
9691 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9692 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9693 auto_region_delete and deadkeys.
9695 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9698 * LColor.C: remove some dead entries, tidy a little
9700 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9702 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9704 (Dispatch): implement LFUN_ESCAPE
9706 * commandtags.h: add LFUN_ESCAPE
9708 * LyXAction.C (init): add entry for LFUN_ESCAPE
9710 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9711 Remove commented code.
9712 (insertNote): moved here
9713 (open_new_inset): moved here
9715 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9718 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9720 * kbmap.C (findbinding): clean it up and make it work correctly.
9722 * lyx_main.C (init): do not pass argc and argv as parameters
9724 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9726 * buffer.C: fix path for OS/2 & Win32
9730 * lyx_main.C: Added os:: class.
9732 * os2_defines.h: update
9734 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9736 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9737 better by trying again with reduced state.
9739 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9741 * lyxrc.C (read): print error about invalid key sequence only when
9742 debugging (because not all latinX keysyms are known to some X
9745 * kbsequence.C (getiso): add a few std:: qualifiers
9746 (getiso): comment out extra return statement.
9748 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9750 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9752 (Dispatch): enhance the accent inset a bit. (not perfect)
9754 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9756 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9758 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9760 * bufferlist.C (emergencyWrite): fix assert() call
9762 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9764 * text.C (InsertChar): Added trivial patch to only send the "you
9765 can not do multiple spaces this way" message once during a
9768 2001-05-08 Baruch Even <baruch@lyx.org>
9770 * Makefile.am: Changed order of libraries to get LyX to link properly
9771 with the gnome frontend.
9773 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9775 * LaTeXFeatures.h: add a std:: qualifier
9777 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9779 * paragraph.C (String): use stringstream
9781 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * paragraph.C (writeFile): remove footflag arg
9785 * buffer.C (makeLaTeXFile): use stringstream
9786 (latexParagraphs): remove footnot gurba
9788 * LaTeXFeatures.C (getPackages): use stringstream
9789 (getMacros): likewise
9790 (getTClassPreamble): likewise
9791 (getFloatDefinitions): new method
9793 * paragraph.C (writeFile): reindent
9796 * WorkArea.h: revert the xpos + etc changes.
9798 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9800 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9802 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9803 (pasteSelection): likewise
9804 * text2.C (CreateUndo): likewise
9806 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9808 * minibuffer.C (peek_event): temporarily reduce the functionality
9809 of the minibuffer (to allow args on lfuns)
9811 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9812 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9814 * buffer.C (readInset): add compability reading of old float
9815 lists, add reading of new style float list.
9816 (readInset): avoid reevaluation of inscmd.getCmdName()
9817 (getLists): reindent
9819 * MenuBackend.C (MenuItem): implement parsing of
9820 md_floatlistinsert and md_floatinsert.
9821 (expand::LastFiles): move initalizaton of iterators out of loop,
9823 (expand::Documents): introduce typdedef vector<string> Strings,
9825 (expand::ExportFormats): introduce typedef vector<Format const *>
9826 Formats, and use it.
9827 (expand): implement FloatListInsert and FloatInsert.
9829 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9830 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9831 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9833 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9835 (Dispatch::LFUN_FLOAT_LIST): implement
9837 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9839 * LaTeX.C (run): Fix problem with --export code.
9841 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9843 * BufferView.[Ch] (workarea): removed.
9844 (getClipboard) new method; wrapper for workarea()->getClipboard()
9846 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9849 * WorkArea.h (width, height, xpos, ypos): These methods all
9850 returned the dimensions of the work_area sub-area of WorkArea,
9851 resulting in a position error if the WorkArea were resized. Now
9852 return the dimensions of the entire WorkArea.
9854 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9856 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9858 * LaTeX.C (deplog): correct the syntax of regex reg1
9860 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9862 * undo.C: remove !NEW_INSETS cruft
9864 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9866 * text2.C: remove !NEW_INSETS cruft
9868 * text.C: remove !NEW_INSETS cruft
9870 * tabular.C: remove !NEW_INSETS cruft
9872 * spellchecker.C: remove !NEW_INSETS cruft
9874 * lyxtext.h: remove !NEW_INSETS cruft
9876 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9878 * lyxfunc.C: remove !NEW_INSETS cruft
9880 * lyxfind.C: remove !NEW_INSETS cruft
9882 * lyx_cb.C: remove !NEW_INSETS cruft
9884 * figureForm.C: remove !NEW_INSETS cruft
9886 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9888 * buffer.[Ch]: remove !NEW_INSETS cruft
9890 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9892 * CutAndPaste.C: remove !NEW_INSETS cruft
9894 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9896 * BufferView2.C: remove !NEW_INSETS cruft
9898 * BufferView.h: remove !NEW_INSETS cruft
9900 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9902 * Lsstream.h: include LString.h before the sstream headers to
9903 fix problem with gcc 2.95.3 and lyxstring
9905 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9907 * lyx_main.C: add using directives when needed for C functions
9908 declared in std:: namespace.
9910 2001-04-27 Juergen Vigna <jug@sad.it>
9912 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9913 (SetHeightOfRow): comment out the update call should not be needed!
9915 2001-04-13 Juergen Vigna <jug@sad.it>
9917 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9918 (LyXTabular): tried to minimize operator= operations (and realized
9919 hopfully Lars wish).
9921 2001-04-27 Juergen Vigna <jug@sad.it>
9923 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9925 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9927 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9929 * buffer.C (readInset): hack to make listof algorithm work
9931 * BufferView_pimpl.C: hack to make listof algorithm work
9933 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9935 * LyXAction.C: removed all !NEW_INSETS cruft
9936 (init): moved lfun_item in method
9938 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9940 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9942 * BufferView2.C (theLockingInset): white space.
9944 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9946 * minibuffer.C: include <iostream>
9948 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9950 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9952 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9954 * text.[Ch] (TransposeChars): new method
9956 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9958 * call message directly through LyXView instead of through LyXFunc
9959 * BufferView2.C: adjust
9960 * BufferView_pimpl.C: adjust
9961 * FontLoader.C: adjust
9963 * bufferview_funcs.C: adjust
9964 * converter.C: adjust
9965 * figureForm.C: adjust
9966 * importer.C: adjust
9968 * lyx_gui_misc.C: adjust
9972 + more files in subdirs
9974 * lyxparagraph.h (size): move up int file
9977 * adjust all uses of Assert to lyx::Assert.
9979 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9980 lyxfunctional in namespace lyx
9981 * layout.C (hasLayout): ditto
9984 (delete_layout): ditto
9985 (NumberOfClass): ditto
9986 * converter.C (GetFormat): ditto
9991 * bufferlist.C (getFileNames): ditto
9992 (emergencyWriteAll): ditto
9995 * MenuBackend.C (hasSubmenu): ditto
9998 * BufferView_pimpl.C (getInsetByCode): ditto
10000 2001-04-18 Juergen Vigna <jug@sad.it>
10002 * vspace.C (asLatexString): fixed the 100% problem.
10004 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10006 * lyxfunc.C (Dispatch):
10008 * minibuffer.h: add a few std:: qualifiers
10010 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * minibuffer.[Ch]: reimplement so that commands is initiated and
10013 run from lyxfunc, simplified som handling, and made the completion
10014 and history code for complete. wip.
10016 * lyxfunc.C (processKeySym): call message
10017 (miniDispatch): new temporary method
10018 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10019 (LFUN_MESSAGE): implement
10020 (LFUN_MESSAGE_PUSH): implement
10021 (LFUN_MESSAGE_POP): implement
10022 (initMiniBuffer): the initial/defualt minibuffer message.
10024 * lyxfont.[Ch]: inline some more getters
10026 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10028 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10030 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10031 (AutoSave): use LFUN_MESSAGE
10032 (Reconfigure): ditto
10034 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10036 * figureForm.C: use LFUN_MESSAGE
10038 * converter.C (runLaTeX): use LFUN_MESSAGE
10040 * bufferview_funcs.C: use LFUN_MESSAGE
10042 (changeDepth): ditto
10044 * bufferparams.h: use boost::
10046 * bufferlist.h: inherit privately from noncopyable
10048 * bufferlist.C (loadLyXFile): remove some commented code.
10050 * buffer.C (runChktex): use LFUN_MESSAGE
10052 * ShareContainer.h: inherit privately from noncopyable
10054 * ParagraphParameters.[hC] (depth): inline it.
10056 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10058 (message): new method
10059 (messagePush): ditto
10060 (messagePop): ditto
10061 (show): init minibuffer
10062 (showState): direct call
10064 * LaTeX.[Ch]: inherit privately from noncopyable
10065 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10066 instead of WriteStatus.
10068 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10070 * BufferView_pimpl.C (buffer): don't init minibuffer
10071 (workAreaButtonPress): use LFUN_MESSAGE
10072 (workAreaButtonRelease): ditto
10073 (savePosition): ditto
10074 (restorePosition): ditto
10075 (MenuInsertLyXFile): ditto
10076 (workAreaExpose): don't init minibuffer
10077 (update): remove commented code, simplify
10079 * BufferView2.C (openStuff): use LFUN_MESSAGE
10080 (toggleFloat): ditto
10083 (copyEnvironment): ditto
10084 (pasteEnvironment): ditto
10089 (updateInset): remove some commented code
10091 * lastfiles.h: inherit privately from noncopyable
10094 * lyx_main.h: ditto
10096 * lyxlex_pimpl.h: ditto
10098 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10099 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10100 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10102 * LyXAction.h: inherit privately from noncopyable, add methods
10103 func_begin, func_end, returning iterators to the func map.
10105 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10106 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10107 (func_begin): new method
10108 (func_end): new method
10110 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10112 (copySelection): ditto
10113 (pasteSelection): ditto
10115 * BufferView.C: whitespace change
10116 * BufferView.h: inherit privately from noncopyable
10118 2001-04-16 Allan Rae <rae@lyx.org>
10120 * tabular-old.C (l_getline):
10121 * spellchecker.C (sc_check_word):
10122 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10123 an unrecognised preprocessor directive. So ensure they're wrapped.
10125 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10127 * src/exporter.C (Export): Give an error message when path to file
10130 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10132 * LaTeX.C (deplog): Always check that foundfile exists.
10134 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10137 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10139 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * tabular.[Ch] (getLabelList): implement new method
10143 * minibuffer.h: comment ouf setTiimer
10145 * minibuffer.C (ExecutingCB): constify res
10146 (peek_event): constify s
10147 (Set): constify ntext
10148 (Init): constify nicename
10150 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10152 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10153 (savePosition): use two params to Minibuffer::Set
10154 (restorePosition): ditto
10156 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10158 * lyx_main.C: include language.h
10160 * Makefile.am (lyx_main.o): add language.h
10162 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10168 * CutAndPaste.C: include gettext.h
10170 * lyxfont.h: remove old hack with ON and OFF.
10173 * lyxfont.h: do not include language.h...
10178 * bufferview_funcs.C:
10184 * paragraph.C: ... but do it here instead
10186 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10188 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10190 * tabular.C: small reformat
10192 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10195 (BreakParagraph): ditto
10196 (SetOnlyLayout): ditto
10199 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10202 * lastfiles.C: removed most using decl, add std:: where needed
10204 * buffer.C: ws changes
10206 * MenuBackend.C (class compare_format): put into anon namespace
10207 (expand): constify label, names, action, action2
10210 * text.C (SingleWidth): constify font
10211 (IsBoundary): constify rtl2
10212 (GetVisibleRow): constify ww
10214 * LaTeX.C (deplog): constify logfile
10216 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10218 (workAreaExpose): constify widthChange, heightChange
10220 * lyxrow.C (par): moved
10223 * lyxrow.h: as inlines here
10225 * lyxfont.h (shape): moved from lyxfont.C
10226 (emph): moved from lyxfont.C
10228 * lyxfont.C (LyXFont): use initialization list for all
10230 (shape): move to lyxfont.h as inline
10231 (emph): move to lyxfont.h as inline
10234 2001-04-04 Juergen Vigna <jug@sad.it>
10236 * vspace.C: had to include stdio.h for use of sscanf
10238 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10241 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10242 independent of xforms.
10244 2001-04-02 Juergen Vigna <jug@sad.it>
10246 * spellchecker.C: fixed namespace placing!
10248 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10250 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10251 the LyXParagraph * is 0.
10253 2001-03-29 Juergen Vigna <jug@sad.it>
10255 * vspace.C: added support for %, c%, p%, l%.
10256 (stringFromUnit): added helper function.
10257 (asLatexString): changed to give right results for the %-values.
10259 * buffer.C: convert the widthp in a width%.
10261 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10263 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10266 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10267 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10269 * lyx_cb.[Ch]: see above.
10271 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10275 * lyx.[Ch]: replaced by figure_form.[Ch].
10279 * lyxfunc.C: changed headers associated with above changes.
10281 2001-03-27 Juergen Vigna <jug@sad.it>
10283 * BufferView_pimpl.C: set the temporary cursor right!
10285 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10287 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10289 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10291 * LString.h: removed "using std::getline"!
10293 * BufferView_pimpl.C (Dispatch): changes due to changes in
10294 InsetInclude::Params.
10296 * buffer.C (tag_name): removed redundant break statements as they were
10297 producing lots of warnings with my compiler.
10299 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10301 * LString.h: add "using std::getline" when using the real <string>.
10303 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10305 * buffer.C: removed bitset usage.
10306 PAR_TAG moved to an anonymous name space.
10307 (tag_name): new funtion, also in the anonymous namespace.
10308 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10309 (makeDocBookFile): clean code. Completed transition from string arrays
10311 (SimpleDocBookOnePar): code clean.
10313 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10315 * tabular.C: add some comments.
10317 2001-03-22 Juergen Vigna <jug@sad.it>
10319 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10320 compatibility read a bit and fixed bug with minipage in different
10323 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10325 * buffer.C (pop_tag): removed.
10326 (push_tag): removed.
10327 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10328 array replaced with vector. Added support for CDATA sections.
10329 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10331 (makeDocBookFile): XML conformant declaration of CDATA section,
10332 fixed bug related to <emphasis> in the first paragraph char.
10333 (sgmlOpenTag): exclude empty tags.
10334 (sgmlCloseTag): ditto.
10336 * buffer.h (pop_tag): removed.
10337 (push_tag): removed.
10339 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10341 * language.h (Languages): added size_type and size().
10343 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10345 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10346 response on compability reading of minipages. One probliem is that
10347 the old usage of minipages was «flertydig»
10349 * several files here and in subdirs: don't use static at file
10350 scope use anon namespaces instead.
10352 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10354 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10355 LaTeX output. This is necessary for Literate document
10358 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10360 * buffer.C: insert hfill when needed.
10362 * tabular.C (l_getline): use string::erase, small whitespace change.
10364 * BufferView_pimpl.C: try the anon namespace.
10365 * WorkArea.C: ditto
10367 2001-03-16 Juergen Vigna <jug@sad.it>
10369 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10370 otherwise it won't open options-dialogs.
10372 * buffer.C: honor pextraWidth(p) on converting minipages.
10374 * tabular.C (l_getline): changed the functions to strip trailing \r.
10376 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10378 * BufferView_pimpl.C:
10379 * minibuffer..C: added "using SigC::slot" declaration.
10381 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10383 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10389 * paragraph.C: ditto
10391 * lyxtext.h: NO_PEXTRA
10393 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10395 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10396 * ParameterStruct.h: ditto
10397 * ParagraphParameters.h: ditto
10398 * lyxparagraph.h: ditto
10400 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10402 * buffer.C: add compability for minipage alignment.
10403 (latexParagraphs): remove unwanted pextra check.
10405 * several files: remove CXX_WORKING_NAMESPACES
10407 * buffer.C (pop_tag): tie is in namespace boost
10409 * BufferView.h: noncopyable is in namespace boost
10411 * lyx_main.h: ditto
10414 * lastfiles.h: ditto
10415 * bufferlist.h: ditto
10416 * ShareContainer.h: ditto
10418 * LyXAction.h: ditto
10421 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10423 * Merging changes from BRANCH_MVC back into HEAD.
10425 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10427 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10429 * BufferView_pimpl.C: change from intl.C
10433 * Makefile.am: move combox.*
10439 * intl.C: remove dialog (covered by prefs)
10441 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10443 * lyxfunc.C (Dispatch): removed redundant break statement.
10445 2001-03-14 Juergen Vigna <jug@sad.it>
10447 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10449 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10451 * buffer.C: add hack to fix compability reading of minipages.
10453 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10455 * buffer.C (getLists): Cleanup.
10457 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10459 * lyxfont.C (update): don't honor toggleall on font size.
10461 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10465 * Makefile.am: moved to frontends/xforms/
10469 * BufferView_pimpl.C: changes for moved mathpanel
10471 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10473 * gettext.h: fix gettext_init() in --disable-nls
10475 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10477 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10479 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10482 * lyx.h: strip external form
10484 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10486 * BufferView_pimpl.C: add comment, destroySplash()
10488 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10490 * BufferView_pimpl.C:
10494 * lyxfunc.C: use re-worked insetinclude
10496 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10498 * buffer.C: add using std::stringstream.
10500 * lyx_cb.C: readd using std::ios.
10502 * buffer.C: add using std::map.
10504 * BufferView_pimpl.C: add using std::vector.
10506 * ShareContainer.h: add std:: to swap.
10508 * buffer.h: add some typedefs
10509 * buffer.C (getLists): use them
10510 (getLists): renamed from getTocList.
10511 add a counter for the different float types and use it in the
10513 (getLists): use the same counter for the NEW_INSETS and the "non"
10516 * lyx_cb.h: remove unused items, includes, using etc.
10518 * ShareContainer.h: remove some commented code, add more comments
10519 and "documentation".
10521 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10523 * buffer.C (getTocList): make the list also when NEW_INSETS is
10526 * buffer.h: remove TocType
10528 * buffer.C (getTocList): change to return a map<string,
10529 vector<TocItem> >, implement for dynamic number of list.
10531 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10532 * text2.C (PasteSelection): adjust
10533 * CutAndPaste.C (pasteSelection): adjust
10535 * FloatList.C (FloatList): update from the new_insets branch.
10536 * Floating.[Ch]: ditto
10537 * LaTeXFeatures.C: ditto
10539 * lyxlex_pimpl.C: ditto
10541 * paragraph.C (Last): remove when NEW_INSETS is defined.
10543 * other file: changes because of the above.
10545 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10547 * lyxparagraph.h: rename next to next_, previous to previous_,
10548 make them private for NEW_INSETS. Rename Next() to next(),
10549 Previous() to previous().
10551 * other files: changes because of the above.
10553 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10556 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10559 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10561 * main.C (main): pass lyx_localedir to gettext_init().
10563 * gettext.h: remove locale_init and gettext_init macros
10565 * gettext.C (locale_init): new function
10566 (gettext_init): new function
10568 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10571 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10573 * Moved credits to frontends:
10574 * credits.[Ch]: removed
10575 * credits_form.[Ch]: removed
10576 * lyx_gui_misc.C: remove credits stuff
10579 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10581 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10583 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10584 unneeded destructor.
10586 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10587 a standalone pointer again.
10589 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10591 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10597 * ToolbarDefaults.C:
10606 * BufferView_pimpl.C: use new file dialog in GUII
10609 * lyx_cb.C: remove LayoutsCB to Toolbar
10611 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10613 * ShareContainer.h (get): add std:: qualifier
10615 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10617 * ShareContainer.h: define a proper ShareContainer::value_type
10618 type (and use typename to please compaq cxx)
10620 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10622 * lyxparagraph.h: move serveral local vars to
10623 ParameterStruct/ParagraphParameters., use ShareContainer in
10624 FontTable., make vars in FontTable private and add getter and
10627 * paragraph.C: changes because of the above.
10629 * lyxfont.h: remove copy constructor and copy assignment. (the
10630 default ones is ok), move number inside FontBits. move inlines to
10633 * lyxfont.C: add number to initializaton of statics, move several
10634 inlines here. constify several local vars. some whitespace
10635 cleanup. Dont hide outerscope variables.
10637 * Spacing.h: add two new constructors to match the set methods.
10639 * ShareContainer.h: new file, will perhaps be moved to support
10641 * ParameterStruct.h: new file
10643 * ParagraphParameters.h: new file
10645 * ParagraphParameters.C: new file
10647 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10648 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10650 * BufferView_pimpl.C: ParagraphParameter changes.
10651 * buffer.C: Likewise.
10652 * bufferview_funcs.C: Likewise.
10653 * text.C: Likewise.
10654 * text2.C: Likewise.
10656 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10658 * lyxfind.C (LyXReplace): do not redefine default argument in
10660 (IsStringInText): ditto
10661 (SearchForward): ditto
10662 (SearchBackward): ditto
10664 2001-03-06 Juergen Vigna <jug@sad.it>
10666 * lyxfind.C (IsStringInText): put parentes around expressions.
10668 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10670 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10672 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10674 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10676 * stl_string_fwd.h: add comment
10678 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10681 * tabular.C: remove unused DocBook methods
10687 killed DO_USE_DEFAULT_LANGUAGE
10689 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10691 * lyx_gui.C: do not include language.h.
10693 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10694 arguments in function implementation.
10696 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10698 * BufferView_pimpl.C: add <ctime>
10700 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10702 * BufferView_pimpl.C: add using std::find_if
10704 2001-02-27 José Matos <jamatos@fep.up.pt>
10706 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10709 2001-02-11 José Matos <jamatos@fep.up.pt>
10711 * buffer.C (makeDocBookFile): command styles now have a parameter as
10712 "title" by default.
10714 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10716 * layout_forms.[Ch]: removed
10717 * lyx_cb.[Ch]: out character
10718 * lyx_gui.C: out character
10719 * lyx_gui_misc.C: out character
10720 * bufferview_funcs.C: : out character,
10721 added toggleall as parameter in ToggleAndShow
10723 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10725 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10727 * text2.C (SetCurrentFont): Disable number property at boundary.
10729 2001-02-26 Juergen Vigna <jug@sad.it>
10731 * lyxfunc.C (getStatus): added a string argument override function so
10732 that this is correctly called from LyXFunc::Dispatch if it contains a
10733 do_not_use_argument which is used!
10734 (Dispatch): added check for "custom" export and call appropriate func.
10736 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10738 * lyxrc.C: Add language_command_local, language_use_babel and
10739 language_global_options.
10741 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10743 * buffer.C (makeLaTeXFile): Use language_use_babel and
10744 language_global_options.
10746 2001-02-23 Juergen Vigna <jug@sad.it>
10748 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10749 which works with LyXText and putted it inside BufferView. Here now we
10750 only call for that part the BufferView::Dispatch() function.
10752 * BufferView.C (Dispatch): added.
10754 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10755 functions which needs to use a LyXText over from LyXFunc.
10756 (MenuInsertLyXFile): added
10757 (getInsetByCode): added
10758 (moveCursorUpdate): added
10759 (static TEXT): added
10761 2001-02-22 Juergen Vigna <jug@sad.it>
10763 * BufferView_pimpl.C (update): call a status update to see if LyXText
10766 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10768 * vc-backend.C (revert): implement for CVS
10769 (getLog): implement for CVS
10771 2001-02-20 Juergen Vigna <jug@sad.it>
10773 * text2.C (ClearSelection): added BufferView param for inset_owner call
10775 * lyxfunc.C (TEXT): added this function and use it instead of
10776 directly owner->view()-text of getLyXText().
10778 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10780 * src/layout_forms.C: out preamble
10781 * src/layout_forms.h: out preamble
10782 * src/lyx_cb.C: out preamble
10783 * src/lyx_cb.h: out preamble
10784 * src/lyx_gui.C: out preamble
10785 * src/lyx_gui_misc.C: out preamble
10786 * src/lyxfunc.C: connect with guii preamble
10788 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10790 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10792 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10794 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10795 whether to run bibtex.
10797 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10799 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10801 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10803 * Makefile.am (lyx_SOURCES): removed bibforms.h
10805 * vspace.h: doxygen
10807 * text.C (GetVisibleRow): make several local vars const
10809 * tabular.C: small cleanup.
10811 * lyxserver.C (callback): use compare instead of strncmp
10813 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10814 inlines to after class or to paragraph.C
10816 * lyxfont.h: remove friend operator!=
10818 * converter.h: move friend bool operator< to non friend and after
10821 * combox.h: small cleanup
10823 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10824 to inlines after class def.
10826 * buffer.C (pop_tag): use string operations instead of strcmp
10828 * bmtable.c: doxygen, small cleanup
10830 * LaTeX.h: remove friend operator==
10832 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10844 * BufferView_pimpl.C:
10845 * BufferView.[Ch]: remove cruft
10847 2001-02-14 Juergen Vigna <jug@sad.it>
10849 * lyxfunc.C: removed #if 0 unused code
10851 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10853 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10855 * text2.C (SetSelection): added a BufferView * parameter
10857 2001-02-13 Juergen Vigna <jug@sad.it>
10859 * lyxfunc.C (Dispatch): fixed protected blank problem.
10860 * BufferView2.C (protectedBlank): added LyxText * parameter.
10862 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10863 (AppendColumn): same as above for column_info.
10865 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10866 (moveCursorUpdate): use a LyXText param for support of InsetText.
10868 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10869 (tripleClick): ditto
10871 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10873 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10875 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10877 * text2.C (SetSelection): set correct update status if inset_owner
10878 (ToggleFree): ditto
10880 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10882 * tabular.C: remove some commented code.
10884 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10886 * BufferView_pimpl.C: call hideSplash()
10888 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10891 * bibforms.h: remove
10894 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10895 add LFUN_CHILD_CREATE
10897 * counters.h: fix tiny typo
10902 * lyx.C: move splash to frontends/xforms/
10904 * lyx_gui_misc.C: move Include and Bibform to frontends
10906 * lyxvc.h: clarify comment
10908 * vspace.C: tiny housekeeping
10910 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10912 * text.C (PrepareToPrint): RTL Fix.
10914 * paragraph.C (GetUChar): New method.
10915 (String): Use GetUChar.
10917 * buffer.C (asciiParagraph): Use GetUChar.
10919 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10921 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10923 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10926 * buffer.C: rename to getLogName(), handle
10927 build log / latex log nicely
10929 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10932 * MenuBackend.h: remove support for reference menuitem type.
10934 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10936 * BufferView_pimpl.C: housekeeping
10937 * BufferView_pimpl.h:
10942 * minibuffer.h: move Timeout GUI-I
10944 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10946 * lyxrc.C (read): Update converters data-structures.
10948 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10950 * LaTeX.h (operator!=): add operator != for Aux_Info
10952 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10954 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10956 * LaTeXLog.C: deleted, useful code moved to Buffer
10959 * buffer.C: new function getLatexLogName()
10965 * lyxfunc.C: use frontends for LaTeX and VC logs
10967 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10969 * LaTeX.h: yet another std:: that Allan forgot.
10971 * Variables.C (set): renamed from isset(), because this clashes
10972 with some HP-UX macros (grr).
10974 2001-02-06 Allan Rae <rae@lyx.org>
10976 * LaTeX.h: Another bug fix. Missing std:: this time.
10978 2001-02-04 Allan Rae <rae@lyx.org>
10980 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10981 floats problem. I've left it commented out because it's not quite
10982 correct. It should also test that the current object is a table or
10983 figure inset. But I haven't gotten around to figuring out how to do
10984 that. I *think* it'll be something like: "table" == inset.type()
10986 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10989 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10991 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10992 all the citation/databases/styles in the auxilary file.
10993 (run): Rerun latex if there was a babel language error.
10995 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10997 * text.C (Backspace): Preserve the font when changing newline char
10999 (BreakParagraph): If the cursor is before a space, delete the space.
11001 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11003 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11005 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11006 new argument (code).
11007 (ChangeCitationsIfUnique): New method.
11009 * paragraph.C (GetPositionOfInset): Handle bibkey.
11011 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11013 * BufferView_pimpl.h: change type of Position::par_pos to
11014 LyXParagraph::size_type.
11016 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11018 * BufferView_pimpl.C (savePosition, restorePosition): Write
11019 messages to minibuffer.
11021 2001-01-28 José Matos <jamatos@fep.up.pt>
11023 * buffer.C (makeDocBookFile): adds support for document language.
11024 A silly restriction on the name of LatexCommand types where removed.
11025 Added support for CDATA sections, allows to chars unescaped, used
11026 among others in code, to avoid escape < and >.
11028 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11030 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11031 saved positions instrad of a stack. Furthermore, a position is
11032 stored using paragraph id/paragraph position.
11034 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11035 Remove LFUN_REF_BACK.
11037 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11039 * converter.C (dvipdfm_options): New method.
11041 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11043 * vspace.C (isValidLength): Fix for empty input string.
11045 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11047 * LyXAction.C (init): change description of LFUN_FIGURE to
11050 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11052 * LaTeX.C: add using directive
11054 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11056 * MenuBackend.C (expand): Fix the sorting of the formats.
11058 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11060 * lyx_main.C: tiny error message fix
11062 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11064 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11065 calling fl_initialize(). This fixes the problem with ',' as
11066 decimal separator in text files.
11068 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11070 * trans.C (process): Fix the keymap bug.
11072 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11074 * LaTeX.C (scanAuxFiles): New method. Provides support for
11075 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11076 (scanLogFile) Scan for "run BibTeX" messages.
11078 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11079 OT1 font encoding. Also, load the aecompl package if the ae
11082 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11084 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11086 * texrow.C (increasePos): turn two error messages into debug
11089 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11091 * LaTeX.C (scanAux): Handle the \@input macro.
11092 (runBibTeX): Use scanAux().
11094 * language.C (latex_options_): New field.
11096 * LaTeXFeatures.C (getMacros): Add language macros.
11098 * buffer.C (makeLaTeXFile): Small fix.
11100 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11102 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11104 * text2.C: add a using directive.
11106 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11111 * lyxfunc.C: kill LyXBell.
11113 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11115 * text.C (IsBoundary): Remove the error message
11117 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11119 * lyxrc.C (setDefaults): Correct initialization value for
11122 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11124 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11127 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11128 and GotoNextNote().
11130 * src/LyXAction.C: Added reference-next.
11132 * text.C (InsertChar): Use contains instead of strchr.
11134 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11136 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11138 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11139 alignment commands (when needed).
11141 * text.C (InsertChar): Add ':' to number separator chars.