1 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * iterators.C (operator++, ParPosition): reintroduce some
4 const_cast for the benefit of older compilers.
6 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * text3.C (dispatch): do not modify clipboard when doing
9 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
10 LFUN_DELETE_SKIP on a selection selection
12 2003-06-16 André Pönitz <poenitz@gmx.net>
18 * tabular.[Ch]: IU of clone() and getLabelList();
20 2003-06-13 André Pönitz <poenitz@gmx.net>
22 * tabular.h: compactification
24 2003-06-12 André Pönitz <poenitz@gmx.net>
28 * tabular_funcs.h: some renaming plus whitespace
30 2003-06-12 André Pönitz <poenitz@gmx.net>
39 * toc.C: Return a Paragraph & for ParIterator::operator*()
41 2003-06-11 John Levon <levon@movementarian.org>
45 * ToolbarBackend.C: add "Toolbars" section and
48 2003-06-10 Angus Leeming <leeming@lyx.org>
51 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
53 * lyxfunc.C (dispatch): invoke it.
55 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
57 * main.C: protect <ios> with HAVE_IOS
58 (main): protect sync_with_stdio with HAVE_IOS
60 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
62 * text2.C (cutSelection): adjust
63 (pasteSelection): adjust
65 * messages.C: handle get of empty string
67 * main.C (main): use sync_with_stdio(false)
69 * lyxfunc.C (dispatch): adjust
71 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
72 (WriteAs): remove unneeded BufferView arg.
74 * bufferparams.h: use correct types on papersize, papersize2 and
77 * bufferparams.C (readToken): adjust for type
78 (writeLaTeX): add missing cases to switch.
80 * bufferlist.C (quitWriteBuffer): adjust
83 * buffer.C (asciiParagraph): remove some commented code.
85 * CutAndPaste.C: remove current_view extern variable.
86 (cutSelection): add BufferParams arg.
87 (eraseSelection): add BufferParams arg.
88 (pasteSelection): add Buffer const & arg
90 2003-06-07 John Levon <levon@movementarian.org>
98 * paragraph.C: allow InsetERT to freely space lines,
99 and some consolidation of code
101 2003-06-06 José Matos <jamatos@fep.up.pt>
103 * buffer.C (makeDocBookFile): fix bug #821
105 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
107 * BufferView_pimpl.C (dispatch): use Dialogs::visible
109 2003-06-04 Angus Leeming <leeming@lyx.org>
111 * buffer.C: bump format to 224.
113 2003-06-05 André Pönitz <poenitz@gmx.net>
115 * text2.C (redoParagraphs): remove two const_cast<>
117 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
119 * ParagraphList.h: remove last remnants of NO_STD_LIST
121 2003-06-03 Angus Leeming <leeming@lyx.org>
123 * factory.C (createInset): small change to the way InsetExternal's params
126 2003-06-04 André Pönitz <poenitz@gmx.net>
128 * buffer.h: use Undo directly instead of shared_ptr<Undo>
131 * paragraph.[Ch]: some Inset -> UpdatableInset changes
133 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
135 * undo_funcs.C: make some simple cases of undo work again
137 2003-06-03 John Levon <levon@movementarian.org>
139 * ispell.C: HPUX doesn't have sys/select.h
142 2003-06-03 John Levon <levon@movementarian.org>
144 * CutAndPaste.C: update tabular and include inset
149 * paragraph.C: remove owningBuffer(), don't pass Buffer
152 * factory.C: insetGraphicsParams changed
154 2003-06-02 John Levon <levon@movementarian.org>
160 * text3.C: remove insetparent
162 2003-06-02 John Levon <levon@movementarian.org>
165 * buffer.C: fix inset_iterator.end(), move out of line
168 2003-06-01 John Levon <levon@movementarian.org>
170 * text3.C: use a proper cut/paste when doing inset
171 insert (from Jürgen Spitzmüller)
173 2003-06-01 John Levon <levon@movementarian.org>
175 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
177 2003-05-30 André Pönitz <poenitz@gmx.net>
179 * rowpainter.C: unify second drawing phase
181 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
183 * trans_mgr.C: remove one case of current_view
185 * text2.C (cursorBottom): delete NO_STD_LIST stuff
187 * paragraph_funcs.h: remove paragraph.h include
189 * paragraph.h: delete NO_STD_LIST stuff
191 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
193 * buffer.h: remove paragraph.h include
195 * ParagraphList.C: delete file
197 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
199 * toc.C (getTocList): adjust
201 * paragraph_pimpl.C (validate): adjust
203 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
205 * paragraph.C (Paragraph): adjust
206 (getPositionOfInset): use const_iterator, adjust
207 (bibitem): use const_iterator, adjust
208 (setInsetOwner): adjust
210 * iterators.C (operator++): adjust
212 * InsetList.[Ch]: Replace selfmade iterator with standard
213 vector::iterator also introduce const_iterator. Remove getPos,
214 getInset and setInset from InsetTable. Adjust accordingly.
216 * BufferView.C (lockInset): adjust
217 (ChangeInsets): adjust
219 * tabular.[Ch]: delete commented same_id functions
221 2003-05-28 John Levon <levon@movementarian.org>
223 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
225 2003-05-28 André Pönitz <poenitz@gmx.net>
227 * metricsinfo.[Ch]: remove 'fullredraw' member
229 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
231 * lyxtextclass.C (operator): remove caching.
233 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
237 * text2.C (cursorBottom): adjust
238 (setCounter): use ParagraphList::find, adjust
240 * text.C (workWidth): use ParagraphList::find, adjust
242 * lyxcursor.C (LyXCursor): adjust
244 * buffer.C (inset_iterator): adjust
246 * ParagraphList.h: make iterator(value_type) private, make
247 ParagraphList a friend of iterator.
249 * ParagraphList.C (find): new function
251 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
253 2003-05-27 André Pönitz <poenitz@gmx.net>
255 * dimension.[Ch]: a -> asc, d -> des, w -> wid
257 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
259 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
261 2003-05-26 John Levon <levon@movementarian.org>
263 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
265 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
267 * remove same_id from function signatures, adjust.
269 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
271 * undo_funcs.C (createUndo): use the id functions directly, adjust.
273 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
275 * paragraph.C (Paragraph): get rid of same_ids parameter
277 * ParagraphList.C (insert): adjust
280 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
282 * paragraph_funcs.C (breakParagraph): adjust
283 (breakParagraphConservative): adjust
285 * buffer.C (readParagraph): adjust
287 * ParagraphList.C (insert): take a reference instead of a pointer
290 * paragraph.[Ch] (id): new function
292 * bufferlist.C (newFile): adjust
294 * ParagraphList.C (ParagraphList): adjust
296 (push_back): take a reference instead of a pointer.
298 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
300 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
303 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
304 set else use old code.
306 * ParagraphList.C: remove all NO_NEXT code and only compile this
307 code of NO_STD_LIST is set.
309 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
311 * BufferView_pimpl.C:
321 * graphics/GraphicsConverter.C:
322 * graphics/PreviewLoader.C: header adjustment
324 2003-05-23 Angus Leeming <leeming@lyx.org>
326 * LaTeXFeatures.[Ch] (useBabel): new method.
327 * bufferparams.C (writeLaTeX): use it.
329 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * ParagraphList.h (set): remove unused function.
333 2003-05-23 André Pönitz <poenitz@gmx.net>
336 * BufferView_pimpl.C:
340 * undo_funcs.C: setUndo reworked
342 * iterators.[Ch]: add access to topmost ParagraphList
344 * lyxtext.[Ch] (workWidth): add a const
346 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
348 * texrow.[Ch] (increasePos): remove function
349 * exporter.C (export): removed unused var and outdated comment
351 2003-05-23 Angus Leeming <leeming@lyx.org>
353 * latexrunparams.h: rename fragile as moving_arg.
354 * paragraph.C (simpleTeXOnePar): ditto.
355 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
357 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
359 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
361 (textUndoOrRedo): comment out a currently unused var.
363 * paragraph.h (NO_NEXT): enable NO_NEXT
365 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
367 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
369 * exporter.C (Export): adjust for removeAutoInsets removal.
371 * buffer.C (runChktex): adjust for removeAutoInsets removal.
373 * LyXAction.C (init): remove LFUN_REMOVEERRORS
375 * BufferView.[Ch] (removeAutoInsets): delete function
377 2003-05-22 Angus Leeming <leeming@lyx.org>
379 * latexrunparams.h: add a free_spacing variable.
381 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
382 to pass moving_arg, as the data is stored in runparams.fragile.
384 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
385 to Inset::latexOptional or to simpleTeXOnePar.
387 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
388 free_spacing arg to Inset::latexOptional.
390 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
393 2003-05-22 Angus Leeming <leeming@lyx.org>
395 * latexrunparams.h: add fragile and use_babel variables.
397 * bufferparams.[Ch] (writeLaTeX): return use_babel.
398 * buffer.C (makeLaTeXFile): store this returned value in
399 runparams.use_babel, thus passing it to the inset::latex methods.
401 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
402 simpleTeXSpecialChars as it is now stored in runparams.fragile.
404 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
405 longer has a fragile arg, as it is stored in runparams.fragile.
407 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
408 moving_arg parameter as the data is stored in runparams.fragile.
410 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
411 a fragile parameter as the data is stored in runparams.fragile.
413 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
415 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
417 2003-05-22 Angus Leeming <leeming@lyx.org>
419 * latexrunparams.h: add a 'bool nice' which defaults to false.
421 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
422 now encapsulated within runparams.
424 * bufferlist.C (updateIncludedTeXfiles):
425 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
427 2003-05-22 Angus Leeming <leeming@lyx.org>
429 * latexrunparams.h: new file containing struct LatexRunParams.
430 * Makefile.am: add new file.
432 * LaTeX.[Ch] (c-tor, run):
433 * buffer.[Ch] (makeLaTeXFile):
434 * bufferlist.[Ch] (updateIncludedTeXfiles):
435 * converter.C (convert, scanLog):
436 * converter.[Ch] (runLaTeX):
437 * exporter.C (Export):
438 * paragraph.[Ch] (simpleTeXOnePar):
439 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
440 * paragraph_funcs.[Ch] (latexParagraphs):
441 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
442 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
443 pass around a LatexRunParams parameter.
445 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * paragraph.[Ch]: remove unused constructor
449 * ParagraphList.C (erase): new function, taking two iterators
451 2003-05-22 André Pönitz <poenitz@gmx.net>
453 * undo_funcs.C: remove duplicated code
455 * iterator.[Ch]: operator=
457 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
459 * tabular.C (SetMultiColumn): ws changes
461 * rowpainter.C (paintFirst): get rid of a ->previous
463 * lyx_cb.C (getPossibleLabel): parlist simplification
465 * BufferView.C (ChangeInsets): simplify slightly.
467 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
469 * LyXAction.C: new lfun space-insert, kill protected-space-insert
470 * lfuns.h: new LFUN_SPACE
471 * lyxfunc.C: protected space has a new lfun
472 * paragraph_funcs.C: read new space insets
474 * factory.C: handle new space insets
476 2003-05-22 André Pönitz <poenitz@gmx.net>
479 * BufferView_pimpl.C:
482 * undo_funcs.C: return a ParIterator from getParFromID.
484 * iterators.[Ch]: add two const's
486 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
488 * toc.C (getTocList): adjust
490 * iterators.[Ch]: rework for parlist
492 * buffer.C (par_iterator_begin): adjust
493 (par_iterator_end): adjust
495 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
497 * BufferView.C (removeAutoInsets): adjust
498 (ChangeInsets): adjust
500 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
502 * text.C (top_y): fix bug 1110
504 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
506 * errorlist.[Ch]: added
509 * BufferView_pimpl.C:
510 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
513 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
515 * Makefile.am: ensure that lyx is relinked upon changes to the
516 various "convenience" libs.
518 2003-05-20 Angus Leeming <leeming@lyx.org>
520 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
521 files are compiled in alphabetical order again.
523 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
525 2003-05-19 Angus Leeming <leeming@lyx.org>
527 * gettext.[Ch]: remove "char const * _(char const *)".
529 2003-05-19 André Pönitz <poenitz@gmx.net>
531 * dimension.[Ch]: promote from mathed/dimension.[Ch]
540 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
542 2003-05-19 André Pönitz <poenitz@gmx.net>
548 * paragraph_funcs.[Ch]:
550 * text3.C: more insetenv work
552 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
554 * ParagraphParameters.C (params2string): small bug fixed
556 2003-05-16 André Pönitz <poenitz@gmx.net>
559 * bufferview_funcs.C: patch from Kornel Benko to prevent
560 crash when _(...) is called twice in a statement
562 2003-05-16 André Pönitz <poenitz@gmx.net>
569 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
571 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
573 * lyx_main.C (init): remove spurious static_cast
575 2003-05-14 André Pönitz <poenitz@gmx.net>
577 * BufferView.C: fix format string
579 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
581 * BufferView.[Ch] (insertErrors): removed
582 * BufferView.[Ch] (showErrorList): added
583 * buffer.C (runChkTeX):
584 * converter.C (scanLog): call showErrorList instead of inserterrors
586 2003-05-13 André Pönitz <poenitz@gmx.net>
588 * BufferView_pimpl.C:
597 * tabular_funcs.h: tostr() from its own header
599 * ParagraphParameters.C:
606 2003-05-12 André Pönitz <poenitz@gmx.net>
609 * BufferView_pimpl.C:
613 * ParagraphParameters.C:
617 * bufferview_funcs.C:
634 * text3.C: boost::format -> bformat all over the place
637 2003-05-09 André Pönitz <poenitz@gmx.net>
639 * LColor.[Ch]: Pimpl the #include <map> away
641 2003-05-09 John Levon <levon@movementarian.org>
643 * bufferlist.C: never remove emergency saves
645 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * Makefile.am: better lib building
649 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
651 * texrow.[Ch]: remove dependency on Paragraph and just store a id
653 * paragraph_pimpl.C (simpleTeXBlanks): adjust
654 (simpleTeXSpecialChars): adjust
655 (simpleTeXSpecialChars): adjust
656 * paragraph.C (simpleTeXOnePar): adjust
657 * buffer.C (makeLaTeXFile): adjust
659 * Makefile.am (BOOST_LIBS): allow boost as system lib.
661 * text2.C (changeDepth): parlist cleanup
662 (getColumnNearX): ditto
664 * rowpainter.C (getLabelFont): parlist cleanup
666 * bufferlist.C (newFile): parlist cleanup
668 * CutAndPaste.C (eraseSelection): parlist cleanup
670 * BufferView_pimpl.C (trackChanges): parlist cleanup
673 * BufferView.C (lockInset): parlist cleanup.
674 (ChangeInsets): ditto
676 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
678 * CutAndPaste.h: Update file header.
680 * CutAndPaste.C: Update file header.
681 Store the parts cut out of the Document in a limited_stack.
682 (copySelection): adjust
683 (pasteSelection): new function, takes the index in the limited stack.
684 (nrOfParagraphs): adjust
685 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
686 simplify error inset insertion.
687 (checkPastePossible): adjust
689 2003-05-06 John Levon <levon@movementarian.org>
691 * text2.C: don't cast wrap inset to float
693 2003-05-05 André Pönitz <poenitz@gmx.net>
696 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
698 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
699 few naked Paragraph *.
701 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
703 * bufferparams.C: Output warning if a document with missing
704 TeX document class is loaded
705 * exporter.C: Disable TeX exports if the document class is missing
708 * lyxtextclasslist.C: Handle new textclass.lst format; new method
709 isTeXClassAvailable()
711 2003-05-03 John Levon <levon@movementarian.org>
714 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
715 explicit cursor show/hide
717 * BufferView_pimpl.h:
718 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
719 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
721 * lyxfunc.C: hide cursor before dispatching.
726 * text3.C: remove explicit cursor hides
728 2003-05-02 André Pönitz <poenitz@gmx.net>
730 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
733 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
736 * text2.C: tiny whitespace
738 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
740 * undo_funcs.C: almost only ws changes.
742 * ParagraphList.C (splice): just return if pl is empty.
744 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
746 * ParagraphList.C (splice): new function.
748 * CutAndPaste.C (pasteSelection): use it
750 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
752 * CutAndPaste.C (pasteSelection): remove the last next and
753 previous from this file.
755 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
757 * CutAndPaste.C (pasteSelection): more clean up, user proper
758 ParagraphList functions for pasteing.
760 * ParagraphList.C (insert): new function, three arg insert
762 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
764 * ParagraphList.C (insert): new function, three arg insert
766 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
769 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
771 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
773 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
775 * CutAndPaste.C (pasteSelection): remove some unneeded code.
777 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
779 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
780 (copySelection): clean up a bit.
781 (pasteSelection): use make_pair
783 * ParagraphList.C (ParagraphList): implement copy constructor
784 (operator=): implement, base on copy constructor.
787 * paragraph.C (erase): return a bool
789 * paragraph_pimpl.C (erasePos): remove function, move contents...
790 (erase): ... here. Return a bool.
791 (erase): call erase instead of erasePos.
793 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
795 * ParagraphList.h: define PitPosPair
796 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
797 ParagraphList, fix a bug on pasting multiple pars
798 * text2.C: change interface to C&P
800 2003-04-30 André Pönitz <poenitz@gmx.net>
802 * undo_func.C: revert part of yesterday's patch 2
804 2003-04-30 John Levon <levon@movementarian.org>
806 * LColor.C: s/tabular/table/
808 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * text3.C (dispatch): do not convert iterator -> pointer
811 * undo_funcs.C (setCursorParUndo): ditto
812 * text_funcs.C (transposeChars): ditto
814 * text2.C (setLayout): ws changes only
816 * text.C (breakParagraph): do not convert iterator -> pointer
818 (acceptChange): ditto
819 (rejectChange): ditto
824 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
827 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
829 * text3.C (gotoInset): YABG (yet another bad getChar)
831 2003-04-29 André Pönitz <poenitz@gmx.net>
833 * paragraph.h: make operator= private unimplemented as long as
836 * ParagraphList.C: whitespace
839 * paragraph_pimpl.[Ch]:
842 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
845 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
847 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
849 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
850 * paragraph.[Ch] (erase):
851 * paragraph_pimpl.[Ch] (erase): change return type and value
852 * text2.C (cutSelection): some rework
854 2003-04-28 John Levon <levon@movementarian.org>
856 * bufferlist.C: changes for unsaved changes dialog
858 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
860 * bufferlist.C (newFile): set language (messages_) for new
863 * buffer.C (readFile): ws changes only.
865 2003-04-28 André Pönitz <poenitz@gmx.net>
870 * BufferView_pimpl.C:
871 * BufferView.C: getParFromID related ParagraphList::iterator changes
873 2003-04-28 André Pönitz <poenitz@gmx.net>
875 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
878 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * messages.C: remove one more localedir class variable.
882 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
884 * messages.C (getLocaleDir): singleton generation function
886 (Messages): add a default constructor.
888 * main.C (main): do not setup localedir here, do not call
891 * gettext.C (_): use it.
892 (gettext_init): delete funciton
894 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
896 * gettext.C (getLyXMessages): new singleton generating function.
898 * buffer.C (updateDocLang): adjust
900 * Makefile.am (messages.o): add target
901 (main.o): remove target
903 2003-04-27 John Levon <levon@movementarian.org>
908 * lyxvc.C: specify cancel button in Alert::prompt
910 2003-04-26 John Levon <levon@movementarian.org>
915 * LyXAction.C: add LFUN_INSET_SETTINGS
917 * lyxfunc.C: don't enable tabular-feature when there's
918 just any locking inset
920 2003-04-26 John Levon <levon@movementarian.org>
922 * bufferlist.C: re-add Cancel to buffer close question
924 * lyxfunc.C: fix import UI a bit
926 2003-04-25 John Levon <levon@movementarian.org>
928 * gettext.C: remove the broken asserts for now
930 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
932 * messages.C: make case where setlocale cannot comply work better.
934 * buffer.C (updateDocLang): new function
935 (changeLanguage): use it
938 * text2.C (setCounter): use B_ a bit.
940 * lyxlayout.C (Read): be sure to trim the label strings.
942 * messages.C (Messages): fix typo in comment
944 * buffer.C (readFile): set message_ after file is loaded.
945 (makeDocBookFile): remove double return
946 (changeLanguage): reset message_ upon language change.
947 (B_): new func, use this to get translated buffer strings.
949 * main.C: add myself and Jean Marc as authors.
951 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * messages.[hC]: pimplify Messages, and three different pimpls to be
954 used in different circumstances.
956 * gettext.[Ch]: change for use with new message code.
958 2003-04-24 André Pönitz <poenitz@gmx.net>
960 * factory.C: support for eqref
962 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
964 * messages.[Ch]: add missing char
966 * Makefile.am (lyx_SOURCES): add messages.[Ch]
968 * messages.[Ch]: New files
970 2003-04-18 John Levon <levon@movementarian.org>
974 * BufferView_pimpl.C:
978 * text2.C: remove layout-copy/paste (bug 778)
980 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
982 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
984 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
986 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
987 if they succeed. Act accordingly.
989 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
991 * text2.C (setCharFont): adjust
993 (insertStringAsLines): adjust
995 * text.C (leftMargin): adjust
996 (setHeightOfRow): adjust
998 * rowpainter.C (paintFirst): adjust
1001 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1003 (isFirstInSequence): ditto
1004 (getEndLabel): ditto
1007 * paragraph.C (getParLanguage): comment out some hard stuff.
1009 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1011 (simpleDocBookOnePar): ditto
1012 (makeDocBookFile): use ParagraphList::iterator
1014 * CutAndPaste.C (pasteSelection): adjust
1016 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1018 * text2.C (getFont): adjust
1019 (getLayoutFont): adjust
1020 (getLabelFont): adjust
1022 * paragraph_funcs.C (TeXOnePar): adjust
1024 * buffer.C (simpleLinuxDocOnePar): adjust
1025 (simpleDocBookOnePar): adjust
1027 * CutAndPaste.C (pasteSelection): adjust
1029 * BufferView.C (getEncoding): adjust
1031 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1033 2003-04-16 John Levon <levon@movementarian.org>
1035 * lyxfind.C: use parlist stuff for search/changes
1037 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1039 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1041 * text2.C (deleteEmptyParagraphMechanism): adjust
1043 * text2.[Ch] (ownerParagraph): delete func (both of them
1045 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1049 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1051 * ParagraphList.C: prepare for NO_NEXT
1053 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * text2.C (getFont): adjust
1056 (getLayoutFont): adjust
1057 (getLabelFont): adjust
1059 * paragraph.C (getFont): adjust
1060 (getLabelFont): adjust
1061 (getLayoutFont): adjust
1063 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1065 2003-04-15 John Levon <levon@movementarian.org>
1069 * lyx_main.C: handle Include in .ui files
1071 2003-04-15 John Levon <levon@movementarian.org>
1073 * MenuBackend.C: make the doc files length shorter
1076 * ToolbarBackend.C: handle toolbar placement flags,
1079 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1081 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1084 * paragraph_funcs.C (TeXOnePar): adjust
1086 * paragraph.C (getLabelFont): add outerfont arg, adjust
1087 (getLayoutFont): ditto
1088 (simpleTeXOnePar): adjust
1090 * paragraph_pimpl.C (realizeFont): delete func
1092 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1094 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1095 row argument, constify cur argument.
1097 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1099 * text2.C (getFont): adjust
1100 (getLayoutFont): adjust
1101 (getLabelFont): adjust
1103 * paragraph_funcs.C (TeXOnePar): adjust
1104 (outerFont): new func...
1105 (realizeFont): ...moved out from here, changed this to facilitate
1108 * paragraph.C (getFont): take outerfont as arg, adjust
1109 (simpleTeXOnePar): add outerfont arg, adjust
1111 * buffer.C (simpleLinuxDocOnePar): adjust
1112 (simpleDocBookOnePar): adjust
1114 * CutAndPaste.C (pasteSelection): adjust
1116 * BufferView.C (getEncoding): adjust
1118 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1120 * text2.C (setCharFont): adjust
1121 (setCounter): adjust
1123 * text.C (leftMargin): adjust
1124 (setHeightOfRow): adjust
1126 * rowpainter.C (paintFirst): adjust
1129 * paragraph_pimpl.C (realizeFont): adjust
1131 * paragraph.C (isFirstInSequence): move from here...
1132 * paragraph_funcs.C (isFirstInSequence): ...to here
1134 * paragraph.C (outerHook): move from here...
1135 * paragraph_funcs.C (outerHook): ...to here
1137 * paragraph.C (depthHook): move from here...
1138 * paragraph_funcs.C (depthHook): ...to here
1140 * paragraph.C (getEndLabel): move from here...
1141 * paragraph_funcs.C (getEndLabel): ...to here
1143 * text2.C (realizeFont): move from here...
1144 * paragraph_funcs.C (realizeFont): ...to here
1146 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1150 2003-04-14 Angus Leeming <leeming@lyx.org>
1152 * LColor.[Ch]: scrap LColor mathcursor.
1154 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1156 * lyxlex.[Ch] (text): delete function
1157 * trans.C (Load): adjust
1158 * paragraph_funcs.C (readParToken): adjust
1160 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1162 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1163 vector<char> instead of a char[].
1165 * lyxlex_pimpl.C (getString): adjust
1167 (lex): use getString
1171 * lyxlex.C (text): use pimpl_->getString()
1175 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1177 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1178 (makeFontEntriesLayoutSpecific): temp var for par.size()
1179 (setLayout): temp var for ownerParagraphs().end()
1180 (fullRebreak): temp var for rows().end()
1181 (selectionAsString): temp var for boost::next(startpit), realize
1182 that the while really is a regular for loop.
1183 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1184 setCursor in one place.
1185 (setParagraph): temp vr for ownerParagraphs().end()
1186 (updateCounters): make the while loop a for loop
1187 (cutSelection): temp var for ownerParagraphs().end()
1188 (updateInset): make the do {} while() a regular for loop
1189 (getCursorX): use temp vars
1190 (setCurrentFont): use temp vars
1191 (getColumnNearX): use temp vars
1193 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * text.C (transformChar): use temp var for getChar
1196 (computeBidiTables): use temp var for row->par()
1197 (fill): move temp vars for row->par() and pit->layout() earlier in
1199 (labelFill): use temp var for row->par()
1200 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1201 asc and desc, realize that pit never changes and that firstpit is
1202 just a duplicate and not needed. Exchange rit->par() with pit in a
1204 (breakAgain): use a temp var for boost::next(rit)
1205 (breakAgainOneRow): ditto
1206 (breakParagraph): use a temp var for rows().begin()
1207 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1208 (cursorRightOneWord): use temp var for cursor.par() and
1209 cursor.pos(), remove usage of tmpcursor.
1210 (cursorLeftOneWord): use temp var for cursor.par() and
1211 cursor.pos() only set cur at end of function.
1213 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1215 * text.C, text2.C: exchange all usage of Paragraph::next with
1216 boost::next(ParagraphList::iterator)
1218 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1220 * text2.C (cursorTop): simplify implementation
1221 (cursorBottom): ditto
1222 (setParagraph): use ParagraphList::iterator
1223 (setCurrentFont): adjust
1224 (getColumnNearX): adjust
1225 (cursorRight): adjust
1226 (cursorLeft): remove usage of Paragraph::previous
1227 (cursorUpParagraph): ditto
1228 (deleteEmptyParagraphMechanism): slight cleanup
1230 * text.C (isBoundary): take a Paragraph const & instead of a
1232 (addressBreakPoint): ditto
1233 (leftMargin): remove usage of Paragraph::previous.
1234 (setHeightOfRow): ditto
1235 (cursorLeftOneWord): ditto
1236 (selectNextWordToSpellcheck): ditto
1239 (breakParagraph): remove one usage of Paragraph::next
1240 (redoParagraph): ditto
1241 (acceptChange): ditto
1242 (insertChar): adjust
1243 (rowBreakPoint): adjust
1245 * bufferview_funcs.C (toggleAndShow): adjust
1247 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1249 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1250 methods to access it.
1252 * text.C: Added updateRowPositions to compute all row positions.
1253 Make top_y and getRowNearY() to use the cached y position
1255 2003-04-11 John Levon <levon@movementarian.org>
1257 * text.C (rowBreakPoint): reintroduce the labelEnd
1258 checks, code copied from the row fill stuff. Deep voodoo.
1260 * text.C (fill): add a comment and debugging for the
1263 2003-04-11 John Levon <levon@movementarian.org>
1265 * text.C: make sure fullrow insets get wrapped to the next line,
1266 even when they're in a manual label
1268 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1270 * text2.C (insertParagraph): make it take ParagraphList::iterator
1272 (setLayout): make it return ParagraphList::iterator
1273 (redoParagraphs): ditto
1275 (checkParagraph): ditto
1277 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1279 * text2.C: adjust several funcs.
1280 (realizeFont): take a ParagraphList::iterator as arg.
1281 (getLayoutFont): ditto
1282 (getLabelFont): ditto
1283 (setCharFont): ditto
1285 * text.C: adjust several funcs.
1287 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1289 * text.C (selectNextWordToSpellcheck): don't accidentally
1292 2003-04-10 John Levon <levon@movementarian.org>
1294 * ToolbarBackend.C (getIcon): special handling for
1297 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1299 * text2.C (cursorRight): a getChar assert fixed
1301 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * text2.C (getFont): change to take a ParagraphList::iterator
1304 instead of Paragraph*
1305 Adjust several functions.
1307 * text.C (transformChar): change to take a ParagraphList::iterator
1308 instead of Paragraph*
1309 (singleWidth): ditto
1310 Adjust several functions.
1312 * rowpainter.C: adjust several functions
1313 * rowpainter.h:store a ParagraphList::iterator and not a
1317 2003-04-09 John Levon <levon@movementarian.org>
1322 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1323 and the "help" bits as well
1325 2003-04-09 John Levon <levon@movementarian.org>
1328 * ToolbarBackend.C: allow multiple toolbars
1330 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1332 * undo_funcs.C (setCursorParUndo): adjust
1334 * text_funcs.C (transposeChars): adjust
1336 * text3.C (gotoNextInset): adjust
1339 * text2.C (setLayout): adjust
1340 (changeDepth): adjust
1342 (redoParagraphs): adjust
1343 (selectionAsString): adjust
1344 (setParagraph): adjust
1345 (insertInset): adjust
1346 (cutSelection): adjust
1347 (copySelection): adjust
1348 (pasteSelection): adjust
1349 (insertStringAsLines): adjust
1350 (updateInset): adjust
1351 (setCursor): change to take a ParagraphList::iterator parameter
1352 (setCursorIntern): change to take a ParagraphList::iterator parameter
1353 (setCurrentFont): adjust
1354 (cursorLeft): adjust
1355 (cursorRight): adjust
1356 (deleteEmptyParagraphMechanism): adjust
1358 * text.C (breakParagraph): adjust
1359 (insertChar): adjust
1360 (acceptChange): adjust
1361 (rejectChange): adjust
1362 (selectNextWordToSpellcheck): adjust
1363 (changeCase): adjust
1367 * lyxfind.C (SearchForward): adjust
1368 (SearchBackward): adjust
1369 (nextChange): adjust
1371 * lyxcursor.C (par): adjust
1373 * lyxcursor.h: store a ParagraphList::iterator instead of a
1376 * lyx_cb.C (getPossibleLabel): adjust
1378 * bufferview_funcs.C (toggleAndShow): adjust
1380 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1383 * BufferView.C (removeAutoInsets): adjust
1384 (lockedInsetStoreUndo): adjust
1386 2003-04-09 John Levon <levon@movementarian.org>
1388 * ToolbarBackend.C: try icon without argument
1389 if with argument fails
1391 2003-04-08 John Levon <levon@movementarian.org>
1394 * ToolbarBackend.C: add getIcon(), handle tooltip,
1395 and change from "Icon" to "Item".
1397 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1399 * BufferView.C (lockInset): another bad getchar crunched
1401 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1403 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1406 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1408 * lyxfind.C (searchForward, searchBackwards): bug 782
1410 2003-04-07 John Levon <levon@movementarian.org>
1412 * paragraph.C: remove dead comment
1414 * text.C: remove troublesome depth-fiddling code
1415 in leftMargin() and rightMargin() (bug 1017)
1417 * text.C: fix breaking of rows in nested lists
1420 * text2.C (updateCounters): fix up depth values
1423 2003-04-07 John Levon <levon@movementarian.org>
1425 * BufferView_pimpl.C: clear message when doc finishes resizing,
1426 and after a mouse event
1428 * lyxfunc.C: clear message after exiting inset
1430 2003-04-07 John Levon <levon@movementarian.org>
1432 * bufferview_funcs.C: show math status not outside
1433 status in the statusbar
1435 2003-04-07 John Levon <levon@movementarian.org>
1437 * lyxfunc.C: note status changed after a depth change
1439 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1441 * LaTeX.h: move AuxInfo operator==, != out of line.
1442 Remove LaTeX virtual destructor; nothing derives from it.
1443 Move operator()() out of public area and rename it startscript().
1444 Change protected for private.
1446 2003-04-04 Angus Leeming <leeming@lyx.org>
1449 * text2.C: remove unneeded #includes.
1451 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1453 * text2.C (dEPM): fix the heigth of the next row
1455 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1457 * text.C: squashed an invalid getChar requester + some ws changes
1459 2003-04-03 John Levon <levon@movementarian.org>
1461 * bufferview_funcs.h:
1462 * bufferview_funcs.C:
1465 * text2.C: make getStatus work for the env depth lfuns
1467 2003-04-03 John Levon <levon@movementarian.org>
1469 * bufferview_funcs.h:
1470 * bufferview_funcs.C:
1473 * text2.C: parlistize decDepth(), by merging it with incDepth()
1475 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1477 * lyxrow.h: store a ParagraphList::iterator instead of a
1478 Paragraph* and adjust other class functions to suit.
1480 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1483 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1485 * text2.C (setCursor): do not anchor to cursor row for the time being
1487 2003-04-02 John Levon <levon@movementarian.org>
1494 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1496 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1498 * paragraph.h: make ParagraphList and ParagraphList::iterator
1499 friends of Paragraph.
1501 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1503 * ParagraphList.C: Use the private next_ and previous_ from
1506 2003-04-01 John Levon <levon@movementarian.org>
1510 * Makefile.am: rename, remove defaults gunk
1513 * MenuBackend.C: remove defaults gunk
1516 * Languages.C: remove defaults gunk
1519 * lyx_main.C: error out if files couldn't be found.
1521 2003-04-02 John Levon <levon@movementarian.org>
1523 * text2.C: make incDepth() use parlist
1525 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1527 * undo_funcs.C (firstUndoParagraph): adjust
1529 * text3.C (gotoInset): adjust
1530 (dispatch): adjust, and rewrite loop.
1532 * text2.C (init): adjust, and rewrite loop.
1533 (redoParagraphs): adjust
1534 (updateInset): adjust, and rewrite loop.
1535 (deleteEmptyParagraphMechanism): adjust
1537 * tabular.C (LyXTabular): adjust
1538 (SetMultiColumn): adjust
1541 * lyxtext.[Ch] (ownerParagraph): delete function
1542 (ownerParagraphs): new function returns a ParagraphList.
1544 * BufferView.C (removeAutoInsets): adjust
1545 (insertErrors): adjust
1546 (setCursorFromRow): adjust
1548 2003-04-01 Angus Leeming <leeming@lyx.org>
1550 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1553 2003-04-02 John Levon <levon@movementarian.org>
1559 * text_funcs.C: make transposeChars a free function
1561 * lyxrow_funcs.C: remove wrong comment
1563 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1566 * rowpainter.C: adjust
1571 * lyxrow_funcs. [Ch]: new files
1573 * lyxrow.[Ch]: remove next and previous pointers
1574 (next,previous): remove accessor functions
1575 (isParEnd): move to lyxrow_funcs
1576 (lastPos): move to lyxrow_funcs
1577 (nextRowIsAllInset): move to lyxrow_funcs
1578 (lastPrintablePos): move to lyxrow_funcs
1579 (numberOfSeparators): move to lyxrow_funcs
1580 (numberOfHfills): move to lyxrow_funcs
1581 (numberOfLabelHfills): move to lyxrow_funcs
1582 (hfillExpansion): move to lyxrow_funcs
1586 * bufferview_funcs.C (toggleAndShow): adjust
1588 * RowList.h: Remove class RowList from file leave just a
1591 * RowList.C: delete file
1593 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1596 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1598 * text3.C (cursorPrevious): adjust
1599 (cursorNext): adjust
1602 * text2.C (redoHeightOfParagraph): adjust
1603 (redoDrawingOfParagraph): adjust
1606 * text.C (breakParagraph): adjust
1607 (insertChar): adjust
1610 * rowpainter.C (RowPainter): adjust
1611 (leftMargin): simplify and adjust
1612 (most rowpainter functions): adjust.
1614 * rowpainter.h: store the row as RowList::iterator not as Row*
1616 * lyxcursor.C (row): taka RowList::iterator as arg
1619 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1622 2003-04-01 Angus Leeming <leeming@lyx.org>
1624 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1625 stuff like bool Bool.
1627 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1629 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1632 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1637 * lyxtext.h (rows): drop one version and leve a const variant that
1638 returns a RowList::iterator.
1640 2003-03-31 Angus Leeming <leeming@lyx.org>
1642 * text.C (fill): ensure that the signature is the same as that in the
1645 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1647 * text2.C (redoParagraphs): adjust
1648 (updateCounters): adjust
1649 (checkParagraph): adjust
1650 (getColumnNearX): adjust and reformat a bit.
1652 * text.C (top_y): adjust
1654 (leftMargin): adjust
1655 (prepareToPrint): adjust
1657 (getRowNearY): adjust
1659 * lyxtext.h: make rowlist_ mutable.
1661 * RowList.h: add const_iterator
1662 * RowList.C: adjust for RowList::const_iterator.
1664 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1667 2003-03-31 John Levon <levon@movementarian.org>
1670 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1672 * lyx_main.C: set default fonts from using lyx_gui funcs
1674 * exporter.C: pdf_mode moved from lyxrc
1677 * lyxfunc.C: changes from above
1679 2003-03-31 John Levon <levon@movementarian.org>
1681 * lyx_main.C: fix to the last fix
1683 2003-03-31 John Levon <levon@movementarian.org>
1685 * bufferlist.C: "Load original" -> "Load Original"
1691 * format.C: more Alert cleanups
1693 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1695 * text2.C (removeParagraph): make it take a RowList::iterator as
1697 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1698 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1700 * text.C (anchor_row): make it take a RowList::iterator as arg,
1702 (computeBidiTables): make it take a const reference to Row instead
1703 of Row pointer, adjust.
1704 (leftMargin): make it take a RowList::iterator as arg, adjust.
1705 (rowBreakPoint): adjust
1706 (breakAgainOneRow): make it take a RowList::iterator as arg,
1708 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1710 * bufferview_funcs.C (toggleAndShow): adjust
1712 2003-03-30 John Levon <levon@movementarian.org>
1716 * boost-inst.C: moved to support
1718 * several files: changes as a result
1720 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * text2.C (LyXText): adjust.
1724 (removeRow): make it take a RowList::iterator as arg, adjust.
1725 (fullRebreak): adjust
1726 (deleteEmptyParagraphMechanism): adjust
1727 (clearPaint): adjust
1730 * text.C (top_y): adjust
1731 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1732 (breakAgain): make it take a RowList::iterator as arg, adjust.
1733 (breakParagraph): adjust
1734 (insertChar): adjust
1737 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1738 need_break_row, and refresh_row.
1740 * text3.C (dispatch): adjust
1742 * text2.C (checkParagraph): adjust
1744 (setCursorFromCoordinates): adjust
1746 * text.C (top_y): adjust
1748 (getRow): make it return a RowList::iterator, adjust
1749 (getRowNearY): make it return a RowList::iterator, adjust
1751 * text2.C (init): adjust
1752 (insertRow): remove function
1753 (insertParagraph): adjust
1754 (redoParagraphs): adjust
1755 (fullRebreak): adjust
1756 (updateCounters): adjust
1758 * text.C (top_y): rewrite to use RowList iterators.
1760 (setHeightOfRow): rewrite to sue RowList iterators.
1761 (appendParagraph): adjust
1762 (breakAgain): adjust
1763 (breakAgainOneRow): adjust
1764 (breakParagraph): adjust
1766 (getRowNearY): adjust, and remove commented code.
1768 * lyxtext.h (firstRow): delete function
1769 (lastRow): delete function
1770 (rows): new function (const and non-const versions.)
1771 (insertRow): delete function
1773 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1775 2003-03-29 John Levon <levon@movementarian.org>
1777 * BufferView_pimpl.C: always update scrollbar top
1778 because pasting text when we're anchored could mean we
1779 miss an update altogether
1781 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1783 * text2.C (init): use rowlist_.end() and not 0.
1784 (insertRow): change to take a RowList::iterator as arg, adjust
1786 (insertParagraph): change to take a RowList::iterator as arg,
1788 (redoParagraphs): remove some debug msgs.
1790 * text.C (appendParagraph): change to take a RowList::iterator
1791 arg, adjust for this.
1792 (breakAgain): add an assert
1793 (breakAgainOneRow): ditto
1795 2003-03-29 John Levon <levon@movementarian.org>
1797 * text2.C: do not clear selection after inc/decDepth
1800 2003-03-29 John Levon <levon@movementarian.org>
1803 * buffer.C: fix broken strerrors according to Lars
1805 2003-03-29 John Levon <levon@movementarian.org>
1807 * converters.C: more Alert cleanups
1809 2003-03-29 John Levon <levon@movementarian.org>
1811 * bufferview_funcs.C: remove pointless Alert
1813 * buffer.C: fix confusing error message when
1814 a template is chmoded 000
1816 2003-03-29 John Levon <levon@movementarian.org>
1820 * BufferView_pimpl.C: Alert fixes
1824 * tabular-old.C: remove unused table compat reading
1826 2003-03-29 John Levon <levon@movementarian.org>
1831 * lyx_cb.C: more Alert cleanups
1833 * lyxfunc.C: don't allow chktex if not latex document
1835 2003-03-29 John Levon <levon@movementarian.org>
1839 * buffer.C: warnings pushed down from support/,
1842 2003-03-29 John Levon <levon@movementarian.org>
1844 * lyxfunc.C: safety check for C-r (revert)
1846 2003-03-29 John Levon <levon@movementarian.org>
1849 * bufferlist.C: several UI fixes using Alert::prompt.
1850 Fix the pointless looping quit code. Fix stupid revert
1855 * lyx_cb.C: use Alert::prompt
1857 * lyx_main.C: remove a silly question
1859 * lyxfunc.C: remove a couple of silly questions,
1862 2003-03-28 John Levon <levon@movementarian.org>
1864 * text2.C: fix bug 974 (End on empty par)
1866 2003-03-28 John Levon <levon@movementarian.org>
1868 * BufferView_pimpl.C:
1870 * lfuns.h: remove do-nothing math greek lfuns
1872 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * lyxgluelength.h (isValidGlueLength): add default arg on
1875 parameter 2. Remove default arg from friend in class.
1877 * lyxlength.h (isValidLength): add default arg on parameter 2.
1878 Remove default arg from friend in class.
1880 * text2.C (LyXText): adjust, initialize refresh_row.
1884 (insertParagraph): adjst
1885 (redoParagraphs): adjust
1886 (fullRebreak): adjust
1887 (updateCounters): adjust
1888 (deleteEmptyParagraphMechanism): first attempt at fixing a
1891 * text.C (top_y): adjust
1892 (setHeightOfRow): adjust
1894 (getRowNearY): adjust
1896 * lyxtext.h: include RowList.h
1897 (~LyXText): not needed anymore, deleted.
1898 (firstRow): modify for RowList
1899 (lastRow): new function
1900 Delete firstrow and lastrow class variables, add a Rowlist
1901 rowlist_ class variable.
1903 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1906 * RowList.C (insert): fix case where it == begin().
1908 2003-03-26 Angus Leeming <leeming@lyx.org>
1910 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1911 the thesaurus dialog.
1913 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1917 * RowList.[Ch]: new files
1919 * ParagraphList.C (erase): handle the case where it == begin
1922 2003-03-25 John Levon <levon@movementarian.org>
1926 * aspell.C: add new aspell support
1929 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1932 2003-03-25 Angus Leeming <leeming@lyx.org>
1935 * LyXAction.C (init): new LFUN_INSET_INSERT.
1937 * BufferView_pimpl.C (dispatch): split out part of the
1938 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1940 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1943 2003-03-25 Angus Leeming <leeming@lyx.org>
1945 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1947 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1950 * text3.C: remove useless row->height(0)
1952 2003-03-25 John Levon <levon@movementarian.org>
1956 * text3.C: rename the refreshing stuff to better names
1958 2003-03-24 John Levon <levon@movementarian.org>
1960 * BufferView_pimpl.h:
1961 * BufferView_pimpl.C: update layout choice on a mouse
1964 2003-03-23 John Levon <levon@movementarian.org>
1966 * Makefile.am: fix commandtags.h reference
1968 2003-03-22 John Levon <levon@movementarian.org>
1970 * BufferView_pimpl.C:
1975 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1977 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1980 * text.C: take the rtl methods out of line
1982 2003-03-21 André Pönitz <poenitz@gmx.net>
1984 * metricsinfo.[Ch]: new files containing structures to be passed around
1985 during the two-phase-drawing...
1987 2003-03-21 André Pönitz <poenitz@gmx.net>
1989 * lyxtextclass.C: read 'environment' tag.
1991 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1993 * text2.C (removeRow): fix bug 964
1995 2003-03-20 John Levon <levon@movementarian.org>
1999 * text2.C: paint cleanups. Inset::update() dropped font
2002 2003-03-19 John Levon <levon@movementarian.org>
2004 * lyxfunc.C: only fitcursor/markDirty if available()
2006 2003-03-19 John Levon <levon@movementarian.org>
2008 * commandtags.h: rename to ...
2010 * lfuns.h: ... this, and renumber / cleanup
2012 2003-03-19 John Levon <levon@movementarian.org>
2014 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2015 fit the cursor after an lfun
2019 * BufferView_pimpl.h:
2020 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2022 * LyXAction.C: layout-character should have ReadOnly
2024 * ParagraphParameters.C:
2026 * bufferview_funcs.C:
2033 * undo_funcs.C: changes from above
2035 2003-03-18 John Levon <levon@movementarian.org>
2037 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2038 remove it from update()
2040 * lyxfunc.C: update layout choice after an lfun
2042 * text3.C: remove extra updateLayoutChoice()s
2044 2003-03-18 John Levon <levon@movementarian.org>
2046 * text.C: top_y change means full repaint, fix
2047 a drawing bug with cursor movement
2049 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2053 * text2.C: anchor row on setCursor
2055 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2057 * lyxtext.h: remove almost all mutable keywords
2060 * text3.C: remove const keywords accordingly
2062 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2064 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2066 (TeXEnvironment): ditto
2069 2003-03-17 John Levon <levon@movementarian.org>
2071 * text.C (rowBreakPoint): remove attempt to fix displayed
2072 math insets inside a manual label
2074 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * lyxtext.h: remove BufferView* as first arg from almost all class
2078 * other files: adjust.
2080 2003-03-17 John Levon <levon@movementarian.org>
2084 * text2.C: more paint cleanups
2086 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2089 * rowpainter.C: remove "smart" background painting code
2091 2003-03-16 John Levon <levon@movementarian.org>
2096 * text3.C: add helper functions for setting refresh_row/y
2098 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2100 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2101 newline inset which *can* get inserted in the pass_thru layouts.
2102 This is primarily for literate documents.
2104 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2106 * buffer.C: increment LYX_FORMAT to 223
2108 2003-03-14 André Pönitz <poenitz@gmx.net>
2110 * textclass.h: prepare for environment handling, ws changes
2111 * lyxlayout.C: read latexheader and latexfooter tags
2113 2003-03-14 John Levon <levon@movementarian.org>
2115 * text2.C: rewrite ::status() a bit
2117 2003-03-13 John Levon <levon@movementarian.org>
2119 * lyxtext.h: add some docs
2121 2003-03-13 John Levon <levon@movementarian.org>
2126 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2128 2003-03-13 John Levon <levon@movementarian.org>
2130 * text3.C: fix appendix redrawing
2132 2003-03-13 John Levon <levon@movementarian.org>
2134 * text.C (setHeightOfRow):
2136 * rowpainter.C: make appendix mark have the text
2137 "Appendix" so the user knows what it is
2140 * LColor.C: s/appendixline/appendix/ from above
2142 2003-03-13 John Levon <levon@movementarian.org>
2144 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2146 * text.C: fix a getChar(pos) bug properly
2148 2003-03-13 Angus Leeming <leeming@lyx.org>
2151 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2152 Probably only temporary. Let's see how things pan out.
2154 * BufferView.C (unlockInset):
2155 * BufferView_pimpl.C (fitCursor):
2156 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2158 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2159 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2161 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2162 new functions that convert ParagraphParameters to and from a string.
2164 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2165 BufferView::Pimpl's dispatch.
2166 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2168 2003-03-13 André Pönitz <poenitz@gmx.net>
2172 * factory.C: make it aware of InsetEnv
2174 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * text2.C (setCursor): never ask for one past last
2177 (setCursor): add some debugging messages.
2179 * text.C (singleWidth): never ask for one past last
2180 (singleWidth): ditto
2182 (rightMargin): ditto
2183 (rowBreakPoint): ditto
2184 (setHeightOfRow): ditto
2185 (prepareToPrint): ditto
2187 * rowpainter.C (paintBackground): never ask for one past last
2188 (paintText): never ask for one past last
2190 * paragraph_pimpl.C (getChar): make the assert stricter, never
2191 allow the one past last pos to be taken
2193 * paragraph.C (getChar): ws changes only
2195 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2196 (numberOfSeparators): ditto
2197 (numberOfHfills): ditto
2199 2003-03-12 John Levon <levon@movementarian.org>
2205 * paragraph_funcs.C: fix per-buffer authorlists
2207 2003-03-12 John Levon <levon@movementarian.org>
2209 * text.C: fix newline in right address
2211 2003-03-12 Angus Leeming <leeming@lyx.org>
2213 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2214 duplicate those in LyXFunc::dispatch.
2218 * ToolbarDefaults.C:
2219 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2220 Add LFUN_FONTFREE_UPDATE.
2222 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2223 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2225 * bufferview_func.[Ch]: several new functions to facilliate
2226 transfer of data to and from the character dialog.
2228 2003-03-12 John Levon <levon@movementarian.org>
2233 * paragraph_funcs.C:
2234 * paragraph_pimpl.C:
2238 * text3.C: remove META_NEWLINE in favour of an inset
2241 * rowpainter.C: remove paintNewline (done by inset)
2243 2003-03-12 John Levon <levon@movementarian.org>
2245 * paragraph_pimpl.C: complain about bad getChar()s
2246 for a while at least
2248 2003-03-12 John Levon <levon@movementarian.org>
2251 * buffer.C: move paragraph read into a separate function,
2252 a little renaming to reflect that.
2255 * bufferparams.C: remove the author_ids map, not necessary now
2258 * factory.C: moved Buffer::readInset to here
2260 * paragraph_funcs.h:
2261 * paragraph_funcs.C: readParagraph free function moved from
2264 * tabular.C: name change
2266 2003-03-12 John Levon <levon@movementarian.org>
2269 * ParagraphParameters.C: move par params input to
2272 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2273 behave like a normal read from the stream wrt reading
2274 a line vs. a \\token
2276 2003-03-12 John Levon <levon@movementarian.org>
2279 * ParagraphParameters.h:
2280 * ParagraphParameters.C: move output code to a
2283 2003-03-12 John Levon <levon@movementarian.org>
2285 * BufferView.C (insertLyXFile):
2288 * tabular.C: use a parlist iterator for creating the
2291 2003-03-12 John Levon <levon@movementarian.org>
2293 * buffer.C: make current_change static local not
2296 2003-03-12 John Levon <levon@movementarian.org>
2298 * buffer.C: fix insertStringAsLines for change tracking
2300 2003-03-12 John Levon <levon@movementarian.org>
2307 * bufferparams.C: move author list into params. Rename some
2308 functions. Move the header reading into a separate token
2309 loop. Move the header token reading into BufferParams.
2311 2003-03-12 John Levon <levon@movementarian.org>
2313 * changes.C: put debug inside lyxerr.debugging() checks
2315 2003-03-11 André Pönitz <poenitz@gmx.net>
2317 * factory.C: make it aware of InsetHFill
2319 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2321 * buffer.C (latexParagraphs): move function from here...
2322 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2325 2003-03-10 Angus Leeming <leeming@lyx.org>
2327 * LyXAction.C (init): fix bug in poplating array with multiple entries
2328 with the same LFUN (spotted by JMarc).
2330 2003-03-10 John Levon <levon@movementarian.org>
2333 * text2.C: move getColumnNearX() near its
2336 2003-03-10 John Levon <levon@movementarian.org>
2338 * text.C: fix break before a minipage
2340 2003-03-10 John Levon <levon@movementarian.org>
2342 * text.C: fix the last commit
2344 2003-03-09 John Levon <levon@movementarian.org>
2348 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2349 bug 365 (don't break before insets unless needed). Don't
2350 return a value > last under any circumstances.
2352 2003-03-09 Angus Leeming <leeming@lyx.org>
2354 * BufferView_pimpl.C (trackChanges, dispatch): call
2355 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2357 2003-03-09 Angus Leeming <leeming@lyx.org>
2359 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2360 than Dialogs::showAboutlyx().
2362 2003-03-09 Angus Leeming <leeming@lyx.org>
2364 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2365 than Dialogs::showTabularCreate().
2367 2003-03-09 John Levon <levon@movementarian.org>
2371 * text2.C: 3rd arg to nextBreakPoint was always the same.
2374 2003-03-08 John Levon <levon@movementarian.org>
2381 * text2.C: Remove the "main" bit from the "main body"
2384 2003-03-08 John Levon <levon@movementarian.org>
2386 * text.C (leftMargin): The left margin of an empty
2387 manual label paragraph should not include the label width
2390 * text.C (prepareToPrint): don't attempt to measure hfills
2391 for empty manual label paragraphs - the answer should be 0
2393 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2395 * CutAndPaste.C: remove commented code and reindent.
2397 2003-03-08 John Levon <levon@movementarian.org>
2400 * lyxfunc.C: move reloadBuffer()
2403 * BufferView.C: to here
2405 * lyxvc.C: add comment
2408 * vc-backend.C: call bv->reload() to avoid
2409 getStatus() check on MENURELOAD
2411 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2413 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2414 to an old format .dep file.
2416 2003-03-07 Angus Leeming <leeming@lyx.org>
2418 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2419 when the LFUN_MOUSE_RELEASE should have been handled by
2420 inset->localDispatch.
2422 2003-03-07 Angus Leeming <leeming@lyx.org>
2424 * BufferView_pimpl.C (dispatch):
2425 * LyXAction.C (init):
2426 * ToolbarDefaults.C (init):
2428 * lyxfunc.C (getStatus):
2429 remove LFUN_INSET_GRAPHICS.
2431 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2433 2003-03-07 Angus Leeming <leeming@lyx.org>
2436 * LyXAction.C (init):
2437 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2439 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2442 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2444 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2445 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2447 2003-03-07 Angus Leeming <leeming@lyx.org>
2449 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2452 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2454 * ParagraphList.C (front): new function
2457 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2459 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2460 and top_row_offset_. removed var first_y.
2462 * text2.C (LyXText, removeRow):
2464 * BufferView_pimpl.C:
2465 use these methods instead of using first_y
2467 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2469 * text2.C (pasteSelection): adjust for checkPastePossible
2471 * CutAndPaste.C: remove Paragraph * buf and replace with
2472 ParagraphList paragraphs.
2473 (DeleteBuffer): delete
2474 (cutSelection): change the tc type to textclass_type
2475 (copySelection): change the tc type to textclass_type
2476 (copySelection): adjust for ParagraphList
2477 (pasteSelection): change the tc type to textclass_type
2478 (pasteSelection): adjust for Paragraphlist
2479 (nrOfParagraphs): simplify for ParagraphList
2480 (checkPastePossible): simplify for ParagraphList
2481 (checkPastePossible): remove unused arg
2483 * ParagraphList.C (insert): handle the case where there are no
2486 * CutAndPaste.h: make CutAndPaste a namespace.
2488 * text3.C (dispatch): adjust
2490 * text.C (breakParagraph): add a ParagraphList as arg
2492 * paragraph_funcs.C (breakParagraph): change to take a
2493 BufferParams and a ParagraphList as args.
2494 (breakParagraphConservative): ditto
2495 (mergeParagraph): ditto
2496 (TeXDeeper): add a ParagraphList arg
2497 (TeXEnvironment): ditto
2500 * buffer.C (readLyXformat2): adjust
2501 (insertStringAsLines): adjust
2502 (latexParagraphs): adjust
2504 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2505 (cutSelection): adjust
2506 (pasteSelection): adjust
2508 * BufferView_pimpl.C (insertInset): adjust
2510 2003-03-05 Angus Leeming <leeming@lyx.org>
2513 * LyXAction.C (init):
2514 * BufferView_pimpl.C (dispatch):
2515 * lyxfunc.C (getStatus):
2516 remove LFUN_CHILD_INSERT.
2518 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2520 2003-03-05 Angus Leeming <leeming@lyx.org>
2523 * LyXAction.C (init):
2524 * src/factory.C (createInset):
2525 * lyxfunc.C (getStatus):
2526 * text3.C (dispatch):
2527 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2529 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2531 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2533 * ParagraphList.C (insert): handle insert right before end()
2534 (erase): fix cases where it can be first or last paragraph.
2536 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2538 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2539 Paragraph::next and Paragraph::previous
2542 * text.C (breakParagraph): adjust
2544 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2545 BufferParams& as arg.
2546 (breakParagraph): use ParagraphList::insert
2547 (breakParagraphConservative): take a Buffer* instead of a
2548 BufferParams& as arg.
2549 (breakParagraphConservative): use ParagraphList::insert.
2551 * buffer.C (insertStringAsLines): un-const it
2552 (insertStringAsLines): adjust
2554 * ParagraphList.C (insert): new function
2556 * CutAndPaste.C (pasteSelection): adjust
2558 * text.C (backspace): adjust
2560 * tabular.C (SetMultiColumn): adjust
2562 * CutAndPaste.C (cutSelection): adjust
2563 (pasteSelection): adjust
2565 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2566 Buffer const * as arg
2568 * ParagraphList.C (erase): new function
2569 * paragraph_funcs.C (mergeParagraph): use it
2570 (mergeParagraph): make it take a Buffer* instead of a
2571 BufferParams* as arg
2573 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2575 (breakParagraphConservative): ditto
2577 * paragraph.h: remove the breakParagraph friend
2579 * paragraph.C (eraseIntern): new function
2580 (setChange): new function
2582 * paragraph_funcs.C (mergeParagraph): make it take a
2583 ParagraphList::iterator instead of a Paragraph *, adjust
2586 * paragraph.h: move an #endif so that the change tracking stuff
2587 also works in the NO_NEXT case.
2589 2003-03-04 Angus Leeming <leeming@lyx.org>
2592 * LyXAction.C: new LFUN_INSET_MODIFY.
2594 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2595 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2597 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * several files: ws changes only
2601 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2602 (TeXEnvironment): ditto
2605 * buffer.C (makeLaTeXFile): adjust
2606 (latexParagraphs): make it take ParagraphList::iterator as args
2608 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2610 * buffer.C (latexParagraphs): adjust
2612 * paragraph.C (TeXOnePar): move function...
2613 (optArgInset): move function...
2614 (TeXEnvironment): move function...
2615 * paragraph_pimpl.C (TeXDeeper): move function...
2616 * paragraph_funcs.C: ...here
2618 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2620 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2622 * buffer.C (readInset): remove compability code for old Figure and
2625 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2627 * buffer.C: ws changes
2630 * BufferView_pimpl.C: ditto
2633 * bufferlist.h: ditto
2637 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2639 * converter.[Ch]: split into itself +
2642 * Makefile.am: += graph.[Ch] + format.[Ch]
2649 * lyxrc.C: added #include "format.h"
2651 2003-02-27 Angus Leeming <leeming@lyx.org>
2653 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2656 * factory.C (createInset): add "label" to the factory.
2658 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2659 string and do no more.
2661 2003-02-27 Angus Leeming <leeming@lyx.org>
2664 * LyXAction.C (init):
2665 * factory.C (createInset):
2666 * BufferView_pimpl.C (dispatch):
2667 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2669 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2671 * lyxfunc.C (dispatch):
2672 * text3.C (dispatch): pass name to params2string.
2674 2003-02-26 Angus Leeming <leeming@lyx.org>
2676 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2678 Rearrange the ~includes. Strip out the unnecessary ones.
2680 * factory.C (createInset): reformat.
2681 create new insets for the various LFUN_XYZ_APPLY lfuns.
2683 2003-02-26 John Levon <levon@movementarian.org>
2686 * lyxrow.C: add isParStart,isParEnd helpers
2688 * paragraph.h: make isInserted/DeletedText take refs
2690 * paragraph_funcs.h:
2691 * paragraph_funcs.C: remove #if 0'd code
2696 * text.C: use lyxrow helpers above.
2697 Move draw and paint routines to RowPainter.
2698 Make several methods use refs not pointers.
2699 Make backgroundColor() const.
2700 Add markChangeInDraw(), isInInset().
2701 Merge changeRegionCase into changeCase.
2702 Make workWidth() shouldn't-happen code into an Assert.
2705 * rowpainter.C: new class for painting a row.
2708 * vspace.C: make inPixels take a ref
2710 2003-02-26 Angus Leeming <leeming@lyx.org>
2712 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2715 2003-02-25 John Levon <levon@movementarian.org>
2717 * ispell.C: give the forked command a more accurate name
2719 2003-02-22 John Levon <levon@movementarian.org>
2722 * toc.C: make TocItem store an id not a Paragraph *
2725 2003-02-21 Angus Leeming <leeming@lyx.org>
2727 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2728 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2729 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2730 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2731 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2732 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2734 * BufferView_pimpl.C (dispatch):
2735 * LyXAction.C (init):
2736 * factory.C (createInset):
2737 * lyxfunc.C (getStatus, dispatch):
2738 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2740 2003-02-21 Angus Leeming <leeming@lyx.org>
2742 * BufferView_pimpl.C (MenuInsertLyXFile):
2743 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2744 * lyxfunc.C (menuNew, open, doImport):
2745 no longer pass a LyXView & to fileDlg.
2747 2003-02-21 Angus Leeming <leeming@lyx.org>
2749 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2750 * LyXAction.C: change, BIBKEY to BIBITEM.
2751 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2752 Change InsetBibKey to InsetBibitem.
2753 Change BIBKEY_CODE to BIBITEM_CODE.
2754 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2755 * factory.C: replace insetbib.h with insetbibitem.h.
2756 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2757 * paragraph.C: replace insetbib.h with insetbibitem.h.
2758 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2759 Change bibkey() to bibitem().
2760 * text.C: remove insetbib.h.
2761 * text2.C: replace insetbib.h with insetbibitem.h.
2762 change bibkey() to bibitem().
2763 * text3.C: remove insetbib.h.
2764 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2766 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2768 * lyxrc.C (output): enclose user email in quotes (in case there are
2771 2003-02-18 John Levon <levon@movementarian.org>
2773 * buffer.h: add std::
2775 2003-02-17 John Levon <levon@movementarian.org>
2781 * pspell.C: reworking. Especially in ispell, a large
2782 number of clean ups and bug fixes.
2784 * lyxfunc.C: fix revert to behave sensibly
2786 2003-02-17 André Pönitz <poenitz@gmx.net>
2789 * commandtags.h: new LFUN_INSERT_BIBKEY
2799 * paragraph_func.C: remove special bibkey handling
2801 2003-02-17 John Levon <levon@movementarian.org>
2803 * text.C (Delete): fix case where delete at the end of
2804 the very first paragraph would not merge the pars
2806 2003-02-17 John Levon <levon@movementarian.org>
2808 * lyxrow.C: fix lastPrintablePos()
2810 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2812 * bufferparams.C (writeLaTeX): add a std:here
2814 * buffer.C: and remove a using directive there
2816 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2818 * buffer.C (makeLaTeXFile): move the code that generates the
2821 * bufferparams.C (writeLaTeX): ... in this new method
2823 * LaTeXFeatures.C (getEncodingSet): make const
2824 (getLanguages): make const
2826 * MenuBackend.C (binding): returns the binding associated to this
2828 (add): sets the status of each item by calling getStatus. Adds
2830 (read): add support for OptSubMenu
2831 (expand): remove extra separator at the end of expanded menu
2833 2003-02-15 John Levon <levon@movementarian.org>
2836 * BufferView_pimpl.C:
2838 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2839 inset code that had no actual effect. Remove unneeded status
2842 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2844 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2847 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2849 * text.C (drawLengthMarker): also draw an arrow marker for
2850 symbolic lengths (medskip...)
2852 2003-02-14 John Levon <levon@movementarian.org>
2855 * tabular.C: better method names
2857 2003-02-14 John Levon <levon@movementarian.org>
2859 * BufferView_pimpl.C:
2864 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2865 it's a more accurate name. Remove some pointless uses.
2867 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2869 * text2.C (LyXText): change order of initilizers to shut off
2872 2003-02-14 John Levon <levon@movementarian.org>
2874 * buffer.C: use ParIterator for getParFromID()
2878 * paragraph_pimpl.h:
2879 * paragraph_pimpl.C: remove unused getParFromID()
2881 2003-02-14 John Levon <levon@movementarian.org>
2883 * buffer.C: remove some very old #if 0'd parse code
2885 2003-02-13 John Levon <levon@movementarian.org>
2889 * text2.C: move hfillExpansion(), numberOfSeparators(),
2890 rowLast(), rowLastPrintable(), numberofHfills(),
2891 numberOfLabelHfills() ...
2894 * lyxrow.C: ... to member functions here.
2899 * text.C: remove LyXText::beginningOfMainBody(), and call
2900 p->beginningOfMainBody() directly. Move the check for
2901 LABEL_MANUAL into the latter.
2908 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2914 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2915 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2917 2003-02-13 John Levon <levon@movementarian.org>
2919 * CutAndPaste.C: remove debug
2921 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2923 * paragraph.C (asString): remove two unused variables
2925 * lyxtextclass.C (readTitleType):
2927 (LyXTextClass): handle new members titletype_ and titlename_
2929 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2931 2003-02-09 John Levon <levon@movementarian.org>
2934 * buffer.C: replace hand-coded list with a map for the dep clean
2936 2003-02-08 John Levon <levon@movementarian.org>
2938 * LaTeX.C: consolidate code into showRunMessage() helper
2940 2003-02-08 John Levon <levon@movementarian.org>
2945 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2946 and pass the size in explicitly
2948 * BufferView_pimpl.h:
2949 * BufferView_pimpl.C:
2951 * BufferView.C: add getCurrentChange()
2953 * BufferView_pimpl.h:
2954 * BufferView_pimpl.C: handle change lfuns
2956 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2957 for changes. Mark pasted paragraphs as new.
2959 * support/lyxtime.h:
2960 * support/lyxtime.C:
2961 * DepTable.C: abstract time_t as lyx::time_type
2964 * LColor.C: add colours for new text, deleted text, changebars
2966 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2967 package use "usenames" option.
2971 * LyXAction.C: add change lfuns
2975 * author.C: author handling
2978 * buffer.C: add a per-buffer author list, with first entry as
2979 current author. Handle new .lyx tokens for change tracking. Output
2980 author list to .lyx file. Output dvipost stuff to .tex preamble.
2981 Bump lyx format to 222.
2984 * bufferlist.C: add setCurrentAuthor() to reset current author details
2988 * bufferparams.C: add param for tracking
2990 * bufferview_funcs.C: output change info in minibuffer
2994 * changes.C: add change-tracking structure
2997 * debug.C: add CHANGES debug flag
3000 * lyxfind.C: add code for finding the next change piece
3003 * lyxrc.C: add user_name and user_email
3006 * lyxrow.C: add a metric for the top of the text line
3009 * text.C: implement accept/rejectChange()
3012 * text.C: paint changebars. Paint new/deleted text in the chosen
3013 colours. Strike through deleted text.
3017 * paragraph_pimpl.h:
3018 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3019 in the current change to the insert functions. Rework erase to
3020 mark text as deleted, adding an eraseIntern() and a range-based
3021 erase(). Implement per-paragraph change lookup and
3024 * paragraph_funcs.C: Fixup paste for change tracking.
3026 * tabular.C: mark added row/columns as new.
3028 * text.C: fix rowLast() to never return -1. Don't allow
3029 spellchecking of deleted text. Track transpose changes. Don't
3030 allow paragraph break or merge where appropriate.
3032 * text2.C: leave cursor at end of selection after a cut.
3034 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3036 * text.C (getLengthMarkerHeight):
3037 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3038 visible on screen too.
3040 2003-02-07 John Levon <levon@movementarian.org>
3042 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3044 2003-02-05 Angus Leeming <leeming@lyx.org>
3046 * lyxserver.C (read_ready): revert my patch of 11 September last year
3047 as it sends PC cpu through the roof. Presumably this means that
3048 the lyxserver will no longer run on an Alpha...
3050 2003-01-30 Angus Leeming <leeming@lyx.org>
3052 * factory.C (createInset): create an InsetCommandParam of type "index"
3053 and use it to 'do the right thing'.
3055 * text2.C (getStringToIndex): ensure that cursor position is always
3056 reset to the reset_cursor position.
3058 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3060 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3063 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3067 * lyxfunc.C: Output messages with identical spelling, punctuation,
3070 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3072 * MenuBackend.C (expandFormats): List only viewable export formats
3075 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3078 * lyxfunc.C (getStatus): Make sure that formats other than
3079 "fax" can also be disabled
3081 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3083 * text3.C (dispatch): put the lfuns that insert insets in 3
3084 groups, and call doInsertInset with appropriate arguments.
3085 (doInsertInset): new function, that creates an inset and inserts
3086 it according to some boolean parameters.
3088 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3090 * buffer.C (readFile): remember to pass on 'par' when calling
3091 readFile recursively.
3093 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3095 * MenuBackend.C (expandFormats): add "..." to import formats.
3097 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3099 * paragraph.C (asString): Remove XForms RTL hacks.
3101 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3102 * buffer.C: fix typo
3104 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * Makefile.am (LIBS): delete var
3107 (lyx_LDADD): add @LIBS@ here instead.
3109 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3111 * Clarify the meaning of "wheel mouse jump"
3113 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3115 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3118 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3120 * importer.C (Loaders): do not preallocate 3 elements in the
3121 vector, since one ends up with 6 elements otherwise
3123 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3125 * DepTable.C (write): write the file name as last element of the
3126 .dep file (because it may contain spaces)
3127 (read): read info in the right order
3129 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3131 * paragraph_pimpl.C (simpleTeXBlanks):
3132 (simpleTeXSpecialChars):
3133 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3135 * tabular.C (latex): add some missing case statements. Reindent.
3137 * MenuBackend.C (expandToc): remove unused variable.
3139 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3148 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3151 2003-01-05 John Levon <levon@movementarian.org>
3154 * BufferView.C: add getEncoding()
3157 * kbsequence.C: do not store last keypress
3160 * lyxfunc.C: store last keypress here instead. Pass encoding
3163 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3165 * lyx_main.C (init): remove annoying error message when following
3166 symbolic links (bug #780)
3168 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3170 * text.C (insertChar):
3171 * lyxrc.C (getDescription): remove extra spaces
3173 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3175 * lyxrc.C (getDescription): remove extra spaces
3177 2002-12-20 John Levon <levon@movementarian.org>
3179 * text3.C: hack fix for page up/down across tall rows
3181 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3183 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3186 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3188 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3189 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3190 thesaurus is not compiled in
3192 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3194 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3196 2002-12-16 Angus Leeming <leeming@lyx.org>
3199 * lyx_main.C (init): remove override_x_deadkeys stuff.
3201 2002-12-12 John Levon <levon@movementarian.org>
3203 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3204 insert. Only remove shift modifier under strict
3207 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3209 * MenuBackend.C (expandToc): fix crash.
3211 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * MenuBackend.C (expandToc): gettext on float names.
3215 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3217 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3218 implement bool empty() [bug 490]
3220 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3224 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3226 * several files: ws changes
3228 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * text2.C (setCounter): clean up a bit, use boost.format.
3231 (updateCounters): initialize par upon declaration.
3233 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3234 if the layout exists. We do not just store the layout any more.
3235 (SwitchLayoutsBetweenClasses): use boost.format
3237 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3239 * converter.C (convert): if from and to files are the same, use a
3240 temporary files as intermediary
3242 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3245 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3247 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3249 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3251 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * tabular.C (asciiPrintCell): use string(size, char) instead of
3256 * sgml.C (openTag): fix order of arguments to string constructor
3259 * lyxfunc.C (dispatch): use boost.format
3261 * lots of files: change "c" -> 'c'
3263 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3265 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3267 2002-11-25 Angus Leeming <leeming@lyx.org>
3269 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3271 * lyx_main.C (init): compile fix.
3273 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * lyx_cb.C (start): boost.formatify
3276 do not include <iostream>
3278 * lengthcommon.C: ws only
3280 * boost-inst.C,BoostFormat.h: add more explict instantations
3282 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * lots of files: handle USE_BOOST_FORMAT
3286 2002-11-21 John Levon <levon@movementarian.org>
3288 * pspell.C: fix compile
3290 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3292 * lyxfunc.C (dispatch): use boost::format
3296 * lyxfont.C (stateText): use boost::format
3298 * lyx_main.C (LyX): use boost::format
3300 (queryUserLyXDir): ditto
3303 (typedef boost::function): use the recommened syntax.
3305 * importer.C (Import): use boost::format
3307 * debug.C (showLevel): use boost::format
3309 * converter.C (view): use boost::format
3314 * bufferview_funcs.C (currentState): use boost::format
3316 * bufferlist.C (emergencyWrite): use boost::format
3318 * buffer.C (readLyXformat2): use boost::format
3319 (parseSingleLyXformat2Token): ditto
3321 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3323 * LaTeX.C (run): use boost::format
3325 * Chktex.C (scanLogFile): use boost::format
3327 * BufferView_pimpl.C (savePosition): use boost::format
3328 (restorePosition): ditto
3329 (MenuInsertLyXFile): ditto
3331 * BoostFormat.h: help file for explicit instation.
3333 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3335 * tabular.C (latex): Support for block alignment in fixed width
3338 2002-11-17 John Levon <levon@movementarian.org>
3340 * BufferView_pimpl.C:
3342 * lyxfunc.C: split filedialog into open/save
3344 2002-11-08 Juergen Vigna <jug@sad.it>
3346 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3347 by my last patch (hopefully).
3349 2002-11-08 John Levon <levon@movementarian.org>
3358 * toc.C: ParConstIterator, and use it (from Lars)
3360 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3362 * lyxtextclass.[Ch]: revise and add doxygen comments
3364 2002-11-07 John Levon <levon@movementarian.org>
3366 * text.C: fix progress value for spellchecker
3368 * toc.C: fix navigate menu for insetwrap inside minipage
3370 * paragraph_funcs.C: added FIXME for suspect code
3372 2002-11-07 John Levon <levon@movementarian.org>
3374 * BufferView_pimpl.C: fix redrawing of insets
3377 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3379 * text2.C (updateCounters): fix bug 668
3381 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3383 * text3.C (dispatch): Do not make the buffer dirty when moving the
3386 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3388 * vc-backend.C: STRCONV
3391 * text2.C (setCounter): STRCONV
3393 * paragraph.C (asString): STRCONV
3395 * lyxlength.C (asString): STRCONV
3396 (asLatexString): ditto
3398 * lyxgluelength.C (asString): STRCONV
3399 (asLatexString): ditto
3401 * lyxfunc.C (dispatch): STRCONV
3404 * lyxfont.C (stateText): STRCONV
3406 * importer.C (Import): STRCONV
3408 * counters.C (labelItem): STRCONV
3409 (numberLabel): ditto
3410 (numberLabel): remove unused ostringstream o
3415 * bufferview_funcs.C (currentState): STRCONV
3417 * buffer.C (readFile): STRCONV
3418 (asciiParagraph): ditto
3419 (makeLaTeXFile): ditto
3421 * Spacing.C (writeEnvirBegin): STRCONV
3423 * LaTeXFeatures.C (getLanguages): STRCONV
3424 (getPackages): ditto
3426 (getBabelOptions): ditto
3427 (getTClassPreamble): ditto
3428 (getLyXSGMLEntities): ditto
3429 (getIncludedFiles): ditto
3433 (scanAuxFile): ditto
3436 * LString.h: add the STRCONV macros
3438 * BufferView_pimpl.C (savePosition): STRCONV
3439 (restorePosition): ditto
3440 (MenuInsertLyXFile): ditto
3442 * vc-backend.C (scanMaster): change from submatch[...] to
3445 * funcrequest.C: include config.h
3447 * factory.C: include config.h
3449 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3451 * box.C: include config.h
3453 * LaTeX.C (scanAuxFile): change from submatch[...] to
3457 2002-10-25 Angus Leeming <leeming@lyx.org>
3459 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3461 * ispell.[Ch] (setError): new method.
3462 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3463 Use setError() insetead of goto END.
3465 * lyx_cb.C (AutoSave): move out child process into new class
3468 2002-10-30 John Levon <levon@movementarian.org>
3470 * text3.C: make start appendix undoable
3472 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3474 * lyxlength.C (inPixels): Fix returned value.
3476 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3479 2002-10-24 Angus Leeming <leeming@lyx.org>
3481 * lyxgluelength.h: no need to forward declare BufferParams
3482 or BufferView, so don't.
3484 2002-10-21 John Levon <levon@movementarian.org>
3486 * BufferView.C: menuUndo ->undo, redo
3488 * BufferView.h: document, remove dead, make some methods private
3490 * paragraph_funcs.h:
3491 * paragraph_funcs.C:
3492 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3497 * sgml.C: move sgml open/close tag into sgml.C
3499 * bufferview_funcs.h: unused prototype
3502 * lyxfunc.C: remove unused
3505 * text.C: remove unused
3507 2002-10-21 John Levon <levon@movementarian.org>
3511 * BufferView_pimpl.h:
3512 * BufferView_pimpl.C: fix mouse wheel handling based on
3513 patch from Darren Freeman
3515 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3517 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3519 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3521 * lyxlength.C (inPixels): Fix hanfling of negative length.
3522 Fix LyXLength::MU case.
3524 2002-10-16 John Levon <levon@movementarian.org>
3526 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3528 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3530 * converter.C (view): add support for $$i (file name) and $$p
3531 (file path) for the viewer command. If $$i is not specified, then
3532 it is appended to the command (for compatibility with old syntax)
3534 2002-10-14 Juergen Vigna <jug@sad.it>
3536 * undo_funcs.C (textHandleUndo): alter the order in which the
3537 new undopar is added to the LyXText, as we have to set first
3538 the right prev/next and then add it as otherwise the rebuild of
3539 LyXText is not correct. Also reset the cursor to the right paragraph,
3540 with this IMO we could remove the hack in "redoParagraphs()".
3542 2002-10-09 Angus Leeming <leeming@lyx.org>
3544 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3545 to turn off an optimisation if a new inset is to be inserted.
3547 2002-10-11 André Pönitz <poenitz@gmx.net>
3549 * lyxtext.h: make some functions public to allow access
3550 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3552 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3554 * text3.C (dispatch): when changing layout, avoid an infinite loop
3557 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3559 * lyxrc.C (read): treat a viewer or converter command of "none" as
3562 * MenuBackend.C (expandFormats): for an update, also allow the
3563 formats that are not viewable
3565 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3566 script if it is newer than the lyxrc.defaults in user directory
3568 2002-10-07 André Pönitz <poenitz@gmx.net>
3570 * text.C: Vitaly Lipatov's small i18n fix
3572 2002-09-25 Angus Leeming <leeming@lyx.org>
3574 * ispell.h: doxygen fix.
3576 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3578 * buffer.h (readFile): Add a new argument to the method, to allow
3579 reading of old-format templates.
3581 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3583 * toc.C (getTocList): Get TOC from InsetWrap.
3585 2002-09-16 John Levon <levon@movementarian.org>
3587 * lyxfunc.C: check tabular for cut/copy too
3589 2002-09-12 John Levon <levon@movementarian.org>
3594 * factory.C: add header
3596 * paragraph_funcs.h:
3597 * paragraph_funcs.C: cleanup
3599 2002-09-11 John Levon <levon@movementarian.org>
3601 * PrinterParams.h: odd/even default to true
3603 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3605 * PrinterParams.h: update printer parameters for new xforms dialog
3607 2002-09-11 Angus Leeming <leeming@lyx.org>
3609 * lyxserver.C (read_ready): re-write to make it more transparent
3610 and to make it work in coherent fashion under Tru64 Unix.
3612 2002-09-11 André Pönitz <poenitz@gmx.net>
3616 * text3.C: implement LFUN_WORDSEL
3618 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3620 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3621 make floatlist_ a boost::shared_ptr<FloatList>
3623 * lyxtextclass.C: include FloatList.h
3624 (LyXTextClass): initialize floatlist_
3625 (TextClassTags): add TC_NOFLOAT
3626 (Read): match "nofloat" to TC_NOFLOAT and use it.
3627 (readFloat): modify call to floatlist_
3631 * FloatList.[Ch] (FloatList): remove commented out float
3633 (erase): new function
3635 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3637 * MenuBackend.C (expandToc): fix crash when there is no document
3640 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3642 * many files: Add insetwrap.
3644 2002-09-09 John Levon <levon@movementarian.org>
3646 * text2.C: remove confusing and awkward depth wraparound
3648 2002-09-09 John Levon <levon@movementarian.org>
3650 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3653 * buffer.C: remove getIncludeonlyList()
3656 * lyxfunc.C: remove headers
3658 2002-09-09 Juergen Vigna <jug@sad.it>
3660 * text.C (getColumnNearX): fix form Michael this is most
3661 probably a cut&paste bug.
3663 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3665 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3667 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3668 references, ws changes.
3670 * text2.C (init): update counters after init
3671 (insertParagraph): no need to set counter on idividual paragraphs.
3672 (setCounter): access the counters object in the textclass object
3673 on in the buffer object.
3674 (updateCounters): ditto
3676 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3677 shared_ptr<Counters> to avoid loading counters.h in all
3679 (LyXTextClass): initialize ctrs_
3680 (TextClassTags): add TC_COUNTER, and ...
3681 (Read): use it here.
3682 (CounterTags): new tags
3683 (readCounter): new function
3684 (counters): new funtion
3685 (defaultLayoutName): return a const reference
3687 * counters.C (Counters): remove contructor
3688 (newCounter): remove a couple of unneeded statements.
3689 (newCounter): simplify a bit.
3690 (numberLabel): some small formatting changes.
3692 * buffer.[Ch]: remove all traces of counters, move the Counters
3693 object to the LyXTextClass.
3695 2002-09-06 Alain Castera <castera@in2p3.fr>
3697 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3698 package to set the horizontal alignment on fixed width columns.
3701 * lyx_sty.h: added tabularnewline macro def.
3703 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3705 2002-09-06 John Levon <levon@movementarian.org>
3707 * LyXAction.C: tooltips for sub/superscript
3709 * MenuBackend.C: a bit more verbose
3711 * lyxfunc.C: tiny clean
3713 * undo_funcs.C: document undo_frozen
3715 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * counters.C (Counters): add missing algorithm counter.
3719 * text2.C (setCounter): lookup the counter with layouts latexname
3720 instead of by section number.
3721 (setCounter): use a hackish way to lookup the correct enum
3723 a float name->type change
3724 reset enum couners with counter name directly instead of depth value.
3726 * counters.C (Counters): remove the push_backs, change to use the
3727 float type not the float name.
3728 (labelItem): remove unused string, float name->type change
3730 * counters.h: don't include vector, loose the enums and sects vectors
3732 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3735 (Read): add float->TC_FLOAT to textclassTags
3736 (Read): and handle it in the switch
3737 (readFloat): new function
3739 * FloatList.C (FloatList): comment out the hardcoded float
3742 * lyxlayout.h: ws change.
3744 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3746 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3748 2002-09-03 Angus Leeming <leeming@lyx.org>
3750 * BufferView_pimpl.h: qualified name is not allowed in member
3751 declaration: WorkArea & Pimpl::workarea() const;
3753 * factory.C: added using std::endl directive.
3755 * text3.C: added using std::find and std::vector directives.
3757 2002-08-29 André Pönitz <poenitz@gmx.net>
3760 * text2.C: remove unused member number_of_rows
3763 * BufferView2.C: remove file, move contents to...
3764 * BufferView.C: ... here
3766 * BufferView_pimpl.C:
3767 * factory.C: move more inset creation to factory
3769 * vspace.C: avoid direct usage of LyXText, ws changes
3772 don't provide direct access to WorkArea, use two simple
3773 acessors haveSelction() and workHeight() instead
3776 2002-08-29 John Levon <levon@movementarian.org>
3778 * BufferView_pimpl.C (dispatch): do not continue when
3781 2002-08-28 André Pönitz <poenitz@gmx.net>
3783 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3786 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3788 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3790 * buffer.C: increment LYX_FORMAT to 221
3792 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3793 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3795 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3797 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3799 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3801 * factory.C (createInset): use LyXTextClass::floats
3803 * MenuBackend.C (expandFloatListInsert):
3804 (expandFloatInsert):
3807 * text2.C (setCounter):
3809 * LaTeXFeatures.C (useFloat):
3810 (getFloatDefinitions):
3812 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3814 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3815 floatlist_, with accessor floats().
3817 * FloatList.h: remove global FloatList
3819 2002-08-26 André Pönitz <poenitz@gmx.net>
3821 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3825 * BufferView_pimpl.C:
3826 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3828 2002-08-25 John Levon <levon@movementarian.org>
3830 * LyXAction.C: fix margin note description
3832 2002-08-24 John Levon <levon@movementarian.org>
3836 * bufferview_funcs.C:
3838 * undo_funcs.C: cleanups
3840 * lyxfunc.C: disable CUT/COPY when no selection
3842 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3844 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3845 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3847 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3848 Add backward compatibility to "mono", "gray" and "no".
3850 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3852 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3853 (and file_format >= 200).
3855 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3857 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3859 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3861 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3863 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3865 * BufferView_pimpl.C:
3872 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3873 inset and code to make it work with the paragraph code. The inset
3874 can be anywhere in the paragraph, but will only do the expected
3875 thing in LaTeX if the layout file contains the parameter line
3877 (or more generally, a nonzero value) for that layout.
3879 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * paragraph.h: remove the declaration of undefined counters class
3884 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3886 * text2.C (setCounter): fixed enumeration mis-count as reported by
3887 Dr. Richard Hawkins.
3889 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3891 * paragraph_funcs.h: remove some unneeded includes
3893 * text.C (backspace): pasteParagraph now in global scipe
3895 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3896 (pasteSelection): ditto
3898 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3899 * paragraph_funcs.C (pasteParagraph): ... here
3901 2002-08-20 André Pönitz <poenitz@gmx.net>
3903 * commandtags.h: new LFUNs for swapping/copying table row/colums
3906 * lyxfunc.C: support for new lfuns
3908 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3911 * buffer.[Ch]: remove NO_COMPABILITY stuff
3913 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3915 * boost.C (throw_exception): new file, with helper function for
3916 boost compiled without exceptions.
3921 * ParameterStruct.h:
3922 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3924 * bufferlist.C (emergencyWriteAll): use boost bind
3926 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3928 * text.C: include paragraph_funcs.h
3929 (breakParagraph): breakParagraph is now in global scope
3931 * paragraph_funcs.[Ch]: new files
3933 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3936 * buffer.C: include paragraph_funcs.h
3937 (insertStringAsLines): breakParagraph is now in global scope
3939 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3942 * CutAndPaste.C: include paragraph_funcs.h
3943 (cutSelection): breakParagraphConservative is now in global scope
3944 (pasteSelection): ditto
3946 * buffer.h: declare oprator== and operator!= for
3947 Buffer::inset_iterator
3949 * bufferlist.C (emergencyWrite): don't use fmt(...)
3951 * text3.C: add using std::endl
3953 * BufferView.C (moveCursorUpdate): remove default arg
3955 2002-08-20 André Pönitz <poenitz@gmx.net>
3957 * buffer.[Ch]: move inline functions to .C
3960 * BufferView_pimpl.C:
3962 * buffer.[Ch]: use improved inset_iterator
3965 * paragraph.[Ch]: write one paragraph at a time
3967 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3969 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3970 style if style is not specified.
3972 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3974 * text2.C (setCounter): when searching for right label for a
3975 caption, make sure to recurse to parent insets (so that a caption
3976 in a minipage in a figure float works) (bug #568)
3978 2002-08-20 André Pönitz <poenitz@gmx.net>
3980 * text3.C: new file for LyXText::dispatch() and helpers
3982 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3984 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3986 2002-08-19 André Pönitz <poenitz@gmx.net>
3989 * text.C: new LyXText::dispatch()
3991 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3993 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3995 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3997 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4000 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4002 * Makefile.am: use $(variables) instead of @substitutions@
4004 2002-08-15 André Pönitz <poenitz@gmx.net>
4007 * BufferView_pimpl.C: streamlining mathed <-> outer world
4011 * LyXAction.C: remove unused LFUN_MATH
4013 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4015 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4017 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4019 * paragraph.C (Paragraph): reformat a bit
4020 (cutIntoMinibuffer): use builtin InsetList function instad of
4024 * buffer.C: include boost/bind.hpp, add using std::for_each
4025 (writeFileAscii): use ParagraphList iterators
4026 (validate): use for_each for validate traversal of paragraphs
4027 (getBibkeyList): use ParagraphList iterators
4028 (resizeInsets): use for_each to resizeInsetsLyXText for all
4030 (getParFromID): use ParagraphList iterators
4032 * BufferView2.C (lockInset): use paragraph list and iterators
4034 2002-08-14 John Levon <levon@movementarian.org>
4036 * lyxserver.C: remove spurious xforms include
4038 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4040 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4042 2002-08-13 André Pönitz <poenitz@gmx.net>
4045 * lyxfunc.C: further cleaning
4047 2002-08-13 André Pönitz <poenitz@gmx.net>
4049 * funcrequest.h: new constructor
4051 * funcrequest.C: move stuff here from .h
4054 * BufferView_pimpl.C:
4057 * lyxfunc.C: subsequent changes
4059 * lyxfunc.h: new view() member function
4061 * lyxfunc.C: subsequent changes
4063 2002-08-13 Angus Leeming <leeming@lyx.org>
4066 * BufferView_pimpl.C:
4074 changes due to the changed LyXView interface that now returns references
4075 to member variables not pointers.
4077 2002-08-13 Angus Leeming <leeming@lyx.org>
4079 * WordLangTuple (word, lang_code): return references to strings,
4084 * lyxtext.h: forward-declare WordLangTuple.
4089 * text.C: #include "WordLangTuple.h".
4092 * text.C: (selectNextWordToSpellcheck): constify return type.
4094 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4100 * paragraph_pimpl.h:
4103 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4105 Made updateCounter always count from start of buffer, and removed
4106 second argument (par).
4107 Reverted floats number display to '#'. Perhaps I'll try again when the
4108 code base is sanitized a bit.
4110 2002-08-12 Angus Leeming <leeming@lyx.org>
4112 * buffer.[Ch] (getLabelList): constify.
4114 2002-08-07 André Pönitz <poenitz@gmx.net>
4116 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4118 * funcrequest.h: extension to keep mouse (x,y) position
4120 2002-08-12 Juergen Vigna <jug@sad.it>
4122 * BufferView2.C (insertErrors): forbid undo when inserting error
4125 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4127 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * ParagraphList.[Ch]: new files
4131 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4133 * BufferView2.C (lockInset): ParagraphList changes
4136 * bufferlist.C: ditto
4140 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4143 unused class variable counter_,
4145 * paragraph.[Ch] (getFirstCounter): delete unused function
4147 * counters.C: include LAssert.h
4148 (reset): add a new function with no arg, change other version to
4149 not have def. arg and to not allow empty arg.
4151 * text2.C (setCounter): remove empty arg from call to Counters::reset
4153 2002-08-11 John Levon <levon@movementarian.org>
4155 * Makefile.am: add WordLangTuple.h
4157 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4160 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4162 * insets/insettext.C: InsetList changes
4164 * graphics/GraphicsSupport.C (operator()): InsetList changes
4166 * toc.C (getTocList): InsetList changes
4168 * paragraph_pimpl.[Ch]: InsetList changes
4170 * paragraph.[Ch]: InsetList changes
4172 * buffer.C (inset_iterator): InsetList changes
4173 (setParagraph): ditto
4174 * buffer.h (inset_iterator): ditto
4175 * iterators.C (operator++): ditto
4176 * iterators.h: ditto
4178 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4180 * InsetList.[Ch]: new files, most InsetList handling moved out of
4183 * BufferView2.C (removeAutoInsets): InsetList changes
4185 (ChangeInsets): ditto
4187 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4189 * paragraph_pimpl.h (empty): new function
4191 * paragraph.[Ch] (empty): new function
4193 * other files: use the new Paragraph::empty function
4195 2002-08-09 John Levon <levon@movementarian.org>
4197 * lyxtext.h: remove unused refresh_height
4199 2002-08-09 John Levon <levon@movementarian.org>
4206 * paragraph.C: move sgml char escaping out of paragraph
4209 * paragraph.C: remove id setter
4213 * paragraph_pimpl.C: remove dead tex_code_break_column
4215 * bufferview_funcs.C: small cleanup
4217 * lyxfunc.C: remove dead proto
4219 * lyxtext.h: make some stuff private. Remove some dead stuff.
4221 * lyxgluelength.C: make as[LyX]String() readable
4223 2002-08-08 John Levon <levon@movementarian.org>
4228 * ToolbarDefaults.C:
4231 * toc.C: lyxaction cleanup
4233 2002-08-08 John Levon <levon@movementarian.org>
4235 * BufferView2.C: small cleanup
4238 * lyxfind.C: move unnecessary header into the .C
4240 2002-08-08 John Levon <levon@movementarian.org>
4242 * funcrequest.h: just tedious nonsense
4245 * lyx_main.C: cleanups
4248 * vspace.C: remove dead header lyx_main.h
4250 2002-08-07 Angus Leeming <leeming@lyx.org>
4253 * paragraph_pimpl.h:
4254 Forward declare class Counters in paragraph.h by moving the ctrs member
4255 variable into Paragraph::Pimpl.
4256 (counters): new method, returning a reference to pimpl_->ctrs.
4258 * text2.C: ensuing changes.
4260 2002-08-07 John Levon <levon@movementarian.org>
4262 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4264 * BufferView_pimpl.C: announce X selection on double/triple
4267 * lyx_main.C: use correct bool in batch dispatch
4269 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4271 2002-08-07 André Pönitz <poenitz@gmx.net>
4273 * funcrequest.h: new class to wrap a kb_action and its argument
4276 * BufferView_pimpl[Ch]:
4280 * lyxrc.C: subsequent changes
4283 2002-08-07 John Levon <levon@movementarian.org>
4285 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4286 document options change.
4288 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4293 * makefile.am: move counters functionality over from
4294 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4296 2002-08-06 John Levon <levon@movementarian.org>
4298 * WordLangTuple.h: new file for word + language code tuple
4309 * BufferView2.C: use WordLangTuple
4312 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4314 2002-08-06 John Levon <levon@movementarian.org>
4316 * lyx_main.C: fix cmdline batch handling
4318 2002-08-06 André Pönitz <poenitz@gmx.net>
4320 * lyxrc.C: set default for show_banner to true
4322 2002-08-06 John Levon <levon@movementarian.org>
4324 * pspell.C: fix a crash, and allow new aspell to work
4326 2002-08-06 John Levon <levon@movementarian.org>
4329 * kbmap.C: small cleanup
4332 * vspace.C: add const
4334 2002-08-05 John Levon <levon@movementarian.org>
4336 * LyXAction.C: back to tabular-insert
4338 2002-08-04 John Levon <levon@movementarian.org>
4341 * BufferView.C: cosmetic change
4343 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4353 * BufferView2.C: purge all "Lyx" not "LyX" strings
4356 * lyxcursor.C: attempt to add some documentation
4361 * ToolbarDefaults.C:
4362 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4363 merge with LFUN_TABULAR_INSERT
4370 * pspell.C: split up i/pspell implementations into separate
4371 files, many cleanups
4373 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4375 * text2.C: some cleanup
4377 * lyxfunc.C: don't check for isp_command == "none" any more, it
4378 didn't make any sense
4380 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4385 * makefile.am: move counters functionality over
4386 from text2.C/paragraph.[Ch] to counters.[Ch], and
4388 2002-08-02 John Levon <levon@movementarian.org>
4390 * buffer.C: s/lyxconvert/lyx2lyx/
4392 2002-08-02 Angus Leeming <leeming@lyx.org>
4394 * lyxlex.C: revert John's change as it breaks reading of the user
4397 2002-08-02 Angus Leeming <leeming@lyx.org>
4399 * importer.C (Import):
4400 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4401 changes due to LyXView::view() now returning a boost::shared_ptr.
4403 2002-08-02 John Levon <levon@movementarian.org>
4405 * lyxlex.C: small cleanup
4407 2002-08-02 John Levon <levon@movementarian.org>
4409 * text2.C (status): small cleanup, no logic change
4411 2002-08-01 John Levon <levon@movementarian.org>
4414 * buffer.C (writeFile): don't output alerts, caller
4418 * lyx_cb.C: from above
4420 * lyxfunc.C: allow to open non-existent files
4422 2002-07-31 John Levon <levon@movementarian.org>
4424 * lyxserver.C: don't let incidental errors get
4427 2002-07-30 John Levon <levon@movementarian.org>
4429 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4431 2002-07-30 John Levon <levon@movementarian.org>
4434 * lyxserver.C: remove I/O callback too
4436 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4438 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4441 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4443 * many files: strip,frontStrip -> trim,ltrim,rtrim
4445 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4447 * PrinterParams.h: remove extern containsOnly, and include
4448 support/lstrings.h instead.
4450 * LaTeX.C (scanAuxFile): modify because of strip changes
4452 * buffer.C (makeLaTeXFile): ditto
4453 * bufferparams.C (writeFile): ditt
4454 * lyxfont.C (stateText): ditto
4455 * lyxserver.C (read_ready): ditto
4456 * vc-backend.C (scanMaster): ditto
4458 * BufferView_pimpl.h: ws changes
4460 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4462 2002-07-26 André Pönitz <poenitz@gmx.net>
4464 * kb_sequence.C: remove unnedred usings
4466 2002-07-26 Juergen Vigna <jug@sad.it>
4468 * lyxfind.C (LyXReplace): we have to check better if the returned
4469 text is not of theLockingInset()->getLockingInset().
4471 2002-07-25 Juergen Vigna <jug@sad.it>
4473 * lyxfind.C (LyXReplace): don't replace if we don't get the
4476 * undo_funcs.C (createUndo): remove debugging code.
4478 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4480 * buffer.C (parseSingleLyXformat2Token): Use default placement
4481 when reading old floats.
4483 * FloatList.C (FloatList): Change the default placement of figure
4484 and tables to "tbp".
4486 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4488 * MenuBackend.C: using std::max
4490 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4492 * MenuBackend.C (expandToc):
4493 (expandToc2): code moved from xforms menu frontend. It is now
4494 generic and TOCs are transparent to menu frontends.
4496 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4498 * toc.C (getTocList): protect against buf=0
4500 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4501 Menu as first parameter. Now, this calls itself recursively to
4502 expand a whole tree (this will be useful for TOC handling)
4503 (expandFloatInsert): remove 'wide' version of floats
4505 * MenuBackend.h (submenuname): returns the name of the submenu.
4506 (submenu): returns the submenu itself, provided it has been
4507 created by MenuBackend::expand
4509 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4511 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4512 insets which have noFontChange == true. (bug #172)
4514 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4516 * BufferView_pimpl.C: add connection objects and use them...
4519 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4521 * MenuBackend.C (expandLastfiles):
4524 (expandFloatListInsert):
4525 (expandFloatInsert):
4526 (expand): split expand in parts
4528 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4530 * lyx_gui.C: use lyx_gui::exit()
4532 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4534 * LyXAction.C: show the failing pseudo action
4536 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4538 * buffer.C (readFile): Run the lyxconvert script in order to read
4541 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4545 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4547 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4551 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4553 2002-07-22 Herbert Voss <voss@lyx.org>
4556 * lyxlength.[Ch]: add support for the vertical lengths
4558 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4560 * toc.[Ch]: std:: fixes
4562 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4564 * lyxrc.C: do not include lyx_main.h
4566 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4572 * BufferView2.C: include "lyxlex.h"
4575 * bufferparams.h: do not #include "lyxlex.h"
4577 * lyxtextclasslist.C (Add): remove method
4578 (classlist): renamed to classlist_
4580 * paragraph_pimpl.C:
4584 * bufferview_funcs.C:
4589 * toc.C (getTocList): use BufferParams::getLyXTextClass
4591 * toc.C (getTocList): use InsetFloat::addToToc
4593 * toc.[Ch]: new files, containing helper functions to handle table
4596 * lyxfunc.C (dispatch): no need to remove spaces around command
4598 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4599 first command of the sequence; it is not very clever, but I do not
4600 have a better idea, actually
4602 * LyXAction.C (LookupFunc): make sure to remove space at the
4603 beginning and end of the command
4605 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4607 * MenuBackend.C (getMenubar): new method: return the menubar of
4609 (read): treat differently reading of menu and menubar (in
4610 particular, the menubar has no name now)
4611 (Menu::menubar): remove
4613 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4616 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4618 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4619 a bibitem inset in a RTL paragraph.
4621 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4623 * paragraph_pimpl.C: constify
4625 * BufferView_pimpl.C:
4627 * lyxfunc.C: fix dispatch in a nicer way
4629 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4631 * lyxfunc.C (dispatch):
4632 * BufferView_pimpl.C:
4633 * BufferView_pimpl.h:
4635 * BufferView.h: rename Dispatch() to dispatch()
4637 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4639 * lyxlayout.C (Read): honor DependsOn tag
4641 * lyxlayout.[Ch] (depends_on): new method
4643 * version.C.in: update lyx_docversion
4645 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4647 * paragraph.C (validate): remove from here...
4648 * paragraph_pimpl.C (validate): ... and move here
4649 (isTextAt): make it const
4651 * buffer.C (getLists): ws cleanup
4653 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4655 * language.C (read): Use iso8859-1 encoding in latex_lang
4656 (this prevents LyX from crashing when using iso10646-1 encoding).
4658 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4660 * text2.C (toggleInset): if cursor is inside an inset, close the
4661 inset and leave cursor _after_ it
4663 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4665 * lyxfunc.C: move minibuffer completion handling out of here
4667 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4669 * BufferView_pimpl.C:
4670 * LaTeX.C: fix dispatch calls
4672 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4674 * text.C (drawChars): Fix Arabic text rendering.
4676 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4680 * lyxfunc.C: remove message-push/pop
4684 * lyxfunc.C: rationalise some code by removing verboseDispatch
4685 in favour of a bool argument to dispatch()
4687 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4689 * lyx_main.C (init): make sure to read symlinks as absolute paths
4691 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4694 * lyxfunc.C: no need for commandshortcut to be a member
4696 2002-07-15 André Pönitz <poenitz@gmx.net>
4698 * converter.C: add support for $$s (scripts from lib/scripts dir)
4699 * lyx_main.C: white space
4701 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4705 * lyxrc.C: remove second exit confirmation
4707 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4712 * BufferView_pimpl.h:
4713 * BufferView_pimpl.C:
4714 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4716 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4718 * MenuBackend.C (expand): add numeric shortcuts to document menu
4720 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4722 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4724 * lyxfont.C (setLyXFamily):
4731 * buffer.C (asciiParagraph): use ascii_lowercase
4733 2002-07-15 Mike Fabian <mfabian@suse.de>
4735 * lyxlex_pimpl.C (search_kw):
4736 * lyxlex.C (getLongString):
4737 * converter.h (operator<):
4738 * converter.C (operator<):
4739 * buffer.C (parseSingleLyXformat2Token):
4741 * ToolbarDefaults.C (read):
4742 * MenuBackend.C (checkShortcuts):
4744 * LColor.C (getFromGUIName):
4745 (getFromLyXName): use the compare_ascii_no_case instead of
4746 compare_no_case, because in turkish, 'i' is not the lowercase
4747 version of 'I', and thus turkish locale breaks parsing of tags.
4749 2002-07-16 Angus Leeming <leeming@lyx.org>
4751 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4752 now takes a Buffer const & argument.
4754 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4756 * BufferView.C (resize): check there's a buffer to resize
4758 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4760 * lyxfunc.C: remove dead code
4763 * lyxserver.C: use lyx_guii::set_read_callback
4765 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4767 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4768 an inset in a RTL paragraph.
4770 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4772 * lyxfunc.C: repaint after a font size update
4774 2002-07-15 André Pönitz <poenitz@gmx.net>
4776 * lyxlength.C: inBP should be able to return negative values
4778 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4780 * lyxfunc.C: use lyx_gui::update_fonts()
4782 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4784 * lyxfunc.C: use lyx_gui::update_color()
4786 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4792 * lyxrc.C: remove file->new asks for name option, and let
4793 buffer-new take an argument
4795 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4797 * BufferView_pimpl.C: remove unneeded extra repaint()
4799 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4801 * LyXAction.C: allow command-sequence with NoBuffer
4803 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4805 2002-07-10 Angus Leeming <leeming@lyx.org>
4807 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4809 2002-07-09 Angus Leeming <leeming@lyx.org>
4811 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4813 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4815 * lengthcommon.h: whitespace
4817 * lyxfunc.C: update scrollbar after goto paragraph
4819 * lyxtext.h: factor out page break drawing, and fix it so
4820 page break/added space paints as selected nicely
4822 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4824 * BufferView_pimpl.C: add FIXMEs, clean up a little
4826 2002-07-09 André Pönitz <poenitz@gmx.net>
4828 * lyxfont.[Ch]: support for wasy symbols
4830 2002-07-08 André Pönitz <poenitz@gmx.net>
4832 * BufferView_pimpl.C: apply John's patch for #93.
4834 2002-07-05 Angus Leeming <leeming@lyx.org>
4836 * BufferView_pimpl.C (buffer): generate previews if desired.
4838 * LColor.h: add "preview" to the color enum.
4840 * LColor.C (LColor): add a corresponding entry to the items array.
4842 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4845 2002-07-05 Angus Leeming <leeming@lyx.org>
4847 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4848 The body of the code is now in the method that is passed an ostream &
4849 rather than a file name.
4850 Pass an additional only_preamble parameter, useful for the forthcoming
4853 2002-07-03 André Pönitz <poenitz@gmx.net>
4855 * lyxfunc.C: simplify getStatus() a bit for math stuff
4857 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4859 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4861 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4863 * text.C (changeRegionCase): do not change case of all the
4864 document when region ends at paragraph end (bug #461)
4866 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4868 * paragraph.C (startTeXParParams):
4869 (endTeXParParams): add \protect when necessary
4871 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4873 * BufferView_pimpl.C (workAreaExpose): remove warning
4875 2002-06-27 Angus Leeming <leeming@lyx.org>
4877 * Makefile.am: add lyxlayout_ptr_fwd.h.
4879 2002-06-26 André Pönitz <poenitz@gmx.net>
4881 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4883 2002-06-25 Angus Leeming <leeming@lyx.org>
4885 * lyxfunc.C (dispatch): Comment out the call to
4886 grfx::GCache::changeDisplay. The method no longer exists now that the
4887 pixmap generation part of the graphics loader has been moved into
4890 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4892 * text2.C: layout as layout
4894 * text.C: layout as layout
4896 * tabular.C (OldFormatRead): layout as layout
4898 * paragraph_pimpl.C (TeXDeeper): layout as layout
4899 (realizeFont): layout as layout
4901 * paragraph.C (writeFile): layout as layout
4902 (validate): layout as layout
4903 (getFont): layout as layout
4904 (getLabelFont): layout as layout
4905 (getLayoutFont): layout as layout
4906 (breakParagraph): layout as layout
4907 (stripLeadingSpaces): layout as layout
4908 (getEndLabel): layout as layout
4909 (getMaxDepthAfter): layout as layout
4910 (applyLayout): layout as layout
4911 (TeXOnePar): layout as layout
4912 (simpleTeXOnePar): layout as layout
4913 (TeXEnvironment): layout as layout
4914 (layout): layout as layout
4915 (layout): layout as layout
4917 * lyxtextclass.C (compare_name): new functor to work with
4918 shared_ptr, layout as layout
4919 (Read): layout as layout
4920 (hasLayout): layout as layout
4921 (operator): layout as layout
4922 (delete_layout): layout as layout
4923 (defaultLayout): layout as layout
4925 * lyxlayout_ptr_fwd.h: new file
4927 * lyxlayout.C (Read): layout as layout
4929 * lyx_cb.C (MenuInsertLabel): layout as layout
4931 * bufferlist.C (newFile): layout as layout
4933 * buffer.C (readLyXformat2): layout as layout
4934 (parseSingleLyXformat2Token): layout as layout
4935 (insertStringAsLines): layout as layout
4936 (asciiParagraph): layout as layout
4937 (latexParagraphs): layout as layout
4938 (makeLinuxDocFile): layout as layout
4939 (simpleLinuxDocOnePar): layout as layout
4940 (makeDocBookFile): layout as layout
4941 (simpleDocBookOnePar): layout as layout
4942 (getLists): layout as layout
4944 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4946 * CutAndPaste.C (cutSelection): layout as layout
4947 (pasteSelection): layout as layout
4948 (SwitchLayoutsBetweenClasses): layout as layout
4950 * BufferView_pimpl.C (Dispatch): layout as layout
4951 (smartQuote): layout as layout
4953 * BufferView2.C (unlockInset): layout as layout
4955 2002-06-24 André Pönitz <poenitz@gmx.net>
4957 * lyxfunc.C: fix #487
4959 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4963 * lyxfunc.C: remove display_shortcuts, show_banner
4965 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4967 * Buffer_pimpl.C: oops, update on resize
4969 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4976 * BufferView.C: use repaint()
4978 * BufferView_pimpl.h:
4979 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4980 as it's a clearer description. Remove superfluous
4983 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4985 * text.C: fix bug 488. Not ideal, but getting
4986 getWord() to work properly for the insets that
4987 matter is more difficult ...
4989 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4991 * BufferView_pimpl.C:
4994 * lyxfunc.C: remove the six million index lyxfuncs to just
4995 one, and DTRT (bug 458)
4997 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5001 * BufferView_pimpl.h:
5002 * BufferView_pimpl.C: clean up resize() stuff,
5003 and unnecessary updateScreen()s
5005 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5009 * BufferView_pimpl.h:
5010 * BufferView_pimpl.C:
5013 * minibuffer.C: remove focus management of workarea,
5014 not needed. Use screen's greyOut()
5016 2002-06-17 Herbert Voss <voss@lyx.org>
5018 * converter.C: (convert) do not post a message, when converting
5019 fails, let the calling function decide what to do in this case
5021 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5023 * lyxfunc.C: tidy up a little
5025 2002-06-16 <alstrup@diku.dk>
5027 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5028 Got rid of FORMS_H_LOCATION include. Now we are
5031 2002-06-15 LyX Development team <lyx@rilke>
5033 * buffer.[Ch] (sgmlOpenTag):
5034 (sgmlCloseTag): Added support for avoiding pernicious mixed
5035 content. Return number of lines written.
5038 (makeDocBookFile): Fixed calls to sgml*Tag.
5039 Simple white space clean.
5041 (simpleDocBookOnePar): Simple white space clean.
5043 * tabular.[Ch] (docBook): Renamed to docbook and got another
5044 argument to related with the pernicious mixed content.
5046 (docbookRow): Fixed calls for docbook inset method.
5048 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5050 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5051 so it's X11 independent.
5055 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5057 2002-06-15 Lyx Development team <lyx@electronia>
5059 * intl.h: Renamed getTrans to getTransManager.
5061 2002-06-14 Angus Leeming <leeming@lyx.org>
5063 * Makefile.am: nuke forgotten stl_string_fwd.h.
5065 2002-06-12 Angus Leeming <leeming@lyx.org>
5067 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5069 2002-06-13 Angus Leeming <leeming@lyx.org>
5072 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5074 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5076 * kbmap.C (getiso): add support for cyrillic and greek
5078 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5082 * BufferView_pimpl.h:
5083 * BufferView_pimpl.C: move bogus scrolling logic
5086 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5089 * BufferView_pimpl.C: view->resize() change
5091 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5093 * BufferView_pimpl.C: topCursorVisible
5096 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5100 * lyx_gui.C: move to frontends/
5104 * lyx_main.C: changes from above
5106 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5113 * lyx_main.C: minor tidy
5115 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5117 * BufferView_pimpl.h:
5118 * BufferView_pimpl.C:
5120 * BufferView.C: make painter() const,
5123 * BufferView2.C: use screen() accessor
5126 * lyx_main.C: some minor cleanup
5128 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5130 * BufferView_pimpl.h:
5131 * BufferView_pimpl.C: remove enter/leaveView,
5134 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5139 * BufferView_pimpl.h:
5140 * BufferView_pimpl.C: only construct screen once,
5143 * lyxrc.C: remove pointless comment
5145 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5148 * BufferView.C: remove active() and belowMouse()
5150 * BufferView_pimpl.h:
5151 * BufferView_pimpl.C: use workarea() not workarea_,
5152 and make it use a scoped_ptr instead
5154 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5156 * lyx_gui.C: add debug message on BadWindow
5158 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5160 * sp_spell.C: fdopen is not part of the C++ standard.
5162 * paragraph.C (InsetIterator): use >= instead of ==
5164 2002-06-07 Angus Leeming <leeming@lyx.org>
5166 Fixes needed to compile with Compaq cxx 6.5.
5167 * BufferView_pimpl.C:
5174 * lyxtextclasslist.C:
5179 all c-library variables have been moved into namespace std. Wrap
5180 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5185 Add a using std::abs declaration.
5187 * kbmap.h (modifier_pair):
5188 * paragraph.h (InsetTable, InsetList):
5189 * lyxfont.h (FontBits):
5190 type definition made public.
5192 * bufferlist.C (emergencyWriteAll): the compiler complains that
5193 there is more than one possible lyx::class_fun template to choose from.
5194 I re-named the void specialisation as lyx::void_class_fun.
5196 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5198 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5199 the compiler is is unable to find tostr in write_attribute.
5201 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5203 * buffer.C (sgmlError): hide #warning
5205 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5207 * xtl/*: get rid of xtl, which is not in use anyway
5209 * LyXAction.C (init):
5210 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5211 were unimplemented xtl experimentation
5213 2002-06-04 André Pönitz <poenitz@gmx.net>
5215 * lyxfunc.C: disable array operation on simple formulae
5217 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5219 * converter.C: constify a bit
5221 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5223 * lyx_gui.C: check xforms version correctly
5225 2002-04-30 Herbert Voss <voss@lyx.org>
5227 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5230 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5232 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5233 attempt to register it with a VCS)
5235 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5237 * lyx_main.C (init): honor variables LYX_DIR_13x and
5240 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5244 * lyx_main.C: fix a crash on bad command line,
5245 and give a useful exit status on error
5247 * lyxfunc.C (doImport): allow -i lyx to work
5249 2002-03-30 André Pönitz <poenitz@gmx.net>
5251 * lyxfunc.C: mathed font changes
5253 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5268 * trans_mgr.h: srcdocs, and some minor cleanups
5270 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5272 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5273 call getFont all the time)
5275 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5277 * switch from SigC signals to boost::signals
5279 2002-05-29 André Pönitz <poenitz@gmx.net>
5281 * paragraph_pimpl.C (getChar): don't call size() too often...
5283 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5285 * paragraph_pimpl.C (insertChar): do not try to update tables when
5286 appending (pos == size())
5288 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5289 in order to reduce drastically the number of comparisons needed to
5290 parse a large document
5292 2002-05-29 André Pönitz <poenitz@gmx.net>
5298 * textclasslist.[Ch]:
5299 * sp_ispell.h: whitespace change
5301 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5303 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5304 lyxaction directly now.
5306 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5310 * lyxvc.C: remove unused headers
5312 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5319 * undo_funcs.C: some cleanups. Use shared_ptr
5320 and a template for the undo stacks.
5322 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5324 * BufferView_pimpl.h:
5325 * BufferView_pimpl.C:
5332 * text2.C: use key_state/mouse_state
5334 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5336 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5339 * chset.C: change include order
5340 (loadFile): use boost regex and get rid of LRegex and LSubstring
5342 * Makefile.am (BOOST_LIBS): new variable
5345 * LaTeX.C: change include order.
5346 (scanAuxFile): use boost regex and get rid of LRegex and
5350 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5355 * FontInfo.C: moved to frontends/xforms/
5358 * FontLoader.C: moved into frontends for GUIIzation
5363 * lyxfunc.C: changes from above
5365 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5367 * LColor.C: remove spurious X include
5369 * BufferView_pimpl.C:
5374 * text2.C: move font metrics to frontends/
5376 2002-05-24 Juergen Vigna <jug@sad.it>
5378 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5379 setting the undo_cursor.
5381 * ParagraphParameters.h: include local includes first.
5383 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5385 * BufferView_pimpl.C:
5386 * BufferView_pimpl.h:
5390 * screen.C: move WorkArea into frontends/
5396 * BufferView2.C: move LyXScreen into frontends/
5400 * lyx_gui.C: move lyxlookup into frontends/xforms/
5402 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5405 * BufferView_pimpl.C:
5415 * bufferview_funcs.C:
5428 * vc-backend.C: move LyX/XFormsView into frontends/
5430 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5442 * text2.C: move Painter to frontends/
5444 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5446 * buffer.C: comment out some some code that depend upon lyx_format
5449 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5450 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5452 * buffer.h (NO_COMPABILITY): turn off compability
5454 * ColorHandler.C: include scoped_array.hpp
5456 * font.C: Use more specific smart_ptr header.
5459 * ShareContainer.h: ditto
5463 * BufferView_pimpl.h: ditto
5464 * ColorHandler.h: ditto
5466 * kbmap.C (defkey): change call to shared_ptr::reset
5468 2002-05-21 Juergen Vigna <jug@sad.it>
5470 * buffer.C (insertErtContents): fix to insert ert asis if it is
5471 non empty. Skip it completely if it contains only whitespaces.
5473 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5475 * BufferView_pimpl.C:
5476 * BufferView2.C: clear selection on paste (bug 393)
5478 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5480 * DepTable.C: include ctime
5482 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5484 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5486 2002-05-14 Juergen Vigna <jug@sad.it>
5488 * text.C (breakParagraph): fixed function to honor the keepempty
5489 layout in the right maner and also to permit the right breaking
5490 algorithm on empty or non empyt keepempty paragraphs.
5492 * paragraph.C (breakParagraph): we have to check also if the par
5493 is really empty (!size()) for isempty otherwise we do the wrong
5496 2002-05-10 Juergen Vigna <jug@sad.it>
5498 * buffer.[Ch] : The following are only changes to the ert
5499 compatibility read reading old LaTeX layout and font stuff and
5500 convert it to ERTInsets.
5502 * buffer.h: added isErtInset().
5504 * buffer.C (struct ErtComp): add a fromlayout bool to check
5505 if we're inside a LaTeX layout.
5506 (isErtInset): new helper function.
5507 (insertErtContents): look for other ert insets before this one
5508 and insert the contents there, so that we don't have subsequent
5509 ERT insets with nothing between them. This way we create only one
5510 inset with multiple paragraphs. Also check if we don't insert only
5511 spaces ' ' as they are ignored anyway afterwards in the .tex file
5512 so if we have only spaces we will ignore this latex part in the
5514 (parseSingleLyXformat2Token \\layout): better compatibility when
5515 reading layout-latex stuff.
5516 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5518 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5519 stuff after reading the inset only get the information back from
5522 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5524 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5526 * LaTeXFeatures.C (getBabelOptions): New method.
5528 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5530 * BufferView_pimpl.C (Dispatch): work around missing argument for
5533 2002-05-08 Juergen Vigna <jug@sad.it>
5535 * text.C (leftMargin): handle paragraph leftindent.
5537 * paragraph.C (writeFile): write the new \\leftindent tag.
5538 (validate): handle leftindent code.
5539 (TeXEnvironment): handle paragraphleftindent code again.
5541 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5543 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5544 for paragrap_extra indent code and new token \\leftindent.
5545 (latexParagraphs): handle the leftindent as environment.
5547 * ParameterStruct.h: added leftindent support.
5549 * ParagraphParameters.C (leftIndent): added support functions for
5550 the paragraph left indent.
5552 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5555 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5557 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5560 * text.C (computeBidiTables): No bidi in insetERT.
5562 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5565 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5567 * version.C.in: pre 5
5569 2002-05-02 José Matos <jamatos@fep.up.pt>
5570 * buffer.C (makeDocBookFile): white space changes, add newline to
5572 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5574 * tabular.C (docBook): fix typo.
5576 2002-05-03 Juergen Vigna <jug@sad.it>
5578 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5579 change in LyXText as we can not be sure it was not freed.
5580 (drawOneRow): remove unused code.
5582 * text.C (drawInset): redo the calculation of the need_break_row as
5583 it could have a row which was already freed.
5584 (draw): look at the return value of drawInset and return false if
5585 it also returned false.
5586 (paintRowText): look at the return value of draw and return false if
5587 it also returned false.
5589 * lyxtext.h: added bool return type to drawInset() and draw() so that
5590 if we have a change in the row so that the rowbreak has to be redone
5591 we abort drawing as it will be called again.
5593 2002-05-02 Juergen Vigna <jug@sad.it>
5595 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5596 a change in the maintext also if we're inside an inset.
5597 (Dispatch): set the cursor again after a break line and after the
5598 screen has been updated as it could be we're in a different row.
5600 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5601 to set the cursor behind the pargraph with > size().
5602 (setCursor): check also for the same paragraph when checking where
5603 to put the cursor if we have a NFR inset.
5605 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5606 parts of layout read further up as it still was in the wrong
5609 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5611 * screen.C (drawFromTo): change sine fullRebreak always return
5614 * buffer.C (parseSingleLyXformat2Token): reindent some
5616 * BufferView_pimpl.C (update): change since fullRebreak always
5618 (Dispatch): git rid of the last hardcoded "Standard"s.
5620 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5622 * text2.[Ch] (fullRebreak): make it return void now that we always
5625 2002-04-30 Juergen Vigna <jug@sad.it>
5627 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5628 ert compatibility check for "latex" layout.
5630 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5632 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5633 minipages: use col% instead of p%, and also use the current font.
5634 (makeLaTeXFile): Fix use babel condition.
5635 (parseSingleLyXformat2Token): Correct font when reading old floats.
5637 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5639 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5640 inserting list of floats.
5642 2002-04-25 Herbert Voss <voss@lyx.org>
5644 * MenuBackend.C (expand): don't add the graphics extensions to the
5647 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5649 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5650 non-existing layout, do not complain if it was the default layout
5651 of the original class (bug #342)
5653 2002-04-24 Juergen Vigna <jug@sad.it>
5655 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5656 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5658 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5660 * buffer.C (getBibkeyList): If using \bibliography, return the
5661 option field with the reference itself. Enables us to provide natbib
5662 support when using \bibliography.
5664 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5666 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5668 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5669 natbib is provided by the LaTeX class.
5671 2002-04-23 Juergen Vigna <jug@sad.it>
5673 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5676 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5678 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5680 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5682 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5683 ensuremath around textordmasculine, textordfeminine and
5686 2002-04-19 Juergen Vigna <jug@sad.it>
5688 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5689 reinitializing the buffer otherwise row-dimensions may be wrong.
5690 (update): reset also the selection cursors if they do exits otherwise
5691 their x/y positions may be wrong.
5693 * text2.C (cursorDown): don't enter the inset if we came from a row
5694 above and are one row over the inset.
5696 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5697 really leaving an inset.
5699 2002-04-18 Juergen Vigna <jug@sad.it>
5701 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5702 of the selected paragraph does not have the selected layout also if
5705 * text2.C (setLayout): fixed bug which did not change last selected
5708 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5709 changed the read and substituted \\end_float with \\end_inset!
5711 * BufferView_pimpl.C (cursorPrevious):
5712 (cursorNext): fixed to make it work with rows heigher than the work
5713 area without moving the cursor only the draw of the row.
5714 (workAreaMotionNotify): fix jumping over high rows.
5716 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5718 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5721 2002-04-16 Juergen Vigna <jug@sad.it>
5723 * text2.C (setCursor): set also the irow().
5724 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5726 (cursorDown): support for locking an inset if the x_fix value goes
5727 inside it. That way I can transverse insets too with cursor up/down.
5729 * lyxrow.h: added irow helper function same as other (i) functions.
5731 * BufferView_pimpl.C (cursorPrevious):
5732 (cursorNext): fixed for insets!
5734 2002-04-15 Juergen Vigna <jug@sad.it>
5736 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5737 position otherwise it is wrong in some cases.
5739 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5740 inside the inset before the call.
5742 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5744 * buffer.[Ch] (getBibkeyList): make it const.
5746 2002-04-12 Juergen Vigna <jug@sad.it>
5748 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5750 * text2.C (getCursorX): new helper function
5751 (setCursor): compute also ix_
5752 (setCursorFromCoordinates): set also ix.
5754 * lyxcursor.h: added ix_ and helper functions.
5756 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5758 * buffer.C (insertStringAsLines): dont break paragraph if the this
5759 paragraph is inside an inset which does not permit it!
5761 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5762 also with no chars on this paragraph.
5763 (paintRowText): only paint stuff if it's inside the workarea!
5765 * paragraph.C (breakParagraph): honor keepempty flag and break the
5766 paragraph always below not above.
5768 * BufferView2.C (unlockInset): update the paragraph layout on inset
5769 unlock as we changed paragraph in such a case.
5771 * lyxfind.C (LyXFind): clear the former selection if not found!
5773 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5774 again called in insertChar().
5776 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5777 an inset which uses the whole row!
5778 (rightMargin): ditto.
5779 (insertChar): force a rebreak if we inserted an inset!
5781 2002-03-28 Herbert Voss <voss@lyx.org>
5783 * lyxlength.[Ch]: add inBP() to get the right PS-point
5784 units (BigPoint). With inPixels we have rounding errors
5786 2002-04-11 Juergen Vigna <jug@sad.it>
5788 * text2.C (setCursorFromCoordinates): set iy to the right value.
5789 (setCursor): add check if row->previous exists!
5791 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5792 an old float_type as this was the case in the old code!
5794 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5796 * BufferView2.C (showLockedInsetCursor): use iy
5797 (fitLockedInsetCursor): ditto
5799 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5800 locked insets as there we have the right value now.
5802 * lyxcursor.C: added iy_ variable and iy functions to set to the
5803 baseline of cursor-y of the locked inset.
5805 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5806 (setCursor): fixed for insets which need a full row.
5808 * text.C (rowLastPrintable): don't ignore the last space when before
5809 an inset which needs a full row.
5810 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5811 as last character of a row when before a inset which needs a full row.
5813 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5815 * version.C.in: update date
5817 * text2.C (fullRebreak): try to always return true and see what
5820 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5822 * MenuBackend.C (expand): use Floating::listName
5824 * FloatList.C (FloatList): add listName argument to the built-in
5827 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5828 text associated with the float.
5830 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5832 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5834 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5836 * ShareContainer.h: add a couple of missing typenames.
5838 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5840 * lyxrc.C (getDescription): use _() correctly rather than N_().
5842 2002-03-28 Herbert Voss <voss@lyx.org>
5844 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5845 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5847 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5849 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5850 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5852 2002-03-29 Juergen Vigna <jug@sad.it>
5854 * lyxfunc.C (dispatch): add a missing fitCursor call.
5856 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5857 it was scrolled by a cursor move, so return the bool status.
5859 * BufferView.C (fitCursor): return the bool flag also to the outside
5860 world as this is needed.
5862 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5864 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5865 call the edit() as it is not needed (and wrong) IMO.
5866 (workAreaButtonPress): set the screen_first variable before evt.
5867 unlock the inset as this may change screen_first and then we have
5868 a wrong y position for the click!
5870 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5872 * MenuBackend.C (expand): another translation that I missed
5874 2002-03-28 Juergen Vigna <jug@sad.it>
5876 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5878 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5880 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5882 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5884 * MenuBackend.C (expand): fix export/view/update when there is no
5887 2002-03-27 Herbert Voss <voss@lyx.org>
5889 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5892 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5894 * bufferview_funcs.C (currentState): only show paragraph number
5895 for is DEVEL_VERSION is set.
5897 * lyxfunc.C (dispatch): put warning in INFO channel
5899 * MenuBackend.C (expand): translate the name of floats
5901 * FloatList.C (FloatList): mark the float names for translation
5903 * converter.C (convert): use LibScriptSearch
5905 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5907 * MenuBackend.C (defaults): fix default menu (we might as well get
5910 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5912 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5915 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5917 * lyxvc.C: reorder includes.
5919 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5921 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5924 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5926 * CutAndPaste.C: change layouts earlier on paste
5927 to avoid crashing when calling getFont()
5929 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5931 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5934 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5936 * WorkArea.C: remove 'Pending' debug message.
5938 * most files: ws cleanup
5940 * buffer.[Ch]: ws changes
5942 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5944 2002-03-21 Juergen Vigna <jug@sad.it>
5946 * tabular.C (SetMultiColumn): collapse also the contents of the
5947 cells and set the last border right. Added a Buffer const * param.
5949 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5951 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5954 2002-03-19 Juergen Vigna <jug@sad.it>
5956 * text2.C (clearSelection): reset also xsel_cache.
5958 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5959 where it needs to be called (John tells us to do so too :)
5960 (selectionLost): reset sel_cache.
5962 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5964 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5966 * text2.C (setCursorIntern): put debuging code in INSETS channel
5968 2002-03-19 André Pönitz <poenitz@gmx.net>
5970 * lyxfunc.C: tiny whitespace change
5972 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5974 * ToolbarDefaults.C (init):
5975 * LyXAction.C (init):
5977 * BufferView_pimpl.C (Dispatch):
5978 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5980 2002-03-19 Allan Rae <rae@lyx.org>
5982 * exporter.C (Export): removeAutoInsets before doing anything else.
5983 While I've just introduced a dependency on BufferView this really is
5984 the best place to clean the buffer otherwise you need to cleanup in
5985 a dozen places before calling export or cleanup in a dozen functions
5988 * converter.C (runLaTeX):
5989 (scanLog): Better handling of removeAutoInsets and screen updates.
5991 * lyxfunc.C (dispatch): small whitespace changes
5993 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5995 * WorkArea.C (C_WorkAreaEvent): return a value.
5996 (event_cb): return 1 if we handled the event, 0 otherwise.
5998 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6000 2002-03-18 Juergen Vigna <jug@sad.it>
6002 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6003 (GetAdditionalWidth): ditto.
6007 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6008 inset if we're there actually (probably not used right now but this
6009 is the direction to go for unifying code).
6010 (paste): disable code to clear the selection.
6012 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6013 inside an InsetText and move the check further up as it is in the
6016 * text2.C (pasteSelection): set a selection over the pasted text.
6018 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6020 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6021 and libgraphics to build on Cygwin.
6023 2002-03-15 Juergen Vigna <jug@sad.it>
6025 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6026 inserting an Inset into the paragraph. I know this is not the best
6027 fix but we already use current_view in CutAndPaste so we will remove
6028 all of it's using at the same time.
6030 * buffer.C (sgmlError): deactivated function till it is rewritten in
6031 the right mode, now it can create problems.
6033 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6034 before accessing it.
6036 2002-03-14 Juergen Vigna <jug@sad.it>
6038 * undo_funcs.C (textHandleUndo): do the right thing when updating
6039 the inset after the undo/redo.
6041 * text2.C (setCursor): just some testcode for #44 not ready yet.
6043 * undo_funcs.C (textHandleUndo): set the next() and previous()
6044 pointers of the paragraph to 0 before deleting otherwise we have
6045 problems with the Paragraph::[destructor].
6047 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6048 on a paragraph insertion.
6050 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6052 * buffer.C (asciiParagraph): use += operator for char append to
6055 * paragraph.C (getFontSettings): compare >= not just >
6056 (highestFontInRange): ditto
6059 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6061 * paragraph.C: change several algorithm to be more appripriate for
6062 the problem domain. This is lookip in FontList and in the InsetList.
6064 2002-03-13 André Pönitz <poenitz@gmx.net>
6067 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6069 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6074 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6076 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6078 * Painter.C (display): anon helper function, adjust code for this
6080 (pixmap): remove function.
6082 * Painter.h: remove private display variable.
6084 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6086 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6088 * WorkArea.[Ch]: remove figinset_canvas cruft.
6090 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6092 * lyxtextclass.C (operator): add one item cache optimization.
6094 * bufferlist.h: doxy changes
6096 * bufferlist.C: ws changes
6098 * DepTable.[Ch] (ext_exist): place const in the right spot.
6100 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6102 (workAreaExpose): call resizeInsets when the with BufferView changes.
6103 (Dispatch): adjust for protectedBlank removal
6104 (specialChar): call updateInset if the insert went ok.
6106 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6107 specialChar instead.
6109 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6111 * BufferView.h: doxy change
6113 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6115 * lyxtextclass.C (operator[]): remove non-const version
6116 (defaultLayout): remove non-const version
6118 2002-03-12 Juergen Vigna <jug@sad.it>
6120 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6121 did resize the LyXText too.
6123 * buffer.C (readLyXformat2): set layout information on newly allocated
6126 * tabular.C (OldFormatRead): set layout information on the paragraph.
6128 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6130 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6132 2002-03-11 Juergen Vigna <jug@sad.it>
6134 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6136 (resizeCurrentBuffer): force also the insets to resize themselfes.
6137 (moveCursorUpdate): fixed up for InsetText.
6139 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6142 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6143 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6144 value of Dialogs::tooltipsEnabled().
6145 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6147 2002-03-08 Juergen Vigna <jug@sad.it>
6149 * BufferView_pimpl.C (updateInset): update inset inside inset also
6150 if it isn't inside theLockingInset().
6152 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6154 * buffer.C (asciiParagraph): redo some of the word and line length
6156 (getLists): look for Caption instead of caption.
6158 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6160 * buffer.C (Buffer): initialize niceFile to true
6163 (makeDocBookFile): make sure niceFile is true on exit
6165 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6167 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6169 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6171 * LyXSendto.C: remove.
6172 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6173 * lyx_gui.C: remove now-redundant comment.
6174 * ColorHandler.h: remove forward declaration of class WorkArea.
6175 * lyxfunc.C: remove #include "WorkArea.h".
6177 2002-03-07 Juergen Vigna <jug@sad.it>
6179 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6180 got moved away with the DEPM and also set the inset_owner always
6181 right which before could have been omitted.
6183 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6185 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6186 wanted layout is not found.
6188 2002-03-07 Juergen Vigna <jug@sad.it>
6190 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6192 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6194 * paragraph.C (breakParagraph): use default layout not layout of
6196 (Paragraph): clear ParagraphParameters.
6198 2002-03-06 Juergen Vigna <jug@sad.it>
6200 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6201 otherwise it would not be a valid lenght. Fixed a special case in
6202 the minipage compatibility read where we end the document with a
6205 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6206 was set as it could be 0 for InsetTexts first entry.
6208 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6210 * paragraph.C (writeFile): if layout is empty write out
6211 defaultLayoutName().
6213 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6214 file without named layout we set layout to defaultLayoutName().
6216 2002-03-06 Juergen Vigna <jug@sad.it>
6218 * CutAndPaste.C (copySelection): set layout for new paragraph.
6220 * text.C (prepareToPrint): leave ERT inset left aligned
6221 (leftMargin): don't indent paragraphs inside ERT insets
6223 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6225 * paragraph.C (breakParagraph): dont call clear do the work manually
6227 * paragraph.[Ch] (clear): remove function
6229 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6231 * paragraph.C (Paragraph): dont call clear, the work has already
6234 * lyxtextclass.C (operator): assert if n is empty
6236 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6237 work manually instead.
6239 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6241 * BufferView_pimpl.C: protect selectionLost against text == 0
6243 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6245 * text.C (breakParagraph): fix a setting layout to '0' problem.
6247 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6249 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6250 final location of file, for the included files, and graphics.
6252 2002-03-05 Juergen Vigna <jug@sad.it>
6254 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6256 2002-03-04 Juergen Vigna <jug@sad.it>
6258 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6260 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6261 last column of multicolumn cells.
6262 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6264 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6266 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6267 file if it doesn't go to a temporary file.
6269 * buffer.C (sgmlOpenTag):
6270 (sgmlCloseTag): remove extra newline insertion.
6272 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6274 * text.C (getRowNearY): comment out debug msg
6276 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6278 * text2.C: first -> first_y
6280 * text.C (getRowNearY): add some attemts at a possible
6281 optimization, not working.
6283 * tabular.[Ch]: add BufferParams to several function so that newly
6284 created paragraph can be initialized to he default layotu for the
6287 * tabular-old.C (ReadOld): add buf->params to call of Init
6289 * screen.C: rename text->first to text->first_y
6291 * paragraph.C (breakParagraph): always set layout in the broken
6294 * lyxtextclass.C (Read): remove lowercase
6297 (delete_layout): ditto
6299 * lyxtext.h: rename first -> first_y
6301 * lyxlayout.C (Read): remove lowercase
6304 (obsoleted_by): ditto
6306 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6308 * buffer.C (insertErtContents): add params are to InsetERT
6309 (parseSingleLyXformat2Token): add code to check if a paragraphs
6310 layout really exist.
6311 (parseSingleLyXformat2Token): add params to several inset
6313 (asciiParagraph): remove lowercase, do the layout comparisons with
6316 * BufferView_pimpl.C (cursorNext): first -> first_y
6317 (resizeCurrentBuffer): first -> first_y
6318 (updateScrollbar): first -> first_y
6319 (scrollCB): first -> first_y
6320 (workAreaMotionNotify): first -> first_y
6321 (workAreaButtonPress): first -> first_y
6322 (checkInsetHit): first -> first_y
6323 (cursorPrevious): first -> first_y
6324 (cursorNext): first -> first_y
6325 (Dispatch): add buffer_->params to severl inset contructors
6327 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6329 * lyxlayout.C (Read): remove some debug info that I forgot.
6331 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6332 clean up the code slightly.
6333 (makeLinuxDocFile): ditto
6334 (makeDocBookFile): ditto
6336 * text2.C: layout as string
6338 * text.C: layout as string
6340 * paragraph_pimpl.C: layout as string
6342 * paragraph.[Ch]: layout as string
6344 * lyxtextclasslist.[Ch]: layout as string
6346 * lyxtextclass.[Ch]: layout as string
6348 * lyxtext.h: layout as string
6350 * lyxlayout.[Ch]: layout as string
6352 * lyx_cb.C: layout as string
6354 * bufferview_funcs.C: layout as string
6356 * bufferparams.C: layout as string
6358 * buffer.C: layout as string
6360 * LyXView.[Ch]: layout as string
6362 * LaTeXFeatures.[Ch]: layout as string
6364 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6366 * BufferView_pimpl.C: change current_layout to string, remove
6371 (workAreaButtonRelease): layout as string
6373 * BufferView2.C (unlockInset): adjust
6375 * vspace.C (asLatexCommand): use an explict temp variable.
6377 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6379 * Makefile.am: use FRONTEND_*
6381 2002-03-01 Juergen Vigna <jug@sad.it>
6383 * tabular.C (SetWidthOfMulticolCell): changed to something better
6384 I hope but still work in progress.
6385 (recalculateMulticolumnsOfColumn): renamed function from
6386 recalculateMulticolCells as it is more appropriate now.
6387 (SetWidthOfCell): calculate multicols better.
6389 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6391 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6393 * lyxfunc.C (processKeySym): print sequence also if it is
6394 `deleted' (complete)
6396 * kbsequence.C (print): print sequence even if it is deleted
6397 (complete would be a better word, actually).
6399 * lyxfunc.C (dispatch): print complete options after a prefix key
6401 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6403 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6405 * text2.C (setCharFont): eliminate setCharFont code duplication.
6407 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6409 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6410 LFUN_TABULAR_FEATURE (bug #177)
6412 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6414 * Makefile.am: remove figure.h
6416 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6418 * Bufferview_pimpl.C:
6430 * text2.C: remove #include "lyx_gui_misc.h".
6432 * LaTeX.C: added #include <cstdio>
6434 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6436 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6437 that the paragraph following this one can have.
6439 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6441 * vspace.C (asLatexCommand): fix bogus gcc warning
6443 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6445 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6447 * text2.C (setLayout): get rid of redundant code
6449 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6451 * text2.C (incDepth): make sure depth cannot be increased beyond
6454 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6456 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6457 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6459 * PainterBase.h (image):
6460 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6463 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6467 * BufferView_pimpl.C:
6468 * BufferView_pimpl.h:
6488 * sp_spell.C: remove fig inset, and the crap house of
6489 cards that follows it
6491 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6497 * nt_defines.h: move .h into support/
6499 * vms_defines.h: remove
6501 * WorkArea.C: add space in debug output
6505 * buffer.C: add WITH_WARNINGS
6509 * bufferlist.C: s/retrive/retrieve/, add docs
6520 * lyxgui.C: add ID to X error handler
6522 * lyxtestclass.c: fix typo
6524 2002-02-26 Juergen Vigna <jug@sad.it>
6526 * tabular_funcs.C (write_attribute): changed so that some default
6527 attributes are not written at all.
6528 (getTokenValue): set default values before trying to read the
6529 value so we have the return value always set as default if we don't
6530 find the token we search for.
6532 * tabular.C (Write): write bools as bools not as strings!
6534 2002-02-22 Juergen Vigna <jug@sad.it>
6536 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6537 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6539 * text.C (leftMargin): don't add an indent for paragraphs inside
6540 tabular cells (fix #208).
6542 2002-02-21 José Matos <jamatos@fep.up.pt>
6544 * tabular.C (docBook): fixed support for long tables.
6546 2002-02-20 Juergen Vigna <jug@sad.it>
6548 * text2.C (getFont): get the drawing font of the Inset if this
6549 paragraph is inside an inset (only important for InsetERT for now).
6551 * buffer.C (insertErtContents): use new lanugage params in ERT
6554 * CutAndPaste.C: commenting out seemingly uneeded code.
6556 2002-02-19 Allan Rae <rae@lyx.org>
6558 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6559 Iterators might be simple to use but they also get invalidated.
6560 (removeAutoInsets): renamed saved cursor tracking variables and added
6561 some comments to clarify what everything does.
6563 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6570 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6571 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6574 * vc-backend.h: remove #include "support/syscall.h"
6578 * converter.C: rearrange #includes in Lars' approved fashion.
6580 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6581 forward declare class Timeout in the header file.
6583 * XFormsView.C: changes due to the above.
6585 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6588 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6589 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6591 2002-02-18 José Matos <jamatos@fep.up.pt>
6593 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6596 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6598 * a lot of small ws changes
6599 * add a lot of using std::XXX
6600 * use std construcs some places where approp.
6601 * use some exisint stuff from lyxfunctional where approp.
6602 * Make file changes to use partial linking (lets test this now...)
6604 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6608 remove #include "support/syscontr.h" as it's redundant. Always has been.
6616 change Systemcalls::System to Systemcalls::Wait and
6617 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6618 No change of functionality, just reflects the stripped down Systemcalls
6621 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6623 * debug.[Ch]: add a GRAPHICS type to the enum.
6625 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6627 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6629 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6632 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6634 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6635 match the changes below.
6637 * text2.C (toggleInset): if there is not editable inset at cursor
6638 position, try to see if cursor is _inside_ a collapsable inset
6641 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6643 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6644 document menu has a nice checkbox
6646 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6648 * lyxlength.C (asLatexString): change PW to output as percent of
6651 * lengthcommon.C: change '%' to 't%'
6653 * lyxfunc.C (dispatch): a few comments from Martin
6655 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6659 * BufferView_pimpl.h:
6660 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6663 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6665 * vspace.C (inPixels): fix compiler warning
6667 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6669 * lyxfunc.C (getStatus): fix status message for disabled commands.
6671 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6673 * BufferView_pimpl.C: fix crash on close buffer
6674 during selection (#227)
6676 2002-01-27 Herbert Voss <voss@lyx.org>
6678 * buffer.C: link old Figure to new graphic inset
6680 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6682 * FontLoader.C (getFontinfo): Change the latex font names in order
6683 to match the names of type1inst.
6685 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6687 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6689 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6692 (remove_files_with_extension): ditto
6693 (remove_file): ditto
6696 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6697 document is smaller than the work area height. Do not initialize
6698 static variables to 0.
6700 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6702 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6704 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6705 LFUN_LAYOUT_PARAGRAPHS.
6707 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6708 tabular. It is possible to provide a possible cell, which will
6709 typically be the actcell from the corresponding insettabular
6711 * lyxfunc.C (getStatus): small cleanup; disable
6712 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6715 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6717 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6719 * paragraph.C (startTeXParParams):
6720 (endTeXParParams): new methods. The LaTeX code to
6721 start/end paragraph formatting
6722 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6723 empty (fixes bug #200)
6725 * vspace.C (inPixels): adapt to the change below
6726 (inPixels): [later] more cleanups (remove unused variables)
6728 * lyxlength.C (inPixels): change to use a width and a height as
6731 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6733 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6734 Replaced with \paperwidth
6736 * DepTable.C (insert): add std:: qualifier
6738 2002-01-18 Allan Rae <rae@lyx.org>
6740 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6743 * text.C (drawInset): Turned out I didn't know enough about how
6744 rebreaking worked. This fixes most of the redraw problems. I see
6745 an occasional cursor trail when a line is broken now and the cursor
6746 placement can seem out by a few pixels also after a rebreak.
6748 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * buffer.C (parseSingleLyXformat2Token): update because minipage
6751 width is now a LyXLength
6753 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6755 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6758 2002-01-17 Juergen Vigna <jug@sad.it>
6760 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6762 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6763 is set correctly and the inset is updated correctly.
6765 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6767 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6768 the beginning of the loop.
6770 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6772 * lyxrc.C: improve help for use_scalable_fonts
6774 2002-01-17 Allan Rae <rae@lyx.org>
6776 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6778 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6780 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6781 make sure to set their inset_owner to the right value (bug #171)
6783 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6786 * DepTable.C: Implement mtime checking to reduce time spent doing
6789 2002-01-16 Juergen Vigna <jug@sad.it>
6791 * tabular.C (GetAdditionalHeight): one of error fixed.
6793 * lyxrc.C (output): small fix in writing use_pspell.
6795 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6797 * sp_base.h: #include LString.h
6799 2002-01-16 Allan Rae <rae@lyx.org>
6801 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6802 Can someone check this please?
6804 * text.C (drawInset): It was possible that p.row would be removed by
6805 breakAgainOneRow upsetting a few other settings. There may be another
6806 small tweak possible by setting need_break_row = 0 when p.row has been
6807 removed but I don't know enough about the logic here.
6809 2002-01-15 Allan Rae <rae@lyx.org>
6811 * text.C (insertChar): removed conditional truism.
6813 * BufferView2.C (removeAutoInsets): More tweaks.
6814 cur_par_prev could be a stray pointer. Check for trailing empty line
6815 in case last line was cur_par and only had an error inset on it.
6817 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6819 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6822 * vc-backend.C (most methods):
6823 * exporter.C (Export):
6824 * converter.C (convert):
6826 * LyXSendto.C (SendtoApplyCB):
6827 * lyxfunc.C (dispatch):
6831 * lyx_cb.C (AutoSave):
6833 * BufferView_pimpl.C (MenuInsertLyXFile):
6834 * buffer.C (runChktex): use Buffer::filePath().
6836 * buffer.h: rename filename to filename_; rename filepath to
6837 filepath_ and make it private
6838 (filePath): new method
6840 * buffer.C (writeFile): use fileName()
6843 * lyx_main.C (init): fix starting of LyX when the binary is a
6844 link from so,ewhere else.
6846 * minibuffer.C: include <cctype> for isprint
6848 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6850 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6851 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6852 name clash with InsetCollapsable's width function.
6854 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6856 * lastfiles.C: include <iterator>
6858 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6860 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6863 * buffer.C (makeLaTeXFile): ditto.
6864 Also make loop operation more transparent.
6866 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6868 * ToolbarDefaults.C: remove trailing comma closing namespace.
6870 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6872 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6875 * trans.C (Load): comment out unused variable, allowed.
6877 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6879 * minibuffer.[Ch] (append_char): new method to recieve input from the
6880 drop-down completion browser. If a key was pressed, then recieve this
6881 char and append it to the existing string.
6882 (peek_event): modify the positioning data passed to the completion
6883 browser so that it can be placed above the minibuffer rather than below.
6884 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6886 * LyXAction.C (init): alloe error-next for readonly documents.
6888 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6891 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6893 * bufferlist.C (readFile): create the buffer _after_ checking that
6896 * lyxfunc.C (verboseDispatch): fix handling of arguments
6898 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6900 * lyxrc.C: use string::erase() instead of initializing to "".
6903 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6905 * BufferView_pimpl.h:
6906 * BufferView_pimpl.C:
6909 * text2.C: tell X when we have made a selection for copying
6911 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6913 * BufferView_pimpl.C (MenuInsertLyXFile):
6914 * lyxfunc.C (menuNew):
6916 (doImport): add shortcuts to directory buttons
6918 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6921 * lyxfunc.C (setStatusMessage):
6922 (getStatusMessage): new methods
6923 (getStatus):use setStatusMessage instead of setErrorMessage
6924 (dispatch): when function is disabled, set error message here
6925 [instead of in getStatus previously]
6927 * BufferView_pimpl.C (workAreaButtonRelease): update
6928 toolbar/menubar here too.
6930 2002-01-13 Allan Rae <rae@lyx.org>
6932 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6933 Now seems indestructible. Remaining task is to audit all other
6934 code affected by deleteEmptyParagraphMechanism. One small quirk
6935 left is that an empty document with an error in the preamble can
6936 be made to report an error but no error box appears. I don't know
6938 (removeAutoInsets): Improved comments.
6940 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6943 * Thesaurus.C: update for Aiksaurus 0.14
6945 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6947 * text2.C (firstParagraph): removed member function, all uses
6948 replaces with ownerParagraph
6949 (redoParagraphs): here
6951 (toggleAppendix): here
6952 * BufferView2.C (insertErrors): here
6953 (setCursorFromRow): here
6955 2002-01-13 Allan Rae <rae@lyx.org>
6957 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6958 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6959 There is still a way to segfault this although you may have to do this
6960 multiple times: Have an InsetERT with an unknown command in it.
6961 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6962 <down-arrow>, <Enter> again, View->DVI, BANG!
6964 * text2.C (setCursor):
6965 (deleteEmptyParagraphMechanism):
6966 * lyxtext.h (setCursor):
6967 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6968 Making use of the return value may help fix other bugs.
6970 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6972 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6974 * LyXView.C (updateMenubar): call MenuBar::update here
6975 (updateToolbar): but not here
6976 (showState): do not update toolbar/menubar
6978 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6979 should need to care about that.
6981 * lyxfunc.C (verboseDispatch): simplify a bit
6982 (getStatus): have a version which takes a pseudoaction, and
6983 another which requires a (kb_action,string).
6985 * LyXAction.C (retrieveActionArg): make it work also when action
6986 is not a pseudo-action.
6987 (getActionName): simplify a bit
6990 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6992 * lyxfunc.C (verboseDispatch): new families of methods with
6993 several ways to specify a command and a bool to indicate whether
6994 the command name and shortcut should be displayed in minibuffer
6995 (eventually, we could extend that to a finer bitmask like
6996 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6997 (dispatch): the pristine dispatch command which just, well,
6998 dispatchs! Note it still sets its result to minibuffer; I'm not
7001 * lyxfunc.h: remove setHintMessage
7003 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7005 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * BufferView_pimpl.C (specialChar): delete new inset if we have
7008 not been able to insert it.
7010 * kbmap.C: revert to using int instead of kb_action, since all we
7011 are dealing with is pseudo-actions.
7013 * LyXAction.C (searchActionArg): change to return int instead of
7014 kb_action, since the result is a pseudoaction.
7016 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7018 * buffer.C (insertErtContents): Fix (partially) the font bug.
7020 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7022 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7023 as the other one is broken on my machine!
7025 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7028 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7030 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7032 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7033 reflect their actual use. Provide compatibility code for older lyxrc
7036 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7038 change names of popup font variables in line with the changes to lyxrc.C
7040 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7042 * buffer.C (asciiParagraph): avoid outputing a word twice after
7045 * lyxrc.C (getDescription): document that document_path and
7046 template_path can be empty.
7048 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7050 * LaTeXFeatures.C (getMacros):
7051 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7053 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7055 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7057 (getPackages): rename feature "floats" to "float". Use an array to
7058 iterate over 'simple' features (i.e. just a \usepackage). Add
7059 handling of "amsmath" (renamed from "amsstyle").
7061 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7063 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7066 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7068 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7069 FuncStaus::FuncStatus & FuncStaus::some_method().
7071 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7073 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7074 of the func_satus stuff. Edited and massaged in various ways by
7077 * lyxfunc.C (getStatus): use FuncStatus
7079 2002-01-08 Juergen Vigna <jug@sad.it>
7081 * text.C (nextBreakPoint): use function Inset::isChar().
7083 * paragraph.C (TeXOnePar): use function
7084 Inset::forceDefaultParagraphs.
7086 * buffer.C (latexParagraphs): use function
7087 Inset::forceDefaultParagraphs.
7089 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7091 * lyx_gui.C (init): set the style of the menu popups to
7092 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7094 2002-01-07 Juergen Vigna <jug@sad.it>
7096 * text.C (setHeightOfRow): small fix
7097 (prepareToPrint): don't look at alignment if we don't have the place
7100 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7102 * box.C: New file. Move the Box methods and functions out of box.h,
7103 following Lars' suggestion.
7105 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7107 * box.h: #include "support/LOstream.h", needed for inlined function.
7110 * lyxtextclasslist.C: added some using std declarations.
7112 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7114 * box.h: make signed dimensions to allow insets wider than
7115 the screen (bug #162)
7117 * BufferView_pimpl.C: add some insetHit debug
7119 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7121 * vc-backend.C: add FIXME
7123 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7125 * lyxfunc.C (getStatus): enable code for showing math font status
7128 2002-01-07 Juergen Vigna <jug@sad.it>
7130 * text.C (nextBreakPoint): removed debug output not needed anymore.
7132 2002-01-06 Juergen Vigna <jug@sad.it>
7134 * text.C (nextBreakPoint): fixed up this function we had this bug
7135 since ever but now hopefully we break row better.
7136 (insertChar): we have to check if an inset is the next char as it
7137 could now happen that a large inset is causing a break.
7139 2002-01-05 Juergen Vigna <jug@sad.it>
7141 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7142 if it doesn't like to be drawed.
7144 2002-01-04 Juergen Vigna <jug@sad.it>
7146 * BufferView2.C (lockInset): forgot to set a cursor.
7148 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7150 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7155 * form_maths_panel.C:
7156 * form_maths_panel.h:
7157 * form_maths_panel.fd: implemented sub- and super- buttons in math
7160 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7161 (or ^ space) to be used as in TeX (req'd by André).
7163 * lyxfunc.C: Allow ^ and _ again to be used both as
7164 super/subscript (mathed) and as themselves (in text).
7166 2002-01-03 Allan Rae <rae@lyx.org>
7168 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7169 "LyX" or the filename of the current buffer if it has one. This is a
7170 modified form of John Levon's patch.
7172 * XFormsView.C (setWindowTitle): also set icon title.
7174 * LyXView.h (setWindowTitle): signature changed.
7175 * XFormsView.h (setWindowTitle): ditto.
7177 2002-01-02 Juergen Vigna <jug@sad.it>
7179 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7181 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7183 * screen.C (topCursorVisible): introduce a temp var for
7184 text->cursor.row(), handle the case where this row is null. (kindo
7187 * text2.C (setCursor): add a couple of asserts.
7189 * paragraph.h (inset_iterator): add -> operator
7191 * paragraph.[Ch] (autoDeleteInsets): remove member function
7193 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7194 cursor pos correctly and handle inset deletion by itself.
7195 (insertErrors): move iterator declaration out of for expression
7197 * lyxtextclass.C: add <algorithm>
7199 * Makefile.am: added the new files to sources, removed layout.C
7201 * layout.C: removed file
7203 * layout.h: remove LYX_DUMMY_LAYOUT
7205 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7209 * lyxtextclass.[Ch]:
7210 * lyxtextclasslist.[Ch]: new files
7212 * include order changes to a lot of files, also changes because of
7215 2001-12-27 Juergen Vigna <jug@sad.it>
7217 * buffer.C (asciiParagraph): more fixes.
7219 * tabular.C (ascii): make ascii export support export of only the
7220 data separated by a column-delimiter.
7221 (ascii): better support for ascii export.
7223 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7225 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7227 * tabular_funcs.C: use a "using std::getline" instead of the
7228 previous fix from Angus (necessary for cxx + lyxstring)
7230 2001-12-24 Juergen Vigna <jug@sad.it>
7232 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7234 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7235 problems. First check a minipage also if we have some ert-contents
7236 (not only on par->size(), second set the right depth of the paragraph
7237 on the relink to the root-paragraph-list!
7239 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7240 which then did not anymore update the main paragraphs on undo/redo!
7242 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7244 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7245 code. Support all font-changing funcs (even those which are not in
7246 menu currently). Support for reporting font settings in
7247 mathed (disabled until Andre provides a function on mathed's side).
7249 * func_status.h (toggle): small helper function to set toggle
7252 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7254 * tabular_funcs.C: getline -> std::getline
7256 2001-12-21 Juergen Vigna <jug@sad.it>
7258 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7259 accessed and could be 0 (I couldn't generate this but it seems
7262 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7264 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7265 * tabular_funcs.h: here and include iosfwd
7267 2001-12-20 Juergen Vigna <jug@sad.it>
7269 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7270 inside inset but undo_par was.
7272 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7274 * Thesaurus.C: always include <config.h> in sources.
7278 * box.h: do not include <config.h> in header files
7280 * text.C (paintLastRow): remove unused variable
7282 * text.C (transformChar):
7284 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7287 * font.C (width): rewrite to use uppercase() instead of
7290 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7292 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7294 * lyxfind.C: clean up of find failure position change
7296 2001-12-20 Juergen Vigna <jug@sad.it>
7298 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7300 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7301 (TeXRow): added to LaTeX a single tabular row.
7302 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7303 (Latex): simplified and finally good LT-h/f support.
7304 (various_functions): just small adaptions for LT-h/f support.
7306 * tabular_funcs.[hC]: added and moved here all not classfunctions
7309 2001-12-19 Juergen Vigna <jug@sad.it>
7311 * tabular.[Ch]: better support for longtabular options (not finished
7314 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7316 * text.C (paintLastRow): use the label font instead of the font of
7317 the last character to compute the size of *_BOX. This makes more
7318 sense and avoids a crash with empty paragraphs.
7319 Use Painter::rectangle to draw EMPTY_BOX.
7321 2001-12-19 Juergen Vigna <jug@sad.it>
7323 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7324 the paragraphs if the replaced paragraph is not the first one!
7325 Tried to delete not used paragraphs but does not work yet so for
7326 now it's inside #ifdef's and by default off!
7328 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7330 * MenuBackend.C: include "lyx_main.h" instead of declaring
7331 lastfiles (actually was declared as LastFiles* instead of a
7334 2001-12-17 Juergen Vigna <jug@sad.it>
7336 * tabular.C (AppendColumn): applied John's fix
7338 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7342 * BufferView_pimpl.h:
7343 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7346 * box.h: new start of class for above
7348 * lyxfunc.C: ignore space-only minibuffer dispatches.
7349 Show the command name when it doesn't exist
7351 * minibuffer.C: don't add empty lines to the history
7353 * minibuffer.C: add a space on dropdown completion
7355 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7357 * text.C: fix line above/below drawing in insets
7359 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7361 * lyxlength.C (LyXLength): Initialize private variables.
7363 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7365 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7366 when inserting error insets.
7368 2001-12-13 Juergen Vigna <jug@sad.it>
7370 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7371 actually sometimes the before-paragraph.
7372 (setUndo): don't clear the redostack if we're not actually undoing!
7374 2001-12-06 Juergen Vigna <jug@sad.it>
7376 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7377 and fixed redoing of main paragraph, so we can use it now ;)
7379 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7381 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7383 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7386 2001-12-13 André Pönitz <poenitz@gmx.net>
7389 * undo_func.C: minor cleanup
7391 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7393 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7394 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7395 font in urw-fonts package which is marked as -urw-fontspecific and
7396 does not work (incidentally, changing the encoding in the
7397 fonts.dir of this package to -adobe-fontspecific fixes the
7400 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7401 is a crash when undoing first paragraph (Juergen, please take a
7402 look). THis does not mean the undo fix is wrong, just that it
7405 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7406 the (Paragraph*) version when needed instead of duplicating the
7409 * text.C (workWidth): use Inset::parOwner to find out where the
7410 inset has been inserted. This is a huge performance gain for large
7411 documents with lots of insets. If Inset::parOwner is not set, fall
7412 back on the brute force method
7414 * paragraph_pimpl.C (insertInset):
7415 * paragraph.C (Paragraph):
7416 (cutIntoMinibuffer): set parOwner of insets when
7417 inserting/removing them
7419 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7421 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7427 * mathed/formulabase.C:
7428 * mathed/math_cursor.[Ch]:
7429 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7432 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7434 * lyxlength.[Ch] (operator!=): new function
7436 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7438 * text.C (workWidth): use Inset::parOwner to find out where the
7439 inset has been inserted. This is a huge performance gain for large
7440 documents with lots of insets. If Inset::parOwner is not set, fall
7441 back on the brute force method
7443 * paragraph_pimpl.C (insertInset):
7444 * paragraph.C (Paragraph):
7445 (cutIntoMinibuffer): set parOwner of insets when
7446 inserting/removing them
7448 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7450 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7452 * tabular-old.C (getTokenValue):
7453 * tabular.C (getTokenValue):
7454 (write_attribute): new versions for LyXLength
7455 (everywhere): adjust the use of widths
7457 * tabular.h: change the type of widths from string to LyXLength
7459 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7461 * paragraph.C: fixed missing line number count when exporting
7462 Environments to LaTeX file
7464 * buffer.C: added informational message for checking line numbers.
7466 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7468 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7469 paragraph, do the 'double space' part, but not the 'empty
7472 * text.C (workWidth): small optimization
7473 (getLengthMarkerHeight): use minimal size for negative lengths.
7475 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7477 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7479 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7481 2001-12-11 André Pönitz <poenitz@gmx.net>
7484 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7486 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7488 * text2.C: keep selection on a setFont()
7490 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7492 * lyx_cb.C: another bv->text misuse, from insert label
7494 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7497 * kbsequence.C: re-instate nmodifier mask
7499 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7501 * lyx_main.h: make lyxGUI private.
7503 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7505 * lyxfind.C: place the cursor correctly on failed search
7507 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7509 * text.C (getLengthMarkerHeight): for small heights, the arrows
7510 are not always on top/bottom of the text
7511 (drawLengthMarker): smaller arrows; take the left margin in
7512 account; draw also vfills.
7514 (paintLastRow): remove special code for vfill and standard spaces,
7515 since everything is handled in drawLengthMarker now.
7517 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7519 * buffer.C (insertErtContents): try to handle font and language
7520 interaction a bit better.g
7522 * ColorHandler.C (updateColor): change the hash to cover the whole
7523 LColor enum, ws cleanup
7524 (getGCLinepars): ditto
7525 (getGCLinepars): only lookup in the linecache once.
7527 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7529 * iterators.C (operator++): Make the iterator more robust
7531 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7533 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7535 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7538 * text.C: better added space drawing
7540 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7543 * BufferView2.C: fix layout combo update on inset unlock
7545 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7547 * Makefile.am: don't compile unused files
7549 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7553 * LyXAction.C: remove old LFUN_LAYOUTNO
7555 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7557 * paragraph_pimpl.h:
7558 * paragraph_pimpl.C: isTextAt() doesn't need font param
7560 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7563 * lyxlex.C: little cleanup
7565 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7567 * BufferView_pimpl.C: fix insertAscii for insets
7569 2001-12-05 Juergen Vigna <jug@sad.it>
7571 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7572 set the right font on the "multi" paragraph paste!
7574 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7580 * lyxlength.C: remove out-commented code.
7596 * vc-backend.C: change "while(" to "while ("
7598 * lyxlength.[Ch]: add zero function to check if length is zero or
7600 * lyxgluelength.C: use it
7602 2001-12-05 Allan Rae <rae@lyx.org>
7604 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7605 Works for 2.95.3, from what I understand of Garst's reports this should
7606 work for other g++ versions. We're screwed if the abs(int) definition
7607 changed between bugfix releases of gcc.
7609 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7611 * text.C: fix chapter label offset !
7613 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7616 * text.C: fix hfill at end of line, clean up
7618 2001-12-04 Juergen Vigna <jug@sad.it>
7620 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7621 that we force an update of the inset and it's owners if neccessary.
7623 2001-12-03 Juergen Vigna <jug@sad.it>
7625 * text.C (rowLast): simplified code
7627 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7629 * lyxfunc.C: fix show options on timeout
7631 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7633 * screen.C (topCursorVisible): scroll half a page when the cursor
7634 reached top of bottom of screen
7636 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7638 * minibuffer.C: deactivate on loss of focus
7640 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7642 * vspace.[Ch] (operator!=): add operator.
7644 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7646 * BufferView_pimpl.C: refuse to open an inset when
7647 there's a selection.
7649 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7651 * BufferView_pimpl.C: allow to click on RHS of full row insets
7653 2001-11-30 Juergen Vigna <jug@sad.it>
7655 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7656 insets for undo reasons.
7658 2001-11-28 André Pönitz <poenitz@gmx.net>
7660 * vspace.[Ch]: cosmetical changes
7662 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7672 * kbsequence.C: part re-write of old kb code
7675 * WorkArea.C: remove Lgb_bug_find_hack
7677 2001-11-30 José Matos <jamatos@fep.up.pt>
7679 * buffer.C (makeDocBookFile): add a comment to point a hack.
7680 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7681 Fixed a double write of labels.
7683 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7686 * LaTeX.h Fixed bug in LaTeX class where it would not
7687 re-run latex if no depfiles were changed, but the .dvi was removed.
7689 2001-11-28 André Pönitz <poenitz@gmx.net>
7691 * all the files from the change on 2001/11/26:
7692 use lyx::layout_type instead of LyXTextClass::size_type
7693 use lyx::textclass_type instead of LyXTextClassList::size_type
7695 2001-11-29 Juergen Vigna <jug@sad.it>
7697 * text.C: added support for paragraph::isFreeSpacing()
7699 * buffer.C: same as above
7701 * paragraph.h: inserted isFreeSpacing() function to enable
7702 FreeSpacing inside InsetERT.
7704 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7705 of the paragraph's in the cut/copy buffer to 0!
7707 * text2.C (removeRow): remove the assert as it can!
7709 * lyxtext.h: added helper function firstRow returning firstrow and
7710 made firstrow private again.
7712 * BufferView2.C (lockInset): don't relock if we're already locked!
7714 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7716 (removeRow): added Assert::(firstrow)
7718 * debug.C: forgot to add INSETTEXT here.
7720 2001-11-28 Juergen Vigna <jug@sad.it>
7722 * sp_spell.C (initialize): changed error text to more general
7723 spellchecker command use (not only ispell!)
7725 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7727 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7729 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7731 * vspace.C: initialise lyxgluelength on failure
7733 2001-11-28 Allan Rae <rae@lyx.org>
7735 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7736 declaration & definition that looks like a function declaration.
7738 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7740 * BufferView2.C (copy):
7741 (copyEnvironment): do not clear the selection when doing a copy.
7743 * text.C (paintFirstRow): compilation fix
7745 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7747 * tabular.C (Latex): correct line count when writing latex.
7749 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7751 * paragraph_pimpl.h:
7752 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7755 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7759 * LColor.C: change vfillline->added_space
7761 * text.C: add markers and text for added space
7763 * vspace.C: fix comment
7765 2001-11-28 André Pönitz <poenitz@gmx.net>
7767 * paragraph.C: whitespace changes
7768 * all the other files from the change on 2001/11/26:
7769 change *::pos_type into lyx::pos_type
7771 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7773 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7774 language of the document when inserting error insets.
7776 2001-11-26 André Pönitz <poenitz@gmx.net>
7778 * BufferView_pimpl.[Ch]:
7786 * paragraph_pimpl.[Ch]:
7789 * text2.C: reduce header dependencies, introduce type for positions
7791 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7793 * <various>: change to use Alert.h
7795 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7797 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7798 when encountering an unknown token.
7799 (readLyXformat2): Show an error message if there were unknown tokens.
7801 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7804 * BufferView_pimpl.C:
7808 * text2.C: use par->isInset()
7810 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7812 * paragraph_pimpl.h:
7813 * paragraph_pimpl.C: cleanup
7815 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7817 * text2.C (removeRow):
7818 * text.C (setHeightOfRow): remove useless (and costly) call to
7821 2001-11-20 Allan Rae <rae@lyx.org>
7823 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7824 Now need Inset*::checkInsertChar() to return true for appropriate
7825 cases so that the characters in the minibuffer will actually be
7828 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7830 * text.C: change the order of the includes.
7831 (workWidth): initialize it at once.
7832 (workWidth): make maxw unsigned
7833 (setHeightOfRow): remove unused variable (inset)
7834 (selectSelectedWord): remove unused variable (inset)
7835 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7837 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7839 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7840 server is not running.
7842 (closeConnection): add debug info when server is disabled.
7844 * ColorHandler.C (getGCForeground): send debug message to GUI
7847 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7849 * kbmap.C (bind): modify because return conventions of
7850 kb_sequence::parse have changed.
7852 * kbsequence.C (parse): only ignore spaces and not any stupid
7853 control character. This avoids tests like s[i] <= ' ', which are
7854 guaranteed to fail with 8bit characters and signed chars.
7855 Change return code to string::npos when there have been no error
7856 (0 was a bad idea when error is at first character)
7858 2001-11-14 José Matos <jamatos@fep.up.pt>
7861 * buffer.C (simpleDocBookOnePar): removed unused argument.
7863 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7865 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7866 insets which are part of a word. Paragraph::isLetter takes care of
7867 that now. Use Paragraph::isInset to identify insets.
7868 (selectSelectedWord): do not test for hyphenation break.
7870 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7871 that protected spaces are considered as spaces.
7873 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7876 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7879 * lyxserver.C: fix it. and small cleanup.
7881 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7883 * BufferView_pimpl.C: use inline helpers
7886 * LaTeXFeatures.C: fix typos
7889 * Spacing.C: move spacing_string into class
7891 * ToolbarDefaults.C: move stuff into namespace anon
7893 * layout.h: update enum
7895 * lyxfunc.C: use better debug
7897 * minibuffer.h: fix typo
7901 * WorkArea.C: add and use Debug::WORKAREA
7905 * text2.C: code re-organisation, inline helpers
7907 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7909 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7910 std::vector.empty().
7912 2001-11-09 Allan Rae <rae@lyx.org>
7914 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7915 '\n's after tables. Tabular and ERT inset work now makes this no
7918 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7921 * minibuffer.C: fix crash, improve drop-down completion
7923 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7926 * lyxserver.C: invalidate fd's when doing endPipe()
7928 2001-11-08 José Matos <jamatos@fep.up.pt>
7930 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7931 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7934 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7936 2001-11-07 José Matos <jamatos@fep.up.pt>
7939 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7942 * buffer.C (sgmlOpenTag):
7943 * buffer.C (sgmlCloseTag): removed debug info.
7945 * buffer.h (sgmlOpenTag):
7946 * buffer.h (sgmlCloseTag): made public.
7948 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7950 * buffer.C (saveParamsAsDefaults):
7951 * lyx_cb.C (MenuLayoutSave): remove
7953 * LyXAction.C (init):
7955 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7957 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7959 * buffer.C (setPaperStuff): removed from here...
7961 * bufferparams.C (setPaperStuff): ... and moved there.
7963 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7967 * XFormsView.C: add support for drop-down completion
7969 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7971 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7974 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7976 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7979 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7981 * lyx_main.C: change ref to known bugs
7983 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7985 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7986 to work around older babel problems.
7988 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7990 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7992 2001-10-24 Juergen Vigna <jug@sad.it>
7994 * tabular-old.C (ReadOld): below variable changes reflected.
7996 * tabular.[Ch]: added ltType struct for longtable header/footer
7997 defines and changed all instances where they are used. Added
7998 future support for double top/bottom rows.
8000 2001-10-24 José Matos <jamatos@fep.up.pt>
8002 * buffer.h (docbookHandleCaption):
8003 * buffer.C (docbookHandleCaption): removed unused function.
8004 (makeDocBookFile): moved docbook supported version to v4.1.
8006 2001-10-24 José Matos <jamatos@fep.up.pt>
8009 * tabular.C (docbookRow): new function to export docbook code of a row.
8010 (DocBook): now honors the longtable flags.
8012 2001-10-23 José Matos <jamatos@fep.up.pt>
8015 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8016 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8018 * buffer.C (makeLinuxDocFile):
8019 (makeDocBookFile): reworked the preamble, more clean, and with
8020 support for lyx defined entities. Changed the document declaration
8021 to be more XML friendly.
8023 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8024 if we need to output XML that should be done with a filter.
8026 2001-10-22 Juergen Vigna <jug@sad.it>
8028 * sp_pspell.h (class PSpell): add alive function needed in the
8029 controller to see if the spellchecker could be started.
8031 2001-10-22 Juergen Vigna <jug@sad.it>
8033 * buffer.C (insertStringAsLines): modify the font for inserting
8034 chars in certain conditions by calling checkInsertChar(font).
8036 2001-10-19 Juergen Vigna <jug@sad.it>
8038 * text.C (workWidth): use getRow instead of wrong algorithm.
8039 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8041 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8046 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8048 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8050 * text.C (workWidth): do not search for the exact row when
8051 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8052 optimization for big documents.
8054 2001-10-18 Juergen Vigna <jug@sad.it>
8056 * text.C (workWidth): new function with added Inset * parameter.
8058 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8060 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8062 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8063 change return type of getColumnNearX.
8066 * text.C (changeRegionCase): use uppercase/lowercase instead of
8069 (rightMargin): simplify code by factoring out the uses of
8074 (appendParagraph): use Paragraph::size_type
8076 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8078 * vspace.C (asLatexString): add a missing break
8080 2001-10-15 Herbert Voss <voss@perce.de>
8082 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8084 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8086 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8089 2001-10-10 André Pönitz <poenitz@gmx.net>
8091 * lyxfunc.C: removed greek_kb_flag.
8093 2001-10-10 Herbert Voss <voss@perce.de>
8095 * lyx_main.C: delete global string help_lyxdir.
8097 2001-10-09 Herbert Voss <voss@perce.de>
8099 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8101 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8103 * lyx_main.C: added global string help_lyxdir.
8105 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8107 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8109 * lyxrc.C (set_font_norm_type): support iso8859-4
8111 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8113 * LaTeX.C (deplog): add another regex for MikTeX
8115 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8117 * lyxrc.C (set_font_norm_type): support iso8859-3
8119 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8121 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8123 * LaTeXFeatures.C: remove special case of french and index
8125 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8126 before \begin{document}). This solves several incompatibilities.
8128 2001-10-03 Garst Reese <reese@isn.net>
8130 * lyx_cb.C: change CheckTex error msg.
8132 2001-10-03 José Matos <jamatos@fep.up.pt>
8134 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8136 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8138 * .cvsignore: update
8140 * lyx_main.C (commandLineVersionInfo): use new style version info.
8142 * buffer.C (writeFile):
8145 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8147 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8149 * version.h: update to use stuff in version.C
8151 * version.C.in: new file. Contains version information determined
8152 at compile time. This is a merging of version.h and
8155 2001-10-03 Juergen Vigna <jug@sad.it>
8157 * BufferView_pimpl.C (update): don't change "dirty" status in
8160 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8162 * WorkArea.C (c-tor): re-position version string slightly.
8164 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8166 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8167 revert to previous code.
8169 WorkArea.[Ch]: (show, destroySplash): methods removed.
8171 WorkArea.C: rework code so that it's an amalgam of the codes before and
8172 after the splash screen was moved to WorkArea.
8174 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8177 * vspace.C (inPixels):
8180 * buffer.C (insertStringAsLines):
8181 (asciiParagraph): fix types to be large enough
8183 * lyxlex_pimpl.h: change member status from short to int
8185 * layout.h: fix type of endlabeltype
8188 * kbsequence.C (parse): change return type to string::size_type
8190 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8193 * Bullet.C (bulletSize):
8194 (bulletEntry): do not use short ints as parameters
8196 * BufferView2.C (insertLyXFile): change a char to an int.
8198 * WorkArea.C (WorkArea): remove unneeded floats in computation
8200 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8202 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8204 * paragraph.C (asString): Do not ignore newline/hfill chars when
8205 copying to the clipboard.
8207 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8209 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8210 after a multi-line inset.
8212 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8214 * paragraph.C (validate): Set NeedLyXFootnoteCode
8216 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8218 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8219 and decrease-error to decrease.
8221 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8223 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8224 it more readable (should be equivalent)
8226 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8228 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8230 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8232 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8233 of a cursor (row, etc.) after a character has been deleted
8234 (deleteEmptyParagraphMechanism): call the method above on _all_
8235 cursors held by the LyXText when a double space has been
8238 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8240 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8242 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8244 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8245 background. Use greyOut() and the new show() methods to toggle between
8246 the foreground and background. Add code to remove the splash after
8247 its initial showing.
8249 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8250 (create_forms): no longer call Dialogs::showSplash.
8252 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8254 * .cvsignore: add version_info.h
8256 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8258 * version_info.h.in: new file
8260 * Makefile.am: add version_info.h.in
8262 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8263 version_info.h instead of VERSION_INFO
8265 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8267 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8268 The ERT inset now returns string().
8270 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8272 * lyxtext.h, text.C (selectNextWord): renamed as
8273 selectNextWordToSpellcheck.
8275 * text.C (selectNextWordToSpellcheck): Modified to not select
8276 words inside an ERT inset.
8278 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8280 * lyx_cb.C (MenuLayoutSave): change a bit the question
8282 * sp_base.h: include <sys/types.h>
8284 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8286 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8288 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8290 * several files: fix typos in user-visible strings
8292 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8294 * text2.C (pasteSelection): do not set the selection, since it
8295 will be cleared later. Actually, the intent was to fix the way the
8296 selection was set, but I figured rmoving the code was just as good.
8298 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8300 * FontLoader.C (available): Check if font is available without
8303 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8305 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8307 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8309 * lyxrc.[Ch]: added display_graphics variable and associated code.
8311 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8313 * bufferparams.C (hasClassDefaults): new method. Returns true if
8314 the buffer parameters correspond to known class defaults
8316 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8318 * XFormsView.C (show): set minimum size to the main window.
8320 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8322 * text2.C (copySelection):
8324 * lyxfind.C (LyXReplace):
8325 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8326 LyXText::selectionAsString.
8328 * paragraph.C (asString): add "label" argument to the second form
8330 * text2.C (selectionAsString): add "label" argument and pass it to
8331 Paragraph::asString.
8333 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8335 * lyx_main.C (commandLineHelp): remove version information
8337 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8339 * lyx_main.C: add -version commandline option
8341 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8343 * paragraph.h: make the optional constructor arg required instead.
8344 some modifications to other files because of this.
8346 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8348 * lyxserver.C (C_LyXComm_callback): make it static
8350 * lyx_main.C (error_handler): make it static
8352 * lyx_gui.C (LyX_XErrHandler): make it static
8354 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8356 * WorkArea.C: make the extern "C" methods static.
8358 * Makefile.am (lyx_LDADD): simplify
8360 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8362 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8363 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8365 * LyXAction.C (init):
8366 * lyxfunc.C (dispatch): associated code removal.
8368 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8370 * lyxfont.h (isSymbolFont): shut off warning
8372 * text.C (setHeightOfRow):
8373 (getVisibleRow): fix crash with empty paragraphs which have a
8376 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8378 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8381 2001-09-04 José Matos <jamatos@fep.up.pt>
8384 * tabular.C (docbook): rename docBook method to docbook.
8386 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8388 * Makefile.am: add dependencies to main.o.
8390 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8392 * FontLoader.C (available): Return false if !lyxrc.use_gui
8394 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8396 * FontInfo.C (query):
8397 * converter.C (view):
8398 * importer.C (Import):
8399 * exporter.C (Export): Can not -> cannot.
8401 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8403 * BufferView_pimpl.C: allow to create index inset even if
8406 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8408 * buffer.C (getLists): replace boost::tie code with an explicit pair
8409 as boost::tie can break some compilers.
8411 * iterators.h: Added a std:: declaration to the return type of
8414 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8416 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8419 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8421 * iterators.[Ch]: New files. Provide paragraph iterators.
8423 * buffer.C (changeLanguage): Use paragraph iterators.
8424 (isMultiLingual): ditto
8426 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8428 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8430 * FontLoader.C: Support for cmr font.
8432 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8434 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8435 (available): New method.
8437 * FontInfo.C (getFontname): Use scalable fonts even when
8438 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8441 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8443 * converter.C (Formats::view): reverted! Incorrect fix.
8445 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8447 * converter.C (Formats::view): only output the -paper option
8448 if the dvi viewer is xdvi, thereby fixing bug #233429.
8450 2001-08-23 Herbert Voss <voss@perce>
8452 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8454 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8456 * Spacing.h (Spacing): Set space to Default on in the default
8459 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8461 * vc-backend.h (RCS::versionString): add RCS to version
8462 (CVS::versionString): add CVS to version
8464 * vc-backend.C (scanMaster): do not add CVS to version.
8465 (scanMaster): do not add RCS to version
8467 * lyxvc.C (versionString): new method
8469 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8471 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8473 * Spacing.C (set): initialize fval
8475 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8477 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8480 2001-08-16 Juergen Vigna <jug@sad.it>
8482 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8484 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8486 * BufferView_pimpl.C:
8489 * text2.C: setParagraph takes linespacing now
8491 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8493 * LyxAction.C: add internal LFUN_CITATION_INSERT
8495 * LyXView.C: actually apply fix
8497 * bufferlist.C: fix open non-existent file
8499 * lyxfind.C: fix indentation
8501 * lyxfunc.C: remove unneeded assert, fix typo
8503 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8505 * MenuBackend.C: use "Floatname List"
8507 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8509 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8510 when converting LaTeX layout to insetERT.
8511 Generate a non-collapsed float when reading old float
8513 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8515 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8518 2001-08-13 Juergen Vigna <jug@sad.it>
8520 * text.C (fill): return 0 instead of 20 as this seems to be the more
8523 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8525 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8528 2001-08-13 Juergen Vigna <jug@sad.it>
8530 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8532 (SearchBackward): comment out the unlocking of the inset_owner this
8533 should not be needed!
8535 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8537 * Many files: Remove inherit_language, and add latex_language
8539 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8542 2001-08-10 Juergen Vigna <jug@sad.it>
8544 * text.C (prepareToPrint): fixed hfill-width in draw!
8546 * BufferView2.C (selectLastWord): save the selection cursor as this
8547 now is cleared in the function LyXText::clearSelection!
8549 2001-08-08 Juergen Vigna <jug@sad.it>
8551 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8552 BACKSPACE type functions.
8554 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8555 is only cutted from the document but not put in the cut-buffer, where
8556 still the old stuff should be.
8558 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8560 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8562 * tabular.C (SetWidthOfCell): fixed special case where the width
8564 (LeftLine): handle '|' in align_special.
8566 (LeftAlreadyDrawed): ditto
8567 (SetWidthOfCell): ditto
8569 2001-08-07 Juergen Vigna <jug@sad.it>
8571 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8573 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8575 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8576 * lyxlex.[hC]: ditto
8578 2001-08-06 Juergen Vigna <jug@sad.it>
8580 * text.C (getVisibleRow): fix up row clearing a bit.
8582 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8584 * minibuffer.C: make sure the X server sees the changes in the input.
8586 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8588 * paragraph.C (getFont): split into...
8589 (getLabelFont): this
8590 (getLayoutFont): and this
8591 * paragraph_pimpl.C (realizeFont): calling this
8593 * text2.C (getFont): split into...
8594 (getLayoutFont): this
8595 (getLabelFont): and this
8596 (realizeFont): all three calling this
8598 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8601 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8603 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8605 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8607 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8608 layouts from the Quote inset insertion.
8610 2001-08-03 Juergen Vigna <jug@sad.it>
8612 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8614 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8615 only if status not is already CHANGED_IN_DRAW (second level).
8617 * text.C (draw): don't set the need_break_row when inside an
8620 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8622 * buffer.C (parseSingleLyXformat2Token): handle more latex
8625 * bufferview_funcs.[hC]: change function names to
8626 begin with small char, adjust other files.
8628 2001-08-02 André Pönitz <poenitz@gmx.net>
8631 BufferView_pimpl.C: remove broken special code for math-greek
8633 2001-08-02 Juergen Vigna <jug@sad.it>
8635 * BufferView_pimpl.C (update): redone this function so that we
8636 update the text again if there was a CHANGE_IN_DRAW.
8638 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8639 (drawFromTo): added a new internal bool which is used by draw() and
8641 (general): some cursor drawing problems fixed.
8643 2001-08-01 Juergen Vigna <jug@sad.it>
8645 * lyxfind.C (LyXFind): fixed
8646 (SearchForward): ditto
8647 (SearchBackward): ditto
8649 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8650 spurius drawing of the cursor in the main area.
8652 * text2.C (status): small fix which could lead to a segfault!
8653 (clearSelection): remove unneeded BufferView param.
8655 2001-08-01 André Pönitz <poenitz@gmx.net>
8657 * lyxfunc.C: small change due to changed mathed interface
8659 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8661 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8663 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8665 * lyxfunc.c: fail gracefully if file doesn't exist
8670 * BufferView_pimpl.C: IsDirWriteable() proto changed
8672 * LyXView.C: fix updateWindowTitle() to store the last title
8674 2001-07-31 Juergen Vigna <jug@sad.it>
8676 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8677 the font (wrong since using of Paragraph::highestFontInRange).
8679 * paragraph.C (highestFontInRange): added a default_size parameter.
8681 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8682 (setHeightOfRow): reformat
8684 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8686 * converter.[hC] + affected files: move to (inital-char)lowercase
8689 * ParagraphParameters.C (ParagraphParameters): remove commented code
8691 * PainterBase.[Ch]: remove commented code
8693 * LaTeXFeatures.h: add "bool floats" for float.sty
8695 * LaTeXFeatures.C (LaTeXFeatures): init floats
8696 (require): handle float
8697 (getPackages): do it with floats
8699 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8701 * BufferView_pimpl.C (Dispatch): improve handling of
8702 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8704 * commandtags.h: #include lyxfont.h here temporarily to avoid
8707 * bufferlist.h: include LString.h here.
8709 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8711 * text2.C (getStringToIndex): new method.
8713 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8715 * *: Reduced header file dependencies all over.
8717 2001-07-30 Baruch Even <baruch@lyx.org>
8719 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8721 2001-07-29 Baruch Even <baruch@lyx.org>
8723 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8725 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8727 * ParameterStruct.h (endif): add a default constructor to make
8728 sure that all variables is initialized.
8730 * ParagraphParameters.C (ParagraphParameters): adjust
8732 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8734 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8735 index; also, check that there is something to index, and that it
8736 does not span over several paragraphs.
8737 (doubleClick): use WHOLE_WORD_STRICT for double click.
8739 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8741 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8744 2001-07-26 Baruch Even <baruch@lyx.org>
8746 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8747 an InsetFig figure, backwards compatible reading of old figure code.
8749 2001-07-27 Juergen Vigna <jug@sad.it>
8751 * text2.C: font.realize function adaption.
8753 * text.C (draw): add a warnings lyxerr text if needed.
8755 * layout.C: font.realize function adaption.
8757 * language.C: add inherit_language and implement it's handlings
8759 * bufferview_funcs.C (StyleReset): remove language parameter from
8760 font creation (should be language_inherit now).
8762 * bufferparams.C (writeFile): handle ignore_language.
8764 * paragraph.C (getFontSettings): the language has to be resolved
8765 otherwise we have problems in LyXFont!
8767 * lyxfont.C (lyxWriteChanges): added document_language parameter
8768 (update): removed unneeded language parameter
8770 * paragraph.C (validate): fixed wrong output of color-package when
8771 using interface colors for certain fonts in certain environments,
8772 which should not seen as that on the final output.
8774 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8776 * BufferView_pimpl.C:
8781 * LyXAction.C: add thesaurus support
8784 * lyxfind.C: add "once" parameter, for thesaurus, to not
8785 move to the next match
8787 2001-07-26 Juergen Vigna <jug@sad.it>
8789 * lyxfont.C (realize): honor ignore_language too!
8792 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8794 * text.C (draw): one place more for ignore_language to not draw
8797 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8799 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8801 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8803 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8804 the minipage conversion problem.
8806 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8808 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8811 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8813 * BufferView.h: don't forward declare WorkArea
8815 * BufferView.C: don't include WorkArea.h
8817 2001-07-25 André Pönitz <poenitz@gmx.net>
8821 * lyxfunc.C: new LFUN 'math-space'
8823 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8825 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8827 * text2.C (toggleInset): call open/close
8829 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8831 * lyxfunc.C (dispatch): add debug for the disabled case
8833 * font.C (buttonText): make similar to rectText
8835 * buffer.C (readInset): comment out parsing of insetlist and
8838 * PainterBase.C (rectText): small correction
8840 * BufferView_pimpl.C: comment out insettheorem and insetlist
8841 * LyXAction.C: ditto
8842 * commandtags.h: ditto
8844 2001-07-24 Juergen Vigna <jug@sad.it>
8846 * text.C (draw): honor the ignore_language.
8848 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8850 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8852 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8855 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8857 * lyxtext.h: remove unused (and unimplemented) methods
8859 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8861 * text.C (getVisibleRow): honor background color
8864 * Painter.h: remove default color argument for fillRectangle
8866 * text.C (backgroundColor): new method
8868 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8870 * text.C (getVisibleRow): adjust
8872 * font.[Ch] (rectText): new method, metrics
8873 (buttonText): new method, metrics
8875 * PainterBase.[hC]: make rectText and buttonText always draw and take
8878 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8880 * ToolbarDefaults.C (read):
8881 * MenuBackend.C (read): allow escaping in all strings
8883 * BufferView_pimpl.C (insertAndEditInset): new method.
8884 (Dispatch): use insertAndEditInset whenever appropriate.
8886 * BufferView_pimpl.C (insertNote): removed
8888 * BufferView_pimpl.C (smartQuote): new method, moved from
8889 BufferView; if an insetquote cannot be inserted, insert a '"'
8892 * BufferView2.C: remove insertCorrectQuote();
8894 * lyxfunc.C (getStatus): Add support for all remaingin
8897 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8899 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8900 command (necessary to pass " as parameter of self-insert.
8902 * text.C (selectWordWhenUnderCursor):
8903 (selectWord): add word_location parameter
8904 (selectWordWhenUnderCursor): same + remove special code for word
8906 (selectNextWord): use kind() to guess type of insetspecialchar,
8909 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8910 (insertErtContents): create ert insets as collapsed.
8911 (readInset): better compatibility code for Info inset.
8913 2001-07-20 Juergen Vigna <jug@sad.it>
8915 * lyxfunc.C (dispatch): use always LyXFind now!
8917 * text2.C (init): add a reinit flag so that the LyXText can be
8918 reinited instead of deleted and reallocated (used in InsetText).
8920 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8926 2001-07-18 Juergen Vigna <jug@sad.it>
8928 * text.C (selectNextWord): handle insets inside inset by calling
8929 always the bv->text functions so that we can go up the_locking_inset!
8931 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8932 in strange locations when inside an inset!
8934 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8935 handling to include insets.
8937 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8939 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8941 * LyXAction.C (init):
8943 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8944 LIGATURE_BREAK, since the name is so stupid.
8946 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8948 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8951 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8953 * sp_form.[Ch]: remove.
8955 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8957 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8960 * src/buffer.C (readInset): ditto.
8962 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8964 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8965 menuSeparator(), endOfSentenceDot(), ldots() and
8966 hyphenationPoint(), which are therefore removed.
8967 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8969 * LyXAction.C (init):
8970 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8972 * paragraph.C (getWord): removed.
8974 * BufferView_pimpl.C (Dispatch): use last word or selection for
8975 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8977 * lyx_main.C (queryUserLyXDir): do not ask before creating
8978 user_dir, except if it has been named explicitely.
8980 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8982 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8983 a document of zero size.
8985 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8987 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8988 approriately in the c-tor and in require().
8989 (getPackages): output the appropriate LaTeX for natbib support.
8991 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8992 variables "use_natbib" and "use_numerical_citations" when reading the
8994 (readInset): read the various natbib cite commands.
8995 (validate): white-space change.
8997 * bufferparams.[Ch]: new variables "bool use_natbib" and
8998 "bool use_numerical_citations".
8999 (writeFile): output them in the LyX file.
9001 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9003 * lyxfunc.C (getStatus): add support for all the inset insertion
9006 * text2.C (insertInset):
9007 * paragraph.C (insetAllowed):
9008 * BufferView_pimpl.C (insertInset): update to take in account the
9009 renaming of insertInsetAllowed
9011 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9013 * text2.C (getInset): new method. returns inset at cursor position.
9015 * BufferView_pimpl.C (Dispatch): changes because of this.
9017 * LyXAction.C (init): rename open-stuff to inset-toggle.
9019 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9021 * text2.C (toggleInset): renamed from openStuff; use
9024 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9026 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9028 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9030 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9032 * buffer.C (readLyXformat2): Add filename to the error dialog
9034 2001-07-18 Juergen Vigna <jug@sad.it>
9036 * tabular.C (GetCellNumber): put an assert here instead of the check!
9038 2001-07-17 Juergen Vigna <jug@sad.it>
9040 * BufferView_pimpl.C (toggleSelection): adapted too.
9042 * text.C (selectNextWord): adapted for use with insets.
9043 (selectSelectedWord): ditto
9045 2001-07-17 Juergen Vigna <jug@sad.it>
9047 * sp_spell.C (PSpell): fix initialitation order.
9049 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9051 * paragraph.C: spacing
9053 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9055 * sp_spell.C: repair language selection for pspell
9057 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9059 * lyxfunc.h: change more methods to begin with lower char.
9061 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9063 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9064 for unknown layouts.
9066 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9068 * buffer.C (readLyXformat2): Generate an error dialog if there are
9071 2001-07-16 Juergen Vigna <jug@sad.it>
9073 * sp_spell.C: always compile ISpell part.
9075 * lyxrc.C: added use_pspell entry and it's handling.
9077 2001-07-13 Juergen Vigna <jug@sad.it>
9079 * sp_spell.C: removed double includes.
9081 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9083 Consistent use of Lsstream.h:
9084 * Lsstream.h: added using std::stringstream for consistencies sake.
9086 * buffer.C: removed using std::stringstream
9088 * lyxfont.C (stateText):
9089 * paragraph.C (asString):
9090 * text.C (selectNextWord, selectSelectedWord):
9091 * text2.C (setCounter):
9092 * vspace.C (asString, asLatexString):
9093 std::ostringstream -> ostringstream.
9095 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9097 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9098 * commandtags.h: add LFUN_HELP_ABOUTLYX
9099 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9101 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9103 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9105 * lyx_gui_misc.C: remove spellchecker
9106 * lyxfunc.C: showSpellchecker
9108 * sp_ispell.h: added
9109 * sp_pspell.h: added
9111 * sp_form.[Ch]: removed
9112 * spellchecker.[Ch]: removed
9114 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9116 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9118 (simpleTeXSpecialChars): Simply print the input character without
9119 any special translation if pass_thru is set.
9121 * layout.h: Added bool pass_thru to layout class for being able to
9122 implement pass through of a paragraph for Literate Programming.
9124 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9125 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9126 * layout.C (Read): add "passthru" to list of layout tags and add
9127 code to set the pass_thru boolean when it is read.
9129 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9131 * trans_decl.h: remove allowed from KmodInfo
9133 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9137 * paragraph_pimpl.C (erase): use boost::prior
9139 * Painter.C (text): use data() instead of c_str() when length is
9141 * WorkArea.C (putClipboard): ditto
9142 * font.h (width): ditto
9144 * BufferView2.C: use it-> instead of (*it). for iterators
9146 * paragraph_pimpl.C: ditto
9147 * paragraph.C: ditto
9148 * minibuffer.C: ditto
9153 * converter.C: ditto
9155 * Variables.C: ditto
9156 * TextCache.C: ditto
9157 * MenuBackend.C: ditto
9158 * LyXAction.C: ditto
9160 * FloatList.C: ditto
9162 * ColorHandler.C (LyXColorHandler): ditto
9164 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9166 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9168 * text2.C (openStuff): reintroduce this method (which had been
9169 nuked in NEW_INSETS frenzy).
9171 * lyxfunc.C (Dispatch): when an action has not been handled, use
9172 its name in the error message, not its number.
9174 * paragraph.C (inInset): change method name to begin with lowercase.
9177 * text2.C: updates because of this.
9179 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9181 * ToolbarDefaults.C (add): add spaces in error message
9183 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9185 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9186 (readLyXformat2): rename return_par to first_par, use lyxlex's
9187 pushToken and remove the manual push handling.
9188 (parseSingleLyXformat2Token): add another ert comp. variable:
9189 in_tabular, rename return_par to first_par. handle newlines better
9191 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9193 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9195 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9197 * text2.C (getParFromID): removed
9199 * buffer.C (getParFromID): new method moved form lyxtext.
9200 * BufferView2.C (insertErrors): adjust
9201 (setCursorFromRow): adjust
9202 * BufferView_pimpl.C (restorePosition): adjust
9203 * lyxfunc.C (Dispatch): adjust
9204 * undo_funcs.C (textUndo): adjust
9206 (textHandleUndo): adjust
9207 (textHandleUndo): adjust
9209 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9211 * buffer.C: up' the LYX_FORMAT
9213 * lyxfont.h: turn NO_LATEX on as default
9215 * buffer.C (insertErtContents): new methods of tex style compability.
9216 (parseSingleLyXformat2Token): use it several places.
9217 * tabular.C (OldFormatRead): and here
9219 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9221 * text2.C: remove some commented code.
9224 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9225 * trans.C: changes because of the above.
9227 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9229 * text2.C (setCounter): Fix counters bug with bibliography layout.
9231 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9233 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9234 own member functions
9235 (simpleTeXSpecialChars): ditto
9237 2001-07-06 Juergen Vigna <jug@sad.it>
9239 * a lot of files: changed the access to LyXText::status and the
9240 call of undo-functions.
9242 * undo.[Ch]: added a inset_id to the undo informations.
9244 * undo_funcs.[Ch]: added and moved here all undo functions.
9246 * lyxtext.h: give the status enum a weight, made status_ a private
9247 variable and made accessor functions for it, removed the whole bunch
9248 of undo-functions as they are now in their own file, make some
9249 functions publically available. Added function ownerParagraph with
9252 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9253 made InInset() a const function, added getParFromID() function.
9255 * buffer.[Ch]: added const version for inset_iterator functions,
9256 added getInsetFromID() function.
9258 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9259 changed undo functions for new version.
9261 2001-07-05 Juergen Vigna <jug@sad.it>
9263 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9264 unknow mechanism does not call the proper constructor but only this
9265 one also if I request the other!?
9267 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9269 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9271 * text2.C (LyXText): use initialization lists.
9273 * lyxtext.h (Selection): initialize set_ and mark_
9274 (init): remove method
9276 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9278 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9280 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9282 * screen.[Ch]: change method names to begin with lowercase
9284 * BufferView_pimpl.C (updateScrollbar): simplify further and
9285 hopefully make it a bit faster.
9287 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9289 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9290 calling directly xforms functions.
9292 * Painter.C (Painter):
9293 * lyx_cb.C (MenuWrite):
9294 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9297 * lyx_gui.C: remove bogus guiruntime extern declaration.
9299 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9301 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9303 (redoDrawingOfParagraph): ditto
9304 (redoParagraphs): ditto
9305 (cutSelection): don't create a object for CutAndPaste use the
9306 static method directly
9307 (pasteSelection): ditto
9309 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9312 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9314 * modifications to some other files because of this.
9316 * Makefile.am (lyx_SOURCES): add XFormsView
9318 * XFormsView.[Ch]: new files
9320 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9321 the main window. Move the gui dependent stuff to XFormsView
9323 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9325 * tabular.C (GetCellInset): update cur_cell also in the row/col
9326 version of this function.
9328 * lyxfunc.C: no need to include figure_form.h here.
9334 * lyxvc.C: no need to include forms.h here.
9336 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9338 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9340 * lyxfunc.C (Dispatch):
9342 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9343 constructor argument.
9345 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9347 * paragraph.C (Paragraph): dont't clear, and just set layout.
9348 (makeSameLayout): use params's copy contructor.
9350 * ParagraphParameters.[Ch] (makeSame): delete method
9352 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9354 * Variables.[Ch]: fix indentation, rename set to isSet
9356 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9358 * lyxfunc.C (Dispatch): fix typo
9360 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9362 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9365 * bufferlist.C: include assert.h for emergencyWrite().
9367 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9369 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9370 give up at last (bug #425202) !
9372 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9378 * spellchecker.C: strip spellchecker options and bring up
9379 preferences tab instead
9381 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9383 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9384 the istringstream constructor
9386 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9388 * paragraph.C (getLayout): fix return value
9390 * paragraph.h: do not declare getLayout as inline.
9392 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9394 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9396 * lyxcursor.h (operator<): new func
9397 (operator>): new func
9398 (operator>=): new func
9399 (operator<=): new func
9401 * text.C (changeCase): use selection.start and selection.end
9402 (changeRegionCase): require from to be <= to. Require par to be a
9405 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9407 2001-06-27 Juergen Vigna <jug@sad.it>
9409 * text.C (cursorLeftOneWord): changed to return the cursor and added
9410 overlay with BufferView * parameter which calls this one.
9412 (selectWord): use new getWord function.
9413 (changeCase): renamed from changeWordCase as and extended to work
9416 * lyxtext.h: added enum word_location
9418 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9419 changeCase as this operates now also on selections.
9421 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9423 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9425 * many files: send debug output to Debug::INFO instead of
9428 * converter.C (View):
9430 (Move): send debug output to Debug::FILES instead of console.
9432 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9434 * lyxfunc.C (getStatus): use func_status
9436 * func_status.h: new header, describing the results of
9439 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9442 2001-06-25 The LyX Project <jug@sad.it>
9444 * buffer.C (sgmlOpenTag):
9446 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9448 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9450 * text2.C: remove some dead code
9452 * tabular.C (GetCellInset): store the last cell checked (gotten)
9454 * tabular.h: add the helper for the speedup
9456 * lyxtext.h: remove some dead code
9458 2001-06-26 The LyX Project <Asger>
9460 * paragraph.C: Change export to LaTeX of alignment to
9461 \begin{center} and family for better roundtrip work with reLyX.
9463 * Tune the math drawing a bit.
9465 2001-06-25 The LyX Project <Asger>
9467 * LColor.C (LColor): New color for math background. New color
9470 2001-06-25 The LyX Project <jug@sad.it>
9472 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9475 * bufferlist.C (newFile): do not restrict to files ending with
9478 * BufferView_pimpl.C (MenuInsertLyXFile):
9480 2001-06-24 The LyX Project <jug@sad.it>
9482 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9485 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9487 * lyxtext.h: rename most methods to begin with a small char.
9488 Lots of changes because of this.
9490 * paragraph.C (Paragraph): do not call fitToSize
9491 (erase): call Pimpl::erase
9492 (insertChar): call Pimpl::insertChar
9493 (insertInset): call Pipl::insertInset
9494 (breakParagraph): do not call fitToSize
9495 (breakParagraphConservative): do not call fitToSize
9496 (fitToSize): remove method
9498 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9500 2001-06-24 The LyX Project <Asger>
9502 * Fix Qt compilation^2
9504 2001-06-24 The LyX Project <jug@sad.it>
9506 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9507 depthHook(getDepth()-1).
9510 * ParagraphParameters.h:
9511 * ParameterStruct.h: change type of depth to unsigned int ==
9512 depth_type. Many adaptations to other files before of that.
9514 2001-06-24 The LyX Project <Asger>
9516 * Fix Qt compilation.
9518 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9520 * paragraph.h: renamed several methods to begin with small letter.
9521 several changes to many parts of the code because of this.
9523 2001-06-23 The LyX Project <jug@sad.it>
9525 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9526 rewritten to discard all double spaces when KeepEmpty is off
9527 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9528 to only handle newlines but not fiddle with spaces and friends.
9530 * lyxfunc.C (MenuNew): when doing 'new from template', use
9531 template_path as default directory
9533 2001-06-23 The LyX Project <Asger>
9535 * Clean-up of header file includes all over
9536 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9538 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9540 * paragraph.h: renamed from lyxparagraph.h
9542 2001-06-23 Asger <lyx@violet.home.sad.it>
9544 * Buffer.h: Removed Buffer::resize
9545 * BufferList.h: Removed BufferList::resize
9546 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9547 the document lazily when we change the width, or the font settings.
9549 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9551 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9553 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9555 * buffer.h: remove out of date comment
9557 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9560 * screen.C: fix "theoretical" GC leak
9562 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9564 * LaTeX.C (scanAuxFile):
9565 (deplog): remove trailing \r when reading stream (useful under
9568 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9570 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9571 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9572 and BufferView::theLockingInset(Inset*), so should use them and not
9573 access bv_->text->the_locking_inset directly.
9575 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9577 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9580 * tex-defs.h: remove old unused file
9582 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9584 * BufferView_pimpl.C: fix typo, remove minibuffer message
9585 when buffer has loaded
9587 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9589 * lyxfunc.C (Dispatch): use stringstream
9590 (MenuNew): use stringstream
9591 (Open): use stringstream
9593 * importer.C (Import): use stringstream
9595 * bufferview_funcs.C (CurrentState): use stringstream
9597 * LaTeX.C (run): use stringstream
9599 * BufferView_pimpl.C (savePosition): use stringstream
9600 (restorePosition): use stringstream
9601 (MenuInsertLyXFile): use stringstream
9603 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9616 * vspace.C: removed // -*- C++ -*- as first line.
9619 * version.h: added // -*- C++ -*- as first line.
9621 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9623 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9625 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9628 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9630 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9633 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9635 * gettext.C: include LString.h even when --disable-nls is on.
9637 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9639 * converter.h (Get): changed argument type from int to
9640 FormatList::size_type to avoid unnecessary conversion.
9642 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9645 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9647 * gettext.h: include LString.h even when --disable-nls is on.
9649 2001-06-07 Juergen Vigna <jug@sad.it>
9651 * text.C (BreakAgain): subst spaces with tabs.
9653 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9654 (resizeInsetsLyXText): set force on resizeLyXText.
9656 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * gettext.h (gettext_init):
9659 (locale_init): use a real definition instead of a macro
9661 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9663 * Bufferview_pimpl.C:
9665 * LColor.C: further lcolor tidies
9667 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9669 * BufferView_pimpl.C (updateScrollbar): simplify.
9671 * BufferView2.C: don't include insets/insetinfo.h, change
9672 prototype for insertInset and call the Pimpl version. let
9673 updateInset call Pimpl version.
9675 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9676 gotoInset to BufferView::Pimpl
9678 2001-06-01 Juergen Vigna <jug@sad.it>
9680 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9681 inside a LockingInset (is the update needed at all?).
9683 2001-05-31 Juergen Vigna <jug@sad.it>
9685 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9686 here not the old one otherwise how should we compare it afterwards
9689 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9694 * FontInfo.C: bring C functions into global namespace when
9697 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9699 * LString.h: make sure config.h has been loaded before LString.h.
9701 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9702 (one for each char read by EatLine!).
9704 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9707 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9710 to the same as the par we break from
9712 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9714 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9716 * MenuBackend.C (expand): also create menu entries for wide
9717 versions of the floats.
9719 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9721 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9723 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9724 frontends/Makefile.am
9730 * tabular.C (getTokenValue): add std::
9732 * tabular-old.C (getTokenValue): add std::
9733 (getTokenValue): ditto
9734 (getTokenValue): ditto
9736 * screen.C (ToggleSelection): adjust
9738 * lyxtext.h: put selection cursors inside a Selection struct.
9740 * lyxfunc.C (moveCursorUpdate): adjust
9742 * lyxfont.C (latexWriteStartChanges): add std::
9746 * font.h: delete with(char const *, LyXFont const &)
9748 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9750 * FontInfo.C (getFontname): add std::
9752 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9753 (workAreaButtonPress): adjust
9754 (tripleClick): adjust
9756 (moveCursorUpdate): adjust
9759 * BufferView2.C (gotoInset): adjust
9761 2001-05-30 Juergen Vigna <jug@sad.it>
9763 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9764 to check pspell I add this as default as I now have new pspell
9765 libraries and they seem to use this.
9767 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9769 * text2.C (CutSelection): make the cursor valid before the call to
9772 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9774 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9775 relied on 0 terminated strings and other horrors. Bug found due to
9776 the new assert in lyxstring!
9778 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9781 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9783 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9786 * lyxfunc.C (processKeySym): change method of getting to the
9789 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9790 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9791 * BufferView_pimpl.[Ch]: here as private methods.
9793 2001-05-28 Juergen Vigna <jug@sad.it>
9795 * text.C (SetHeightOfRow): added the update() call again as it is
9796 needed to initialize inset dimensions!
9798 2001-05-16 Juergen Vigna <jug@sad.it>
9800 * text2.C (SetCharFont): Add new function with BufferView * and
9801 bool toggleall parameters for setting insets internal fonts.
9802 (SetFont): Freeze the undo as we may change fonts in Insets and
9803 all this change should be inside only one Undo!
9805 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9806 setting font's in insets as for them we have the SetFont function!
9808 2001-05-15 Juergen Vigna <jug@sad.it>
9810 * text2.C (ClearSelection): to be sure we REALLY don't have any
9813 * tabular.C (TeXCellPreamble): fixed the left border problem for
9816 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9818 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9821 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9823 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9824 LFUN_BREAKPARAGRAPH.
9826 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9827 help test to "internal only", similar for LFUN_INSERT_URL
9829 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9830 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9831 auto_region_delete and deadkeys.
9833 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9836 * LColor.C: remove some dead entries, tidy a little
9838 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9840 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9842 (Dispatch): implement LFUN_ESCAPE
9844 * commandtags.h: add LFUN_ESCAPE
9846 * LyXAction.C (init): add entry for LFUN_ESCAPE
9848 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9849 Remove commented code.
9850 (insertNote): moved here
9851 (open_new_inset): moved here
9853 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9856 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9858 * kbmap.C (findbinding): clean it up and make it work correctly.
9860 * lyx_main.C (init): do not pass argc and argv as parameters
9862 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9864 * buffer.C: fix path for OS/2 & Win32
9868 * lyx_main.C: Added os:: class.
9870 * os2_defines.h: update
9872 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9874 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9875 better by trying again with reduced state.
9877 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9879 * lyxrc.C (read): print error about invalid key sequence only when
9880 debugging (because not all latinX keysyms are known to some X
9883 * kbsequence.C (getiso): add a few std:: qualifiers
9884 (getiso): comment out extra return statement.
9886 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9888 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9890 (Dispatch): enhance the accent inset a bit. (not perfect)
9892 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9894 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9896 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9898 * bufferlist.C (emergencyWrite): fix assert() call
9900 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9902 * text.C (InsertChar): Added trivial patch to only send the "you
9903 can not do multiple spaces this way" message once during a
9906 2001-05-08 Baruch Even <baruch@lyx.org>
9908 * Makefile.am: Changed order of libraries to get LyX to link properly
9909 with the gnome frontend.
9911 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9913 * LaTeXFeatures.h: add a std:: qualifier
9915 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9917 * paragraph.C (String): use stringstream
9919 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9921 * paragraph.C (writeFile): remove footflag arg
9923 * buffer.C (makeLaTeXFile): use stringstream
9924 (latexParagraphs): remove footnot gurba
9926 * LaTeXFeatures.C (getPackages): use stringstream
9927 (getMacros): likewise
9928 (getTClassPreamble): likewise
9929 (getFloatDefinitions): new method
9931 * paragraph.C (writeFile): reindent
9934 * WorkArea.h: revert the xpos + etc changes.
9936 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9938 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9940 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9941 (pasteSelection): likewise
9942 * text2.C (CreateUndo): likewise
9944 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9946 * minibuffer.C (peek_event): temporarily reduce the functionality
9947 of the minibuffer (to allow args on lfuns)
9949 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9950 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9952 * buffer.C (readInset): add compability reading of old float
9953 lists, add reading of new style float list.
9954 (readInset): avoid reevaluation of inscmd.getCmdName()
9955 (getLists): reindent
9957 * MenuBackend.C (MenuItem): implement parsing of
9958 md_floatlistinsert and md_floatinsert.
9959 (expand::LastFiles): move initalizaton of iterators out of loop,
9961 (expand::Documents): introduce typdedef vector<string> Strings,
9963 (expand::ExportFormats): introduce typedef vector<Format const *>
9964 Formats, and use it.
9965 (expand): implement FloatListInsert and FloatInsert.
9967 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9968 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9969 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9971 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9973 (Dispatch::LFUN_FLOAT_LIST): implement
9975 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9977 * LaTeX.C (run): Fix problem with --export code.
9979 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9981 * BufferView.[Ch] (workarea): removed.
9982 (getClipboard) new method; wrapper for workarea()->getClipboard()
9984 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9987 * WorkArea.h (width, height, xpos, ypos): These methods all
9988 returned the dimensions of the work_area sub-area of WorkArea,
9989 resulting in a position error if the WorkArea were resized. Now
9990 return the dimensions of the entire WorkArea.
9992 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9994 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9996 * LaTeX.C (deplog): correct the syntax of regex reg1
9998 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10000 * undo.C: remove !NEW_INSETS cruft
10002 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10004 * text2.C: remove !NEW_INSETS cruft
10006 * text.C: remove !NEW_INSETS cruft
10008 * tabular.C: remove !NEW_INSETS cruft
10010 * spellchecker.C: remove !NEW_INSETS cruft
10012 * lyxtext.h: remove !NEW_INSETS cruft
10014 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10016 * lyxfunc.C: remove !NEW_INSETS cruft
10018 * lyxfind.C: remove !NEW_INSETS cruft
10020 * lyx_cb.C: remove !NEW_INSETS cruft
10022 * figureForm.C: remove !NEW_INSETS cruft
10024 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10026 * buffer.[Ch]: remove !NEW_INSETS cruft
10028 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10030 * CutAndPaste.C: remove !NEW_INSETS cruft
10032 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10034 * BufferView2.C: remove !NEW_INSETS cruft
10036 * BufferView.h: remove !NEW_INSETS cruft
10038 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10040 * Lsstream.h: include LString.h before the sstream headers to
10041 fix problem with gcc 2.95.3 and lyxstring
10043 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10045 * lyx_main.C: add using directives when needed for C functions
10046 declared in std:: namespace.
10048 2001-04-27 Juergen Vigna <jug@sad.it>
10050 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10051 (SetHeightOfRow): comment out the update call should not be needed!
10053 2001-04-13 Juergen Vigna <jug@sad.it>
10055 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10056 (LyXTabular): tried to minimize operator= operations (and realized
10057 hopfully Lars wish).
10059 2001-04-27 Juergen Vigna <jug@sad.it>
10061 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10063 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10065 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10067 * buffer.C (readInset): hack to make listof algorithm work
10069 * BufferView_pimpl.C: hack to make listof algorithm work
10071 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10073 * LyXAction.C: removed all !NEW_INSETS cruft
10074 (init): moved lfun_item in method
10076 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10078 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10080 * BufferView2.C (theLockingInset): white space.
10082 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10084 * minibuffer.C: include <iostream>
10086 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10088 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10090 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10092 * text.[Ch] (TransposeChars): new method
10094 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10096 * call message directly through LyXView instead of through LyXFunc
10097 * BufferView2.C: adjust
10098 * BufferView_pimpl.C: adjust
10099 * FontLoader.C: adjust
10101 * bufferview_funcs.C: adjust
10102 * converter.C: adjust
10103 * figureForm.C: adjust
10104 * importer.C: adjust
10106 * lyx_gui_misc.C: adjust
10107 * lyxfunc.C: adjust
10110 + more files in subdirs
10112 * lyxparagraph.h (size): move up int file
10115 * adjust all uses of Assert to lyx::Assert.
10117 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10118 lyxfunctional in namespace lyx
10119 * layout.C (hasLayout): ditto
10122 (delete_layout): ditto
10123 (NumberOfClass): ditto
10124 * converter.C (GetFormat): ditto
10129 * bufferlist.C (getFileNames): ditto
10130 (emergencyWriteAll): ditto
10133 * MenuBackend.C (hasSubmenu): ditto
10136 * BufferView_pimpl.C (getInsetByCode): ditto
10138 2001-04-18 Juergen Vigna <jug@sad.it>
10140 * vspace.C (asLatexString): fixed the 100% problem.
10142 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10144 * lyxfunc.C (Dispatch):
10146 * minibuffer.h: add a few std:: qualifiers
10148 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10150 * minibuffer.[Ch]: reimplement so that commands is initiated and
10151 run from lyxfunc, simplified som handling, and made the completion
10152 and history code for complete. wip.
10154 * lyxfunc.C (processKeySym): call message
10155 (miniDispatch): new temporary method
10156 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10157 (LFUN_MESSAGE): implement
10158 (LFUN_MESSAGE_PUSH): implement
10159 (LFUN_MESSAGE_POP): implement
10160 (initMiniBuffer): the initial/defualt minibuffer message.
10162 * lyxfont.[Ch]: inline some more getters
10164 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10166 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10168 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10169 (AutoSave): use LFUN_MESSAGE
10170 (Reconfigure): ditto
10172 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10174 * figureForm.C: use LFUN_MESSAGE
10176 * converter.C (runLaTeX): use LFUN_MESSAGE
10178 * bufferview_funcs.C: use LFUN_MESSAGE
10180 (changeDepth): ditto
10182 * bufferparams.h: use boost::
10184 * bufferlist.h: inherit privately from noncopyable
10186 * bufferlist.C (loadLyXFile): remove some commented code.
10188 * buffer.C (runChktex): use LFUN_MESSAGE
10190 * ShareContainer.h: inherit privately from noncopyable
10192 * ParagraphParameters.[hC] (depth): inline it.
10194 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10196 (message): new method
10197 (messagePush): ditto
10198 (messagePop): ditto
10199 (show): init minibuffer
10200 (showState): direct call
10202 * LaTeX.[Ch]: inherit privately from noncopyable
10203 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10204 instead of WriteStatus.
10206 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10208 * BufferView_pimpl.C (buffer): don't init minibuffer
10209 (workAreaButtonPress): use LFUN_MESSAGE
10210 (workAreaButtonRelease): ditto
10211 (savePosition): ditto
10212 (restorePosition): ditto
10213 (MenuInsertLyXFile): ditto
10214 (workAreaExpose): don't init minibuffer
10215 (update): remove commented code, simplify
10217 * BufferView2.C (openStuff): use LFUN_MESSAGE
10218 (toggleFloat): ditto
10221 (copyEnvironment): ditto
10222 (pasteEnvironment): ditto
10227 (updateInset): remove some commented code
10229 * lastfiles.h: inherit privately from noncopyable
10232 * lyx_main.h: ditto
10234 * lyxlex_pimpl.h: ditto
10236 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10237 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10238 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10240 * LyXAction.h: inherit privately from noncopyable, add methods
10241 func_begin, func_end, returning iterators to the func map.
10243 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10244 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10245 (func_begin): new method
10246 (func_end): new method
10248 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10250 (copySelection): ditto
10251 (pasteSelection): ditto
10253 * BufferView.C: whitespace change
10254 * BufferView.h: inherit privately from noncopyable
10256 2001-04-16 Allan Rae <rae@lyx.org>
10258 * tabular-old.C (l_getline):
10259 * spellchecker.C (sc_check_word):
10260 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10261 an unrecognised preprocessor directive. So ensure they're wrapped.
10263 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10265 * src/exporter.C (Export): Give an error message when path to file
10268 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10270 * LaTeX.C (deplog): Always check that foundfile exists.
10272 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10275 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10277 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10279 * tabular.[Ch] (getLabelList): implement new method
10281 * minibuffer.h: comment ouf setTiimer
10283 * minibuffer.C (ExecutingCB): constify res
10284 (peek_event): constify s
10285 (Set): constify ntext
10286 (Init): constify nicename
10288 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10290 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10291 (savePosition): use two params to Minibuffer::Set
10292 (restorePosition): ditto
10294 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10296 * lyx_main.C: include language.h
10298 * Makefile.am (lyx_main.o): add language.h
10300 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10306 * CutAndPaste.C: include gettext.h
10308 * lyxfont.h: remove old hack with ON and OFF.
10311 * lyxfont.h: do not include language.h...
10316 * bufferview_funcs.C:
10322 * paragraph.C: ... but do it here instead
10324 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10326 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10328 * tabular.C: small reformat
10330 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10333 (BreakParagraph): ditto
10334 (SetOnlyLayout): ditto
10337 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10340 * lastfiles.C: removed most using decl, add std:: where needed
10342 * buffer.C: ws changes
10344 * MenuBackend.C (class compare_format): put into anon namespace
10345 (expand): constify label, names, action, action2
10348 * text.C (SingleWidth): constify font
10349 (IsBoundary): constify rtl2
10350 (GetVisibleRow): constify ww
10352 * LaTeX.C (deplog): constify logfile
10354 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10356 (workAreaExpose): constify widthChange, heightChange
10358 * lyxrow.C (par): moved
10361 * lyxrow.h: as inlines here
10363 * lyxfont.h (shape): moved from lyxfont.C
10364 (emph): moved from lyxfont.C
10366 * lyxfont.C (LyXFont): use initialization list for all
10368 (shape): move to lyxfont.h as inline
10369 (emph): move to lyxfont.h as inline
10372 2001-04-04 Juergen Vigna <jug@sad.it>
10374 * vspace.C: had to include stdio.h for use of sscanf
10376 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10379 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10380 independent of xforms.
10382 2001-04-02 Juergen Vigna <jug@sad.it>
10384 * spellchecker.C: fixed namespace placing!
10386 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10388 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10389 the LyXParagraph * is 0.
10391 2001-03-29 Juergen Vigna <jug@sad.it>
10393 * vspace.C: added support for %, c%, p%, l%.
10394 (stringFromUnit): added helper function.
10395 (asLatexString): changed to give right results for the %-values.
10397 * buffer.C: convert the widthp in a width%.
10399 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10401 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10404 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10405 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10407 * lyx_cb.[Ch]: see above.
10409 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10413 * lyx.[Ch]: replaced by figure_form.[Ch].
10417 * lyxfunc.C: changed headers associated with above changes.
10419 2001-03-27 Juergen Vigna <jug@sad.it>
10421 * BufferView_pimpl.C: set the temporary cursor right!
10423 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10425 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10427 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10429 * LString.h: removed "using std::getline"!
10431 * BufferView_pimpl.C (Dispatch): changes due to changes in
10432 InsetInclude::Params.
10434 * buffer.C (tag_name): removed redundant break statements as they were
10435 producing lots of warnings with my compiler.
10437 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10439 * LString.h: add "using std::getline" when using the real <string>.
10441 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10443 * buffer.C: removed bitset usage.
10444 PAR_TAG moved to an anonymous name space.
10445 (tag_name): new funtion, also in the anonymous namespace.
10446 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10447 (makeDocBookFile): clean code. Completed transition from string arrays
10449 (SimpleDocBookOnePar): code clean.
10451 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10453 * tabular.C: add some comments.
10455 2001-03-22 Juergen Vigna <jug@sad.it>
10457 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10458 compatibility read a bit and fixed bug with minipage in different
10461 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10463 * buffer.C (pop_tag): removed.
10464 (push_tag): removed.
10465 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10466 array replaced with vector. Added support for CDATA sections.
10467 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10469 (makeDocBookFile): XML conformant declaration of CDATA section,
10470 fixed bug related to <emphasis> in the first paragraph char.
10471 (sgmlOpenTag): exclude empty tags.
10472 (sgmlCloseTag): ditto.
10474 * buffer.h (pop_tag): removed.
10475 (push_tag): removed.
10477 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10479 * language.h (Languages): added size_type and size().
10481 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10483 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10484 response on compability reading of minipages. One probliem is that
10485 the old usage of minipages was «flertydig»
10487 * several files here and in subdirs: don't use static at file
10488 scope use anon namespaces instead.
10490 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10492 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10493 LaTeX output. This is necessary for Literate document
10496 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10498 * buffer.C: insert hfill when needed.
10500 * tabular.C (l_getline): use string::erase, small whitespace change.
10502 * BufferView_pimpl.C: try the anon namespace.
10503 * WorkArea.C: ditto
10505 2001-03-16 Juergen Vigna <jug@sad.it>
10507 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10508 otherwise it won't open options-dialogs.
10510 * buffer.C: honor pextraWidth(p) on converting minipages.
10512 * tabular.C (l_getline): changed the functions to strip trailing \r.
10514 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10516 * BufferView_pimpl.C:
10517 * minibuffer..C: added "using SigC::slot" declaration.
10519 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10521 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10527 * paragraph.C: ditto
10529 * lyxtext.h: NO_PEXTRA
10531 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10533 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10534 * ParameterStruct.h: ditto
10535 * ParagraphParameters.h: ditto
10536 * lyxparagraph.h: ditto
10538 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10540 * buffer.C: add compability for minipage alignment.
10541 (latexParagraphs): remove unwanted pextra check.
10543 * several files: remove CXX_WORKING_NAMESPACES
10545 * buffer.C (pop_tag): tie is in namespace boost
10547 * BufferView.h: noncopyable is in namespace boost
10549 * lyx_main.h: ditto
10552 * lastfiles.h: ditto
10553 * bufferlist.h: ditto
10554 * ShareContainer.h: ditto
10556 * LyXAction.h: ditto
10559 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10561 * Merging changes from BRANCH_MVC back into HEAD.
10563 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10565 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10567 * BufferView_pimpl.C: change from intl.C
10571 * Makefile.am: move combox.*
10577 * intl.C: remove dialog (covered by prefs)
10579 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10581 * lyxfunc.C (Dispatch): removed redundant break statement.
10583 2001-03-14 Juergen Vigna <jug@sad.it>
10585 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10587 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10589 * buffer.C: add hack to fix compability reading of minipages.
10591 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10593 * buffer.C (getLists): Cleanup.
10595 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10597 * lyxfont.C (update): don't honor toggleall on font size.
10599 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10603 * Makefile.am: moved to frontends/xforms/
10607 * BufferView_pimpl.C: changes for moved mathpanel
10609 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10611 * gettext.h: fix gettext_init() in --disable-nls
10613 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10615 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10617 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10620 * lyx.h: strip external form
10622 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10624 * BufferView_pimpl.C: add comment, destroySplash()
10626 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10628 * BufferView_pimpl.C:
10632 * lyxfunc.C: use re-worked insetinclude
10634 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10636 * buffer.C: add using std::stringstream.
10638 * lyx_cb.C: readd using std::ios.
10640 * buffer.C: add using std::map.
10642 * BufferView_pimpl.C: add using std::vector.
10644 * ShareContainer.h: add std:: to swap.
10646 * buffer.h: add some typedefs
10647 * buffer.C (getLists): use them
10648 (getLists): renamed from getTocList.
10649 add a counter for the different float types and use it in the
10651 (getLists): use the same counter for the NEW_INSETS and the "non"
10654 * lyx_cb.h: remove unused items, includes, using etc.
10656 * ShareContainer.h: remove some commented code, add more comments
10657 and "documentation".
10659 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10661 * buffer.C (getTocList): make the list also when NEW_INSETS is
10664 * buffer.h: remove TocType
10666 * buffer.C (getTocList): change to return a map<string,
10667 vector<TocItem> >, implement for dynamic number of list.
10669 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10670 * text2.C (PasteSelection): adjust
10671 * CutAndPaste.C (pasteSelection): adjust
10673 * FloatList.C (FloatList): update from the new_insets branch.
10674 * Floating.[Ch]: ditto
10675 * LaTeXFeatures.C: ditto
10677 * lyxlex_pimpl.C: ditto
10679 * paragraph.C (Last): remove when NEW_INSETS is defined.
10681 * other file: changes because of the above.
10683 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10685 * lyxparagraph.h: rename next to next_, previous to previous_,
10686 make them private for NEW_INSETS. Rename Next() to next(),
10687 Previous() to previous().
10689 * other files: changes because of the above.
10691 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10694 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10697 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10699 * main.C (main): pass lyx_localedir to gettext_init().
10701 * gettext.h: remove locale_init and gettext_init macros
10703 * gettext.C (locale_init): new function
10704 (gettext_init): new function
10706 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10709 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10711 * Moved credits to frontends:
10712 * credits.[Ch]: removed
10713 * credits_form.[Ch]: removed
10714 * lyx_gui_misc.C: remove credits stuff
10717 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10719 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10721 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10722 unneeded destructor.
10724 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10725 a standalone pointer again.
10727 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10729 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10735 * ToolbarDefaults.C:
10744 * BufferView_pimpl.C: use new file dialog in GUII
10747 * lyx_cb.C: remove LayoutsCB to Toolbar
10749 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10751 * ShareContainer.h (get): add std:: qualifier
10753 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10755 * ShareContainer.h: define a proper ShareContainer::value_type
10756 type (and use typename to please compaq cxx)
10758 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10760 * lyxparagraph.h: move serveral local vars to
10761 ParameterStruct/ParagraphParameters., use ShareContainer in
10762 FontTable., make vars in FontTable private and add getter and
10765 * paragraph.C: changes because of the above.
10767 * lyxfont.h: remove copy constructor and copy assignment. (the
10768 default ones is ok), move number inside FontBits. move inlines to
10771 * lyxfont.C: add number to initializaton of statics, move several
10772 inlines here. constify several local vars. some whitespace
10773 cleanup. Dont hide outerscope variables.
10775 * Spacing.h: add two new constructors to match the set methods.
10777 * ShareContainer.h: new file, will perhaps be moved to support
10779 * ParameterStruct.h: new file
10781 * ParagraphParameters.h: new file
10783 * ParagraphParameters.C: new file
10785 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10786 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10788 * BufferView_pimpl.C: ParagraphParameter changes.
10789 * buffer.C: Likewise.
10790 * bufferview_funcs.C: Likewise.
10791 * text.C: Likewise.
10792 * text2.C: Likewise.
10794 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10796 * lyxfind.C (LyXReplace): do not redefine default argument in
10798 (IsStringInText): ditto
10799 (SearchForward): ditto
10800 (SearchBackward): ditto
10802 2001-03-06 Juergen Vigna <jug@sad.it>
10804 * lyxfind.C (IsStringInText): put parentes around expressions.
10806 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10808 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10810 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10812 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10814 * stl_string_fwd.h: add comment
10816 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10819 * tabular.C: remove unused DocBook methods
10825 killed DO_USE_DEFAULT_LANGUAGE
10827 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10829 * lyx_gui.C: do not include language.h.
10831 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10832 arguments in function implementation.
10834 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10836 * BufferView_pimpl.C: add <ctime>
10838 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10840 * BufferView_pimpl.C: add using std::find_if
10842 2001-02-27 José Matos <jamatos@fep.up.pt>
10844 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10847 2001-02-11 José Matos <jamatos@fep.up.pt>
10849 * buffer.C (makeDocBookFile): command styles now have a parameter as
10850 "title" by default.
10852 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10854 * layout_forms.[Ch]: removed
10855 * lyx_cb.[Ch]: out character
10856 * lyx_gui.C: out character
10857 * lyx_gui_misc.C: out character
10858 * bufferview_funcs.C: : out character,
10859 added toggleall as parameter in ToggleAndShow
10861 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10863 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10865 * text2.C (SetCurrentFont): Disable number property at boundary.
10867 2001-02-26 Juergen Vigna <jug@sad.it>
10869 * lyxfunc.C (getStatus): added a string argument override function so
10870 that this is correctly called from LyXFunc::Dispatch if it contains a
10871 do_not_use_argument which is used!
10872 (Dispatch): added check for "custom" export and call appropriate func.
10874 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10876 * lyxrc.C: Add language_command_local, language_use_babel and
10877 language_global_options.
10879 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10881 * buffer.C (makeLaTeXFile): Use language_use_babel and
10882 language_global_options.
10884 2001-02-23 Juergen Vigna <jug@sad.it>
10886 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10887 which works with LyXText and putted it inside BufferView. Here now we
10888 only call for that part the BufferView::Dispatch() function.
10890 * BufferView.C (Dispatch): added.
10892 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10893 functions which needs to use a LyXText over from LyXFunc.
10894 (MenuInsertLyXFile): added
10895 (getInsetByCode): added
10896 (moveCursorUpdate): added
10897 (static TEXT): added
10899 2001-02-22 Juergen Vigna <jug@sad.it>
10901 * BufferView_pimpl.C (update): call a status update to see if LyXText
10904 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10906 * vc-backend.C (revert): implement for CVS
10907 (getLog): implement for CVS
10909 2001-02-20 Juergen Vigna <jug@sad.it>
10911 * text2.C (ClearSelection): added BufferView param for inset_owner call
10913 * lyxfunc.C (TEXT): added this function and use it instead of
10914 directly owner->view()-text of getLyXText().
10916 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10918 * src/layout_forms.C: out preamble
10919 * src/layout_forms.h: out preamble
10920 * src/lyx_cb.C: out preamble
10921 * src/lyx_cb.h: out preamble
10922 * src/lyx_gui.C: out preamble
10923 * src/lyx_gui_misc.C: out preamble
10924 * src/lyxfunc.C: connect with guii preamble
10926 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10928 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10930 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10932 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10933 whether to run bibtex.
10935 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10937 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10939 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10941 * Makefile.am (lyx_SOURCES): removed bibforms.h
10943 * vspace.h: doxygen
10945 * text.C (GetVisibleRow): make several local vars const
10947 * tabular.C: small cleanup.
10949 * lyxserver.C (callback): use compare instead of strncmp
10951 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10952 inlines to after class or to paragraph.C
10954 * lyxfont.h: remove friend operator!=
10956 * converter.h: move friend bool operator< to non friend and after
10959 * combox.h: small cleanup
10961 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10962 to inlines after class def.
10964 * buffer.C (pop_tag): use string operations instead of strcmp
10966 * bmtable.c: doxygen, small cleanup
10968 * LaTeX.h: remove friend operator==
10970 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10982 * BufferView_pimpl.C:
10983 * BufferView.[Ch]: remove cruft
10985 2001-02-14 Juergen Vigna <jug@sad.it>
10987 * lyxfunc.C: removed #if 0 unused code
10989 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10991 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10993 * text2.C (SetSelection): added a BufferView * parameter
10995 2001-02-13 Juergen Vigna <jug@sad.it>
10997 * lyxfunc.C (Dispatch): fixed protected blank problem.
10998 * BufferView2.C (protectedBlank): added LyxText * parameter.
11000 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11001 (AppendColumn): same as above for column_info.
11003 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11004 (moveCursorUpdate): use a LyXText param for support of InsetText.
11006 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11007 (tripleClick): ditto
11009 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11011 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11013 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11015 * text2.C (SetSelection): set correct update status if inset_owner
11016 (ToggleFree): ditto
11018 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11020 * tabular.C: remove some commented code.
11022 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11024 * BufferView_pimpl.C: call hideSplash()
11026 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11029 * bibforms.h: remove
11032 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11033 add LFUN_CHILD_CREATE
11035 * counters.h: fix tiny typo
11040 * lyx.C: move splash to frontends/xforms/
11042 * lyx_gui_misc.C: move Include and Bibform to frontends
11044 * lyxvc.h: clarify comment
11046 * vspace.C: tiny housekeeping
11048 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11050 * text.C (PrepareToPrint): RTL Fix.
11052 * paragraph.C (GetUChar): New method.
11053 (String): Use GetUChar.
11055 * buffer.C (asciiParagraph): Use GetUChar.
11057 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11059 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11061 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11064 * buffer.C: rename to getLogName(), handle
11065 build log / latex log nicely
11067 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11070 * MenuBackend.h: remove support for reference menuitem type.
11072 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11074 * BufferView_pimpl.C: housekeeping
11075 * BufferView_pimpl.h:
11080 * minibuffer.h: move Timeout GUI-I
11082 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11084 * lyxrc.C (read): Update converters data-structures.
11086 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11088 * LaTeX.h (operator!=): add operator != for Aux_Info
11090 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11092 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11094 * LaTeXLog.C: deleted, useful code moved to Buffer
11097 * buffer.C: new function getLatexLogName()
11103 * lyxfunc.C: use frontends for LaTeX and VC logs
11105 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11107 * LaTeX.h: yet another std:: that Allan forgot.
11109 * Variables.C (set): renamed from isset(), because this clashes
11110 with some HP-UX macros (grr).
11112 2001-02-06 Allan Rae <rae@lyx.org>
11114 * LaTeX.h: Another bug fix. Missing std:: this time.
11116 2001-02-04 Allan Rae <rae@lyx.org>
11118 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11119 floats problem. I've left it commented out because it's not quite
11120 correct. It should also test that the current object is a table or
11121 figure inset. But I haven't gotten around to figuring out how to do
11122 that. I *think* it'll be something like: "table" == inset.type()
11124 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11127 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11129 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11130 all the citation/databases/styles in the auxilary file.
11131 (run): Rerun latex if there was a babel language error.
11133 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11135 * text.C (Backspace): Preserve the font when changing newline char
11137 (BreakParagraph): If the cursor is before a space, delete the space.
11139 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11141 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11143 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11144 new argument (code).
11145 (ChangeCitationsIfUnique): New method.
11147 * paragraph.C (GetPositionOfInset): Handle bibkey.
11149 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11151 * BufferView_pimpl.h: change type of Position::par_pos to
11152 LyXParagraph::size_type.
11154 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11156 * BufferView_pimpl.C (savePosition, restorePosition): Write
11157 messages to minibuffer.
11159 2001-01-28 José Matos <jamatos@fep.up.pt>
11161 * buffer.C (makeDocBookFile): adds support for document language.
11162 A silly restriction on the name of LatexCommand types where removed.
11163 Added support for CDATA sections, allows to chars unescaped, used
11164 among others in code, to avoid escape < and >.
11166 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11168 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11169 saved positions instrad of a stack. Furthermore, a position is
11170 stored using paragraph id/paragraph position.
11172 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11173 Remove LFUN_REF_BACK.
11175 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11177 * converter.C (dvipdfm_options): New method.
11179 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11181 * vspace.C (isValidLength): Fix for empty input string.
11183 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11185 * LyXAction.C (init): change description of LFUN_FIGURE to
11188 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11190 * LaTeX.C: add using directive
11192 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11194 * MenuBackend.C (expand): Fix the sorting of the formats.
11196 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11198 * lyx_main.C: tiny error message fix
11200 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11202 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11203 calling fl_initialize(). This fixes the problem with ',' as
11204 decimal separator in text files.
11206 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11208 * trans.C (process): Fix the keymap bug.
11210 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11212 * LaTeX.C (scanAuxFiles): New method. Provides support for
11213 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11214 (scanLogFile) Scan for "run BibTeX" messages.
11216 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11217 OT1 font encoding. Also, load the aecompl package if the ae
11220 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11222 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11224 * texrow.C (increasePos): turn two error messages into debug
11227 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11229 * LaTeX.C (scanAux): Handle the \@input macro.
11230 (runBibTeX): Use scanAux().
11232 * language.C (latex_options_): New field.
11234 * LaTeXFeatures.C (getMacros): Add language macros.
11236 * buffer.C (makeLaTeXFile): Small fix.
11238 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11240 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11242 * text2.C: add a using directive.
11244 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11249 * lyxfunc.C: kill LyXBell.
11251 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11253 * text.C (IsBoundary): Remove the error message
11255 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11257 * lyxrc.C (setDefaults): Correct initialization value for
11260 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11262 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11265 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11266 and GotoNextNote().
11268 * src/LyXAction.C: Added reference-next.
11270 * text.C (InsertChar): Use contains instead of strchr.
11272 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11274 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11276 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11277 alignment commands (when needed).
11279 * text.C (InsertChar): Add ':' to number separator chars.