1 2003-06-01 John Levon <levon@movementarian.org>
3 * text3.C: use a proper cut/paste when doing inset
4 insert (from Jürgen Spitzmüller)
6 2003-06-01 John Levon <levon@movementarian.org>
8 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
10 2003-05-30 André Pönitz <poenitz@gmx.net>
12 * rowpainter.C: unify second drawing phase
14 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
16 * trans_mgr.C: remove one case of current_view
18 * text2.C (cursorBottom): delete NO_STD_LIST stuff
20 * paragraph_funcs.h: remove paragraph.h include
22 * paragraph.h: delete NO_STD_LIST stuff
24 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
26 * buffer.h: remove paragraph.h include
28 * ParagraphList.C: delete file
30 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
32 * toc.C (getTocList): adjust
34 * paragraph_pimpl.C (validate): adjust
36 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
38 * paragraph.C (Paragraph): adjust
39 (getPositionOfInset): use const_iterator, adjust
40 (bibitem): use const_iterator, adjust
41 (setInsetOwner): adjust
43 * iterators.C (operator++): adjust
45 * InsetList.[Ch]: Replace selfmade iterator with standard
46 vector::iterator also introduce const_iterator. Remove getPos,
47 getInset and setInset from InsetTable. Adjust accordingly.
49 * BufferView.C (lockInset): adjust
50 (ChangeInsets): adjust
52 * tabular.[Ch]: delete commented same_id functions
54 2003-05-28 John Levon <levon@movementarian.org>
56 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
58 2003-05-28 André Pönitz <poenitz@gmx.net>
60 * metricsinfo.[Ch]: remove 'fullredraw' member
62 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
64 * lyxtextclass.C (operator): remove caching.
66 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
70 * text2.C (cursorBottom): adjust
71 (setCounter): use ParagraphList::find, adjust
73 * text.C (workWidth): use ParagraphList::find, adjust
75 * lyxcursor.C (LyXCursor): adjust
77 * buffer.C (inset_iterator): adjust
79 * ParagraphList.h: make iterator(value_type) private, make
80 ParagraphList a friend of iterator.
82 * ParagraphList.C (find): new function
84 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
86 2003-05-27 André Pönitz <poenitz@gmx.net>
88 * dimension.[Ch]: a -> asc, d -> des, w -> wid
90 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
94 2003-05-26 John Levon <levon@movementarian.org>
96 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
98 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
100 * remove same_id from function signatures, adjust.
102 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
104 * undo_funcs.C (createUndo): use the id functions directly, adjust.
106 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
108 * paragraph.C (Paragraph): get rid of same_ids parameter
110 * ParagraphList.C (insert): adjust
113 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
115 * paragraph_funcs.C (breakParagraph): adjust
116 (breakParagraphConservative): adjust
118 * buffer.C (readParagraph): adjust
120 * ParagraphList.C (insert): take a reference instead of a pointer
123 * paragraph.[Ch] (id): new function
125 * bufferlist.C (newFile): adjust
127 * ParagraphList.C (ParagraphList): adjust
129 (push_back): take a reference instead of a pointer.
131 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
133 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
136 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
137 set else use old code.
139 * ParagraphList.C: remove all NO_NEXT code and only compile this
140 code of NO_STD_LIST is set.
142 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
144 * BufferView_pimpl.C:
154 * graphics/GraphicsConverter.C:
155 * graphics/PreviewLoader.C: header adjustment
157 2003-05-23 Angus Leeming <leeming@lyx.org>
159 * LaTeXFeatures.[Ch] (useBabel): new method.
160 * bufferparams.C (writeLaTeX): use it.
162 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
164 * ParagraphList.h (set): remove unused function.
166 2003-05-23 André Pönitz <poenitz@gmx.net>
169 * BufferView_pimpl.C:
173 * undo_funcs.C: setUndo reworked
175 * iterators.[Ch]: add access to topmost ParagraphList
177 * lyxtext.[Ch] (workWidth): add a const
179 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
181 * texrow.[Ch] (increasePos): remove function
182 * exporter.C (export): removed unused var and outdated comment
184 2003-05-23 Angus Leeming <leeming@lyx.org>
186 * latexrunparams.h: rename fragile as moving_arg.
187 * paragraph.C (simpleTeXOnePar): ditto.
188 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
190 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
192 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
194 (textUndoOrRedo): comment out a currently unused var.
196 * paragraph.h (NO_NEXT): enable NO_NEXT
198 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
200 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
202 * exporter.C (Export): adjust for removeAutoInsets removal.
204 * buffer.C (runChktex): adjust for removeAutoInsets removal.
206 * LyXAction.C (init): remove LFUN_REMOVEERRORS
208 * BufferView.[Ch] (removeAutoInsets): delete function
210 2003-05-22 Angus Leeming <leeming@lyx.org>
212 * latexrunparams.h: add a free_spacing variable.
214 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
215 to pass moving_arg, as the data is stored in runparams.fragile.
217 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
218 to Inset::latexOptional or to simpleTeXOnePar.
220 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
221 free_spacing arg to Inset::latexOptional.
223 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
226 2003-05-22 Angus Leeming <leeming@lyx.org>
228 * latexrunparams.h: add fragile and use_babel variables.
230 * bufferparams.[Ch] (writeLaTeX): return use_babel.
231 * buffer.C (makeLaTeXFile): store this returned value in
232 runparams.use_babel, thus passing it to the inset::latex methods.
234 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
235 simpleTeXSpecialChars as it is now stored in runparams.fragile.
237 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
238 longer has a fragile arg, as it is stored in runparams.fragile.
240 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
241 moving_arg parameter as the data is stored in runparams.fragile.
243 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
244 a fragile parameter as the data is stored in runparams.fragile.
246 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
248 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
250 2003-05-22 Angus Leeming <leeming@lyx.org>
252 * latexrunparams.h: add a 'bool nice' which defaults to false.
254 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
255 now encapsulated within runparams.
257 * bufferlist.C (updateIncludedTeXfiles):
258 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
260 2003-05-22 Angus Leeming <leeming@lyx.org>
262 * latexrunparams.h: new file containing struct LatexRunParams.
263 * Makefile.am: add new file.
265 * LaTeX.[Ch] (c-tor, run):
266 * buffer.[Ch] (makeLaTeXFile):
267 * bufferlist.[Ch] (updateIncludedTeXfiles):
268 * converter.C (convert, scanLog):
269 * converter.[Ch] (runLaTeX):
270 * exporter.C (Export):
271 * paragraph.[Ch] (simpleTeXOnePar):
272 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
273 * paragraph_funcs.[Ch] (latexParagraphs):
274 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
275 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
276 pass around a LatexRunParams parameter.
278 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
280 * paragraph.[Ch]: remove unused constructor
282 * ParagraphList.C (erase): new function, taking two iterators
284 2003-05-22 André Pönitz <poenitz@gmx.net>
286 * undo_funcs.C: remove duplicated code
288 * iterator.[Ch]: operator=
290 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
292 * tabular.C (SetMultiColumn): ws changes
294 * rowpainter.C (paintFirst): get rid of a ->previous
296 * lyx_cb.C (getPossibleLabel): parlist simplification
298 * BufferView.C (ChangeInsets): simplify slightly.
300 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
302 * LyXAction.C: new lfun space-insert, kill protected-space-insert
303 * lfuns.h: new LFUN_SPACE
304 * lyxfunc.C: protected space has a new lfun
305 * paragraph_funcs.C: read new space insets
307 * factory.C: handle new space insets
309 2003-05-22 André Pönitz <poenitz@gmx.net>
312 * BufferView_pimpl.C:
315 * undo_funcs.C: return a ParIterator from getParFromID.
317 * iterators.[Ch]: add two const's
319 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
321 * toc.C (getTocList): adjust
323 * iterators.[Ch]: rework for parlist
325 * buffer.C (par_iterator_begin): adjust
326 (par_iterator_end): adjust
328 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
330 * BufferView.C (removeAutoInsets): adjust
331 (ChangeInsets): adjust
333 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
335 * text.C (top_y): fix bug 1110
337 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
339 * errorlist.[Ch]: added
342 * BufferView_pimpl.C:
343 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
346 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
348 * Makefile.am: ensure that lyx is relinked upon changes to the
349 various "convenience" libs.
351 2003-05-20 Angus Leeming <leeming@lyx.org>
353 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
354 files are compiled in alphabetical order again.
356 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
358 2003-05-19 Angus Leeming <leeming@lyx.org>
360 * gettext.[Ch]: remove "char const * _(char const *)".
362 2003-05-19 André Pönitz <poenitz@gmx.net>
364 * dimension.[Ch]: promote from mathed/dimension.[Ch]
373 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
375 2003-05-19 André Pönitz <poenitz@gmx.net>
381 * paragraph_funcs.[Ch]:
383 * text3.C: more insetenv work
385 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
387 * ParagraphParameters.C (params2string): small bug fixed
389 2003-05-16 André Pönitz <poenitz@gmx.net>
392 * bufferview_funcs.C: patch from Kornel Benko to prevent
393 crash when _(...) is called twice in a statement
395 2003-05-16 André Pönitz <poenitz@gmx.net>
402 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
404 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
406 * lyx_main.C (init): remove spurious static_cast
408 2003-05-14 André Pönitz <poenitz@gmx.net>
410 * BufferView.C: fix format string
412 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
414 * BufferView.[Ch] (insertErrors): removed
415 * BufferView.[Ch] (showErrorList): added
416 * buffer.C (runChkTeX):
417 * converter.C (scanLog): call showErrorList instead of inserterrors
419 2003-05-13 André Pönitz <poenitz@gmx.net>
421 * BufferView_pimpl.C:
430 * tabular_funcs.h: tostr() from its own header
432 * ParagraphParameters.C:
439 2003-05-12 André Pönitz <poenitz@gmx.net>
442 * BufferView_pimpl.C:
446 * ParagraphParameters.C:
450 * bufferview_funcs.C:
467 * text3.C: boost::format -> bformat all over the place
470 2003-05-09 André Pönitz <poenitz@gmx.net>
472 * LColor.[Ch]: Pimpl the #include <map> away
474 2003-05-09 John Levon <levon@movementarian.org>
476 * bufferlist.C: never remove emergency saves
478 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
480 * Makefile.am: better lib building
482 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
484 * texrow.[Ch]: remove dependency on Paragraph and just store a id
486 * paragraph_pimpl.C (simpleTeXBlanks): adjust
487 (simpleTeXSpecialChars): adjust
488 (simpleTeXSpecialChars): adjust
489 * paragraph.C (simpleTeXOnePar): adjust
490 * buffer.C (makeLaTeXFile): adjust
492 * Makefile.am (BOOST_LIBS): allow boost as system lib.
494 * text2.C (changeDepth): parlist cleanup
495 (getColumnNearX): ditto
497 * rowpainter.C (getLabelFont): parlist cleanup
499 * bufferlist.C (newFile): parlist cleanup
501 * CutAndPaste.C (eraseSelection): parlist cleanup
503 * BufferView_pimpl.C (trackChanges): parlist cleanup
506 * BufferView.C (lockInset): parlist cleanup.
507 (ChangeInsets): ditto
509 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
511 * CutAndPaste.h: Update file header.
513 * CutAndPaste.C: Update file header.
514 Store the parts cut out of the Document in a limited_stack.
515 (copySelection): adjust
516 (pasteSelection): new function, takes the index in the limited stack.
517 (nrOfParagraphs): adjust
518 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
519 simplify error inset insertion.
520 (checkPastePossible): adjust
522 2003-05-06 John Levon <levon@movementarian.org>
524 * text2.C: don't cast wrap inset to float
526 2003-05-05 André Pönitz <poenitz@gmx.net>
529 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
531 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
532 few naked Paragraph *.
534 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
536 * bufferparams.C: Output warning if a document with missing
537 TeX document class is loaded
538 * exporter.C: Disable TeX exports if the document class is missing
541 * lyxtextclasslist.C: Handle new textclass.lst format; new method
542 isTeXClassAvailable()
544 2003-05-03 John Levon <levon@movementarian.org>
547 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
548 explicit cursor show/hide
550 * BufferView_pimpl.h:
551 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
552 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
554 * lyxfunc.C: hide cursor before dispatching.
559 * text3.C: remove explicit cursor hides
561 2003-05-02 André Pönitz <poenitz@gmx.net>
563 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
566 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
569 * text2.C: tiny whitespace
571 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
573 * undo_funcs.C: almost only ws changes.
575 * ParagraphList.C (splice): just return if pl is empty.
577 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
579 * ParagraphList.C (splice): new function.
581 * CutAndPaste.C (pasteSelection): use it
583 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
585 * CutAndPaste.C (pasteSelection): remove the last next and
586 previous from this file.
588 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
590 * CutAndPaste.C (pasteSelection): more clean up, user proper
591 ParagraphList functions for pasteing.
593 * ParagraphList.C (insert): new function, three arg insert
595 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
597 * ParagraphList.C (insert): new function, three arg insert
599 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
602 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
604 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
606 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
608 * CutAndPaste.C (pasteSelection): remove some unneeded code.
610 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
612 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
613 (copySelection): clean up a bit.
614 (pasteSelection): use make_pair
616 * ParagraphList.C (ParagraphList): implement copy constructor
617 (operator=): implement, base on copy constructor.
620 * paragraph.C (erase): return a bool
622 * paragraph_pimpl.C (erasePos): remove function, move contents...
623 (erase): ... here. Return a bool.
624 (erase): call erase instead of erasePos.
626 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
628 * ParagraphList.h: define PitPosPair
629 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
630 ParagraphList, fix a bug on pasting multiple pars
631 * text2.C: change interface to C&P
633 2003-04-30 André Pönitz <poenitz@gmx.net>
635 * undo_func.C: revert part of yesterday's patch 2
637 2003-04-30 John Levon <levon@movementarian.org>
639 * LColor.C: s/tabular/table/
641 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
643 * text3.C (dispatch): do not convert iterator -> pointer
644 * undo_funcs.C (setCursorParUndo): ditto
645 * text_funcs.C (transposeChars): ditto
647 * text2.C (setLayout): ws changes only
649 * text.C (breakParagraph): do not convert iterator -> pointer
651 (acceptChange): ditto
652 (rejectChange): ditto
657 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
660 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
662 * text3.C (gotoInset): YABG (yet another bad getChar)
664 2003-04-29 André Pönitz <poenitz@gmx.net>
666 * paragraph.h: make operator= private unimplemented as long as
669 * ParagraphList.C: whitespace
672 * paragraph_pimpl.[Ch]:
675 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
678 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
680 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
682 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
683 * paragraph.[Ch] (erase):
684 * paragraph_pimpl.[Ch] (erase): change return type and value
685 * text2.C (cutSelection): some rework
687 2003-04-28 John Levon <levon@movementarian.org>
689 * bufferlist.C: changes for unsaved changes dialog
691 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
693 * bufferlist.C (newFile): set language (messages_) for new
696 * buffer.C (readFile): ws changes only.
698 2003-04-28 André Pönitz <poenitz@gmx.net>
703 * BufferView_pimpl.C:
704 * BufferView.C: getParFromID related ParagraphList::iterator changes
706 2003-04-28 André Pönitz <poenitz@gmx.net>
708 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
711 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * messages.C: remove one more localedir class variable.
715 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * messages.C (getLocaleDir): singleton generation function
719 (Messages): add a default constructor.
721 * main.C (main): do not setup localedir here, do not call
724 * gettext.C (_): use it.
725 (gettext_init): delete funciton
727 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * gettext.C (getLyXMessages): new singleton generating function.
731 * buffer.C (updateDocLang): adjust
733 * Makefile.am (messages.o): add target
734 (main.o): remove target
736 2003-04-27 John Levon <levon@movementarian.org>
741 * lyxvc.C: specify cancel button in Alert::prompt
743 2003-04-26 John Levon <levon@movementarian.org>
748 * LyXAction.C: add LFUN_INSET_SETTINGS
750 * lyxfunc.C: don't enable tabular-feature when there's
751 just any locking inset
753 2003-04-26 John Levon <levon@movementarian.org>
755 * bufferlist.C: re-add Cancel to buffer close question
757 * lyxfunc.C: fix import UI a bit
759 2003-04-25 John Levon <levon@movementarian.org>
761 * gettext.C: remove the broken asserts for now
763 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
765 * messages.C: make case where setlocale cannot comply work better.
767 * buffer.C (updateDocLang): new function
768 (changeLanguage): use it
771 * text2.C (setCounter): use B_ a bit.
773 * lyxlayout.C (Read): be sure to trim the label strings.
775 * messages.C (Messages): fix typo in comment
777 * buffer.C (readFile): set message_ after file is loaded.
778 (makeDocBookFile): remove double return
779 (changeLanguage): reset message_ upon language change.
780 (B_): new func, use this to get translated buffer strings.
782 * main.C: add myself and Jean Marc as authors.
784 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
786 * messages.[hC]: pimplify Messages, and three different pimpls to be
787 used in different circumstances.
789 * gettext.[Ch]: change for use with new message code.
791 2003-04-24 André Pönitz <poenitz@gmx.net>
793 * factory.C: support for eqref
795 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * messages.[Ch]: add missing char
799 * Makefile.am (lyx_SOURCES): add messages.[Ch]
801 * messages.[Ch]: New files
803 2003-04-18 John Levon <levon@movementarian.org>
807 * BufferView_pimpl.C:
811 * text2.C: remove layout-copy/paste (bug 778)
813 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
815 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
817 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
819 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
820 if they succeed. Act accordingly.
822 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
824 * text2.C (setCharFont): adjust
826 (insertStringAsLines): adjust
828 * text.C (leftMargin): adjust
829 (setHeightOfRow): adjust
831 * rowpainter.C (paintFirst): adjust
834 * paragraph_funcs.C (depthHook): ParagraphList::iterators
836 (isFirstInSequence): ditto
840 * paragraph.C (getParLanguage): comment out some hard stuff.
842 * buffer.C (insertStringAsLines): take a ParagraphList as arg
844 (simpleDocBookOnePar): ditto
845 (makeDocBookFile): use ParagraphList::iterator
847 * CutAndPaste.C (pasteSelection): adjust
849 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
851 * text2.C (getFont): adjust
852 (getLayoutFont): adjust
853 (getLabelFont): adjust
855 * paragraph_funcs.C (TeXOnePar): adjust
857 * buffer.C (simpleLinuxDocOnePar): adjust
858 (simpleDocBookOnePar): adjust
860 * CutAndPaste.C (pasteSelection): adjust
862 * BufferView.C (getEncoding): adjust
864 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
866 2003-04-16 John Levon <levon@movementarian.org>
868 * lyxfind.C: use parlist stuff for search/changes
870 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
872 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
874 * text2.C (deleteEmptyParagraphMechanism): adjust
876 * text2.[Ch] (ownerParagraph): delete func (both of them
878 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
882 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * ParagraphList.C: prepare for NO_NEXT
886 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
888 * text2.C (getFont): adjust
889 (getLayoutFont): adjust
890 (getLabelFont): adjust
892 * paragraph.C (getFont): adjust
893 (getLabelFont): adjust
894 (getLayoutFont): adjust
896 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
898 2003-04-15 John Levon <levon@movementarian.org>
902 * lyx_main.C: handle Include in .ui files
904 2003-04-15 John Levon <levon@movementarian.org>
906 * MenuBackend.C: make the doc files length shorter
909 * ToolbarBackend.C: handle toolbar placement flags,
912 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
914 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
917 * paragraph_funcs.C (TeXOnePar): adjust
919 * paragraph.C (getLabelFont): add outerfont arg, adjust
920 (getLayoutFont): ditto
921 (simpleTeXOnePar): adjust
923 * paragraph_pimpl.C (realizeFont): delete func
925 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
927 * text2.C (beforeFullRowInset): added a bad getchar check, removed
928 row argument, constify cur argument.
930 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
932 * text2.C (getFont): adjust
933 (getLayoutFont): adjust
934 (getLabelFont): adjust
936 * paragraph_funcs.C (TeXOnePar): adjust
937 (outerFont): new func...
938 (realizeFont): ...moved out from here, changed this to facilitate
941 * paragraph.C (getFont): take outerfont as arg, adjust
942 (simpleTeXOnePar): add outerfont arg, adjust
944 * buffer.C (simpleLinuxDocOnePar): adjust
945 (simpleDocBookOnePar): adjust
947 * CutAndPaste.C (pasteSelection): adjust
949 * BufferView.C (getEncoding): adjust
951 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * text2.C (setCharFont): adjust
956 * text.C (leftMargin): adjust
957 (setHeightOfRow): adjust
959 * rowpainter.C (paintFirst): adjust
962 * paragraph_pimpl.C (realizeFont): adjust
964 * paragraph.C (isFirstInSequence): move from here...
965 * paragraph_funcs.C (isFirstInSequence): ...to here
967 * paragraph.C (outerHook): move from here...
968 * paragraph_funcs.C (outerHook): ...to here
970 * paragraph.C (depthHook): move from here...
971 * paragraph_funcs.C (depthHook): ...to here
973 * paragraph.C (getEndLabel): move from here...
974 * paragraph_funcs.C (getEndLabel): ...to here
976 * text2.C (realizeFont): move from here...
977 * paragraph_funcs.C (realizeFont): ...to here
979 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
983 2003-04-14 Angus Leeming <leeming@lyx.org>
985 * LColor.[Ch]: scrap LColor mathcursor.
987 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
989 * lyxlex.[Ch] (text): delete function
990 * trans.C (Load): adjust
991 * paragraph_funcs.C (readParToken): adjust
993 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
995 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
996 vector<char> instead of a char[].
998 * lyxlex_pimpl.C (getString): adjust
1000 (lex): use getString
1004 * lyxlex.C (text): use pimpl_->getString()
1008 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1010 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1011 (makeFontEntriesLayoutSpecific): temp var for par.size()
1012 (setLayout): temp var for ownerParagraphs().end()
1013 (fullRebreak): temp var for rows().end()
1014 (selectionAsString): temp var for boost::next(startpit), realize
1015 that the while really is a regular for loop.
1016 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1017 setCursor in one place.
1018 (setParagraph): temp vr for ownerParagraphs().end()
1019 (updateCounters): make the while loop a for loop
1020 (cutSelection): temp var for ownerParagraphs().end()
1021 (updateInset): make the do {} while() a regular for loop
1022 (getCursorX): use temp vars
1023 (setCurrentFont): use temp vars
1024 (getColumnNearX): use temp vars
1026 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1028 * text.C (transformChar): use temp var for getChar
1029 (computeBidiTables): use temp var for row->par()
1030 (fill): move temp vars for row->par() and pit->layout() earlier in
1032 (labelFill): use temp var for row->par()
1033 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1034 asc and desc, realize that pit never changes and that firstpit is
1035 just a duplicate and not needed. Exchange rit->par() with pit in a
1037 (breakAgain): use a temp var for boost::next(rit)
1038 (breakAgainOneRow): ditto
1039 (breakParagraph): use a temp var for rows().begin()
1040 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1041 (cursorRightOneWord): use temp var for cursor.par() and
1042 cursor.pos(), remove usage of tmpcursor.
1043 (cursorLeftOneWord): use temp var for cursor.par() and
1044 cursor.pos() only set cur at end of function.
1046 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1048 * text.C, text2.C: exchange all usage of Paragraph::next with
1049 boost::next(ParagraphList::iterator)
1051 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1053 * text2.C (cursorTop): simplify implementation
1054 (cursorBottom): ditto
1055 (setParagraph): use ParagraphList::iterator
1056 (setCurrentFont): adjust
1057 (getColumnNearX): adjust
1058 (cursorRight): adjust
1059 (cursorLeft): remove usage of Paragraph::previous
1060 (cursorUpParagraph): ditto
1061 (deleteEmptyParagraphMechanism): slight cleanup
1063 * text.C (isBoundary): take a Paragraph const & instead of a
1065 (addressBreakPoint): ditto
1066 (leftMargin): remove usage of Paragraph::previous.
1067 (setHeightOfRow): ditto
1068 (cursorLeftOneWord): ditto
1069 (selectNextWordToSpellcheck): ditto
1072 (breakParagraph): remove one usage of Paragraph::next
1073 (redoParagraph): ditto
1074 (acceptChange): ditto
1075 (insertChar): adjust
1076 (rowBreakPoint): adjust
1078 * bufferview_funcs.C (toggleAndShow): adjust
1080 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1082 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1083 methods to access it.
1085 * text.C: Added updateRowPositions to compute all row positions.
1086 Make top_y and getRowNearY() to use the cached y position
1088 2003-04-11 John Levon <levon@movementarian.org>
1090 * text.C (rowBreakPoint): reintroduce the labelEnd
1091 checks, code copied from the row fill stuff. Deep voodoo.
1093 * text.C (fill): add a comment and debugging for the
1096 2003-04-11 John Levon <levon@movementarian.org>
1098 * text.C: make sure fullrow insets get wrapped to the next line,
1099 even when they're in a manual label
1101 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1103 * text2.C (insertParagraph): make it take ParagraphList::iterator
1105 (setLayout): make it return ParagraphList::iterator
1106 (redoParagraphs): ditto
1108 (checkParagraph): ditto
1110 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1112 * text2.C: adjust several funcs.
1113 (realizeFont): take a ParagraphList::iterator as arg.
1114 (getLayoutFont): ditto
1115 (getLabelFont): ditto
1116 (setCharFont): ditto
1118 * text.C: adjust several funcs.
1120 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1122 * text.C (selectNextWordToSpellcheck): don't accidentally
1125 2003-04-10 John Levon <levon@movementarian.org>
1127 * ToolbarBackend.C (getIcon): special handling for
1130 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1132 * text2.C (cursorRight): a getChar assert fixed
1134 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1136 * text2.C (getFont): change to take a ParagraphList::iterator
1137 instead of Paragraph*
1138 Adjust several functions.
1140 * text.C (transformChar): change to take a ParagraphList::iterator
1141 instead of Paragraph*
1142 (singleWidth): ditto
1143 Adjust several functions.
1145 * rowpainter.C: adjust several functions
1146 * rowpainter.h:store a ParagraphList::iterator and not a
1150 2003-04-09 John Levon <levon@movementarian.org>
1155 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1156 and the "help" bits as well
1158 2003-04-09 John Levon <levon@movementarian.org>
1161 * ToolbarBackend.C: allow multiple toolbars
1163 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * undo_funcs.C (setCursorParUndo): adjust
1167 * text_funcs.C (transposeChars): adjust
1169 * text3.C (gotoNextInset): adjust
1172 * text2.C (setLayout): adjust
1173 (changeDepth): adjust
1175 (redoParagraphs): adjust
1176 (selectionAsString): adjust
1177 (setParagraph): adjust
1178 (insertInset): adjust
1179 (cutSelection): adjust
1180 (copySelection): adjust
1181 (pasteSelection): adjust
1182 (insertStringAsLines): adjust
1183 (updateInset): adjust
1184 (setCursor): change to take a ParagraphList::iterator parameter
1185 (setCursorIntern): change to take a ParagraphList::iterator parameter
1186 (setCurrentFont): adjust
1187 (cursorLeft): adjust
1188 (cursorRight): adjust
1189 (deleteEmptyParagraphMechanism): adjust
1191 * text.C (breakParagraph): adjust
1192 (insertChar): adjust
1193 (acceptChange): adjust
1194 (rejectChange): adjust
1195 (selectNextWordToSpellcheck): adjust
1196 (changeCase): adjust
1200 * lyxfind.C (SearchForward): adjust
1201 (SearchBackward): adjust
1202 (nextChange): adjust
1204 * lyxcursor.C (par): adjust
1206 * lyxcursor.h: store a ParagraphList::iterator instead of a
1209 * lyx_cb.C (getPossibleLabel): adjust
1211 * bufferview_funcs.C (toggleAndShow): adjust
1213 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1216 * BufferView.C (removeAutoInsets): adjust
1217 (lockedInsetStoreUndo): adjust
1219 2003-04-09 John Levon <levon@movementarian.org>
1221 * ToolbarBackend.C: try icon without argument
1222 if with argument fails
1224 2003-04-08 John Levon <levon@movementarian.org>
1227 * ToolbarBackend.C: add getIcon(), handle tooltip,
1228 and change from "Icon" to "Item".
1230 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1232 * BufferView.C (lockInset): another bad getchar crunched
1234 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1236 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1239 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1241 * lyxfind.C (searchForward, searchBackwards): bug 782
1243 2003-04-07 John Levon <levon@movementarian.org>
1245 * paragraph.C: remove dead comment
1247 * text.C: remove troublesome depth-fiddling code
1248 in leftMargin() and rightMargin() (bug 1017)
1250 * text.C: fix breaking of rows in nested lists
1253 * text2.C (updateCounters): fix up depth values
1256 2003-04-07 John Levon <levon@movementarian.org>
1258 * BufferView_pimpl.C: clear message when doc finishes resizing,
1259 and after a mouse event
1261 * lyxfunc.C: clear message after exiting inset
1263 2003-04-07 John Levon <levon@movementarian.org>
1265 * bufferview_funcs.C: show math status not outside
1266 status in the statusbar
1268 2003-04-07 John Levon <levon@movementarian.org>
1270 * lyxfunc.C: note status changed after a depth change
1272 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1274 * LaTeX.h: move AuxInfo operator==, != out of line.
1275 Remove LaTeX virtual destructor; nothing derives from it.
1276 Move operator()() out of public area and rename it startscript().
1277 Change protected for private.
1279 2003-04-04 Angus Leeming <leeming@lyx.org>
1282 * text2.C: remove unneeded #includes.
1284 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1286 * text2.C (dEPM): fix the heigth of the next row
1288 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1290 * text.C: squashed an invalid getChar requester + some ws changes
1292 2003-04-03 John Levon <levon@movementarian.org>
1294 * bufferview_funcs.h:
1295 * bufferview_funcs.C:
1298 * text2.C: make getStatus work for the env depth lfuns
1300 2003-04-03 John Levon <levon@movementarian.org>
1302 * bufferview_funcs.h:
1303 * bufferview_funcs.C:
1306 * text2.C: parlistize decDepth(), by merging it with incDepth()
1308 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * lyxrow.h: store a ParagraphList::iterator instead of a
1311 Paragraph* and adjust other class functions to suit.
1313 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1316 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1318 * text2.C (setCursor): do not anchor to cursor row for the time being
1320 2003-04-02 John Levon <levon@movementarian.org>
1327 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1329 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1331 * paragraph.h: make ParagraphList and ParagraphList::iterator
1332 friends of Paragraph.
1334 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1336 * ParagraphList.C: Use the private next_ and previous_ from
1339 2003-04-01 John Levon <levon@movementarian.org>
1343 * Makefile.am: rename, remove defaults gunk
1346 * MenuBackend.C: remove defaults gunk
1349 * Languages.C: remove defaults gunk
1352 * lyx_main.C: error out if files couldn't be found.
1354 2003-04-02 John Levon <levon@movementarian.org>
1356 * text2.C: make incDepth() use parlist
1358 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1360 * undo_funcs.C (firstUndoParagraph): adjust
1362 * text3.C (gotoInset): adjust
1363 (dispatch): adjust, and rewrite loop.
1365 * text2.C (init): adjust, and rewrite loop.
1366 (redoParagraphs): adjust
1367 (updateInset): adjust, and rewrite loop.
1368 (deleteEmptyParagraphMechanism): adjust
1370 * tabular.C (LyXTabular): adjust
1371 (SetMultiColumn): adjust
1374 * lyxtext.[Ch] (ownerParagraph): delete function
1375 (ownerParagraphs): new function returns a ParagraphList.
1377 * BufferView.C (removeAutoInsets): adjust
1378 (insertErrors): adjust
1379 (setCursorFromRow): adjust
1381 2003-04-01 Angus Leeming <leeming@lyx.org>
1383 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1386 2003-04-02 John Levon <levon@movementarian.org>
1392 * text_funcs.C: make transposeChars a free function
1394 * lyxrow_funcs.C: remove wrong comment
1396 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1399 * rowpainter.C: adjust
1404 * lyxrow_funcs. [Ch]: new files
1406 * lyxrow.[Ch]: remove next and previous pointers
1407 (next,previous): remove accessor functions
1408 (isParEnd): move to lyxrow_funcs
1409 (lastPos): move to lyxrow_funcs
1410 (nextRowIsAllInset): move to lyxrow_funcs
1411 (lastPrintablePos): move to lyxrow_funcs
1412 (numberOfSeparators): move to lyxrow_funcs
1413 (numberOfHfills): move to lyxrow_funcs
1414 (numberOfLabelHfills): move to lyxrow_funcs
1415 (hfillExpansion): move to lyxrow_funcs
1419 * bufferview_funcs.C (toggleAndShow): adjust
1421 * RowList.h: Remove class RowList from file leave just a
1424 * RowList.C: delete file
1426 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1429 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1431 * text3.C (cursorPrevious): adjust
1432 (cursorNext): adjust
1435 * text2.C (redoHeightOfParagraph): adjust
1436 (redoDrawingOfParagraph): adjust
1439 * text.C (breakParagraph): adjust
1440 (insertChar): adjust
1443 * rowpainter.C (RowPainter): adjust
1444 (leftMargin): simplify and adjust
1445 (most rowpainter functions): adjust.
1447 * rowpainter.h: store the row as RowList::iterator not as Row*
1449 * lyxcursor.C (row): taka RowList::iterator as arg
1452 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1455 2003-04-01 Angus Leeming <leeming@lyx.org>
1457 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1458 stuff like bool Bool.
1460 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1462 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1465 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1467 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1470 * lyxtext.h (rows): drop one version and leve a const variant that
1471 returns a RowList::iterator.
1473 2003-03-31 Angus Leeming <leeming@lyx.org>
1475 * text.C (fill): ensure that the signature is the same as that in the
1478 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1480 * text2.C (redoParagraphs): adjust
1481 (updateCounters): adjust
1482 (checkParagraph): adjust
1483 (getColumnNearX): adjust and reformat a bit.
1485 * text.C (top_y): adjust
1487 (leftMargin): adjust
1488 (prepareToPrint): adjust
1490 (getRowNearY): adjust
1492 * lyxtext.h: make rowlist_ mutable.
1494 * RowList.h: add const_iterator
1495 * RowList.C: adjust for RowList::const_iterator.
1497 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1500 2003-03-31 John Levon <levon@movementarian.org>
1503 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1505 * lyx_main.C: set default fonts from using lyx_gui funcs
1507 * exporter.C: pdf_mode moved from lyxrc
1510 * lyxfunc.C: changes from above
1512 2003-03-31 John Levon <levon@movementarian.org>
1514 * lyx_main.C: fix to the last fix
1516 2003-03-31 John Levon <levon@movementarian.org>
1518 * bufferlist.C: "Load original" -> "Load Original"
1524 * format.C: more Alert cleanups
1526 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1528 * text2.C (removeParagraph): make it take a RowList::iterator as
1530 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1531 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1533 * text.C (anchor_row): make it take a RowList::iterator as arg,
1535 (computeBidiTables): make it take a const reference to Row instead
1536 of Row pointer, adjust.
1537 (leftMargin): make it take a RowList::iterator as arg, adjust.
1538 (rowBreakPoint): adjust
1539 (breakAgainOneRow): make it take a RowList::iterator as arg,
1541 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1543 * bufferview_funcs.C (toggleAndShow): adjust
1545 2003-03-30 John Levon <levon@movementarian.org>
1549 * boost-inst.C: moved to support
1551 * several files: changes as a result
1553 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * text2.C (LyXText): adjust.
1557 (removeRow): make it take a RowList::iterator as arg, adjust.
1558 (fullRebreak): adjust
1559 (deleteEmptyParagraphMechanism): adjust
1560 (clearPaint): adjust
1563 * text.C (top_y): adjust
1564 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1565 (breakAgain): make it take a RowList::iterator as arg, adjust.
1566 (breakParagraph): adjust
1567 (insertChar): adjust
1570 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1571 need_break_row, and refresh_row.
1573 * text3.C (dispatch): adjust
1575 * text2.C (checkParagraph): adjust
1577 (setCursorFromCoordinates): adjust
1579 * text.C (top_y): adjust
1581 (getRow): make it return a RowList::iterator, adjust
1582 (getRowNearY): make it return a RowList::iterator, adjust
1584 * text2.C (init): adjust
1585 (insertRow): remove function
1586 (insertParagraph): adjust
1587 (redoParagraphs): adjust
1588 (fullRebreak): adjust
1589 (updateCounters): adjust
1591 * text.C (top_y): rewrite to use RowList iterators.
1593 (setHeightOfRow): rewrite to sue RowList iterators.
1594 (appendParagraph): adjust
1595 (breakAgain): adjust
1596 (breakAgainOneRow): adjust
1597 (breakParagraph): adjust
1599 (getRowNearY): adjust, and remove commented code.
1601 * lyxtext.h (firstRow): delete function
1602 (lastRow): delete function
1603 (rows): new function (const and non-const versions.)
1604 (insertRow): delete function
1606 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1608 2003-03-29 John Levon <levon@movementarian.org>
1610 * BufferView_pimpl.C: always update scrollbar top
1611 because pasting text when we're anchored could mean we
1612 miss an update altogether
1614 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1616 * text2.C (init): use rowlist_.end() and not 0.
1617 (insertRow): change to take a RowList::iterator as arg, adjust
1619 (insertParagraph): change to take a RowList::iterator as arg,
1621 (redoParagraphs): remove some debug msgs.
1623 * text.C (appendParagraph): change to take a RowList::iterator
1624 arg, adjust for this.
1625 (breakAgain): add an assert
1626 (breakAgainOneRow): ditto
1628 2003-03-29 John Levon <levon@movementarian.org>
1630 * text2.C: do not clear selection after inc/decDepth
1633 2003-03-29 John Levon <levon@movementarian.org>
1636 * buffer.C: fix broken strerrors according to Lars
1638 2003-03-29 John Levon <levon@movementarian.org>
1640 * converters.C: more Alert cleanups
1642 2003-03-29 John Levon <levon@movementarian.org>
1644 * bufferview_funcs.C: remove pointless Alert
1646 * buffer.C: fix confusing error message when
1647 a template is chmoded 000
1649 2003-03-29 John Levon <levon@movementarian.org>
1653 * BufferView_pimpl.C: Alert fixes
1657 * tabular-old.C: remove unused table compat reading
1659 2003-03-29 John Levon <levon@movementarian.org>
1664 * lyx_cb.C: more Alert cleanups
1666 * lyxfunc.C: don't allow chktex if not latex document
1668 2003-03-29 John Levon <levon@movementarian.org>
1672 * buffer.C: warnings pushed down from support/,
1675 2003-03-29 John Levon <levon@movementarian.org>
1677 * lyxfunc.C: safety check for C-r (revert)
1679 2003-03-29 John Levon <levon@movementarian.org>
1682 * bufferlist.C: several UI fixes using Alert::prompt.
1683 Fix the pointless looping quit code. Fix stupid revert
1688 * lyx_cb.C: use Alert::prompt
1690 * lyx_main.C: remove a silly question
1692 * lyxfunc.C: remove a couple of silly questions,
1695 2003-03-28 John Levon <levon@movementarian.org>
1697 * text2.C: fix bug 974 (End on empty par)
1699 2003-03-28 John Levon <levon@movementarian.org>
1701 * BufferView_pimpl.C:
1703 * lfuns.h: remove do-nothing math greek lfuns
1705 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1707 * lyxgluelength.h (isValidGlueLength): add default arg on
1708 parameter 2. Remove default arg from friend in class.
1710 * lyxlength.h (isValidLength): add default arg on parameter 2.
1711 Remove default arg from friend in class.
1713 * text2.C (LyXText): adjust, initialize refresh_row.
1717 (insertParagraph): adjst
1718 (redoParagraphs): adjust
1719 (fullRebreak): adjust
1720 (updateCounters): adjust
1721 (deleteEmptyParagraphMechanism): first attempt at fixing a
1724 * text.C (top_y): adjust
1725 (setHeightOfRow): adjust
1727 (getRowNearY): adjust
1729 * lyxtext.h: include RowList.h
1730 (~LyXText): not needed anymore, deleted.
1731 (firstRow): modify for RowList
1732 (lastRow): new function
1733 Delete firstrow and lastrow class variables, add a Rowlist
1734 rowlist_ class variable.
1736 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1739 * RowList.C (insert): fix case where it == begin().
1741 2003-03-26 Angus Leeming <leeming@lyx.org>
1743 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1744 the thesaurus dialog.
1746 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1748 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1750 * RowList.[Ch]: new files
1752 * ParagraphList.C (erase): handle the case where it == begin
1755 2003-03-25 John Levon <levon@movementarian.org>
1759 * aspell.C: add new aspell support
1762 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1765 2003-03-25 Angus Leeming <leeming@lyx.org>
1768 * LyXAction.C (init): new LFUN_INSET_INSERT.
1770 * BufferView_pimpl.C (dispatch): split out part of the
1771 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1773 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1776 2003-03-25 Angus Leeming <leeming@lyx.org>
1778 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1780 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1783 * text3.C: remove useless row->height(0)
1785 2003-03-25 John Levon <levon@movementarian.org>
1789 * text3.C: rename the refreshing stuff to better names
1791 2003-03-24 John Levon <levon@movementarian.org>
1793 * BufferView_pimpl.h:
1794 * BufferView_pimpl.C: update layout choice on a mouse
1797 2003-03-23 John Levon <levon@movementarian.org>
1799 * Makefile.am: fix commandtags.h reference
1801 2003-03-22 John Levon <levon@movementarian.org>
1803 * BufferView_pimpl.C:
1808 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1810 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1813 * text.C: take the rtl methods out of line
1815 2003-03-21 André Pönitz <poenitz@gmx.net>
1817 * metricsinfo.[Ch]: new files containing structures to be passed around
1818 during the two-phase-drawing...
1820 2003-03-21 André Pönitz <poenitz@gmx.net>
1822 * lyxtextclass.C: read 'environment' tag.
1824 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1826 * text2.C (removeRow): fix bug 964
1828 2003-03-20 John Levon <levon@movementarian.org>
1832 * text2.C: paint cleanups. Inset::update() dropped font
1835 2003-03-19 John Levon <levon@movementarian.org>
1837 * lyxfunc.C: only fitcursor/markDirty if available()
1839 2003-03-19 John Levon <levon@movementarian.org>
1841 * commandtags.h: rename to ...
1843 * lfuns.h: ... this, and renumber / cleanup
1845 2003-03-19 John Levon <levon@movementarian.org>
1847 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1848 fit the cursor after an lfun
1852 * BufferView_pimpl.h:
1853 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1855 * LyXAction.C: layout-character should have ReadOnly
1857 * ParagraphParameters.C:
1859 * bufferview_funcs.C:
1866 * undo_funcs.C: changes from above
1868 2003-03-18 John Levon <levon@movementarian.org>
1870 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
1871 remove it from update()
1873 * lyxfunc.C: update layout choice after an lfun
1875 * text3.C: remove extra updateLayoutChoice()s
1877 2003-03-18 John Levon <levon@movementarian.org>
1879 * text.C: top_y change means full repaint, fix
1880 a drawing bug with cursor movement
1882 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1886 * text2.C: anchor row on setCursor
1888 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
1890 * lyxtext.h: remove almost all mutable keywords
1893 * text3.C: remove const keywords accordingly
1895 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
1899 (TeXEnvironment): ditto
1902 2003-03-17 John Levon <levon@movementarian.org>
1904 * text.C (rowBreakPoint): remove attempt to fix displayed
1905 math insets inside a manual label
1907 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * lyxtext.h: remove BufferView* as first arg from almost all class
1911 * other files: adjust.
1913 2003-03-17 John Levon <levon@movementarian.org>
1917 * text2.C: more paint cleanups
1919 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
1922 * rowpainter.C: remove "smart" background painting code
1924 2003-03-16 John Levon <levon@movementarian.org>
1929 * text3.C: add helper functions for setting refresh_row/y
1931 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
1933 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
1934 newline inset which *can* get inserted in the pass_thru layouts.
1935 This is primarily for literate documents.
1937 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
1939 * buffer.C: increment LYX_FORMAT to 223
1941 2003-03-14 André Pönitz <poenitz@gmx.net>
1943 * textclass.h: prepare for environment handling, ws changes
1944 * lyxlayout.C: read latexheader and latexfooter tags
1946 2003-03-14 John Levon <levon@movementarian.org>
1948 * text2.C: rewrite ::status() a bit
1950 2003-03-13 John Levon <levon@movementarian.org>
1952 * lyxtext.h: add some docs
1954 2003-03-13 John Levon <levon@movementarian.org>
1959 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
1961 2003-03-13 John Levon <levon@movementarian.org>
1963 * text3.C: fix appendix redrawing
1965 2003-03-13 John Levon <levon@movementarian.org>
1967 * text.C (setHeightOfRow):
1969 * rowpainter.C: make appendix mark have the text
1970 "Appendix" so the user knows what it is
1973 * LColor.C: s/appendixline/appendix/ from above
1975 2003-03-13 John Levon <levon@movementarian.org>
1977 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
1979 * text.C: fix a getChar(pos) bug properly
1981 2003-03-13 Angus Leeming <leeming@lyx.org>
1984 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
1985 Probably only temporary. Let's see how things pan out.
1987 * BufferView.C (unlockInset):
1988 * BufferView_pimpl.C (fitCursor):
1989 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
1991 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
1992 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
1994 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
1995 new functions that convert ParagraphParameters to and from a string.
1997 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
1998 BufferView::Pimpl's dispatch.
1999 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2001 2003-03-13 André Pönitz <poenitz@gmx.net>
2005 * factory.C: make it aware of InsetEnv
2007 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2009 * text2.C (setCursor): never ask for one past last
2010 (setCursor): add some debugging messages.
2012 * text.C (singleWidth): never ask for one past last
2013 (singleWidth): ditto
2015 (rightMargin): ditto
2016 (rowBreakPoint): ditto
2017 (setHeightOfRow): ditto
2018 (prepareToPrint): ditto
2020 * rowpainter.C (paintBackground): never ask for one past last
2021 (paintText): never ask for one past last
2023 * paragraph_pimpl.C (getChar): make the assert stricter, never
2024 allow the one past last pos to be taken
2026 * paragraph.C (getChar): ws changes only
2028 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2029 (numberOfSeparators): ditto
2030 (numberOfHfills): ditto
2032 2003-03-12 John Levon <levon@movementarian.org>
2038 * paragraph_funcs.C: fix per-buffer authorlists
2040 2003-03-12 John Levon <levon@movementarian.org>
2042 * text.C: fix newline in right address
2044 2003-03-12 Angus Leeming <leeming@lyx.org>
2046 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2047 duplicate those in LyXFunc::dispatch.
2051 * ToolbarDefaults.C:
2052 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2053 Add LFUN_FONTFREE_UPDATE.
2055 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2056 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2058 * bufferview_func.[Ch]: several new functions to facilliate
2059 transfer of data to and from the character dialog.
2061 2003-03-12 John Levon <levon@movementarian.org>
2066 * paragraph_funcs.C:
2067 * paragraph_pimpl.C:
2071 * text3.C: remove META_NEWLINE in favour of an inset
2074 * rowpainter.C: remove paintNewline (done by inset)
2076 2003-03-12 John Levon <levon@movementarian.org>
2078 * paragraph_pimpl.C: complain about bad getChar()s
2079 for a while at least
2081 2003-03-12 John Levon <levon@movementarian.org>
2084 * buffer.C: move paragraph read into a separate function,
2085 a little renaming to reflect that.
2088 * bufferparams.C: remove the author_ids map, not necessary now
2091 * factory.C: moved Buffer::readInset to here
2093 * paragraph_funcs.h:
2094 * paragraph_funcs.C: readParagraph free function moved from
2097 * tabular.C: name change
2099 2003-03-12 John Levon <levon@movementarian.org>
2102 * ParagraphParameters.C: move par params input to
2105 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2106 behave like a normal read from the stream wrt reading
2107 a line vs. a \\token
2109 2003-03-12 John Levon <levon@movementarian.org>
2112 * ParagraphParameters.h:
2113 * ParagraphParameters.C: move output code to a
2116 2003-03-12 John Levon <levon@movementarian.org>
2118 * BufferView.C (insertLyXFile):
2121 * tabular.C: use a parlist iterator for creating the
2124 2003-03-12 John Levon <levon@movementarian.org>
2126 * buffer.C: make current_change static local not
2129 2003-03-12 John Levon <levon@movementarian.org>
2131 * buffer.C: fix insertStringAsLines for change tracking
2133 2003-03-12 John Levon <levon@movementarian.org>
2140 * bufferparams.C: move author list into params. Rename some
2141 functions. Move the header reading into a separate token
2142 loop. Move the header token reading into BufferParams.
2144 2003-03-12 John Levon <levon@movementarian.org>
2146 * changes.C: put debug inside lyxerr.debugging() checks
2148 2003-03-11 André Pönitz <poenitz@gmx.net>
2150 * factory.C: make it aware of InsetHFill
2152 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2154 * buffer.C (latexParagraphs): move function from here...
2155 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2158 2003-03-10 Angus Leeming <leeming@lyx.org>
2160 * LyXAction.C (init): fix bug in poplating array with multiple entries
2161 with the same LFUN (spotted by JMarc).
2163 2003-03-10 John Levon <levon@movementarian.org>
2166 * text2.C: move getColumnNearX() near its
2169 2003-03-10 John Levon <levon@movementarian.org>
2171 * text.C: fix break before a minipage
2173 2003-03-10 John Levon <levon@movementarian.org>
2175 * text.C: fix the last commit
2177 2003-03-09 John Levon <levon@movementarian.org>
2181 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2182 bug 365 (don't break before insets unless needed). Don't
2183 return a value > last under any circumstances.
2185 2003-03-09 Angus Leeming <leeming@lyx.org>
2187 * BufferView_pimpl.C (trackChanges, dispatch): call
2188 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2190 2003-03-09 Angus Leeming <leeming@lyx.org>
2192 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2193 than Dialogs::showAboutlyx().
2195 2003-03-09 Angus Leeming <leeming@lyx.org>
2197 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2198 than Dialogs::showTabularCreate().
2200 2003-03-09 John Levon <levon@movementarian.org>
2204 * text2.C: 3rd arg to nextBreakPoint was always the same.
2207 2003-03-08 John Levon <levon@movementarian.org>
2214 * text2.C: Remove the "main" bit from the "main body"
2217 2003-03-08 John Levon <levon@movementarian.org>
2219 * text.C (leftMargin): The left margin of an empty
2220 manual label paragraph should not include the label width
2223 * text.C (prepareToPrint): don't attempt to measure hfills
2224 for empty manual label paragraphs - the answer should be 0
2226 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * CutAndPaste.C: remove commented code and reindent.
2230 2003-03-08 John Levon <levon@movementarian.org>
2233 * lyxfunc.C: move reloadBuffer()
2236 * BufferView.C: to here
2238 * lyxvc.C: add comment
2241 * vc-backend.C: call bv->reload() to avoid
2242 getStatus() check on MENURELOAD
2244 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2246 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2247 to an old format .dep file.
2249 2003-03-07 Angus Leeming <leeming@lyx.org>
2251 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2252 when the LFUN_MOUSE_RELEASE should have been handled by
2253 inset->localDispatch.
2255 2003-03-07 Angus Leeming <leeming@lyx.org>
2257 * BufferView_pimpl.C (dispatch):
2258 * LyXAction.C (init):
2259 * ToolbarDefaults.C (init):
2261 * lyxfunc.C (getStatus):
2262 remove LFUN_INSET_GRAPHICS.
2264 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2266 2003-03-07 Angus Leeming <leeming@lyx.org>
2269 * LyXAction.C (init):
2270 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2272 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2275 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2277 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2278 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2280 2003-03-07 Angus Leeming <leeming@lyx.org>
2282 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2285 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * ParagraphList.C (front): new function
2290 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2292 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2293 and top_row_offset_. removed var first_y.
2295 * text2.C (LyXText, removeRow):
2297 * BufferView_pimpl.C:
2298 use these methods instead of using first_y
2300 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2302 * text2.C (pasteSelection): adjust for checkPastePossible
2304 * CutAndPaste.C: remove Paragraph * buf and replace with
2305 ParagraphList paragraphs.
2306 (DeleteBuffer): delete
2307 (cutSelection): change the tc type to textclass_type
2308 (copySelection): change the tc type to textclass_type
2309 (copySelection): adjust for ParagraphList
2310 (pasteSelection): change the tc type to textclass_type
2311 (pasteSelection): adjust for Paragraphlist
2312 (nrOfParagraphs): simplify for ParagraphList
2313 (checkPastePossible): simplify for ParagraphList
2314 (checkPastePossible): remove unused arg
2316 * ParagraphList.C (insert): handle the case where there are no
2319 * CutAndPaste.h: make CutAndPaste a namespace.
2321 * text3.C (dispatch): adjust
2323 * text.C (breakParagraph): add a ParagraphList as arg
2325 * paragraph_funcs.C (breakParagraph): change to take a
2326 BufferParams and a ParagraphList as args.
2327 (breakParagraphConservative): ditto
2328 (mergeParagraph): ditto
2329 (TeXDeeper): add a ParagraphList arg
2330 (TeXEnvironment): ditto
2333 * buffer.C (readLyXformat2): adjust
2334 (insertStringAsLines): adjust
2335 (latexParagraphs): adjust
2337 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2338 (cutSelection): adjust
2339 (pasteSelection): adjust
2341 * BufferView_pimpl.C (insertInset): adjust
2343 2003-03-05 Angus Leeming <leeming@lyx.org>
2346 * LyXAction.C (init):
2347 * BufferView_pimpl.C (dispatch):
2348 * lyxfunc.C (getStatus):
2349 remove LFUN_CHILD_INSERT.
2351 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2353 2003-03-05 Angus Leeming <leeming@lyx.org>
2356 * LyXAction.C (init):
2357 * src/factory.C (createInset):
2358 * lyxfunc.C (getStatus):
2359 * text3.C (dispatch):
2360 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2362 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2364 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2366 * ParagraphList.C (insert): handle insert right before end()
2367 (erase): fix cases where it can be first or last paragraph.
2369 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2372 Paragraph::next and Paragraph::previous
2375 * text.C (breakParagraph): adjust
2377 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2378 BufferParams& as arg.
2379 (breakParagraph): use ParagraphList::insert
2380 (breakParagraphConservative): take a Buffer* instead of a
2381 BufferParams& as arg.
2382 (breakParagraphConservative): use ParagraphList::insert.
2384 * buffer.C (insertStringAsLines): un-const it
2385 (insertStringAsLines): adjust
2387 * ParagraphList.C (insert): new function
2389 * CutAndPaste.C (pasteSelection): adjust
2391 * text.C (backspace): adjust
2393 * tabular.C (SetMultiColumn): adjust
2395 * CutAndPaste.C (cutSelection): adjust
2396 (pasteSelection): adjust
2398 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2399 Buffer const * as arg
2401 * ParagraphList.C (erase): new function
2402 * paragraph_funcs.C (mergeParagraph): use it
2403 (mergeParagraph): make it take a Buffer* instead of a
2404 BufferParams* as arg
2406 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2408 (breakParagraphConservative): ditto
2410 * paragraph.h: remove the breakParagraph friend
2412 * paragraph.C (eraseIntern): new function
2413 (setChange): new function
2415 * paragraph_funcs.C (mergeParagraph): make it take a
2416 ParagraphList::iterator instead of a Paragraph *, adjust
2419 * paragraph.h: move an #endif so that the change tracking stuff
2420 also works in the NO_NEXT case.
2422 2003-03-04 Angus Leeming <leeming@lyx.org>
2425 * LyXAction.C: new LFUN_INSET_MODIFY.
2427 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2428 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2430 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2432 * several files: ws changes only
2434 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2435 (TeXEnvironment): ditto
2438 * buffer.C (makeLaTeXFile): adjust
2439 (latexParagraphs): make it take ParagraphList::iterator as args
2441 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * buffer.C (latexParagraphs): adjust
2445 * paragraph.C (TeXOnePar): move function...
2446 (optArgInset): move function...
2447 (TeXEnvironment): move function...
2448 * paragraph_pimpl.C (TeXDeeper): move function...
2449 * paragraph_funcs.C: ...here
2451 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2453 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * buffer.C (readInset): remove compability code for old Figure and
2458 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2460 * buffer.C: ws changes
2463 * BufferView_pimpl.C: ditto
2466 * bufferlist.h: ditto
2470 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2472 * converter.[Ch]: split into itself +
2475 * Makefile.am: += graph.[Ch] + format.[Ch]
2482 * lyxrc.C: added #include "format.h"
2484 2003-02-27 Angus Leeming <leeming@lyx.org>
2486 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2489 * factory.C (createInset): add "label" to the factory.
2491 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2492 string and do no more.
2494 2003-02-27 Angus Leeming <leeming@lyx.org>
2497 * LyXAction.C (init):
2498 * factory.C (createInset):
2499 * BufferView_pimpl.C (dispatch):
2500 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2502 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2504 * lyxfunc.C (dispatch):
2505 * text3.C (dispatch): pass name to params2string.
2507 2003-02-26 Angus Leeming <leeming@lyx.org>
2509 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2511 Rearrange the ~includes. Strip out the unnecessary ones.
2513 * factory.C (createInset): reformat.
2514 create new insets for the various LFUN_XYZ_APPLY lfuns.
2516 2003-02-26 John Levon <levon@movementarian.org>
2519 * lyxrow.C: add isParStart,isParEnd helpers
2521 * paragraph.h: make isInserted/DeletedText take refs
2523 * paragraph_funcs.h:
2524 * paragraph_funcs.C: remove #if 0'd code
2529 * text.C: use lyxrow helpers above.
2530 Move draw and paint routines to RowPainter.
2531 Make several methods use refs not pointers.
2532 Make backgroundColor() const.
2533 Add markChangeInDraw(), isInInset().
2534 Merge changeRegionCase into changeCase.
2535 Make workWidth() shouldn't-happen code into an Assert.
2538 * rowpainter.C: new class for painting a row.
2541 * vspace.C: make inPixels take a ref
2543 2003-02-26 Angus Leeming <leeming@lyx.org>
2545 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2548 2003-02-25 John Levon <levon@movementarian.org>
2550 * ispell.C: give the forked command a more accurate name
2552 2003-02-22 John Levon <levon@movementarian.org>
2555 * toc.C: make TocItem store an id not a Paragraph *
2558 2003-02-21 Angus Leeming <leeming@lyx.org>
2560 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2561 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2562 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2563 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2564 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2565 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2567 * BufferView_pimpl.C (dispatch):
2568 * LyXAction.C (init):
2569 * factory.C (createInset):
2570 * lyxfunc.C (getStatus, dispatch):
2571 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2573 2003-02-21 Angus Leeming <leeming@lyx.org>
2575 * BufferView_pimpl.C (MenuInsertLyXFile):
2576 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2577 * lyxfunc.C (menuNew, open, doImport):
2578 no longer pass a LyXView & to fileDlg.
2580 2003-02-21 Angus Leeming <leeming@lyx.org>
2582 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2583 * LyXAction.C: change, BIBKEY to BIBITEM.
2584 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2585 Change InsetBibKey to InsetBibitem.
2586 Change BIBKEY_CODE to BIBITEM_CODE.
2587 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2588 * factory.C: replace insetbib.h with insetbibitem.h.
2589 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2590 * paragraph.C: replace insetbib.h with insetbibitem.h.
2591 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2592 Change bibkey() to bibitem().
2593 * text.C: remove insetbib.h.
2594 * text2.C: replace insetbib.h with insetbibitem.h.
2595 change bibkey() to bibitem().
2596 * text3.C: remove insetbib.h.
2597 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2599 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2601 * lyxrc.C (output): enclose user email in quotes (in case there are
2604 2003-02-18 John Levon <levon@movementarian.org>
2606 * buffer.h: add std::
2608 2003-02-17 John Levon <levon@movementarian.org>
2614 * pspell.C: reworking. Especially in ispell, a large
2615 number of clean ups and bug fixes.
2617 * lyxfunc.C: fix revert to behave sensibly
2619 2003-02-17 André Pönitz <poenitz@gmx.net>
2622 * commandtags.h: new LFUN_INSERT_BIBKEY
2632 * paragraph_func.C: remove special bibkey handling
2634 2003-02-17 John Levon <levon@movementarian.org>
2636 * text.C (Delete): fix case where delete at the end of
2637 the very first paragraph would not merge the pars
2639 2003-02-17 John Levon <levon@movementarian.org>
2641 * lyxrow.C: fix lastPrintablePos()
2643 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2645 * bufferparams.C (writeLaTeX): add a std:here
2647 * buffer.C: and remove a using directive there
2649 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2651 * buffer.C (makeLaTeXFile): move the code that generates the
2654 * bufferparams.C (writeLaTeX): ... in this new method
2656 * LaTeXFeatures.C (getEncodingSet): make const
2657 (getLanguages): make const
2659 * MenuBackend.C (binding): returns the binding associated to this
2661 (add): sets the status of each item by calling getStatus. Adds
2663 (read): add support for OptSubMenu
2664 (expand): remove extra separator at the end of expanded menu
2666 2003-02-15 John Levon <levon@movementarian.org>
2669 * BufferView_pimpl.C:
2671 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2672 inset code that had no actual effect. Remove unneeded status
2675 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2677 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2680 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2682 * text.C (drawLengthMarker): also draw an arrow marker for
2683 symbolic lengths (medskip...)
2685 2003-02-14 John Levon <levon@movementarian.org>
2688 * tabular.C: better method names
2690 2003-02-14 John Levon <levon@movementarian.org>
2692 * BufferView_pimpl.C:
2697 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2698 it's a more accurate name. Remove some pointless uses.
2700 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2702 * text2.C (LyXText): change order of initilizers to shut off
2705 2003-02-14 John Levon <levon@movementarian.org>
2707 * buffer.C: use ParIterator for getParFromID()
2711 * paragraph_pimpl.h:
2712 * paragraph_pimpl.C: remove unused getParFromID()
2714 2003-02-14 John Levon <levon@movementarian.org>
2716 * buffer.C: remove some very old #if 0'd parse code
2718 2003-02-13 John Levon <levon@movementarian.org>
2722 * text2.C: move hfillExpansion(), numberOfSeparators(),
2723 rowLast(), rowLastPrintable(), numberofHfills(),
2724 numberOfLabelHfills() ...
2727 * lyxrow.C: ... to member functions here.
2732 * text.C: remove LyXText::beginningOfMainBody(), and call
2733 p->beginningOfMainBody() directly. Move the check for
2734 LABEL_MANUAL into the latter.
2741 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2747 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2748 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2750 2003-02-13 John Levon <levon@movementarian.org>
2752 * CutAndPaste.C: remove debug
2754 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2756 * paragraph.C (asString): remove two unused variables
2758 * lyxtextclass.C (readTitleType):
2760 (LyXTextClass): handle new members titletype_ and titlename_
2762 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2764 2003-02-09 John Levon <levon@movementarian.org>
2767 * buffer.C: replace hand-coded list with a map for the dep clean
2769 2003-02-08 John Levon <levon@movementarian.org>
2771 * LaTeX.C: consolidate code into showRunMessage() helper
2773 2003-02-08 John Levon <levon@movementarian.org>
2778 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2779 and pass the size in explicitly
2781 * BufferView_pimpl.h:
2782 * BufferView_pimpl.C:
2784 * BufferView.C: add getCurrentChange()
2786 * BufferView_pimpl.h:
2787 * BufferView_pimpl.C: handle change lfuns
2789 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2790 for changes. Mark pasted paragraphs as new.
2792 * support/lyxtime.h:
2793 * support/lyxtime.C:
2794 * DepTable.C: abstract time_t as lyx::time_type
2797 * LColor.C: add colours for new text, deleted text, changebars
2799 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2800 package use "usenames" option.
2804 * LyXAction.C: add change lfuns
2808 * author.C: author handling
2811 * buffer.C: add a per-buffer author list, with first entry as
2812 current author. Handle new .lyx tokens for change tracking. Output
2813 author list to .lyx file. Output dvipost stuff to .tex preamble.
2814 Bump lyx format to 222.
2817 * bufferlist.C: add setCurrentAuthor() to reset current author details
2821 * bufferparams.C: add param for tracking
2823 * bufferview_funcs.C: output change info in minibuffer
2827 * changes.C: add change-tracking structure
2830 * debug.C: add CHANGES debug flag
2833 * lyxfind.C: add code for finding the next change piece
2836 * lyxrc.C: add user_name and user_email
2839 * lyxrow.C: add a metric for the top of the text line
2842 * text.C: implement accept/rejectChange()
2845 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2846 Strike through deleted text.
2850 * paragraph_pimpl.h:
2851 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2852 to the insert functions. Rework erase to mark text as deleted, adding
2853 an eraseIntern() and a range-based erase(). Implement
2854 per-paragraph change lookup and accept/reject.
2856 * paragraph_funcs.C: Fixup paste for change tracking.
2858 * tabular.C: mark added row/columns as new.
2860 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
2861 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
2863 * text2.C: leave cursor at end of selection after a cut.
2865 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2867 * text.C (getLengthMarkerHeight):
2868 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
2869 visible on screen too.
2871 2003-02-07 John Levon <levon@movementarian.org>
2873 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
2875 2003-02-05 Angus Leeming <leeming@lyx.org>
2877 * lyxserver.C (read_ready): revert my patch of 11 September last year
2878 as it sends PC cpu through the roof. Presumably this means that
2879 the lyxserver will no longer run on an Alpha...
2881 2003-01-30 Angus Leeming <leeming@lyx.org>
2883 * factory.C (createInset): create an InsetCommandParam of type "index"
2884 and use it to 'do the right thing'.
2886 * text2.C (getStringToIndex): ensure that cursor position is always
2887 reset to the reset_cursor position.
2889 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2891 * lyxfunc.C (getStatus): "buffer-export custom" should never be
2894 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2898 * lyxfunc.C: Output messages with identical spelling, punctuation,
2901 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
2903 * MenuBackend.C (expandFormats): List only viewable export formats
2906 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
2909 * lyxfunc.C (getStatus): Make sure that formats other than
2910 "fax" can also be disabled
2912 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2914 * text3.C (dispatch): put the lfuns that insert insets in 3
2915 groups, and call doInsertInset with appropriate arguments.
2916 (doInsertInset): new function, that creates an inset and inserts
2917 it according to some boolean parameters.
2919 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2921 * buffer.C (readFile): remember to pass on 'par' when calling
2922 readFile recursively.
2924 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2926 * MenuBackend.C (expandFormats): add "..." to import formats.
2928 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
2930 * paragraph.C (asString): Remove XForms RTL hacks.
2932 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
2933 * buffer.C: fix typo
2935 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * Makefile.am (LIBS): delete var
2938 (lyx_LDADD): add @LIBS@ here instead.
2940 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
2942 * Clarify the meaning of "wheel mouse jump"
2944 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2946 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
2949 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2951 * importer.C (Loaders): do not preallocate 3 elements in the
2952 vector, since one ends up with 6 elements otherwise
2954 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2956 * DepTable.C (write): write the file name as last element of the
2957 .dep file (because it may contain spaces)
2958 (read): read info in the right order
2960 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2962 * paragraph_pimpl.C (simpleTeXBlanks):
2963 (simpleTeXSpecialChars):
2964 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
2966 * tabular.C (latex): add some missing case statements. Reindent.
2968 * MenuBackend.C (expandToc): remove unused variable.
2970 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2979 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
2982 2003-01-05 John Levon <levon@movementarian.org>
2985 * BufferView.C: add getEncoding()
2988 * kbsequence.C: do not store last keypress
2991 * lyxfunc.C: store last keypress here instead. Pass encoding
2994 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2996 * lyx_main.C (init): remove annoying error message when following
2997 symbolic links (bug #780)
2999 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3001 * text.C (insertChar):
3002 * lyxrc.C (getDescription): remove extra spaces
3004 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3006 * lyxrc.C (getDescription): remove extra spaces
3008 2002-12-20 John Levon <levon@movementarian.org>
3010 * text3.C: hack fix for page up/down across tall rows
3012 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3014 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3017 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3019 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3020 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3021 thesaurus is not compiled in
3023 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3025 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3027 2002-12-16 Angus Leeming <leeming@lyx.org>
3030 * lyx_main.C (init): remove override_x_deadkeys stuff.
3032 2002-12-12 John Levon <levon@movementarian.org>
3034 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3035 insert. Only remove shift modifier under strict
3038 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3040 * MenuBackend.C (expandToc): fix crash.
3042 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3044 * MenuBackend.C (expandToc): gettext on float names.
3046 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3048 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3049 implement bool empty() [bug 490]
3051 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3053 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3055 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * several files: ws changes
3059 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3061 * text2.C (setCounter): clean up a bit, use boost.format.
3062 (updateCounters): initialize par upon declaration.
3064 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3065 if the layout exists. We do not just store the layout any more.
3066 (SwitchLayoutsBetweenClasses): use boost.format
3068 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3070 * converter.C (convert): if from and to files are the same, use a
3071 temporary files as intermediary
3073 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3076 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3078 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3080 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3082 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3084 * tabular.C (asciiPrintCell): use string(size, char) instead of
3087 * sgml.C (openTag): fix order of arguments to string constructor
3090 * lyxfunc.C (dispatch): use boost.format
3092 * lots of files: change "c" -> 'c'
3094 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3096 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3098 2002-11-25 Angus Leeming <leeming@lyx.org>
3100 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3102 * lyx_main.C (init): compile fix.
3104 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * lyx_cb.C (start): boost.formatify
3107 do not include <iostream>
3109 * lengthcommon.C: ws only
3111 * boost-inst.C,BoostFormat.h: add more explict instantations
3113 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * lots of files: handle USE_BOOST_FORMAT
3117 2002-11-21 John Levon <levon@movementarian.org>
3119 * pspell.C: fix compile
3121 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3123 * lyxfunc.C (dispatch): use boost::format
3127 * lyxfont.C (stateText): use boost::format
3129 * lyx_main.C (LyX): use boost::format
3131 (queryUserLyXDir): ditto
3134 (typedef boost::function): use the recommened syntax.
3136 * importer.C (Import): use boost::format
3138 * debug.C (showLevel): use boost::format
3140 * converter.C (view): use boost::format
3145 * bufferview_funcs.C (currentState): use boost::format
3147 * bufferlist.C (emergencyWrite): use boost::format
3149 * buffer.C (readLyXformat2): use boost::format
3150 (parseSingleLyXformat2Token): ditto
3152 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3154 * LaTeX.C (run): use boost::format
3156 * Chktex.C (scanLogFile): use boost::format
3158 * BufferView_pimpl.C (savePosition): use boost::format
3159 (restorePosition): ditto
3160 (MenuInsertLyXFile): ditto
3162 * BoostFormat.h: help file for explicit instation.
3164 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3166 * tabular.C (latex): Support for block alignment in fixed width
3169 2002-11-17 John Levon <levon@movementarian.org>
3171 * BufferView_pimpl.C:
3173 * lyxfunc.C: split filedialog into open/save
3175 2002-11-08 Juergen Vigna <jug@sad.it>
3177 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3178 by my last patch (hopefully).
3180 2002-11-08 John Levon <levon@movementarian.org>
3189 * toc.C: ParConstIterator, and use it (from Lars)
3191 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3193 * lyxtextclass.[Ch]: revise and add doxygen comments
3195 2002-11-07 John Levon <levon@movementarian.org>
3197 * text.C: fix progress value for spellchecker
3199 * toc.C: fix navigate menu for insetwrap inside minipage
3201 * paragraph_funcs.C: added FIXME for suspect code
3203 2002-11-07 John Levon <levon@movementarian.org>
3205 * BufferView_pimpl.C: fix redrawing of insets
3208 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3210 * text2.C (updateCounters): fix bug 668
3212 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3214 * text3.C (dispatch): Do not make the buffer dirty when moving the
3217 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * vc-backend.C: STRCONV
3222 * text2.C (setCounter): STRCONV
3224 * paragraph.C (asString): STRCONV
3226 * lyxlength.C (asString): STRCONV
3227 (asLatexString): ditto
3229 * lyxgluelength.C (asString): STRCONV
3230 (asLatexString): ditto
3232 * lyxfunc.C (dispatch): STRCONV
3235 * lyxfont.C (stateText): STRCONV
3237 * importer.C (Import): STRCONV
3239 * counters.C (labelItem): STRCONV
3240 (numberLabel): ditto
3241 (numberLabel): remove unused ostringstream o
3246 * bufferview_funcs.C (currentState): STRCONV
3248 * buffer.C (readFile): STRCONV
3249 (asciiParagraph): ditto
3250 (makeLaTeXFile): ditto
3252 * Spacing.C (writeEnvirBegin): STRCONV
3254 * LaTeXFeatures.C (getLanguages): STRCONV
3255 (getPackages): ditto
3257 (getBabelOptions): ditto
3258 (getTClassPreamble): ditto
3259 (getLyXSGMLEntities): ditto
3260 (getIncludedFiles): ditto
3264 (scanAuxFile): ditto
3267 * LString.h: add the STRCONV macros
3269 * BufferView_pimpl.C (savePosition): STRCONV
3270 (restorePosition): ditto
3271 (MenuInsertLyXFile): ditto
3273 * vc-backend.C (scanMaster): change from submatch[...] to
3276 * funcrequest.C: include config.h
3278 * factory.C: include config.h
3280 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3282 * box.C: include config.h
3284 * LaTeX.C (scanAuxFile): change from submatch[...] to
3288 2002-10-25 Angus Leeming <leeming@lyx.org>
3290 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3292 * ispell.[Ch] (setError): new method.
3293 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3294 Use setError() insetead of goto END.
3296 * lyx_cb.C (AutoSave): move out child process into new class
3299 2002-10-30 John Levon <levon@movementarian.org>
3301 * text3.C: make start appendix undoable
3303 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3305 * lyxlength.C (inPixels): Fix returned value.
3307 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3310 2002-10-24 Angus Leeming <leeming@lyx.org>
3312 * lyxgluelength.h: no need to forward declare BufferParams
3313 or BufferView, so don't.
3315 2002-10-21 John Levon <levon@movementarian.org>
3317 * BufferView.C: menuUndo ->undo, redo
3319 * BufferView.h: document, remove dead, make some methods private
3321 * paragraph_funcs.h:
3322 * paragraph_funcs.C:
3323 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3328 * sgml.C: move sgml open/close tag into sgml.C
3330 * bufferview_funcs.h: unused prototype
3333 * lyxfunc.C: remove unused
3336 * text.C: remove unused
3338 2002-10-21 John Levon <levon@movementarian.org>
3342 * BufferView_pimpl.h:
3343 * BufferView_pimpl.C: fix mouse wheel handling based on
3344 patch from Darren Freeman
3346 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3348 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3350 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3352 * lyxlength.C (inPixels): Fix hanfling of negative length.
3353 Fix LyXLength::MU case.
3355 2002-10-16 John Levon <levon@movementarian.org>
3357 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3359 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3361 * converter.C (view): add support for $$i (file name) and $$p
3362 (file path) for the viewer command. If $$i is not specified, then
3363 it is appended to the command (for compatibility with old syntax)
3365 2002-10-14 Juergen Vigna <jug@sad.it>
3367 * undo_funcs.C (textHandleUndo): alter the order in which the
3368 new undopar is added to the LyXText, as we have to set first
3369 the right prev/next and then add it as otherwise the rebuild of
3370 LyXText is not correct. Also reset the cursor to the right paragraph,
3371 with this IMO we could remove the hack in "redoParagraphs()".
3373 2002-10-09 Angus Leeming <leeming@lyx.org>
3375 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3376 to turn off an optimisation if a new inset is to be inserted.
3378 2002-10-11 André Pönitz <poenitz@gmx.net>
3380 * lyxtext.h: make some functions public to allow access
3381 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3383 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3385 * text3.C (dispatch): when changing layout, avoid an infinite loop
3388 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3390 * lyxrc.C (read): treat a viewer or converter command of "none" as
3393 * MenuBackend.C (expandFormats): for an update, also allow the
3394 formats that are not viewable
3396 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3397 script if it is newer than the lyxrc.defaults in user directory
3399 2002-10-07 André Pönitz <poenitz@gmx.net>
3401 * text.C: Vitaly Lipatov's small i18n fix
3403 2002-09-25 Angus Leeming <leeming@lyx.org>
3405 * ispell.h: doxygen fix.
3407 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3409 * buffer.h (readFile): Add a new argument to the method, to allow
3410 reading of old-format templates.
3412 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3414 * toc.C (getTocList): Get TOC from InsetWrap.
3416 2002-09-16 John Levon <levon@movementarian.org>
3418 * lyxfunc.C: check tabular for cut/copy too
3420 2002-09-12 John Levon <levon@movementarian.org>
3425 * factory.C: add header
3427 * paragraph_funcs.h:
3428 * paragraph_funcs.C: cleanup
3430 2002-09-11 John Levon <levon@movementarian.org>
3432 * PrinterParams.h: odd/even default to true
3434 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3436 * PrinterParams.h: update printer parameters for new xforms dialog
3438 2002-09-11 Angus Leeming <leeming@lyx.org>
3440 * lyxserver.C (read_ready): re-write to make it more transparent
3441 and to make it work in coherent fashion under Tru64 Unix.
3443 2002-09-11 André Pönitz <poenitz@gmx.net>
3447 * text3.C: implement LFUN_WORDSEL
3449 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3452 make floatlist_ a boost::shared_ptr<FloatList>
3454 * lyxtextclass.C: include FloatList.h
3455 (LyXTextClass): initialize floatlist_
3456 (TextClassTags): add TC_NOFLOAT
3457 (Read): match "nofloat" to TC_NOFLOAT and use it.
3458 (readFloat): modify call to floatlist_
3462 * FloatList.[Ch] (FloatList): remove commented out float
3464 (erase): new function
3466 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3468 * MenuBackend.C (expandToc): fix crash when there is no document
3471 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3473 * many files: Add insetwrap.
3475 2002-09-09 John Levon <levon@movementarian.org>
3477 * text2.C: remove confusing and awkward depth wraparound
3479 2002-09-09 John Levon <levon@movementarian.org>
3481 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3484 * buffer.C: remove getIncludeonlyList()
3487 * lyxfunc.C: remove headers
3489 2002-09-09 Juergen Vigna <jug@sad.it>
3491 * text.C (getColumnNearX): fix form Michael this is most
3492 probably a cut&paste bug.
3494 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3496 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3498 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3499 references, ws changes.
3501 * text2.C (init): update counters after init
3502 (insertParagraph): no need to set counter on idividual paragraphs.
3503 (setCounter): access the counters object in the textclass object
3504 on in the buffer object.
3505 (updateCounters): ditto
3507 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3508 shared_ptr<Counters> to avoid loading counters.h in all
3510 (LyXTextClass): initialize ctrs_
3511 (TextClassTags): add TC_COUNTER, and ...
3512 (Read): use it here.
3513 (CounterTags): new tags
3514 (readCounter): new function
3515 (counters): new funtion
3516 (defaultLayoutName): return a const reference
3518 * counters.C (Counters): remove contructor
3519 (newCounter): remove a couple of unneeded statements.
3520 (newCounter): simplify a bit.
3521 (numberLabel): some small formatting changes.
3523 * buffer.[Ch]: remove all traces of counters, move the Counters
3524 object to the LyXTextClass.
3526 2002-09-06 Alain Castera <castera@in2p3.fr>
3528 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3529 package to set the horizontal alignment on fixed width columns.
3532 * lyx_sty.h: added tabularnewline macro def.
3534 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3536 2002-09-06 John Levon <levon@movementarian.org>
3538 * LyXAction.C: tooltips for sub/superscript
3540 * MenuBackend.C: a bit more verbose
3542 * lyxfunc.C: tiny clean
3544 * undo_funcs.C: document undo_frozen
3546 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * counters.C (Counters): add missing algorithm counter.
3550 * text2.C (setCounter): lookup the counter with layouts latexname
3551 instead of by section number.
3552 (setCounter): use a hackish way to lookup the correct enum
3554 a float name->type change
3555 reset enum couners with counter name directly instead of depth value.
3557 * counters.C (Counters): remove the push_backs, change to use the
3558 float type not the float name.
3559 (labelItem): remove unused string, float name->type change
3561 * counters.h: don't include vector, loose the enums and sects vectors
3563 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3566 (Read): add float->TC_FLOAT to textclassTags
3567 (Read): and handle it in the switch
3568 (readFloat): new function
3570 * FloatList.C (FloatList): comment out the hardcoded float
3573 * lyxlayout.h: ws change.
3575 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3577 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3579 2002-09-03 Angus Leeming <leeming@lyx.org>
3581 * BufferView_pimpl.h: qualified name is not allowed in member
3582 declaration: WorkArea & Pimpl::workarea() const;
3584 * factory.C: added using std::endl directive.
3586 * text3.C: added using std::find and std::vector directives.
3588 2002-08-29 André Pönitz <poenitz@gmx.net>
3591 * text2.C: remove unused member number_of_rows
3594 * BufferView2.C: remove file, move contents to...
3595 * BufferView.C: ... here
3597 * BufferView_pimpl.C:
3598 * factory.C: move more inset creation to factory
3600 * vspace.C: avoid direct usage of LyXText, ws changes
3603 don't provide direct access to WorkArea, use two simple
3604 acessors haveSelction() and workHeight() instead
3607 2002-08-29 John Levon <levon@movementarian.org>
3609 * BufferView_pimpl.C (dispatch): do not continue when
3612 2002-08-28 André Pönitz <poenitz@gmx.net>
3614 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3617 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3619 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3621 * buffer.C: increment LYX_FORMAT to 221
3623 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3624 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3626 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3628 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3630 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3632 * factory.C (createInset): use LyXTextClass::floats
3634 * MenuBackend.C (expandFloatListInsert):
3635 (expandFloatInsert):
3638 * text2.C (setCounter):
3640 * LaTeXFeatures.C (useFloat):
3641 (getFloatDefinitions):
3643 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3645 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3646 floatlist_, with accessor floats().
3648 * FloatList.h: remove global FloatList
3650 2002-08-26 André Pönitz <poenitz@gmx.net>
3652 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3656 * BufferView_pimpl.C:
3657 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3659 2002-08-25 John Levon <levon@movementarian.org>
3661 * LyXAction.C: fix margin note description
3663 2002-08-24 John Levon <levon@movementarian.org>
3667 * bufferview_funcs.C:
3669 * undo_funcs.C: cleanups
3671 * lyxfunc.C: disable CUT/COPY when no selection
3673 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3675 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3676 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3678 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3679 Add backward compatibility to "mono", "gray" and "no".
3681 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3683 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3684 (and file_format >= 200).
3686 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3688 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3690 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3692 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3694 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3696 * BufferView_pimpl.C:
3703 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3704 inset and code to make it work with the paragraph code. The inset
3705 can be anywhere in the paragraph, but will only do the expected
3706 thing in LaTeX if the layout file contains the parameter line
3708 (or more generally, a nonzero value) for that layout.
3710 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3712 * paragraph.h: remove the declaration of undefined counters class
3715 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3717 * text2.C (setCounter): fixed enumeration mis-count as reported by
3718 Dr. Richard Hawkins.
3720 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3722 * paragraph_funcs.h: remove some unneeded includes
3724 * text.C (backspace): pasteParagraph now in global scipe
3726 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3727 (pasteSelection): ditto
3729 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3730 * paragraph_funcs.C (pasteParagraph): ... here
3732 2002-08-20 André Pönitz <poenitz@gmx.net>
3734 * commandtags.h: new LFUNs for swapping/copying table row/colums
3737 * lyxfunc.C: support for new lfuns
3739 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3742 * buffer.[Ch]: remove NO_COMPABILITY stuff
3744 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3746 * boost.C (throw_exception): new file, with helper function for
3747 boost compiled without exceptions.
3752 * ParameterStruct.h:
3753 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3755 * bufferlist.C (emergencyWriteAll): use boost bind
3757 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3759 * text.C: include paragraph_funcs.h
3760 (breakParagraph): breakParagraph is now in global scope
3762 * paragraph_funcs.[Ch]: new files
3764 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3767 * buffer.C: include paragraph_funcs.h
3768 (insertStringAsLines): breakParagraph is now in global scope
3770 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3773 * CutAndPaste.C: include paragraph_funcs.h
3774 (cutSelection): breakParagraphConservative is now in global scope
3775 (pasteSelection): ditto
3777 * buffer.h: declare oprator== and operator!= for
3778 Buffer::inset_iterator
3780 * bufferlist.C (emergencyWrite): don't use fmt(...)
3782 * text3.C: add using std::endl
3784 * BufferView.C (moveCursorUpdate): remove default arg
3786 2002-08-20 André Pönitz <poenitz@gmx.net>
3788 * buffer.[Ch]: move inline functions to .C
3791 * BufferView_pimpl.C:
3793 * buffer.[Ch]: use improved inset_iterator
3796 * paragraph.[Ch]: write one paragraph at a time
3798 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3800 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3801 style if style is not specified.
3803 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3805 * text2.C (setCounter): when searching for right label for a
3806 caption, make sure to recurse to parent insets (so that a caption
3807 in a minipage in a figure float works) (bug #568)
3809 2002-08-20 André Pönitz <poenitz@gmx.net>
3811 * text3.C: new file for LyXText::dispatch() and helpers
3813 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3815 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3817 2002-08-19 André Pönitz <poenitz@gmx.net>
3820 * text.C: new LyXText::dispatch()
3822 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3824 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3826 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3828 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3831 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3833 * Makefile.am: use $(variables) instead of @substitutions@
3835 2002-08-15 André Pönitz <poenitz@gmx.net>
3838 * BufferView_pimpl.C: streamlining mathed <-> outer world
3842 * LyXAction.C: remove unused LFUN_MATH
3844 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3846 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3848 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3850 * paragraph.C (Paragraph): reformat a bit
3851 (cutIntoMinibuffer): use builtin InsetList function instad of
3855 * buffer.C: include boost/bind.hpp, add using std::for_each
3856 (writeFileAscii): use ParagraphList iterators
3857 (validate): use for_each for validate traversal of paragraphs
3858 (getBibkeyList): use ParagraphList iterators
3859 (resizeInsets): use for_each to resizeInsetsLyXText for all
3861 (getParFromID): use ParagraphList iterators
3863 * BufferView2.C (lockInset): use paragraph list and iterators
3865 2002-08-14 John Levon <levon@movementarian.org>
3867 * lyxserver.C: remove spurious xforms include
3869 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3871 * lyxfunc.C (getStatus): disable math-extern outside of math mode
3873 2002-08-13 André Pönitz <poenitz@gmx.net>
3876 * lyxfunc.C: further cleaning
3878 2002-08-13 André Pönitz <poenitz@gmx.net>
3880 * funcrequest.h: new constructor
3882 * funcrequest.C: move stuff here from .h
3885 * BufferView_pimpl.C:
3888 * lyxfunc.C: subsequent changes
3890 * lyxfunc.h: new view() member function
3892 * lyxfunc.C: subsequent changes
3894 2002-08-13 Angus Leeming <leeming@lyx.org>
3897 * BufferView_pimpl.C:
3905 changes due to the changed LyXView interface that now returns references
3906 to member variables not pointers.
3908 2002-08-13 Angus Leeming <leeming@lyx.org>
3910 * WordLangTuple (word, lang_code): return references to strings,
3915 * lyxtext.h: forward-declare WordLangTuple.
3920 * text.C: #include "WordLangTuple.h".
3923 * text.C: (selectNextWordToSpellcheck): constify return type.
3925 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
3931 * paragraph_pimpl.h:
3934 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
3936 Made updateCounter always count from start of buffer, and removed
3937 second argument (par).
3938 Reverted floats number display to '#'. Perhaps I'll try again when the
3939 code base is sanitized a bit.
3941 2002-08-12 Angus Leeming <leeming@lyx.org>
3943 * buffer.[Ch] (getLabelList): constify.
3945 2002-08-07 André Pönitz <poenitz@gmx.net>
3947 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
3949 * funcrequest.h: extension to keep mouse (x,y) position
3951 2002-08-12 Juergen Vigna <jug@sad.it>
3953 * BufferView2.C (insertErrors): forbid undo when inserting error
3956 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
3958 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3960 * ParagraphList.[Ch]: new files
3962 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
3964 * BufferView2.C (lockInset): ParagraphList changes
3967 * bufferlist.C: ditto
3971 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3973 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
3974 unused class variable counter_,
3976 * paragraph.[Ch] (getFirstCounter): delete unused function
3978 * counters.C: include LAssert.h
3979 (reset): add a new function with no arg, change other version to
3980 not have def. arg and to not allow empty arg.
3982 * text2.C (setCounter): remove empty arg from call to Counters::reset
3984 2002-08-11 John Levon <levon@movementarian.org>
3986 * Makefile.am: add WordLangTuple.h
3988 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
3991 lyxfunc.C lyxlex_pimpl.C: ws changes only.
3993 * insets/insettext.C: InsetList changes
3995 * graphics/GraphicsSupport.C (operator()): InsetList changes
3997 * toc.C (getTocList): InsetList changes
3999 * paragraph_pimpl.[Ch]: InsetList changes
4001 * paragraph.[Ch]: InsetList changes
4003 * buffer.C (inset_iterator): InsetList changes
4004 (setParagraph): ditto
4005 * buffer.h (inset_iterator): ditto
4006 * iterators.C (operator++): ditto
4007 * iterators.h: ditto
4009 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4011 * InsetList.[Ch]: new files, most InsetList handling moved out of
4014 * BufferView2.C (removeAutoInsets): InsetList changes
4016 (ChangeInsets): ditto
4018 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4020 * paragraph_pimpl.h (empty): new function
4022 * paragraph.[Ch] (empty): new function
4024 * other files: use the new Paragraph::empty function
4026 2002-08-09 John Levon <levon@movementarian.org>
4028 * lyxtext.h: remove unused refresh_height
4030 2002-08-09 John Levon <levon@movementarian.org>
4037 * paragraph.C: move sgml char escaping out of paragraph
4040 * paragraph.C: remove id setter
4044 * paragraph_pimpl.C: remove dead tex_code_break_column
4046 * bufferview_funcs.C: small cleanup
4048 * lyxfunc.C: remove dead proto
4050 * lyxtext.h: make some stuff private. Remove some dead stuff.
4052 * lyxgluelength.C: make as[LyX]String() readable
4054 2002-08-08 John Levon <levon@movementarian.org>
4059 * ToolbarDefaults.C:
4062 * toc.C: lyxaction cleanup
4064 2002-08-08 John Levon <levon@movementarian.org>
4066 * BufferView2.C: small cleanup
4069 * lyxfind.C: move unnecessary header into the .C
4071 2002-08-08 John Levon <levon@movementarian.org>
4073 * funcrequest.h: just tedious nonsense
4076 * lyx_main.C: cleanups
4079 * vspace.C: remove dead header lyx_main.h
4081 2002-08-07 Angus Leeming <leeming@lyx.org>
4084 * paragraph_pimpl.h:
4085 Forward declare class Counters in paragraph.h by moving the ctrs member
4086 variable into Paragraph::Pimpl.
4087 (counters): new method, returning a reference to pimpl_->ctrs.
4089 * text2.C: ensuing changes.
4091 2002-08-07 John Levon <levon@movementarian.org>
4093 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4095 * BufferView_pimpl.C: announce X selection on double/triple
4098 * lyx_main.C: use correct bool in batch dispatch
4100 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4102 2002-08-07 André Pönitz <poenitz@gmx.net>
4104 * funcrequest.h: new class to wrap a kb_action and its argument
4107 * BufferView_pimpl[Ch]:
4111 * lyxrc.C: subsequent changes
4114 2002-08-07 John Levon <levon@movementarian.org>
4116 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4117 document options change.
4119 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4124 * makefile.am: move counters functionality over from
4125 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4127 2002-08-06 John Levon <levon@movementarian.org>
4129 * WordLangTuple.h: new file for word + language code tuple
4140 * BufferView2.C: use WordLangTuple
4143 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4145 2002-08-06 John Levon <levon@movementarian.org>
4147 * lyx_main.C: fix cmdline batch handling
4149 2002-08-06 André Pönitz <poenitz@gmx.net>
4151 * lyxrc.C: set default for show_banner to true
4153 2002-08-06 John Levon <levon@movementarian.org>
4155 * pspell.C: fix a crash, and allow new aspell to work
4157 2002-08-06 John Levon <levon@movementarian.org>
4160 * kbmap.C: small cleanup
4163 * vspace.C: add const
4165 2002-08-05 John Levon <levon@movementarian.org>
4167 * LyXAction.C: back to tabular-insert
4169 2002-08-04 John Levon <levon@movementarian.org>
4172 * BufferView.C: cosmetic change
4174 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4184 * BufferView2.C: purge all "Lyx" not "LyX" strings
4187 * lyxcursor.C: attempt to add some documentation
4192 * ToolbarDefaults.C:
4193 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4194 merge with LFUN_TABULAR_INSERT
4201 * pspell.C: split up i/pspell implementations into separate
4202 files, many cleanups
4204 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4206 * text2.C: some cleanup
4208 * lyxfunc.C: don't check for isp_command == "none" any more, it
4209 didn't make any sense
4211 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4216 * makefile.am: move counters functionality over
4217 from text2.C/paragraph.[Ch] to counters.[Ch], and
4219 2002-08-02 John Levon <levon@movementarian.org>
4221 * buffer.C: s/lyxconvert/lyx2lyx/
4223 2002-08-02 Angus Leeming <leeming@lyx.org>
4225 * lyxlex.C: revert John's change as it breaks reading of the user
4228 2002-08-02 Angus Leeming <leeming@lyx.org>
4230 * importer.C (Import):
4231 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4232 changes due to LyXView::view() now returning a boost::shared_ptr.
4234 2002-08-02 John Levon <levon@movementarian.org>
4236 * lyxlex.C: small cleanup
4238 2002-08-02 John Levon <levon@movementarian.org>
4240 * text2.C (status): small cleanup, no logic change
4242 2002-08-01 John Levon <levon@movementarian.org>
4245 * buffer.C (writeFile): don't output alerts, caller
4249 * lyx_cb.C: from above
4251 * lyxfunc.C: allow to open non-existent files
4253 2002-07-31 John Levon <levon@movementarian.org>
4255 * lyxserver.C: don't let incidental errors get
4258 2002-07-30 John Levon <levon@movementarian.org>
4260 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4262 2002-07-30 John Levon <levon@movementarian.org>
4265 * lyxserver.C: remove I/O callback too
4267 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4269 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4272 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * many files: strip,frontStrip -> trim,ltrim,rtrim
4276 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4278 * PrinterParams.h: remove extern containsOnly, and include
4279 support/lstrings.h instead.
4281 * LaTeX.C (scanAuxFile): modify because of strip changes
4283 * buffer.C (makeLaTeXFile): ditto
4284 * bufferparams.C (writeFile): ditt
4285 * lyxfont.C (stateText): ditto
4286 * lyxserver.C (read_ready): ditto
4287 * vc-backend.C (scanMaster): ditto
4289 * BufferView_pimpl.h: ws changes
4291 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4293 2002-07-26 André Pönitz <poenitz@gmx.net>
4295 * kb_sequence.C: remove unnedred usings
4297 2002-07-26 Juergen Vigna <jug@sad.it>
4299 * lyxfind.C (LyXReplace): we have to check better if the returned
4300 text is not of theLockingInset()->getLockingInset().
4302 2002-07-25 Juergen Vigna <jug@sad.it>
4304 * lyxfind.C (LyXReplace): don't replace if we don't get the
4307 * undo_funcs.C (createUndo): remove debugging code.
4309 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4311 * buffer.C (parseSingleLyXformat2Token): Use default placement
4312 when reading old floats.
4314 * FloatList.C (FloatList): Change the default placement of figure
4315 and tables to "tbp".
4317 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4319 * MenuBackend.C: using std::max
4321 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4323 * MenuBackend.C (expandToc):
4324 (expandToc2): code moved from xforms menu frontend. It is now
4325 generic and TOCs are transparent to menu frontends.
4327 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4329 * toc.C (getTocList): protect against buf=0
4331 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4332 Menu as first parameter. Now, this calls itself recursively to
4333 expand a whole tree (this will be useful for TOC handling)
4334 (expandFloatInsert): remove 'wide' version of floats
4336 * MenuBackend.h (submenuname): returns the name of the submenu.
4337 (submenu): returns the submenu itself, provided it has been
4338 created by MenuBackend::expand
4340 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4342 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4343 insets which have noFontChange == true. (bug #172)
4345 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4347 * BufferView_pimpl.C: add connection objects and use them...
4350 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4352 * MenuBackend.C (expandLastfiles):
4355 (expandFloatListInsert):
4356 (expandFloatInsert):
4357 (expand): split expand in parts
4359 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4361 * lyx_gui.C: use lyx_gui::exit()
4363 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4365 * LyXAction.C: show the failing pseudo action
4367 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4369 * buffer.C (readFile): Run the lyxconvert script in order to read
4372 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4376 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4378 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4382 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4384 2002-07-22 Herbert Voss <voss@lyx.org>
4387 * lyxlength.[Ch]: add support for the vertical lengths
4389 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4391 * toc.[Ch]: std:: fixes
4393 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4395 * lyxrc.C: do not include lyx_main.h
4397 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4403 * BufferView2.C: include "lyxlex.h"
4406 * bufferparams.h: do not #include "lyxlex.h"
4408 * lyxtextclasslist.C (Add): remove method
4409 (classlist): renamed to classlist_
4411 * paragraph_pimpl.C:
4415 * bufferview_funcs.C:
4420 * toc.C (getTocList): use BufferParams::getLyXTextClass
4422 * toc.C (getTocList): use InsetFloat::addToToc
4424 * toc.[Ch]: new files, containing helper functions to handle table
4427 * lyxfunc.C (dispatch): no need to remove spaces around command
4429 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4430 first command of the sequence; it is not very clever, but I do not
4431 have a better idea, actually
4433 * LyXAction.C (LookupFunc): make sure to remove space at the
4434 beginning and end of the command
4436 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4438 * MenuBackend.C (getMenubar): new method: return the menubar of
4440 (read): treat differently reading of menu and menubar (in
4441 particular, the menubar has no name now)
4442 (Menu::menubar): remove
4444 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4447 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4449 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4450 a bibitem inset in a RTL paragraph.
4452 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4454 * paragraph_pimpl.C: constify
4456 * BufferView_pimpl.C:
4458 * lyxfunc.C: fix dispatch in a nicer way
4460 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4462 * lyxfunc.C (dispatch):
4463 * BufferView_pimpl.C:
4464 * BufferView_pimpl.h:
4466 * BufferView.h: rename Dispatch() to dispatch()
4468 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4470 * lyxlayout.C (Read): honor DependsOn tag
4472 * lyxlayout.[Ch] (depends_on): new method
4474 * version.C.in: update lyx_docversion
4476 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4478 * paragraph.C (validate): remove from here...
4479 * paragraph_pimpl.C (validate): ... and move here
4480 (isTextAt): make it const
4482 * buffer.C (getLists): ws cleanup
4484 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4486 * language.C (read): Use iso8859-1 encoding in latex_lang
4487 (this prevents LyX from crashing when using iso10646-1 encoding).
4489 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4491 * text2.C (toggleInset): if cursor is inside an inset, close the
4492 inset and leave cursor _after_ it
4494 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4496 * lyxfunc.C: move minibuffer completion handling out of here
4498 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4500 * BufferView_pimpl.C:
4501 * LaTeX.C: fix dispatch calls
4503 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4505 * text.C (drawChars): Fix Arabic text rendering.
4507 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4511 * lyxfunc.C: remove message-push/pop
4515 * lyxfunc.C: rationalise some code by removing verboseDispatch
4516 in favour of a bool argument to dispatch()
4518 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4520 * lyx_main.C (init): make sure to read symlinks as absolute paths
4522 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4525 * lyxfunc.C: no need for commandshortcut to be a member
4527 2002-07-15 André Pönitz <poenitz@gmx.net>
4529 * converter.C: add support for $$s (scripts from lib/scripts dir)
4530 * lyx_main.C: white space
4532 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4536 * lyxrc.C: remove second exit confirmation
4538 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4543 * BufferView_pimpl.h:
4544 * BufferView_pimpl.C:
4545 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4547 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4549 * MenuBackend.C (expand): add numeric shortcuts to document menu
4551 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4553 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4555 * lyxfont.C (setLyXFamily):
4562 * buffer.C (asciiParagraph): use ascii_lowercase
4564 2002-07-15 Mike Fabian <mfabian@suse.de>
4566 * lyxlex_pimpl.C (search_kw):
4567 * lyxlex.C (getLongString):
4568 * converter.h (operator<):
4569 * converter.C (operator<):
4570 * buffer.C (parseSingleLyXformat2Token):
4572 * ToolbarDefaults.C (read):
4573 * MenuBackend.C (checkShortcuts):
4575 * LColor.C (getFromGUIName):
4576 (getFromLyXName): use the compare_ascii_no_case instead of
4577 compare_no_case, because in turkish, 'i' is not the lowercase
4578 version of 'I', and thus turkish locale breaks parsing of tags.
4580 2002-07-16 Angus Leeming <leeming@lyx.org>
4582 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4583 now takes a Buffer const & argument.
4585 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4587 * BufferView.C (resize): check there's a buffer to resize
4589 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4591 * lyxfunc.C: remove dead code
4594 * lyxserver.C: use lyx_guii::set_read_callback
4596 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4598 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4599 an inset in a RTL paragraph.
4601 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4603 * lyxfunc.C: repaint after a font size update
4605 2002-07-15 André Pönitz <poenitz@gmx.net>
4607 * lyxlength.C: inBP should be able to return negative values
4609 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4611 * lyxfunc.C: use lyx_gui::update_fonts()
4613 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4615 * lyxfunc.C: use lyx_gui::update_color()
4617 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4623 * lyxrc.C: remove file->new asks for name option, and let
4624 buffer-new take an argument
4626 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4628 * BufferView_pimpl.C: remove unneeded extra repaint()
4630 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4632 * LyXAction.C: allow command-sequence with NoBuffer
4634 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4636 2002-07-10 Angus Leeming <leeming@lyx.org>
4638 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4640 2002-07-09 Angus Leeming <leeming@lyx.org>
4642 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4644 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4646 * lengthcommon.h: whitespace
4648 * lyxfunc.C: update scrollbar after goto paragraph
4650 * lyxtext.h: factor out page break drawing, and fix it so
4651 page break/added space paints as selected nicely
4653 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4655 * BufferView_pimpl.C: add FIXMEs, clean up a little
4657 2002-07-09 André Pönitz <poenitz@gmx.net>
4659 * lyxfont.[Ch]: support for wasy symbols
4661 2002-07-08 André Pönitz <poenitz@gmx.net>
4663 * BufferView_pimpl.C: apply John's patch for #93.
4665 2002-07-05 Angus Leeming <leeming@lyx.org>
4667 * BufferView_pimpl.C (buffer): generate previews if desired.
4669 * LColor.h: add "preview" to the color enum.
4671 * LColor.C (LColor): add a corresponding entry to the items array.
4673 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4676 2002-07-05 Angus Leeming <leeming@lyx.org>
4678 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4679 The body of the code is now in the method that is passed an ostream &
4680 rather than a file name.
4681 Pass an additional only_preamble parameter, useful for the forthcoming
4684 2002-07-03 André Pönitz <poenitz@gmx.net>
4686 * lyxfunc.C: simplify getStatus() a bit for math stuff
4688 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4690 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4692 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4694 * text.C (changeRegionCase): do not change case of all the
4695 document when region ends at paragraph end (bug #461)
4697 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4699 * paragraph.C (startTeXParParams):
4700 (endTeXParParams): add \protect when necessary
4702 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4704 * BufferView_pimpl.C (workAreaExpose): remove warning
4706 2002-06-27 Angus Leeming <leeming@lyx.org>
4708 * Makefile.am: add lyxlayout_ptr_fwd.h.
4710 2002-06-26 André Pönitz <poenitz@gmx.net>
4712 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4714 2002-06-25 Angus Leeming <leeming@lyx.org>
4716 * lyxfunc.C (dispatch): Comment out the call to
4717 grfx::GCache::changeDisplay. The method no longer exists now that the
4718 pixmap generation part of the graphics loader has been moved into
4721 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4723 * text2.C: layout as layout
4725 * text.C: layout as layout
4727 * tabular.C (OldFormatRead): layout as layout
4729 * paragraph_pimpl.C (TeXDeeper): layout as layout
4730 (realizeFont): layout as layout
4732 * paragraph.C (writeFile): layout as layout
4733 (validate): layout as layout
4734 (getFont): layout as layout
4735 (getLabelFont): layout as layout
4736 (getLayoutFont): layout as layout
4737 (breakParagraph): layout as layout
4738 (stripLeadingSpaces): layout as layout
4739 (getEndLabel): layout as layout
4740 (getMaxDepthAfter): layout as layout
4741 (applyLayout): layout as layout
4742 (TeXOnePar): layout as layout
4743 (simpleTeXOnePar): layout as layout
4744 (TeXEnvironment): layout as layout
4745 (layout): layout as layout
4746 (layout): layout as layout
4748 * lyxtextclass.C (compare_name): new functor to work with
4749 shared_ptr, layout as layout
4750 (Read): layout as layout
4751 (hasLayout): layout as layout
4752 (operator): layout as layout
4753 (delete_layout): layout as layout
4754 (defaultLayout): layout as layout
4756 * lyxlayout_ptr_fwd.h: new file
4758 * lyxlayout.C (Read): layout as layout
4760 * lyx_cb.C (MenuInsertLabel): layout as layout
4762 * bufferlist.C (newFile): layout as layout
4764 * buffer.C (readLyXformat2): layout as layout
4765 (parseSingleLyXformat2Token): layout as layout
4766 (insertStringAsLines): layout as layout
4767 (asciiParagraph): layout as layout
4768 (latexParagraphs): layout as layout
4769 (makeLinuxDocFile): layout as layout
4770 (simpleLinuxDocOnePar): layout as layout
4771 (makeDocBookFile): layout as layout
4772 (simpleDocBookOnePar): layout as layout
4773 (getLists): layout as layout
4775 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4777 * CutAndPaste.C (cutSelection): layout as layout
4778 (pasteSelection): layout as layout
4779 (SwitchLayoutsBetweenClasses): layout as layout
4781 * BufferView_pimpl.C (Dispatch): layout as layout
4782 (smartQuote): layout as layout
4784 * BufferView2.C (unlockInset): layout as layout
4786 2002-06-24 André Pönitz <poenitz@gmx.net>
4788 * lyxfunc.C: fix #487
4790 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4794 * lyxfunc.C: remove display_shortcuts, show_banner
4796 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4798 * Buffer_pimpl.C: oops, update on resize
4800 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4807 * BufferView.C: use repaint()
4809 * BufferView_pimpl.h:
4810 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4811 as it's a clearer description. Remove superfluous
4814 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4816 * text.C: fix bug 488. Not ideal, but getting
4817 getWord() to work properly for the insets that
4818 matter is more difficult ...
4820 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4822 * BufferView_pimpl.C:
4825 * lyxfunc.C: remove the six million index lyxfuncs to just
4826 one, and DTRT (bug 458)
4828 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4832 * BufferView_pimpl.h:
4833 * BufferView_pimpl.C: clean up resize() stuff,
4834 and unnecessary updateScreen()s
4836 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4840 * BufferView_pimpl.h:
4841 * BufferView_pimpl.C:
4844 * minibuffer.C: remove focus management of workarea,
4845 not needed. Use screen's greyOut()
4847 2002-06-17 Herbert Voss <voss@lyx.org>
4849 * converter.C: (convert) do not post a message, when converting
4850 fails, let the calling function decide what to do in this case
4852 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4854 * lyxfunc.C: tidy up a little
4856 2002-06-16 <alstrup@diku.dk>
4858 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4859 Got rid of FORMS_H_LOCATION include. Now we are
4862 2002-06-15 LyX Development team <lyx@rilke>
4864 * buffer.[Ch] (sgmlOpenTag):
4865 (sgmlCloseTag): Added support for avoiding pernicious mixed
4866 content. Return number of lines written.
4869 (makeDocBookFile): Fixed calls to sgml*Tag.
4870 Simple white space clean.
4872 (simpleDocBookOnePar): Simple white space clean.
4874 * tabular.[Ch] (docBook): Renamed to docbook and got another
4875 argument to related with the pernicious mixed content.
4877 (docbookRow): Fixed calls for docbook inset method.
4879 2002-06-15 Lyx Development team <larsbj@birdstep.com>
4881 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
4882 so it's X11 independent.
4886 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
4888 2002-06-15 Lyx Development team <lyx@electronia>
4890 * intl.h: Renamed getTrans to getTransManager.
4892 2002-06-14 Angus Leeming <leeming@lyx.org>
4894 * Makefile.am: nuke forgotten stl_string_fwd.h.
4896 2002-06-12 Angus Leeming <leeming@lyx.org>
4898 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
4900 2002-06-13 Angus Leeming <leeming@lyx.org>
4903 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
4905 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
4907 * kbmap.C (getiso): add support for cyrillic and greek
4909 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4913 * BufferView_pimpl.h:
4914 * BufferView_pimpl.C: move bogus scrolling logic
4917 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4920 * BufferView_pimpl.C: view->resize() change
4922 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4924 * BufferView_pimpl.C: topCursorVisible
4927 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4931 * lyx_gui.C: move to frontends/
4935 * lyx_main.C: changes from above
4937 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4944 * lyx_main.C: minor tidy
4946 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4948 * BufferView_pimpl.h:
4949 * BufferView_pimpl.C:
4951 * BufferView.C: make painter() const,
4954 * BufferView2.C: use screen() accessor
4957 * lyx_main.C: some minor cleanup
4959 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4961 * BufferView_pimpl.h:
4962 * BufferView_pimpl.C: remove enter/leaveView,
4965 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4970 * BufferView_pimpl.h:
4971 * BufferView_pimpl.C: only construct screen once,
4974 * lyxrc.C: remove pointless comment
4976 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4979 * BufferView.C: remove active() and belowMouse()
4981 * BufferView_pimpl.h:
4982 * BufferView_pimpl.C: use workarea() not workarea_,
4983 and make it use a scoped_ptr instead
4985 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
4987 * lyx_gui.C: add debug message on BadWindow
4989 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4991 * sp_spell.C: fdopen is not part of the C++ standard.
4993 * paragraph.C (InsetIterator): use >= instead of ==
4995 2002-06-07 Angus Leeming <leeming@lyx.org>
4997 Fixes needed to compile with Compaq cxx 6.5.
4998 * BufferView_pimpl.C:
5005 * lyxtextclasslist.C:
5010 all c-library variables have been moved into namespace std. Wrap
5011 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5016 Add a using std::abs declaration.
5018 * kbmap.h (modifier_pair):
5019 * paragraph.h (InsetTable, InsetList):
5020 * lyxfont.h (FontBits):
5021 type definition made public.
5023 * bufferlist.C (emergencyWriteAll): the compiler complains that
5024 there is more than one possible lyx::class_fun template to choose from.
5025 I re-named the void specialisation as lyx::void_class_fun.
5027 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5029 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5030 the compiler is is unable to find tostr in write_attribute.
5032 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5034 * buffer.C (sgmlError): hide #warning
5036 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5038 * xtl/*: get rid of xtl, which is not in use anyway
5040 * LyXAction.C (init):
5041 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5042 were unimplemented xtl experimentation
5044 2002-06-04 André Pönitz <poenitz@gmx.net>
5046 * lyxfunc.C: disable array operation on simple formulae
5048 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5050 * converter.C: constify a bit
5052 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5054 * lyx_gui.C: check xforms version correctly
5056 2002-04-30 Herbert Voss <voss@lyx.org>
5058 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5061 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5063 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5064 attempt to register it with a VCS)
5066 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5068 * lyx_main.C (init): honor variables LYX_DIR_13x and
5071 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5075 * lyx_main.C: fix a crash on bad command line,
5076 and give a useful exit status on error
5078 * lyxfunc.C (doImport): allow -i lyx to work
5080 2002-03-30 André Pönitz <poenitz@gmx.net>
5082 * lyxfunc.C: mathed font changes
5084 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5099 * trans_mgr.h: srcdocs, and some minor cleanups
5101 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5103 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5104 call getFont all the time)
5106 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5108 * switch from SigC signals to boost::signals
5110 2002-05-29 André Pönitz <poenitz@gmx.net>
5112 * paragraph_pimpl.C (getChar): don't call size() too often...
5114 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5116 * paragraph_pimpl.C (insertChar): do not try to update tables when
5117 appending (pos == size())
5119 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5120 in order to reduce drastically the number of comparisons needed to
5121 parse a large document
5123 2002-05-29 André Pönitz <poenitz@gmx.net>
5129 * textclasslist.[Ch]:
5130 * sp_ispell.h: whitespace change
5132 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5134 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5135 lyxaction directly now.
5137 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5141 * lyxvc.C: remove unused headers
5143 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5150 * undo_funcs.C: some cleanups. Use shared_ptr
5151 and a template for the undo stacks.
5153 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5155 * BufferView_pimpl.h:
5156 * BufferView_pimpl.C:
5163 * text2.C: use key_state/mouse_state
5165 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5167 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5170 * chset.C: change include order
5171 (loadFile): use boost regex and get rid of LRegex and LSubstring
5173 * Makefile.am (BOOST_LIBS): new variable
5176 * LaTeX.C: change include order.
5177 (scanAuxFile): use boost regex and get rid of LRegex and
5181 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5186 * FontInfo.C: moved to frontends/xforms/
5189 * FontLoader.C: moved into frontends for GUIIzation
5194 * lyxfunc.C: changes from above
5196 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5198 * LColor.C: remove spurious X include
5200 * BufferView_pimpl.C:
5205 * text2.C: move font metrics to frontends/
5207 2002-05-24 Juergen Vigna <jug@sad.it>
5209 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5210 setting the undo_cursor.
5212 * ParagraphParameters.h: include local includes first.
5214 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5216 * BufferView_pimpl.C:
5217 * BufferView_pimpl.h:
5221 * screen.C: move WorkArea into frontends/
5227 * BufferView2.C: move LyXScreen into frontends/
5231 * lyx_gui.C: move lyxlookup into frontends/xforms/
5233 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5236 * BufferView_pimpl.C:
5246 * bufferview_funcs.C:
5259 * vc-backend.C: move LyX/XFormsView into frontends/
5261 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5273 * text2.C: move Painter to frontends/
5275 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5277 * buffer.C: comment out some some code that depend upon lyx_format
5280 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5281 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5283 * buffer.h (NO_COMPABILITY): turn off compability
5285 * ColorHandler.C: include scoped_array.hpp
5287 * font.C: Use more specific smart_ptr header.
5290 * ShareContainer.h: ditto
5294 * BufferView_pimpl.h: ditto
5295 * ColorHandler.h: ditto
5297 * kbmap.C (defkey): change call to shared_ptr::reset
5299 2002-05-21 Juergen Vigna <jug@sad.it>
5301 * buffer.C (insertErtContents): fix to insert ert asis if it is
5302 non empty. Skip it completely if it contains only whitespaces.
5304 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5306 * BufferView_pimpl.C:
5307 * BufferView2.C: clear selection on paste (bug 393)
5309 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5311 * DepTable.C: include ctime
5313 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5315 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5317 2002-05-14 Juergen Vigna <jug@sad.it>
5319 * text.C (breakParagraph): fixed function to honor the keepempty
5320 layout in the right maner and also to permit the right breaking
5321 algorithm on empty or non empyt keepempty paragraphs.
5323 * paragraph.C (breakParagraph): we have to check also if the par
5324 is really empty (!size()) for isempty otherwise we do the wrong
5327 2002-05-10 Juergen Vigna <jug@sad.it>
5329 * buffer.[Ch] : The following are only changes to the ert
5330 compatibility read reading old LaTeX layout and font stuff and
5331 convert it to ERTInsets.
5333 * buffer.h: added isErtInset().
5335 * buffer.C (struct ErtComp): add a fromlayout bool to check
5336 if we're inside a LaTeX layout.
5337 (isErtInset): new helper function.
5338 (insertErtContents): look for other ert insets before this one
5339 and insert the contents there, so that we don't have subsequent
5340 ERT insets with nothing between them. This way we create only one
5341 inset with multiple paragraphs. Also check if we don't insert only
5342 spaces ' ' as they are ignored anyway afterwards in the .tex file
5343 so if we have only spaces we will ignore this latex part in the
5345 (parseSingleLyXformat2Token \\layout): better compatibility when
5346 reading layout-latex stuff.
5347 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5349 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5350 stuff after reading the inset only get the information back from
5353 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5355 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5357 * LaTeXFeatures.C (getBabelOptions): New method.
5359 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5361 * BufferView_pimpl.C (Dispatch): work around missing argument for
5364 2002-05-08 Juergen Vigna <jug@sad.it>
5366 * text.C (leftMargin): handle paragraph leftindent.
5368 * paragraph.C (writeFile): write the new \\leftindent tag.
5369 (validate): handle leftindent code.
5370 (TeXEnvironment): handle paragraphleftindent code again.
5372 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5374 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5375 for paragrap_extra indent code and new token \\leftindent.
5376 (latexParagraphs): handle the leftindent as environment.
5378 * ParameterStruct.h: added leftindent support.
5380 * ParagraphParameters.C (leftIndent): added support functions for
5381 the paragraph left indent.
5383 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5386 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5388 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5391 * text.C (computeBidiTables): No bidi in insetERT.
5393 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5396 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5398 * version.C.in: pre 5
5400 2002-05-02 José Matos <jamatos@fep.up.pt>
5401 * buffer.C (makeDocBookFile): white space changes, add newline to
5403 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5405 * tabular.C (docBook): fix typo.
5407 2002-05-03 Juergen Vigna <jug@sad.it>
5409 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5410 change in LyXText as we can not be sure it was not freed.
5411 (drawOneRow): remove unused code.
5413 * text.C (drawInset): redo the calculation of the need_break_row as
5414 it could have a row which was already freed.
5415 (draw): look at the return value of drawInset and return false if
5416 it also returned false.
5417 (paintRowText): look at the return value of draw and return false if
5418 it also returned false.
5420 * lyxtext.h: added bool return type to drawInset() and draw() so that
5421 if we have a change in the row so that the rowbreak has to be redone
5422 we abort drawing as it will be called again.
5424 2002-05-02 Juergen Vigna <jug@sad.it>
5426 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5427 a change in the maintext also if we're inside an inset.
5428 (Dispatch): set the cursor again after a break line and after the
5429 screen has been updated as it could be we're in a different row.
5431 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5432 to set the cursor behind the pargraph with > size().
5433 (setCursor): check also for the same paragraph when checking where
5434 to put the cursor if we have a NFR inset.
5436 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5437 parts of layout read further up as it still was in the wrong
5440 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5442 * screen.C (drawFromTo): change sine fullRebreak always return
5445 * buffer.C (parseSingleLyXformat2Token): reindent some
5447 * BufferView_pimpl.C (update): change since fullRebreak always
5449 (Dispatch): git rid of the last hardcoded "Standard"s.
5451 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5453 * text2.[Ch] (fullRebreak): make it return void now that we always
5456 2002-04-30 Juergen Vigna <jug@sad.it>
5458 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5459 ert compatibility check for "latex" layout.
5461 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5463 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5464 minipages: use col% instead of p%, and also use the current font.
5465 (makeLaTeXFile): Fix use babel condition.
5466 (parseSingleLyXformat2Token): Correct font when reading old floats.
5468 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5470 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5471 inserting list of floats.
5473 2002-04-25 Herbert Voss <voss@lyx.org>
5475 * MenuBackend.C (expand): don't add the graphics extensions to the
5478 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5480 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5481 non-existing layout, do not complain if it was the default layout
5482 of the original class (bug #342)
5484 2002-04-24 Juergen Vigna <jug@sad.it>
5486 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5487 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5489 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5491 * buffer.C (getBibkeyList): If using \bibliography, return the
5492 option field with the reference itself. Enables us to provide natbib
5493 support when using \bibliography.
5495 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5497 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5499 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5500 natbib is provided by the LaTeX class.
5502 2002-04-23 Juergen Vigna <jug@sad.it>
5504 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5507 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5509 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5511 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5513 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5514 ensuremath around textordmasculine, textordfeminine and
5517 2002-04-19 Juergen Vigna <jug@sad.it>
5519 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5520 reinitializing the buffer otherwise row-dimensions may be wrong.
5521 (update): reset also the selection cursors if they do exits otherwise
5522 their x/y positions may be wrong.
5524 * text2.C (cursorDown): don't enter the inset if we came from a row
5525 above and are one row over the inset.
5527 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5528 really leaving an inset.
5530 2002-04-18 Juergen Vigna <jug@sad.it>
5532 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5533 of the selected paragraph does not have the selected layout also if
5536 * text2.C (setLayout): fixed bug which did not change last selected
5539 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5540 changed the read and substituted \\end_float with \\end_inset!
5542 * BufferView_pimpl.C (cursorPrevious):
5543 (cursorNext): fixed to make it work with rows heigher than the work
5544 area without moving the cursor only the draw of the row.
5545 (workAreaMotionNotify): fix jumping over high rows.
5547 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5549 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5552 2002-04-16 Juergen Vigna <jug@sad.it>
5554 * text2.C (setCursor): set also the irow().
5555 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5557 (cursorDown): support for locking an inset if the x_fix value goes
5558 inside it. That way I can transverse insets too with cursor up/down.
5560 * lyxrow.h: added irow helper function same as other (i) functions.
5562 * BufferView_pimpl.C (cursorPrevious):
5563 (cursorNext): fixed for insets!
5565 2002-04-15 Juergen Vigna <jug@sad.it>
5567 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5568 position otherwise it is wrong in some cases.
5570 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5571 inside the inset before the call.
5573 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5575 * buffer.[Ch] (getBibkeyList): make it const.
5577 2002-04-12 Juergen Vigna <jug@sad.it>
5579 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5581 * text2.C (getCursorX): new helper function
5582 (setCursor): compute also ix_
5583 (setCursorFromCoordinates): set also ix.
5585 * lyxcursor.h: added ix_ and helper functions.
5587 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5589 * buffer.C (insertStringAsLines): dont break paragraph if the this
5590 paragraph is inside an inset which does not permit it!
5592 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5593 also with no chars on this paragraph.
5594 (paintRowText): only paint stuff if it's inside the workarea!
5596 * paragraph.C (breakParagraph): honor keepempty flag and break the
5597 paragraph always below not above.
5599 * BufferView2.C (unlockInset): update the paragraph layout on inset
5600 unlock as we changed paragraph in such a case.
5602 * lyxfind.C (LyXFind): clear the former selection if not found!
5604 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5605 again called in insertChar().
5607 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5608 an inset which uses the whole row!
5609 (rightMargin): ditto.
5610 (insertChar): force a rebreak if we inserted an inset!
5612 2002-03-28 Herbert Voss <voss@lyx.org>
5614 * lyxlength.[Ch]: add inBP() to get the right PS-point
5615 units (BigPoint). With inPixels we have rounding errors
5617 2002-04-11 Juergen Vigna <jug@sad.it>
5619 * text2.C (setCursorFromCoordinates): set iy to the right value.
5620 (setCursor): add check if row->previous exists!
5622 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5623 an old float_type as this was the case in the old code!
5625 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5627 * BufferView2.C (showLockedInsetCursor): use iy
5628 (fitLockedInsetCursor): ditto
5630 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5631 locked insets as there we have the right value now.
5633 * lyxcursor.C: added iy_ variable and iy functions to set to the
5634 baseline of cursor-y of the locked inset.
5636 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5637 (setCursor): fixed for insets which need a full row.
5639 * text.C (rowLastPrintable): don't ignore the last space when before
5640 an inset which needs a full row.
5641 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5642 as last character of a row when before a inset which needs a full row.
5644 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5646 * version.C.in: update date
5648 * text2.C (fullRebreak): try to always return true and see what
5651 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5653 * MenuBackend.C (expand): use Floating::listName
5655 * FloatList.C (FloatList): add listName argument to the built-in
5658 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5659 text associated with the float.
5661 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5663 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5665 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5667 * ShareContainer.h: add a couple of missing typenames.
5669 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5671 * lyxrc.C (getDescription): use _() correctly rather than N_().
5673 2002-03-28 Herbert Voss <voss@lyx.org>
5675 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5676 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5678 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5680 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5681 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5683 2002-03-29 Juergen Vigna <jug@sad.it>
5685 * lyxfunc.C (dispatch): add a missing fitCursor call.
5687 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5688 it was scrolled by a cursor move, so return the bool status.
5690 * BufferView.C (fitCursor): return the bool flag also to the outside
5691 world as this is needed.
5693 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5695 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5696 call the edit() as it is not needed (and wrong) IMO.
5697 (workAreaButtonPress): set the screen_first variable before evt.
5698 unlock the inset as this may change screen_first and then we have
5699 a wrong y position for the click!
5701 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5703 * MenuBackend.C (expand): another translation that I missed
5705 2002-03-28 Juergen Vigna <jug@sad.it>
5707 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5709 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5711 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5713 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5715 * MenuBackend.C (expand): fix export/view/update when there is no
5718 2002-03-27 Herbert Voss <voss@lyx.org>
5720 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5723 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5725 * bufferview_funcs.C (currentState): only show paragraph number
5726 for is DEVEL_VERSION is set.
5728 * lyxfunc.C (dispatch): put warning in INFO channel
5730 * MenuBackend.C (expand): translate the name of floats
5732 * FloatList.C (FloatList): mark the float names for translation
5734 * converter.C (convert): use LibScriptSearch
5736 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5738 * MenuBackend.C (defaults): fix default menu (we might as well get
5741 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5743 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5746 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5748 * lyxvc.C: reorder includes.
5750 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5752 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5755 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5757 * CutAndPaste.C: change layouts earlier on paste
5758 to avoid crashing when calling getFont()
5760 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5762 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5765 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5767 * WorkArea.C: remove 'Pending' debug message.
5769 * most files: ws cleanup
5771 * buffer.[Ch]: ws changes
5773 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5775 2002-03-21 Juergen Vigna <jug@sad.it>
5777 * tabular.C (SetMultiColumn): collapse also the contents of the
5778 cells and set the last border right. Added a Buffer const * param.
5780 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5782 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5785 2002-03-19 Juergen Vigna <jug@sad.it>
5787 * text2.C (clearSelection): reset also xsel_cache.
5789 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5790 where it needs to be called (John tells us to do so too :)
5791 (selectionLost): reset sel_cache.
5793 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5795 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5797 * text2.C (setCursorIntern): put debuging code in INSETS channel
5799 2002-03-19 André Pönitz <poenitz@gmx.net>
5801 * lyxfunc.C: tiny whitespace change
5803 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5805 * ToolbarDefaults.C (init):
5806 * LyXAction.C (init):
5808 * BufferView_pimpl.C (Dispatch):
5809 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5811 2002-03-19 Allan Rae <rae@lyx.org>
5813 * exporter.C (Export): removeAutoInsets before doing anything else.
5814 While I've just introduced a dependency on BufferView this really is
5815 the best place to clean the buffer otherwise you need to cleanup in
5816 a dozen places before calling export or cleanup in a dozen functions
5819 * converter.C (runLaTeX):
5820 (scanLog): Better handling of removeAutoInsets and screen updates.
5822 * lyxfunc.C (dispatch): small whitespace changes
5824 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5826 * WorkArea.C (C_WorkAreaEvent): return a value.
5827 (event_cb): return 1 if we handled the event, 0 otherwise.
5829 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5831 2002-03-18 Juergen Vigna <jug@sad.it>
5833 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5834 (GetAdditionalWidth): ditto.
5838 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5839 inset if we're there actually (probably not used right now but this
5840 is the direction to go for unifying code).
5841 (paste): disable code to clear the selection.
5843 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5844 inside an InsetText and move the check further up as it is in the
5847 * text2.C (pasteSelection): set a selection over the pasted text.
5849 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5851 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5852 and libgraphics to build on Cygwin.
5854 2002-03-15 Juergen Vigna <jug@sad.it>
5856 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5857 inserting an Inset into the paragraph. I know this is not the best
5858 fix but we already use current_view in CutAndPaste so we will remove
5859 all of it's using at the same time.
5861 * buffer.C (sgmlError): deactivated function till it is rewritten in
5862 the right mode, now it can create problems.
5864 * paragraph.C (isLineSeparator): check if getInset returns != 0,
5865 before accessing it.
5867 2002-03-14 Juergen Vigna <jug@sad.it>
5869 * undo_funcs.C (textHandleUndo): do the right thing when updating
5870 the inset after the undo/redo.
5872 * text2.C (setCursor): just some testcode for #44 not ready yet.
5874 * undo_funcs.C (textHandleUndo): set the next() and previous()
5875 pointers of the paragraph to 0 before deleting otherwise we have
5876 problems with the Paragraph::[destructor].
5878 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
5879 on a paragraph insertion.
5881 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5883 * buffer.C (asciiParagraph): use += operator for char append to
5886 * paragraph.C (getFontSettings): compare >= not just >
5887 (highestFontInRange): ditto
5890 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5892 * paragraph.C: change several algorithm to be more appripriate for
5893 the problem domain. This is lookip in FontList and in the InsetList.
5895 2002-03-13 André Pönitz <poenitz@gmx.net>
5898 * LyXAction.C: remove unused LFUN_MATH_MACROARG
5900 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
5905 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
5907 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5909 * Painter.C (display): anon helper function, adjust code for this
5911 (pixmap): remove function.
5913 * Painter.h: remove private display variable.
5915 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
5917 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
5919 * WorkArea.[Ch]: remove figinset_canvas cruft.
5921 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5923 * lyxtextclass.C (operator): add one item cache optimization.
5925 * bufferlist.h: doxy changes
5927 * bufferlist.C: ws changes
5929 * DepTable.[Ch] (ext_exist): place const in the right spot.
5931 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
5933 (workAreaExpose): call resizeInsets when the with BufferView changes.
5934 (Dispatch): adjust for protectedBlank removal
5935 (specialChar): call updateInset if the insert went ok.
5937 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
5938 specialChar instead.
5940 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
5942 * BufferView.h: doxy change
5944 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
5946 * lyxtextclass.C (operator[]): remove non-const version
5947 (defaultLayout): remove non-const version
5949 2002-03-12 Juergen Vigna <jug@sad.it>
5951 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
5952 did resize the LyXText too.
5954 * buffer.C (readLyXformat2): set layout information on newly allocated
5957 * tabular.C (OldFormatRead): set layout information on the paragraph.
5959 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
5961 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
5963 2002-03-11 Juergen Vigna <jug@sad.it>
5965 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
5967 (resizeCurrentBuffer): force also the insets to resize themselfes.
5968 (moveCursorUpdate): fixed up for InsetText.
5970 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
5973 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
5974 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
5975 value of Dialogs::tooltipsEnabled().
5976 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
5978 2002-03-08 Juergen Vigna <jug@sad.it>
5980 * BufferView_pimpl.C (updateInset): update inset inside inset also
5981 if it isn't inside theLockingInset().
5983 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
5985 * buffer.C (asciiParagraph): redo some of the word and line length
5987 (getLists): look for Caption instead of caption.
5989 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5991 * buffer.C (Buffer): initialize niceFile to true
5994 (makeDocBookFile): make sure niceFile is true on exit
5996 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5998 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6000 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6002 * LyXSendto.C: remove.
6003 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6004 * lyx_gui.C: remove now-redundant comment.
6005 * ColorHandler.h: remove forward declaration of class WorkArea.
6006 * lyxfunc.C: remove #include "WorkArea.h".
6008 2002-03-07 Juergen Vigna <jug@sad.it>
6010 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6011 got moved away with the DEPM and also set the inset_owner always
6012 right which before could have been omitted.
6014 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6016 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6017 wanted layout is not found.
6019 2002-03-07 Juergen Vigna <jug@sad.it>
6021 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6023 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6025 * paragraph.C (breakParagraph): use default layout not layout of
6027 (Paragraph): clear ParagraphParameters.
6029 2002-03-06 Juergen Vigna <jug@sad.it>
6031 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6032 otherwise it would not be a valid lenght. Fixed a special case in
6033 the minipage compatibility read where we end the document with a
6036 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6037 was set as it could be 0 for InsetTexts first entry.
6039 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6041 * paragraph.C (writeFile): if layout is empty write out
6042 defaultLayoutName().
6044 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6045 file without named layout we set layout to defaultLayoutName().
6047 2002-03-06 Juergen Vigna <jug@sad.it>
6049 * CutAndPaste.C (copySelection): set layout for new paragraph.
6051 * text.C (prepareToPrint): leave ERT inset left aligned
6052 (leftMargin): don't indent paragraphs inside ERT insets
6054 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6056 * paragraph.C (breakParagraph): dont call clear do the work manually
6058 * paragraph.[Ch] (clear): remove function
6060 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6062 * paragraph.C (Paragraph): dont call clear, the work has already
6065 * lyxtextclass.C (operator): assert if n is empty
6067 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6068 work manually instead.
6070 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6072 * BufferView_pimpl.C: protect selectionLost against text == 0
6074 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6076 * text.C (breakParagraph): fix a setting layout to '0' problem.
6078 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6080 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6081 final location of file, for the included files, and graphics.
6083 2002-03-05 Juergen Vigna <jug@sad.it>
6085 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6087 2002-03-04 Juergen Vigna <jug@sad.it>
6089 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6091 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6092 last column of multicolumn cells.
6093 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6095 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6097 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6098 file if it doesn't go to a temporary file.
6100 * buffer.C (sgmlOpenTag):
6101 (sgmlCloseTag): remove extra newline insertion.
6103 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6105 * text.C (getRowNearY): comment out debug msg
6107 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6109 * text2.C: first -> first_y
6111 * text.C (getRowNearY): add some attemts at a possible
6112 optimization, not working.
6114 * tabular.[Ch]: add BufferParams to several function so that newly
6115 created paragraph can be initialized to he default layotu for the
6118 * tabular-old.C (ReadOld): add buf->params to call of Init
6120 * screen.C: rename text->first to text->first_y
6122 * paragraph.C (breakParagraph): always set layout in the broken
6125 * lyxtextclass.C (Read): remove lowercase
6128 (delete_layout): ditto
6130 * lyxtext.h: rename first -> first_y
6132 * lyxlayout.C (Read): remove lowercase
6135 (obsoleted_by): ditto
6137 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6139 * buffer.C (insertErtContents): add params are to InsetERT
6140 (parseSingleLyXformat2Token): add code to check if a paragraphs
6141 layout really exist.
6142 (parseSingleLyXformat2Token): add params to several inset
6144 (asciiParagraph): remove lowercase, do the layout comparisons with
6147 * BufferView_pimpl.C (cursorNext): first -> first_y
6148 (resizeCurrentBuffer): first -> first_y
6149 (updateScrollbar): first -> first_y
6150 (scrollCB): first -> first_y
6151 (workAreaMotionNotify): first -> first_y
6152 (workAreaButtonPress): first -> first_y
6153 (checkInsetHit): first -> first_y
6154 (cursorPrevious): first -> first_y
6155 (cursorNext): first -> first_y
6156 (Dispatch): add buffer_->params to severl inset contructors
6158 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6160 * lyxlayout.C (Read): remove some debug info that I forgot.
6162 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6163 clean up the code slightly.
6164 (makeLinuxDocFile): ditto
6165 (makeDocBookFile): ditto
6167 * text2.C: layout as string
6169 * text.C: layout as string
6171 * paragraph_pimpl.C: layout as string
6173 * paragraph.[Ch]: layout as string
6175 * lyxtextclasslist.[Ch]: layout as string
6177 * lyxtextclass.[Ch]: layout as string
6179 * lyxtext.h: layout as string
6181 * lyxlayout.[Ch]: layout as string
6183 * lyx_cb.C: layout as string
6185 * bufferview_funcs.C: layout as string
6187 * bufferparams.C: layout as string
6189 * buffer.C: layout as string
6191 * LyXView.[Ch]: layout as string
6193 * LaTeXFeatures.[Ch]: layout as string
6195 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6197 * BufferView_pimpl.C: change current_layout to string, remove
6202 (workAreaButtonRelease): layout as string
6204 * BufferView2.C (unlockInset): adjust
6206 * vspace.C (asLatexCommand): use an explict temp variable.
6208 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6210 * Makefile.am: use FRONTEND_*
6212 2002-03-01 Juergen Vigna <jug@sad.it>
6214 * tabular.C (SetWidthOfMulticolCell): changed to something better
6215 I hope but still work in progress.
6216 (recalculateMulticolumnsOfColumn): renamed function from
6217 recalculateMulticolCells as it is more appropriate now.
6218 (SetWidthOfCell): calculate multicols better.
6220 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6222 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6224 * lyxfunc.C (processKeySym): print sequence also if it is
6225 `deleted' (complete)
6227 * kbsequence.C (print): print sequence even if it is deleted
6228 (complete would be a better word, actually).
6230 * lyxfunc.C (dispatch): print complete options after a prefix key
6232 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6234 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6236 * text2.C (setCharFont): eliminate setCharFont code duplication.
6238 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6240 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6241 LFUN_TABULAR_FEATURE (bug #177)
6243 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6245 * Makefile.am: remove figure.h
6247 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6249 * Bufferview_pimpl.C:
6261 * text2.C: remove #include "lyx_gui_misc.h".
6263 * LaTeX.C: added #include <cstdio>
6265 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6267 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6268 that the paragraph following this one can have.
6270 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6272 * vspace.C (asLatexCommand): fix bogus gcc warning
6274 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6276 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6278 * text2.C (setLayout): get rid of redundant code
6280 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6282 * text2.C (incDepth): make sure depth cannot be increased beyond
6285 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6287 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6288 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6290 * PainterBase.h (image):
6291 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6294 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6298 * BufferView_pimpl.C:
6299 * BufferView_pimpl.h:
6319 * sp_spell.C: remove fig inset, and the crap house of
6320 cards that follows it
6322 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6328 * nt_defines.h: move .h into support/
6330 * vms_defines.h: remove
6332 * WorkArea.C: add space in debug output
6336 * buffer.C: add WITH_WARNINGS
6340 * bufferlist.C: s/retrive/retrieve/, add docs
6351 * lyxgui.C: add ID to X error handler
6353 * lyxtestclass.c: fix typo
6355 2002-02-26 Juergen Vigna <jug@sad.it>
6357 * tabular_funcs.C (write_attribute): changed so that some default
6358 attributes are not written at all.
6359 (getTokenValue): set default values before trying to read the
6360 value so we have the return value always set as default if we don't
6361 find the token we search for.
6363 * tabular.C (Write): write bools as bools not as strings!
6365 2002-02-22 Juergen Vigna <jug@sad.it>
6367 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6368 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6370 * text.C (leftMargin): don't add an indent for paragraphs inside
6371 tabular cells (fix #208).
6373 2002-02-21 José Matos <jamatos@fep.up.pt>
6375 * tabular.C (docBook): fixed support for long tables.
6377 2002-02-20 Juergen Vigna <jug@sad.it>
6379 * text2.C (getFont): get the drawing font of the Inset if this
6380 paragraph is inside an inset (only important for InsetERT for now).
6382 * buffer.C (insertErtContents): use new lanugage params in ERT
6385 * CutAndPaste.C: commenting out seemingly uneeded code.
6387 2002-02-19 Allan Rae <rae@lyx.org>
6389 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6390 Iterators might be simple to use but they also get invalidated.
6391 (removeAutoInsets): renamed saved cursor tracking variables and added
6392 some comments to clarify what everything does.
6394 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6401 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6402 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6405 * vc-backend.h: remove #include "support/syscall.h"
6409 * converter.C: rearrange #includes in Lars' approved fashion.
6411 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6412 forward declare class Timeout in the header file.
6414 * XFormsView.C: changes due to the above.
6416 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6419 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6420 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6422 2002-02-18 José Matos <jamatos@fep.up.pt>
6424 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6427 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6429 * a lot of small ws changes
6430 * add a lot of using std::XXX
6431 * use std construcs some places where approp.
6432 * use some exisint stuff from lyxfunctional where approp.
6433 * Make file changes to use partial linking (lets test this now...)
6435 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6439 remove #include "support/syscontr.h" as it's redundant. Always has been.
6447 change Systemcalls::System to Systemcalls::Wait and
6448 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6449 No change of functionality, just reflects the stripped down Systemcalls
6452 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6454 * debug.[Ch]: add a GRAPHICS type to the enum.
6456 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6458 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6460 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6463 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6465 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6466 match the changes below.
6468 * text2.C (toggleInset): if there is not editable inset at cursor
6469 position, try to see if cursor is _inside_ a collapsable inset
6472 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6474 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6475 document menu has a nice checkbox
6477 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6479 * lyxlength.C (asLatexString): change PW to output as percent of
6482 * lengthcommon.C: change '%' to 't%'
6484 * lyxfunc.C (dispatch): a few comments from Martin
6486 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6490 * BufferView_pimpl.h:
6491 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6494 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6496 * vspace.C (inPixels): fix compiler warning
6498 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6500 * lyxfunc.C (getStatus): fix status message for disabled commands.
6502 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6504 * BufferView_pimpl.C: fix crash on close buffer
6505 during selection (#227)
6507 2002-01-27 Herbert Voss <voss@lyx.org>
6509 * buffer.C: link old Figure to new graphic inset
6511 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6513 * FontLoader.C (getFontinfo): Change the latex font names in order
6514 to match the names of type1inst.
6516 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6518 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6520 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6523 (remove_files_with_extension): ditto
6524 (remove_file): ditto
6527 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6528 document is smaller than the work area height. Do not initialize
6529 static variables to 0.
6531 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6533 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6535 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6536 LFUN_LAYOUT_PARAGRAPHS.
6538 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6539 tabular. It is possible to provide a possible cell, which will
6540 typically be the actcell from the corresponding insettabular
6542 * lyxfunc.C (getStatus): small cleanup; disable
6543 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6546 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6548 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6550 * paragraph.C (startTeXParParams):
6551 (endTeXParParams): new methods. The LaTeX code to
6552 start/end paragraph formatting
6553 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6554 empty (fixes bug #200)
6556 * vspace.C (inPixels): adapt to the change below
6557 (inPixels): [later] more cleanups (remove unused variables)
6559 * lyxlength.C (inPixels): change to use a width and a height as
6562 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6564 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6565 Replaced with \paperwidth
6567 * DepTable.C (insert): add std:: qualifier
6569 2002-01-18 Allan Rae <rae@lyx.org>
6571 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6574 * text.C (drawInset): Turned out I didn't know enough about how
6575 rebreaking worked. This fixes most of the redraw problems. I see
6576 an occasional cursor trail when a line is broken now and the cursor
6577 placement can seem out by a few pixels also after a rebreak.
6579 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6581 * buffer.C (parseSingleLyXformat2Token): update because minipage
6582 width is now a LyXLength
6584 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6586 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6589 2002-01-17 Juergen Vigna <jug@sad.it>
6591 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6593 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6594 is set correctly and the inset is updated correctly.
6596 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6598 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6599 the beginning of the loop.
6601 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6603 * lyxrc.C: improve help for use_scalable_fonts
6605 2002-01-17 Allan Rae <rae@lyx.org>
6607 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6609 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6611 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6612 make sure to set their inset_owner to the right value (bug #171)
6614 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6617 * DepTable.C: Implement mtime checking to reduce time spent doing
6620 2002-01-16 Juergen Vigna <jug@sad.it>
6622 * tabular.C (GetAdditionalHeight): one of error fixed.
6624 * lyxrc.C (output): small fix in writing use_pspell.
6626 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6628 * sp_base.h: #include LString.h
6630 2002-01-16 Allan Rae <rae@lyx.org>
6632 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6633 Can someone check this please?
6635 * text.C (drawInset): It was possible that p.row would be removed by
6636 breakAgainOneRow upsetting a few other settings. There may be another
6637 small tweak possible by setting need_break_row = 0 when p.row has been
6638 removed but I don't know enough about the logic here.
6640 2002-01-15 Allan Rae <rae@lyx.org>
6642 * text.C (insertChar): removed conditional truism.
6644 * BufferView2.C (removeAutoInsets): More tweaks.
6645 cur_par_prev could be a stray pointer. Check for trailing empty line
6646 in case last line was cur_par and only had an error inset on it.
6648 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6650 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6653 * vc-backend.C (most methods):
6654 * exporter.C (Export):
6655 * converter.C (convert):
6657 * LyXSendto.C (SendtoApplyCB):
6658 * lyxfunc.C (dispatch):
6662 * lyx_cb.C (AutoSave):
6664 * BufferView_pimpl.C (MenuInsertLyXFile):
6665 * buffer.C (runChktex): use Buffer::filePath().
6667 * buffer.h: rename filename to filename_; rename filepath to
6668 filepath_ and make it private
6669 (filePath): new method
6671 * buffer.C (writeFile): use fileName()
6674 * lyx_main.C (init): fix starting of LyX when the binary is a
6675 link from so,ewhere else.
6677 * minibuffer.C: include <cctype> for isprint
6679 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6681 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6682 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6683 name clash with InsetCollapsable's width function.
6685 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6687 * lastfiles.C: include <iterator>
6689 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6691 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6694 * buffer.C (makeLaTeXFile): ditto.
6695 Also make loop operation more transparent.
6697 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6699 * ToolbarDefaults.C: remove trailing comma closing namespace.
6701 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6703 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6706 * trans.C (Load): comment out unused variable, allowed.
6708 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6710 * minibuffer.[Ch] (append_char): new method to recieve input from the
6711 drop-down completion browser. If a key was pressed, then recieve this
6712 char and append it to the existing string.
6713 (peek_event): modify the positioning data passed to the completion
6714 browser so that it can be placed above the minibuffer rather than below.
6715 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6717 * LyXAction.C (init): alloe error-next for readonly documents.
6719 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6722 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6724 * bufferlist.C (readFile): create the buffer _after_ checking that
6727 * lyxfunc.C (verboseDispatch): fix handling of arguments
6729 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6731 * lyxrc.C: use string::erase() instead of initializing to "".
6734 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6736 * BufferView_pimpl.h:
6737 * BufferView_pimpl.C:
6740 * text2.C: tell X when we have made a selection for copying
6742 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6744 * BufferView_pimpl.C (MenuInsertLyXFile):
6745 * lyxfunc.C (menuNew):
6747 (doImport): add shortcuts to directory buttons
6749 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6752 * lyxfunc.C (setStatusMessage):
6753 (getStatusMessage): new methods
6754 (getStatus):use setStatusMessage instead of setErrorMessage
6755 (dispatch): when function is disabled, set error message here
6756 [instead of in getStatus previously]
6758 * BufferView_pimpl.C (workAreaButtonRelease): update
6759 toolbar/menubar here too.
6761 2002-01-13 Allan Rae <rae@lyx.org>
6763 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6764 Now seems indestructible. Remaining task is to audit all other
6765 code affected by deleteEmptyParagraphMechanism. One small quirk
6766 left is that an empty document with an error in the preamble can
6767 be made to report an error but no error box appears. I don't know
6769 (removeAutoInsets): Improved comments.
6771 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6774 * Thesaurus.C: update for Aiksaurus 0.14
6776 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6778 * text2.C (firstParagraph): removed member function, all uses
6779 replaces with ownerParagraph
6780 (redoParagraphs): here
6782 (toggleAppendix): here
6783 * BufferView2.C (insertErrors): here
6784 (setCursorFromRow): here
6786 2002-01-13 Allan Rae <rae@lyx.org>
6788 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6789 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6790 There is still a way to segfault this although you may have to do this
6791 multiple times: Have an InsetERT with an unknown command in it.
6792 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6793 <down-arrow>, <Enter> again, View->DVI, BANG!
6795 * text2.C (setCursor):
6796 (deleteEmptyParagraphMechanism):
6797 * lyxtext.h (setCursor):
6798 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6799 Making use of the return value may help fix other bugs.
6801 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6803 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6805 * LyXView.C (updateMenubar): call MenuBar::update here
6806 (updateToolbar): but not here
6807 (showState): do not update toolbar/menubar
6809 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6810 should need to care about that.
6812 * lyxfunc.C (verboseDispatch): simplify a bit
6813 (getStatus): have a version which takes a pseudoaction, and
6814 another which requires a (kb_action,string).
6816 * LyXAction.C (retrieveActionArg): make it work also when action
6817 is not a pseudo-action.
6818 (getActionName): simplify a bit
6821 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6823 * lyxfunc.C (verboseDispatch): new families of methods with
6824 several ways to specify a command and a bool to indicate whether
6825 the command name and shortcut should be displayed in minibuffer
6826 (eventually, we could extend that to a finer bitmask like
6827 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6828 (dispatch): the pristine dispatch command which just, well,
6829 dispatchs! Note it still sets its result to minibuffer; I'm not
6832 * lyxfunc.h: remove setHintMessage
6834 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6836 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6838 * BufferView_pimpl.C (specialChar): delete new inset if we have
6839 not been able to insert it.
6841 * kbmap.C: revert to using int instead of kb_action, since all we
6842 are dealing with is pseudo-actions.
6844 * LyXAction.C (searchActionArg): change to return int instead of
6845 kb_action, since the result is a pseudoaction.
6847 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6849 * buffer.C (insertErtContents): Fix (partially) the font bug.
6851 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6853 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6854 as the other one is broken on my machine!
6856 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6859 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
6861 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
6863 * lyxrc.[Ch]: change names and descriptions of popup font variables to
6864 reflect their actual use. Provide compatibility code for older lyxrc
6867 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
6869 change names of popup font variables in line with the changes to lyxrc.C
6871 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6873 * buffer.C (asciiParagraph): avoid outputing a word twice after
6876 * lyxrc.C (getDescription): document that document_path and
6877 template_path can be empty.
6879 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6881 * LaTeXFeatures.C (getMacros):
6882 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
6884 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
6886 * LaTeXFeatures.C (useFloat): require "float" here instead of in
6888 (getPackages): rename feature "floats" to "float". Use an array to
6889 iterate over 'simple' features (i.e. just a \usepackage). Add
6890 handling of "amsmath" (renamed from "amsstyle").
6892 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
6894 * LaTeXFeatures.C (require): Prevent duplicate entries in the
6897 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
6899 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
6900 FuncStaus::FuncStatus & FuncStaus::some_method().
6902 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
6904 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
6905 of the func_satus stuff. Edited and massaged in various ways by
6908 * lyxfunc.C (getStatus): use FuncStatus
6910 2002-01-08 Juergen Vigna <jug@sad.it>
6912 * text.C (nextBreakPoint): use function Inset::isChar().
6914 * paragraph.C (TeXOnePar): use function
6915 Inset::forceDefaultParagraphs.
6917 * buffer.C (latexParagraphs): use function
6918 Inset::forceDefaultParagraphs.
6920 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6922 * lyx_gui.C (init): set the style of the menu popups to
6923 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
6925 2002-01-07 Juergen Vigna <jug@sad.it>
6927 * text.C (setHeightOfRow): small fix
6928 (prepareToPrint): don't look at alignment if we don't have the place
6931 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6933 * box.C: New file. Move the Box methods and functions out of box.h,
6934 following Lars' suggestion.
6936 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
6938 * box.h: #include "support/LOstream.h", needed for inlined function.
6941 * lyxtextclasslist.C: added some using std declarations.
6943 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
6945 * box.h: make signed dimensions to allow insets wider than
6946 the screen (bug #162)
6948 * BufferView_pimpl.C: add some insetHit debug
6950 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
6952 * vc-backend.C: add FIXME
6954 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6956 * lyxfunc.C (getStatus): enable code for showing math font status
6959 2002-01-07 Juergen Vigna <jug@sad.it>
6961 * text.C (nextBreakPoint): removed debug output not needed anymore.
6963 2002-01-06 Juergen Vigna <jug@sad.it>
6965 * text.C (nextBreakPoint): fixed up this function we had this bug
6966 since ever but now hopefully we break row better.
6967 (insertChar): we have to check if an inset is the next char as it
6968 could now happen that a large inset is causing a break.
6970 2002-01-05 Juergen Vigna <jug@sad.it>
6972 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
6973 if it doesn't like to be drawed.
6975 2002-01-04 Juergen Vigna <jug@sad.it>
6977 * BufferView2.C (lockInset): forgot to set a cursor.
6979 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
6981 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
6986 * form_maths_panel.C:
6987 * form_maths_panel.h:
6988 * form_maths_panel.fd: implemented sub- and super- buttons in math
6991 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
6992 (or ^ space) to be used as in TeX (req'd by André).
6994 * lyxfunc.C: Allow ^ and _ again to be used both as
6995 super/subscript (mathed) and as themselves (in text).
6997 2002-01-03 Allan Rae <rae@lyx.org>
6999 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7000 "LyX" or the filename of the current buffer if it has one. This is a
7001 modified form of John Levon's patch.
7003 * XFormsView.C (setWindowTitle): also set icon title.
7005 * LyXView.h (setWindowTitle): signature changed.
7006 * XFormsView.h (setWindowTitle): ditto.
7008 2002-01-02 Juergen Vigna <jug@sad.it>
7010 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7012 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7014 * screen.C (topCursorVisible): introduce a temp var for
7015 text->cursor.row(), handle the case where this row is null. (kindo
7018 * text2.C (setCursor): add a couple of asserts.
7020 * paragraph.h (inset_iterator): add -> operator
7022 * paragraph.[Ch] (autoDeleteInsets): remove member function
7024 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7025 cursor pos correctly and handle inset deletion by itself.
7026 (insertErrors): move iterator declaration out of for expression
7028 * lyxtextclass.C: add <algorithm>
7030 * Makefile.am: added the new files to sources, removed layout.C
7032 * layout.C: removed file
7034 * layout.h: remove LYX_DUMMY_LAYOUT
7036 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7040 * lyxtextclass.[Ch]:
7041 * lyxtextclasslist.[Ch]: new files
7043 * include order changes to a lot of files, also changes because of
7046 2001-12-27 Juergen Vigna <jug@sad.it>
7048 * buffer.C (asciiParagraph): more fixes.
7050 * tabular.C (ascii): make ascii export support export of only the
7051 data separated by a column-delimiter.
7052 (ascii): better support for ascii export.
7054 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7056 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7058 * tabular_funcs.C: use a "using std::getline" instead of the
7059 previous fix from Angus (necessary for cxx + lyxstring)
7061 2001-12-24 Juergen Vigna <jug@sad.it>
7063 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7065 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7066 problems. First check a minipage also if we have some ert-contents
7067 (not only on par->size(), second set the right depth of the paragraph
7068 on the relink to the root-paragraph-list!
7070 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7071 which then did not anymore update the main paragraphs on undo/redo!
7073 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7075 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7076 code. Support all font-changing funcs (even those which are not in
7077 menu currently). Support for reporting font settings in
7078 mathed (disabled until Andre provides a function on mathed's side).
7080 * func_status.h (toggle): small helper function to set toggle
7083 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7085 * tabular_funcs.C: getline -> std::getline
7087 2001-12-21 Juergen Vigna <jug@sad.it>
7089 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7090 accessed and could be 0 (I couldn't generate this but it seems
7093 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7095 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7096 * tabular_funcs.h: here and include iosfwd
7098 2001-12-20 Juergen Vigna <jug@sad.it>
7100 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7101 inside inset but undo_par was.
7103 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7105 * Thesaurus.C: always include <config.h> in sources.
7109 * box.h: do not include <config.h> in header files
7111 * text.C (paintLastRow): remove unused variable
7113 * text.C (transformChar):
7115 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7118 * font.C (width): rewrite to use uppercase() instead of
7121 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7123 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7125 * lyxfind.C: clean up of find failure position change
7127 2001-12-20 Juergen Vigna <jug@sad.it>
7129 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7131 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7132 (TeXRow): added to LaTeX a single tabular row.
7133 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7134 (Latex): simplified and finally good LT-h/f support.
7135 (various_functions): just small adaptions for LT-h/f support.
7137 * tabular_funcs.[hC]: added and moved here all not classfunctions
7140 2001-12-19 Juergen Vigna <jug@sad.it>
7142 * tabular.[Ch]: better support for longtabular options (not finished
7145 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7147 * text.C (paintLastRow): use the label font instead of the font of
7148 the last character to compute the size of *_BOX. This makes more
7149 sense and avoids a crash with empty paragraphs.
7150 Use Painter::rectangle to draw EMPTY_BOX.
7152 2001-12-19 Juergen Vigna <jug@sad.it>
7154 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7155 the paragraphs if the replaced paragraph is not the first one!
7156 Tried to delete not used paragraphs but does not work yet so for
7157 now it's inside #ifdef's and by default off!
7159 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7161 * MenuBackend.C: include "lyx_main.h" instead of declaring
7162 lastfiles (actually was declared as LastFiles* instead of a
7165 2001-12-17 Juergen Vigna <jug@sad.it>
7167 * tabular.C (AppendColumn): applied John's fix
7169 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7173 * BufferView_pimpl.h:
7174 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7177 * box.h: new start of class for above
7179 * lyxfunc.C: ignore space-only minibuffer dispatches.
7180 Show the command name when it doesn't exist
7182 * minibuffer.C: don't add empty lines to the history
7184 * minibuffer.C: add a space on dropdown completion
7186 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7188 * text.C: fix line above/below drawing in insets
7190 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7192 * lyxlength.C (LyXLength): Initialize private variables.
7194 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7196 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7197 when inserting error insets.
7199 2001-12-13 Juergen Vigna <jug@sad.it>
7201 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7202 actually sometimes the before-paragraph.
7203 (setUndo): don't clear the redostack if we're not actually undoing!
7205 2001-12-06 Juergen Vigna <jug@sad.it>
7207 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7208 and fixed redoing of main paragraph, so we can use it now ;)
7210 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7212 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7214 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7217 2001-12-13 André Pönitz <poenitz@gmx.net>
7220 * undo_func.C: minor cleanup
7222 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7224 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7225 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7226 font in urw-fonts package which is marked as -urw-fontspecific and
7227 does not work (incidentally, changing the encoding in the
7228 fonts.dir of this package to -adobe-fontspecific fixes the
7231 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7232 is a crash when undoing first paragraph (Juergen, please take a
7233 look). THis does not mean the undo fix is wrong, just that it
7236 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7237 the (Paragraph*) version when needed instead of duplicating the
7240 * text.C (workWidth): use Inset::parOwner to find out where the
7241 inset has been inserted. This is a huge performance gain for large
7242 documents with lots of insets. If Inset::parOwner is not set, fall
7243 back on the brute force method
7245 * paragraph_pimpl.C (insertInset):
7246 * paragraph.C (Paragraph):
7247 (cutIntoMinibuffer): set parOwner of insets when
7248 inserting/removing them
7250 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7252 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7258 * mathed/formulabase.C:
7259 * mathed/math_cursor.[Ch]:
7260 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7263 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7265 * lyxlength.[Ch] (operator!=): new function
7267 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7269 * text.C (workWidth): use Inset::parOwner to find out where the
7270 inset has been inserted. This is a huge performance gain for large
7271 documents with lots of insets. If Inset::parOwner is not set, fall
7272 back on the brute force method
7274 * paragraph_pimpl.C (insertInset):
7275 * paragraph.C (Paragraph):
7276 (cutIntoMinibuffer): set parOwner of insets when
7277 inserting/removing them
7279 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7281 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7283 * tabular-old.C (getTokenValue):
7284 * tabular.C (getTokenValue):
7285 (write_attribute): new versions for LyXLength
7286 (everywhere): adjust the use of widths
7288 * tabular.h: change the type of widths from string to LyXLength
7290 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7292 * paragraph.C: fixed missing line number count when exporting
7293 Environments to LaTeX file
7295 * buffer.C: added informational message for checking line numbers.
7297 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7299 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7300 paragraph, do the 'double space' part, but not the 'empty
7303 * text.C (workWidth): small optimization
7304 (getLengthMarkerHeight): use minimal size for negative lengths.
7306 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7308 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7310 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7312 2001-12-11 André Pönitz <poenitz@gmx.net>
7315 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7317 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7319 * text2.C: keep selection on a setFont()
7321 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7323 * lyx_cb.C: another bv->text misuse, from insert label
7325 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7328 * kbsequence.C: re-instate nmodifier mask
7330 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7332 * lyx_main.h: make lyxGUI private.
7334 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7336 * lyxfind.C: place the cursor correctly on failed search
7338 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7340 * text.C (getLengthMarkerHeight): for small heights, the arrows
7341 are not always on top/bottom of the text
7342 (drawLengthMarker): smaller arrows; take the left margin in
7343 account; draw also vfills.
7345 (paintLastRow): remove special code for vfill and standard spaces,
7346 since everything is handled in drawLengthMarker now.
7348 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7350 * buffer.C (insertErtContents): try to handle font and language
7351 interaction a bit better.g
7353 * ColorHandler.C (updateColor): change the hash to cover the whole
7354 LColor enum, ws cleanup
7355 (getGCLinepars): ditto
7356 (getGCLinepars): only lookup in the linecache once.
7358 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7360 * iterators.C (operator++): Make the iterator more robust
7362 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7364 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7366 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7369 * text.C: better added space drawing
7371 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7374 * BufferView2.C: fix layout combo update on inset unlock
7376 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7378 * Makefile.am: don't compile unused files
7380 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7384 * LyXAction.C: remove old LFUN_LAYOUTNO
7386 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7388 * paragraph_pimpl.h:
7389 * paragraph_pimpl.C: isTextAt() doesn't need font param
7391 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7394 * lyxlex.C: little cleanup
7396 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7398 * BufferView_pimpl.C: fix insertAscii for insets
7400 2001-12-05 Juergen Vigna <jug@sad.it>
7402 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7403 set the right font on the "multi" paragraph paste!
7405 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7411 * lyxlength.C: remove out-commented code.
7427 * vc-backend.C: change "while(" to "while ("
7429 * lyxlength.[Ch]: add zero function to check if length is zero or
7431 * lyxgluelength.C: use it
7433 2001-12-05 Allan Rae <rae@lyx.org>
7435 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7436 Works for 2.95.3, from what I understand of Garst's reports this should
7437 work for other g++ versions. We're screwed if the abs(int) definition
7438 changed between bugfix releases of gcc.
7440 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7442 * text.C: fix chapter label offset !
7444 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7447 * text.C: fix hfill at end of line, clean up
7449 2001-12-04 Juergen Vigna <jug@sad.it>
7451 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7452 that we force an update of the inset and it's owners if neccessary.
7454 2001-12-03 Juergen Vigna <jug@sad.it>
7456 * text.C (rowLast): simplified code
7458 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7460 * lyxfunc.C: fix show options on timeout
7462 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7464 * screen.C (topCursorVisible): scroll half a page when the cursor
7465 reached top of bottom of screen
7467 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7469 * minibuffer.C: deactivate on loss of focus
7471 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7473 * vspace.[Ch] (operator!=): add operator.
7475 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7477 * BufferView_pimpl.C: refuse to open an inset when
7478 there's a selection.
7480 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7482 * BufferView_pimpl.C: allow to click on RHS of full row insets
7484 2001-11-30 Juergen Vigna <jug@sad.it>
7486 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7487 insets for undo reasons.
7489 2001-11-28 André Pönitz <poenitz@gmx.net>
7491 * vspace.[Ch]: cosmetical changes
7493 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7503 * kbsequence.C: part re-write of old kb code
7506 * WorkArea.C: remove Lgb_bug_find_hack
7508 2001-11-30 José Matos <jamatos@fep.up.pt>
7510 * buffer.C (makeDocBookFile): add a comment to point a hack.
7511 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7512 Fixed a double write of labels.
7514 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7517 * LaTeX.h Fixed bug in LaTeX class where it would not
7518 re-run latex if no depfiles were changed, but the .dvi was removed.
7520 2001-11-28 André Pönitz <poenitz@gmx.net>
7522 * all the files from the change on 2001/11/26:
7523 use lyx::layout_type instead of LyXTextClass::size_type
7524 use lyx::textclass_type instead of LyXTextClassList::size_type
7526 2001-11-29 Juergen Vigna <jug@sad.it>
7528 * text.C: added support for paragraph::isFreeSpacing()
7530 * buffer.C: same as above
7532 * paragraph.h: inserted isFreeSpacing() function to enable
7533 FreeSpacing inside InsetERT.
7535 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7536 of the paragraph's in the cut/copy buffer to 0!
7538 * text2.C (removeRow): remove the assert as it can!
7540 * lyxtext.h: added helper function firstRow returning firstrow and
7541 made firstrow private again.
7543 * BufferView2.C (lockInset): don't relock if we're already locked!
7545 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7547 (removeRow): added Assert::(firstrow)
7549 * debug.C: forgot to add INSETTEXT here.
7551 2001-11-28 Juergen Vigna <jug@sad.it>
7553 * sp_spell.C (initialize): changed error text to more general
7554 spellchecker command use (not only ispell!)
7556 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7558 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7560 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7562 * vspace.C: initialise lyxgluelength on failure
7564 2001-11-28 Allan Rae <rae@lyx.org>
7566 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7567 declaration & definition that looks like a function declaration.
7569 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7571 * BufferView2.C (copy):
7572 (copyEnvironment): do not clear the selection when doing a copy.
7574 * text.C (paintFirstRow): compilation fix
7576 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7578 * tabular.C (Latex): correct line count when writing latex.
7580 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7582 * paragraph_pimpl.h:
7583 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7586 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7590 * LColor.C: change vfillline->added_space
7592 * text.C: add markers and text for added space
7594 * vspace.C: fix comment
7596 2001-11-28 André Pönitz <poenitz@gmx.net>
7598 * paragraph.C: whitespace changes
7599 * all the other files from the change on 2001/11/26:
7600 change *::pos_type into lyx::pos_type
7602 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7604 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7605 language of the document when inserting error insets.
7607 2001-11-26 André Pönitz <poenitz@gmx.net>
7609 * BufferView_pimpl.[Ch]:
7617 * paragraph_pimpl.[Ch]:
7620 * text2.C: reduce header dependencies, introduce type for positions
7622 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7624 * <various>: change to use Alert.h
7626 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7628 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7629 when encountering an unknown token.
7630 (readLyXformat2): Show an error message if there were unknown tokens.
7632 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7635 * BufferView_pimpl.C:
7639 * text2.C: use par->isInset()
7641 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7643 * paragraph_pimpl.h:
7644 * paragraph_pimpl.C: cleanup
7646 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7648 * text2.C (removeRow):
7649 * text.C (setHeightOfRow): remove useless (and costly) call to
7652 2001-11-20 Allan Rae <rae@lyx.org>
7654 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7655 Now need Inset*::checkInsertChar() to return true for appropriate
7656 cases so that the characters in the minibuffer will actually be
7659 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7661 * text.C: change the order of the includes.
7662 (workWidth): initialize it at once.
7663 (workWidth): make maxw unsigned
7664 (setHeightOfRow): remove unused variable (inset)
7665 (selectSelectedWord): remove unused variable (inset)
7666 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7668 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7670 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7671 server is not running.
7673 (closeConnection): add debug info when server is disabled.
7675 * ColorHandler.C (getGCForeground): send debug message to GUI
7678 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7680 * kbmap.C (bind): modify because return conventions of
7681 kb_sequence::parse have changed.
7683 * kbsequence.C (parse): only ignore spaces and not any stupid
7684 control character. This avoids tests like s[i] <= ' ', which are
7685 guaranteed to fail with 8bit characters and signed chars.
7686 Change return code to string::npos when there have been no error
7687 (0 was a bad idea when error is at first character)
7689 2001-11-14 José Matos <jamatos@fep.up.pt>
7692 * buffer.C (simpleDocBookOnePar): removed unused argument.
7694 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7696 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7697 insets which are part of a word. Paragraph::isLetter takes care of
7698 that now. Use Paragraph::isInset to identify insets.
7699 (selectSelectedWord): do not test for hyphenation break.
7701 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7702 that protected spaces are considered as spaces.
7704 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7707 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7710 * lyxserver.C: fix it. and small cleanup.
7712 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7714 * BufferView_pimpl.C: use inline helpers
7717 * LaTeXFeatures.C: fix typos
7720 * Spacing.C: move spacing_string into class
7722 * ToolbarDefaults.C: move stuff into namespace anon
7724 * layout.h: update enum
7726 * lyxfunc.C: use better debug
7728 * minibuffer.h: fix typo
7732 * WorkArea.C: add and use Debug::WORKAREA
7736 * text2.C: code re-organisation, inline helpers
7738 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7740 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7741 std::vector.empty().
7743 2001-11-09 Allan Rae <rae@lyx.org>
7745 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7746 '\n's after tables. Tabular and ERT inset work now makes this no
7749 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7752 * minibuffer.C: fix crash, improve drop-down completion
7754 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7757 * lyxserver.C: invalidate fd's when doing endPipe()
7759 2001-11-08 José Matos <jamatos@fep.up.pt>
7761 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7762 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7765 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7767 2001-11-07 José Matos <jamatos@fep.up.pt>
7770 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7773 * buffer.C (sgmlOpenTag):
7774 * buffer.C (sgmlCloseTag): removed debug info.
7776 * buffer.h (sgmlOpenTag):
7777 * buffer.h (sgmlCloseTag): made public.
7779 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7781 * buffer.C (saveParamsAsDefaults):
7782 * lyx_cb.C (MenuLayoutSave): remove
7784 * LyXAction.C (init):
7786 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7788 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7790 * buffer.C (setPaperStuff): removed from here...
7792 * bufferparams.C (setPaperStuff): ... and moved there.
7794 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7798 * XFormsView.C: add support for drop-down completion
7800 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7802 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7805 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7807 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7810 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7812 * lyx_main.C: change ref to known bugs
7814 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7816 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7817 to work around older babel problems.
7819 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7821 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7823 2001-10-24 Juergen Vigna <jug@sad.it>
7825 * tabular-old.C (ReadOld): below variable changes reflected.
7827 * tabular.[Ch]: added ltType struct for longtable header/footer
7828 defines and changed all instances where they are used. Added
7829 future support for double top/bottom rows.
7831 2001-10-24 José Matos <jamatos@fep.up.pt>
7833 * buffer.h (docbookHandleCaption):
7834 * buffer.C (docbookHandleCaption): removed unused function.
7835 (makeDocBookFile): moved docbook supported version to v4.1.
7837 2001-10-24 José Matos <jamatos@fep.up.pt>
7840 * tabular.C (docbookRow): new function to export docbook code of a row.
7841 (DocBook): now honors the longtable flags.
7843 2001-10-23 José Matos <jamatos@fep.up.pt>
7846 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7847 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7849 * buffer.C (makeLinuxDocFile):
7850 (makeDocBookFile): reworked the preamble, more clean, and with
7851 support for lyx defined entities. Changed the document declaration
7852 to be more XML friendly.
7854 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7855 if we need to output XML that should be done with a filter.
7857 2001-10-22 Juergen Vigna <jug@sad.it>
7859 * sp_pspell.h (class PSpell): add alive function needed in the
7860 controller to see if the spellchecker could be started.
7862 2001-10-22 Juergen Vigna <jug@sad.it>
7864 * buffer.C (insertStringAsLines): modify the font for inserting
7865 chars in certain conditions by calling checkInsertChar(font).
7867 2001-10-19 Juergen Vigna <jug@sad.it>
7869 * text.C (workWidth): use getRow instead of wrong algorithm.
7870 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
7872 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
7877 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
7879 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7881 * text.C (workWidth): do not search for the exact row when
7882 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
7883 optimization for big documents.
7885 2001-10-18 Juergen Vigna <jug@sad.it>
7887 * text.C (workWidth): new function with added Inset * parameter.
7889 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7891 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
7893 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
7894 change return type of getColumnNearX.
7897 * text.C (changeRegionCase): use uppercase/lowercase instead of
7900 (rightMargin): simplify code by factoring out the uses of
7905 (appendParagraph): use Paragraph::size_type
7907 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7909 * vspace.C (asLatexString): add a missing break
7911 2001-10-15 Herbert Voss <voss@perce.de>
7913 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
7915 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7917 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
7920 2001-10-10 André Pönitz <poenitz@gmx.net>
7922 * lyxfunc.C: removed greek_kb_flag.
7924 2001-10-10 Herbert Voss <voss@perce.de>
7926 * lyx_main.C: delete global string help_lyxdir.
7928 2001-10-09 Herbert Voss <voss@perce.de>
7930 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
7932 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
7934 * lyx_main.C: added global string help_lyxdir.
7936 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
7938 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
7940 * lyxrc.C (set_font_norm_type): support iso8859-4
7942 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
7944 * LaTeX.C (deplog): add another regex for MikTeX
7946 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
7948 * lyxrc.C (set_font_norm_type): support iso8859-3
7950 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7952 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
7954 * LaTeXFeatures.C: remove special case of french and index
7956 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
7957 before \begin{document}). This solves several incompatibilities.
7959 2001-10-03 Garst Reese <reese@isn.net>
7961 * lyx_cb.C: change CheckTex error msg.
7963 2001-10-03 José Matos <jamatos@fep.up.pt>
7965 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
7967 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7969 * .cvsignore: update
7971 * lyx_main.C (commandLineVersionInfo): use new style version info.
7973 * buffer.C (writeFile):
7976 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
7978 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
7980 * version.h: update to use stuff in version.C
7982 * version.C.in: new file. Contains version information determined
7983 at compile time. This is a merging of version.h and
7986 2001-10-03 Juergen Vigna <jug@sad.it>
7988 * BufferView_pimpl.C (update): don't change "dirty" status in
7991 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
7993 * WorkArea.C (c-tor): re-position version string slightly.
7995 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
7997 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
7998 revert to previous code.
8000 WorkArea.[Ch]: (show, destroySplash): methods removed.
8002 WorkArea.C: rework code so that it's an amalgam of the codes before and
8003 after the splash screen was moved to WorkArea.
8005 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8008 * vspace.C (inPixels):
8011 * buffer.C (insertStringAsLines):
8012 (asciiParagraph): fix types to be large enough
8014 * lyxlex_pimpl.h: change member status from short to int
8016 * layout.h: fix type of endlabeltype
8019 * kbsequence.C (parse): change return type to string::size_type
8021 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8024 * Bullet.C (bulletSize):
8025 (bulletEntry): do not use short ints as parameters
8027 * BufferView2.C (insertLyXFile): change a char to an int.
8029 * WorkArea.C (WorkArea): remove unneeded floats in computation
8031 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8033 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8035 * paragraph.C (asString): Do not ignore newline/hfill chars when
8036 copying to the clipboard.
8038 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8040 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8041 after a multi-line inset.
8043 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8045 * paragraph.C (validate): Set NeedLyXFootnoteCode
8047 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8049 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8050 and decrease-error to decrease.
8052 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8054 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8055 it more readable (should be equivalent)
8057 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8059 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8061 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8063 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8064 of a cursor (row, etc.) after a character has been deleted
8065 (deleteEmptyParagraphMechanism): call the method above on _all_
8066 cursors held by the LyXText when a double space has been
8069 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8071 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8073 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8075 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8076 background. Use greyOut() and the new show() methods to toggle between
8077 the foreground and background. Add code to remove the splash after
8078 its initial showing.
8080 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8081 (create_forms): no longer call Dialogs::showSplash.
8083 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8085 * .cvsignore: add version_info.h
8087 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8089 * version_info.h.in: new file
8091 * Makefile.am: add version_info.h.in
8093 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8094 version_info.h instead of VERSION_INFO
8096 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8098 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8099 The ERT inset now returns string().
8101 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8103 * lyxtext.h, text.C (selectNextWord): renamed as
8104 selectNextWordToSpellcheck.
8106 * text.C (selectNextWordToSpellcheck): Modified to not select
8107 words inside an ERT inset.
8109 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8111 * lyx_cb.C (MenuLayoutSave): change a bit the question
8113 * sp_base.h: include <sys/types.h>
8115 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8117 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8119 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8121 * several files: fix typos in user-visible strings
8123 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8125 * text2.C (pasteSelection): do not set the selection, since it
8126 will be cleared later. Actually, the intent was to fix the way the
8127 selection was set, but I figured rmoving the code was just as good.
8129 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8131 * FontLoader.C (available): Check if font is available without
8134 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8136 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8138 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8140 * lyxrc.[Ch]: added display_graphics variable and associated code.
8142 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8144 * bufferparams.C (hasClassDefaults): new method. Returns true if
8145 the buffer parameters correspond to known class defaults
8147 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8149 * XFormsView.C (show): set minimum size to the main window.
8151 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8153 * text2.C (copySelection):
8155 * lyxfind.C (LyXReplace):
8156 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8157 LyXText::selectionAsString.
8159 * paragraph.C (asString): add "label" argument to the second form
8161 * text2.C (selectionAsString): add "label" argument and pass it to
8162 Paragraph::asString.
8164 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8166 * lyx_main.C (commandLineHelp): remove version information
8168 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8170 * lyx_main.C: add -version commandline option
8172 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8174 * paragraph.h: make the optional constructor arg required instead.
8175 some modifications to other files because of this.
8177 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8179 * lyxserver.C (C_LyXComm_callback): make it static
8181 * lyx_main.C (error_handler): make it static
8183 * lyx_gui.C (LyX_XErrHandler): make it static
8185 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8187 * WorkArea.C: make the extern "C" methods static.
8189 * Makefile.am (lyx_LDADD): simplify
8191 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8193 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8194 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8196 * LyXAction.C (init):
8197 * lyxfunc.C (dispatch): associated code removal.
8199 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8201 * lyxfont.h (isSymbolFont): shut off warning
8203 * text.C (setHeightOfRow):
8204 (getVisibleRow): fix crash with empty paragraphs which have a
8207 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8209 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8212 2001-09-04 José Matos <jamatos@fep.up.pt>
8215 * tabular.C (docbook): rename docBook method to docbook.
8217 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8219 * Makefile.am: add dependencies to main.o.
8221 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8223 * FontLoader.C (available): Return false if !lyxrc.use_gui
8225 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8227 * FontInfo.C (query):
8228 * converter.C (view):
8229 * importer.C (Import):
8230 * exporter.C (Export): Can not -> cannot.
8232 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8234 * BufferView_pimpl.C: allow to create index inset even if
8237 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8239 * buffer.C (getLists): replace boost::tie code with an explicit pair
8240 as boost::tie can break some compilers.
8242 * iterators.h: Added a std:: declaration to the return type of
8245 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8247 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8250 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8252 * iterators.[Ch]: New files. Provide paragraph iterators.
8254 * buffer.C (changeLanguage): Use paragraph iterators.
8255 (isMultiLingual): ditto
8257 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8259 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8261 * FontLoader.C: Support for cmr font.
8263 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8265 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8266 (available): New method.
8268 * FontInfo.C (getFontname): Use scalable fonts even when
8269 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8272 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8274 * converter.C (Formats::view): reverted! Incorrect fix.
8276 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8278 * converter.C (Formats::view): only output the -paper option
8279 if the dvi viewer is xdvi, thereby fixing bug #233429.
8281 2001-08-23 Herbert Voss <voss@perce>
8283 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8285 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8287 * Spacing.h (Spacing): Set space to Default on in the default
8290 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8292 * vc-backend.h (RCS::versionString): add RCS to version
8293 (CVS::versionString): add CVS to version
8295 * vc-backend.C (scanMaster): do not add CVS to version.
8296 (scanMaster): do not add RCS to version
8298 * lyxvc.C (versionString): new method
8300 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8302 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8304 * Spacing.C (set): initialize fval
8306 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8308 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8311 2001-08-16 Juergen Vigna <jug@sad.it>
8313 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8315 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8317 * BufferView_pimpl.C:
8320 * text2.C: setParagraph takes linespacing now
8322 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8324 * LyxAction.C: add internal LFUN_CITATION_INSERT
8326 * LyXView.C: actually apply fix
8328 * bufferlist.C: fix open non-existent file
8330 * lyxfind.C: fix indentation
8332 * lyxfunc.C: remove unneeded assert, fix typo
8334 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8336 * MenuBackend.C: use "Floatname List"
8338 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8340 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8341 when converting LaTeX layout to insetERT.
8342 Generate a non-collapsed float when reading old float
8344 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8346 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8349 2001-08-13 Juergen Vigna <jug@sad.it>
8351 * text.C (fill): return 0 instead of 20 as this seems to be the more
8354 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8356 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8359 2001-08-13 Juergen Vigna <jug@sad.it>
8361 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8363 (SearchBackward): comment out the unlocking of the inset_owner this
8364 should not be needed!
8366 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8368 * Many files: Remove inherit_language, and add latex_language
8370 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8373 2001-08-10 Juergen Vigna <jug@sad.it>
8375 * text.C (prepareToPrint): fixed hfill-width in draw!
8377 * BufferView2.C (selectLastWord): save the selection cursor as this
8378 now is cleared in the function LyXText::clearSelection!
8380 2001-08-08 Juergen Vigna <jug@sad.it>
8382 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8383 BACKSPACE type functions.
8385 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8386 is only cutted from the document but not put in the cut-buffer, where
8387 still the old stuff should be.
8389 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8391 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8393 * tabular.C (SetWidthOfCell): fixed special case where the width
8395 (LeftLine): handle '|' in align_special.
8397 (LeftAlreadyDrawed): ditto
8398 (SetWidthOfCell): ditto
8400 2001-08-07 Juergen Vigna <jug@sad.it>
8402 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8404 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8406 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8407 * lyxlex.[hC]: ditto
8409 2001-08-06 Juergen Vigna <jug@sad.it>
8411 * text.C (getVisibleRow): fix up row clearing a bit.
8413 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8415 * minibuffer.C: make sure the X server sees the changes in the input.
8417 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8419 * paragraph.C (getFont): split into...
8420 (getLabelFont): this
8421 (getLayoutFont): and this
8422 * paragraph_pimpl.C (realizeFont): calling this
8424 * text2.C (getFont): split into...
8425 (getLayoutFont): this
8426 (getLabelFont): and this
8427 (realizeFont): all three calling this
8429 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8432 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8434 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8436 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8438 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8439 layouts from the Quote inset insertion.
8441 2001-08-03 Juergen Vigna <jug@sad.it>
8443 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8445 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8446 only if status not is already CHANGED_IN_DRAW (second level).
8448 * text.C (draw): don't set the need_break_row when inside an
8451 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8453 * buffer.C (parseSingleLyXformat2Token): handle more latex
8456 * bufferview_funcs.[hC]: change function names to
8457 begin with small char, adjust other files.
8459 2001-08-02 André Pönitz <poenitz@gmx.net>
8462 BufferView_pimpl.C: remove broken special code for math-greek
8464 2001-08-02 Juergen Vigna <jug@sad.it>
8466 * BufferView_pimpl.C (update): redone this function so that we
8467 update the text again if there was a CHANGE_IN_DRAW.
8469 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8470 (drawFromTo): added a new internal bool which is used by draw() and
8472 (general): some cursor drawing problems fixed.
8474 2001-08-01 Juergen Vigna <jug@sad.it>
8476 * lyxfind.C (LyXFind): fixed
8477 (SearchForward): ditto
8478 (SearchBackward): ditto
8480 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8481 spurius drawing of the cursor in the main area.
8483 * text2.C (status): small fix which could lead to a segfault!
8484 (clearSelection): remove unneeded BufferView param.
8486 2001-08-01 André Pönitz <poenitz@gmx.net>
8488 * lyxfunc.C: small change due to changed mathed interface
8490 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8492 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8494 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8496 * lyxfunc.c: fail gracefully if file doesn't exist
8501 * BufferView_pimpl.C: IsDirWriteable() proto changed
8503 * LyXView.C: fix updateWindowTitle() to store the last title
8505 2001-07-31 Juergen Vigna <jug@sad.it>
8507 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8508 the font (wrong since using of Paragraph::highestFontInRange).
8510 * paragraph.C (highestFontInRange): added a default_size parameter.
8512 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8513 (setHeightOfRow): reformat
8515 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8517 * converter.[hC] + affected files: move to (inital-char)lowercase
8520 * ParagraphParameters.C (ParagraphParameters): remove commented code
8522 * PainterBase.[Ch]: remove commented code
8524 * LaTeXFeatures.h: add "bool floats" for float.sty
8526 * LaTeXFeatures.C (LaTeXFeatures): init floats
8527 (require): handle float
8528 (getPackages): do it with floats
8530 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8532 * BufferView_pimpl.C (Dispatch): improve handling of
8533 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8535 * commandtags.h: #include lyxfont.h here temporarily to avoid
8538 * bufferlist.h: include LString.h here.
8540 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8542 * text2.C (getStringToIndex): new method.
8544 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8546 * *: Reduced header file dependencies all over.
8548 2001-07-30 Baruch Even <baruch@lyx.org>
8550 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8552 2001-07-29 Baruch Even <baruch@lyx.org>
8554 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8556 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8558 * ParameterStruct.h (endif): add a default constructor to make
8559 sure that all variables is initialized.
8561 * ParagraphParameters.C (ParagraphParameters): adjust
8563 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8565 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8566 index; also, check that there is something to index, and that it
8567 does not span over several paragraphs.
8568 (doubleClick): use WHOLE_WORD_STRICT for double click.
8570 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8572 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8575 2001-07-26 Baruch Even <baruch@lyx.org>
8577 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8578 an InsetFig figure, backwards compatible reading of old figure code.
8580 2001-07-27 Juergen Vigna <jug@sad.it>
8582 * text2.C: font.realize function adaption.
8584 * text.C (draw): add a warnings lyxerr text if needed.
8586 * layout.C: font.realize function adaption.
8588 * language.C: add inherit_language and implement it's handlings
8590 * bufferview_funcs.C (StyleReset): remove language parameter from
8591 font creation (should be language_inherit now).
8593 * bufferparams.C (writeFile): handle ignore_language.
8595 * paragraph.C (getFontSettings): the language has to be resolved
8596 otherwise we have problems in LyXFont!
8598 * lyxfont.C (lyxWriteChanges): added document_language parameter
8599 (update): removed unneeded language parameter
8601 * paragraph.C (validate): fixed wrong output of color-package when
8602 using interface colors for certain fonts in certain environments,
8603 which should not seen as that on the final output.
8605 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8607 * BufferView_pimpl.C:
8612 * LyXAction.C: add thesaurus support
8615 * lyxfind.C: add "once" parameter, for thesaurus, to not
8616 move to the next match
8618 2001-07-26 Juergen Vigna <jug@sad.it>
8620 * lyxfont.C (realize): honor ignore_language too!
8623 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8625 * text.C (draw): one place more for ignore_language to not draw
8628 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8630 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8632 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8634 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8635 the minipage conversion problem.
8637 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8639 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8642 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8644 * BufferView.h: don't forward declare WorkArea
8646 * BufferView.C: don't include WorkArea.h
8648 2001-07-25 André Pönitz <poenitz@gmx.net>
8652 * lyxfunc.C: new LFUN 'math-space'
8654 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8656 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8658 * text2.C (toggleInset): call open/close
8660 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8662 * lyxfunc.C (dispatch): add debug for the disabled case
8664 * font.C (buttonText): make similar to rectText
8666 * buffer.C (readInset): comment out parsing of insetlist and
8669 * PainterBase.C (rectText): small correction
8671 * BufferView_pimpl.C: comment out insettheorem and insetlist
8672 * LyXAction.C: ditto
8673 * commandtags.h: ditto
8675 2001-07-24 Juergen Vigna <jug@sad.it>
8677 * text.C (draw): honor the ignore_language.
8679 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8681 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8683 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8686 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8688 * lyxtext.h: remove unused (and unimplemented) methods
8690 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8692 * text.C (getVisibleRow): honor background color
8695 * Painter.h: remove default color argument for fillRectangle
8697 * text.C (backgroundColor): new method
8699 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8701 * text.C (getVisibleRow): adjust
8703 * font.[Ch] (rectText): new method, metrics
8704 (buttonText): new method, metrics
8706 * PainterBase.[hC]: make rectText and buttonText always draw and take
8709 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8711 * ToolbarDefaults.C (read):
8712 * MenuBackend.C (read): allow escaping in all strings
8714 * BufferView_pimpl.C (insertAndEditInset): new method.
8715 (Dispatch): use insertAndEditInset whenever appropriate.
8717 * BufferView_pimpl.C (insertNote): removed
8719 * BufferView_pimpl.C (smartQuote): new method, moved from
8720 BufferView; if an insetquote cannot be inserted, insert a '"'
8723 * BufferView2.C: remove insertCorrectQuote();
8725 * lyxfunc.C (getStatus): Add support for all remaingin
8728 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8730 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8731 command (necessary to pass " as parameter of self-insert.
8733 * text.C (selectWordWhenUnderCursor):
8734 (selectWord): add word_location parameter
8735 (selectWordWhenUnderCursor): same + remove special code for word
8737 (selectNextWord): use kind() to guess type of insetspecialchar,
8740 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8741 (insertErtContents): create ert insets as collapsed.
8742 (readInset): better compatibility code for Info inset.
8744 2001-07-20 Juergen Vigna <jug@sad.it>
8746 * lyxfunc.C (dispatch): use always LyXFind now!
8748 * text2.C (init): add a reinit flag so that the LyXText can be
8749 reinited instead of deleted and reallocated (used in InsetText).
8751 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8757 2001-07-18 Juergen Vigna <jug@sad.it>
8759 * text.C (selectNextWord): handle insets inside inset by calling
8760 always the bv->text functions so that we can go up the_locking_inset!
8762 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8763 in strange locations when inside an inset!
8765 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8766 handling to include insets.
8768 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8770 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8772 * LyXAction.C (init):
8774 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8775 LIGATURE_BREAK, since the name is so stupid.
8777 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8779 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8782 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8784 * sp_form.[Ch]: remove.
8786 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8788 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8791 * src/buffer.C (readInset): ditto.
8793 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8795 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8796 menuSeparator(), endOfSentenceDot(), ldots() and
8797 hyphenationPoint(), which are therefore removed.
8798 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8800 * LyXAction.C (init):
8801 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8803 * paragraph.C (getWord): removed.
8805 * BufferView_pimpl.C (Dispatch): use last word or selection for
8806 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8808 * lyx_main.C (queryUserLyXDir): do not ask before creating
8809 user_dir, except if it has been named explicitely.
8811 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8813 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8814 a document of zero size.
8816 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8818 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8819 approriately in the c-tor and in require().
8820 (getPackages): output the appropriate LaTeX for natbib support.
8822 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8823 variables "use_natbib" and "use_numerical_citations" when reading the
8825 (readInset): read the various natbib cite commands.
8826 (validate): white-space change.
8828 * bufferparams.[Ch]: new variables "bool use_natbib" and
8829 "bool use_numerical_citations".
8830 (writeFile): output them in the LyX file.
8832 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8834 * lyxfunc.C (getStatus): add support for all the inset insertion
8837 * text2.C (insertInset):
8838 * paragraph.C (insetAllowed):
8839 * BufferView_pimpl.C (insertInset): update to take in account the
8840 renaming of insertInsetAllowed
8842 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8844 * text2.C (getInset): new method. returns inset at cursor position.
8846 * BufferView_pimpl.C (Dispatch): changes because of this.
8848 * LyXAction.C (init): rename open-stuff to inset-toggle.
8850 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8852 * text2.C (toggleInset): renamed from openStuff; use
8855 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8857 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8859 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
8861 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
8863 * buffer.C (readLyXformat2): Add filename to the error dialog
8865 2001-07-18 Juergen Vigna <jug@sad.it>
8867 * tabular.C (GetCellNumber): put an assert here instead of the check!
8869 2001-07-17 Juergen Vigna <jug@sad.it>
8871 * BufferView_pimpl.C (toggleSelection): adapted too.
8873 * text.C (selectNextWord): adapted for use with insets.
8874 (selectSelectedWord): ditto
8876 2001-07-17 Juergen Vigna <jug@sad.it>
8878 * sp_spell.C (PSpell): fix initialitation order.
8880 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8882 * paragraph.C: spacing
8884 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
8886 * sp_spell.C: repair language selection for pspell
8888 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8890 * lyxfunc.h: change more methods to begin with lower char.
8892 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
8894 * buffer.C (parseSingleLyXformat2Token): Generate error insets
8895 for unknown layouts.
8897 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
8899 * buffer.C (readLyXformat2): Generate an error dialog if there are
8902 2001-07-16 Juergen Vigna <jug@sad.it>
8904 * sp_spell.C: always compile ISpell part.
8906 * lyxrc.C: added use_pspell entry and it's handling.
8908 2001-07-13 Juergen Vigna <jug@sad.it>
8910 * sp_spell.C: removed double includes.
8912 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
8914 Consistent use of Lsstream.h:
8915 * Lsstream.h: added using std::stringstream for consistencies sake.
8917 * buffer.C: removed using std::stringstream
8919 * lyxfont.C (stateText):
8920 * paragraph.C (asString):
8921 * text.C (selectNextWord, selectSelectedWord):
8922 * text2.C (setCounter):
8923 * vspace.C (asString, asLatexString):
8924 std::ostringstream -> ostringstream.
8926 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8928 * LyXAction.C: add LFUN_HELP_ABOUTLYX
8929 * commandtags.h: add LFUN_HELP_ABOUTLYX
8930 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
8932 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
8934 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
8936 * lyx_gui_misc.C: remove spellchecker
8937 * lyxfunc.C: showSpellchecker
8939 * sp_ispell.h: added
8940 * sp_pspell.h: added
8942 * sp_form.[Ch]: removed
8943 * spellchecker.[Ch]: removed
8945 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
8947 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
8949 (simpleTeXSpecialChars): Simply print the input character without
8950 any special translation if pass_thru is set.
8952 * layout.h: Added bool pass_thru to layout class for being able to
8953 implement pass through of a paragraph for Literate Programming.
8955 * layout.C: add LT_PASS_THRU to LayoutTags enum.
8956 * layout.C (LyXLayout): set pass_thru to flase in constructor.
8957 * layout.C (Read): add "passthru" to list of layout tags and add
8958 code to set the pass_thru boolean when it is read.
8960 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8962 * trans_decl.h: remove allowed from KmodInfo
8964 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
8968 * paragraph_pimpl.C (erase): use boost::prior
8970 * Painter.C (text): use data() instead of c_str() when length is
8972 * WorkArea.C (putClipboard): ditto
8973 * font.h (width): ditto
8975 * BufferView2.C: use it-> instead of (*it). for iterators
8977 * paragraph_pimpl.C: ditto
8978 * paragraph.C: ditto
8979 * minibuffer.C: ditto
8984 * converter.C: ditto
8986 * Variables.C: ditto
8987 * TextCache.C: ditto
8988 * MenuBackend.C: ditto
8989 * LyXAction.C: ditto
8991 * FloatList.C: ditto
8993 * ColorHandler.C (LyXColorHandler): ditto
8995 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8997 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
8999 * text2.C (openStuff): reintroduce this method (which had been
9000 nuked in NEW_INSETS frenzy).
9002 * lyxfunc.C (Dispatch): when an action has not been handled, use
9003 its name in the error message, not its number.
9005 * paragraph.C (inInset): change method name to begin with lowercase.
9008 * text2.C: updates because of this.
9010 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9012 * ToolbarDefaults.C (add): add spaces in error message
9014 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9016 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9017 (readLyXformat2): rename return_par to first_par, use lyxlex's
9018 pushToken and remove the manual push handling.
9019 (parseSingleLyXformat2Token): add another ert comp. variable:
9020 in_tabular, rename return_par to first_par. handle newlines better
9022 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9024 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9026 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9028 * text2.C (getParFromID): removed
9030 * buffer.C (getParFromID): new method moved form lyxtext.
9031 * BufferView2.C (insertErrors): adjust
9032 (setCursorFromRow): adjust
9033 * BufferView_pimpl.C (restorePosition): adjust
9034 * lyxfunc.C (Dispatch): adjust
9035 * undo_funcs.C (textUndo): adjust
9037 (textHandleUndo): adjust
9038 (textHandleUndo): adjust
9040 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9042 * buffer.C: up' the LYX_FORMAT
9044 * lyxfont.h: turn NO_LATEX on as default
9046 * buffer.C (insertErtContents): new methods of tex style compability.
9047 (parseSingleLyXformat2Token): use it several places.
9048 * tabular.C (OldFormatRead): and here
9050 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9052 * text2.C: remove some commented code.
9055 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9056 * trans.C: changes because of the above.
9058 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9060 * text2.C (setCounter): Fix counters bug with bibliography layout.
9062 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9064 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9065 own member functions
9066 (simpleTeXSpecialChars): ditto
9068 2001-07-06 Juergen Vigna <jug@sad.it>
9070 * a lot of files: changed the access to LyXText::status and the
9071 call of undo-functions.
9073 * undo.[Ch]: added a inset_id to the undo informations.
9075 * undo_funcs.[Ch]: added and moved here all undo functions.
9077 * lyxtext.h: give the status enum a weight, made status_ a private
9078 variable and made accessor functions for it, removed the whole bunch
9079 of undo-functions as they are now in their own file, make some
9080 functions publically available. Added function ownerParagraph with
9083 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9084 made InInset() a const function, added getParFromID() function.
9086 * buffer.[Ch]: added const version for inset_iterator functions,
9087 added getInsetFromID() function.
9089 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9090 changed undo functions for new version.
9092 2001-07-05 Juergen Vigna <jug@sad.it>
9094 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9095 unknow mechanism does not call the proper constructor but only this
9096 one also if I request the other!?
9098 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9100 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9102 * text2.C (LyXText): use initialization lists.
9104 * lyxtext.h (Selection): initialize set_ and mark_
9105 (init): remove method
9107 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9109 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9111 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9113 * screen.[Ch]: change method names to begin with lowercase
9115 * BufferView_pimpl.C (updateScrollbar): simplify further and
9116 hopefully make it a bit faster.
9118 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9120 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9121 calling directly xforms functions.
9123 * Painter.C (Painter):
9124 * lyx_cb.C (MenuWrite):
9125 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9128 * lyx_gui.C: remove bogus guiruntime extern declaration.
9130 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9132 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9134 (redoDrawingOfParagraph): ditto
9135 (redoParagraphs): ditto
9136 (cutSelection): don't create a object for CutAndPaste use the
9137 static method directly
9138 (pasteSelection): ditto
9140 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9143 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9145 * modifications to some other files because of this.
9147 * Makefile.am (lyx_SOURCES): add XFormsView
9149 * XFormsView.[Ch]: new files
9151 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9152 the main window. Move the gui dependent stuff to XFormsView
9154 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9156 * tabular.C (GetCellInset): update cur_cell also in the row/col
9157 version of this function.
9159 * lyxfunc.C: no need to include figure_form.h here.
9165 * lyxvc.C: no need to include forms.h here.
9167 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9169 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9171 * lyxfunc.C (Dispatch):
9173 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9174 constructor argument.
9176 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9178 * paragraph.C (Paragraph): dont't clear, and just set layout.
9179 (makeSameLayout): use params's copy contructor.
9181 * ParagraphParameters.[Ch] (makeSame): delete method
9183 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9185 * Variables.[Ch]: fix indentation, rename set to isSet
9187 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9189 * lyxfunc.C (Dispatch): fix typo
9191 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9193 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9196 * bufferlist.C: include assert.h for emergencyWrite().
9198 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9200 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9201 give up at last (bug #425202) !
9203 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9209 * spellchecker.C: strip spellchecker options and bring up
9210 preferences tab instead
9212 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9214 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9215 the istringstream constructor
9217 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9219 * paragraph.C (getLayout): fix return value
9221 * paragraph.h: do not declare getLayout as inline.
9223 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9225 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9227 * lyxcursor.h (operator<): new func
9228 (operator>): new func
9229 (operator>=): new func
9230 (operator<=): new func
9232 * text.C (changeCase): use selection.start and selection.end
9233 (changeRegionCase): require from to be <= to. Require par to be a
9236 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9238 2001-06-27 Juergen Vigna <jug@sad.it>
9240 * text.C (cursorLeftOneWord): changed to return the cursor and added
9241 overlay with BufferView * parameter which calls this one.
9243 (selectWord): use new getWord function.
9244 (changeCase): renamed from changeWordCase as and extended to work
9247 * lyxtext.h: added enum word_location
9249 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9250 changeCase as this operates now also on selections.
9252 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9254 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9256 * many files: send debug output to Debug::INFO instead of
9259 * converter.C (View):
9261 (Move): send debug output to Debug::FILES instead of console.
9263 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9265 * lyxfunc.C (getStatus): use func_status
9267 * func_status.h: new header, describing the results of
9270 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9273 2001-06-25 The LyX Project <jug@sad.it>
9275 * buffer.C (sgmlOpenTag):
9277 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9279 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9281 * text2.C: remove some dead code
9283 * tabular.C (GetCellInset): store the last cell checked (gotten)
9285 * tabular.h: add the helper for the speedup
9287 * lyxtext.h: remove some dead code
9289 2001-06-26 The LyX Project <Asger>
9291 * paragraph.C: Change export to LaTeX of alignment to
9292 \begin{center} and family for better roundtrip work with reLyX.
9294 * Tune the math drawing a bit.
9296 2001-06-25 The LyX Project <Asger>
9298 * LColor.C (LColor): New color for math background. New color
9301 2001-06-25 The LyX Project <jug@sad.it>
9303 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9306 * bufferlist.C (newFile): do not restrict to files ending with
9309 * BufferView_pimpl.C (MenuInsertLyXFile):
9311 2001-06-24 The LyX Project <jug@sad.it>
9313 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9316 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9318 * lyxtext.h: rename most methods to begin with a small char.
9319 Lots of changes because of this.
9321 * paragraph.C (Paragraph): do not call fitToSize
9322 (erase): call Pimpl::erase
9323 (insertChar): call Pimpl::insertChar
9324 (insertInset): call Pipl::insertInset
9325 (breakParagraph): do not call fitToSize
9326 (breakParagraphConservative): do not call fitToSize
9327 (fitToSize): remove method
9329 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9331 2001-06-24 The LyX Project <Asger>
9333 * Fix Qt compilation^2
9335 2001-06-24 The LyX Project <jug@sad.it>
9337 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9338 depthHook(getDepth()-1).
9341 * ParagraphParameters.h:
9342 * ParameterStruct.h: change type of depth to unsigned int ==
9343 depth_type. Many adaptations to other files before of that.
9345 2001-06-24 The LyX Project <Asger>
9347 * Fix Qt compilation.
9349 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9351 * paragraph.h: renamed several methods to begin with small letter.
9352 several changes to many parts of the code because of this.
9354 2001-06-23 The LyX Project <jug@sad.it>
9356 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9357 rewritten to discard all double spaces when KeepEmpty is off
9358 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9359 to only handle newlines but not fiddle with spaces and friends.
9361 * lyxfunc.C (MenuNew): when doing 'new from template', use
9362 template_path as default directory
9364 2001-06-23 The LyX Project <Asger>
9366 * Clean-up of header file includes all over
9367 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9369 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9371 * paragraph.h: renamed from lyxparagraph.h
9373 2001-06-23 Asger <lyx@violet.home.sad.it>
9375 * Buffer.h: Removed Buffer::resize
9376 * BufferList.h: Removed BufferList::resize
9377 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9378 the document lazily when we change the width, or the font settings.
9380 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9382 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9384 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9386 * buffer.h: remove out of date comment
9388 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9391 * screen.C: fix "theoretical" GC leak
9393 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9395 * LaTeX.C (scanAuxFile):
9396 (deplog): remove trailing \r when reading stream (useful under
9399 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9401 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9402 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9403 and BufferView::theLockingInset(Inset*), so should use them and not
9404 access bv_->text->the_locking_inset directly.
9406 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9408 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9411 * tex-defs.h: remove old unused file
9413 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9415 * BufferView_pimpl.C: fix typo, remove minibuffer message
9416 when buffer has loaded
9418 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * lyxfunc.C (Dispatch): use stringstream
9421 (MenuNew): use stringstream
9422 (Open): use stringstream
9424 * importer.C (Import): use stringstream
9426 * bufferview_funcs.C (CurrentState): use stringstream
9428 * LaTeX.C (run): use stringstream
9430 * BufferView_pimpl.C (savePosition): use stringstream
9431 (restorePosition): use stringstream
9432 (MenuInsertLyXFile): use stringstream
9434 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9447 * vspace.C: removed // -*- C++ -*- as first line.
9450 * version.h: added // -*- C++ -*- as first line.
9452 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9454 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9456 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9459 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9461 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9464 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9466 * gettext.C: include LString.h even when --disable-nls is on.
9468 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9470 * converter.h (Get): changed argument type from int to
9471 FormatList::size_type to avoid unnecessary conversion.
9473 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9476 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9478 * gettext.h: include LString.h even when --disable-nls is on.
9480 2001-06-07 Juergen Vigna <jug@sad.it>
9482 * text.C (BreakAgain): subst spaces with tabs.
9484 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9485 (resizeInsetsLyXText): set force on resizeLyXText.
9487 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9489 * gettext.h (gettext_init):
9490 (locale_init): use a real definition instead of a macro
9492 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9494 * Bufferview_pimpl.C:
9496 * LColor.C: further lcolor tidies
9498 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9500 * BufferView_pimpl.C (updateScrollbar): simplify.
9502 * BufferView2.C: don't include insets/insetinfo.h, change
9503 prototype for insertInset and call the Pimpl version. let
9504 updateInset call Pimpl version.
9506 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9507 gotoInset to BufferView::Pimpl
9509 2001-06-01 Juergen Vigna <jug@sad.it>
9511 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9512 inside a LockingInset (is the update needed at all?).
9514 2001-05-31 Juergen Vigna <jug@sad.it>
9516 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9517 here not the old one otherwise how should we compare it afterwards
9520 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9525 * FontInfo.C: bring C functions into global namespace when
9528 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9530 * LString.h: make sure config.h has been loaded before LString.h.
9532 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9533 (one for each char read by EatLine!).
9535 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9538 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9540 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9541 to the same as the par we break from
9543 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9545 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9547 * MenuBackend.C (expand): also create menu entries for wide
9548 versions of the floats.
9550 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9552 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9554 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9555 frontends/Makefile.am
9561 * tabular.C (getTokenValue): add std::
9563 * tabular-old.C (getTokenValue): add std::
9564 (getTokenValue): ditto
9565 (getTokenValue): ditto
9567 * screen.C (ToggleSelection): adjust
9569 * lyxtext.h: put selection cursors inside a Selection struct.
9571 * lyxfunc.C (moveCursorUpdate): adjust
9573 * lyxfont.C (latexWriteStartChanges): add std::
9577 * font.h: delete with(char const *, LyXFont const &)
9579 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9581 * FontInfo.C (getFontname): add std::
9583 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9584 (workAreaButtonPress): adjust
9585 (tripleClick): adjust
9587 (moveCursorUpdate): adjust
9590 * BufferView2.C (gotoInset): adjust
9592 2001-05-30 Juergen Vigna <jug@sad.it>
9594 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9595 to check pspell I add this as default as I now have new pspell
9596 libraries and they seem to use this.
9598 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9600 * text2.C (CutSelection): make the cursor valid before the call to
9603 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9605 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9606 relied on 0 terminated strings and other horrors. Bug found due to
9607 the new assert in lyxstring!
9609 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9612 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9614 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9617 * lyxfunc.C (processKeySym): change method of getting to the
9620 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9621 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9622 * BufferView_pimpl.[Ch]: here as private methods.
9624 2001-05-28 Juergen Vigna <jug@sad.it>
9626 * text.C (SetHeightOfRow): added the update() call again as it is
9627 needed to initialize inset dimensions!
9629 2001-05-16 Juergen Vigna <jug@sad.it>
9631 * text2.C (SetCharFont): Add new function with BufferView * and
9632 bool toggleall parameters for setting insets internal fonts.
9633 (SetFont): Freeze the undo as we may change fonts in Insets and
9634 all this change should be inside only one Undo!
9636 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9637 setting font's in insets as for them we have the SetFont function!
9639 2001-05-15 Juergen Vigna <jug@sad.it>
9641 * text2.C (ClearSelection): to be sure we REALLY don't have any
9644 * tabular.C (TeXCellPreamble): fixed the left border problem for
9647 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9649 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9652 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9654 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9655 LFUN_BREAKPARAGRAPH.
9657 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9658 help test to "internal only", similar for LFUN_INSERT_URL
9660 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9661 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9662 auto_region_delete and deadkeys.
9664 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9667 * LColor.C: remove some dead entries, tidy a little
9669 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9671 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9673 (Dispatch): implement LFUN_ESCAPE
9675 * commandtags.h: add LFUN_ESCAPE
9677 * LyXAction.C (init): add entry for LFUN_ESCAPE
9679 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9680 Remove commented code.
9681 (insertNote): moved here
9682 (open_new_inset): moved here
9684 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9687 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9689 * kbmap.C (findbinding): clean it up and make it work correctly.
9691 * lyx_main.C (init): do not pass argc and argv as parameters
9693 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9695 * buffer.C: fix path for OS/2 & Win32
9699 * lyx_main.C: Added os:: class.
9701 * os2_defines.h: update
9703 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9705 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9706 better by trying again with reduced state.
9708 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9710 * lyxrc.C (read): print error about invalid key sequence only when
9711 debugging (because not all latinX keysyms are known to some X
9714 * kbsequence.C (getiso): add a few std:: qualifiers
9715 (getiso): comment out extra return statement.
9717 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9719 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9721 (Dispatch): enhance the accent inset a bit. (not perfect)
9723 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9725 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9727 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9729 * bufferlist.C (emergencyWrite): fix assert() call
9731 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9733 * text.C (InsertChar): Added trivial patch to only send the "you
9734 can not do multiple spaces this way" message once during a
9737 2001-05-08 Baruch Even <baruch@lyx.org>
9739 * Makefile.am: Changed order of libraries to get LyX to link properly
9740 with the gnome frontend.
9742 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9744 * LaTeXFeatures.h: add a std:: qualifier
9746 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9748 * paragraph.C (String): use stringstream
9750 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9752 * paragraph.C (writeFile): remove footflag arg
9754 * buffer.C (makeLaTeXFile): use stringstream
9755 (latexParagraphs): remove footnot gurba
9757 * LaTeXFeatures.C (getPackages): use stringstream
9758 (getMacros): likewise
9759 (getTClassPreamble): likewise
9760 (getFloatDefinitions): new method
9762 * paragraph.C (writeFile): reindent
9765 * WorkArea.h: revert the xpos + etc changes.
9767 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9769 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9771 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9772 (pasteSelection): likewise
9773 * text2.C (CreateUndo): likewise
9775 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9777 * minibuffer.C (peek_event): temporarily reduce the functionality
9778 of the minibuffer (to allow args on lfuns)
9780 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9781 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9783 * buffer.C (readInset): add compability reading of old float
9784 lists, add reading of new style float list.
9785 (readInset): avoid reevaluation of inscmd.getCmdName()
9786 (getLists): reindent
9788 * MenuBackend.C (MenuItem): implement parsing of
9789 md_floatlistinsert and md_floatinsert.
9790 (expand::LastFiles): move initalizaton of iterators out of loop,
9792 (expand::Documents): introduce typdedef vector<string> Strings,
9794 (expand::ExportFormats): introduce typedef vector<Format const *>
9795 Formats, and use it.
9796 (expand): implement FloatListInsert and FloatInsert.
9798 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9799 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9800 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9802 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9804 (Dispatch::LFUN_FLOAT_LIST): implement
9806 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9808 * LaTeX.C (run): Fix problem with --export code.
9810 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9812 * BufferView.[Ch] (workarea): removed.
9813 (getClipboard) new method; wrapper for workarea()->getClipboard()
9815 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9818 * WorkArea.h (width, height, xpos, ypos): These methods all
9819 returned the dimensions of the work_area sub-area of WorkArea,
9820 resulting in a position error if the WorkArea were resized. Now
9821 return the dimensions of the entire WorkArea.
9823 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9825 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9827 * LaTeX.C (deplog): correct the syntax of regex reg1
9829 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9831 * undo.C: remove !NEW_INSETS cruft
9833 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9835 * text2.C: remove !NEW_INSETS cruft
9837 * text.C: remove !NEW_INSETS cruft
9839 * tabular.C: remove !NEW_INSETS cruft
9841 * spellchecker.C: remove !NEW_INSETS cruft
9843 * lyxtext.h: remove !NEW_INSETS cruft
9845 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9847 * lyxfunc.C: remove !NEW_INSETS cruft
9849 * lyxfind.C: remove !NEW_INSETS cruft
9851 * lyx_cb.C: remove !NEW_INSETS cruft
9853 * figureForm.C: remove !NEW_INSETS cruft
9855 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9857 * buffer.[Ch]: remove !NEW_INSETS cruft
9859 * ToolbarDefaults.C: remove !NEW_INSETS cruft
9861 * CutAndPaste.C: remove !NEW_INSETS cruft
9863 * BufferView_pimpl.C: remove !NEW_INSETS cruft
9865 * BufferView2.C: remove !NEW_INSETS cruft
9867 * BufferView.h: remove !NEW_INSETS cruft
9869 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9871 * Lsstream.h: include LString.h before the sstream headers to
9872 fix problem with gcc 2.95.3 and lyxstring
9874 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9876 * lyx_main.C: add using directives when needed for C functions
9877 declared in std:: namespace.
9879 2001-04-27 Juergen Vigna <jug@sad.it>
9881 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
9882 (SetHeightOfRow): comment out the update call should not be needed!
9884 2001-04-13 Juergen Vigna <jug@sad.it>
9886 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
9887 (LyXTabular): tried to minimize operator= operations (and realized
9888 hopfully Lars wish).
9890 2001-04-27 Juergen Vigna <jug@sad.it>
9892 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
9894 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9896 * lyxfunc.C (Dispatch): hack to make listof algorithm work
9898 * buffer.C (readInset): hack to make listof algorithm work
9900 * BufferView_pimpl.C: hack to make listof algorithm work
9902 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9904 * LyXAction.C: removed all !NEW_INSETS cruft
9905 (init): moved lfun_item in method
9907 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
9909 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9911 * BufferView2.C (theLockingInset): white space.
9913 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9915 * minibuffer.C: include <iostream>
9917 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
9919 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
9921 * commandtags.h: add LFUN_TRANSPOSE_CHARS
9923 * text.[Ch] (TransposeChars): new method
9925 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9927 * call message directly through LyXView instead of through LyXFunc
9928 * BufferView2.C: adjust
9929 * BufferView_pimpl.C: adjust
9930 * FontLoader.C: adjust
9932 * bufferview_funcs.C: adjust
9933 * converter.C: adjust
9934 * figureForm.C: adjust
9935 * importer.C: adjust
9937 * lyx_gui_misc.C: adjust
9941 + more files in subdirs
9943 * lyxparagraph.h (size): move up int file
9946 * adjust all uses of Assert to lyx::Assert.
9948 * BufferView2.C (ChangeCitationsIfUnique): adjust for
9949 lyxfunctional in namespace lyx
9950 * layout.C (hasLayout): ditto
9953 (delete_layout): ditto
9954 (NumberOfClass): ditto
9955 * converter.C (GetFormat): ditto
9960 * bufferlist.C (getFileNames): ditto
9961 (emergencyWriteAll): ditto
9964 * MenuBackend.C (hasSubmenu): ditto
9967 * BufferView_pimpl.C (getInsetByCode): ditto
9969 2001-04-18 Juergen Vigna <jug@sad.it>
9971 * vspace.C (asLatexString): fixed the 100% problem.
9973 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9975 * lyxfunc.C (Dispatch):
9977 * minibuffer.h: add a few std:: qualifiers
9979 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9981 * minibuffer.[Ch]: reimplement so that commands is initiated and
9982 run from lyxfunc, simplified som handling, and made the completion
9983 and history code for complete. wip.
9985 * lyxfunc.C (processKeySym): call message
9986 (miniDispatch): new temporary method
9987 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
9988 (LFUN_MESSAGE): implement
9989 (LFUN_MESSAGE_PUSH): implement
9990 (LFUN_MESSAGE_POP): implement
9991 (initMiniBuffer): the initial/defualt minibuffer message.
9993 * lyxfont.[Ch]: inline some more getters
9995 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
9997 * lyx_gui_misc.[Ch] (WriteStatus): remove method
9999 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10000 (AutoSave): use LFUN_MESSAGE
10001 (Reconfigure): ditto
10003 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10005 * figureForm.C: use LFUN_MESSAGE
10007 * converter.C (runLaTeX): use LFUN_MESSAGE
10009 * bufferview_funcs.C: use LFUN_MESSAGE
10011 (changeDepth): ditto
10013 * bufferparams.h: use boost::
10015 * bufferlist.h: inherit privately from noncopyable
10017 * bufferlist.C (loadLyXFile): remove some commented code.
10019 * buffer.C (runChktex): use LFUN_MESSAGE
10021 * ShareContainer.h: inherit privately from noncopyable
10023 * ParagraphParameters.[hC] (depth): inline it.
10025 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10027 (message): new method
10028 (messagePush): ditto
10029 (messagePop): ditto
10030 (show): init minibuffer
10031 (showState): direct call
10033 * LaTeX.[Ch]: inherit privately from noncopyable
10034 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10035 instead of WriteStatus.
10037 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10039 * BufferView_pimpl.C (buffer): don't init minibuffer
10040 (workAreaButtonPress): use LFUN_MESSAGE
10041 (workAreaButtonRelease): ditto
10042 (savePosition): ditto
10043 (restorePosition): ditto
10044 (MenuInsertLyXFile): ditto
10045 (workAreaExpose): don't init minibuffer
10046 (update): remove commented code, simplify
10048 * BufferView2.C (openStuff): use LFUN_MESSAGE
10049 (toggleFloat): ditto
10052 (copyEnvironment): ditto
10053 (pasteEnvironment): ditto
10058 (updateInset): remove some commented code
10060 * lastfiles.h: inherit privately from noncopyable
10063 * lyx_main.h: ditto
10065 * lyxlex_pimpl.h: ditto
10067 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10068 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10069 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10071 * LyXAction.h: inherit privately from noncopyable, add methods
10072 func_begin, func_end, returning iterators to the func map.
10074 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10075 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10076 (func_begin): new method
10077 (func_end): new method
10079 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10081 (copySelection): ditto
10082 (pasteSelection): ditto
10084 * BufferView.C: whitespace change
10085 * BufferView.h: inherit privately from noncopyable
10087 2001-04-16 Allan Rae <rae@lyx.org>
10089 * tabular-old.C (l_getline):
10090 * spellchecker.C (sc_check_word):
10091 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10092 an unrecognised preprocessor directive. So ensure they're wrapped.
10094 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10096 * src/exporter.C (Export): Give an error message when path to file
10099 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10101 * LaTeX.C (deplog): Always check that foundfile exists.
10103 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10106 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10108 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10110 * tabular.[Ch] (getLabelList): implement new method
10112 * minibuffer.h: comment ouf setTiimer
10114 * minibuffer.C (ExecutingCB): constify res
10115 (peek_event): constify s
10116 (Set): constify ntext
10117 (Init): constify nicename
10119 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10121 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10122 (savePosition): use two params to Minibuffer::Set
10123 (restorePosition): ditto
10125 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10127 * lyx_main.C: include language.h
10129 * Makefile.am (lyx_main.o): add language.h
10131 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10137 * CutAndPaste.C: include gettext.h
10139 * lyxfont.h: remove old hack with ON and OFF.
10142 * lyxfont.h: do not include language.h...
10147 * bufferview_funcs.C:
10153 * paragraph.C: ... but do it here instead
10155 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10157 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10159 * tabular.C: small reformat
10161 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10164 (BreakParagraph): ditto
10165 (SetOnlyLayout): ditto
10168 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10171 * lastfiles.C: removed most using decl, add std:: where needed
10173 * buffer.C: ws changes
10175 * MenuBackend.C (class compare_format): put into anon namespace
10176 (expand): constify label, names, action, action2
10179 * text.C (SingleWidth): constify font
10180 (IsBoundary): constify rtl2
10181 (GetVisibleRow): constify ww
10183 * LaTeX.C (deplog): constify logfile
10185 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10187 (workAreaExpose): constify widthChange, heightChange
10189 * lyxrow.C (par): moved
10192 * lyxrow.h: as inlines here
10194 * lyxfont.h (shape): moved from lyxfont.C
10195 (emph): moved from lyxfont.C
10197 * lyxfont.C (LyXFont): use initialization list for all
10199 (shape): move to lyxfont.h as inline
10200 (emph): move to lyxfont.h as inline
10203 2001-04-04 Juergen Vigna <jug@sad.it>
10205 * vspace.C: had to include stdio.h for use of sscanf
10207 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10210 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10211 independent of xforms.
10213 2001-04-02 Juergen Vigna <jug@sad.it>
10215 * spellchecker.C: fixed namespace placing!
10217 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10219 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10220 the LyXParagraph * is 0.
10222 2001-03-29 Juergen Vigna <jug@sad.it>
10224 * vspace.C: added support for %, c%, p%, l%.
10225 (stringFromUnit): added helper function.
10226 (asLatexString): changed to give right results for the %-values.
10228 * buffer.C: convert the widthp in a width%.
10230 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10232 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10235 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10236 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10238 * lyx_cb.[Ch]: see above.
10240 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10244 * lyx.[Ch]: replaced by figure_form.[Ch].
10248 * lyxfunc.C: changed headers associated with above changes.
10250 2001-03-27 Juergen Vigna <jug@sad.it>
10252 * BufferView_pimpl.C: set the temporary cursor right!
10254 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10256 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10258 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10260 * LString.h: removed "using std::getline"!
10262 * BufferView_pimpl.C (Dispatch): changes due to changes in
10263 InsetInclude::Params.
10265 * buffer.C (tag_name): removed redundant break statements as they were
10266 producing lots of warnings with my compiler.
10268 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10270 * LString.h: add "using std::getline" when using the real <string>.
10272 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10274 * buffer.C: removed bitset usage.
10275 PAR_TAG moved to an anonymous name space.
10276 (tag_name): new funtion, also in the anonymous namespace.
10277 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10278 (makeDocBookFile): clean code. Completed transition from string arrays
10280 (SimpleDocBookOnePar): code clean.
10282 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10284 * tabular.C: add some comments.
10286 2001-03-22 Juergen Vigna <jug@sad.it>
10288 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10289 compatibility read a bit and fixed bug with minipage in different
10292 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10294 * buffer.C (pop_tag): removed.
10295 (push_tag): removed.
10296 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10297 array replaced with vector. Added support for CDATA sections.
10298 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10300 (makeDocBookFile): XML conformant declaration of CDATA section,
10301 fixed bug related to <emphasis> in the first paragraph char.
10302 (sgmlOpenTag): exclude empty tags.
10303 (sgmlCloseTag): ditto.
10305 * buffer.h (pop_tag): removed.
10306 (push_tag): removed.
10308 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10310 * language.h (Languages): added size_type and size().
10312 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10314 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10315 response on compability reading of minipages. One probliem is that
10316 the old usage of minipages was «flertydig»
10318 * several files here and in subdirs: don't use static at file
10319 scope use anon namespaces instead.
10321 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10323 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10324 LaTeX output. This is necessary for Literate document
10327 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10329 * buffer.C: insert hfill when needed.
10331 * tabular.C (l_getline): use string::erase, small whitespace change.
10333 * BufferView_pimpl.C: try the anon namespace.
10334 * WorkArea.C: ditto
10336 2001-03-16 Juergen Vigna <jug@sad.it>
10338 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10339 otherwise it won't open options-dialogs.
10341 * buffer.C: honor pextraWidth(p) on converting minipages.
10343 * tabular.C (l_getline): changed the functions to strip trailing \r.
10345 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10347 * BufferView_pimpl.C:
10348 * minibuffer..C: added "using SigC::slot" declaration.
10350 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10352 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10358 * paragraph.C: ditto
10360 * lyxtext.h: NO_PEXTRA
10362 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10364 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10365 * ParameterStruct.h: ditto
10366 * ParagraphParameters.h: ditto
10367 * lyxparagraph.h: ditto
10369 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10371 * buffer.C: add compability for minipage alignment.
10372 (latexParagraphs): remove unwanted pextra check.
10374 * several files: remove CXX_WORKING_NAMESPACES
10376 * buffer.C (pop_tag): tie is in namespace boost
10378 * BufferView.h: noncopyable is in namespace boost
10380 * lyx_main.h: ditto
10383 * lastfiles.h: ditto
10384 * bufferlist.h: ditto
10385 * ShareContainer.h: ditto
10387 * LyXAction.h: ditto
10390 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10392 * Merging changes from BRANCH_MVC back into HEAD.
10394 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10396 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10398 * BufferView_pimpl.C: change from intl.C
10402 * Makefile.am: move combox.*
10408 * intl.C: remove dialog (covered by prefs)
10410 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10412 * lyxfunc.C (Dispatch): removed redundant break statement.
10414 2001-03-14 Juergen Vigna <jug@sad.it>
10416 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10418 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10420 * buffer.C: add hack to fix compability reading of minipages.
10422 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10424 * buffer.C (getLists): Cleanup.
10426 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10428 * lyxfont.C (update): don't honor toggleall on font size.
10430 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10434 * Makefile.am: moved to frontends/xforms/
10438 * BufferView_pimpl.C: changes for moved mathpanel
10440 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10442 * gettext.h: fix gettext_init() in --disable-nls
10444 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10446 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10448 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10451 * lyx.h: strip external form
10453 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10455 * BufferView_pimpl.C: add comment, destroySplash()
10457 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10459 * BufferView_pimpl.C:
10463 * lyxfunc.C: use re-worked insetinclude
10465 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10467 * buffer.C: add using std::stringstream.
10469 * lyx_cb.C: readd using std::ios.
10471 * buffer.C: add using std::map.
10473 * BufferView_pimpl.C: add using std::vector.
10475 * ShareContainer.h: add std:: to swap.
10477 * buffer.h: add some typedefs
10478 * buffer.C (getLists): use them
10479 (getLists): renamed from getTocList.
10480 add a counter for the different float types and use it in the
10482 (getLists): use the same counter for the NEW_INSETS and the "non"
10485 * lyx_cb.h: remove unused items, includes, using etc.
10487 * ShareContainer.h: remove some commented code, add more comments
10488 and "documentation".
10490 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10492 * buffer.C (getTocList): make the list also when NEW_INSETS is
10495 * buffer.h: remove TocType
10497 * buffer.C (getTocList): change to return a map<string,
10498 vector<TocItem> >, implement for dynamic number of list.
10500 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10501 * text2.C (PasteSelection): adjust
10502 * CutAndPaste.C (pasteSelection): adjust
10504 * FloatList.C (FloatList): update from the new_insets branch.
10505 * Floating.[Ch]: ditto
10506 * LaTeXFeatures.C: ditto
10508 * lyxlex_pimpl.C: ditto
10510 * paragraph.C (Last): remove when NEW_INSETS is defined.
10512 * other file: changes because of the above.
10514 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10516 * lyxparagraph.h: rename next to next_, previous to previous_,
10517 make them private for NEW_INSETS. Rename Next() to next(),
10518 Previous() to previous().
10520 * other files: changes because of the above.
10522 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10525 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10528 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10530 * main.C (main): pass lyx_localedir to gettext_init().
10532 * gettext.h: remove locale_init and gettext_init macros
10534 * gettext.C (locale_init): new function
10535 (gettext_init): new function
10537 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10540 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10542 * Moved credits to frontends:
10543 * credits.[Ch]: removed
10544 * credits_form.[Ch]: removed
10545 * lyx_gui_misc.C: remove credits stuff
10548 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10550 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10552 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10553 unneeded destructor.
10555 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10556 a standalone pointer again.
10558 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10560 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10566 * ToolbarDefaults.C:
10575 * BufferView_pimpl.C: use new file dialog in GUII
10578 * lyx_cb.C: remove LayoutsCB to Toolbar
10580 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10582 * ShareContainer.h (get): add std:: qualifier
10584 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10586 * ShareContainer.h: define a proper ShareContainer::value_type
10587 type (and use typename to please compaq cxx)
10589 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10591 * lyxparagraph.h: move serveral local vars to
10592 ParameterStruct/ParagraphParameters., use ShareContainer in
10593 FontTable., make vars in FontTable private and add getter and
10596 * paragraph.C: changes because of the above.
10598 * lyxfont.h: remove copy constructor and copy assignment. (the
10599 default ones is ok), move number inside FontBits. move inlines to
10602 * lyxfont.C: add number to initializaton of statics, move several
10603 inlines here. constify several local vars. some whitespace
10604 cleanup. Dont hide outerscope variables.
10606 * Spacing.h: add two new constructors to match the set methods.
10608 * ShareContainer.h: new file, will perhaps be moved to support
10610 * ParameterStruct.h: new file
10612 * ParagraphParameters.h: new file
10614 * ParagraphParameters.C: new file
10616 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10617 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10619 * BufferView_pimpl.C: ParagraphParameter changes.
10620 * buffer.C: Likewise.
10621 * bufferview_funcs.C: Likewise.
10622 * text.C: Likewise.
10623 * text2.C: Likewise.
10625 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10627 * lyxfind.C (LyXReplace): do not redefine default argument in
10629 (IsStringInText): ditto
10630 (SearchForward): ditto
10631 (SearchBackward): ditto
10633 2001-03-06 Juergen Vigna <jug@sad.it>
10635 * lyxfind.C (IsStringInText): put parentes around expressions.
10637 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10639 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10641 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10643 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10645 * stl_string_fwd.h: add comment
10647 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10650 * tabular.C: remove unused DocBook methods
10656 killed DO_USE_DEFAULT_LANGUAGE
10658 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10660 * lyx_gui.C: do not include language.h.
10662 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10663 arguments in function implementation.
10665 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10667 * BufferView_pimpl.C: add <ctime>
10669 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10671 * BufferView_pimpl.C: add using std::find_if
10673 2001-02-27 José Matos <jamatos@fep.up.pt>
10675 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10678 2001-02-11 José Matos <jamatos@fep.up.pt>
10680 * buffer.C (makeDocBookFile): command styles now have a parameter as
10681 "title" by default.
10683 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10685 * layout_forms.[Ch]: removed
10686 * lyx_cb.[Ch]: out character
10687 * lyx_gui.C: out character
10688 * lyx_gui_misc.C: out character
10689 * bufferview_funcs.C: : out character,
10690 added toggleall as parameter in ToggleAndShow
10692 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10694 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10696 * text2.C (SetCurrentFont): Disable number property at boundary.
10698 2001-02-26 Juergen Vigna <jug@sad.it>
10700 * lyxfunc.C (getStatus): added a string argument override function so
10701 that this is correctly called from LyXFunc::Dispatch if it contains a
10702 do_not_use_argument which is used!
10703 (Dispatch): added check for "custom" export and call appropriate func.
10705 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10707 * lyxrc.C: Add language_command_local, language_use_babel and
10708 language_global_options.
10710 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10712 * buffer.C (makeLaTeXFile): Use language_use_babel and
10713 language_global_options.
10715 2001-02-23 Juergen Vigna <jug@sad.it>
10717 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10718 which works with LyXText and putted it inside BufferView. Here now we
10719 only call for that part the BufferView::Dispatch() function.
10721 * BufferView.C (Dispatch): added.
10723 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10724 functions which needs to use a LyXText over from LyXFunc.
10725 (MenuInsertLyXFile): added
10726 (getInsetByCode): added
10727 (moveCursorUpdate): added
10728 (static TEXT): added
10730 2001-02-22 Juergen Vigna <jug@sad.it>
10732 * BufferView_pimpl.C (update): call a status update to see if LyXText
10735 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10737 * vc-backend.C (revert): implement for CVS
10738 (getLog): implement for CVS
10740 2001-02-20 Juergen Vigna <jug@sad.it>
10742 * text2.C (ClearSelection): added BufferView param for inset_owner call
10744 * lyxfunc.C (TEXT): added this function and use it instead of
10745 directly owner->view()-text of getLyXText().
10747 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10749 * src/layout_forms.C: out preamble
10750 * src/layout_forms.h: out preamble
10751 * src/lyx_cb.C: out preamble
10752 * src/lyx_cb.h: out preamble
10753 * src/lyx_gui.C: out preamble
10754 * src/lyx_gui_misc.C: out preamble
10755 * src/lyxfunc.C: connect with guii preamble
10757 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10759 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10761 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10763 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10764 whether to run bibtex.
10766 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10768 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10770 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10772 * Makefile.am (lyx_SOURCES): removed bibforms.h
10774 * vspace.h: doxygen
10776 * text.C (GetVisibleRow): make several local vars const
10778 * tabular.C: small cleanup.
10780 * lyxserver.C (callback): use compare instead of strncmp
10782 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10783 inlines to after class or to paragraph.C
10785 * lyxfont.h: remove friend operator!=
10787 * converter.h: move friend bool operator< to non friend and after
10790 * combox.h: small cleanup
10792 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10793 to inlines after class def.
10795 * buffer.C (pop_tag): use string operations instead of strcmp
10797 * bmtable.c: doxygen, small cleanup
10799 * LaTeX.h: remove friend operator==
10801 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10813 * BufferView_pimpl.C:
10814 * BufferView.[Ch]: remove cruft
10816 2001-02-14 Juergen Vigna <jug@sad.it>
10818 * lyxfunc.C: removed #if 0 unused code
10820 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10822 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10824 * text2.C (SetSelection): added a BufferView * parameter
10826 2001-02-13 Juergen Vigna <jug@sad.it>
10828 * lyxfunc.C (Dispatch): fixed protected blank problem.
10829 * BufferView2.C (protectedBlank): added LyxText * parameter.
10831 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10832 (AppendColumn): same as above for column_info.
10834 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10835 (moveCursorUpdate): use a LyXText param for support of InsetText.
10837 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10838 (tripleClick): ditto
10840 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10842 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10844 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10846 * text2.C (SetSelection): set correct update status if inset_owner
10847 (ToggleFree): ditto
10849 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10851 * tabular.C: remove some commented code.
10853 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10855 * BufferView_pimpl.C: call hideSplash()
10857 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10860 * bibforms.h: remove
10863 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
10864 add LFUN_CHILD_CREATE
10866 * counters.h: fix tiny typo
10871 * lyx.C: move splash to frontends/xforms/
10873 * lyx_gui_misc.C: move Include and Bibform to frontends
10875 * lyxvc.h: clarify comment
10877 * vspace.C: tiny housekeeping
10879 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
10881 * text.C (PrepareToPrint): RTL Fix.
10883 * paragraph.C (GetUChar): New method.
10884 (String): Use GetUChar.
10886 * buffer.C (asciiParagraph): Use GetUChar.
10888 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
10890 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
10892 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
10895 * buffer.C: rename to getLogName(), handle
10896 build log / latex log nicely
10898 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10901 * MenuBackend.h: remove support for reference menuitem type.
10903 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
10905 * BufferView_pimpl.C: housekeeping
10906 * BufferView_pimpl.h:
10911 * minibuffer.h: move Timeout GUI-I
10913 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
10915 * lyxrc.C (read): Update converters data-structures.
10917 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
10919 * LaTeX.h (operator!=): add operator != for Aux_Info
10921 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
10923 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
10925 * LaTeXLog.C: deleted, useful code moved to Buffer
10928 * buffer.C: new function getLatexLogName()
10934 * lyxfunc.C: use frontends for LaTeX and VC logs
10936 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10938 * LaTeX.h: yet another std:: that Allan forgot.
10940 * Variables.C (set): renamed from isset(), because this clashes
10941 with some HP-UX macros (grr).
10943 2001-02-06 Allan Rae <rae@lyx.org>
10945 * LaTeX.h: Another bug fix. Missing std:: this time.
10947 2001-02-04 Allan Rae <rae@lyx.org>
10949 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
10950 floats problem. I've left it commented out because it's not quite
10951 correct. It should also test that the current object is a table or
10952 figure inset. But I haven't gotten around to figuring out how to do
10953 that. I *think* it'll be something like: "table" == inset.type()
10955 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
10958 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
10960 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
10961 all the citation/databases/styles in the auxilary file.
10962 (run): Rerun latex if there was a babel language error.
10964 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
10966 * text.C (Backspace): Preserve the font when changing newline char
10968 (BreakParagraph): If the cursor is before a space, delete the space.
10970 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
10972 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
10974 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
10975 new argument (code).
10976 (ChangeCitationsIfUnique): New method.
10978 * paragraph.C (GetPositionOfInset): Handle bibkey.
10980 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10982 * BufferView_pimpl.h: change type of Position::par_pos to
10983 LyXParagraph::size_type.
10985 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
10987 * BufferView_pimpl.C (savePosition, restorePosition): Write
10988 messages to minibuffer.
10990 2001-01-28 José Matos <jamatos@fep.up.pt>
10992 * buffer.C (makeDocBookFile): adds support for document language.
10993 A silly restriction on the name of LatexCommand types where removed.
10994 Added support for CDATA sections, allows to chars unescaped, used
10995 among others in code, to avoid escape < and >.
10997 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
10999 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11000 saved positions instrad of a stack. Furthermore, a position is
11001 stored using paragraph id/paragraph position.
11003 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11004 Remove LFUN_REF_BACK.
11006 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11008 * converter.C (dvipdfm_options): New method.
11010 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11012 * vspace.C (isValidLength): Fix for empty input string.
11014 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11016 * LyXAction.C (init): change description of LFUN_FIGURE to
11019 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11021 * LaTeX.C: add using directive
11023 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11025 * MenuBackend.C (expand): Fix the sorting of the formats.
11027 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11029 * lyx_main.C: tiny error message fix
11031 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11033 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11034 calling fl_initialize(). This fixes the problem with ',' as
11035 decimal separator in text files.
11037 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11039 * trans.C (process): Fix the keymap bug.
11041 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11043 * LaTeX.C (scanAuxFiles): New method. Provides support for
11044 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11045 (scanLogFile) Scan for "run BibTeX" messages.
11047 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11048 OT1 font encoding. Also, load the aecompl package if the ae
11051 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11053 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11055 * texrow.C (increasePos): turn two error messages into debug
11058 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11060 * LaTeX.C (scanAux): Handle the \@input macro.
11061 (runBibTeX): Use scanAux().
11063 * language.C (latex_options_): New field.
11065 * LaTeXFeatures.C (getMacros): Add language macros.
11067 * buffer.C (makeLaTeXFile): Small fix.
11069 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11071 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11073 * text2.C: add a using directive.
11075 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11080 * lyxfunc.C: kill LyXBell.
11082 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11084 * text.C (IsBoundary): Remove the error message
11086 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11088 * lyxrc.C (setDefaults): Correct initialization value for
11091 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11093 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11096 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11097 and GotoNextNote().
11099 * src/LyXAction.C: Added reference-next.
11101 * text.C (InsertChar): Use contains instead of strchr.
11103 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11105 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11107 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11108 alignment commands (when needed).
11110 * text.C (InsertChar): Add ':' to number separator chars.