2 2003-06-12 André Pönitz <poenitz@gmx.net>
11 * toc.C: Return a Paragraph & for ParIterator::operator*()
13 2003-06-11 John Levon <levon@movementarian.org>
17 * ToolbarBackend.C: add "Toolbars" section and
20 2003-06-10 Angus Leeming <leeming@lyx.org>
23 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
25 * lyxfunc.C (dispatch): invoke it.
27 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
29 * main.C: protect <ios> with HAVE_IOS
30 (main): protect sync_with_stdio with HAVE_IOS
32 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
34 * text2.C (cutSelection): adjust
35 (pasteSelection): adjust
37 * messages.C: handle get of empty string
39 * main.C (main): use sync_with_stdio(false)
41 * lyxfunc.C (dispatch): adjust
43 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
44 (WriteAs): remove unneeded BufferView arg.
46 * bufferparams.h: use correct types on papersize, papersize2 and
49 * bufferparams.C (readToken): adjust for type
50 (writeLaTeX): add missing cases to switch.
52 * bufferlist.C (quitWriteBuffer): adjust
55 * buffer.C (asciiParagraph): remove some commented code.
57 * CutAndPaste.C: remove current_view extern variable.
58 (cutSelection): add BufferParams arg.
59 (eraseSelection): add BufferParams arg.
60 (pasteSelection): add Buffer const & arg
62 2003-06-07 John Levon <levon@movementarian.org>
70 * paragraph.C: allow InsetERT to freely space lines,
71 and some consolidation of code
73 2003-06-06 José Matos <jamatos@fep.up.pt>
75 * buffer.C (makeDocBookFile): fix bug #821
77 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
79 * BufferView_pimpl.C (dispatch): use Dialogs::visible
81 2003-06-04 Angus Leeming <leeming@lyx.org>
83 * buffer.C: bump format to 224.
85 2003-06-05 André Pönitz <poenitz@gmx.net>
87 * text2.C (redoParagraphs): remove two const_cast<>
89 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
91 * ParagraphList.h: remove last remnants of NO_STD_LIST
93 2003-06-03 Angus Leeming <leeming@lyx.org>
95 * factory.C (createInset): small change to the way InsetExternal's params
98 2003-06-04 André Pönitz <poenitz@gmx.net>
100 * buffer.h: use Undo directly instead of shared_ptr<Undo>
103 * paragraph.[Ch]: some Inset -> UpdatableInset changes
105 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
107 * undo_funcs.C: make some simple cases of undo work again
109 2003-06-03 John Levon <levon@movementarian.org>
111 * ispell.C: HPUX doesn't have sys/select.h
114 2003-06-03 John Levon <levon@movementarian.org>
116 * CutAndPaste.C: update tabular and include inset
121 * paragraph.C: remove owningBuffer(), don't pass Buffer
124 * factory.C: insetGraphicsParams changed
126 2003-06-02 John Levon <levon@movementarian.org>
132 * text3.C: remove insetparent
134 2003-06-02 John Levon <levon@movementarian.org>
137 * buffer.C: fix inset_iterator.end(), move out of line
140 2003-06-01 John Levon <levon@movementarian.org>
142 * text3.C: use a proper cut/paste when doing inset
143 insert (from Jürgen Spitzmüller)
145 2003-06-01 John Levon <levon@movementarian.org>
147 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
149 2003-05-30 André Pönitz <poenitz@gmx.net>
151 * rowpainter.C: unify second drawing phase
153 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
155 * trans_mgr.C: remove one case of current_view
157 * text2.C (cursorBottom): delete NO_STD_LIST stuff
159 * paragraph_funcs.h: remove paragraph.h include
161 * paragraph.h: delete NO_STD_LIST stuff
163 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
165 * buffer.h: remove paragraph.h include
167 * ParagraphList.C: delete file
169 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
171 * toc.C (getTocList): adjust
173 * paragraph_pimpl.C (validate): adjust
175 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
177 * paragraph.C (Paragraph): adjust
178 (getPositionOfInset): use const_iterator, adjust
179 (bibitem): use const_iterator, adjust
180 (setInsetOwner): adjust
182 * iterators.C (operator++): adjust
184 * InsetList.[Ch]: Replace selfmade iterator with standard
185 vector::iterator also introduce const_iterator. Remove getPos,
186 getInset and setInset from InsetTable. Adjust accordingly.
188 * BufferView.C (lockInset): adjust
189 (ChangeInsets): adjust
191 * tabular.[Ch]: delete commented same_id functions
193 2003-05-28 John Levon <levon@movementarian.org>
195 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
197 2003-05-28 André Pönitz <poenitz@gmx.net>
199 * metricsinfo.[Ch]: remove 'fullredraw' member
201 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
203 * lyxtextclass.C (operator): remove caching.
205 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
209 * text2.C (cursorBottom): adjust
210 (setCounter): use ParagraphList::find, adjust
212 * text.C (workWidth): use ParagraphList::find, adjust
214 * lyxcursor.C (LyXCursor): adjust
216 * buffer.C (inset_iterator): adjust
218 * ParagraphList.h: make iterator(value_type) private, make
219 ParagraphList a friend of iterator.
221 * ParagraphList.C (find): new function
223 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
225 2003-05-27 André Pönitz <poenitz@gmx.net>
227 * dimension.[Ch]: a -> asc, d -> des, w -> wid
229 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
233 2003-05-26 John Levon <levon@movementarian.org>
235 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
237 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
239 * remove same_id from function signatures, adjust.
241 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
243 * undo_funcs.C (createUndo): use the id functions directly, adjust.
245 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
247 * paragraph.C (Paragraph): get rid of same_ids parameter
249 * ParagraphList.C (insert): adjust
252 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
254 * paragraph_funcs.C (breakParagraph): adjust
255 (breakParagraphConservative): adjust
257 * buffer.C (readParagraph): adjust
259 * ParagraphList.C (insert): take a reference instead of a pointer
262 * paragraph.[Ch] (id): new function
264 * bufferlist.C (newFile): adjust
266 * ParagraphList.C (ParagraphList): adjust
268 (push_back): take a reference instead of a pointer.
270 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
272 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
275 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
276 set else use old code.
278 * ParagraphList.C: remove all NO_NEXT code and only compile this
279 code of NO_STD_LIST is set.
281 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
283 * BufferView_pimpl.C:
293 * graphics/GraphicsConverter.C:
294 * graphics/PreviewLoader.C: header adjustment
296 2003-05-23 Angus Leeming <leeming@lyx.org>
298 * LaTeXFeatures.[Ch] (useBabel): new method.
299 * bufferparams.C (writeLaTeX): use it.
301 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
303 * ParagraphList.h (set): remove unused function.
305 2003-05-23 André Pönitz <poenitz@gmx.net>
308 * BufferView_pimpl.C:
312 * undo_funcs.C: setUndo reworked
314 * iterators.[Ch]: add access to topmost ParagraphList
316 * lyxtext.[Ch] (workWidth): add a const
318 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
320 * texrow.[Ch] (increasePos): remove function
321 * exporter.C (export): removed unused var and outdated comment
323 2003-05-23 Angus Leeming <leeming@lyx.org>
325 * latexrunparams.h: rename fragile as moving_arg.
326 * paragraph.C (simpleTeXOnePar): ditto.
327 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
329 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
333 (textUndoOrRedo): comment out a currently unused var.
335 * paragraph.h (NO_NEXT): enable NO_NEXT
337 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
339 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
341 * exporter.C (Export): adjust for removeAutoInsets removal.
343 * buffer.C (runChktex): adjust for removeAutoInsets removal.
345 * LyXAction.C (init): remove LFUN_REMOVEERRORS
347 * BufferView.[Ch] (removeAutoInsets): delete function
349 2003-05-22 Angus Leeming <leeming@lyx.org>
351 * latexrunparams.h: add a free_spacing variable.
353 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
354 to pass moving_arg, as the data is stored in runparams.fragile.
356 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
357 to Inset::latexOptional or to simpleTeXOnePar.
359 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
360 free_spacing arg to Inset::latexOptional.
362 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
365 2003-05-22 Angus Leeming <leeming@lyx.org>
367 * latexrunparams.h: add fragile and use_babel variables.
369 * bufferparams.[Ch] (writeLaTeX): return use_babel.
370 * buffer.C (makeLaTeXFile): store this returned value in
371 runparams.use_babel, thus passing it to the inset::latex methods.
373 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
374 simpleTeXSpecialChars as it is now stored in runparams.fragile.
376 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
377 longer has a fragile arg, as it is stored in runparams.fragile.
379 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
380 moving_arg parameter as the data is stored in runparams.fragile.
382 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
383 a fragile parameter as the data is stored in runparams.fragile.
385 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
387 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
389 2003-05-22 Angus Leeming <leeming@lyx.org>
391 * latexrunparams.h: add a 'bool nice' which defaults to false.
393 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
394 now encapsulated within runparams.
396 * bufferlist.C (updateIncludedTeXfiles):
397 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
399 2003-05-22 Angus Leeming <leeming@lyx.org>
401 * latexrunparams.h: new file containing struct LatexRunParams.
402 * Makefile.am: add new file.
404 * LaTeX.[Ch] (c-tor, run):
405 * buffer.[Ch] (makeLaTeXFile):
406 * bufferlist.[Ch] (updateIncludedTeXfiles):
407 * converter.C (convert, scanLog):
408 * converter.[Ch] (runLaTeX):
409 * exporter.C (Export):
410 * paragraph.[Ch] (simpleTeXOnePar):
411 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
412 * paragraph_funcs.[Ch] (latexParagraphs):
413 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
414 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
415 pass around a LatexRunParams parameter.
417 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
419 * paragraph.[Ch]: remove unused constructor
421 * ParagraphList.C (erase): new function, taking two iterators
423 2003-05-22 André Pönitz <poenitz@gmx.net>
425 * undo_funcs.C: remove duplicated code
427 * iterator.[Ch]: operator=
429 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
431 * tabular.C (SetMultiColumn): ws changes
433 * rowpainter.C (paintFirst): get rid of a ->previous
435 * lyx_cb.C (getPossibleLabel): parlist simplification
437 * BufferView.C (ChangeInsets): simplify slightly.
439 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
441 * LyXAction.C: new lfun space-insert, kill protected-space-insert
442 * lfuns.h: new LFUN_SPACE
443 * lyxfunc.C: protected space has a new lfun
444 * paragraph_funcs.C: read new space insets
446 * factory.C: handle new space insets
448 2003-05-22 André Pönitz <poenitz@gmx.net>
451 * BufferView_pimpl.C:
454 * undo_funcs.C: return a ParIterator from getParFromID.
456 * iterators.[Ch]: add two const's
458 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
460 * toc.C (getTocList): adjust
462 * iterators.[Ch]: rework for parlist
464 * buffer.C (par_iterator_begin): adjust
465 (par_iterator_end): adjust
467 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
469 * BufferView.C (removeAutoInsets): adjust
470 (ChangeInsets): adjust
472 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
474 * text.C (top_y): fix bug 1110
476 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
478 * errorlist.[Ch]: added
481 * BufferView_pimpl.C:
482 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
485 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
487 * Makefile.am: ensure that lyx is relinked upon changes to the
488 various "convenience" libs.
490 2003-05-20 Angus Leeming <leeming@lyx.org>
492 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
493 files are compiled in alphabetical order again.
495 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
497 2003-05-19 Angus Leeming <leeming@lyx.org>
499 * gettext.[Ch]: remove "char const * _(char const *)".
501 2003-05-19 André Pönitz <poenitz@gmx.net>
503 * dimension.[Ch]: promote from mathed/dimension.[Ch]
512 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
514 2003-05-19 André Pönitz <poenitz@gmx.net>
520 * paragraph_funcs.[Ch]:
522 * text3.C: more insetenv work
524 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
526 * ParagraphParameters.C (params2string): small bug fixed
528 2003-05-16 André Pönitz <poenitz@gmx.net>
531 * bufferview_funcs.C: patch from Kornel Benko to prevent
532 crash when _(...) is called twice in a statement
534 2003-05-16 André Pönitz <poenitz@gmx.net>
541 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
543 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
545 * lyx_main.C (init): remove spurious static_cast
547 2003-05-14 André Pönitz <poenitz@gmx.net>
549 * BufferView.C: fix format string
551 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
553 * BufferView.[Ch] (insertErrors): removed
554 * BufferView.[Ch] (showErrorList): added
555 * buffer.C (runChkTeX):
556 * converter.C (scanLog): call showErrorList instead of inserterrors
558 2003-05-13 André Pönitz <poenitz@gmx.net>
560 * BufferView_pimpl.C:
569 * tabular_funcs.h: tostr() from its own header
571 * ParagraphParameters.C:
578 2003-05-12 André Pönitz <poenitz@gmx.net>
581 * BufferView_pimpl.C:
585 * ParagraphParameters.C:
589 * bufferview_funcs.C:
606 * text3.C: boost::format -> bformat all over the place
609 2003-05-09 André Pönitz <poenitz@gmx.net>
611 * LColor.[Ch]: Pimpl the #include <map> away
613 2003-05-09 John Levon <levon@movementarian.org>
615 * bufferlist.C: never remove emergency saves
617 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
619 * Makefile.am: better lib building
621 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
623 * texrow.[Ch]: remove dependency on Paragraph and just store a id
625 * paragraph_pimpl.C (simpleTeXBlanks): adjust
626 (simpleTeXSpecialChars): adjust
627 (simpleTeXSpecialChars): adjust
628 * paragraph.C (simpleTeXOnePar): adjust
629 * buffer.C (makeLaTeXFile): adjust
631 * Makefile.am (BOOST_LIBS): allow boost as system lib.
633 * text2.C (changeDepth): parlist cleanup
634 (getColumnNearX): ditto
636 * rowpainter.C (getLabelFont): parlist cleanup
638 * bufferlist.C (newFile): parlist cleanup
640 * CutAndPaste.C (eraseSelection): parlist cleanup
642 * BufferView_pimpl.C (trackChanges): parlist cleanup
645 * BufferView.C (lockInset): parlist cleanup.
646 (ChangeInsets): ditto
648 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
650 * CutAndPaste.h: Update file header.
652 * CutAndPaste.C: Update file header.
653 Store the parts cut out of the Document in a limited_stack.
654 (copySelection): adjust
655 (pasteSelection): new function, takes the index in the limited stack.
656 (nrOfParagraphs): adjust
657 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
658 simplify error inset insertion.
659 (checkPastePossible): adjust
661 2003-05-06 John Levon <levon@movementarian.org>
663 * text2.C: don't cast wrap inset to float
665 2003-05-05 André Pönitz <poenitz@gmx.net>
668 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
670 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
671 few naked Paragraph *.
673 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
675 * bufferparams.C: Output warning if a document with missing
676 TeX document class is loaded
677 * exporter.C: Disable TeX exports if the document class is missing
680 * lyxtextclasslist.C: Handle new textclass.lst format; new method
681 isTeXClassAvailable()
683 2003-05-03 John Levon <levon@movementarian.org>
686 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
687 explicit cursor show/hide
689 * BufferView_pimpl.h:
690 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
691 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
693 * lyxfunc.C: hide cursor before dispatching.
698 * text3.C: remove explicit cursor hides
700 2003-05-02 André Pönitz <poenitz@gmx.net>
702 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
705 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
708 * text2.C: tiny whitespace
710 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
712 * undo_funcs.C: almost only ws changes.
714 * ParagraphList.C (splice): just return if pl is empty.
716 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
718 * ParagraphList.C (splice): new function.
720 * CutAndPaste.C (pasteSelection): use it
722 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
724 * CutAndPaste.C (pasteSelection): remove the last next and
725 previous from this file.
727 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * CutAndPaste.C (pasteSelection): more clean up, user proper
730 ParagraphList functions for pasteing.
732 * ParagraphList.C (insert): new function, three arg insert
734 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
736 * ParagraphList.C (insert): new function, three arg insert
738 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
741 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
743 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
745 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
747 * CutAndPaste.C (pasteSelection): remove some unneeded code.
749 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
751 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
752 (copySelection): clean up a bit.
753 (pasteSelection): use make_pair
755 * ParagraphList.C (ParagraphList): implement copy constructor
756 (operator=): implement, base on copy constructor.
759 * paragraph.C (erase): return a bool
761 * paragraph_pimpl.C (erasePos): remove function, move contents...
762 (erase): ... here. Return a bool.
763 (erase): call erase instead of erasePos.
765 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
767 * ParagraphList.h: define PitPosPair
768 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
769 ParagraphList, fix a bug on pasting multiple pars
770 * text2.C: change interface to C&P
772 2003-04-30 André Pönitz <poenitz@gmx.net>
774 * undo_func.C: revert part of yesterday's patch 2
776 2003-04-30 John Levon <levon@movementarian.org>
778 * LColor.C: s/tabular/table/
780 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
782 * text3.C (dispatch): do not convert iterator -> pointer
783 * undo_funcs.C (setCursorParUndo): ditto
784 * text_funcs.C (transposeChars): ditto
786 * text2.C (setLayout): ws changes only
788 * text.C (breakParagraph): do not convert iterator -> pointer
790 (acceptChange): ditto
791 (rejectChange): ditto
796 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
799 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
801 * text3.C (gotoInset): YABG (yet another bad getChar)
803 2003-04-29 André Pönitz <poenitz@gmx.net>
805 * paragraph.h: make operator= private unimplemented as long as
808 * ParagraphList.C: whitespace
811 * paragraph_pimpl.[Ch]:
814 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
817 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
819 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
821 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
822 * paragraph.[Ch] (erase):
823 * paragraph_pimpl.[Ch] (erase): change return type and value
824 * text2.C (cutSelection): some rework
826 2003-04-28 John Levon <levon@movementarian.org>
828 * bufferlist.C: changes for unsaved changes dialog
830 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
832 * bufferlist.C (newFile): set language (messages_) for new
835 * buffer.C (readFile): ws changes only.
837 2003-04-28 André Pönitz <poenitz@gmx.net>
842 * BufferView_pimpl.C:
843 * BufferView.C: getParFromID related ParagraphList::iterator changes
845 2003-04-28 André Pönitz <poenitz@gmx.net>
847 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
850 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * messages.C: remove one more localedir class variable.
854 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
856 * messages.C (getLocaleDir): singleton generation function
858 (Messages): add a default constructor.
860 * main.C (main): do not setup localedir here, do not call
863 * gettext.C (_): use it.
864 (gettext_init): delete funciton
866 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
868 * gettext.C (getLyXMessages): new singleton generating function.
870 * buffer.C (updateDocLang): adjust
872 * Makefile.am (messages.o): add target
873 (main.o): remove target
875 2003-04-27 John Levon <levon@movementarian.org>
880 * lyxvc.C: specify cancel button in Alert::prompt
882 2003-04-26 John Levon <levon@movementarian.org>
887 * LyXAction.C: add LFUN_INSET_SETTINGS
889 * lyxfunc.C: don't enable tabular-feature when there's
890 just any locking inset
892 2003-04-26 John Levon <levon@movementarian.org>
894 * bufferlist.C: re-add Cancel to buffer close question
896 * lyxfunc.C: fix import UI a bit
898 2003-04-25 John Levon <levon@movementarian.org>
900 * gettext.C: remove the broken asserts for now
902 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
904 * messages.C: make case where setlocale cannot comply work better.
906 * buffer.C (updateDocLang): new function
907 (changeLanguage): use it
910 * text2.C (setCounter): use B_ a bit.
912 * lyxlayout.C (Read): be sure to trim the label strings.
914 * messages.C (Messages): fix typo in comment
916 * buffer.C (readFile): set message_ after file is loaded.
917 (makeDocBookFile): remove double return
918 (changeLanguage): reset message_ upon language change.
919 (B_): new func, use this to get translated buffer strings.
921 * main.C: add myself and Jean Marc as authors.
923 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
925 * messages.[hC]: pimplify Messages, and three different pimpls to be
926 used in different circumstances.
928 * gettext.[Ch]: change for use with new message code.
930 2003-04-24 André Pönitz <poenitz@gmx.net>
932 * factory.C: support for eqref
934 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
936 * messages.[Ch]: add missing char
938 * Makefile.am (lyx_SOURCES): add messages.[Ch]
940 * messages.[Ch]: New files
942 2003-04-18 John Levon <levon@movementarian.org>
946 * BufferView_pimpl.C:
950 * text2.C: remove layout-copy/paste (bug 778)
952 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
954 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
956 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
958 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
959 if they succeed. Act accordingly.
961 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
963 * text2.C (setCharFont): adjust
965 (insertStringAsLines): adjust
967 * text.C (leftMargin): adjust
968 (setHeightOfRow): adjust
970 * rowpainter.C (paintFirst): adjust
973 * paragraph_funcs.C (depthHook): ParagraphList::iterators
975 (isFirstInSequence): ditto
979 * paragraph.C (getParLanguage): comment out some hard stuff.
981 * buffer.C (insertStringAsLines): take a ParagraphList as arg
983 (simpleDocBookOnePar): ditto
984 (makeDocBookFile): use ParagraphList::iterator
986 * CutAndPaste.C (pasteSelection): adjust
988 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
990 * text2.C (getFont): adjust
991 (getLayoutFont): adjust
992 (getLabelFont): adjust
994 * paragraph_funcs.C (TeXOnePar): adjust
996 * buffer.C (simpleLinuxDocOnePar): adjust
997 (simpleDocBookOnePar): adjust
999 * CutAndPaste.C (pasteSelection): adjust
1001 * BufferView.C (getEncoding): adjust
1003 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1005 2003-04-16 John Levon <levon@movementarian.org>
1007 * lyxfind.C: use parlist stuff for search/changes
1009 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1011 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1013 * text2.C (deleteEmptyParagraphMechanism): adjust
1015 * text2.[Ch] (ownerParagraph): delete func (both of them
1017 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1019 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1021 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1023 * ParagraphList.C: prepare for NO_NEXT
1025 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * text2.C (getFont): adjust
1028 (getLayoutFont): adjust
1029 (getLabelFont): adjust
1031 * paragraph.C (getFont): adjust
1032 (getLabelFont): adjust
1033 (getLayoutFont): adjust
1035 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1037 2003-04-15 John Levon <levon@movementarian.org>
1041 * lyx_main.C: handle Include in .ui files
1043 2003-04-15 John Levon <levon@movementarian.org>
1045 * MenuBackend.C: make the doc files length shorter
1048 * ToolbarBackend.C: handle toolbar placement flags,
1051 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1053 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1056 * paragraph_funcs.C (TeXOnePar): adjust
1058 * paragraph.C (getLabelFont): add outerfont arg, adjust
1059 (getLayoutFont): ditto
1060 (simpleTeXOnePar): adjust
1062 * paragraph_pimpl.C (realizeFont): delete func
1064 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1066 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1067 row argument, constify cur argument.
1069 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1071 * text2.C (getFont): adjust
1072 (getLayoutFont): adjust
1073 (getLabelFont): adjust
1075 * paragraph_funcs.C (TeXOnePar): adjust
1076 (outerFont): new func...
1077 (realizeFont): ...moved out from here, changed this to facilitate
1080 * paragraph.C (getFont): take outerfont as arg, adjust
1081 (simpleTeXOnePar): add outerfont arg, adjust
1083 * buffer.C (simpleLinuxDocOnePar): adjust
1084 (simpleDocBookOnePar): adjust
1086 * CutAndPaste.C (pasteSelection): adjust
1088 * BufferView.C (getEncoding): adjust
1090 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1092 * text2.C (setCharFont): adjust
1093 (setCounter): adjust
1095 * text.C (leftMargin): adjust
1096 (setHeightOfRow): adjust
1098 * rowpainter.C (paintFirst): adjust
1101 * paragraph_pimpl.C (realizeFont): adjust
1103 * paragraph.C (isFirstInSequence): move from here...
1104 * paragraph_funcs.C (isFirstInSequence): ...to here
1106 * paragraph.C (outerHook): move from here...
1107 * paragraph_funcs.C (outerHook): ...to here
1109 * paragraph.C (depthHook): move from here...
1110 * paragraph_funcs.C (depthHook): ...to here
1112 * paragraph.C (getEndLabel): move from here...
1113 * paragraph_funcs.C (getEndLabel): ...to here
1115 * text2.C (realizeFont): move from here...
1116 * paragraph_funcs.C (realizeFont): ...to here
1118 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1120 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1122 2003-04-14 Angus Leeming <leeming@lyx.org>
1124 * LColor.[Ch]: scrap LColor mathcursor.
1126 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1128 * lyxlex.[Ch] (text): delete function
1129 * trans.C (Load): adjust
1130 * paragraph_funcs.C (readParToken): adjust
1132 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1134 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1135 vector<char> instead of a char[].
1137 * lyxlex_pimpl.C (getString): adjust
1139 (lex): use getString
1143 * lyxlex.C (text): use pimpl_->getString()
1147 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1149 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1150 (makeFontEntriesLayoutSpecific): temp var for par.size()
1151 (setLayout): temp var for ownerParagraphs().end()
1152 (fullRebreak): temp var for rows().end()
1153 (selectionAsString): temp var for boost::next(startpit), realize
1154 that the while really is a regular for loop.
1155 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1156 setCursor in one place.
1157 (setParagraph): temp vr for ownerParagraphs().end()
1158 (updateCounters): make the while loop a for loop
1159 (cutSelection): temp var for ownerParagraphs().end()
1160 (updateInset): make the do {} while() a regular for loop
1161 (getCursorX): use temp vars
1162 (setCurrentFont): use temp vars
1163 (getColumnNearX): use temp vars
1165 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1167 * text.C (transformChar): use temp var for getChar
1168 (computeBidiTables): use temp var for row->par()
1169 (fill): move temp vars for row->par() and pit->layout() earlier in
1171 (labelFill): use temp var for row->par()
1172 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1173 asc and desc, realize that pit never changes and that firstpit is
1174 just a duplicate and not needed. Exchange rit->par() with pit in a
1176 (breakAgain): use a temp var for boost::next(rit)
1177 (breakAgainOneRow): ditto
1178 (breakParagraph): use a temp var for rows().begin()
1179 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1180 (cursorRightOneWord): use temp var for cursor.par() and
1181 cursor.pos(), remove usage of tmpcursor.
1182 (cursorLeftOneWord): use temp var for cursor.par() and
1183 cursor.pos() only set cur at end of function.
1185 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1187 * text.C, text2.C: exchange all usage of Paragraph::next with
1188 boost::next(ParagraphList::iterator)
1190 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1192 * text2.C (cursorTop): simplify implementation
1193 (cursorBottom): ditto
1194 (setParagraph): use ParagraphList::iterator
1195 (setCurrentFont): adjust
1196 (getColumnNearX): adjust
1197 (cursorRight): adjust
1198 (cursorLeft): remove usage of Paragraph::previous
1199 (cursorUpParagraph): ditto
1200 (deleteEmptyParagraphMechanism): slight cleanup
1202 * text.C (isBoundary): take a Paragraph const & instead of a
1204 (addressBreakPoint): ditto
1205 (leftMargin): remove usage of Paragraph::previous.
1206 (setHeightOfRow): ditto
1207 (cursorLeftOneWord): ditto
1208 (selectNextWordToSpellcheck): ditto
1211 (breakParagraph): remove one usage of Paragraph::next
1212 (redoParagraph): ditto
1213 (acceptChange): ditto
1214 (insertChar): adjust
1215 (rowBreakPoint): adjust
1217 * bufferview_funcs.C (toggleAndShow): adjust
1219 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1221 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1222 methods to access it.
1224 * text.C: Added updateRowPositions to compute all row positions.
1225 Make top_y and getRowNearY() to use the cached y position
1227 2003-04-11 John Levon <levon@movementarian.org>
1229 * text.C (rowBreakPoint): reintroduce the labelEnd
1230 checks, code copied from the row fill stuff. Deep voodoo.
1232 * text.C (fill): add a comment and debugging for the
1235 2003-04-11 John Levon <levon@movementarian.org>
1237 * text.C: make sure fullrow insets get wrapped to the next line,
1238 even when they're in a manual label
1240 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1242 * text2.C (insertParagraph): make it take ParagraphList::iterator
1244 (setLayout): make it return ParagraphList::iterator
1245 (redoParagraphs): ditto
1247 (checkParagraph): ditto
1249 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1251 * text2.C: adjust several funcs.
1252 (realizeFont): take a ParagraphList::iterator as arg.
1253 (getLayoutFont): ditto
1254 (getLabelFont): ditto
1255 (setCharFont): ditto
1257 * text.C: adjust several funcs.
1259 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1261 * text.C (selectNextWordToSpellcheck): don't accidentally
1264 2003-04-10 John Levon <levon@movementarian.org>
1266 * ToolbarBackend.C (getIcon): special handling for
1269 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1271 * text2.C (cursorRight): a getChar assert fixed
1273 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1275 * text2.C (getFont): change to take a ParagraphList::iterator
1276 instead of Paragraph*
1277 Adjust several functions.
1279 * text.C (transformChar): change to take a ParagraphList::iterator
1280 instead of Paragraph*
1281 (singleWidth): ditto
1282 Adjust several functions.
1284 * rowpainter.C: adjust several functions
1285 * rowpainter.h:store a ParagraphList::iterator and not a
1289 2003-04-09 John Levon <levon@movementarian.org>
1294 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1295 and the "help" bits as well
1297 2003-04-09 John Levon <levon@movementarian.org>
1300 * ToolbarBackend.C: allow multiple toolbars
1302 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1304 * undo_funcs.C (setCursorParUndo): adjust
1306 * text_funcs.C (transposeChars): adjust
1308 * text3.C (gotoNextInset): adjust
1311 * text2.C (setLayout): adjust
1312 (changeDepth): adjust
1314 (redoParagraphs): adjust
1315 (selectionAsString): adjust
1316 (setParagraph): adjust
1317 (insertInset): adjust
1318 (cutSelection): adjust
1319 (copySelection): adjust
1320 (pasteSelection): adjust
1321 (insertStringAsLines): adjust
1322 (updateInset): adjust
1323 (setCursor): change to take a ParagraphList::iterator parameter
1324 (setCursorIntern): change to take a ParagraphList::iterator parameter
1325 (setCurrentFont): adjust
1326 (cursorLeft): adjust
1327 (cursorRight): adjust
1328 (deleteEmptyParagraphMechanism): adjust
1330 * text.C (breakParagraph): adjust
1331 (insertChar): adjust
1332 (acceptChange): adjust
1333 (rejectChange): adjust
1334 (selectNextWordToSpellcheck): adjust
1335 (changeCase): adjust
1339 * lyxfind.C (SearchForward): adjust
1340 (SearchBackward): adjust
1341 (nextChange): adjust
1343 * lyxcursor.C (par): adjust
1345 * lyxcursor.h: store a ParagraphList::iterator instead of a
1348 * lyx_cb.C (getPossibleLabel): adjust
1350 * bufferview_funcs.C (toggleAndShow): adjust
1352 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1355 * BufferView.C (removeAutoInsets): adjust
1356 (lockedInsetStoreUndo): adjust
1358 2003-04-09 John Levon <levon@movementarian.org>
1360 * ToolbarBackend.C: try icon without argument
1361 if with argument fails
1363 2003-04-08 John Levon <levon@movementarian.org>
1366 * ToolbarBackend.C: add getIcon(), handle tooltip,
1367 and change from "Icon" to "Item".
1369 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1371 * BufferView.C (lockInset): another bad getchar crunched
1373 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1375 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1378 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1380 * lyxfind.C (searchForward, searchBackwards): bug 782
1382 2003-04-07 John Levon <levon@movementarian.org>
1384 * paragraph.C: remove dead comment
1386 * text.C: remove troublesome depth-fiddling code
1387 in leftMargin() and rightMargin() (bug 1017)
1389 * text.C: fix breaking of rows in nested lists
1392 * text2.C (updateCounters): fix up depth values
1395 2003-04-07 John Levon <levon@movementarian.org>
1397 * BufferView_pimpl.C: clear message when doc finishes resizing,
1398 and after a mouse event
1400 * lyxfunc.C: clear message after exiting inset
1402 2003-04-07 John Levon <levon@movementarian.org>
1404 * bufferview_funcs.C: show math status not outside
1405 status in the statusbar
1407 2003-04-07 John Levon <levon@movementarian.org>
1409 * lyxfunc.C: note status changed after a depth change
1411 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1413 * LaTeX.h: move AuxInfo operator==, != out of line.
1414 Remove LaTeX virtual destructor; nothing derives from it.
1415 Move operator()() out of public area and rename it startscript().
1416 Change protected for private.
1418 2003-04-04 Angus Leeming <leeming@lyx.org>
1421 * text2.C: remove unneeded #includes.
1423 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1425 * text2.C (dEPM): fix the heigth of the next row
1427 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1429 * text.C: squashed an invalid getChar requester + some ws changes
1431 2003-04-03 John Levon <levon@movementarian.org>
1433 * bufferview_funcs.h:
1434 * bufferview_funcs.C:
1437 * text2.C: make getStatus work for the env depth lfuns
1439 2003-04-03 John Levon <levon@movementarian.org>
1441 * bufferview_funcs.h:
1442 * bufferview_funcs.C:
1445 * text2.C: parlistize decDepth(), by merging it with incDepth()
1447 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1449 * lyxrow.h: store a ParagraphList::iterator instead of a
1450 Paragraph* and adjust other class functions to suit.
1452 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1455 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1457 * text2.C (setCursor): do not anchor to cursor row for the time being
1459 2003-04-02 John Levon <levon@movementarian.org>
1466 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1468 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * paragraph.h: make ParagraphList and ParagraphList::iterator
1471 friends of Paragraph.
1473 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1475 * ParagraphList.C: Use the private next_ and previous_ from
1478 2003-04-01 John Levon <levon@movementarian.org>
1482 * Makefile.am: rename, remove defaults gunk
1485 * MenuBackend.C: remove defaults gunk
1488 * Languages.C: remove defaults gunk
1491 * lyx_main.C: error out if files couldn't be found.
1493 2003-04-02 John Levon <levon@movementarian.org>
1495 * text2.C: make incDepth() use parlist
1497 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1499 * undo_funcs.C (firstUndoParagraph): adjust
1501 * text3.C (gotoInset): adjust
1502 (dispatch): adjust, and rewrite loop.
1504 * text2.C (init): adjust, and rewrite loop.
1505 (redoParagraphs): adjust
1506 (updateInset): adjust, and rewrite loop.
1507 (deleteEmptyParagraphMechanism): adjust
1509 * tabular.C (LyXTabular): adjust
1510 (SetMultiColumn): adjust
1513 * lyxtext.[Ch] (ownerParagraph): delete function
1514 (ownerParagraphs): new function returns a ParagraphList.
1516 * BufferView.C (removeAutoInsets): adjust
1517 (insertErrors): adjust
1518 (setCursorFromRow): adjust
1520 2003-04-01 Angus Leeming <leeming@lyx.org>
1522 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1525 2003-04-02 John Levon <levon@movementarian.org>
1531 * text_funcs.C: make transposeChars a free function
1533 * lyxrow_funcs.C: remove wrong comment
1535 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1538 * rowpainter.C: adjust
1543 * lyxrow_funcs. [Ch]: new files
1545 * lyxrow.[Ch]: remove next and previous pointers
1546 (next,previous): remove accessor functions
1547 (isParEnd): move to lyxrow_funcs
1548 (lastPos): move to lyxrow_funcs
1549 (nextRowIsAllInset): move to lyxrow_funcs
1550 (lastPrintablePos): move to lyxrow_funcs
1551 (numberOfSeparators): move to lyxrow_funcs
1552 (numberOfHfills): move to lyxrow_funcs
1553 (numberOfLabelHfills): move to lyxrow_funcs
1554 (hfillExpansion): move to lyxrow_funcs
1558 * bufferview_funcs.C (toggleAndShow): adjust
1560 * RowList.h: Remove class RowList from file leave just a
1563 * RowList.C: delete file
1565 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1568 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1570 * text3.C (cursorPrevious): adjust
1571 (cursorNext): adjust
1574 * text2.C (redoHeightOfParagraph): adjust
1575 (redoDrawingOfParagraph): adjust
1578 * text.C (breakParagraph): adjust
1579 (insertChar): adjust
1582 * rowpainter.C (RowPainter): adjust
1583 (leftMargin): simplify and adjust
1584 (most rowpainter functions): adjust.
1586 * rowpainter.h: store the row as RowList::iterator not as Row*
1588 * lyxcursor.C (row): taka RowList::iterator as arg
1591 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1594 2003-04-01 Angus Leeming <leeming@lyx.org>
1596 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1597 stuff like bool Bool.
1599 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1601 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1604 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1609 * lyxtext.h (rows): drop one version and leve a const variant that
1610 returns a RowList::iterator.
1612 2003-03-31 Angus Leeming <leeming@lyx.org>
1614 * text.C (fill): ensure that the signature is the same as that in the
1617 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1619 * text2.C (redoParagraphs): adjust
1620 (updateCounters): adjust
1621 (checkParagraph): adjust
1622 (getColumnNearX): adjust and reformat a bit.
1624 * text.C (top_y): adjust
1626 (leftMargin): adjust
1627 (prepareToPrint): adjust
1629 (getRowNearY): adjust
1631 * lyxtext.h: make rowlist_ mutable.
1633 * RowList.h: add const_iterator
1634 * RowList.C: adjust for RowList::const_iterator.
1636 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1639 2003-03-31 John Levon <levon@movementarian.org>
1642 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1644 * lyx_main.C: set default fonts from using lyx_gui funcs
1646 * exporter.C: pdf_mode moved from lyxrc
1649 * lyxfunc.C: changes from above
1651 2003-03-31 John Levon <levon@movementarian.org>
1653 * lyx_main.C: fix to the last fix
1655 2003-03-31 John Levon <levon@movementarian.org>
1657 * bufferlist.C: "Load original" -> "Load Original"
1663 * format.C: more Alert cleanups
1665 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * text2.C (removeParagraph): make it take a RowList::iterator as
1669 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1670 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1672 * text.C (anchor_row): make it take a RowList::iterator as arg,
1674 (computeBidiTables): make it take a const reference to Row instead
1675 of Row pointer, adjust.
1676 (leftMargin): make it take a RowList::iterator as arg, adjust.
1677 (rowBreakPoint): adjust
1678 (breakAgainOneRow): make it take a RowList::iterator as arg,
1680 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1682 * bufferview_funcs.C (toggleAndShow): adjust
1684 2003-03-30 John Levon <levon@movementarian.org>
1688 * boost-inst.C: moved to support
1690 * several files: changes as a result
1692 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1694 * text2.C (LyXText): adjust.
1696 (removeRow): make it take a RowList::iterator as arg, adjust.
1697 (fullRebreak): adjust
1698 (deleteEmptyParagraphMechanism): adjust
1699 (clearPaint): adjust
1702 * text.C (top_y): adjust
1703 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1704 (breakAgain): make it take a RowList::iterator as arg, adjust.
1705 (breakParagraph): adjust
1706 (insertChar): adjust
1709 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1710 need_break_row, and refresh_row.
1712 * text3.C (dispatch): adjust
1714 * text2.C (checkParagraph): adjust
1716 (setCursorFromCoordinates): adjust
1718 * text.C (top_y): adjust
1720 (getRow): make it return a RowList::iterator, adjust
1721 (getRowNearY): make it return a RowList::iterator, adjust
1723 * text2.C (init): adjust
1724 (insertRow): remove function
1725 (insertParagraph): adjust
1726 (redoParagraphs): adjust
1727 (fullRebreak): adjust
1728 (updateCounters): adjust
1730 * text.C (top_y): rewrite to use RowList iterators.
1732 (setHeightOfRow): rewrite to sue RowList iterators.
1733 (appendParagraph): adjust
1734 (breakAgain): adjust
1735 (breakAgainOneRow): adjust
1736 (breakParagraph): adjust
1738 (getRowNearY): adjust, and remove commented code.
1740 * lyxtext.h (firstRow): delete function
1741 (lastRow): delete function
1742 (rows): new function (const and non-const versions.)
1743 (insertRow): delete function
1745 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1747 2003-03-29 John Levon <levon@movementarian.org>
1749 * BufferView_pimpl.C: always update scrollbar top
1750 because pasting text when we're anchored could mean we
1751 miss an update altogether
1753 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1755 * text2.C (init): use rowlist_.end() and not 0.
1756 (insertRow): change to take a RowList::iterator as arg, adjust
1758 (insertParagraph): change to take a RowList::iterator as arg,
1760 (redoParagraphs): remove some debug msgs.
1762 * text.C (appendParagraph): change to take a RowList::iterator
1763 arg, adjust for this.
1764 (breakAgain): add an assert
1765 (breakAgainOneRow): ditto
1767 2003-03-29 John Levon <levon@movementarian.org>
1769 * text2.C: do not clear selection after inc/decDepth
1772 2003-03-29 John Levon <levon@movementarian.org>
1775 * buffer.C: fix broken strerrors according to Lars
1777 2003-03-29 John Levon <levon@movementarian.org>
1779 * converters.C: more Alert cleanups
1781 2003-03-29 John Levon <levon@movementarian.org>
1783 * bufferview_funcs.C: remove pointless Alert
1785 * buffer.C: fix confusing error message when
1786 a template is chmoded 000
1788 2003-03-29 John Levon <levon@movementarian.org>
1792 * BufferView_pimpl.C: Alert fixes
1796 * tabular-old.C: remove unused table compat reading
1798 2003-03-29 John Levon <levon@movementarian.org>
1803 * lyx_cb.C: more Alert cleanups
1805 * lyxfunc.C: don't allow chktex if not latex document
1807 2003-03-29 John Levon <levon@movementarian.org>
1811 * buffer.C: warnings pushed down from support/,
1814 2003-03-29 John Levon <levon@movementarian.org>
1816 * lyxfunc.C: safety check for C-r (revert)
1818 2003-03-29 John Levon <levon@movementarian.org>
1821 * bufferlist.C: several UI fixes using Alert::prompt.
1822 Fix the pointless looping quit code. Fix stupid revert
1827 * lyx_cb.C: use Alert::prompt
1829 * lyx_main.C: remove a silly question
1831 * lyxfunc.C: remove a couple of silly questions,
1834 2003-03-28 John Levon <levon@movementarian.org>
1836 * text2.C: fix bug 974 (End on empty par)
1838 2003-03-28 John Levon <levon@movementarian.org>
1840 * BufferView_pimpl.C:
1842 * lfuns.h: remove do-nothing math greek lfuns
1844 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1846 * lyxgluelength.h (isValidGlueLength): add default arg on
1847 parameter 2. Remove default arg from friend in class.
1849 * lyxlength.h (isValidLength): add default arg on parameter 2.
1850 Remove default arg from friend in class.
1852 * text2.C (LyXText): adjust, initialize refresh_row.
1856 (insertParagraph): adjst
1857 (redoParagraphs): adjust
1858 (fullRebreak): adjust
1859 (updateCounters): adjust
1860 (deleteEmptyParagraphMechanism): first attempt at fixing a
1863 * text.C (top_y): adjust
1864 (setHeightOfRow): adjust
1866 (getRowNearY): adjust
1868 * lyxtext.h: include RowList.h
1869 (~LyXText): not needed anymore, deleted.
1870 (firstRow): modify for RowList
1871 (lastRow): new function
1872 Delete firstrow and lastrow class variables, add a Rowlist
1873 rowlist_ class variable.
1875 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1878 * RowList.C (insert): fix case where it == begin().
1880 2003-03-26 Angus Leeming <leeming@lyx.org>
1882 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1883 the thesaurus dialog.
1885 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1887 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1889 * RowList.[Ch]: new files
1891 * ParagraphList.C (erase): handle the case where it == begin
1894 2003-03-25 John Levon <levon@movementarian.org>
1898 * aspell.C: add new aspell support
1901 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1904 2003-03-25 Angus Leeming <leeming@lyx.org>
1907 * LyXAction.C (init): new LFUN_INSET_INSERT.
1909 * BufferView_pimpl.C (dispatch): split out part of the
1910 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1912 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1915 2003-03-25 Angus Leeming <leeming@lyx.org>
1917 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1919 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1922 * text3.C: remove useless row->height(0)
1924 2003-03-25 John Levon <levon@movementarian.org>
1928 * text3.C: rename the refreshing stuff to better names
1930 2003-03-24 John Levon <levon@movementarian.org>
1932 * BufferView_pimpl.h:
1933 * BufferView_pimpl.C: update layout choice on a mouse
1936 2003-03-23 John Levon <levon@movementarian.org>
1938 * Makefile.am: fix commandtags.h reference
1940 2003-03-22 John Levon <levon@movementarian.org>
1942 * BufferView_pimpl.C:
1947 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
1949 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
1952 * text.C: take the rtl methods out of line
1954 2003-03-21 André Pönitz <poenitz@gmx.net>
1956 * metricsinfo.[Ch]: new files containing structures to be passed around
1957 during the two-phase-drawing...
1959 2003-03-21 André Pönitz <poenitz@gmx.net>
1961 * lyxtextclass.C: read 'environment' tag.
1963 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
1965 * text2.C (removeRow): fix bug 964
1967 2003-03-20 John Levon <levon@movementarian.org>
1971 * text2.C: paint cleanups. Inset::update() dropped font
1974 2003-03-19 John Levon <levon@movementarian.org>
1976 * lyxfunc.C: only fitcursor/markDirty if available()
1978 2003-03-19 John Levon <levon@movementarian.org>
1980 * commandtags.h: rename to ...
1982 * lfuns.h: ... this, and renumber / cleanup
1984 2003-03-19 John Levon <levon@movementarian.org>
1986 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
1987 fit the cursor after an lfun
1991 * BufferView_pimpl.h:
1992 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
1994 * LyXAction.C: layout-character should have ReadOnly
1996 * ParagraphParameters.C:
1998 * bufferview_funcs.C:
2005 * undo_funcs.C: changes from above
2007 2003-03-18 John Levon <levon@movementarian.org>
2009 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2010 remove it from update()
2012 * lyxfunc.C: update layout choice after an lfun
2014 * text3.C: remove extra updateLayoutChoice()s
2016 2003-03-18 John Levon <levon@movementarian.org>
2018 * text.C: top_y change means full repaint, fix
2019 a drawing bug with cursor movement
2021 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2025 * text2.C: anchor row on setCursor
2027 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2029 * lyxtext.h: remove almost all mutable keywords
2032 * text3.C: remove const keywords accordingly
2034 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2036 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2038 (TeXEnvironment): ditto
2041 2003-03-17 John Levon <levon@movementarian.org>
2043 * text.C (rowBreakPoint): remove attempt to fix displayed
2044 math insets inside a manual label
2046 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2048 * lyxtext.h: remove BufferView* as first arg from almost all class
2050 * other files: adjust.
2052 2003-03-17 John Levon <levon@movementarian.org>
2056 * text2.C: more paint cleanups
2058 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2061 * rowpainter.C: remove "smart" background painting code
2063 2003-03-16 John Levon <levon@movementarian.org>
2068 * text3.C: add helper functions for setting refresh_row/y
2070 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2072 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2073 newline inset which *can* get inserted in the pass_thru layouts.
2074 This is primarily for literate documents.
2076 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2078 * buffer.C: increment LYX_FORMAT to 223
2080 2003-03-14 André Pönitz <poenitz@gmx.net>
2082 * textclass.h: prepare for environment handling, ws changes
2083 * lyxlayout.C: read latexheader and latexfooter tags
2085 2003-03-14 John Levon <levon@movementarian.org>
2087 * text2.C: rewrite ::status() a bit
2089 2003-03-13 John Levon <levon@movementarian.org>
2091 * lyxtext.h: add some docs
2093 2003-03-13 John Levon <levon@movementarian.org>
2098 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2100 2003-03-13 John Levon <levon@movementarian.org>
2102 * text3.C: fix appendix redrawing
2104 2003-03-13 John Levon <levon@movementarian.org>
2106 * text.C (setHeightOfRow):
2108 * rowpainter.C: make appendix mark have the text
2109 "Appendix" so the user knows what it is
2112 * LColor.C: s/appendixline/appendix/ from above
2114 2003-03-13 John Levon <levon@movementarian.org>
2116 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2118 * text.C: fix a getChar(pos) bug properly
2120 2003-03-13 Angus Leeming <leeming@lyx.org>
2123 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2124 Probably only temporary. Let's see how things pan out.
2126 * BufferView.C (unlockInset):
2127 * BufferView_pimpl.C (fitCursor):
2128 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2130 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2131 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2133 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2134 new functions that convert ParagraphParameters to and from a string.
2136 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2137 BufferView::Pimpl's dispatch.
2138 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2140 2003-03-13 André Pönitz <poenitz@gmx.net>
2144 * factory.C: make it aware of InsetEnv
2146 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * text2.C (setCursor): never ask for one past last
2149 (setCursor): add some debugging messages.
2151 * text.C (singleWidth): never ask for one past last
2152 (singleWidth): ditto
2154 (rightMargin): ditto
2155 (rowBreakPoint): ditto
2156 (setHeightOfRow): ditto
2157 (prepareToPrint): ditto
2159 * rowpainter.C (paintBackground): never ask for one past last
2160 (paintText): never ask for one past last
2162 * paragraph_pimpl.C (getChar): make the assert stricter, never
2163 allow the one past last pos to be taken
2165 * paragraph.C (getChar): ws changes only
2167 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2168 (numberOfSeparators): ditto
2169 (numberOfHfills): ditto
2171 2003-03-12 John Levon <levon@movementarian.org>
2177 * paragraph_funcs.C: fix per-buffer authorlists
2179 2003-03-12 John Levon <levon@movementarian.org>
2181 * text.C: fix newline in right address
2183 2003-03-12 Angus Leeming <leeming@lyx.org>
2185 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2186 duplicate those in LyXFunc::dispatch.
2190 * ToolbarDefaults.C:
2191 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2192 Add LFUN_FONTFREE_UPDATE.
2194 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2195 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2197 * bufferview_func.[Ch]: several new functions to facilliate
2198 transfer of data to and from the character dialog.
2200 2003-03-12 John Levon <levon@movementarian.org>
2205 * paragraph_funcs.C:
2206 * paragraph_pimpl.C:
2210 * text3.C: remove META_NEWLINE in favour of an inset
2213 * rowpainter.C: remove paintNewline (done by inset)
2215 2003-03-12 John Levon <levon@movementarian.org>
2217 * paragraph_pimpl.C: complain about bad getChar()s
2218 for a while at least
2220 2003-03-12 John Levon <levon@movementarian.org>
2223 * buffer.C: move paragraph read into a separate function,
2224 a little renaming to reflect that.
2227 * bufferparams.C: remove the author_ids map, not necessary now
2230 * factory.C: moved Buffer::readInset to here
2232 * paragraph_funcs.h:
2233 * paragraph_funcs.C: readParagraph free function moved from
2236 * tabular.C: name change
2238 2003-03-12 John Levon <levon@movementarian.org>
2241 * ParagraphParameters.C: move par params input to
2244 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2245 behave like a normal read from the stream wrt reading
2246 a line vs. a \\token
2248 2003-03-12 John Levon <levon@movementarian.org>
2251 * ParagraphParameters.h:
2252 * ParagraphParameters.C: move output code to a
2255 2003-03-12 John Levon <levon@movementarian.org>
2257 * BufferView.C (insertLyXFile):
2260 * tabular.C: use a parlist iterator for creating the
2263 2003-03-12 John Levon <levon@movementarian.org>
2265 * buffer.C: make current_change static local not
2268 2003-03-12 John Levon <levon@movementarian.org>
2270 * buffer.C: fix insertStringAsLines for change tracking
2272 2003-03-12 John Levon <levon@movementarian.org>
2279 * bufferparams.C: move author list into params. Rename some
2280 functions. Move the header reading into a separate token
2281 loop. Move the header token reading into BufferParams.
2283 2003-03-12 John Levon <levon@movementarian.org>
2285 * changes.C: put debug inside lyxerr.debugging() checks
2287 2003-03-11 André Pönitz <poenitz@gmx.net>
2289 * factory.C: make it aware of InsetHFill
2291 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2293 * buffer.C (latexParagraphs): move function from here...
2294 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2297 2003-03-10 Angus Leeming <leeming@lyx.org>
2299 * LyXAction.C (init): fix bug in poplating array with multiple entries
2300 with the same LFUN (spotted by JMarc).
2302 2003-03-10 John Levon <levon@movementarian.org>
2305 * text2.C: move getColumnNearX() near its
2308 2003-03-10 John Levon <levon@movementarian.org>
2310 * text.C: fix break before a minipage
2312 2003-03-10 John Levon <levon@movementarian.org>
2314 * text.C: fix the last commit
2316 2003-03-09 John Levon <levon@movementarian.org>
2320 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2321 bug 365 (don't break before insets unless needed). Don't
2322 return a value > last under any circumstances.
2324 2003-03-09 Angus Leeming <leeming@lyx.org>
2326 * BufferView_pimpl.C (trackChanges, dispatch): call
2327 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2329 2003-03-09 Angus Leeming <leeming@lyx.org>
2331 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2332 than Dialogs::showAboutlyx().
2334 2003-03-09 Angus Leeming <leeming@lyx.org>
2336 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2337 than Dialogs::showTabularCreate().
2339 2003-03-09 John Levon <levon@movementarian.org>
2343 * text2.C: 3rd arg to nextBreakPoint was always the same.
2346 2003-03-08 John Levon <levon@movementarian.org>
2353 * text2.C: Remove the "main" bit from the "main body"
2356 2003-03-08 John Levon <levon@movementarian.org>
2358 * text.C (leftMargin): The left margin of an empty
2359 manual label paragraph should not include the label width
2362 * text.C (prepareToPrint): don't attempt to measure hfills
2363 for empty manual label paragraphs - the answer should be 0
2365 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2367 * CutAndPaste.C: remove commented code and reindent.
2369 2003-03-08 John Levon <levon@movementarian.org>
2372 * lyxfunc.C: move reloadBuffer()
2375 * BufferView.C: to here
2377 * lyxvc.C: add comment
2380 * vc-backend.C: call bv->reload() to avoid
2381 getStatus() check on MENURELOAD
2383 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2385 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2386 to an old format .dep file.
2388 2003-03-07 Angus Leeming <leeming@lyx.org>
2390 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2391 when the LFUN_MOUSE_RELEASE should have been handled by
2392 inset->localDispatch.
2394 2003-03-07 Angus Leeming <leeming@lyx.org>
2396 * BufferView_pimpl.C (dispatch):
2397 * LyXAction.C (init):
2398 * ToolbarDefaults.C (init):
2400 * lyxfunc.C (getStatus):
2401 remove LFUN_INSET_GRAPHICS.
2403 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2405 2003-03-07 Angus Leeming <leeming@lyx.org>
2408 * LyXAction.C (init):
2409 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2411 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2414 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2416 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2417 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2419 2003-03-07 Angus Leeming <leeming@lyx.org>
2421 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2424 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2426 * ParagraphList.C (front): new function
2429 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2431 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2432 and top_row_offset_. removed var first_y.
2434 * text2.C (LyXText, removeRow):
2436 * BufferView_pimpl.C:
2437 use these methods instead of using first_y
2439 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2441 * text2.C (pasteSelection): adjust for checkPastePossible
2443 * CutAndPaste.C: remove Paragraph * buf and replace with
2444 ParagraphList paragraphs.
2445 (DeleteBuffer): delete
2446 (cutSelection): change the tc type to textclass_type
2447 (copySelection): change the tc type to textclass_type
2448 (copySelection): adjust for ParagraphList
2449 (pasteSelection): change the tc type to textclass_type
2450 (pasteSelection): adjust for Paragraphlist
2451 (nrOfParagraphs): simplify for ParagraphList
2452 (checkPastePossible): simplify for ParagraphList
2453 (checkPastePossible): remove unused arg
2455 * ParagraphList.C (insert): handle the case where there are no
2458 * CutAndPaste.h: make CutAndPaste a namespace.
2460 * text3.C (dispatch): adjust
2462 * text.C (breakParagraph): add a ParagraphList as arg
2464 * paragraph_funcs.C (breakParagraph): change to take a
2465 BufferParams and a ParagraphList as args.
2466 (breakParagraphConservative): ditto
2467 (mergeParagraph): ditto
2468 (TeXDeeper): add a ParagraphList arg
2469 (TeXEnvironment): ditto
2472 * buffer.C (readLyXformat2): adjust
2473 (insertStringAsLines): adjust
2474 (latexParagraphs): adjust
2476 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2477 (cutSelection): adjust
2478 (pasteSelection): adjust
2480 * BufferView_pimpl.C (insertInset): adjust
2482 2003-03-05 Angus Leeming <leeming@lyx.org>
2485 * LyXAction.C (init):
2486 * BufferView_pimpl.C (dispatch):
2487 * lyxfunc.C (getStatus):
2488 remove LFUN_CHILD_INSERT.
2490 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2492 2003-03-05 Angus Leeming <leeming@lyx.org>
2495 * LyXAction.C (init):
2496 * src/factory.C (createInset):
2497 * lyxfunc.C (getStatus):
2498 * text3.C (dispatch):
2499 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2501 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2503 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2505 * ParagraphList.C (insert): handle insert right before end()
2506 (erase): fix cases where it can be first or last paragraph.
2508 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2510 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2511 Paragraph::next and Paragraph::previous
2514 * text.C (breakParagraph): adjust
2516 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2517 BufferParams& as arg.
2518 (breakParagraph): use ParagraphList::insert
2519 (breakParagraphConservative): take a Buffer* instead of a
2520 BufferParams& as arg.
2521 (breakParagraphConservative): use ParagraphList::insert.
2523 * buffer.C (insertStringAsLines): un-const it
2524 (insertStringAsLines): adjust
2526 * ParagraphList.C (insert): new function
2528 * CutAndPaste.C (pasteSelection): adjust
2530 * text.C (backspace): adjust
2532 * tabular.C (SetMultiColumn): adjust
2534 * CutAndPaste.C (cutSelection): adjust
2535 (pasteSelection): adjust
2537 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2538 Buffer const * as arg
2540 * ParagraphList.C (erase): new function
2541 * paragraph_funcs.C (mergeParagraph): use it
2542 (mergeParagraph): make it take a Buffer* instead of a
2543 BufferParams* as arg
2545 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2547 (breakParagraphConservative): ditto
2549 * paragraph.h: remove the breakParagraph friend
2551 * paragraph.C (eraseIntern): new function
2552 (setChange): new function
2554 * paragraph_funcs.C (mergeParagraph): make it take a
2555 ParagraphList::iterator instead of a Paragraph *, adjust
2558 * paragraph.h: move an #endif so that the change tracking stuff
2559 also works in the NO_NEXT case.
2561 2003-03-04 Angus Leeming <leeming@lyx.org>
2564 * LyXAction.C: new LFUN_INSET_MODIFY.
2566 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2567 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2569 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2571 * several files: ws changes only
2573 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2574 (TeXEnvironment): ditto
2577 * buffer.C (makeLaTeXFile): adjust
2578 (latexParagraphs): make it take ParagraphList::iterator as args
2580 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * buffer.C (latexParagraphs): adjust
2584 * paragraph.C (TeXOnePar): move function...
2585 (optArgInset): move function...
2586 (TeXEnvironment): move function...
2587 * paragraph_pimpl.C (TeXDeeper): move function...
2588 * paragraph_funcs.C: ...here
2590 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2592 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * buffer.C (readInset): remove compability code for old Figure and
2597 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2599 * buffer.C: ws changes
2602 * BufferView_pimpl.C: ditto
2605 * bufferlist.h: ditto
2609 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2611 * converter.[Ch]: split into itself +
2614 * Makefile.am: += graph.[Ch] + format.[Ch]
2621 * lyxrc.C: added #include "format.h"
2623 2003-02-27 Angus Leeming <leeming@lyx.org>
2625 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2628 * factory.C (createInset): add "label" to the factory.
2630 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2631 string and do no more.
2633 2003-02-27 Angus Leeming <leeming@lyx.org>
2636 * LyXAction.C (init):
2637 * factory.C (createInset):
2638 * BufferView_pimpl.C (dispatch):
2639 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2641 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2643 * lyxfunc.C (dispatch):
2644 * text3.C (dispatch): pass name to params2string.
2646 2003-02-26 Angus Leeming <leeming@lyx.org>
2648 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2650 Rearrange the ~includes. Strip out the unnecessary ones.
2652 * factory.C (createInset): reformat.
2653 create new insets for the various LFUN_XYZ_APPLY lfuns.
2655 2003-02-26 John Levon <levon@movementarian.org>
2658 * lyxrow.C: add isParStart,isParEnd helpers
2660 * paragraph.h: make isInserted/DeletedText take refs
2662 * paragraph_funcs.h:
2663 * paragraph_funcs.C: remove #if 0'd code
2668 * text.C: use lyxrow helpers above.
2669 Move draw and paint routines to RowPainter.
2670 Make several methods use refs not pointers.
2671 Make backgroundColor() const.
2672 Add markChangeInDraw(), isInInset().
2673 Merge changeRegionCase into changeCase.
2674 Make workWidth() shouldn't-happen code into an Assert.
2677 * rowpainter.C: new class for painting a row.
2680 * vspace.C: make inPixels take a ref
2682 2003-02-26 Angus Leeming <leeming@lyx.org>
2684 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2687 2003-02-25 John Levon <levon@movementarian.org>
2689 * ispell.C: give the forked command a more accurate name
2691 2003-02-22 John Levon <levon@movementarian.org>
2694 * toc.C: make TocItem store an id not a Paragraph *
2697 2003-02-21 Angus Leeming <leeming@lyx.org>
2699 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2700 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2701 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2702 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2703 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2704 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2706 * BufferView_pimpl.C (dispatch):
2707 * LyXAction.C (init):
2708 * factory.C (createInset):
2709 * lyxfunc.C (getStatus, dispatch):
2710 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2712 2003-02-21 Angus Leeming <leeming@lyx.org>
2714 * BufferView_pimpl.C (MenuInsertLyXFile):
2715 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2716 * lyxfunc.C (menuNew, open, doImport):
2717 no longer pass a LyXView & to fileDlg.
2719 2003-02-21 Angus Leeming <leeming@lyx.org>
2721 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2722 * LyXAction.C: change, BIBKEY to BIBITEM.
2723 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2724 Change InsetBibKey to InsetBibitem.
2725 Change BIBKEY_CODE to BIBITEM_CODE.
2726 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2727 * factory.C: replace insetbib.h with insetbibitem.h.
2728 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2729 * paragraph.C: replace insetbib.h with insetbibitem.h.
2730 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2731 Change bibkey() to bibitem().
2732 * text.C: remove insetbib.h.
2733 * text2.C: replace insetbib.h with insetbibitem.h.
2734 change bibkey() to bibitem().
2735 * text3.C: remove insetbib.h.
2736 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2738 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2740 * lyxrc.C (output): enclose user email in quotes (in case there are
2743 2003-02-18 John Levon <levon@movementarian.org>
2745 * buffer.h: add std::
2747 2003-02-17 John Levon <levon@movementarian.org>
2753 * pspell.C: reworking. Especially in ispell, a large
2754 number of clean ups and bug fixes.
2756 * lyxfunc.C: fix revert to behave sensibly
2758 2003-02-17 André Pönitz <poenitz@gmx.net>
2761 * commandtags.h: new LFUN_INSERT_BIBKEY
2771 * paragraph_func.C: remove special bibkey handling
2773 2003-02-17 John Levon <levon@movementarian.org>
2775 * text.C (Delete): fix case where delete at the end of
2776 the very first paragraph would not merge the pars
2778 2003-02-17 John Levon <levon@movementarian.org>
2780 * lyxrow.C: fix lastPrintablePos()
2782 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2784 * bufferparams.C (writeLaTeX): add a std:here
2786 * buffer.C: and remove a using directive there
2788 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2790 * buffer.C (makeLaTeXFile): move the code that generates the
2793 * bufferparams.C (writeLaTeX): ... in this new method
2795 * LaTeXFeatures.C (getEncodingSet): make const
2796 (getLanguages): make const
2798 * MenuBackend.C (binding): returns the binding associated to this
2800 (add): sets the status of each item by calling getStatus. Adds
2802 (read): add support for OptSubMenu
2803 (expand): remove extra separator at the end of expanded menu
2805 2003-02-15 John Levon <levon@movementarian.org>
2808 * BufferView_pimpl.C:
2810 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2811 inset code that had no actual effect. Remove unneeded status
2814 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2816 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2819 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2821 * text.C (drawLengthMarker): also draw an arrow marker for
2822 symbolic lengths (medskip...)
2824 2003-02-14 John Levon <levon@movementarian.org>
2827 * tabular.C: better method names
2829 2003-02-14 John Levon <levon@movementarian.org>
2831 * BufferView_pimpl.C:
2836 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2837 it's a more accurate name. Remove some pointless uses.
2839 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2841 * text2.C (LyXText): change order of initilizers to shut off
2844 2003-02-14 John Levon <levon@movementarian.org>
2846 * buffer.C: use ParIterator for getParFromID()
2850 * paragraph_pimpl.h:
2851 * paragraph_pimpl.C: remove unused getParFromID()
2853 2003-02-14 John Levon <levon@movementarian.org>
2855 * buffer.C: remove some very old #if 0'd parse code
2857 2003-02-13 John Levon <levon@movementarian.org>
2861 * text2.C: move hfillExpansion(), numberOfSeparators(),
2862 rowLast(), rowLastPrintable(), numberofHfills(),
2863 numberOfLabelHfills() ...
2866 * lyxrow.C: ... to member functions here.
2871 * text.C: remove LyXText::beginningOfMainBody(), and call
2872 p->beginningOfMainBody() directly. Move the check for
2873 LABEL_MANUAL into the latter.
2880 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2886 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2887 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2889 2003-02-13 John Levon <levon@movementarian.org>
2891 * CutAndPaste.C: remove debug
2893 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2895 * paragraph.C (asString): remove two unused variables
2897 * lyxtextclass.C (readTitleType):
2899 (LyXTextClass): handle new members titletype_ and titlename_
2901 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2903 2003-02-09 John Levon <levon@movementarian.org>
2906 * buffer.C: replace hand-coded list with a map for the dep clean
2908 2003-02-08 John Levon <levon@movementarian.org>
2910 * LaTeX.C: consolidate code into showRunMessage() helper
2912 2003-02-08 John Levon <levon@movementarian.org>
2917 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2918 and pass the size in explicitly
2920 * BufferView_pimpl.h:
2921 * BufferView_pimpl.C:
2923 * BufferView.C: add getCurrentChange()
2925 * BufferView_pimpl.h:
2926 * BufferView_pimpl.C: handle change lfuns
2928 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2929 for changes. Mark pasted paragraphs as new.
2931 * support/lyxtime.h:
2932 * support/lyxtime.C:
2933 * DepTable.C: abstract time_t as lyx::time_type
2936 * LColor.C: add colours for new text, deleted text, changebars
2938 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
2939 package use "usenames" option.
2943 * LyXAction.C: add change lfuns
2947 * author.C: author handling
2950 * buffer.C: add a per-buffer author list, with first entry as
2951 current author. Handle new .lyx tokens for change tracking. Output
2952 author list to .lyx file. Output dvipost stuff to .tex preamble.
2953 Bump lyx format to 222.
2956 * bufferlist.C: add setCurrentAuthor() to reset current author details
2960 * bufferparams.C: add param for tracking
2962 * bufferview_funcs.C: output change info in minibuffer
2966 * changes.C: add change-tracking structure
2969 * debug.C: add CHANGES debug flag
2972 * lyxfind.C: add code for finding the next change piece
2975 * lyxrc.C: add user_name and user_email
2978 * lyxrow.C: add a metric for the top of the text line
2981 * text.C: implement accept/rejectChange()
2984 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
2985 Strike through deleted text.
2989 * paragraph_pimpl.h:
2990 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
2991 to the insert functions. Rework erase to mark text as deleted, adding
2992 an eraseIntern() and a range-based erase(). Implement
2993 per-paragraph change lookup and accept/reject.
2995 * paragraph_funcs.C: Fixup paste for change tracking.
2997 * tabular.C: mark added row/columns as new.
2999 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
3000 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
3002 * text2.C: leave cursor at end of selection after a cut.
3004 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3006 * text.C (getLengthMarkerHeight):
3007 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3008 visible on screen too.
3010 2003-02-07 John Levon <levon@movementarian.org>
3012 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3014 2003-02-05 Angus Leeming <leeming@lyx.org>
3016 * lyxserver.C (read_ready): revert my patch of 11 September last year
3017 as it sends PC cpu through the roof. Presumably this means that
3018 the lyxserver will no longer run on an Alpha...
3020 2003-01-30 Angus Leeming <leeming@lyx.org>
3022 * factory.C (createInset): create an InsetCommandParam of type "index"
3023 and use it to 'do the right thing'.
3025 * text2.C (getStringToIndex): ensure that cursor position is always
3026 reset to the reset_cursor position.
3028 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3030 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3033 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3037 * lyxfunc.C: Output messages with identical spelling, punctuation,
3040 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3042 * MenuBackend.C (expandFormats): List only viewable export formats
3045 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3048 * lyxfunc.C (getStatus): Make sure that formats other than
3049 "fax" can also be disabled
3051 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3053 * text3.C (dispatch): put the lfuns that insert insets in 3
3054 groups, and call doInsertInset with appropriate arguments.
3055 (doInsertInset): new function, that creates an inset and inserts
3056 it according to some boolean parameters.
3058 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3060 * buffer.C (readFile): remember to pass on 'par' when calling
3061 readFile recursively.
3063 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3065 * MenuBackend.C (expandFormats): add "..." to import formats.
3067 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3069 * paragraph.C (asString): Remove XForms RTL hacks.
3071 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3072 * buffer.C: fix typo
3074 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * Makefile.am (LIBS): delete var
3077 (lyx_LDADD): add @LIBS@ here instead.
3079 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3081 * Clarify the meaning of "wheel mouse jump"
3083 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3085 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3088 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3090 * importer.C (Loaders): do not preallocate 3 elements in the
3091 vector, since one ends up with 6 elements otherwise
3093 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3095 * DepTable.C (write): write the file name as last element of the
3096 .dep file (because it may contain spaces)
3097 (read): read info in the right order
3099 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3101 * paragraph_pimpl.C (simpleTeXBlanks):
3102 (simpleTeXSpecialChars):
3103 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3105 * tabular.C (latex): add some missing case statements. Reindent.
3107 * MenuBackend.C (expandToc): remove unused variable.
3109 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3118 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3121 2003-01-05 John Levon <levon@movementarian.org>
3124 * BufferView.C: add getEncoding()
3127 * kbsequence.C: do not store last keypress
3130 * lyxfunc.C: store last keypress here instead. Pass encoding
3133 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3135 * lyx_main.C (init): remove annoying error message when following
3136 symbolic links (bug #780)
3138 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3140 * text.C (insertChar):
3141 * lyxrc.C (getDescription): remove extra spaces
3143 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3145 * lyxrc.C (getDescription): remove extra spaces
3147 2002-12-20 John Levon <levon@movementarian.org>
3149 * text3.C: hack fix for page up/down across tall rows
3151 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3153 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3156 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3158 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3159 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3160 thesaurus is not compiled in
3162 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3164 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3166 2002-12-16 Angus Leeming <leeming@lyx.org>
3169 * lyx_main.C (init): remove override_x_deadkeys stuff.
3171 2002-12-12 John Levon <levon@movementarian.org>
3173 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3174 insert. Only remove shift modifier under strict
3177 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3179 * MenuBackend.C (expandToc): fix crash.
3181 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * MenuBackend.C (expandToc): gettext on float names.
3185 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3187 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3188 implement bool empty() [bug 490]
3190 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3194 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3196 * several files: ws changes
3198 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * text2.C (setCounter): clean up a bit, use boost.format.
3201 (updateCounters): initialize par upon declaration.
3203 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3204 if the layout exists. We do not just store the layout any more.
3205 (SwitchLayoutsBetweenClasses): use boost.format
3207 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3209 * converter.C (convert): if from and to files are the same, use a
3210 temporary files as intermediary
3212 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3215 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3217 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3219 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3221 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3223 * tabular.C (asciiPrintCell): use string(size, char) instead of
3226 * sgml.C (openTag): fix order of arguments to string constructor
3229 * lyxfunc.C (dispatch): use boost.format
3231 * lots of files: change "c" -> 'c'
3233 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3235 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3237 2002-11-25 Angus Leeming <leeming@lyx.org>
3239 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3241 * lyx_main.C (init): compile fix.
3243 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * lyx_cb.C (start): boost.formatify
3246 do not include <iostream>
3248 * lengthcommon.C: ws only
3250 * boost-inst.C,BoostFormat.h: add more explict instantations
3252 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3254 * lots of files: handle USE_BOOST_FORMAT
3256 2002-11-21 John Levon <levon@movementarian.org>
3258 * pspell.C: fix compile
3260 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3262 * lyxfunc.C (dispatch): use boost::format
3266 * lyxfont.C (stateText): use boost::format
3268 * lyx_main.C (LyX): use boost::format
3270 (queryUserLyXDir): ditto
3273 (typedef boost::function): use the recommened syntax.
3275 * importer.C (Import): use boost::format
3277 * debug.C (showLevel): use boost::format
3279 * converter.C (view): use boost::format
3284 * bufferview_funcs.C (currentState): use boost::format
3286 * bufferlist.C (emergencyWrite): use boost::format
3288 * buffer.C (readLyXformat2): use boost::format
3289 (parseSingleLyXformat2Token): ditto
3291 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3293 * LaTeX.C (run): use boost::format
3295 * Chktex.C (scanLogFile): use boost::format
3297 * BufferView_pimpl.C (savePosition): use boost::format
3298 (restorePosition): ditto
3299 (MenuInsertLyXFile): ditto
3301 * BoostFormat.h: help file for explicit instation.
3303 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3305 * tabular.C (latex): Support for block alignment in fixed width
3308 2002-11-17 John Levon <levon@movementarian.org>
3310 * BufferView_pimpl.C:
3312 * lyxfunc.C: split filedialog into open/save
3314 2002-11-08 Juergen Vigna <jug@sad.it>
3316 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3317 by my last patch (hopefully).
3319 2002-11-08 John Levon <levon@movementarian.org>
3328 * toc.C: ParConstIterator, and use it (from Lars)
3330 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3332 * lyxtextclass.[Ch]: revise and add doxygen comments
3334 2002-11-07 John Levon <levon@movementarian.org>
3336 * text.C: fix progress value for spellchecker
3338 * toc.C: fix navigate menu for insetwrap inside minipage
3340 * paragraph_funcs.C: added FIXME for suspect code
3342 2002-11-07 John Levon <levon@movementarian.org>
3344 * BufferView_pimpl.C: fix redrawing of insets
3347 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3349 * text2.C (updateCounters): fix bug 668
3351 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3353 * text3.C (dispatch): Do not make the buffer dirty when moving the
3356 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3358 * vc-backend.C: STRCONV
3361 * text2.C (setCounter): STRCONV
3363 * paragraph.C (asString): STRCONV
3365 * lyxlength.C (asString): STRCONV
3366 (asLatexString): ditto
3368 * lyxgluelength.C (asString): STRCONV
3369 (asLatexString): ditto
3371 * lyxfunc.C (dispatch): STRCONV
3374 * lyxfont.C (stateText): STRCONV
3376 * importer.C (Import): STRCONV
3378 * counters.C (labelItem): STRCONV
3379 (numberLabel): ditto
3380 (numberLabel): remove unused ostringstream o
3385 * bufferview_funcs.C (currentState): STRCONV
3387 * buffer.C (readFile): STRCONV
3388 (asciiParagraph): ditto
3389 (makeLaTeXFile): ditto
3391 * Spacing.C (writeEnvirBegin): STRCONV
3393 * LaTeXFeatures.C (getLanguages): STRCONV
3394 (getPackages): ditto
3396 (getBabelOptions): ditto
3397 (getTClassPreamble): ditto
3398 (getLyXSGMLEntities): ditto
3399 (getIncludedFiles): ditto
3403 (scanAuxFile): ditto
3406 * LString.h: add the STRCONV macros
3408 * BufferView_pimpl.C (savePosition): STRCONV
3409 (restorePosition): ditto
3410 (MenuInsertLyXFile): ditto
3412 * vc-backend.C (scanMaster): change from submatch[...] to
3415 * funcrequest.C: include config.h
3417 * factory.C: include config.h
3419 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3421 * box.C: include config.h
3423 * LaTeX.C (scanAuxFile): change from submatch[...] to
3427 2002-10-25 Angus Leeming <leeming@lyx.org>
3429 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3431 * ispell.[Ch] (setError): new method.
3432 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3433 Use setError() insetead of goto END.
3435 * lyx_cb.C (AutoSave): move out child process into new class
3438 2002-10-30 John Levon <levon@movementarian.org>
3440 * text3.C: make start appendix undoable
3442 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3444 * lyxlength.C (inPixels): Fix returned value.
3446 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3449 2002-10-24 Angus Leeming <leeming@lyx.org>
3451 * lyxgluelength.h: no need to forward declare BufferParams
3452 or BufferView, so don't.
3454 2002-10-21 John Levon <levon@movementarian.org>
3456 * BufferView.C: menuUndo ->undo, redo
3458 * BufferView.h: document, remove dead, make some methods private
3460 * paragraph_funcs.h:
3461 * paragraph_funcs.C:
3462 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3467 * sgml.C: move sgml open/close tag into sgml.C
3469 * bufferview_funcs.h: unused prototype
3472 * lyxfunc.C: remove unused
3475 * text.C: remove unused
3477 2002-10-21 John Levon <levon@movementarian.org>
3481 * BufferView_pimpl.h:
3482 * BufferView_pimpl.C: fix mouse wheel handling based on
3483 patch from Darren Freeman
3485 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3487 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3489 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3491 * lyxlength.C (inPixels): Fix hanfling of negative length.
3492 Fix LyXLength::MU case.
3494 2002-10-16 John Levon <levon@movementarian.org>
3496 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3498 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3500 * converter.C (view): add support for $$i (file name) and $$p
3501 (file path) for the viewer command. If $$i is not specified, then
3502 it is appended to the command (for compatibility with old syntax)
3504 2002-10-14 Juergen Vigna <jug@sad.it>
3506 * undo_funcs.C (textHandleUndo): alter the order in which the
3507 new undopar is added to the LyXText, as we have to set first
3508 the right prev/next and then add it as otherwise the rebuild of
3509 LyXText is not correct. Also reset the cursor to the right paragraph,
3510 with this IMO we could remove the hack in "redoParagraphs()".
3512 2002-10-09 Angus Leeming <leeming@lyx.org>
3514 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3515 to turn off an optimisation if a new inset is to be inserted.
3517 2002-10-11 André Pönitz <poenitz@gmx.net>
3519 * lyxtext.h: make some functions public to allow access
3520 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3522 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3524 * text3.C (dispatch): when changing layout, avoid an infinite loop
3527 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3529 * lyxrc.C (read): treat a viewer or converter command of "none" as
3532 * MenuBackend.C (expandFormats): for an update, also allow the
3533 formats that are not viewable
3535 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3536 script if it is newer than the lyxrc.defaults in user directory
3538 2002-10-07 André Pönitz <poenitz@gmx.net>
3540 * text.C: Vitaly Lipatov's small i18n fix
3542 2002-09-25 Angus Leeming <leeming@lyx.org>
3544 * ispell.h: doxygen fix.
3546 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3548 * buffer.h (readFile): Add a new argument to the method, to allow
3549 reading of old-format templates.
3551 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3553 * toc.C (getTocList): Get TOC from InsetWrap.
3555 2002-09-16 John Levon <levon@movementarian.org>
3557 * lyxfunc.C: check tabular for cut/copy too
3559 2002-09-12 John Levon <levon@movementarian.org>
3564 * factory.C: add header
3566 * paragraph_funcs.h:
3567 * paragraph_funcs.C: cleanup
3569 2002-09-11 John Levon <levon@movementarian.org>
3571 * PrinterParams.h: odd/even default to true
3573 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3575 * PrinterParams.h: update printer parameters for new xforms dialog
3577 2002-09-11 Angus Leeming <leeming@lyx.org>
3579 * lyxserver.C (read_ready): re-write to make it more transparent
3580 and to make it work in coherent fashion under Tru64 Unix.
3582 2002-09-11 André Pönitz <poenitz@gmx.net>
3586 * text3.C: implement LFUN_WORDSEL
3588 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3590 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3591 make floatlist_ a boost::shared_ptr<FloatList>
3593 * lyxtextclass.C: include FloatList.h
3594 (LyXTextClass): initialize floatlist_
3595 (TextClassTags): add TC_NOFLOAT
3596 (Read): match "nofloat" to TC_NOFLOAT and use it.
3597 (readFloat): modify call to floatlist_
3601 * FloatList.[Ch] (FloatList): remove commented out float
3603 (erase): new function
3605 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3607 * MenuBackend.C (expandToc): fix crash when there is no document
3610 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3612 * many files: Add insetwrap.
3614 2002-09-09 John Levon <levon@movementarian.org>
3616 * text2.C: remove confusing and awkward depth wraparound
3618 2002-09-09 John Levon <levon@movementarian.org>
3620 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3623 * buffer.C: remove getIncludeonlyList()
3626 * lyxfunc.C: remove headers
3628 2002-09-09 Juergen Vigna <jug@sad.it>
3630 * text.C (getColumnNearX): fix form Michael this is most
3631 probably a cut&paste bug.
3633 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3635 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3637 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3638 references, ws changes.
3640 * text2.C (init): update counters after init
3641 (insertParagraph): no need to set counter on idividual paragraphs.
3642 (setCounter): access the counters object in the textclass object
3643 on in the buffer object.
3644 (updateCounters): ditto
3646 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3647 shared_ptr<Counters> to avoid loading counters.h in all
3649 (LyXTextClass): initialize ctrs_
3650 (TextClassTags): add TC_COUNTER, and ...
3651 (Read): use it here.
3652 (CounterTags): new tags
3653 (readCounter): new function
3654 (counters): new funtion
3655 (defaultLayoutName): return a const reference
3657 * counters.C (Counters): remove contructor
3658 (newCounter): remove a couple of unneeded statements.
3659 (newCounter): simplify a bit.
3660 (numberLabel): some small formatting changes.
3662 * buffer.[Ch]: remove all traces of counters, move the Counters
3663 object to the LyXTextClass.
3665 2002-09-06 Alain Castera <castera@in2p3.fr>
3667 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3668 package to set the horizontal alignment on fixed width columns.
3671 * lyx_sty.h: added tabularnewline macro def.
3673 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3675 2002-09-06 John Levon <levon@movementarian.org>
3677 * LyXAction.C: tooltips for sub/superscript
3679 * MenuBackend.C: a bit more verbose
3681 * lyxfunc.C: tiny clean
3683 * undo_funcs.C: document undo_frozen
3685 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3687 * counters.C (Counters): add missing algorithm counter.
3689 * text2.C (setCounter): lookup the counter with layouts latexname
3690 instead of by section number.
3691 (setCounter): use a hackish way to lookup the correct enum
3693 a float name->type change
3694 reset enum couners with counter name directly instead of depth value.
3696 * counters.C (Counters): remove the push_backs, change to use the
3697 float type not the float name.
3698 (labelItem): remove unused string, float name->type change
3700 * counters.h: don't include vector, loose the enums and sects vectors
3702 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3704 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3705 (Read): add float->TC_FLOAT to textclassTags
3706 (Read): and handle it in the switch
3707 (readFloat): new function
3709 * FloatList.C (FloatList): comment out the hardcoded float
3712 * lyxlayout.h: ws change.
3714 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3716 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3718 2002-09-03 Angus Leeming <leeming@lyx.org>
3720 * BufferView_pimpl.h: qualified name is not allowed in member
3721 declaration: WorkArea & Pimpl::workarea() const;
3723 * factory.C: added using std::endl directive.
3725 * text3.C: added using std::find and std::vector directives.
3727 2002-08-29 André Pönitz <poenitz@gmx.net>
3730 * text2.C: remove unused member number_of_rows
3733 * BufferView2.C: remove file, move contents to...
3734 * BufferView.C: ... here
3736 * BufferView_pimpl.C:
3737 * factory.C: move more inset creation to factory
3739 * vspace.C: avoid direct usage of LyXText, ws changes
3742 don't provide direct access to WorkArea, use two simple
3743 acessors haveSelction() and workHeight() instead
3746 2002-08-29 John Levon <levon@movementarian.org>
3748 * BufferView_pimpl.C (dispatch): do not continue when
3751 2002-08-28 André Pönitz <poenitz@gmx.net>
3753 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3756 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3758 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3760 * buffer.C: increment LYX_FORMAT to 221
3762 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3763 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3765 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3767 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3769 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3771 * factory.C (createInset): use LyXTextClass::floats
3773 * MenuBackend.C (expandFloatListInsert):
3774 (expandFloatInsert):
3777 * text2.C (setCounter):
3779 * LaTeXFeatures.C (useFloat):
3780 (getFloatDefinitions):
3782 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3784 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3785 floatlist_, with accessor floats().
3787 * FloatList.h: remove global FloatList
3789 2002-08-26 André Pönitz <poenitz@gmx.net>
3791 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3795 * BufferView_pimpl.C:
3796 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3798 2002-08-25 John Levon <levon@movementarian.org>
3800 * LyXAction.C: fix margin note description
3802 2002-08-24 John Levon <levon@movementarian.org>
3806 * bufferview_funcs.C:
3808 * undo_funcs.C: cleanups
3810 * lyxfunc.C: disable CUT/COPY when no selection
3812 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3814 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3815 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3817 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3818 Add backward compatibility to "mono", "gray" and "no".
3820 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3822 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3823 (and file_format >= 200).
3825 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3827 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3829 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3831 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3833 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3835 * BufferView_pimpl.C:
3842 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3843 inset and code to make it work with the paragraph code. The inset
3844 can be anywhere in the paragraph, but will only do the expected
3845 thing in LaTeX if the layout file contains the parameter line
3847 (or more generally, a nonzero value) for that layout.
3849 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3851 * paragraph.h: remove the declaration of undefined counters class
3854 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3856 * text2.C (setCounter): fixed enumeration mis-count as reported by
3857 Dr. Richard Hawkins.
3859 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3861 * paragraph_funcs.h: remove some unneeded includes
3863 * text.C (backspace): pasteParagraph now in global scipe
3865 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3866 (pasteSelection): ditto
3868 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3869 * paragraph_funcs.C (pasteParagraph): ... here
3871 2002-08-20 André Pönitz <poenitz@gmx.net>
3873 * commandtags.h: new LFUNs for swapping/copying table row/colums
3876 * lyxfunc.C: support for new lfuns
3878 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * buffer.[Ch]: remove NO_COMPABILITY stuff
3883 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3885 * boost.C (throw_exception): new file, with helper function for
3886 boost compiled without exceptions.
3891 * ParameterStruct.h:
3892 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3894 * bufferlist.C (emergencyWriteAll): use boost bind
3896 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3898 * text.C: include paragraph_funcs.h
3899 (breakParagraph): breakParagraph is now in global scope
3901 * paragraph_funcs.[Ch]: new files
3903 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3906 * buffer.C: include paragraph_funcs.h
3907 (insertStringAsLines): breakParagraph is now in global scope
3909 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3912 * CutAndPaste.C: include paragraph_funcs.h
3913 (cutSelection): breakParagraphConservative is now in global scope
3914 (pasteSelection): ditto
3916 * buffer.h: declare oprator== and operator!= for
3917 Buffer::inset_iterator
3919 * bufferlist.C (emergencyWrite): don't use fmt(...)
3921 * text3.C: add using std::endl
3923 * BufferView.C (moveCursorUpdate): remove default arg
3925 2002-08-20 André Pönitz <poenitz@gmx.net>
3927 * buffer.[Ch]: move inline functions to .C
3930 * BufferView_pimpl.C:
3932 * buffer.[Ch]: use improved inset_iterator
3935 * paragraph.[Ch]: write one paragraph at a time
3937 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
3939 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
3940 style if style is not specified.
3942 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3944 * text2.C (setCounter): when searching for right label for a
3945 caption, make sure to recurse to parent insets (so that a caption
3946 in a minipage in a figure float works) (bug #568)
3948 2002-08-20 André Pönitz <poenitz@gmx.net>
3950 * text3.C: new file for LyXText::dispatch() and helpers
3952 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
3954 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
3956 2002-08-19 André Pönitz <poenitz@gmx.net>
3959 * text.C: new LyXText::dispatch()
3961 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
3963 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
3965 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
3967 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
3970 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3972 * Makefile.am: use $(variables) instead of @substitutions@
3974 2002-08-15 André Pönitz <poenitz@gmx.net>
3977 * BufferView_pimpl.C: streamlining mathed <-> outer world
3981 * LyXAction.C: remove unused LFUN_MATH
3983 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3985 * paragraph.[Ch]: add some NO_NEXT ifdefs.
3987 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3989 * paragraph.C (Paragraph): reformat a bit
3990 (cutIntoMinibuffer): use builtin InsetList function instad of
3994 * buffer.C: include boost/bind.hpp, add using std::for_each
3995 (writeFileAscii): use ParagraphList iterators
3996 (validate): use for_each for validate traversal of paragraphs
3997 (getBibkeyList): use ParagraphList iterators
3998 (resizeInsets): use for_each to resizeInsetsLyXText for all
4000 (getParFromID): use ParagraphList iterators
4002 * BufferView2.C (lockInset): use paragraph list and iterators
4004 2002-08-14 John Levon <levon@movementarian.org>
4006 * lyxserver.C: remove spurious xforms include
4008 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4010 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4012 2002-08-13 André Pönitz <poenitz@gmx.net>
4015 * lyxfunc.C: further cleaning
4017 2002-08-13 André Pönitz <poenitz@gmx.net>
4019 * funcrequest.h: new constructor
4021 * funcrequest.C: move stuff here from .h
4024 * BufferView_pimpl.C:
4027 * lyxfunc.C: subsequent changes
4029 * lyxfunc.h: new view() member function
4031 * lyxfunc.C: subsequent changes
4033 2002-08-13 Angus Leeming <leeming@lyx.org>
4036 * BufferView_pimpl.C:
4044 changes due to the changed LyXView interface that now returns references
4045 to member variables not pointers.
4047 2002-08-13 Angus Leeming <leeming@lyx.org>
4049 * WordLangTuple (word, lang_code): return references to strings,
4054 * lyxtext.h: forward-declare WordLangTuple.
4059 * text.C: #include "WordLangTuple.h".
4062 * text.C: (selectNextWordToSpellcheck): constify return type.
4064 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4070 * paragraph_pimpl.h:
4073 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4075 Made updateCounter always count from start of buffer, and removed
4076 second argument (par).
4077 Reverted floats number display to '#'. Perhaps I'll try again when the
4078 code base is sanitized a bit.
4080 2002-08-12 Angus Leeming <leeming@lyx.org>
4082 * buffer.[Ch] (getLabelList): constify.
4084 2002-08-07 André Pönitz <poenitz@gmx.net>
4086 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4088 * funcrequest.h: extension to keep mouse (x,y) position
4090 2002-08-12 Juergen Vigna <jug@sad.it>
4092 * BufferView2.C (insertErrors): forbid undo when inserting error
4095 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4097 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4099 * ParagraphList.[Ch]: new files
4101 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4103 * BufferView2.C (lockInset): ParagraphList changes
4106 * bufferlist.C: ditto
4110 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4112 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4113 unused class variable counter_,
4115 * paragraph.[Ch] (getFirstCounter): delete unused function
4117 * counters.C: include LAssert.h
4118 (reset): add a new function with no arg, change other version to
4119 not have def. arg and to not allow empty arg.
4121 * text2.C (setCounter): remove empty arg from call to Counters::reset
4123 2002-08-11 John Levon <levon@movementarian.org>
4125 * Makefile.am: add WordLangTuple.h
4127 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4130 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4132 * insets/insettext.C: InsetList changes
4134 * graphics/GraphicsSupport.C (operator()): InsetList changes
4136 * toc.C (getTocList): InsetList changes
4138 * paragraph_pimpl.[Ch]: InsetList changes
4140 * paragraph.[Ch]: InsetList changes
4142 * buffer.C (inset_iterator): InsetList changes
4143 (setParagraph): ditto
4144 * buffer.h (inset_iterator): ditto
4145 * iterators.C (operator++): ditto
4146 * iterators.h: ditto
4148 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4150 * InsetList.[Ch]: new files, most InsetList handling moved out of
4153 * BufferView2.C (removeAutoInsets): InsetList changes
4155 (ChangeInsets): ditto
4157 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * paragraph_pimpl.h (empty): new function
4161 * paragraph.[Ch] (empty): new function
4163 * other files: use the new Paragraph::empty function
4165 2002-08-09 John Levon <levon@movementarian.org>
4167 * lyxtext.h: remove unused refresh_height
4169 2002-08-09 John Levon <levon@movementarian.org>
4176 * paragraph.C: move sgml char escaping out of paragraph
4179 * paragraph.C: remove id setter
4183 * paragraph_pimpl.C: remove dead tex_code_break_column
4185 * bufferview_funcs.C: small cleanup
4187 * lyxfunc.C: remove dead proto
4189 * lyxtext.h: make some stuff private. Remove some dead stuff.
4191 * lyxgluelength.C: make as[LyX]String() readable
4193 2002-08-08 John Levon <levon@movementarian.org>
4198 * ToolbarDefaults.C:
4201 * toc.C: lyxaction cleanup
4203 2002-08-08 John Levon <levon@movementarian.org>
4205 * BufferView2.C: small cleanup
4208 * lyxfind.C: move unnecessary header into the .C
4210 2002-08-08 John Levon <levon@movementarian.org>
4212 * funcrequest.h: just tedious nonsense
4215 * lyx_main.C: cleanups
4218 * vspace.C: remove dead header lyx_main.h
4220 2002-08-07 Angus Leeming <leeming@lyx.org>
4223 * paragraph_pimpl.h:
4224 Forward declare class Counters in paragraph.h by moving the ctrs member
4225 variable into Paragraph::Pimpl.
4226 (counters): new method, returning a reference to pimpl_->ctrs.
4228 * text2.C: ensuing changes.
4230 2002-08-07 John Levon <levon@movementarian.org>
4232 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4234 * BufferView_pimpl.C: announce X selection on double/triple
4237 * lyx_main.C: use correct bool in batch dispatch
4239 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4241 2002-08-07 André Pönitz <poenitz@gmx.net>
4243 * funcrequest.h: new class to wrap a kb_action and its argument
4246 * BufferView_pimpl[Ch]:
4250 * lyxrc.C: subsequent changes
4253 2002-08-07 John Levon <levon@movementarian.org>
4255 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4256 document options change.
4258 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4263 * makefile.am: move counters functionality over from
4264 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4266 2002-08-06 John Levon <levon@movementarian.org>
4268 * WordLangTuple.h: new file for word + language code tuple
4279 * BufferView2.C: use WordLangTuple
4282 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4284 2002-08-06 John Levon <levon@movementarian.org>
4286 * lyx_main.C: fix cmdline batch handling
4288 2002-08-06 André Pönitz <poenitz@gmx.net>
4290 * lyxrc.C: set default for show_banner to true
4292 2002-08-06 John Levon <levon@movementarian.org>
4294 * pspell.C: fix a crash, and allow new aspell to work
4296 2002-08-06 John Levon <levon@movementarian.org>
4299 * kbmap.C: small cleanup
4302 * vspace.C: add const
4304 2002-08-05 John Levon <levon@movementarian.org>
4306 * LyXAction.C: back to tabular-insert
4308 2002-08-04 John Levon <levon@movementarian.org>
4311 * BufferView.C: cosmetic change
4313 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4323 * BufferView2.C: purge all "Lyx" not "LyX" strings
4326 * lyxcursor.C: attempt to add some documentation
4331 * ToolbarDefaults.C:
4332 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4333 merge with LFUN_TABULAR_INSERT
4340 * pspell.C: split up i/pspell implementations into separate
4341 files, many cleanups
4343 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4345 * text2.C: some cleanup
4347 * lyxfunc.C: don't check for isp_command == "none" any more, it
4348 didn't make any sense
4350 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4355 * makefile.am: move counters functionality over
4356 from text2.C/paragraph.[Ch] to counters.[Ch], and
4358 2002-08-02 John Levon <levon@movementarian.org>
4360 * buffer.C: s/lyxconvert/lyx2lyx/
4362 2002-08-02 Angus Leeming <leeming@lyx.org>
4364 * lyxlex.C: revert John's change as it breaks reading of the user
4367 2002-08-02 Angus Leeming <leeming@lyx.org>
4369 * importer.C (Import):
4370 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4371 changes due to LyXView::view() now returning a boost::shared_ptr.
4373 2002-08-02 John Levon <levon@movementarian.org>
4375 * lyxlex.C: small cleanup
4377 2002-08-02 John Levon <levon@movementarian.org>
4379 * text2.C (status): small cleanup, no logic change
4381 2002-08-01 John Levon <levon@movementarian.org>
4384 * buffer.C (writeFile): don't output alerts, caller
4388 * lyx_cb.C: from above
4390 * lyxfunc.C: allow to open non-existent files
4392 2002-07-31 John Levon <levon@movementarian.org>
4394 * lyxserver.C: don't let incidental errors get
4397 2002-07-30 John Levon <levon@movementarian.org>
4399 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4401 2002-07-30 John Levon <levon@movementarian.org>
4404 * lyxserver.C: remove I/O callback too
4406 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4408 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4411 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4413 * many files: strip,frontStrip -> trim,ltrim,rtrim
4415 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4417 * PrinterParams.h: remove extern containsOnly, and include
4418 support/lstrings.h instead.
4420 * LaTeX.C (scanAuxFile): modify because of strip changes
4422 * buffer.C (makeLaTeXFile): ditto
4423 * bufferparams.C (writeFile): ditt
4424 * lyxfont.C (stateText): ditto
4425 * lyxserver.C (read_ready): ditto
4426 * vc-backend.C (scanMaster): ditto
4428 * BufferView_pimpl.h: ws changes
4430 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4432 2002-07-26 André Pönitz <poenitz@gmx.net>
4434 * kb_sequence.C: remove unnedred usings
4436 2002-07-26 Juergen Vigna <jug@sad.it>
4438 * lyxfind.C (LyXReplace): we have to check better if the returned
4439 text is not of theLockingInset()->getLockingInset().
4441 2002-07-25 Juergen Vigna <jug@sad.it>
4443 * lyxfind.C (LyXReplace): don't replace if we don't get the
4446 * undo_funcs.C (createUndo): remove debugging code.
4448 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4450 * buffer.C (parseSingleLyXformat2Token): Use default placement
4451 when reading old floats.
4453 * FloatList.C (FloatList): Change the default placement of figure
4454 and tables to "tbp".
4456 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4458 * MenuBackend.C: using std::max
4460 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4462 * MenuBackend.C (expandToc):
4463 (expandToc2): code moved from xforms menu frontend. It is now
4464 generic and TOCs are transparent to menu frontends.
4466 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4468 * toc.C (getTocList): protect against buf=0
4470 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4471 Menu as first parameter. Now, this calls itself recursively to
4472 expand a whole tree (this will be useful for TOC handling)
4473 (expandFloatInsert): remove 'wide' version of floats
4475 * MenuBackend.h (submenuname): returns the name of the submenu.
4476 (submenu): returns the submenu itself, provided it has been
4477 created by MenuBackend::expand
4479 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4481 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4482 insets which have noFontChange == true. (bug #172)
4484 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4486 * BufferView_pimpl.C: add connection objects and use them...
4489 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4491 * MenuBackend.C (expandLastfiles):
4494 (expandFloatListInsert):
4495 (expandFloatInsert):
4496 (expand): split expand in parts
4498 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4500 * lyx_gui.C: use lyx_gui::exit()
4502 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4504 * LyXAction.C: show the failing pseudo action
4506 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4508 * buffer.C (readFile): Run the lyxconvert script in order to read
4511 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4515 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4517 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4521 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4523 2002-07-22 Herbert Voss <voss@lyx.org>
4526 * lyxlength.[Ch]: add support for the vertical lengths
4528 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4530 * toc.[Ch]: std:: fixes
4532 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4534 * lyxrc.C: do not include lyx_main.h
4536 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4542 * BufferView2.C: include "lyxlex.h"
4545 * bufferparams.h: do not #include "lyxlex.h"
4547 * lyxtextclasslist.C (Add): remove method
4548 (classlist): renamed to classlist_
4550 * paragraph_pimpl.C:
4554 * bufferview_funcs.C:
4559 * toc.C (getTocList): use BufferParams::getLyXTextClass
4561 * toc.C (getTocList): use InsetFloat::addToToc
4563 * toc.[Ch]: new files, containing helper functions to handle table
4566 * lyxfunc.C (dispatch): no need to remove spaces around command
4568 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4569 first command of the sequence; it is not very clever, but I do not
4570 have a better idea, actually
4572 * LyXAction.C (LookupFunc): make sure to remove space at the
4573 beginning and end of the command
4575 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4577 * MenuBackend.C (getMenubar): new method: return the menubar of
4579 (read): treat differently reading of menu and menubar (in
4580 particular, the menubar has no name now)
4581 (Menu::menubar): remove
4583 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4586 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4588 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4589 a bibitem inset in a RTL paragraph.
4591 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4593 * paragraph_pimpl.C: constify
4595 * BufferView_pimpl.C:
4597 * lyxfunc.C: fix dispatch in a nicer way
4599 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4601 * lyxfunc.C (dispatch):
4602 * BufferView_pimpl.C:
4603 * BufferView_pimpl.h:
4605 * BufferView.h: rename Dispatch() to dispatch()
4607 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4609 * lyxlayout.C (Read): honor DependsOn tag
4611 * lyxlayout.[Ch] (depends_on): new method
4613 * version.C.in: update lyx_docversion
4615 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4617 * paragraph.C (validate): remove from here...
4618 * paragraph_pimpl.C (validate): ... and move here
4619 (isTextAt): make it const
4621 * buffer.C (getLists): ws cleanup
4623 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4625 * language.C (read): Use iso8859-1 encoding in latex_lang
4626 (this prevents LyX from crashing when using iso10646-1 encoding).
4628 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4630 * text2.C (toggleInset): if cursor is inside an inset, close the
4631 inset and leave cursor _after_ it
4633 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4635 * lyxfunc.C: move minibuffer completion handling out of here
4637 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4639 * BufferView_pimpl.C:
4640 * LaTeX.C: fix dispatch calls
4642 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4644 * text.C (drawChars): Fix Arabic text rendering.
4646 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4650 * lyxfunc.C: remove message-push/pop
4654 * lyxfunc.C: rationalise some code by removing verboseDispatch
4655 in favour of a bool argument to dispatch()
4657 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4659 * lyx_main.C (init): make sure to read symlinks as absolute paths
4661 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4664 * lyxfunc.C: no need for commandshortcut to be a member
4666 2002-07-15 André Pönitz <poenitz@gmx.net>
4668 * converter.C: add support for $$s (scripts from lib/scripts dir)
4669 * lyx_main.C: white space
4671 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4675 * lyxrc.C: remove second exit confirmation
4677 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4682 * BufferView_pimpl.h:
4683 * BufferView_pimpl.C:
4684 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4686 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4688 * MenuBackend.C (expand): add numeric shortcuts to document menu
4690 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4692 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4694 * lyxfont.C (setLyXFamily):
4701 * buffer.C (asciiParagraph): use ascii_lowercase
4703 2002-07-15 Mike Fabian <mfabian@suse.de>
4705 * lyxlex_pimpl.C (search_kw):
4706 * lyxlex.C (getLongString):
4707 * converter.h (operator<):
4708 * converter.C (operator<):
4709 * buffer.C (parseSingleLyXformat2Token):
4711 * ToolbarDefaults.C (read):
4712 * MenuBackend.C (checkShortcuts):
4714 * LColor.C (getFromGUIName):
4715 (getFromLyXName): use the compare_ascii_no_case instead of
4716 compare_no_case, because in turkish, 'i' is not the lowercase
4717 version of 'I', and thus turkish locale breaks parsing of tags.
4719 2002-07-16 Angus Leeming <leeming@lyx.org>
4721 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4722 now takes a Buffer const & argument.
4724 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4726 * BufferView.C (resize): check there's a buffer to resize
4728 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4730 * lyxfunc.C: remove dead code
4733 * lyxserver.C: use lyx_guii::set_read_callback
4735 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4737 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4738 an inset in a RTL paragraph.
4740 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4742 * lyxfunc.C: repaint after a font size update
4744 2002-07-15 André Pönitz <poenitz@gmx.net>
4746 * lyxlength.C: inBP should be able to return negative values
4748 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4750 * lyxfunc.C: use lyx_gui::update_fonts()
4752 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4754 * lyxfunc.C: use lyx_gui::update_color()
4756 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4762 * lyxrc.C: remove file->new asks for name option, and let
4763 buffer-new take an argument
4765 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4767 * BufferView_pimpl.C: remove unneeded extra repaint()
4769 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4771 * LyXAction.C: allow command-sequence with NoBuffer
4773 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4775 2002-07-10 Angus Leeming <leeming@lyx.org>
4777 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4779 2002-07-09 Angus Leeming <leeming@lyx.org>
4781 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4783 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4785 * lengthcommon.h: whitespace
4787 * lyxfunc.C: update scrollbar after goto paragraph
4789 * lyxtext.h: factor out page break drawing, and fix it so
4790 page break/added space paints as selected nicely
4792 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4794 * BufferView_pimpl.C: add FIXMEs, clean up a little
4796 2002-07-09 André Pönitz <poenitz@gmx.net>
4798 * lyxfont.[Ch]: support for wasy symbols
4800 2002-07-08 André Pönitz <poenitz@gmx.net>
4802 * BufferView_pimpl.C: apply John's patch for #93.
4804 2002-07-05 Angus Leeming <leeming@lyx.org>
4806 * BufferView_pimpl.C (buffer): generate previews if desired.
4808 * LColor.h: add "preview" to the color enum.
4810 * LColor.C (LColor): add a corresponding entry to the items array.
4812 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4815 2002-07-05 Angus Leeming <leeming@lyx.org>
4817 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4818 The body of the code is now in the method that is passed an ostream &
4819 rather than a file name.
4820 Pass an additional only_preamble parameter, useful for the forthcoming
4823 2002-07-03 André Pönitz <poenitz@gmx.net>
4825 * lyxfunc.C: simplify getStatus() a bit for math stuff
4827 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4829 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4831 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4833 * text.C (changeRegionCase): do not change case of all the
4834 document when region ends at paragraph end (bug #461)
4836 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4838 * paragraph.C (startTeXParParams):
4839 (endTeXParParams): add \protect when necessary
4841 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4843 * BufferView_pimpl.C (workAreaExpose): remove warning
4845 2002-06-27 Angus Leeming <leeming@lyx.org>
4847 * Makefile.am: add lyxlayout_ptr_fwd.h.
4849 2002-06-26 André Pönitz <poenitz@gmx.net>
4851 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4853 2002-06-25 Angus Leeming <leeming@lyx.org>
4855 * lyxfunc.C (dispatch): Comment out the call to
4856 grfx::GCache::changeDisplay. The method no longer exists now that the
4857 pixmap generation part of the graphics loader has been moved into
4860 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4862 * text2.C: layout as layout
4864 * text.C: layout as layout
4866 * tabular.C (OldFormatRead): layout as layout
4868 * paragraph_pimpl.C (TeXDeeper): layout as layout
4869 (realizeFont): layout as layout
4871 * paragraph.C (writeFile): layout as layout
4872 (validate): layout as layout
4873 (getFont): layout as layout
4874 (getLabelFont): layout as layout
4875 (getLayoutFont): layout as layout
4876 (breakParagraph): layout as layout
4877 (stripLeadingSpaces): layout as layout
4878 (getEndLabel): layout as layout
4879 (getMaxDepthAfter): layout as layout
4880 (applyLayout): layout as layout
4881 (TeXOnePar): layout as layout
4882 (simpleTeXOnePar): layout as layout
4883 (TeXEnvironment): layout as layout
4884 (layout): layout as layout
4885 (layout): layout as layout
4887 * lyxtextclass.C (compare_name): new functor to work with
4888 shared_ptr, layout as layout
4889 (Read): layout as layout
4890 (hasLayout): layout as layout
4891 (operator): layout as layout
4892 (delete_layout): layout as layout
4893 (defaultLayout): layout as layout
4895 * lyxlayout_ptr_fwd.h: new file
4897 * lyxlayout.C (Read): layout as layout
4899 * lyx_cb.C (MenuInsertLabel): layout as layout
4901 * bufferlist.C (newFile): layout as layout
4903 * buffer.C (readLyXformat2): layout as layout
4904 (parseSingleLyXformat2Token): layout as layout
4905 (insertStringAsLines): layout as layout
4906 (asciiParagraph): layout as layout
4907 (latexParagraphs): layout as layout
4908 (makeLinuxDocFile): layout as layout
4909 (simpleLinuxDocOnePar): layout as layout
4910 (makeDocBookFile): layout as layout
4911 (simpleDocBookOnePar): layout as layout
4912 (getLists): layout as layout
4914 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4916 * CutAndPaste.C (cutSelection): layout as layout
4917 (pasteSelection): layout as layout
4918 (SwitchLayoutsBetweenClasses): layout as layout
4920 * BufferView_pimpl.C (Dispatch): layout as layout
4921 (smartQuote): layout as layout
4923 * BufferView2.C (unlockInset): layout as layout
4925 2002-06-24 André Pönitz <poenitz@gmx.net>
4927 * lyxfunc.C: fix #487
4929 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4933 * lyxfunc.C: remove display_shortcuts, show_banner
4935 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4937 * Buffer_pimpl.C: oops, update on resize
4939 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4946 * BufferView.C: use repaint()
4948 * BufferView_pimpl.h:
4949 * BufferView_pimpl.C: s/updateScreen()/repaint()/
4950 as it's a clearer description. Remove superfluous
4953 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4955 * text.C: fix bug 488. Not ideal, but getting
4956 getWord() to work properly for the insets that
4957 matter is more difficult ...
4959 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4961 * BufferView_pimpl.C:
4964 * lyxfunc.C: remove the six million index lyxfuncs to just
4965 one, and DTRT (bug 458)
4967 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4971 * BufferView_pimpl.h:
4972 * BufferView_pimpl.C: clean up resize() stuff,
4973 and unnecessary updateScreen()s
4975 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
4979 * BufferView_pimpl.h:
4980 * BufferView_pimpl.C:
4983 * minibuffer.C: remove focus management of workarea,
4984 not needed. Use screen's greyOut()
4986 2002-06-17 Herbert Voss <voss@lyx.org>
4988 * converter.C: (convert) do not post a message, when converting
4989 fails, let the calling function decide what to do in this case
4991 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
4993 * lyxfunc.C: tidy up a little
4995 2002-06-16 <alstrup@diku.dk>
4997 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
4998 Got rid of FORMS_H_LOCATION include. Now we are
5001 2002-06-15 LyX Development team <lyx@rilke>
5003 * buffer.[Ch] (sgmlOpenTag):
5004 (sgmlCloseTag): Added support for avoiding pernicious mixed
5005 content. Return number of lines written.
5008 (makeDocBookFile): Fixed calls to sgml*Tag.
5009 Simple white space clean.
5011 (simpleDocBookOnePar): Simple white space clean.
5013 * tabular.[Ch] (docBook): Renamed to docbook and got another
5014 argument to related with the pernicious mixed content.
5016 (docbookRow): Fixed calls for docbook inset method.
5018 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5020 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5021 so it's X11 independent.
5025 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5027 2002-06-15 Lyx Development team <lyx@electronia>
5029 * intl.h: Renamed getTrans to getTransManager.
5031 2002-06-14 Angus Leeming <leeming@lyx.org>
5033 * Makefile.am: nuke forgotten stl_string_fwd.h.
5035 2002-06-12 Angus Leeming <leeming@lyx.org>
5037 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5039 2002-06-13 Angus Leeming <leeming@lyx.org>
5042 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5044 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5046 * kbmap.C (getiso): add support for cyrillic and greek
5048 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5052 * BufferView_pimpl.h:
5053 * BufferView_pimpl.C: move bogus scrolling logic
5056 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5059 * BufferView_pimpl.C: view->resize() change
5061 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5063 * BufferView_pimpl.C: topCursorVisible
5066 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5070 * lyx_gui.C: move to frontends/
5074 * lyx_main.C: changes from above
5076 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5083 * lyx_main.C: minor tidy
5085 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5087 * BufferView_pimpl.h:
5088 * BufferView_pimpl.C:
5090 * BufferView.C: make painter() const,
5093 * BufferView2.C: use screen() accessor
5096 * lyx_main.C: some minor cleanup
5098 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5100 * BufferView_pimpl.h:
5101 * BufferView_pimpl.C: remove enter/leaveView,
5104 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5109 * BufferView_pimpl.h:
5110 * BufferView_pimpl.C: only construct screen once,
5113 * lyxrc.C: remove pointless comment
5115 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5118 * BufferView.C: remove active() and belowMouse()
5120 * BufferView_pimpl.h:
5121 * BufferView_pimpl.C: use workarea() not workarea_,
5122 and make it use a scoped_ptr instead
5124 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5126 * lyx_gui.C: add debug message on BadWindow
5128 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5130 * sp_spell.C: fdopen is not part of the C++ standard.
5132 * paragraph.C (InsetIterator): use >= instead of ==
5134 2002-06-07 Angus Leeming <leeming@lyx.org>
5136 Fixes needed to compile with Compaq cxx 6.5.
5137 * BufferView_pimpl.C:
5144 * lyxtextclasslist.C:
5149 all c-library variables have been moved into namespace std. Wrap
5150 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5155 Add a using std::abs declaration.
5157 * kbmap.h (modifier_pair):
5158 * paragraph.h (InsetTable, InsetList):
5159 * lyxfont.h (FontBits):
5160 type definition made public.
5162 * bufferlist.C (emergencyWriteAll): the compiler complains that
5163 there is more than one possible lyx::class_fun template to choose from.
5164 I re-named the void specialisation as lyx::void_class_fun.
5166 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5168 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5169 the compiler is is unable to find tostr in write_attribute.
5171 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5173 * buffer.C (sgmlError): hide #warning
5175 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5177 * xtl/*: get rid of xtl, which is not in use anyway
5179 * LyXAction.C (init):
5180 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5181 were unimplemented xtl experimentation
5183 2002-06-04 André Pönitz <poenitz@gmx.net>
5185 * lyxfunc.C: disable array operation on simple formulae
5187 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5189 * converter.C: constify a bit
5191 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5193 * lyx_gui.C: check xforms version correctly
5195 2002-04-30 Herbert Voss <voss@lyx.org>
5197 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5200 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5202 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5203 attempt to register it with a VCS)
5205 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5207 * lyx_main.C (init): honor variables LYX_DIR_13x and
5210 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5214 * lyx_main.C: fix a crash on bad command line,
5215 and give a useful exit status on error
5217 * lyxfunc.C (doImport): allow -i lyx to work
5219 2002-03-30 André Pönitz <poenitz@gmx.net>
5221 * lyxfunc.C: mathed font changes
5223 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5238 * trans_mgr.h: srcdocs, and some minor cleanups
5240 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5242 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5243 call getFont all the time)
5245 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5247 * switch from SigC signals to boost::signals
5249 2002-05-29 André Pönitz <poenitz@gmx.net>
5251 * paragraph_pimpl.C (getChar): don't call size() too often...
5253 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5255 * paragraph_pimpl.C (insertChar): do not try to update tables when
5256 appending (pos == size())
5258 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5259 in order to reduce drastically the number of comparisons needed to
5260 parse a large document
5262 2002-05-29 André Pönitz <poenitz@gmx.net>
5268 * textclasslist.[Ch]:
5269 * sp_ispell.h: whitespace change
5271 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5273 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5274 lyxaction directly now.
5276 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5280 * lyxvc.C: remove unused headers
5282 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5289 * undo_funcs.C: some cleanups. Use shared_ptr
5290 and a template for the undo stacks.
5292 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5294 * BufferView_pimpl.h:
5295 * BufferView_pimpl.C:
5302 * text2.C: use key_state/mouse_state
5304 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5306 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5309 * chset.C: change include order
5310 (loadFile): use boost regex and get rid of LRegex and LSubstring
5312 * Makefile.am (BOOST_LIBS): new variable
5315 * LaTeX.C: change include order.
5316 (scanAuxFile): use boost regex and get rid of LRegex and
5320 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5325 * FontInfo.C: moved to frontends/xforms/
5328 * FontLoader.C: moved into frontends for GUIIzation
5333 * lyxfunc.C: changes from above
5335 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5337 * LColor.C: remove spurious X include
5339 * BufferView_pimpl.C:
5344 * text2.C: move font metrics to frontends/
5346 2002-05-24 Juergen Vigna <jug@sad.it>
5348 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5349 setting the undo_cursor.
5351 * ParagraphParameters.h: include local includes first.
5353 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5355 * BufferView_pimpl.C:
5356 * BufferView_pimpl.h:
5360 * screen.C: move WorkArea into frontends/
5366 * BufferView2.C: move LyXScreen into frontends/
5370 * lyx_gui.C: move lyxlookup into frontends/xforms/
5372 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5375 * BufferView_pimpl.C:
5385 * bufferview_funcs.C:
5398 * vc-backend.C: move LyX/XFormsView into frontends/
5400 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5412 * text2.C: move Painter to frontends/
5414 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5416 * buffer.C: comment out some some code that depend upon lyx_format
5419 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5420 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5422 * buffer.h (NO_COMPABILITY): turn off compability
5424 * ColorHandler.C: include scoped_array.hpp
5426 * font.C: Use more specific smart_ptr header.
5429 * ShareContainer.h: ditto
5433 * BufferView_pimpl.h: ditto
5434 * ColorHandler.h: ditto
5436 * kbmap.C (defkey): change call to shared_ptr::reset
5438 2002-05-21 Juergen Vigna <jug@sad.it>
5440 * buffer.C (insertErtContents): fix to insert ert asis if it is
5441 non empty. Skip it completely if it contains only whitespaces.
5443 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5445 * BufferView_pimpl.C:
5446 * BufferView2.C: clear selection on paste (bug 393)
5448 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5450 * DepTable.C: include ctime
5452 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5454 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5456 2002-05-14 Juergen Vigna <jug@sad.it>
5458 * text.C (breakParagraph): fixed function to honor the keepempty
5459 layout in the right maner and also to permit the right breaking
5460 algorithm on empty or non empyt keepempty paragraphs.
5462 * paragraph.C (breakParagraph): we have to check also if the par
5463 is really empty (!size()) for isempty otherwise we do the wrong
5466 2002-05-10 Juergen Vigna <jug@sad.it>
5468 * buffer.[Ch] : The following are only changes to the ert
5469 compatibility read reading old LaTeX layout and font stuff and
5470 convert it to ERTInsets.
5472 * buffer.h: added isErtInset().
5474 * buffer.C (struct ErtComp): add a fromlayout bool to check
5475 if we're inside a LaTeX layout.
5476 (isErtInset): new helper function.
5477 (insertErtContents): look for other ert insets before this one
5478 and insert the contents there, so that we don't have subsequent
5479 ERT insets with nothing between them. This way we create only one
5480 inset with multiple paragraphs. Also check if we don't insert only
5481 spaces ' ' as they are ignored anyway afterwards in the .tex file
5482 so if we have only spaces we will ignore this latex part in the
5484 (parseSingleLyXformat2Token \\layout): better compatibility when
5485 reading layout-latex stuff.
5486 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5488 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5489 stuff after reading the inset only get the information back from
5492 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5494 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5496 * LaTeXFeatures.C (getBabelOptions): New method.
5498 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5500 * BufferView_pimpl.C (Dispatch): work around missing argument for
5503 2002-05-08 Juergen Vigna <jug@sad.it>
5505 * text.C (leftMargin): handle paragraph leftindent.
5507 * paragraph.C (writeFile): write the new \\leftindent tag.
5508 (validate): handle leftindent code.
5509 (TeXEnvironment): handle paragraphleftindent code again.
5511 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5513 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5514 for paragrap_extra indent code and new token \\leftindent.
5515 (latexParagraphs): handle the leftindent as environment.
5517 * ParameterStruct.h: added leftindent support.
5519 * ParagraphParameters.C (leftIndent): added support functions for
5520 the paragraph left indent.
5522 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5525 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5527 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5530 * text.C (computeBidiTables): No bidi in insetERT.
5532 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5535 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5537 * version.C.in: pre 5
5539 2002-05-02 José Matos <jamatos@fep.up.pt>
5540 * buffer.C (makeDocBookFile): white space changes, add newline to
5542 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5544 * tabular.C (docBook): fix typo.
5546 2002-05-03 Juergen Vigna <jug@sad.it>
5548 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5549 change in LyXText as we can not be sure it was not freed.
5550 (drawOneRow): remove unused code.
5552 * text.C (drawInset): redo the calculation of the need_break_row as
5553 it could have a row which was already freed.
5554 (draw): look at the return value of drawInset and return false if
5555 it also returned false.
5556 (paintRowText): look at the return value of draw and return false if
5557 it also returned false.
5559 * lyxtext.h: added bool return type to drawInset() and draw() so that
5560 if we have a change in the row so that the rowbreak has to be redone
5561 we abort drawing as it will be called again.
5563 2002-05-02 Juergen Vigna <jug@sad.it>
5565 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5566 a change in the maintext also if we're inside an inset.
5567 (Dispatch): set the cursor again after a break line and after the
5568 screen has been updated as it could be we're in a different row.
5570 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5571 to set the cursor behind the pargraph with > size().
5572 (setCursor): check also for the same paragraph when checking where
5573 to put the cursor if we have a NFR inset.
5575 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5576 parts of layout read further up as it still was in the wrong
5579 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5581 * screen.C (drawFromTo): change sine fullRebreak always return
5584 * buffer.C (parseSingleLyXformat2Token): reindent some
5586 * BufferView_pimpl.C (update): change since fullRebreak always
5588 (Dispatch): git rid of the last hardcoded "Standard"s.
5590 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5592 * text2.[Ch] (fullRebreak): make it return void now that we always
5595 2002-04-30 Juergen Vigna <jug@sad.it>
5597 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5598 ert compatibility check for "latex" layout.
5600 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5602 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5603 minipages: use col% instead of p%, and also use the current font.
5604 (makeLaTeXFile): Fix use babel condition.
5605 (parseSingleLyXformat2Token): Correct font when reading old floats.
5607 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5609 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5610 inserting list of floats.
5612 2002-04-25 Herbert Voss <voss@lyx.org>
5614 * MenuBackend.C (expand): don't add the graphics extensions to the
5617 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5619 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5620 non-existing layout, do not complain if it was the default layout
5621 of the original class (bug #342)
5623 2002-04-24 Juergen Vigna <jug@sad.it>
5625 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5626 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5628 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5630 * buffer.C (getBibkeyList): If using \bibliography, return the
5631 option field with the reference itself. Enables us to provide natbib
5632 support when using \bibliography.
5634 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5636 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5638 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5639 natbib is provided by the LaTeX class.
5641 2002-04-23 Juergen Vigna <jug@sad.it>
5643 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5646 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5648 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5650 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5652 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5653 ensuremath around textordmasculine, textordfeminine and
5656 2002-04-19 Juergen Vigna <jug@sad.it>
5658 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5659 reinitializing the buffer otherwise row-dimensions may be wrong.
5660 (update): reset also the selection cursors if they do exits otherwise
5661 their x/y positions may be wrong.
5663 * text2.C (cursorDown): don't enter the inset if we came from a row
5664 above and are one row over the inset.
5666 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5667 really leaving an inset.
5669 2002-04-18 Juergen Vigna <jug@sad.it>
5671 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5672 of the selected paragraph does not have the selected layout also if
5675 * text2.C (setLayout): fixed bug which did not change last selected
5678 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5679 changed the read and substituted \\end_float with \\end_inset!
5681 * BufferView_pimpl.C (cursorPrevious):
5682 (cursorNext): fixed to make it work with rows heigher than the work
5683 area without moving the cursor only the draw of the row.
5684 (workAreaMotionNotify): fix jumping over high rows.
5686 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5688 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5691 2002-04-16 Juergen Vigna <jug@sad.it>
5693 * text2.C (setCursor): set also the irow().
5694 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5696 (cursorDown): support for locking an inset if the x_fix value goes
5697 inside it. That way I can transverse insets too with cursor up/down.
5699 * lyxrow.h: added irow helper function same as other (i) functions.
5701 * BufferView_pimpl.C (cursorPrevious):
5702 (cursorNext): fixed for insets!
5704 2002-04-15 Juergen Vigna <jug@sad.it>
5706 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5707 position otherwise it is wrong in some cases.
5709 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5710 inside the inset before the call.
5712 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5714 * buffer.[Ch] (getBibkeyList): make it const.
5716 2002-04-12 Juergen Vigna <jug@sad.it>
5718 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5720 * text2.C (getCursorX): new helper function
5721 (setCursor): compute also ix_
5722 (setCursorFromCoordinates): set also ix.
5724 * lyxcursor.h: added ix_ and helper functions.
5726 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5728 * buffer.C (insertStringAsLines): dont break paragraph if the this
5729 paragraph is inside an inset which does not permit it!
5731 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5732 also with no chars on this paragraph.
5733 (paintRowText): only paint stuff if it's inside the workarea!
5735 * paragraph.C (breakParagraph): honor keepempty flag and break the
5736 paragraph always below not above.
5738 * BufferView2.C (unlockInset): update the paragraph layout on inset
5739 unlock as we changed paragraph in such a case.
5741 * lyxfind.C (LyXFind): clear the former selection if not found!
5743 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5744 again called in insertChar().
5746 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5747 an inset which uses the whole row!
5748 (rightMargin): ditto.
5749 (insertChar): force a rebreak if we inserted an inset!
5751 2002-03-28 Herbert Voss <voss@lyx.org>
5753 * lyxlength.[Ch]: add inBP() to get the right PS-point
5754 units (BigPoint). With inPixels we have rounding errors
5756 2002-04-11 Juergen Vigna <jug@sad.it>
5758 * text2.C (setCursorFromCoordinates): set iy to the right value.
5759 (setCursor): add check if row->previous exists!
5761 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5762 an old float_type as this was the case in the old code!
5764 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5766 * BufferView2.C (showLockedInsetCursor): use iy
5767 (fitLockedInsetCursor): ditto
5769 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5770 locked insets as there we have the right value now.
5772 * lyxcursor.C: added iy_ variable and iy functions to set to the
5773 baseline of cursor-y of the locked inset.
5775 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5776 (setCursor): fixed for insets which need a full row.
5778 * text.C (rowLastPrintable): don't ignore the last space when before
5779 an inset which needs a full row.
5780 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5781 as last character of a row when before a inset which needs a full row.
5783 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5785 * version.C.in: update date
5787 * text2.C (fullRebreak): try to always return true and see what
5790 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5792 * MenuBackend.C (expand): use Floating::listName
5794 * FloatList.C (FloatList): add listName argument to the built-in
5797 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5798 text associated with the float.
5800 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5802 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5804 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5806 * ShareContainer.h: add a couple of missing typenames.
5808 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5810 * lyxrc.C (getDescription): use _() correctly rather than N_().
5812 2002-03-28 Herbert Voss <voss@lyx.org>
5814 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5815 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5817 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5819 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5820 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5822 2002-03-29 Juergen Vigna <jug@sad.it>
5824 * lyxfunc.C (dispatch): add a missing fitCursor call.
5826 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5827 it was scrolled by a cursor move, so return the bool status.
5829 * BufferView.C (fitCursor): return the bool flag also to the outside
5830 world as this is needed.
5832 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5834 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5835 call the edit() as it is not needed (and wrong) IMO.
5836 (workAreaButtonPress): set the screen_first variable before evt.
5837 unlock the inset as this may change screen_first and then we have
5838 a wrong y position for the click!
5840 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5842 * MenuBackend.C (expand): another translation that I missed
5844 2002-03-28 Juergen Vigna <jug@sad.it>
5846 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5848 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5850 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5852 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5854 * MenuBackend.C (expand): fix export/view/update when there is no
5857 2002-03-27 Herbert Voss <voss@lyx.org>
5859 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5862 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5864 * bufferview_funcs.C (currentState): only show paragraph number
5865 for is DEVEL_VERSION is set.
5867 * lyxfunc.C (dispatch): put warning in INFO channel
5869 * MenuBackend.C (expand): translate the name of floats
5871 * FloatList.C (FloatList): mark the float names for translation
5873 * converter.C (convert): use LibScriptSearch
5875 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5877 * MenuBackend.C (defaults): fix default menu (we might as well get
5880 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5882 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5885 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5887 * lyxvc.C: reorder includes.
5889 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5891 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5894 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5896 * CutAndPaste.C: change layouts earlier on paste
5897 to avoid crashing when calling getFont()
5899 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5901 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5904 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5906 * WorkArea.C: remove 'Pending' debug message.
5908 * most files: ws cleanup
5910 * buffer.[Ch]: ws changes
5912 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5914 2002-03-21 Juergen Vigna <jug@sad.it>
5916 * tabular.C (SetMultiColumn): collapse also the contents of the
5917 cells and set the last border right. Added a Buffer const * param.
5919 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5921 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5924 2002-03-19 Juergen Vigna <jug@sad.it>
5926 * text2.C (clearSelection): reset also xsel_cache.
5928 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5929 where it needs to be called (John tells us to do so too :)
5930 (selectionLost): reset sel_cache.
5932 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5934 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5936 * text2.C (setCursorIntern): put debuging code in INSETS channel
5938 2002-03-19 André Pönitz <poenitz@gmx.net>
5940 * lyxfunc.C: tiny whitespace change
5942 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5944 * ToolbarDefaults.C (init):
5945 * LyXAction.C (init):
5947 * BufferView_pimpl.C (Dispatch):
5948 * lyxfunc.C (dispatch): remove LFUN_DEPTH
5950 2002-03-19 Allan Rae <rae@lyx.org>
5952 * exporter.C (Export): removeAutoInsets before doing anything else.
5953 While I've just introduced a dependency on BufferView this really is
5954 the best place to clean the buffer otherwise you need to cleanup in
5955 a dozen places before calling export or cleanup in a dozen functions
5958 * converter.C (runLaTeX):
5959 (scanLog): Better handling of removeAutoInsets and screen updates.
5961 * lyxfunc.C (dispatch): small whitespace changes
5963 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5965 * WorkArea.C (C_WorkAreaEvent): return a value.
5966 (event_cb): return 1 if we handled the event, 0 otherwise.
5968 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
5970 2002-03-18 Juergen Vigna <jug@sad.it>
5972 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
5973 (GetAdditionalWidth): ditto.
5977 * BufferView2.C (copy): use getLyXText() so that we do it inside an
5978 inset if we're there actually (probably not used right now but this
5979 is the direction to go for unifying code).
5980 (paste): disable code to clear the selection.
5982 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
5983 inside an InsetText and move the check further up as it is in the
5986 * text2.C (pasteSelection): set a selection over the pasted text.
5988 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
5990 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
5991 and libgraphics to build on Cygwin.
5993 2002-03-15 Juergen Vigna <jug@sad.it>
5995 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
5996 inserting an Inset into the paragraph. I know this is not the best
5997 fix but we already use current_view in CutAndPaste so we will remove
5998 all of it's using at the same time.
6000 * buffer.C (sgmlError): deactivated function till it is rewritten in
6001 the right mode, now it can create problems.
6003 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6004 before accessing it.
6006 2002-03-14 Juergen Vigna <jug@sad.it>
6008 * undo_funcs.C (textHandleUndo): do the right thing when updating
6009 the inset after the undo/redo.
6011 * text2.C (setCursor): just some testcode for #44 not ready yet.
6013 * undo_funcs.C (textHandleUndo): set the next() and previous()
6014 pointers of the paragraph to 0 before deleting otherwise we have
6015 problems with the Paragraph::[destructor].
6017 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6018 on a paragraph insertion.
6020 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6022 * buffer.C (asciiParagraph): use += operator for char append to
6025 * paragraph.C (getFontSettings): compare >= not just >
6026 (highestFontInRange): ditto
6029 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6031 * paragraph.C: change several algorithm to be more appripriate for
6032 the problem domain. This is lookip in FontList and in the InsetList.
6034 2002-03-13 André Pönitz <poenitz@gmx.net>
6037 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6039 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6044 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6046 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6048 * Painter.C (display): anon helper function, adjust code for this
6050 (pixmap): remove function.
6052 * Painter.h: remove private display variable.
6054 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6056 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6058 * WorkArea.[Ch]: remove figinset_canvas cruft.
6060 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6062 * lyxtextclass.C (operator): add one item cache optimization.
6064 * bufferlist.h: doxy changes
6066 * bufferlist.C: ws changes
6068 * DepTable.[Ch] (ext_exist): place const in the right spot.
6070 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6072 (workAreaExpose): call resizeInsets when the with BufferView changes.
6073 (Dispatch): adjust for protectedBlank removal
6074 (specialChar): call updateInset if the insert went ok.
6076 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6077 specialChar instead.
6079 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6081 * BufferView.h: doxy change
6083 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6085 * lyxtextclass.C (operator[]): remove non-const version
6086 (defaultLayout): remove non-const version
6088 2002-03-12 Juergen Vigna <jug@sad.it>
6090 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6091 did resize the LyXText too.
6093 * buffer.C (readLyXformat2): set layout information on newly allocated
6096 * tabular.C (OldFormatRead): set layout information on the paragraph.
6098 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6100 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6102 2002-03-11 Juergen Vigna <jug@sad.it>
6104 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6106 (resizeCurrentBuffer): force also the insets to resize themselfes.
6107 (moveCursorUpdate): fixed up for InsetText.
6109 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6112 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6113 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6114 value of Dialogs::tooltipsEnabled().
6115 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6117 2002-03-08 Juergen Vigna <jug@sad.it>
6119 * BufferView_pimpl.C (updateInset): update inset inside inset also
6120 if it isn't inside theLockingInset().
6122 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6124 * buffer.C (asciiParagraph): redo some of the word and line length
6126 (getLists): look for Caption instead of caption.
6128 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6130 * buffer.C (Buffer): initialize niceFile to true
6133 (makeDocBookFile): make sure niceFile is true on exit
6135 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6137 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6139 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6141 * LyXSendto.C: remove.
6142 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6143 * lyx_gui.C: remove now-redundant comment.
6144 * ColorHandler.h: remove forward declaration of class WorkArea.
6145 * lyxfunc.C: remove #include "WorkArea.h".
6147 2002-03-07 Juergen Vigna <jug@sad.it>
6149 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6150 got moved away with the DEPM and also set the inset_owner always
6151 right which before could have been omitted.
6153 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6155 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6156 wanted layout is not found.
6158 2002-03-07 Juergen Vigna <jug@sad.it>
6160 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6162 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6164 * paragraph.C (breakParagraph): use default layout not layout of
6166 (Paragraph): clear ParagraphParameters.
6168 2002-03-06 Juergen Vigna <jug@sad.it>
6170 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6171 otherwise it would not be a valid lenght. Fixed a special case in
6172 the minipage compatibility read where we end the document with a
6175 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6176 was set as it could be 0 for InsetTexts first entry.
6178 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6180 * paragraph.C (writeFile): if layout is empty write out
6181 defaultLayoutName().
6183 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6184 file without named layout we set layout to defaultLayoutName().
6186 2002-03-06 Juergen Vigna <jug@sad.it>
6188 * CutAndPaste.C (copySelection): set layout for new paragraph.
6190 * text.C (prepareToPrint): leave ERT inset left aligned
6191 (leftMargin): don't indent paragraphs inside ERT insets
6193 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6195 * paragraph.C (breakParagraph): dont call clear do the work manually
6197 * paragraph.[Ch] (clear): remove function
6199 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6201 * paragraph.C (Paragraph): dont call clear, the work has already
6204 * lyxtextclass.C (operator): assert if n is empty
6206 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6207 work manually instead.
6209 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6211 * BufferView_pimpl.C: protect selectionLost against text == 0
6213 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6215 * text.C (breakParagraph): fix a setting layout to '0' problem.
6217 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6219 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6220 final location of file, for the included files, and graphics.
6222 2002-03-05 Juergen Vigna <jug@sad.it>
6224 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6226 2002-03-04 Juergen Vigna <jug@sad.it>
6228 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6230 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6231 last column of multicolumn cells.
6232 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6234 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6236 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6237 file if it doesn't go to a temporary file.
6239 * buffer.C (sgmlOpenTag):
6240 (sgmlCloseTag): remove extra newline insertion.
6242 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6244 * text.C (getRowNearY): comment out debug msg
6246 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6248 * text2.C: first -> first_y
6250 * text.C (getRowNearY): add some attemts at a possible
6251 optimization, not working.
6253 * tabular.[Ch]: add BufferParams to several function so that newly
6254 created paragraph can be initialized to he default layotu for the
6257 * tabular-old.C (ReadOld): add buf->params to call of Init
6259 * screen.C: rename text->first to text->first_y
6261 * paragraph.C (breakParagraph): always set layout in the broken
6264 * lyxtextclass.C (Read): remove lowercase
6267 (delete_layout): ditto
6269 * lyxtext.h: rename first -> first_y
6271 * lyxlayout.C (Read): remove lowercase
6274 (obsoleted_by): ditto
6276 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6278 * buffer.C (insertErtContents): add params are to InsetERT
6279 (parseSingleLyXformat2Token): add code to check if a paragraphs
6280 layout really exist.
6281 (parseSingleLyXformat2Token): add params to several inset
6283 (asciiParagraph): remove lowercase, do the layout comparisons with
6286 * BufferView_pimpl.C (cursorNext): first -> first_y
6287 (resizeCurrentBuffer): first -> first_y
6288 (updateScrollbar): first -> first_y
6289 (scrollCB): first -> first_y
6290 (workAreaMotionNotify): first -> first_y
6291 (workAreaButtonPress): first -> first_y
6292 (checkInsetHit): first -> first_y
6293 (cursorPrevious): first -> first_y
6294 (cursorNext): first -> first_y
6295 (Dispatch): add buffer_->params to severl inset contructors
6297 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6299 * lyxlayout.C (Read): remove some debug info that I forgot.
6301 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6302 clean up the code slightly.
6303 (makeLinuxDocFile): ditto
6304 (makeDocBookFile): ditto
6306 * text2.C: layout as string
6308 * text.C: layout as string
6310 * paragraph_pimpl.C: layout as string
6312 * paragraph.[Ch]: layout as string
6314 * lyxtextclasslist.[Ch]: layout as string
6316 * lyxtextclass.[Ch]: layout as string
6318 * lyxtext.h: layout as string
6320 * lyxlayout.[Ch]: layout as string
6322 * lyx_cb.C: layout as string
6324 * bufferview_funcs.C: layout as string
6326 * bufferparams.C: layout as string
6328 * buffer.C: layout as string
6330 * LyXView.[Ch]: layout as string
6332 * LaTeXFeatures.[Ch]: layout as string
6334 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6336 * BufferView_pimpl.C: change current_layout to string, remove
6341 (workAreaButtonRelease): layout as string
6343 * BufferView2.C (unlockInset): adjust
6345 * vspace.C (asLatexCommand): use an explict temp variable.
6347 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6349 * Makefile.am: use FRONTEND_*
6351 2002-03-01 Juergen Vigna <jug@sad.it>
6353 * tabular.C (SetWidthOfMulticolCell): changed to something better
6354 I hope but still work in progress.
6355 (recalculateMulticolumnsOfColumn): renamed function from
6356 recalculateMulticolCells as it is more appropriate now.
6357 (SetWidthOfCell): calculate multicols better.
6359 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6361 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6363 * lyxfunc.C (processKeySym): print sequence also if it is
6364 `deleted' (complete)
6366 * kbsequence.C (print): print sequence even if it is deleted
6367 (complete would be a better word, actually).
6369 * lyxfunc.C (dispatch): print complete options after a prefix key
6371 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6373 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6375 * text2.C (setCharFont): eliminate setCharFont code duplication.
6377 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6379 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6380 LFUN_TABULAR_FEATURE (bug #177)
6382 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6384 * Makefile.am: remove figure.h
6386 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6388 * Bufferview_pimpl.C:
6400 * text2.C: remove #include "lyx_gui_misc.h".
6402 * LaTeX.C: added #include <cstdio>
6404 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6406 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6407 that the paragraph following this one can have.
6409 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6411 * vspace.C (asLatexCommand): fix bogus gcc warning
6413 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6415 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6417 * text2.C (setLayout): get rid of redundant code
6419 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6421 * text2.C (incDepth): make sure depth cannot be increased beyond
6424 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6426 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6427 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6429 * PainterBase.h (image):
6430 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6433 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6437 * BufferView_pimpl.C:
6438 * BufferView_pimpl.h:
6458 * sp_spell.C: remove fig inset, and the crap house of
6459 cards that follows it
6461 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6467 * nt_defines.h: move .h into support/
6469 * vms_defines.h: remove
6471 * WorkArea.C: add space in debug output
6475 * buffer.C: add WITH_WARNINGS
6479 * bufferlist.C: s/retrive/retrieve/, add docs
6490 * lyxgui.C: add ID to X error handler
6492 * lyxtestclass.c: fix typo
6494 2002-02-26 Juergen Vigna <jug@sad.it>
6496 * tabular_funcs.C (write_attribute): changed so that some default
6497 attributes are not written at all.
6498 (getTokenValue): set default values before trying to read the
6499 value so we have the return value always set as default if we don't
6500 find the token we search for.
6502 * tabular.C (Write): write bools as bools not as strings!
6504 2002-02-22 Juergen Vigna <jug@sad.it>
6506 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6507 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6509 * text.C (leftMargin): don't add an indent for paragraphs inside
6510 tabular cells (fix #208).
6512 2002-02-21 José Matos <jamatos@fep.up.pt>
6514 * tabular.C (docBook): fixed support for long tables.
6516 2002-02-20 Juergen Vigna <jug@sad.it>
6518 * text2.C (getFont): get the drawing font of the Inset if this
6519 paragraph is inside an inset (only important for InsetERT for now).
6521 * buffer.C (insertErtContents): use new lanugage params in ERT
6524 * CutAndPaste.C: commenting out seemingly uneeded code.
6526 2002-02-19 Allan Rae <rae@lyx.org>
6528 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6529 Iterators might be simple to use but they also get invalidated.
6530 (removeAutoInsets): renamed saved cursor tracking variables and added
6531 some comments to clarify what everything does.
6533 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6540 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6541 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6544 * vc-backend.h: remove #include "support/syscall.h"
6548 * converter.C: rearrange #includes in Lars' approved fashion.
6550 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6551 forward declare class Timeout in the header file.
6553 * XFormsView.C: changes due to the above.
6555 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6558 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6559 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6561 2002-02-18 José Matos <jamatos@fep.up.pt>
6563 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6566 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6568 * a lot of small ws changes
6569 * add a lot of using std::XXX
6570 * use std construcs some places where approp.
6571 * use some exisint stuff from lyxfunctional where approp.
6572 * Make file changes to use partial linking (lets test this now...)
6574 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6578 remove #include "support/syscontr.h" as it's redundant. Always has been.
6586 change Systemcalls::System to Systemcalls::Wait and
6587 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6588 No change of functionality, just reflects the stripped down Systemcalls
6591 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6593 * debug.[Ch]: add a GRAPHICS type to the enum.
6595 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6597 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6599 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6602 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6604 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6605 match the changes below.
6607 * text2.C (toggleInset): if there is not editable inset at cursor
6608 position, try to see if cursor is _inside_ a collapsable inset
6611 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6613 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6614 document menu has a nice checkbox
6616 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6618 * lyxlength.C (asLatexString): change PW to output as percent of
6621 * lengthcommon.C: change '%' to 't%'
6623 * lyxfunc.C (dispatch): a few comments from Martin
6625 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6629 * BufferView_pimpl.h:
6630 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6633 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6635 * vspace.C (inPixels): fix compiler warning
6637 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6639 * lyxfunc.C (getStatus): fix status message for disabled commands.
6641 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6643 * BufferView_pimpl.C: fix crash on close buffer
6644 during selection (#227)
6646 2002-01-27 Herbert Voss <voss@lyx.org>
6648 * buffer.C: link old Figure to new graphic inset
6650 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6652 * FontLoader.C (getFontinfo): Change the latex font names in order
6653 to match the names of type1inst.
6655 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6657 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6659 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6662 (remove_files_with_extension): ditto
6663 (remove_file): ditto
6666 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6667 document is smaller than the work area height. Do not initialize
6668 static variables to 0.
6670 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6672 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6674 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6675 LFUN_LAYOUT_PARAGRAPHS.
6677 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6678 tabular. It is possible to provide a possible cell, which will
6679 typically be the actcell from the corresponding insettabular
6681 * lyxfunc.C (getStatus): small cleanup; disable
6682 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6685 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6687 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6689 * paragraph.C (startTeXParParams):
6690 (endTeXParParams): new methods. The LaTeX code to
6691 start/end paragraph formatting
6692 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6693 empty (fixes bug #200)
6695 * vspace.C (inPixels): adapt to the change below
6696 (inPixels): [later] more cleanups (remove unused variables)
6698 * lyxlength.C (inPixels): change to use a width and a height as
6701 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6703 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6704 Replaced with \paperwidth
6706 * DepTable.C (insert): add std:: qualifier
6708 2002-01-18 Allan Rae <rae@lyx.org>
6710 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6713 * text.C (drawInset): Turned out I didn't know enough about how
6714 rebreaking worked. This fixes most of the redraw problems. I see
6715 an occasional cursor trail when a line is broken now and the cursor
6716 placement can seem out by a few pixels also after a rebreak.
6718 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6720 * buffer.C (parseSingleLyXformat2Token): update because minipage
6721 width is now a LyXLength
6723 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6725 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6728 2002-01-17 Juergen Vigna <jug@sad.it>
6730 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6732 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6733 is set correctly and the inset is updated correctly.
6735 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6737 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6738 the beginning of the loop.
6740 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6742 * lyxrc.C: improve help for use_scalable_fonts
6744 2002-01-17 Allan Rae <rae@lyx.org>
6746 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6748 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6750 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6751 make sure to set their inset_owner to the right value (bug #171)
6753 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6756 * DepTable.C: Implement mtime checking to reduce time spent doing
6759 2002-01-16 Juergen Vigna <jug@sad.it>
6761 * tabular.C (GetAdditionalHeight): one of error fixed.
6763 * lyxrc.C (output): small fix in writing use_pspell.
6765 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6767 * sp_base.h: #include LString.h
6769 2002-01-16 Allan Rae <rae@lyx.org>
6771 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6772 Can someone check this please?
6774 * text.C (drawInset): It was possible that p.row would be removed by
6775 breakAgainOneRow upsetting a few other settings. There may be another
6776 small tweak possible by setting need_break_row = 0 when p.row has been
6777 removed but I don't know enough about the logic here.
6779 2002-01-15 Allan Rae <rae@lyx.org>
6781 * text.C (insertChar): removed conditional truism.
6783 * BufferView2.C (removeAutoInsets): More tweaks.
6784 cur_par_prev could be a stray pointer. Check for trailing empty line
6785 in case last line was cur_par and only had an error inset on it.
6787 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6789 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6792 * vc-backend.C (most methods):
6793 * exporter.C (Export):
6794 * converter.C (convert):
6796 * LyXSendto.C (SendtoApplyCB):
6797 * lyxfunc.C (dispatch):
6801 * lyx_cb.C (AutoSave):
6803 * BufferView_pimpl.C (MenuInsertLyXFile):
6804 * buffer.C (runChktex): use Buffer::filePath().
6806 * buffer.h: rename filename to filename_; rename filepath to
6807 filepath_ and make it private
6808 (filePath): new method
6810 * buffer.C (writeFile): use fileName()
6813 * lyx_main.C (init): fix starting of LyX when the binary is a
6814 link from so,ewhere else.
6816 * minibuffer.C: include <cctype> for isprint
6818 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6820 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6821 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6822 name clash with InsetCollapsable's width function.
6824 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6826 * lastfiles.C: include <iterator>
6828 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6830 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6833 * buffer.C (makeLaTeXFile): ditto.
6834 Also make loop operation more transparent.
6836 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6838 * ToolbarDefaults.C: remove trailing comma closing namespace.
6840 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6842 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6845 * trans.C (Load): comment out unused variable, allowed.
6847 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6849 * minibuffer.[Ch] (append_char): new method to recieve input from the
6850 drop-down completion browser. If a key was pressed, then recieve this
6851 char and append it to the existing string.
6852 (peek_event): modify the positioning data passed to the completion
6853 browser so that it can be placed above the minibuffer rather than below.
6854 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6856 * LyXAction.C (init): alloe error-next for readonly documents.
6858 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6861 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6863 * bufferlist.C (readFile): create the buffer _after_ checking that
6866 * lyxfunc.C (verboseDispatch): fix handling of arguments
6868 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6870 * lyxrc.C: use string::erase() instead of initializing to "".
6873 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6875 * BufferView_pimpl.h:
6876 * BufferView_pimpl.C:
6879 * text2.C: tell X when we have made a selection for copying
6881 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6883 * BufferView_pimpl.C (MenuInsertLyXFile):
6884 * lyxfunc.C (menuNew):
6886 (doImport): add shortcuts to directory buttons
6888 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6891 * lyxfunc.C (setStatusMessage):
6892 (getStatusMessage): new methods
6893 (getStatus):use setStatusMessage instead of setErrorMessage
6894 (dispatch): when function is disabled, set error message here
6895 [instead of in getStatus previously]
6897 * BufferView_pimpl.C (workAreaButtonRelease): update
6898 toolbar/menubar here too.
6900 2002-01-13 Allan Rae <rae@lyx.org>
6902 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6903 Now seems indestructible. Remaining task is to audit all other
6904 code affected by deleteEmptyParagraphMechanism. One small quirk
6905 left is that an empty document with an error in the preamble can
6906 be made to report an error but no error box appears. I don't know
6908 (removeAutoInsets): Improved comments.
6910 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6913 * Thesaurus.C: update for Aiksaurus 0.14
6915 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6917 * text2.C (firstParagraph): removed member function, all uses
6918 replaces with ownerParagraph
6919 (redoParagraphs): here
6921 (toggleAppendix): here
6922 * BufferView2.C (insertErrors): here
6923 (setCursorFromRow): here
6925 2002-01-13 Allan Rae <rae@lyx.org>
6927 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6928 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6929 There is still a way to segfault this although you may have to do this
6930 multiple times: Have an InsetERT with an unknown command in it.
6931 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6932 <down-arrow>, <Enter> again, View->DVI, BANG!
6934 * text2.C (setCursor):
6935 (deleteEmptyParagraphMechanism):
6936 * lyxtext.h (setCursor):
6937 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
6938 Making use of the return value may help fix other bugs.
6940 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6942 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
6944 * LyXView.C (updateMenubar): call MenuBar::update here
6945 (updateToolbar): but not here
6946 (showState): do not update toolbar/menubar
6948 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
6949 should need to care about that.
6951 * lyxfunc.C (verboseDispatch): simplify a bit
6952 (getStatus): have a version which takes a pseudoaction, and
6953 another which requires a (kb_action,string).
6955 * LyXAction.C (retrieveActionArg): make it work also when action
6956 is not a pseudo-action.
6957 (getActionName): simplify a bit
6960 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6962 * lyxfunc.C (verboseDispatch): new families of methods with
6963 several ways to specify a command and a bool to indicate whether
6964 the command name and shortcut should be displayed in minibuffer
6965 (eventually, we could extend that to a finer bitmask like
6966 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
6967 (dispatch): the pristine dispatch command which just, well,
6968 dispatchs! Note it still sets its result to minibuffer; I'm not
6971 * lyxfunc.h: remove setHintMessage
6973 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
6975 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6977 * BufferView_pimpl.C (specialChar): delete new inset if we have
6978 not been able to insert it.
6980 * kbmap.C: revert to using int instead of kb_action, since all we
6981 are dealing with is pseudo-actions.
6983 * LyXAction.C (searchActionArg): change to return int instead of
6984 kb_action, since the result is a pseudoaction.
6986 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
6988 * buffer.C (insertErtContents): Fix (partially) the font bug.
6990 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6992 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
6993 as the other one is broken on my machine!
6995 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
6998 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7000 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7002 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7003 reflect their actual use. Provide compatibility code for older lyxrc
7006 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7008 change names of popup font variables in line with the changes to lyxrc.C
7010 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7012 * buffer.C (asciiParagraph): avoid outputing a word twice after
7015 * lyxrc.C (getDescription): document that document_path and
7016 template_path can be empty.
7018 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7020 * LaTeXFeatures.C (getMacros):
7021 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7023 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7025 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7027 (getPackages): rename feature "floats" to "float". Use an array to
7028 iterate over 'simple' features (i.e. just a \usepackage). Add
7029 handling of "amsmath" (renamed from "amsstyle").
7031 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7033 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7036 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7038 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7039 FuncStaus::FuncStatus & FuncStaus::some_method().
7041 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7043 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7044 of the func_satus stuff. Edited and massaged in various ways by
7047 * lyxfunc.C (getStatus): use FuncStatus
7049 2002-01-08 Juergen Vigna <jug@sad.it>
7051 * text.C (nextBreakPoint): use function Inset::isChar().
7053 * paragraph.C (TeXOnePar): use function
7054 Inset::forceDefaultParagraphs.
7056 * buffer.C (latexParagraphs): use function
7057 Inset::forceDefaultParagraphs.
7059 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7061 * lyx_gui.C (init): set the style of the menu popups to
7062 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7064 2002-01-07 Juergen Vigna <jug@sad.it>
7066 * text.C (setHeightOfRow): small fix
7067 (prepareToPrint): don't look at alignment if we don't have the place
7070 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7072 * box.C: New file. Move the Box methods and functions out of box.h,
7073 following Lars' suggestion.
7075 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7077 * box.h: #include "support/LOstream.h", needed for inlined function.
7080 * lyxtextclasslist.C: added some using std declarations.
7082 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7084 * box.h: make signed dimensions to allow insets wider than
7085 the screen (bug #162)
7087 * BufferView_pimpl.C: add some insetHit debug
7089 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7091 * vc-backend.C: add FIXME
7093 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7095 * lyxfunc.C (getStatus): enable code for showing math font status
7098 2002-01-07 Juergen Vigna <jug@sad.it>
7100 * text.C (nextBreakPoint): removed debug output not needed anymore.
7102 2002-01-06 Juergen Vigna <jug@sad.it>
7104 * text.C (nextBreakPoint): fixed up this function we had this bug
7105 since ever but now hopefully we break row better.
7106 (insertChar): we have to check if an inset is the next char as it
7107 could now happen that a large inset is causing a break.
7109 2002-01-05 Juergen Vigna <jug@sad.it>
7111 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7112 if it doesn't like to be drawed.
7114 2002-01-04 Juergen Vigna <jug@sad.it>
7116 * BufferView2.C (lockInset): forgot to set a cursor.
7118 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7120 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7125 * form_maths_panel.C:
7126 * form_maths_panel.h:
7127 * form_maths_panel.fd: implemented sub- and super- buttons in math
7130 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7131 (or ^ space) to be used as in TeX (req'd by André).
7133 * lyxfunc.C: Allow ^ and _ again to be used both as
7134 super/subscript (mathed) and as themselves (in text).
7136 2002-01-03 Allan Rae <rae@lyx.org>
7138 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7139 "LyX" or the filename of the current buffer if it has one. This is a
7140 modified form of John Levon's patch.
7142 * XFormsView.C (setWindowTitle): also set icon title.
7144 * LyXView.h (setWindowTitle): signature changed.
7145 * XFormsView.h (setWindowTitle): ditto.
7147 2002-01-02 Juergen Vigna <jug@sad.it>
7149 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7151 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7153 * screen.C (topCursorVisible): introduce a temp var for
7154 text->cursor.row(), handle the case where this row is null. (kindo
7157 * text2.C (setCursor): add a couple of asserts.
7159 * paragraph.h (inset_iterator): add -> operator
7161 * paragraph.[Ch] (autoDeleteInsets): remove member function
7163 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7164 cursor pos correctly and handle inset deletion by itself.
7165 (insertErrors): move iterator declaration out of for expression
7167 * lyxtextclass.C: add <algorithm>
7169 * Makefile.am: added the new files to sources, removed layout.C
7171 * layout.C: removed file
7173 * layout.h: remove LYX_DUMMY_LAYOUT
7175 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7179 * lyxtextclass.[Ch]:
7180 * lyxtextclasslist.[Ch]: new files
7182 * include order changes to a lot of files, also changes because of
7185 2001-12-27 Juergen Vigna <jug@sad.it>
7187 * buffer.C (asciiParagraph): more fixes.
7189 * tabular.C (ascii): make ascii export support export of only the
7190 data separated by a column-delimiter.
7191 (ascii): better support for ascii export.
7193 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7195 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7197 * tabular_funcs.C: use a "using std::getline" instead of the
7198 previous fix from Angus (necessary for cxx + lyxstring)
7200 2001-12-24 Juergen Vigna <jug@sad.it>
7202 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7204 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7205 problems. First check a minipage also if we have some ert-contents
7206 (not only on par->size(), second set the right depth of the paragraph
7207 on the relink to the root-paragraph-list!
7209 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7210 which then did not anymore update the main paragraphs on undo/redo!
7212 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7214 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7215 code. Support all font-changing funcs (even those which are not in
7216 menu currently). Support for reporting font settings in
7217 mathed (disabled until Andre provides a function on mathed's side).
7219 * func_status.h (toggle): small helper function to set toggle
7222 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7224 * tabular_funcs.C: getline -> std::getline
7226 2001-12-21 Juergen Vigna <jug@sad.it>
7228 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7229 accessed and could be 0 (I couldn't generate this but it seems
7232 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7234 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7235 * tabular_funcs.h: here and include iosfwd
7237 2001-12-20 Juergen Vigna <jug@sad.it>
7239 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7240 inside inset but undo_par was.
7242 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7244 * Thesaurus.C: always include <config.h> in sources.
7248 * box.h: do not include <config.h> in header files
7250 * text.C (paintLastRow): remove unused variable
7252 * text.C (transformChar):
7254 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7257 * font.C (width): rewrite to use uppercase() instead of
7260 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7262 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7264 * lyxfind.C: clean up of find failure position change
7266 2001-12-20 Juergen Vigna <jug@sad.it>
7268 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7270 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7271 (TeXRow): added to LaTeX a single tabular row.
7272 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7273 (Latex): simplified and finally good LT-h/f support.
7274 (various_functions): just small adaptions for LT-h/f support.
7276 * tabular_funcs.[hC]: added and moved here all not classfunctions
7279 2001-12-19 Juergen Vigna <jug@sad.it>
7281 * tabular.[Ch]: better support for longtabular options (not finished
7284 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7286 * text.C (paintLastRow): use the label font instead of the font of
7287 the last character to compute the size of *_BOX. This makes more
7288 sense and avoids a crash with empty paragraphs.
7289 Use Painter::rectangle to draw EMPTY_BOX.
7291 2001-12-19 Juergen Vigna <jug@sad.it>
7293 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7294 the paragraphs if the replaced paragraph is not the first one!
7295 Tried to delete not used paragraphs but does not work yet so for
7296 now it's inside #ifdef's and by default off!
7298 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7300 * MenuBackend.C: include "lyx_main.h" instead of declaring
7301 lastfiles (actually was declared as LastFiles* instead of a
7304 2001-12-17 Juergen Vigna <jug@sad.it>
7306 * tabular.C (AppendColumn): applied John's fix
7308 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7312 * BufferView_pimpl.h:
7313 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7316 * box.h: new start of class for above
7318 * lyxfunc.C: ignore space-only minibuffer dispatches.
7319 Show the command name when it doesn't exist
7321 * minibuffer.C: don't add empty lines to the history
7323 * minibuffer.C: add a space on dropdown completion
7325 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7327 * text.C: fix line above/below drawing in insets
7329 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7331 * lyxlength.C (LyXLength): Initialize private variables.
7333 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7335 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7336 when inserting error insets.
7338 2001-12-13 Juergen Vigna <jug@sad.it>
7340 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7341 actually sometimes the before-paragraph.
7342 (setUndo): don't clear the redostack if we're not actually undoing!
7344 2001-12-06 Juergen Vigna <jug@sad.it>
7346 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7347 and fixed redoing of main paragraph, so we can use it now ;)
7349 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7351 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7353 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7356 2001-12-13 André Pönitz <poenitz@gmx.net>
7359 * undo_func.C: minor cleanup
7361 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7363 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7364 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7365 font in urw-fonts package which is marked as -urw-fontspecific and
7366 does not work (incidentally, changing the encoding in the
7367 fonts.dir of this package to -adobe-fontspecific fixes the
7370 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7371 is a crash when undoing first paragraph (Juergen, please take a
7372 look). THis does not mean the undo fix is wrong, just that it
7375 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7376 the (Paragraph*) version when needed instead of duplicating the
7379 * text.C (workWidth): use Inset::parOwner to find out where the
7380 inset has been inserted. This is a huge performance gain for large
7381 documents with lots of insets. If Inset::parOwner is not set, fall
7382 back on the brute force method
7384 * paragraph_pimpl.C (insertInset):
7385 * paragraph.C (Paragraph):
7386 (cutIntoMinibuffer): set parOwner of insets when
7387 inserting/removing them
7389 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7391 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7397 * mathed/formulabase.C:
7398 * mathed/math_cursor.[Ch]:
7399 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7402 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7404 * lyxlength.[Ch] (operator!=): new function
7406 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7408 * text.C (workWidth): use Inset::parOwner to find out where the
7409 inset has been inserted. This is a huge performance gain for large
7410 documents with lots of insets. If Inset::parOwner is not set, fall
7411 back on the brute force method
7413 * paragraph_pimpl.C (insertInset):
7414 * paragraph.C (Paragraph):
7415 (cutIntoMinibuffer): set parOwner of insets when
7416 inserting/removing them
7418 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7420 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7422 * tabular-old.C (getTokenValue):
7423 * tabular.C (getTokenValue):
7424 (write_attribute): new versions for LyXLength
7425 (everywhere): adjust the use of widths
7427 * tabular.h: change the type of widths from string to LyXLength
7429 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7431 * paragraph.C: fixed missing line number count when exporting
7432 Environments to LaTeX file
7434 * buffer.C: added informational message for checking line numbers.
7436 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7438 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7439 paragraph, do the 'double space' part, but not the 'empty
7442 * text.C (workWidth): small optimization
7443 (getLengthMarkerHeight): use minimal size for negative lengths.
7445 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7447 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7449 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7451 2001-12-11 André Pönitz <poenitz@gmx.net>
7454 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7456 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7458 * text2.C: keep selection on a setFont()
7460 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7462 * lyx_cb.C: another bv->text misuse, from insert label
7464 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7467 * kbsequence.C: re-instate nmodifier mask
7469 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7471 * lyx_main.h: make lyxGUI private.
7473 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7475 * lyxfind.C: place the cursor correctly on failed search
7477 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7479 * text.C (getLengthMarkerHeight): for small heights, the arrows
7480 are not always on top/bottom of the text
7481 (drawLengthMarker): smaller arrows; take the left margin in
7482 account; draw also vfills.
7484 (paintLastRow): remove special code for vfill and standard spaces,
7485 since everything is handled in drawLengthMarker now.
7487 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7489 * buffer.C (insertErtContents): try to handle font and language
7490 interaction a bit better.g
7492 * ColorHandler.C (updateColor): change the hash to cover the whole
7493 LColor enum, ws cleanup
7494 (getGCLinepars): ditto
7495 (getGCLinepars): only lookup in the linecache once.
7497 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7499 * iterators.C (operator++): Make the iterator more robust
7501 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7503 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7505 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7508 * text.C: better added space drawing
7510 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7513 * BufferView2.C: fix layout combo update on inset unlock
7515 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7517 * Makefile.am: don't compile unused files
7519 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7523 * LyXAction.C: remove old LFUN_LAYOUTNO
7525 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7527 * paragraph_pimpl.h:
7528 * paragraph_pimpl.C: isTextAt() doesn't need font param
7530 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7533 * lyxlex.C: little cleanup
7535 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7537 * BufferView_pimpl.C: fix insertAscii for insets
7539 2001-12-05 Juergen Vigna <jug@sad.it>
7541 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7542 set the right font on the "multi" paragraph paste!
7544 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7550 * lyxlength.C: remove out-commented code.
7566 * vc-backend.C: change "while(" to "while ("
7568 * lyxlength.[Ch]: add zero function to check if length is zero or
7570 * lyxgluelength.C: use it
7572 2001-12-05 Allan Rae <rae@lyx.org>
7574 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7575 Works for 2.95.3, from what I understand of Garst's reports this should
7576 work for other g++ versions. We're screwed if the abs(int) definition
7577 changed between bugfix releases of gcc.
7579 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7581 * text.C: fix chapter label offset !
7583 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7586 * text.C: fix hfill at end of line, clean up
7588 2001-12-04 Juergen Vigna <jug@sad.it>
7590 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7591 that we force an update of the inset and it's owners if neccessary.
7593 2001-12-03 Juergen Vigna <jug@sad.it>
7595 * text.C (rowLast): simplified code
7597 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7599 * lyxfunc.C: fix show options on timeout
7601 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7603 * screen.C (topCursorVisible): scroll half a page when the cursor
7604 reached top of bottom of screen
7606 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7608 * minibuffer.C: deactivate on loss of focus
7610 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7612 * vspace.[Ch] (operator!=): add operator.
7614 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7616 * BufferView_pimpl.C: refuse to open an inset when
7617 there's a selection.
7619 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7621 * BufferView_pimpl.C: allow to click on RHS of full row insets
7623 2001-11-30 Juergen Vigna <jug@sad.it>
7625 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7626 insets for undo reasons.
7628 2001-11-28 André Pönitz <poenitz@gmx.net>
7630 * vspace.[Ch]: cosmetical changes
7632 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7642 * kbsequence.C: part re-write of old kb code
7645 * WorkArea.C: remove Lgb_bug_find_hack
7647 2001-11-30 José Matos <jamatos@fep.up.pt>
7649 * buffer.C (makeDocBookFile): add a comment to point a hack.
7650 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7651 Fixed a double write of labels.
7653 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7656 * LaTeX.h Fixed bug in LaTeX class where it would not
7657 re-run latex if no depfiles were changed, but the .dvi was removed.
7659 2001-11-28 André Pönitz <poenitz@gmx.net>
7661 * all the files from the change on 2001/11/26:
7662 use lyx::layout_type instead of LyXTextClass::size_type
7663 use lyx::textclass_type instead of LyXTextClassList::size_type
7665 2001-11-29 Juergen Vigna <jug@sad.it>
7667 * text.C: added support for paragraph::isFreeSpacing()
7669 * buffer.C: same as above
7671 * paragraph.h: inserted isFreeSpacing() function to enable
7672 FreeSpacing inside InsetERT.
7674 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7675 of the paragraph's in the cut/copy buffer to 0!
7677 * text2.C (removeRow): remove the assert as it can!
7679 * lyxtext.h: added helper function firstRow returning firstrow and
7680 made firstrow private again.
7682 * BufferView2.C (lockInset): don't relock if we're already locked!
7684 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7686 (removeRow): added Assert::(firstrow)
7688 * debug.C: forgot to add INSETTEXT here.
7690 2001-11-28 Juergen Vigna <jug@sad.it>
7692 * sp_spell.C (initialize): changed error text to more general
7693 spellchecker command use (not only ispell!)
7695 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7697 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7699 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7701 * vspace.C: initialise lyxgluelength on failure
7703 2001-11-28 Allan Rae <rae@lyx.org>
7705 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7706 declaration & definition that looks like a function declaration.
7708 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7710 * BufferView2.C (copy):
7711 (copyEnvironment): do not clear the selection when doing a copy.
7713 * text.C (paintFirstRow): compilation fix
7715 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7717 * tabular.C (Latex): correct line count when writing latex.
7719 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7721 * paragraph_pimpl.h:
7722 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7725 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7729 * LColor.C: change vfillline->added_space
7731 * text.C: add markers and text for added space
7733 * vspace.C: fix comment
7735 2001-11-28 André Pönitz <poenitz@gmx.net>
7737 * paragraph.C: whitespace changes
7738 * all the other files from the change on 2001/11/26:
7739 change *::pos_type into lyx::pos_type
7741 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7743 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7744 language of the document when inserting error insets.
7746 2001-11-26 André Pönitz <poenitz@gmx.net>
7748 * BufferView_pimpl.[Ch]:
7756 * paragraph_pimpl.[Ch]:
7759 * text2.C: reduce header dependencies, introduce type for positions
7761 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7763 * <various>: change to use Alert.h
7765 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7767 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7768 when encountering an unknown token.
7769 (readLyXformat2): Show an error message if there were unknown tokens.
7771 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7774 * BufferView_pimpl.C:
7778 * text2.C: use par->isInset()
7780 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7782 * paragraph_pimpl.h:
7783 * paragraph_pimpl.C: cleanup
7785 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7787 * text2.C (removeRow):
7788 * text.C (setHeightOfRow): remove useless (and costly) call to
7791 2001-11-20 Allan Rae <rae@lyx.org>
7793 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7794 Now need Inset*::checkInsertChar() to return true for appropriate
7795 cases so that the characters in the minibuffer will actually be
7798 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7800 * text.C: change the order of the includes.
7801 (workWidth): initialize it at once.
7802 (workWidth): make maxw unsigned
7803 (setHeightOfRow): remove unused variable (inset)
7804 (selectSelectedWord): remove unused variable (inset)
7805 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7807 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7809 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7810 server is not running.
7812 (closeConnection): add debug info when server is disabled.
7814 * ColorHandler.C (getGCForeground): send debug message to GUI
7817 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7819 * kbmap.C (bind): modify because return conventions of
7820 kb_sequence::parse have changed.
7822 * kbsequence.C (parse): only ignore spaces and not any stupid
7823 control character. This avoids tests like s[i] <= ' ', which are
7824 guaranteed to fail with 8bit characters and signed chars.
7825 Change return code to string::npos when there have been no error
7826 (0 was a bad idea when error is at first character)
7828 2001-11-14 José Matos <jamatos@fep.up.pt>
7831 * buffer.C (simpleDocBookOnePar): removed unused argument.
7833 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7835 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7836 insets which are part of a word. Paragraph::isLetter takes care of
7837 that now. Use Paragraph::isInset to identify insets.
7838 (selectSelectedWord): do not test for hyphenation break.
7840 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7841 that protected spaces are considered as spaces.
7843 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7846 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7849 * lyxserver.C: fix it. and small cleanup.
7851 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7853 * BufferView_pimpl.C: use inline helpers
7856 * LaTeXFeatures.C: fix typos
7859 * Spacing.C: move spacing_string into class
7861 * ToolbarDefaults.C: move stuff into namespace anon
7863 * layout.h: update enum
7865 * lyxfunc.C: use better debug
7867 * minibuffer.h: fix typo
7871 * WorkArea.C: add and use Debug::WORKAREA
7875 * text2.C: code re-organisation, inline helpers
7877 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7879 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7880 std::vector.empty().
7882 2001-11-09 Allan Rae <rae@lyx.org>
7884 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7885 '\n's after tables. Tabular and ERT inset work now makes this no
7888 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7891 * minibuffer.C: fix crash, improve drop-down completion
7893 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7896 * lyxserver.C: invalidate fd's when doing endPipe()
7898 2001-11-08 José Matos <jamatos@fep.up.pt>
7900 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7901 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7904 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7906 2001-11-07 José Matos <jamatos@fep.up.pt>
7909 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7912 * buffer.C (sgmlOpenTag):
7913 * buffer.C (sgmlCloseTag): removed debug info.
7915 * buffer.h (sgmlOpenTag):
7916 * buffer.h (sgmlCloseTag): made public.
7918 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7920 * buffer.C (saveParamsAsDefaults):
7921 * lyx_cb.C (MenuLayoutSave): remove
7923 * LyXAction.C (init):
7925 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7927 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7929 * buffer.C (setPaperStuff): removed from here...
7931 * bufferparams.C (setPaperStuff): ... and moved there.
7933 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
7937 * XFormsView.C: add support for drop-down completion
7939 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
7941 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
7944 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7946 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
7949 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
7951 * lyx_main.C: change ref to known bugs
7953 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
7955 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
7956 to work around older babel problems.
7958 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
7960 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
7962 2001-10-24 Juergen Vigna <jug@sad.it>
7964 * tabular-old.C (ReadOld): below variable changes reflected.
7966 * tabular.[Ch]: added ltType struct for longtable header/footer
7967 defines and changed all instances where they are used. Added
7968 future support for double top/bottom rows.
7970 2001-10-24 José Matos <jamatos@fep.up.pt>
7972 * buffer.h (docbookHandleCaption):
7973 * buffer.C (docbookHandleCaption): removed unused function.
7974 (makeDocBookFile): moved docbook supported version to v4.1.
7976 2001-10-24 José Matos <jamatos@fep.up.pt>
7979 * tabular.C (docbookRow): new function to export docbook code of a row.
7980 (DocBook): now honors the longtable flags.
7982 2001-10-23 José Matos <jamatos@fep.up.pt>
7985 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
7986 of the lyx defined sgml entities used in a docbook/linuxdoc document.
7988 * buffer.C (makeLinuxDocFile):
7989 (makeDocBookFile): reworked the preamble, more clean, and with
7990 support for lyx defined entities. Changed the document declaration
7991 to be more XML friendly.
7993 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
7994 if we need to output XML that should be done with a filter.
7996 2001-10-22 Juergen Vigna <jug@sad.it>
7998 * sp_pspell.h (class PSpell): add alive function needed in the
7999 controller to see if the spellchecker could be started.
8001 2001-10-22 Juergen Vigna <jug@sad.it>
8003 * buffer.C (insertStringAsLines): modify the font for inserting
8004 chars in certain conditions by calling checkInsertChar(font).
8006 2001-10-19 Juergen Vigna <jug@sad.it>
8008 * text.C (workWidth): use getRow instead of wrong algorithm.
8009 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8011 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8016 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8018 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8020 * text.C (workWidth): do not search for the exact row when
8021 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8022 optimization for big documents.
8024 2001-10-18 Juergen Vigna <jug@sad.it>
8026 * text.C (workWidth): new function with added Inset * parameter.
8028 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8030 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8032 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8033 change return type of getColumnNearX.
8036 * text.C (changeRegionCase): use uppercase/lowercase instead of
8039 (rightMargin): simplify code by factoring out the uses of
8044 (appendParagraph): use Paragraph::size_type
8046 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8048 * vspace.C (asLatexString): add a missing break
8050 2001-10-15 Herbert Voss <voss@perce.de>
8052 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8054 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8056 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8059 2001-10-10 André Pönitz <poenitz@gmx.net>
8061 * lyxfunc.C: removed greek_kb_flag.
8063 2001-10-10 Herbert Voss <voss@perce.de>
8065 * lyx_main.C: delete global string help_lyxdir.
8067 2001-10-09 Herbert Voss <voss@perce.de>
8069 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8071 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8073 * lyx_main.C: added global string help_lyxdir.
8075 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8077 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8079 * lyxrc.C (set_font_norm_type): support iso8859-4
8081 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8083 * LaTeX.C (deplog): add another regex for MikTeX
8085 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8087 * lyxrc.C (set_font_norm_type): support iso8859-3
8089 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8091 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8093 * LaTeXFeatures.C: remove special case of french and index
8095 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8096 before \begin{document}). This solves several incompatibilities.
8098 2001-10-03 Garst Reese <reese@isn.net>
8100 * lyx_cb.C: change CheckTex error msg.
8102 2001-10-03 José Matos <jamatos@fep.up.pt>
8104 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8106 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8108 * .cvsignore: update
8110 * lyx_main.C (commandLineVersionInfo): use new style version info.
8112 * buffer.C (writeFile):
8115 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8117 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8119 * version.h: update to use stuff in version.C
8121 * version.C.in: new file. Contains version information determined
8122 at compile time. This is a merging of version.h and
8125 2001-10-03 Juergen Vigna <jug@sad.it>
8127 * BufferView_pimpl.C (update): don't change "dirty" status in
8130 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8132 * WorkArea.C (c-tor): re-position version string slightly.
8134 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8136 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8137 revert to previous code.
8139 WorkArea.[Ch]: (show, destroySplash): methods removed.
8141 WorkArea.C: rework code so that it's an amalgam of the codes before and
8142 after the splash screen was moved to WorkArea.
8144 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8147 * vspace.C (inPixels):
8150 * buffer.C (insertStringAsLines):
8151 (asciiParagraph): fix types to be large enough
8153 * lyxlex_pimpl.h: change member status from short to int
8155 * layout.h: fix type of endlabeltype
8158 * kbsequence.C (parse): change return type to string::size_type
8160 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8163 * Bullet.C (bulletSize):
8164 (bulletEntry): do not use short ints as parameters
8166 * BufferView2.C (insertLyXFile): change a char to an int.
8168 * WorkArea.C (WorkArea): remove unneeded floats in computation
8170 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8172 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8174 * paragraph.C (asString): Do not ignore newline/hfill chars when
8175 copying to the clipboard.
8177 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8179 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8180 after a multi-line inset.
8182 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8184 * paragraph.C (validate): Set NeedLyXFootnoteCode
8186 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8188 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8189 and decrease-error to decrease.
8191 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8193 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8194 it more readable (should be equivalent)
8196 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8198 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8200 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8202 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8203 of a cursor (row, etc.) after a character has been deleted
8204 (deleteEmptyParagraphMechanism): call the method above on _all_
8205 cursors held by the LyXText when a double space has been
8208 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8210 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8212 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8214 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8215 background. Use greyOut() and the new show() methods to toggle between
8216 the foreground and background. Add code to remove the splash after
8217 its initial showing.
8219 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8220 (create_forms): no longer call Dialogs::showSplash.
8222 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * .cvsignore: add version_info.h
8226 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8228 * version_info.h.in: new file
8230 * Makefile.am: add version_info.h.in
8232 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8233 version_info.h instead of VERSION_INFO
8235 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8237 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8238 The ERT inset now returns string().
8240 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8242 * lyxtext.h, text.C (selectNextWord): renamed as
8243 selectNextWordToSpellcheck.
8245 * text.C (selectNextWordToSpellcheck): Modified to not select
8246 words inside an ERT inset.
8248 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8250 * lyx_cb.C (MenuLayoutSave): change a bit the question
8252 * sp_base.h: include <sys/types.h>
8254 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8256 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8258 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8260 * several files: fix typos in user-visible strings
8262 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8264 * text2.C (pasteSelection): do not set the selection, since it
8265 will be cleared later. Actually, the intent was to fix the way the
8266 selection was set, but I figured rmoving the code was just as good.
8268 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8270 * FontLoader.C (available): Check if font is available without
8273 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8275 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8277 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8279 * lyxrc.[Ch]: added display_graphics variable and associated code.
8281 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8283 * bufferparams.C (hasClassDefaults): new method. Returns true if
8284 the buffer parameters correspond to known class defaults
8286 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8288 * XFormsView.C (show): set minimum size to the main window.
8290 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8292 * text2.C (copySelection):
8294 * lyxfind.C (LyXReplace):
8295 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8296 LyXText::selectionAsString.
8298 * paragraph.C (asString): add "label" argument to the second form
8300 * text2.C (selectionAsString): add "label" argument and pass it to
8301 Paragraph::asString.
8303 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8305 * lyx_main.C (commandLineHelp): remove version information
8307 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8309 * lyx_main.C: add -version commandline option
8311 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8313 * paragraph.h: make the optional constructor arg required instead.
8314 some modifications to other files because of this.
8316 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8318 * lyxserver.C (C_LyXComm_callback): make it static
8320 * lyx_main.C (error_handler): make it static
8322 * lyx_gui.C (LyX_XErrHandler): make it static
8324 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8326 * WorkArea.C: make the extern "C" methods static.
8328 * Makefile.am (lyx_LDADD): simplify
8330 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8332 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8333 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8335 * LyXAction.C (init):
8336 * lyxfunc.C (dispatch): associated code removal.
8338 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8340 * lyxfont.h (isSymbolFont): shut off warning
8342 * text.C (setHeightOfRow):
8343 (getVisibleRow): fix crash with empty paragraphs which have a
8346 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8348 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8351 2001-09-04 José Matos <jamatos@fep.up.pt>
8354 * tabular.C (docbook): rename docBook method to docbook.
8356 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8358 * Makefile.am: add dependencies to main.o.
8360 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8362 * FontLoader.C (available): Return false if !lyxrc.use_gui
8364 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8366 * FontInfo.C (query):
8367 * converter.C (view):
8368 * importer.C (Import):
8369 * exporter.C (Export): Can not -> cannot.
8371 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8373 * BufferView_pimpl.C: allow to create index inset even if
8376 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8378 * buffer.C (getLists): replace boost::tie code with an explicit pair
8379 as boost::tie can break some compilers.
8381 * iterators.h: Added a std:: declaration to the return type of
8384 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8386 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8389 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8391 * iterators.[Ch]: New files. Provide paragraph iterators.
8393 * buffer.C (changeLanguage): Use paragraph iterators.
8394 (isMultiLingual): ditto
8396 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8398 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8400 * FontLoader.C: Support for cmr font.
8402 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8404 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8405 (available): New method.
8407 * FontInfo.C (getFontname): Use scalable fonts even when
8408 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8411 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8413 * converter.C (Formats::view): reverted! Incorrect fix.
8415 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8417 * converter.C (Formats::view): only output the -paper option
8418 if the dvi viewer is xdvi, thereby fixing bug #233429.
8420 2001-08-23 Herbert Voss <voss@perce>
8422 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8424 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8426 * Spacing.h (Spacing): Set space to Default on in the default
8429 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8431 * vc-backend.h (RCS::versionString): add RCS to version
8432 (CVS::versionString): add CVS to version
8434 * vc-backend.C (scanMaster): do not add CVS to version.
8435 (scanMaster): do not add RCS to version
8437 * lyxvc.C (versionString): new method
8439 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8441 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8443 * Spacing.C (set): initialize fval
8445 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8447 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8450 2001-08-16 Juergen Vigna <jug@sad.it>
8452 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8454 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8456 * BufferView_pimpl.C:
8459 * text2.C: setParagraph takes linespacing now
8461 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8463 * LyxAction.C: add internal LFUN_CITATION_INSERT
8465 * LyXView.C: actually apply fix
8467 * bufferlist.C: fix open non-existent file
8469 * lyxfind.C: fix indentation
8471 * lyxfunc.C: remove unneeded assert, fix typo
8473 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8475 * MenuBackend.C: use "Floatname List"
8477 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8479 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8480 when converting LaTeX layout to insetERT.
8481 Generate a non-collapsed float when reading old float
8483 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8485 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8488 2001-08-13 Juergen Vigna <jug@sad.it>
8490 * text.C (fill): return 0 instead of 20 as this seems to be the more
8493 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8495 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8498 2001-08-13 Juergen Vigna <jug@sad.it>
8500 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8502 (SearchBackward): comment out the unlocking of the inset_owner this
8503 should not be needed!
8505 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8507 * Many files: Remove inherit_language, and add latex_language
8509 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8512 2001-08-10 Juergen Vigna <jug@sad.it>
8514 * text.C (prepareToPrint): fixed hfill-width in draw!
8516 * BufferView2.C (selectLastWord): save the selection cursor as this
8517 now is cleared in the function LyXText::clearSelection!
8519 2001-08-08 Juergen Vigna <jug@sad.it>
8521 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8522 BACKSPACE type functions.
8524 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8525 is only cutted from the document but not put in the cut-buffer, where
8526 still the old stuff should be.
8528 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8530 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8532 * tabular.C (SetWidthOfCell): fixed special case where the width
8534 (LeftLine): handle '|' in align_special.
8536 (LeftAlreadyDrawed): ditto
8537 (SetWidthOfCell): ditto
8539 2001-08-07 Juergen Vigna <jug@sad.it>
8541 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8543 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8545 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8546 * lyxlex.[hC]: ditto
8548 2001-08-06 Juergen Vigna <jug@sad.it>
8550 * text.C (getVisibleRow): fix up row clearing a bit.
8552 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8554 * minibuffer.C: make sure the X server sees the changes in the input.
8556 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8558 * paragraph.C (getFont): split into...
8559 (getLabelFont): this
8560 (getLayoutFont): and this
8561 * paragraph_pimpl.C (realizeFont): calling this
8563 * text2.C (getFont): split into...
8564 (getLayoutFont): this
8565 (getLabelFont): and this
8566 (realizeFont): all three calling this
8568 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8571 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8573 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8575 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8577 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8578 layouts from the Quote inset insertion.
8580 2001-08-03 Juergen Vigna <jug@sad.it>
8582 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8584 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8585 only if status not is already CHANGED_IN_DRAW (second level).
8587 * text.C (draw): don't set the need_break_row when inside an
8590 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8592 * buffer.C (parseSingleLyXformat2Token): handle more latex
8595 * bufferview_funcs.[hC]: change function names to
8596 begin with small char, adjust other files.
8598 2001-08-02 André Pönitz <poenitz@gmx.net>
8601 BufferView_pimpl.C: remove broken special code for math-greek
8603 2001-08-02 Juergen Vigna <jug@sad.it>
8605 * BufferView_pimpl.C (update): redone this function so that we
8606 update the text again if there was a CHANGE_IN_DRAW.
8608 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8609 (drawFromTo): added a new internal bool which is used by draw() and
8611 (general): some cursor drawing problems fixed.
8613 2001-08-01 Juergen Vigna <jug@sad.it>
8615 * lyxfind.C (LyXFind): fixed
8616 (SearchForward): ditto
8617 (SearchBackward): ditto
8619 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8620 spurius drawing of the cursor in the main area.
8622 * text2.C (status): small fix which could lead to a segfault!
8623 (clearSelection): remove unneeded BufferView param.
8625 2001-08-01 André Pönitz <poenitz@gmx.net>
8627 * lyxfunc.C: small change due to changed mathed interface
8629 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8631 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8633 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8635 * lyxfunc.c: fail gracefully if file doesn't exist
8640 * BufferView_pimpl.C: IsDirWriteable() proto changed
8642 * LyXView.C: fix updateWindowTitle() to store the last title
8644 2001-07-31 Juergen Vigna <jug@sad.it>
8646 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8647 the font (wrong since using of Paragraph::highestFontInRange).
8649 * paragraph.C (highestFontInRange): added a default_size parameter.
8651 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8652 (setHeightOfRow): reformat
8654 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8656 * converter.[hC] + affected files: move to (inital-char)lowercase
8659 * ParagraphParameters.C (ParagraphParameters): remove commented code
8661 * PainterBase.[Ch]: remove commented code
8663 * LaTeXFeatures.h: add "bool floats" for float.sty
8665 * LaTeXFeatures.C (LaTeXFeatures): init floats
8666 (require): handle float
8667 (getPackages): do it with floats
8669 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8671 * BufferView_pimpl.C (Dispatch): improve handling of
8672 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8674 * commandtags.h: #include lyxfont.h here temporarily to avoid
8677 * bufferlist.h: include LString.h here.
8679 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8681 * text2.C (getStringToIndex): new method.
8683 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8685 * *: Reduced header file dependencies all over.
8687 2001-07-30 Baruch Even <baruch@lyx.org>
8689 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8691 2001-07-29 Baruch Even <baruch@lyx.org>
8693 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8695 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8697 * ParameterStruct.h (endif): add a default constructor to make
8698 sure that all variables is initialized.
8700 * ParagraphParameters.C (ParagraphParameters): adjust
8702 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8704 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8705 index; also, check that there is something to index, and that it
8706 does not span over several paragraphs.
8707 (doubleClick): use WHOLE_WORD_STRICT for double click.
8709 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8711 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8714 2001-07-26 Baruch Even <baruch@lyx.org>
8716 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8717 an InsetFig figure, backwards compatible reading of old figure code.
8719 2001-07-27 Juergen Vigna <jug@sad.it>
8721 * text2.C: font.realize function adaption.
8723 * text.C (draw): add a warnings lyxerr text if needed.
8725 * layout.C: font.realize function adaption.
8727 * language.C: add inherit_language and implement it's handlings
8729 * bufferview_funcs.C (StyleReset): remove language parameter from
8730 font creation (should be language_inherit now).
8732 * bufferparams.C (writeFile): handle ignore_language.
8734 * paragraph.C (getFontSettings): the language has to be resolved
8735 otherwise we have problems in LyXFont!
8737 * lyxfont.C (lyxWriteChanges): added document_language parameter
8738 (update): removed unneeded language parameter
8740 * paragraph.C (validate): fixed wrong output of color-package when
8741 using interface colors for certain fonts in certain environments,
8742 which should not seen as that on the final output.
8744 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8746 * BufferView_pimpl.C:
8751 * LyXAction.C: add thesaurus support
8754 * lyxfind.C: add "once" parameter, for thesaurus, to not
8755 move to the next match
8757 2001-07-26 Juergen Vigna <jug@sad.it>
8759 * lyxfont.C (realize): honor ignore_language too!
8762 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8764 * text.C (draw): one place more for ignore_language to not draw
8767 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8769 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8771 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8773 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8774 the minipage conversion problem.
8776 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8778 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8781 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8783 * BufferView.h: don't forward declare WorkArea
8785 * BufferView.C: don't include WorkArea.h
8787 2001-07-25 André Pönitz <poenitz@gmx.net>
8791 * lyxfunc.C: new LFUN 'math-space'
8793 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8795 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8797 * text2.C (toggleInset): call open/close
8799 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8801 * lyxfunc.C (dispatch): add debug for the disabled case
8803 * font.C (buttonText): make similar to rectText
8805 * buffer.C (readInset): comment out parsing of insetlist and
8808 * PainterBase.C (rectText): small correction
8810 * BufferView_pimpl.C: comment out insettheorem and insetlist
8811 * LyXAction.C: ditto
8812 * commandtags.h: ditto
8814 2001-07-24 Juergen Vigna <jug@sad.it>
8816 * text.C (draw): honor the ignore_language.
8818 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8820 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8822 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8825 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8827 * lyxtext.h: remove unused (and unimplemented) methods
8829 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8831 * text.C (getVisibleRow): honor background color
8834 * Painter.h: remove default color argument for fillRectangle
8836 * text.C (backgroundColor): new method
8838 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8840 * text.C (getVisibleRow): adjust
8842 * font.[Ch] (rectText): new method, metrics
8843 (buttonText): new method, metrics
8845 * PainterBase.[hC]: make rectText and buttonText always draw and take
8848 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8850 * ToolbarDefaults.C (read):
8851 * MenuBackend.C (read): allow escaping in all strings
8853 * BufferView_pimpl.C (insertAndEditInset): new method.
8854 (Dispatch): use insertAndEditInset whenever appropriate.
8856 * BufferView_pimpl.C (insertNote): removed
8858 * BufferView_pimpl.C (smartQuote): new method, moved from
8859 BufferView; if an insetquote cannot be inserted, insert a '"'
8862 * BufferView2.C: remove insertCorrectQuote();
8864 * lyxfunc.C (getStatus): Add support for all remaingin
8867 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8869 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8870 command (necessary to pass " as parameter of self-insert.
8872 * text.C (selectWordWhenUnderCursor):
8873 (selectWord): add word_location parameter
8874 (selectWordWhenUnderCursor): same + remove special code for word
8876 (selectNextWord): use kind() to guess type of insetspecialchar,
8879 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8880 (insertErtContents): create ert insets as collapsed.
8881 (readInset): better compatibility code for Info inset.
8883 2001-07-20 Juergen Vigna <jug@sad.it>
8885 * lyxfunc.C (dispatch): use always LyXFind now!
8887 * text2.C (init): add a reinit flag so that the LyXText can be
8888 reinited instead of deleted and reallocated (used in InsetText).
8890 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8896 2001-07-18 Juergen Vigna <jug@sad.it>
8898 * text.C (selectNextWord): handle insets inside inset by calling
8899 always the bv->text functions so that we can go up the_locking_inset!
8901 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8902 in strange locations when inside an inset!
8904 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8905 handling to include insets.
8907 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8909 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8911 * LyXAction.C (init):
8913 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8914 LIGATURE_BREAK, since the name is so stupid.
8916 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8918 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8921 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8923 * sp_form.[Ch]: remove.
8925 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8927 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8930 * src/buffer.C (readInset): ditto.
8932 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8934 * BufferView_pimpl.C (specialChar): new method. Obsoletes
8935 menuSeparator(), endOfSentenceDot(), ldots() and
8936 hyphenationPoint(), which are therefore removed.
8937 (Dispatch): handle LFUN_HYPHENATION_BREAK.
8939 * LyXAction.C (init):
8940 * commandtags.h: add LFUN_HYPHENATION_BREAK.
8942 * paragraph.C (getWord): removed.
8944 * BufferView_pimpl.C (Dispatch): use last word or selection for
8945 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
8947 * lyx_main.C (queryUserLyXDir): do not ask before creating
8948 user_dir, except if it has been named explicitely.
8950 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8952 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
8953 a document of zero size.
8955 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
8957 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
8958 approriately in the c-tor and in require().
8959 (getPackages): output the appropriate LaTeX for natbib support.
8961 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
8962 variables "use_natbib" and "use_numerical_citations" when reading the
8964 (readInset): read the various natbib cite commands.
8965 (validate): white-space change.
8967 * bufferparams.[Ch]: new variables "bool use_natbib" and
8968 "bool use_numerical_citations".
8969 (writeFile): output them in the LyX file.
8971 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8973 * lyxfunc.C (getStatus): add support for all the inset insertion
8976 * text2.C (insertInset):
8977 * paragraph.C (insetAllowed):
8978 * BufferView_pimpl.C (insertInset): update to take in account the
8979 renaming of insertInsetAllowed
8981 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
8983 * text2.C (getInset): new method. returns inset at cursor position.
8985 * BufferView_pimpl.C (Dispatch): changes because of this.
8987 * LyXAction.C (init): rename open-stuff to inset-toggle.
8989 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
8991 * text2.C (toggleInset): renamed from openStuff; use
8994 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
8996 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
8998 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9000 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9002 * buffer.C (readLyXformat2): Add filename to the error dialog
9004 2001-07-18 Juergen Vigna <jug@sad.it>
9006 * tabular.C (GetCellNumber): put an assert here instead of the check!
9008 2001-07-17 Juergen Vigna <jug@sad.it>
9010 * BufferView_pimpl.C (toggleSelection): adapted too.
9012 * text.C (selectNextWord): adapted for use with insets.
9013 (selectSelectedWord): ditto
9015 2001-07-17 Juergen Vigna <jug@sad.it>
9017 * sp_spell.C (PSpell): fix initialitation order.
9019 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9021 * paragraph.C: spacing
9023 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9025 * sp_spell.C: repair language selection for pspell
9027 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9029 * lyxfunc.h: change more methods to begin with lower char.
9031 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9033 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9034 for unknown layouts.
9036 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9038 * buffer.C (readLyXformat2): Generate an error dialog if there are
9041 2001-07-16 Juergen Vigna <jug@sad.it>
9043 * sp_spell.C: always compile ISpell part.
9045 * lyxrc.C: added use_pspell entry and it's handling.
9047 2001-07-13 Juergen Vigna <jug@sad.it>
9049 * sp_spell.C: removed double includes.
9051 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9053 Consistent use of Lsstream.h:
9054 * Lsstream.h: added using std::stringstream for consistencies sake.
9056 * buffer.C: removed using std::stringstream
9058 * lyxfont.C (stateText):
9059 * paragraph.C (asString):
9060 * text.C (selectNextWord, selectSelectedWord):
9061 * text2.C (setCounter):
9062 * vspace.C (asString, asLatexString):
9063 std::ostringstream -> ostringstream.
9065 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9067 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9068 * commandtags.h: add LFUN_HELP_ABOUTLYX
9069 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9071 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9073 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9075 * lyx_gui_misc.C: remove spellchecker
9076 * lyxfunc.C: showSpellchecker
9078 * sp_ispell.h: added
9079 * sp_pspell.h: added
9081 * sp_form.[Ch]: removed
9082 * spellchecker.[Ch]: removed
9084 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9086 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9088 (simpleTeXSpecialChars): Simply print the input character without
9089 any special translation if pass_thru is set.
9091 * layout.h: Added bool pass_thru to layout class for being able to
9092 implement pass through of a paragraph for Literate Programming.
9094 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9095 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9096 * layout.C (Read): add "passthru" to list of layout tags and add
9097 code to set the pass_thru boolean when it is read.
9099 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9101 * trans_decl.h: remove allowed from KmodInfo
9103 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9107 * paragraph_pimpl.C (erase): use boost::prior
9109 * Painter.C (text): use data() instead of c_str() when length is
9111 * WorkArea.C (putClipboard): ditto
9112 * font.h (width): ditto
9114 * BufferView2.C: use it-> instead of (*it). for iterators
9116 * paragraph_pimpl.C: ditto
9117 * paragraph.C: ditto
9118 * minibuffer.C: ditto
9123 * converter.C: ditto
9125 * Variables.C: ditto
9126 * TextCache.C: ditto
9127 * MenuBackend.C: ditto
9128 * LyXAction.C: ditto
9130 * FloatList.C: ditto
9132 * ColorHandler.C (LyXColorHandler): ditto
9134 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9136 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9138 * text2.C (openStuff): reintroduce this method (which had been
9139 nuked in NEW_INSETS frenzy).
9141 * lyxfunc.C (Dispatch): when an action has not been handled, use
9142 its name in the error message, not its number.
9144 * paragraph.C (inInset): change method name to begin with lowercase.
9147 * text2.C: updates because of this.
9149 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9151 * ToolbarDefaults.C (add): add spaces in error message
9153 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9155 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9156 (readLyXformat2): rename return_par to first_par, use lyxlex's
9157 pushToken and remove the manual push handling.
9158 (parseSingleLyXformat2Token): add another ert comp. variable:
9159 in_tabular, rename return_par to first_par. handle newlines better
9161 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9163 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9165 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9167 * text2.C (getParFromID): removed
9169 * buffer.C (getParFromID): new method moved form lyxtext.
9170 * BufferView2.C (insertErrors): adjust
9171 (setCursorFromRow): adjust
9172 * BufferView_pimpl.C (restorePosition): adjust
9173 * lyxfunc.C (Dispatch): adjust
9174 * undo_funcs.C (textUndo): adjust
9176 (textHandleUndo): adjust
9177 (textHandleUndo): adjust
9179 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9181 * buffer.C: up' the LYX_FORMAT
9183 * lyxfont.h: turn NO_LATEX on as default
9185 * buffer.C (insertErtContents): new methods of tex style compability.
9186 (parseSingleLyXformat2Token): use it several places.
9187 * tabular.C (OldFormatRead): and here
9189 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * text2.C: remove some commented code.
9194 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9195 * trans.C: changes because of the above.
9197 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9199 * text2.C (setCounter): Fix counters bug with bibliography layout.
9201 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9203 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9204 own member functions
9205 (simpleTeXSpecialChars): ditto
9207 2001-07-06 Juergen Vigna <jug@sad.it>
9209 * a lot of files: changed the access to LyXText::status and the
9210 call of undo-functions.
9212 * undo.[Ch]: added a inset_id to the undo informations.
9214 * undo_funcs.[Ch]: added and moved here all undo functions.
9216 * lyxtext.h: give the status enum a weight, made status_ a private
9217 variable and made accessor functions for it, removed the whole bunch
9218 of undo-functions as they are now in their own file, make some
9219 functions publically available. Added function ownerParagraph with
9222 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9223 made InInset() a const function, added getParFromID() function.
9225 * buffer.[Ch]: added const version for inset_iterator functions,
9226 added getInsetFromID() function.
9228 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9229 changed undo functions for new version.
9231 2001-07-05 Juergen Vigna <jug@sad.it>
9233 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9234 unknow mechanism does not call the proper constructor but only this
9235 one also if I request the other!?
9237 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9239 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9241 * text2.C (LyXText): use initialization lists.
9243 * lyxtext.h (Selection): initialize set_ and mark_
9244 (init): remove method
9246 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9248 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9250 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9252 * screen.[Ch]: change method names to begin with lowercase
9254 * BufferView_pimpl.C (updateScrollbar): simplify further and
9255 hopefully make it a bit faster.
9257 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9259 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9260 calling directly xforms functions.
9262 * Painter.C (Painter):
9263 * lyx_cb.C (MenuWrite):
9264 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9267 * lyx_gui.C: remove bogus guiruntime extern declaration.
9269 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9271 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9273 (redoDrawingOfParagraph): ditto
9274 (redoParagraphs): ditto
9275 (cutSelection): don't create a object for CutAndPaste use the
9276 static method directly
9277 (pasteSelection): ditto
9279 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9282 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9284 * modifications to some other files because of this.
9286 * Makefile.am (lyx_SOURCES): add XFormsView
9288 * XFormsView.[Ch]: new files
9290 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9291 the main window. Move the gui dependent stuff to XFormsView
9293 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9295 * tabular.C (GetCellInset): update cur_cell also in the row/col
9296 version of this function.
9298 * lyxfunc.C: no need to include figure_form.h here.
9304 * lyxvc.C: no need to include forms.h here.
9306 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9308 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9310 * lyxfunc.C (Dispatch):
9312 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9313 constructor argument.
9315 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * paragraph.C (Paragraph): dont't clear, and just set layout.
9318 (makeSameLayout): use params's copy contructor.
9320 * ParagraphParameters.[Ch] (makeSame): delete method
9322 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9324 * Variables.[Ch]: fix indentation, rename set to isSet
9326 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9328 * lyxfunc.C (Dispatch): fix typo
9330 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9332 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9335 * bufferlist.C: include assert.h for emergencyWrite().
9337 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9339 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9340 give up at last (bug #425202) !
9342 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9348 * spellchecker.C: strip spellchecker options and bring up
9349 preferences tab instead
9351 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9353 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9354 the istringstream constructor
9356 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9358 * paragraph.C (getLayout): fix return value
9360 * paragraph.h: do not declare getLayout as inline.
9362 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9364 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9366 * lyxcursor.h (operator<): new func
9367 (operator>): new func
9368 (operator>=): new func
9369 (operator<=): new func
9371 * text.C (changeCase): use selection.start and selection.end
9372 (changeRegionCase): require from to be <= to. Require par to be a
9375 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9377 2001-06-27 Juergen Vigna <jug@sad.it>
9379 * text.C (cursorLeftOneWord): changed to return the cursor and added
9380 overlay with BufferView * parameter which calls this one.
9382 (selectWord): use new getWord function.
9383 (changeCase): renamed from changeWordCase as and extended to work
9386 * lyxtext.h: added enum word_location
9388 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9389 changeCase as this operates now also on selections.
9391 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9393 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9395 * many files: send debug output to Debug::INFO instead of
9398 * converter.C (View):
9400 (Move): send debug output to Debug::FILES instead of console.
9402 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9404 * lyxfunc.C (getStatus): use func_status
9406 * func_status.h: new header, describing the results of
9409 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9412 2001-06-25 The LyX Project <jug@sad.it>
9414 * buffer.C (sgmlOpenTag):
9416 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9418 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9420 * text2.C: remove some dead code
9422 * tabular.C (GetCellInset): store the last cell checked (gotten)
9424 * tabular.h: add the helper for the speedup
9426 * lyxtext.h: remove some dead code
9428 2001-06-26 The LyX Project <Asger>
9430 * paragraph.C: Change export to LaTeX of alignment to
9431 \begin{center} and family for better roundtrip work with reLyX.
9433 * Tune the math drawing a bit.
9435 2001-06-25 The LyX Project <Asger>
9437 * LColor.C (LColor): New color for math background. New color
9440 2001-06-25 The LyX Project <jug@sad.it>
9442 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9445 * bufferlist.C (newFile): do not restrict to files ending with
9448 * BufferView_pimpl.C (MenuInsertLyXFile):
9450 2001-06-24 The LyX Project <jug@sad.it>
9452 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9455 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9457 * lyxtext.h: rename most methods to begin with a small char.
9458 Lots of changes because of this.
9460 * paragraph.C (Paragraph): do not call fitToSize
9461 (erase): call Pimpl::erase
9462 (insertChar): call Pimpl::insertChar
9463 (insertInset): call Pipl::insertInset
9464 (breakParagraph): do not call fitToSize
9465 (breakParagraphConservative): do not call fitToSize
9466 (fitToSize): remove method
9468 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9470 2001-06-24 The LyX Project <Asger>
9472 * Fix Qt compilation^2
9474 2001-06-24 The LyX Project <jug@sad.it>
9476 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9477 depthHook(getDepth()-1).
9480 * ParagraphParameters.h:
9481 * ParameterStruct.h: change type of depth to unsigned int ==
9482 depth_type. Many adaptations to other files before of that.
9484 2001-06-24 The LyX Project <Asger>
9486 * Fix Qt compilation.
9488 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9490 * paragraph.h: renamed several methods to begin with small letter.
9491 several changes to many parts of the code because of this.
9493 2001-06-23 The LyX Project <jug@sad.it>
9495 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9496 rewritten to discard all double spaces when KeepEmpty is off
9497 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9498 to only handle newlines but not fiddle with spaces and friends.
9500 * lyxfunc.C (MenuNew): when doing 'new from template', use
9501 template_path as default directory
9503 2001-06-23 The LyX Project <Asger>
9505 * Clean-up of header file includes all over
9506 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9508 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9510 * paragraph.h: renamed from lyxparagraph.h
9512 2001-06-23 Asger <lyx@violet.home.sad.it>
9514 * Buffer.h: Removed Buffer::resize
9515 * BufferList.h: Removed BufferList::resize
9516 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9517 the document lazily when we change the width, or the font settings.
9519 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9521 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9523 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9525 * buffer.h: remove out of date comment
9527 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9530 * screen.C: fix "theoretical" GC leak
9532 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9534 * LaTeX.C (scanAuxFile):
9535 (deplog): remove trailing \r when reading stream (useful under
9538 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9540 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9541 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9542 and BufferView::theLockingInset(Inset*), so should use them and not
9543 access bv_->text->the_locking_inset directly.
9545 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9547 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9550 * tex-defs.h: remove old unused file
9552 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9554 * BufferView_pimpl.C: fix typo, remove minibuffer message
9555 when buffer has loaded
9557 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9559 * lyxfunc.C (Dispatch): use stringstream
9560 (MenuNew): use stringstream
9561 (Open): use stringstream
9563 * importer.C (Import): use stringstream
9565 * bufferview_funcs.C (CurrentState): use stringstream
9567 * LaTeX.C (run): use stringstream
9569 * BufferView_pimpl.C (savePosition): use stringstream
9570 (restorePosition): use stringstream
9571 (MenuInsertLyXFile): use stringstream
9573 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9586 * vspace.C: removed // -*- C++ -*- as first line.
9589 * version.h: added // -*- C++ -*- as first line.
9591 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9595 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9598 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9600 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9603 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9605 * gettext.C: include LString.h even when --disable-nls is on.
9607 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9609 * converter.h (Get): changed argument type from int to
9610 FormatList::size_type to avoid unnecessary conversion.
9612 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9615 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9617 * gettext.h: include LString.h even when --disable-nls is on.
9619 2001-06-07 Juergen Vigna <jug@sad.it>
9621 * text.C (BreakAgain): subst spaces with tabs.
9623 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9624 (resizeInsetsLyXText): set force on resizeLyXText.
9626 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9628 * gettext.h (gettext_init):
9629 (locale_init): use a real definition instead of a macro
9631 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9633 * Bufferview_pimpl.C:
9635 * LColor.C: further lcolor tidies
9637 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9639 * BufferView_pimpl.C (updateScrollbar): simplify.
9641 * BufferView2.C: don't include insets/insetinfo.h, change
9642 prototype for insertInset and call the Pimpl version. let
9643 updateInset call Pimpl version.
9645 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9646 gotoInset to BufferView::Pimpl
9648 2001-06-01 Juergen Vigna <jug@sad.it>
9650 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9651 inside a LockingInset (is the update needed at all?).
9653 2001-05-31 Juergen Vigna <jug@sad.it>
9655 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9656 here not the old one otherwise how should we compare it afterwards
9659 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9664 * FontInfo.C: bring C functions into global namespace when
9667 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9669 * LString.h: make sure config.h has been loaded before LString.h.
9671 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9672 (one for each char read by EatLine!).
9674 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9677 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9679 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9680 to the same as the par we break from
9682 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9684 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9686 * MenuBackend.C (expand): also create menu entries for wide
9687 versions of the floats.
9689 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9691 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9693 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9694 frontends/Makefile.am
9700 * tabular.C (getTokenValue): add std::
9702 * tabular-old.C (getTokenValue): add std::
9703 (getTokenValue): ditto
9704 (getTokenValue): ditto
9706 * screen.C (ToggleSelection): adjust
9708 * lyxtext.h: put selection cursors inside a Selection struct.
9710 * lyxfunc.C (moveCursorUpdate): adjust
9712 * lyxfont.C (latexWriteStartChanges): add std::
9716 * font.h: delete with(char const *, LyXFont const &)
9718 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9720 * FontInfo.C (getFontname): add std::
9722 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9723 (workAreaButtonPress): adjust
9724 (tripleClick): adjust
9726 (moveCursorUpdate): adjust
9729 * BufferView2.C (gotoInset): adjust
9731 2001-05-30 Juergen Vigna <jug@sad.it>
9733 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9734 to check pspell I add this as default as I now have new pspell
9735 libraries and they seem to use this.
9737 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9739 * text2.C (CutSelection): make the cursor valid before the call to
9742 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9744 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9745 relied on 0 terminated strings and other horrors. Bug found due to
9746 the new assert in lyxstring!
9748 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9751 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9753 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9756 * lyxfunc.C (processKeySym): change method of getting to the
9759 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9760 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9761 * BufferView_pimpl.[Ch]: here as private methods.
9763 2001-05-28 Juergen Vigna <jug@sad.it>
9765 * text.C (SetHeightOfRow): added the update() call again as it is
9766 needed to initialize inset dimensions!
9768 2001-05-16 Juergen Vigna <jug@sad.it>
9770 * text2.C (SetCharFont): Add new function with BufferView * and
9771 bool toggleall parameters for setting insets internal fonts.
9772 (SetFont): Freeze the undo as we may change fonts in Insets and
9773 all this change should be inside only one Undo!
9775 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9776 setting font's in insets as for them we have the SetFont function!
9778 2001-05-15 Juergen Vigna <jug@sad.it>
9780 * text2.C (ClearSelection): to be sure we REALLY don't have any
9783 * tabular.C (TeXCellPreamble): fixed the left border problem for
9786 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9788 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9791 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9793 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9794 LFUN_BREAKPARAGRAPH.
9796 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9797 help test to "internal only", similar for LFUN_INSERT_URL
9799 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9800 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9801 auto_region_delete and deadkeys.
9803 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9806 * LColor.C: remove some dead entries, tidy a little
9808 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9810 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9812 (Dispatch): implement LFUN_ESCAPE
9814 * commandtags.h: add LFUN_ESCAPE
9816 * LyXAction.C (init): add entry for LFUN_ESCAPE
9818 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9819 Remove commented code.
9820 (insertNote): moved here
9821 (open_new_inset): moved here
9823 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9826 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9828 * kbmap.C (findbinding): clean it up and make it work correctly.
9830 * lyx_main.C (init): do not pass argc and argv as parameters
9832 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9834 * buffer.C: fix path for OS/2 & Win32
9838 * lyx_main.C: Added os:: class.
9840 * os2_defines.h: update
9842 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9844 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9845 better by trying again with reduced state.
9847 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9849 * lyxrc.C (read): print error about invalid key sequence only when
9850 debugging (because not all latinX keysyms are known to some X
9853 * kbsequence.C (getiso): add a few std:: qualifiers
9854 (getiso): comment out extra return statement.
9856 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9858 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9860 (Dispatch): enhance the accent inset a bit. (not perfect)
9862 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9864 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9866 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9868 * bufferlist.C (emergencyWrite): fix assert() call
9870 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9872 * text.C (InsertChar): Added trivial patch to only send the "you
9873 can not do multiple spaces this way" message once during a
9876 2001-05-08 Baruch Even <baruch@lyx.org>
9878 * Makefile.am: Changed order of libraries to get LyX to link properly
9879 with the gnome frontend.
9881 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9883 * LaTeXFeatures.h: add a std:: qualifier
9885 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9887 * paragraph.C (String): use stringstream
9889 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9891 * paragraph.C (writeFile): remove footflag arg
9893 * buffer.C (makeLaTeXFile): use stringstream
9894 (latexParagraphs): remove footnot gurba
9896 * LaTeXFeatures.C (getPackages): use stringstream
9897 (getMacros): likewise
9898 (getTClassPreamble): likewise
9899 (getFloatDefinitions): new method
9901 * paragraph.C (writeFile): reindent
9904 * WorkArea.h: revert the xpos + etc changes.
9906 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9908 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9910 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9911 (pasteSelection): likewise
9912 * text2.C (CreateUndo): likewise
9914 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9916 * minibuffer.C (peek_event): temporarily reduce the functionality
9917 of the minibuffer (to allow args on lfuns)
9919 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9920 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9922 * buffer.C (readInset): add compability reading of old float
9923 lists, add reading of new style float list.
9924 (readInset): avoid reevaluation of inscmd.getCmdName()
9925 (getLists): reindent
9927 * MenuBackend.C (MenuItem): implement parsing of
9928 md_floatlistinsert and md_floatinsert.
9929 (expand::LastFiles): move initalizaton of iterators out of loop,
9931 (expand::Documents): introduce typdedef vector<string> Strings,
9933 (expand::ExportFormats): introduce typedef vector<Format const *>
9934 Formats, and use it.
9935 (expand): implement FloatListInsert and FloatInsert.
9937 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
9938 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
9939 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
9941 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
9943 (Dispatch::LFUN_FLOAT_LIST): implement
9945 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
9947 * LaTeX.C (run): Fix problem with --export code.
9949 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
9951 * BufferView.[Ch] (workarea): removed.
9952 (getClipboard) new method; wrapper for workarea()->getClipboard()
9954 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
9957 * WorkArea.h (width, height, xpos, ypos): These methods all
9958 returned the dimensions of the work_area sub-area of WorkArea,
9959 resulting in a position error if the WorkArea were resized. Now
9960 return the dimensions of the entire WorkArea.
9962 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
9964 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9966 * LaTeX.C (deplog): correct the syntax of regex reg1
9968 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9970 * undo.C: remove !NEW_INSETS cruft
9972 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
9974 * text2.C: remove !NEW_INSETS cruft
9976 * text.C: remove !NEW_INSETS cruft
9978 * tabular.C: remove !NEW_INSETS cruft
9980 * spellchecker.C: remove !NEW_INSETS cruft
9982 * lyxtext.h: remove !NEW_INSETS cruft
9984 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
9986 * lyxfunc.C: remove !NEW_INSETS cruft
9988 * lyxfind.C: remove !NEW_INSETS cruft
9990 * lyx_cb.C: remove !NEW_INSETS cruft
9992 * figureForm.C: remove !NEW_INSETS cruft
9994 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
9996 * buffer.[Ch]: remove !NEW_INSETS cruft
9998 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10000 * CutAndPaste.C: remove !NEW_INSETS cruft
10002 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10004 * BufferView2.C: remove !NEW_INSETS cruft
10006 * BufferView.h: remove !NEW_INSETS cruft
10008 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10010 * Lsstream.h: include LString.h before the sstream headers to
10011 fix problem with gcc 2.95.3 and lyxstring
10013 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10015 * lyx_main.C: add using directives when needed for C functions
10016 declared in std:: namespace.
10018 2001-04-27 Juergen Vigna <jug@sad.it>
10020 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10021 (SetHeightOfRow): comment out the update call should not be needed!
10023 2001-04-13 Juergen Vigna <jug@sad.it>
10025 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10026 (LyXTabular): tried to minimize operator= operations (and realized
10027 hopfully Lars wish).
10029 2001-04-27 Juergen Vigna <jug@sad.it>
10031 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10033 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10035 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10037 * buffer.C (readInset): hack to make listof algorithm work
10039 * BufferView_pimpl.C: hack to make listof algorithm work
10041 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10043 * LyXAction.C: removed all !NEW_INSETS cruft
10044 (init): moved lfun_item in method
10046 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10048 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10050 * BufferView2.C (theLockingInset): white space.
10052 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10054 * minibuffer.C: include <iostream>
10056 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10058 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10060 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10062 * text.[Ch] (TransposeChars): new method
10064 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10066 * call message directly through LyXView instead of through LyXFunc
10067 * BufferView2.C: adjust
10068 * BufferView_pimpl.C: adjust
10069 * FontLoader.C: adjust
10071 * bufferview_funcs.C: adjust
10072 * converter.C: adjust
10073 * figureForm.C: adjust
10074 * importer.C: adjust
10076 * lyx_gui_misc.C: adjust
10077 * lyxfunc.C: adjust
10080 + more files in subdirs
10082 * lyxparagraph.h (size): move up int file
10085 * adjust all uses of Assert to lyx::Assert.
10087 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10088 lyxfunctional in namespace lyx
10089 * layout.C (hasLayout): ditto
10092 (delete_layout): ditto
10093 (NumberOfClass): ditto
10094 * converter.C (GetFormat): ditto
10099 * bufferlist.C (getFileNames): ditto
10100 (emergencyWriteAll): ditto
10103 * MenuBackend.C (hasSubmenu): ditto
10106 * BufferView_pimpl.C (getInsetByCode): ditto
10108 2001-04-18 Juergen Vigna <jug@sad.it>
10110 * vspace.C (asLatexString): fixed the 100% problem.
10112 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10114 * lyxfunc.C (Dispatch):
10116 * minibuffer.h: add a few std:: qualifiers
10118 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10120 * minibuffer.[Ch]: reimplement so that commands is initiated and
10121 run from lyxfunc, simplified som handling, and made the completion
10122 and history code for complete. wip.
10124 * lyxfunc.C (processKeySym): call message
10125 (miniDispatch): new temporary method
10126 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10127 (LFUN_MESSAGE): implement
10128 (LFUN_MESSAGE_PUSH): implement
10129 (LFUN_MESSAGE_POP): implement
10130 (initMiniBuffer): the initial/defualt minibuffer message.
10132 * lyxfont.[Ch]: inline some more getters
10134 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10136 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10138 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10139 (AutoSave): use LFUN_MESSAGE
10140 (Reconfigure): ditto
10142 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10144 * figureForm.C: use LFUN_MESSAGE
10146 * converter.C (runLaTeX): use LFUN_MESSAGE
10148 * bufferview_funcs.C: use LFUN_MESSAGE
10150 (changeDepth): ditto
10152 * bufferparams.h: use boost::
10154 * bufferlist.h: inherit privately from noncopyable
10156 * bufferlist.C (loadLyXFile): remove some commented code.
10158 * buffer.C (runChktex): use LFUN_MESSAGE
10160 * ShareContainer.h: inherit privately from noncopyable
10162 * ParagraphParameters.[hC] (depth): inline it.
10164 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10166 (message): new method
10167 (messagePush): ditto
10168 (messagePop): ditto
10169 (show): init minibuffer
10170 (showState): direct call
10172 * LaTeX.[Ch]: inherit privately from noncopyable
10173 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10174 instead of WriteStatus.
10176 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10178 * BufferView_pimpl.C (buffer): don't init minibuffer
10179 (workAreaButtonPress): use LFUN_MESSAGE
10180 (workAreaButtonRelease): ditto
10181 (savePosition): ditto
10182 (restorePosition): ditto
10183 (MenuInsertLyXFile): ditto
10184 (workAreaExpose): don't init minibuffer
10185 (update): remove commented code, simplify
10187 * BufferView2.C (openStuff): use LFUN_MESSAGE
10188 (toggleFloat): ditto
10191 (copyEnvironment): ditto
10192 (pasteEnvironment): ditto
10197 (updateInset): remove some commented code
10199 * lastfiles.h: inherit privately from noncopyable
10202 * lyx_main.h: ditto
10204 * lyxlex_pimpl.h: ditto
10206 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10207 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10208 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10210 * LyXAction.h: inherit privately from noncopyable, add methods
10211 func_begin, func_end, returning iterators to the func map.
10213 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10214 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10215 (func_begin): new method
10216 (func_end): new method
10218 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10220 (copySelection): ditto
10221 (pasteSelection): ditto
10223 * BufferView.C: whitespace change
10224 * BufferView.h: inherit privately from noncopyable
10226 2001-04-16 Allan Rae <rae@lyx.org>
10228 * tabular-old.C (l_getline):
10229 * spellchecker.C (sc_check_word):
10230 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10231 an unrecognised preprocessor directive. So ensure they're wrapped.
10233 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10235 * src/exporter.C (Export): Give an error message when path to file
10238 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10240 * LaTeX.C (deplog): Always check that foundfile exists.
10242 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10245 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10247 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10249 * tabular.[Ch] (getLabelList): implement new method
10251 * minibuffer.h: comment ouf setTiimer
10253 * minibuffer.C (ExecutingCB): constify res
10254 (peek_event): constify s
10255 (Set): constify ntext
10256 (Init): constify nicename
10258 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10260 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10261 (savePosition): use two params to Minibuffer::Set
10262 (restorePosition): ditto
10264 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10266 * lyx_main.C: include language.h
10268 * Makefile.am (lyx_main.o): add language.h
10270 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10276 * CutAndPaste.C: include gettext.h
10278 * lyxfont.h: remove old hack with ON and OFF.
10281 * lyxfont.h: do not include language.h...
10286 * bufferview_funcs.C:
10292 * paragraph.C: ... but do it here instead
10294 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10296 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10298 * tabular.C: small reformat
10300 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10303 (BreakParagraph): ditto
10304 (SetOnlyLayout): ditto
10307 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10310 * lastfiles.C: removed most using decl, add std:: where needed
10312 * buffer.C: ws changes
10314 * MenuBackend.C (class compare_format): put into anon namespace
10315 (expand): constify label, names, action, action2
10318 * text.C (SingleWidth): constify font
10319 (IsBoundary): constify rtl2
10320 (GetVisibleRow): constify ww
10322 * LaTeX.C (deplog): constify logfile
10324 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10326 (workAreaExpose): constify widthChange, heightChange
10328 * lyxrow.C (par): moved
10331 * lyxrow.h: as inlines here
10333 * lyxfont.h (shape): moved from lyxfont.C
10334 (emph): moved from lyxfont.C
10336 * lyxfont.C (LyXFont): use initialization list for all
10338 (shape): move to lyxfont.h as inline
10339 (emph): move to lyxfont.h as inline
10342 2001-04-04 Juergen Vigna <jug@sad.it>
10344 * vspace.C: had to include stdio.h for use of sscanf
10346 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10349 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10350 independent of xforms.
10352 2001-04-02 Juergen Vigna <jug@sad.it>
10354 * spellchecker.C: fixed namespace placing!
10356 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10358 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10359 the LyXParagraph * is 0.
10361 2001-03-29 Juergen Vigna <jug@sad.it>
10363 * vspace.C: added support for %, c%, p%, l%.
10364 (stringFromUnit): added helper function.
10365 (asLatexString): changed to give right results for the %-values.
10367 * buffer.C: convert the widthp in a width%.
10369 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10371 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10374 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10375 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10377 * lyx_cb.[Ch]: see above.
10379 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10383 * lyx.[Ch]: replaced by figure_form.[Ch].
10387 * lyxfunc.C: changed headers associated with above changes.
10389 2001-03-27 Juergen Vigna <jug@sad.it>
10391 * BufferView_pimpl.C: set the temporary cursor right!
10393 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10395 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10397 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10399 * LString.h: removed "using std::getline"!
10401 * BufferView_pimpl.C (Dispatch): changes due to changes in
10402 InsetInclude::Params.
10404 * buffer.C (tag_name): removed redundant break statements as they were
10405 producing lots of warnings with my compiler.
10407 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10409 * LString.h: add "using std::getline" when using the real <string>.
10411 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10413 * buffer.C: removed bitset usage.
10414 PAR_TAG moved to an anonymous name space.
10415 (tag_name): new funtion, also in the anonymous namespace.
10416 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10417 (makeDocBookFile): clean code. Completed transition from string arrays
10419 (SimpleDocBookOnePar): code clean.
10421 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10423 * tabular.C: add some comments.
10425 2001-03-22 Juergen Vigna <jug@sad.it>
10427 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10428 compatibility read a bit and fixed bug with minipage in different
10431 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10433 * buffer.C (pop_tag): removed.
10434 (push_tag): removed.
10435 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10436 array replaced with vector. Added support for CDATA sections.
10437 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10439 (makeDocBookFile): XML conformant declaration of CDATA section,
10440 fixed bug related to <emphasis> in the first paragraph char.
10441 (sgmlOpenTag): exclude empty tags.
10442 (sgmlCloseTag): ditto.
10444 * buffer.h (pop_tag): removed.
10445 (push_tag): removed.
10447 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10449 * language.h (Languages): added size_type and size().
10451 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10453 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10454 response on compability reading of minipages. One probliem is that
10455 the old usage of minipages was «flertydig»
10457 * several files here and in subdirs: don't use static at file
10458 scope use anon namespaces instead.
10460 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10462 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10463 LaTeX output. This is necessary for Literate document
10466 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10468 * buffer.C: insert hfill when needed.
10470 * tabular.C (l_getline): use string::erase, small whitespace change.
10472 * BufferView_pimpl.C: try the anon namespace.
10473 * WorkArea.C: ditto
10475 2001-03-16 Juergen Vigna <jug@sad.it>
10477 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10478 otherwise it won't open options-dialogs.
10480 * buffer.C: honor pextraWidth(p) on converting minipages.
10482 * tabular.C (l_getline): changed the functions to strip trailing \r.
10484 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10486 * BufferView_pimpl.C:
10487 * minibuffer..C: added "using SigC::slot" declaration.
10489 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10491 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10497 * paragraph.C: ditto
10499 * lyxtext.h: NO_PEXTRA
10501 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10503 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10504 * ParameterStruct.h: ditto
10505 * ParagraphParameters.h: ditto
10506 * lyxparagraph.h: ditto
10508 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10510 * buffer.C: add compability for minipage alignment.
10511 (latexParagraphs): remove unwanted pextra check.
10513 * several files: remove CXX_WORKING_NAMESPACES
10515 * buffer.C (pop_tag): tie is in namespace boost
10517 * BufferView.h: noncopyable is in namespace boost
10519 * lyx_main.h: ditto
10522 * lastfiles.h: ditto
10523 * bufferlist.h: ditto
10524 * ShareContainer.h: ditto
10526 * LyXAction.h: ditto
10529 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10531 * Merging changes from BRANCH_MVC back into HEAD.
10533 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10535 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10537 * BufferView_pimpl.C: change from intl.C
10541 * Makefile.am: move combox.*
10547 * intl.C: remove dialog (covered by prefs)
10549 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10551 * lyxfunc.C (Dispatch): removed redundant break statement.
10553 2001-03-14 Juergen Vigna <jug@sad.it>
10555 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10557 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10559 * buffer.C: add hack to fix compability reading of minipages.
10561 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10563 * buffer.C (getLists): Cleanup.
10565 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10567 * lyxfont.C (update): don't honor toggleall on font size.
10569 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10573 * Makefile.am: moved to frontends/xforms/
10577 * BufferView_pimpl.C: changes for moved mathpanel
10579 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10581 * gettext.h: fix gettext_init() in --disable-nls
10583 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10585 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10587 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10590 * lyx.h: strip external form
10592 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10594 * BufferView_pimpl.C: add comment, destroySplash()
10596 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10598 * BufferView_pimpl.C:
10602 * lyxfunc.C: use re-worked insetinclude
10604 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10606 * buffer.C: add using std::stringstream.
10608 * lyx_cb.C: readd using std::ios.
10610 * buffer.C: add using std::map.
10612 * BufferView_pimpl.C: add using std::vector.
10614 * ShareContainer.h: add std:: to swap.
10616 * buffer.h: add some typedefs
10617 * buffer.C (getLists): use them
10618 (getLists): renamed from getTocList.
10619 add a counter for the different float types and use it in the
10621 (getLists): use the same counter for the NEW_INSETS and the "non"
10624 * lyx_cb.h: remove unused items, includes, using etc.
10626 * ShareContainer.h: remove some commented code, add more comments
10627 and "documentation".
10629 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10631 * buffer.C (getTocList): make the list also when NEW_INSETS is
10634 * buffer.h: remove TocType
10636 * buffer.C (getTocList): change to return a map<string,
10637 vector<TocItem> >, implement for dynamic number of list.
10639 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10640 * text2.C (PasteSelection): adjust
10641 * CutAndPaste.C (pasteSelection): adjust
10643 * FloatList.C (FloatList): update from the new_insets branch.
10644 * Floating.[Ch]: ditto
10645 * LaTeXFeatures.C: ditto
10647 * lyxlex_pimpl.C: ditto
10649 * paragraph.C (Last): remove when NEW_INSETS is defined.
10651 * other file: changes because of the above.
10653 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10655 * lyxparagraph.h: rename next to next_, previous to previous_,
10656 make them private for NEW_INSETS. Rename Next() to next(),
10657 Previous() to previous().
10659 * other files: changes because of the above.
10661 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10664 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10667 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10669 * main.C (main): pass lyx_localedir to gettext_init().
10671 * gettext.h: remove locale_init and gettext_init macros
10673 * gettext.C (locale_init): new function
10674 (gettext_init): new function
10676 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10679 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10681 * Moved credits to frontends:
10682 * credits.[Ch]: removed
10683 * credits_form.[Ch]: removed
10684 * lyx_gui_misc.C: remove credits stuff
10687 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10689 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10691 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10692 unneeded destructor.
10694 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10695 a standalone pointer again.
10697 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10699 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10705 * ToolbarDefaults.C:
10714 * BufferView_pimpl.C: use new file dialog in GUII
10717 * lyx_cb.C: remove LayoutsCB to Toolbar
10719 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10721 * ShareContainer.h (get): add std:: qualifier
10723 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10725 * ShareContainer.h: define a proper ShareContainer::value_type
10726 type (and use typename to please compaq cxx)
10728 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10730 * lyxparagraph.h: move serveral local vars to
10731 ParameterStruct/ParagraphParameters., use ShareContainer in
10732 FontTable., make vars in FontTable private and add getter and
10735 * paragraph.C: changes because of the above.
10737 * lyxfont.h: remove copy constructor and copy assignment. (the
10738 default ones is ok), move number inside FontBits. move inlines to
10741 * lyxfont.C: add number to initializaton of statics, move several
10742 inlines here. constify several local vars. some whitespace
10743 cleanup. Dont hide outerscope variables.
10745 * Spacing.h: add two new constructors to match the set methods.
10747 * ShareContainer.h: new file, will perhaps be moved to support
10749 * ParameterStruct.h: new file
10751 * ParagraphParameters.h: new file
10753 * ParagraphParameters.C: new file
10755 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10756 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10758 * BufferView_pimpl.C: ParagraphParameter changes.
10759 * buffer.C: Likewise.
10760 * bufferview_funcs.C: Likewise.
10761 * text.C: Likewise.
10762 * text2.C: Likewise.
10764 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10766 * lyxfind.C (LyXReplace): do not redefine default argument in
10768 (IsStringInText): ditto
10769 (SearchForward): ditto
10770 (SearchBackward): ditto
10772 2001-03-06 Juergen Vigna <jug@sad.it>
10774 * lyxfind.C (IsStringInText): put parentes around expressions.
10776 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10778 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10780 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10782 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10784 * stl_string_fwd.h: add comment
10786 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10789 * tabular.C: remove unused DocBook methods
10795 killed DO_USE_DEFAULT_LANGUAGE
10797 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10799 * lyx_gui.C: do not include language.h.
10801 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10802 arguments in function implementation.
10804 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10806 * BufferView_pimpl.C: add <ctime>
10808 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10810 * BufferView_pimpl.C: add using std::find_if
10812 2001-02-27 José Matos <jamatos@fep.up.pt>
10814 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10817 2001-02-11 José Matos <jamatos@fep.up.pt>
10819 * buffer.C (makeDocBookFile): command styles now have a parameter as
10820 "title" by default.
10822 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10824 * layout_forms.[Ch]: removed
10825 * lyx_cb.[Ch]: out character
10826 * lyx_gui.C: out character
10827 * lyx_gui_misc.C: out character
10828 * bufferview_funcs.C: : out character,
10829 added toggleall as parameter in ToggleAndShow
10831 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10833 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10835 * text2.C (SetCurrentFont): Disable number property at boundary.
10837 2001-02-26 Juergen Vigna <jug@sad.it>
10839 * lyxfunc.C (getStatus): added a string argument override function so
10840 that this is correctly called from LyXFunc::Dispatch if it contains a
10841 do_not_use_argument which is used!
10842 (Dispatch): added check for "custom" export and call appropriate func.
10844 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10846 * lyxrc.C: Add language_command_local, language_use_babel and
10847 language_global_options.
10849 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10851 * buffer.C (makeLaTeXFile): Use language_use_babel and
10852 language_global_options.
10854 2001-02-23 Juergen Vigna <jug@sad.it>
10856 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10857 which works with LyXText and putted it inside BufferView. Here now we
10858 only call for that part the BufferView::Dispatch() function.
10860 * BufferView.C (Dispatch): added.
10862 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10863 functions which needs to use a LyXText over from LyXFunc.
10864 (MenuInsertLyXFile): added
10865 (getInsetByCode): added
10866 (moveCursorUpdate): added
10867 (static TEXT): added
10869 2001-02-22 Juergen Vigna <jug@sad.it>
10871 * BufferView_pimpl.C (update): call a status update to see if LyXText
10874 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10876 * vc-backend.C (revert): implement for CVS
10877 (getLog): implement for CVS
10879 2001-02-20 Juergen Vigna <jug@sad.it>
10881 * text2.C (ClearSelection): added BufferView param for inset_owner call
10883 * lyxfunc.C (TEXT): added this function and use it instead of
10884 directly owner->view()-text of getLyXText().
10886 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10888 * src/layout_forms.C: out preamble
10889 * src/layout_forms.h: out preamble
10890 * src/lyx_cb.C: out preamble
10891 * src/lyx_cb.h: out preamble
10892 * src/lyx_gui.C: out preamble
10893 * src/lyx_gui_misc.C: out preamble
10894 * src/lyxfunc.C: connect with guii preamble
10896 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10898 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10900 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10902 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10903 whether to run bibtex.
10905 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10907 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10909 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10911 * Makefile.am (lyx_SOURCES): removed bibforms.h
10913 * vspace.h: doxygen
10915 * text.C (GetVisibleRow): make several local vars const
10917 * tabular.C: small cleanup.
10919 * lyxserver.C (callback): use compare instead of strncmp
10921 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10922 inlines to after class or to paragraph.C
10924 * lyxfont.h: remove friend operator!=
10926 * converter.h: move friend bool operator< to non friend and after
10929 * combox.h: small cleanup
10931 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10932 to inlines after class def.
10934 * buffer.C (pop_tag): use string operations instead of strcmp
10936 * bmtable.c: doxygen, small cleanup
10938 * LaTeX.h: remove friend operator==
10940 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
10952 * BufferView_pimpl.C:
10953 * BufferView.[Ch]: remove cruft
10955 2001-02-14 Juergen Vigna <jug@sad.it>
10957 * lyxfunc.C: removed #if 0 unused code
10959 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
10961 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
10963 * text2.C (SetSelection): added a BufferView * parameter
10965 2001-02-13 Juergen Vigna <jug@sad.it>
10967 * lyxfunc.C (Dispatch): fixed protected blank problem.
10968 * BufferView2.C (protectedBlank): added LyxText * parameter.
10970 * tabular.C (AppendRow): forgot to set row_info of newly added row.
10971 (AppendColumn): same as above for column_info.
10973 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
10974 (moveCursorUpdate): use a LyXText param for support of InsetText.
10976 * BufferView_pimpl.C (doubleClick): added support for InsetText.
10977 (tripleClick): ditto
10979 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
10981 * BufferView_pimpl.C (update): added LyXText param to honor insets.
10983 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
10985 * text2.C (SetSelection): set correct update status if inset_owner
10986 (ToggleFree): ditto
10988 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
10990 * tabular.C: remove some commented code.
10992 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
10994 * BufferView_pimpl.C: call hideSplash()
10996 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
10999 * bibforms.h: remove
11002 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11003 add LFUN_CHILD_CREATE
11005 * counters.h: fix tiny typo
11010 * lyx.C: move splash to frontends/xforms/
11012 * lyx_gui_misc.C: move Include and Bibform to frontends
11014 * lyxvc.h: clarify comment
11016 * vspace.C: tiny housekeeping
11018 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11020 * text.C (PrepareToPrint): RTL Fix.
11022 * paragraph.C (GetUChar): New method.
11023 (String): Use GetUChar.
11025 * buffer.C (asciiParagraph): Use GetUChar.
11027 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11029 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11031 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11034 * buffer.C: rename to getLogName(), handle
11035 build log / latex log nicely
11037 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11040 * MenuBackend.h: remove support for reference menuitem type.
11042 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11044 * BufferView_pimpl.C: housekeeping
11045 * BufferView_pimpl.h:
11050 * minibuffer.h: move Timeout GUI-I
11052 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11054 * lyxrc.C (read): Update converters data-structures.
11056 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11058 * LaTeX.h (operator!=): add operator != for Aux_Info
11060 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11062 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11064 * LaTeXLog.C: deleted, useful code moved to Buffer
11067 * buffer.C: new function getLatexLogName()
11073 * lyxfunc.C: use frontends for LaTeX and VC logs
11075 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11077 * LaTeX.h: yet another std:: that Allan forgot.
11079 * Variables.C (set): renamed from isset(), because this clashes
11080 with some HP-UX macros (grr).
11082 2001-02-06 Allan Rae <rae@lyx.org>
11084 * LaTeX.h: Another bug fix. Missing std:: this time.
11086 2001-02-04 Allan Rae <rae@lyx.org>
11088 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11089 floats problem. I've left it commented out because it's not quite
11090 correct. It should also test that the current object is a table or
11091 figure inset. But I haven't gotten around to figuring out how to do
11092 that. I *think* it'll be something like: "table" == inset.type()
11094 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11097 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11099 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11100 all the citation/databases/styles in the auxilary file.
11101 (run): Rerun latex if there was a babel language error.
11103 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11105 * text.C (Backspace): Preserve the font when changing newline char
11107 (BreakParagraph): If the cursor is before a space, delete the space.
11109 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11111 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11113 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11114 new argument (code).
11115 (ChangeCitationsIfUnique): New method.
11117 * paragraph.C (GetPositionOfInset): Handle bibkey.
11119 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11121 * BufferView_pimpl.h: change type of Position::par_pos to
11122 LyXParagraph::size_type.
11124 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11126 * BufferView_pimpl.C (savePosition, restorePosition): Write
11127 messages to minibuffer.
11129 2001-01-28 José Matos <jamatos@fep.up.pt>
11131 * buffer.C (makeDocBookFile): adds support for document language.
11132 A silly restriction on the name of LatexCommand types where removed.
11133 Added support for CDATA sections, allows to chars unescaped, used
11134 among others in code, to avoid escape < and >.
11136 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11138 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11139 saved positions instrad of a stack. Furthermore, a position is
11140 stored using paragraph id/paragraph position.
11142 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11143 Remove LFUN_REF_BACK.
11145 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11147 * converter.C (dvipdfm_options): New method.
11149 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11151 * vspace.C (isValidLength): Fix for empty input string.
11153 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11155 * LyXAction.C (init): change description of LFUN_FIGURE to
11158 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11160 * LaTeX.C: add using directive
11162 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11164 * MenuBackend.C (expand): Fix the sorting of the formats.
11166 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11168 * lyx_main.C: tiny error message fix
11170 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11172 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11173 calling fl_initialize(). This fixes the problem with ',' as
11174 decimal separator in text files.
11176 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11178 * trans.C (process): Fix the keymap bug.
11180 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11182 * LaTeX.C (scanAuxFiles): New method. Provides support for
11183 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11184 (scanLogFile) Scan for "run BibTeX" messages.
11186 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11187 OT1 font encoding. Also, load the aecompl package if the ae
11190 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11192 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11194 * texrow.C (increasePos): turn two error messages into debug
11197 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11199 * LaTeX.C (scanAux): Handle the \@input macro.
11200 (runBibTeX): Use scanAux().
11202 * language.C (latex_options_): New field.
11204 * LaTeXFeatures.C (getMacros): Add language macros.
11206 * buffer.C (makeLaTeXFile): Small fix.
11208 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11210 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11212 * text2.C: add a using directive.
11214 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11219 * lyxfunc.C: kill LyXBell.
11221 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11223 * text.C (IsBoundary): Remove the error message
11225 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11227 * lyxrc.C (setDefaults): Correct initialization value for
11230 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11232 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11235 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11236 and GotoNextNote().
11238 * src/LyXAction.C: Added reference-next.
11240 * text.C (InsertChar): Use contains instead of strchr.
11242 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11244 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11246 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11247 alignment commands (when needed).
11249 * text.C (InsertChar): Add ':' to number separator chars.