2 2003-06-18 André Pönitz <poenitz@gmx.net>
4 * kbmap.[Ch]: use vector<> instead of list<>
6 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
8 * text3.C (dispatch): handle arg to LFUN_PASTE, call
9 pasteSelection with index
11 * text2.C (pasteSelection): modify, call pasteSelection with index
13 * paragraph.C (asString): reimplement version with no interval to
14 call the one with interval.
16 * lyxtext.h: add index arg to pasteSelection
18 * MenuBackend.C (MenuItem): handle PasteRecent
19 (Menu::read::Menutags): add md_pasterecent
21 (expandPasteRecent): new function
24 * MenuBackend.h: add PasteRecent to MenuItem::Kind
26 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
28 (availableSelections): new function
30 2003-06-17 Angus Leeming <leeming@lyx.org>
32 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
34 2003-06-17 Angus Leeming <leeming@lyx.org>
37 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
39 * lyxfunc.C (dispatch): invoke it.
41 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * iterators.C (operator++, ParPosition): reintroduce some
44 const_cast for the benefit of older compilers.
46 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
48 * text3.C (dispatch): do not modify clipboard when doing
49 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
50 LFUN_DELETE_SKIP on a selection selection
52 2003-06-16 André Pönitz <poenitz@gmx.net>
58 * tabular.[Ch]: IU of clone() and getLabelList();
60 2003-06-13 André Pönitz <poenitz@gmx.net>
62 * tabular.h: compactification
64 2003-06-12 André Pönitz <poenitz@gmx.net>
68 * tabular_funcs.h: some renaming plus whitespace
70 2003-06-12 André Pönitz <poenitz@gmx.net>
79 * toc.C: Return a Paragraph & for ParIterator::operator*()
81 2003-06-11 John Levon <levon@movementarian.org>
85 * ToolbarBackend.C: add "Toolbars" section and
88 2003-06-10 Angus Leeming <leeming@lyx.org>
91 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
93 * lyxfunc.C (dispatch): invoke it.
95 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
97 * main.C: protect <ios> with HAVE_IOS
98 (main): protect sync_with_stdio with HAVE_IOS
100 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
102 * text2.C (cutSelection): adjust
103 (pasteSelection): adjust
105 * messages.C: handle get of empty string
107 * main.C (main): use sync_with_stdio(false)
109 * lyxfunc.C (dispatch): adjust
111 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
112 (WriteAs): remove unneeded BufferView arg.
114 * bufferparams.h: use correct types on papersize, papersize2 and
117 * bufferparams.C (readToken): adjust for type
118 (writeLaTeX): add missing cases to switch.
120 * bufferlist.C (quitWriteBuffer): adjust
123 * buffer.C (asciiParagraph): remove some commented code.
125 * CutAndPaste.C: remove current_view extern variable.
126 (cutSelection): add BufferParams arg.
127 (eraseSelection): add BufferParams arg.
128 (pasteSelection): add Buffer const & arg
130 2003-06-07 John Levon <levon@movementarian.org>
138 * paragraph.C: allow InsetERT to freely space lines,
139 and some consolidation of code
141 2003-06-06 José Matos <jamatos@fep.up.pt>
143 * buffer.C (makeDocBookFile): fix bug #821
145 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
147 * BufferView_pimpl.C (dispatch): use Dialogs::visible
149 2003-06-04 Angus Leeming <leeming@lyx.org>
151 * buffer.C: bump format to 224.
153 2003-06-05 André Pönitz <poenitz@gmx.net>
155 * text2.C (redoParagraphs): remove two const_cast<>
157 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
159 * ParagraphList.h: remove last remnants of NO_STD_LIST
161 2003-06-03 Angus Leeming <leeming@lyx.org>
163 * factory.C (createInset): small change to the way InsetExternal's params
166 2003-06-04 André Pönitz <poenitz@gmx.net>
168 * buffer.h: use Undo directly instead of shared_ptr<Undo>
171 * paragraph.[Ch]: some Inset -> UpdatableInset changes
173 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
175 * undo_funcs.C: make some simple cases of undo work again
177 2003-06-03 John Levon <levon@movementarian.org>
179 * ispell.C: HPUX doesn't have sys/select.h
182 2003-06-03 John Levon <levon@movementarian.org>
184 * CutAndPaste.C: update tabular and include inset
189 * paragraph.C: remove owningBuffer(), don't pass Buffer
192 * factory.C: insetGraphicsParams changed
194 2003-06-02 John Levon <levon@movementarian.org>
200 * text3.C: remove insetparent
202 2003-06-02 John Levon <levon@movementarian.org>
205 * buffer.C: fix inset_iterator.end(), move out of line
208 2003-06-01 John Levon <levon@movementarian.org>
210 * text3.C: use a proper cut/paste when doing inset
211 insert (from Jürgen Spitzmüller)
213 2003-06-01 John Levon <levon@movementarian.org>
215 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
217 2003-05-30 André Pönitz <poenitz@gmx.net>
219 * rowpainter.C: unify second drawing phase
221 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * trans_mgr.C: remove one case of current_view
225 * text2.C (cursorBottom): delete NO_STD_LIST stuff
227 * paragraph_funcs.h: remove paragraph.h include
229 * paragraph.h: delete NO_STD_LIST stuff
231 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
233 * buffer.h: remove paragraph.h include
235 * ParagraphList.C: delete file
237 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
239 * toc.C (getTocList): adjust
241 * paragraph_pimpl.C (validate): adjust
243 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
245 * paragraph.C (Paragraph): adjust
246 (getPositionOfInset): use const_iterator, adjust
247 (bibitem): use const_iterator, adjust
248 (setInsetOwner): adjust
250 * iterators.C (operator++): adjust
252 * InsetList.[Ch]: Replace selfmade iterator with standard
253 vector::iterator also introduce const_iterator. Remove getPos,
254 getInset and setInset from InsetTable. Adjust accordingly.
256 * BufferView.C (lockInset): adjust
257 (ChangeInsets): adjust
259 * tabular.[Ch]: delete commented same_id functions
261 2003-05-28 John Levon <levon@movementarian.org>
263 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
265 2003-05-28 André Pönitz <poenitz@gmx.net>
267 * metricsinfo.[Ch]: remove 'fullredraw' member
269 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
271 * lyxtextclass.C (operator): remove caching.
273 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
277 * text2.C (cursorBottom): adjust
278 (setCounter): use ParagraphList::find, adjust
280 * text.C (workWidth): use ParagraphList::find, adjust
282 * lyxcursor.C (LyXCursor): adjust
284 * buffer.C (inset_iterator): adjust
286 * ParagraphList.h: make iterator(value_type) private, make
287 ParagraphList a friend of iterator.
289 * ParagraphList.C (find): new function
291 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
293 2003-05-27 André Pönitz <poenitz@gmx.net>
295 * dimension.[Ch]: a -> asc, d -> des, w -> wid
297 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
299 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
301 2003-05-26 John Levon <levon@movementarian.org>
303 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
305 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
307 * remove same_id from function signatures, adjust.
309 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
311 * undo_funcs.C (createUndo): use the id functions directly, adjust.
313 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
315 * paragraph.C (Paragraph): get rid of same_ids parameter
317 * ParagraphList.C (insert): adjust
320 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
322 * paragraph_funcs.C (breakParagraph): adjust
323 (breakParagraphConservative): adjust
325 * buffer.C (readParagraph): adjust
327 * ParagraphList.C (insert): take a reference instead of a pointer
330 * paragraph.[Ch] (id): new function
332 * bufferlist.C (newFile): adjust
334 * ParagraphList.C (ParagraphList): adjust
336 (push_back): take a reference instead of a pointer.
338 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
340 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
343 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
344 set else use old code.
346 * ParagraphList.C: remove all NO_NEXT code and only compile this
347 code of NO_STD_LIST is set.
349 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
351 * BufferView_pimpl.C:
361 * graphics/GraphicsConverter.C:
362 * graphics/PreviewLoader.C: header adjustment
364 2003-05-23 Angus Leeming <leeming@lyx.org>
366 * LaTeXFeatures.[Ch] (useBabel): new method.
367 * bufferparams.C (writeLaTeX): use it.
369 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
371 * ParagraphList.h (set): remove unused function.
373 2003-05-23 André Pönitz <poenitz@gmx.net>
376 * BufferView_pimpl.C:
380 * undo_funcs.C: setUndo reworked
382 * iterators.[Ch]: add access to topmost ParagraphList
384 * lyxtext.[Ch] (workWidth): add a const
386 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
388 * texrow.[Ch] (increasePos): remove function
389 * exporter.C (export): removed unused var and outdated comment
391 2003-05-23 Angus Leeming <leeming@lyx.org>
393 * latexrunparams.h: rename fragile as moving_arg.
394 * paragraph.C (simpleTeXOnePar): ditto.
395 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
397 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
399 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
401 (textUndoOrRedo): comment out a currently unused var.
403 * paragraph.h (NO_NEXT): enable NO_NEXT
405 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
407 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
409 * exporter.C (Export): adjust for removeAutoInsets removal.
411 * buffer.C (runChktex): adjust for removeAutoInsets removal.
413 * LyXAction.C (init): remove LFUN_REMOVEERRORS
415 * BufferView.[Ch] (removeAutoInsets): delete function
417 2003-05-22 Angus Leeming <leeming@lyx.org>
419 * latexrunparams.h: add a free_spacing variable.
421 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
422 to pass moving_arg, as the data is stored in runparams.fragile.
424 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
425 to Inset::latexOptional or to simpleTeXOnePar.
427 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
428 free_spacing arg to Inset::latexOptional.
430 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
433 2003-05-22 Angus Leeming <leeming@lyx.org>
435 * latexrunparams.h: add fragile and use_babel variables.
437 * bufferparams.[Ch] (writeLaTeX): return use_babel.
438 * buffer.C (makeLaTeXFile): store this returned value in
439 runparams.use_babel, thus passing it to the inset::latex methods.
441 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
442 simpleTeXSpecialChars as it is now stored in runparams.fragile.
444 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
445 longer has a fragile arg, as it is stored in runparams.fragile.
447 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
448 moving_arg parameter as the data is stored in runparams.fragile.
450 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
451 a fragile parameter as the data is stored in runparams.fragile.
453 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
455 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
457 2003-05-22 Angus Leeming <leeming@lyx.org>
459 * latexrunparams.h: add a 'bool nice' which defaults to false.
461 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
462 now encapsulated within runparams.
464 * bufferlist.C (updateIncludedTeXfiles):
465 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
467 2003-05-22 Angus Leeming <leeming@lyx.org>
469 * latexrunparams.h: new file containing struct LatexRunParams.
470 * Makefile.am: add new file.
472 * LaTeX.[Ch] (c-tor, run):
473 * buffer.[Ch] (makeLaTeXFile):
474 * bufferlist.[Ch] (updateIncludedTeXfiles):
475 * converter.C (convert, scanLog):
476 * converter.[Ch] (runLaTeX):
477 * exporter.C (Export):
478 * paragraph.[Ch] (simpleTeXOnePar):
479 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
480 * paragraph_funcs.[Ch] (latexParagraphs):
481 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
482 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
483 pass around a LatexRunParams parameter.
485 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
487 * paragraph.[Ch]: remove unused constructor
489 * ParagraphList.C (erase): new function, taking two iterators
491 2003-05-22 André Pönitz <poenitz@gmx.net>
493 * undo_funcs.C: remove duplicated code
495 * iterator.[Ch]: operator=
497 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
499 * tabular.C (SetMultiColumn): ws changes
501 * rowpainter.C (paintFirst): get rid of a ->previous
503 * lyx_cb.C (getPossibleLabel): parlist simplification
505 * BufferView.C (ChangeInsets): simplify slightly.
507 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
509 * LyXAction.C: new lfun space-insert, kill protected-space-insert
510 * lfuns.h: new LFUN_SPACE
511 * lyxfunc.C: protected space has a new lfun
512 * paragraph_funcs.C: read new space insets
514 * factory.C: handle new space insets
516 2003-05-22 André Pönitz <poenitz@gmx.net>
519 * BufferView_pimpl.C:
522 * undo_funcs.C: return a ParIterator from getParFromID.
524 * iterators.[Ch]: add two const's
526 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
528 * toc.C (getTocList): adjust
530 * iterators.[Ch]: rework for parlist
532 * buffer.C (par_iterator_begin): adjust
533 (par_iterator_end): adjust
535 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
537 * BufferView.C (removeAutoInsets): adjust
538 (ChangeInsets): adjust
540 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
542 * text.C (top_y): fix bug 1110
544 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
546 * errorlist.[Ch]: added
549 * BufferView_pimpl.C:
550 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
553 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
555 * Makefile.am: ensure that lyx is relinked upon changes to the
556 various "convenience" libs.
558 2003-05-20 Angus Leeming <leeming@lyx.org>
560 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
561 files are compiled in alphabetical order again.
563 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
565 2003-05-19 Angus Leeming <leeming@lyx.org>
567 * gettext.[Ch]: remove "char const * _(char const *)".
569 2003-05-19 André Pönitz <poenitz@gmx.net>
571 * dimension.[Ch]: promote from mathed/dimension.[Ch]
580 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
582 2003-05-19 André Pönitz <poenitz@gmx.net>
588 * paragraph_funcs.[Ch]:
590 * text3.C: more insetenv work
592 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
594 * ParagraphParameters.C (params2string): small bug fixed
596 2003-05-16 André Pönitz <poenitz@gmx.net>
599 * bufferview_funcs.C: patch from Kornel Benko to prevent
600 crash when _(...) is called twice in a statement
602 2003-05-16 André Pönitz <poenitz@gmx.net>
609 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
611 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
613 * lyx_main.C (init): remove spurious static_cast
615 2003-05-14 André Pönitz <poenitz@gmx.net>
617 * BufferView.C: fix format string
619 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
621 * BufferView.[Ch] (insertErrors): removed
622 * BufferView.[Ch] (showErrorList): added
623 * buffer.C (runChkTeX):
624 * converter.C (scanLog): call showErrorList instead of inserterrors
626 2003-05-13 André Pönitz <poenitz@gmx.net>
628 * BufferView_pimpl.C:
637 * tabular_funcs.h: tostr() from its own header
639 * ParagraphParameters.C:
646 2003-05-12 André Pönitz <poenitz@gmx.net>
649 * BufferView_pimpl.C:
653 * ParagraphParameters.C:
657 * bufferview_funcs.C:
674 * text3.C: boost::format -> bformat all over the place
677 2003-05-09 André Pönitz <poenitz@gmx.net>
679 * LColor.[Ch]: Pimpl the #include <map> away
681 2003-05-09 John Levon <levon@movementarian.org>
683 * bufferlist.C: never remove emergency saves
685 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
687 * Makefile.am: better lib building
689 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * texrow.[Ch]: remove dependency on Paragraph and just store a id
693 * paragraph_pimpl.C (simpleTeXBlanks): adjust
694 (simpleTeXSpecialChars): adjust
695 (simpleTeXSpecialChars): adjust
696 * paragraph.C (simpleTeXOnePar): adjust
697 * buffer.C (makeLaTeXFile): adjust
699 * Makefile.am (BOOST_LIBS): allow boost as system lib.
701 * text2.C (changeDepth): parlist cleanup
702 (getColumnNearX): ditto
704 * rowpainter.C (getLabelFont): parlist cleanup
706 * bufferlist.C (newFile): parlist cleanup
708 * CutAndPaste.C (eraseSelection): parlist cleanup
710 * BufferView_pimpl.C (trackChanges): parlist cleanup
713 * BufferView.C (lockInset): parlist cleanup.
714 (ChangeInsets): ditto
716 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
718 * CutAndPaste.h: Update file header.
720 * CutAndPaste.C: Update file header.
721 Store the parts cut out of the Document in a limited_stack.
722 (copySelection): adjust
723 (pasteSelection): new function, takes the index in the limited stack.
724 (nrOfParagraphs): adjust
725 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
726 simplify error inset insertion.
727 (checkPastePossible): adjust
729 2003-05-06 John Levon <levon@movementarian.org>
731 * text2.C: don't cast wrap inset to float
733 2003-05-05 André Pönitz <poenitz@gmx.net>
736 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
738 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
739 few naked Paragraph *.
741 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
743 * bufferparams.C: Output warning if a document with missing
744 TeX document class is loaded
745 * exporter.C: Disable TeX exports if the document class is missing
748 * lyxtextclasslist.C: Handle new textclass.lst format; new method
749 isTeXClassAvailable()
751 2003-05-03 John Levon <levon@movementarian.org>
754 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
755 explicit cursor show/hide
757 * BufferView_pimpl.h:
758 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
759 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
761 * lyxfunc.C: hide cursor before dispatching.
766 * text3.C: remove explicit cursor hides
768 2003-05-02 André Pönitz <poenitz@gmx.net>
770 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
773 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
776 * text2.C: tiny whitespace
778 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
780 * undo_funcs.C: almost only ws changes.
782 * ParagraphList.C (splice): just return if pl is empty.
784 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
786 * ParagraphList.C (splice): new function.
788 * CutAndPaste.C (pasteSelection): use it
790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
792 * CutAndPaste.C (pasteSelection): remove the last next and
793 previous from this file.
795 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
797 * CutAndPaste.C (pasteSelection): more clean up, user proper
798 ParagraphList functions for pasteing.
800 * ParagraphList.C (insert): new function, three arg insert
802 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
804 * ParagraphList.C (insert): new function, three arg insert
806 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
809 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
811 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
813 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * CutAndPaste.C (pasteSelection): remove some unneeded code.
817 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
819 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
820 (copySelection): clean up a bit.
821 (pasteSelection): use make_pair
823 * ParagraphList.C (ParagraphList): implement copy constructor
824 (operator=): implement, base on copy constructor.
827 * paragraph.C (erase): return a bool
829 * paragraph_pimpl.C (erasePos): remove function, move contents...
830 (erase): ... here. Return a bool.
831 (erase): call erase instead of erasePos.
833 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
835 * ParagraphList.h: define PitPosPair
836 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
837 ParagraphList, fix a bug on pasting multiple pars
838 * text2.C: change interface to C&P
840 2003-04-30 André Pönitz <poenitz@gmx.net>
842 * undo_func.C: revert part of yesterday's patch 2
844 2003-04-30 John Levon <levon@movementarian.org>
846 * LColor.C: s/tabular/table/
848 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
850 * text3.C (dispatch): do not convert iterator -> pointer
851 * undo_funcs.C (setCursorParUndo): ditto
852 * text_funcs.C (transposeChars): ditto
854 * text2.C (setLayout): ws changes only
856 * text.C (breakParagraph): do not convert iterator -> pointer
858 (acceptChange): ditto
859 (rejectChange): ditto
864 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
867 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
869 * text3.C (gotoInset): YABG (yet another bad getChar)
871 2003-04-29 André Pönitz <poenitz@gmx.net>
873 * paragraph.h: make operator= private unimplemented as long as
876 * ParagraphList.C: whitespace
879 * paragraph_pimpl.[Ch]:
882 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
885 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
887 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
889 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
890 * paragraph.[Ch] (erase):
891 * paragraph_pimpl.[Ch] (erase): change return type and value
892 * text2.C (cutSelection): some rework
894 2003-04-28 John Levon <levon@movementarian.org>
896 * bufferlist.C: changes for unsaved changes dialog
898 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
900 * bufferlist.C (newFile): set language (messages_) for new
903 * buffer.C (readFile): ws changes only.
905 2003-04-28 André Pönitz <poenitz@gmx.net>
910 * BufferView_pimpl.C:
911 * BufferView.C: getParFromID related ParagraphList::iterator changes
913 2003-04-28 André Pönitz <poenitz@gmx.net>
915 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
918 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
920 * messages.C: remove one more localedir class variable.
922 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
924 * messages.C (getLocaleDir): singleton generation function
926 (Messages): add a default constructor.
928 * main.C (main): do not setup localedir here, do not call
931 * gettext.C (_): use it.
932 (gettext_init): delete funciton
934 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
936 * gettext.C (getLyXMessages): new singleton generating function.
938 * buffer.C (updateDocLang): adjust
940 * Makefile.am (messages.o): add target
941 (main.o): remove target
943 2003-04-27 John Levon <levon@movementarian.org>
948 * lyxvc.C: specify cancel button in Alert::prompt
950 2003-04-26 John Levon <levon@movementarian.org>
955 * LyXAction.C: add LFUN_INSET_SETTINGS
957 * lyxfunc.C: don't enable tabular-feature when there's
958 just any locking inset
960 2003-04-26 John Levon <levon@movementarian.org>
962 * bufferlist.C: re-add Cancel to buffer close question
964 * lyxfunc.C: fix import UI a bit
966 2003-04-25 John Levon <levon@movementarian.org>
968 * gettext.C: remove the broken asserts for now
970 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
972 * messages.C: make case where setlocale cannot comply work better.
974 * buffer.C (updateDocLang): new function
975 (changeLanguage): use it
978 * text2.C (setCounter): use B_ a bit.
980 * lyxlayout.C (Read): be sure to trim the label strings.
982 * messages.C (Messages): fix typo in comment
984 * buffer.C (readFile): set message_ after file is loaded.
985 (makeDocBookFile): remove double return
986 (changeLanguage): reset message_ upon language change.
987 (B_): new func, use this to get translated buffer strings.
989 * main.C: add myself and Jean Marc as authors.
991 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
993 * messages.[hC]: pimplify Messages, and three different pimpls to be
994 used in different circumstances.
996 * gettext.[Ch]: change for use with new message code.
998 2003-04-24 André Pönitz <poenitz@gmx.net>
1000 * factory.C: support for eqref
1002 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * messages.[Ch]: add missing char
1006 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1008 * messages.[Ch]: New files
1010 2003-04-18 John Levon <levon@movementarian.org>
1014 * BufferView_pimpl.C:
1018 * text2.C: remove layout-copy/paste (bug 778)
1020 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1022 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1024 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1026 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1027 if they succeed. Act accordingly.
1029 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1031 * text2.C (setCharFont): adjust
1032 (setCounter): adjust
1033 (insertStringAsLines): adjust
1035 * text.C (leftMargin): adjust
1036 (setHeightOfRow): adjust
1038 * rowpainter.C (paintFirst): adjust
1041 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1043 (isFirstInSequence): ditto
1044 (getEndLabel): ditto
1047 * paragraph.C (getParLanguage): comment out some hard stuff.
1049 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1051 (simpleDocBookOnePar): ditto
1052 (makeDocBookFile): use ParagraphList::iterator
1054 * CutAndPaste.C (pasteSelection): adjust
1056 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1058 * text2.C (getFont): adjust
1059 (getLayoutFont): adjust
1060 (getLabelFont): adjust
1062 * paragraph_funcs.C (TeXOnePar): adjust
1064 * buffer.C (simpleLinuxDocOnePar): adjust
1065 (simpleDocBookOnePar): adjust
1067 * CutAndPaste.C (pasteSelection): adjust
1069 * BufferView.C (getEncoding): adjust
1071 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1073 2003-04-16 John Levon <levon@movementarian.org>
1075 * lyxfind.C: use parlist stuff for search/changes
1077 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1079 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1081 * text2.C (deleteEmptyParagraphMechanism): adjust
1083 * text2.[Ch] (ownerParagraph): delete func (both of them
1085 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1087 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1089 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1091 * ParagraphList.C: prepare for NO_NEXT
1093 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1095 * text2.C (getFont): adjust
1096 (getLayoutFont): adjust
1097 (getLabelFont): adjust
1099 * paragraph.C (getFont): adjust
1100 (getLabelFont): adjust
1101 (getLayoutFont): adjust
1103 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1105 2003-04-15 John Levon <levon@movementarian.org>
1109 * lyx_main.C: handle Include in .ui files
1111 2003-04-15 John Levon <levon@movementarian.org>
1113 * MenuBackend.C: make the doc files length shorter
1116 * ToolbarBackend.C: handle toolbar placement flags,
1119 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1121 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1124 * paragraph_funcs.C (TeXOnePar): adjust
1126 * paragraph.C (getLabelFont): add outerfont arg, adjust
1127 (getLayoutFont): ditto
1128 (simpleTeXOnePar): adjust
1130 * paragraph_pimpl.C (realizeFont): delete func
1132 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1134 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1135 row argument, constify cur argument.
1137 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1139 * text2.C (getFont): adjust
1140 (getLayoutFont): adjust
1141 (getLabelFont): adjust
1143 * paragraph_funcs.C (TeXOnePar): adjust
1144 (outerFont): new func...
1145 (realizeFont): ...moved out from here, changed this to facilitate
1148 * paragraph.C (getFont): take outerfont as arg, adjust
1149 (simpleTeXOnePar): add outerfont arg, adjust
1151 * buffer.C (simpleLinuxDocOnePar): adjust
1152 (simpleDocBookOnePar): adjust
1154 * CutAndPaste.C (pasteSelection): adjust
1156 * BufferView.C (getEncoding): adjust
1158 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1160 * text2.C (setCharFont): adjust
1161 (setCounter): adjust
1163 * text.C (leftMargin): adjust
1164 (setHeightOfRow): adjust
1166 * rowpainter.C (paintFirst): adjust
1169 * paragraph_pimpl.C (realizeFont): adjust
1171 * paragraph.C (isFirstInSequence): move from here...
1172 * paragraph_funcs.C (isFirstInSequence): ...to here
1174 * paragraph.C (outerHook): move from here...
1175 * paragraph_funcs.C (outerHook): ...to here
1177 * paragraph.C (depthHook): move from here...
1178 * paragraph_funcs.C (depthHook): ...to here
1180 * paragraph.C (getEndLabel): move from here...
1181 * paragraph_funcs.C (getEndLabel): ...to here
1183 * text2.C (realizeFont): move from here...
1184 * paragraph_funcs.C (realizeFont): ...to here
1186 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1188 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1190 2003-04-14 Angus Leeming <leeming@lyx.org>
1192 * LColor.[Ch]: scrap LColor mathcursor.
1194 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1196 * lyxlex.[Ch] (text): delete function
1197 * trans.C (Load): adjust
1198 * paragraph_funcs.C (readParToken): adjust
1200 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1203 vector<char> instead of a char[].
1205 * lyxlex_pimpl.C (getString): adjust
1207 (lex): use getString
1211 * lyxlex.C (text): use pimpl_->getString()
1215 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1217 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1218 (makeFontEntriesLayoutSpecific): temp var for par.size()
1219 (setLayout): temp var for ownerParagraphs().end()
1220 (fullRebreak): temp var for rows().end()
1221 (selectionAsString): temp var for boost::next(startpit), realize
1222 that the while really is a regular for loop.
1223 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1224 setCursor in one place.
1225 (setParagraph): temp vr for ownerParagraphs().end()
1226 (updateCounters): make the while loop a for loop
1227 (cutSelection): temp var for ownerParagraphs().end()
1228 (updateInset): make the do {} while() a regular for loop
1229 (getCursorX): use temp vars
1230 (setCurrentFont): use temp vars
1231 (getColumnNearX): use temp vars
1233 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1235 * text.C (transformChar): use temp var for getChar
1236 (computeBidiTables): use temp var for row->par()
1237 (fill): move temp vars for row->par() and pit->layout() earlier in
1239 (labelFill): use temp var for row->par()
1240 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1241 asc and desc, realize that pit never changes and that firstpit is
1242 just a duplicate and not needed. Exchange rit->par() with pit in a
1244 (breakAgain): use a temp var for boost::next(rit)
1245 (breakAgainOneRow): ditto
1246 (breakParagraph): use a temp var for rows().begin()
1247 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1248 (cursorRightOneWord): use temp var for cursor.par() and
1249 cursor.pos(), remove usage of tmpcursor.
1250 (cursorLeftOneWord): use temp var for cursor.par() and
1251 cursor.pos() only set cur at end of function.
1253 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1255 * text.C, text2.C: exchange all usage of Paragraph::next with
1256 boost::next(ParagraphList::iterator)
1258 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1260 * text2.C (cursorTop): simplify implementation
1261 (cursorBottom): ditto
1262 (setParagraph): use ParagraphList::iterator
1263 (setCurrentFont): adjust
1264 (getColumnNearX): adjust
1265 (cursorRight): adjust
1266 (cursorLeft): remove usage of Paragraph::previous
1267 (cursorUpParagraph): ditto
1268 (deleteEmptyParagraphMechanism): slight cleanup
1270 * text.C (isBoundary): take a Paragraph const & instead of a
1272 (addressBreakPoint): ditto
1273 (leftMargin): remove usage of Paragraph::previous.
1274 (setHeightOfRow): ditto
1275 (cursorLeftOneWord): ditto
1276 (selectNextWordToSpellcheck): ditto
1279 (breakParagraph): remove one usage of Paragraph::next
1280 (redoParagraph): ditto
1281 (acceptChange): ditto
1282 (insertChar): adjust
1283 (rowBreakPoint): adjust
1285 * bufferview_funcs.C (toggleAndShow): adjust
1287 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1289 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1290 methods to access it.
1292 * text.C: Added updateRowPositions to compute all row positions.
1293 Make top_y and getRowNearY() to use the cached y position
1295 2003-04-11 John Levon <levon@movementarian.org>
1297 * text.C (rowBreakPoint): reintroduce the labelEnd
1298 checks, code copied from the row fill stuff. Deep voodoo.
1300 * text.C (fill): add a comment and debugging for the
1303 2003-04-11 John Levon <levon@movementarian.org>
1305 * text.C: make sure fullrow insets get wrapped to the next line,
1306 even when they're in a manual label
1308 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1310 * text2.C (insertParagraph): make it take ParagraphList::iterator
1312 (setLayout): make it return ParagraphList::iterator
1313 (redoParagraphs): ditto
1315 (checkParagraph): ditto
1317 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1319 * text2.C: adjust several funcs.
1320 (realizeFont): take a ParagraphList::iterator as arg.
1321 (getLayoutFont): ditto
1322 (getLabelFont): ditto
1323 (setCharFont): ditto
1325 * text.C: adjust several funcs.
1327 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1329 * text.C (selectNextWordToSpellcheck): don't accidentally
1332 2003-04-10 John Levon <levon@movementarian.org>
1334 * ToolbarBackend.C (getIcon): special handling for
1337 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1339 * text2.C (cursorRight): a getChar assert fixed
1341 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1343 * text2.C (getFont): change to take a ParagraphList::iterator
1344 instead of Paragraph*
1345 Adjust several functions.
1347 * text.C (transformChar): change to take a ParagraphList::iterator
1348 instead of Paragraph*
1349 (singleWidth): ditto
1350 Adjust several functions.
1352 * rowpainter.C: adjust several functions
1353 * rowpainter.h:store a ParagraphList::iterator and not a
1357 2003-04-09 John Levon <levon@movementarian.org>
1362 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1363 and the "help" bits as well
1365 2003-04-09 John Levon <levon@movementarian.org>
1368 * ToolbarBackend.C: allow multiple toolbars
1370 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1372 * undo_funcs.C (setCursorParUndo): adjust
1374 * text_funcs.C (transposeChars): adjust
1376 * text3.C (gotoNextInset): adjust
1379 * text2.C (setLayout): adjust
1380 (changeDepth): adjust
1382 (redoParagraphs): adjust
1383 (selectionAsString): adjust
1384 (setParagraph): adjust
1385 (insertInset): adjust
1386 (cutSelection): adjust
1387 (copySelection): adjust
1388 (pasteSelection): adjust
1389 (insertStringAsLines): adjust
1390 (updateInset): adjust
1391 (setCursor): change to take a ParagraphList::iterator parameter
1392 (setCursorIntern): change to take a ParagraphList::iterator parameter
1393 (setCurrentFont): adjust
1394 (cursorLeft): adjust
1395 (cursorRight): adjust
1396 (deleteEmptyParagraphMechanism): adjust
1398 * text.C (breakParagraph): adjust
1399 (insertChar): adjust
1400 (acceptChange): adjust
1401 (rejectChange): adjust
1402 (selectNextWordToSpellcheck): adjust
1403 (changeCase): adjust
1407 * lyxfind.C (SearchForward): adjust
1408 (SearchBackward): adjust
1409 (nextChange): adjust
1411 * lyxcursor.C (par): adjust
1413 * lyxcursor.h: store a ParagraphList::iterator instead of a
1416 * lyx_cb.C (getPossibleLabel): adjust
1418 * bufferview_funcs.C (toggleAndShow): adjust
1420 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1423 * BufferView.C (removeAutoInsets): adjust
1424 (lockedInsetStoreUndo): adjust
1426 2003-04-09 John Levon <levon@movementarian.org>
1428 * ToolbarBackend.C: try icon without argument
1429 if with argument fails
1431 2003-04-08 John Levon <levon@movementarian.org>
1434 * ToolbarBackend.C: add getIcon(), handle tooltip,
1435 and change from "Icon" to "Item".
1437 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1439 * BufferView.C (lockInset): another bad getchar crunched
1441 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1443 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1446 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1448 * lyxfind.C (searchForward, searchBackwards): bug 782
1450 2003-04-07 John Levon <levon@movementarian.org>
1452 * paragraph.C: remove dead comment
1454 * text.C: remove troublesome depth-fiddling code
1455 in leftMargin() and rightMargin() (bug 1017)
1457 * text.C: fix breaking of rows in nested lists
1460 * text2.C (updateCounters): fix up depth values
1463 2003-04-07 John Levon <levon@movementarian.org>
1465 * BufferView_pimpl.C: clear message when doc finishes resizing,
1466 and after a mouse event
1468 * lyxfunc.C: clear message after exiting inset
1470 2003-04-07 John Levon <levon@movementarian.org>
1472 * bufferview_funcs.C: show math status not outside
1473 status in the statusbar
1475 2003-04-07 John Levon <levon@movementarian.org>
1477 * lyxfunc.C: note status changed after a depth change
1479 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1481 * LaTeX.h: move AuxInfo operator==, != out of line.
1482 Remove LaTeX virtual destructor; nothing derives from it.
1483 Move operator()() out of public area and rename it startscript().
1484 Change protected for private.
1486 2003-04-04 Angus Leeming <leeming@lyx.org>
1489 * text2.C: remove unneeded #includes.
1491 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1493 * text2.C (dEPM): fix the heigth of the next row
1495 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1497 * text.C: squashed an invalid getChar requester + some ws changes
1499 2003-04-03 John Levon <levon@movementarian.org>
1501 * bufferview_funcs.h:
1502 * bufferview_funcs.C:
1505 * text2.C: make getStatus work for the env depth lfuns
1507 2003-04-03 John Levon <levon@movementarian.org>
1509 * bufferview_funcs.h:
1510 * bufferview_funcs.C:
1513 * text2.C: parlistize decDepth(), by merging it with incDepth()
1515 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1517 * lyxrow.h: store a ParagraphList::iterator instead of a
1518 Paragraph* and adjust other class functions to suit.
1520 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1523 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1525 * text2.C (setCursor): do not anchor to cursor row for the time being
1527 2003-04-02 John Levon <levon@movementarian.org>
1534 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1536 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1538 * paragraph.h: make ParagraphList and ParagraphList::iterator
1539 friends of Paragraph.
1541 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1543 * ParagraphList.C: Use the private next_ and previous_ from
1546 2003-04-01 John Levon <levon@movementarian.org>
1550 * Makefile.am: rename, remove defaults gunk
1553 * MenuBackend.C: remove defaults gunk
1556 * Languages.C: remove defaults gunk
1559 * lyx_main.C: error out if files couldn't be found.
1561 2003-04-02 John Levon <levon@movementarian.org>
1563 * text2.C: make incDepth() use parlist
1565 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1567 * undo_funcs.C (firstUndoParagraph): adjust
1569 * text3.C (gotoInset): adjust
1570 (dispatch): adjust, and rewrite loop.
1572 * text2.C (init): adjust, and rewrite loop.
1573 (redoParagraphs): adjust
1574 (updateInset): adjust, and rewrite loop.
1575 (deleteEmptyParagraphMechanism): adjust
1577 * tabular.C (LyXTabular): adjust
1578 (SetMultiColumn): adjust
1581 * lyxtext.[Ch] (ownerParagraph): delete function
1582 (ownerParagraphs): new function returns a ParagraphList.
1584 * BufferView.C (removeAutoInsets): adjust
1585 (insertErrors): adjust
1586 (setCursorFromRow): adjust
1588 2003-04-01 Angus Leeming <leeming@lyx.org>
1590 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1593 2003-04-02 John Levon <levon@movementarian.org>
1599 * text_funcs.C: make transposeChars a free function
1601 * lyxrow_funcs.C: remove wrong comment
1603 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * rowpainter.C: adjust
1611 * lyxrow_funcs. [Ch]: new files
1613 * lyxrow.[Ch]: remove next and previous pointers
1614 (next,previous): remove accessor functions
1615 (isParEnd): move to lyxrow_funcs
1616 (lastPos): move to lyxrow_funcs
1617 (nextRowIsAllInset): move to lyxrow_funcs
1618 (lastPrintablePos): move to lyxrow_funcs
1619 (numberOfSeparators): move to lyxrow_funcs
1620 (numberOfHfills): move to lyxrow_funcs
1621 (numberOfLabelHfills): move to lyxrow_funcs
1622 (hfillExpansion): move to lyxrow_funcs
1626 * bufferview_funcs.C (toggleAndShow): adjust
1628 * RowList.h: Remove class RowList from file leave just a
1631 * RowList.C: delete file
1633 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1636 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * text3.C (cursorPrevious): adjust
1639 (cursorNext): adjust
1642 * text2.C (redoHeightOfParagraph): adjust
1643 (redoDrawingOfParagraph): adjust
1646 * text.C (breakParagraph): adjust
1647 (insertChar): adjust
1650 * rowpainter.C (RowPainter): adjust
1651 (leftMargin): simplify and adjust
1652 (most rowpainter functions): adjust.
1654 * rowpainter.h: store the row as RowList::iterator not as Row*
1656 * lyxcursor.C (row): taka RowList::iterator as arg
1659 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1662 2003-04-01 Angus Leeming <leeming@lyx.org>
1664 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1665 stuff like bool Bool.
1667 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1669 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1672 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1674 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1677 * lyxtext.h (rows): drop one version and leve a const variant that
1678 returns a RowList::iterator.
1680 2003-03-31 Angus Leeming <leeming@lyx.org>
1682 * text.C (fill): ensure that the signature is the same as that in the
1685 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1687 * text2.C (redoParagraphs): adjust
1688 (updateCounters): adjust
1689 (checkParagraph): adjust
1690 (getColumnNearX): adjust and reformat a bit.
1692 * text.C (top_y): adjust
1694 (leftMargin): adjust
1695 (prepareToPrint): adjust
1697 (getRowNearY): adjust
1699 * lyxtext.h: make rowlist_ mutable.
1701 * RowList.h: add const_iterator
1702 * RowList.C: adjust for RowList::const_iterator.
1704 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1707 2003-03-31 John Levon <levon@movementarian.org>
1710 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1712 * lyx_main.C: set default fonts from using lyx_gui funcs
1714 * exporter.C: pdf_mode moved from lyxrc
1717 * lyxfunc.C: changes from above
1719 2003-03-31 John Levon <levon@movementarian.org>
1721 * lyx_main.C: fix to the last fix
1723 2003-03-31 John Levon <levon@movementarian.org>
1725 * bufferlist.C: "Load original" -> "Load Original"
1731 * format.C: more Alert cleanups
1733 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1735 * text2.C (removeParagraph): make it take a RowList::iterator as
1737 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1738 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1740 * text.C (anchor_row): make it take a RowList::iterator as arg,
1742 (computeBidiTables): make it take a const reference to Row instead
1743 of Row pointer, adjust.
1744 (leftMargin): make it take a RowList::iterator as arg, adjust.
1745 (rowBreakPoint): adjust
1746 (breakAgainOneRow): make it take a RowList::iterator as arg,
1748 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1750 * bufferview_funcs.C (toggleAndShow): adjust
1752 2003-03-30 John Levon <levon@movementarian.org>
1756 * boost-inst.C: moved to support
1758 * several files: changes as a result
1760 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1762 * text2.C (LyXText): adjust.
1764 (removeRow): make it take a RowList::iterator as arg, adjust.
1765 (fullRebreak): adjust
1766 (deleteEmptyParagraphMechanism): adjust
1767 (clearPaint): adjust
1770 * text.C (top_y): adjust
1771 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1772 (breakAgain): make it take a RowList::iterator as arg, adjust.
1773 (breakParagraph): adjust
1774 (insertChar): adjust
1777 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1778 need_break_row, and refresh_row.
1780 * text3.C (dispatch): adjust
1782 * text2.C (checkParagraph): adjust
1784 (setCursorFromCoordinates): adjust
1786 * text.C (top_y): adjust
1788 (getRow): make it return a RowList::iterator, adjust
1789 (getRowNearY): make it return a RowList::iterator, adjust
1791 * text2.C (init): adjust
1792 (insertRow): remove function
1793 (insertParagraph): adjust
1794 (redoParagraphs): adjust
1795 (fullRebreak): adjust
1796 (updateCounters): adjust
1798 * text.C (top_y): rewrite to use RowList iterators.
1800 (setHeightOfRow): rewrite to sue RowList iterators.
1801 (appendParagraph): adjust
1802 (breakAgain): adjust
1803 (breakAgainOneRow): adjust
1804 (breakParagraph): adjust
1806 (getRowNearY): adjust, and remove commented code.
1808 * lyxtext.h (firstRow): delete function
1809 (lastRow): delete function
1810 (rows): new function (const and non-const versions.)
1811 (insertRow): delete function
1813 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1815 2003-03-29 John Levon <levon@movementarian.org>
1817 * BufferView_pimpl.C: always update scrollbar top
1818 because pasting text when we're anchored could mean we
1819 miss an update altogether
1821 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1823 * text2.C (init): use rowlist_.end() and not 0.
1824 (insertRow): change to take a RowList::iterator as arg, adjust
1826 (insertParagraph): change to take a RowList::iterator as arg,
1828 (redoParagraphs): remove some debug msgs.
1830 * text.C (appendParagraph): change to take a RowList::iterator
1831 arg, adjust for this.
1832 (breakAgain): add an assert
1833 (breakAgainOneRow): ditto
1835 2003-03-29 John Levon <levon@movementarian.org>
1837 * text2.C: do not clear selection after inc/decDepth
1840 2003-03-29 John Levon <levon@movementarian.org>
1843 * buffer.C: fix broken strerrors according to Lars
1845 2003-03-29 John Levon <levon@movementarian.org>
1847 * converters.C: more Alert cleanups
1849 2003-03-29 John Levon <levon@movementarian.org>
1851 * bufferview_funcs.C: remove pointless Alert
1853 * buffer.C: fix confusing error message when
1854 a template is chmoded 000
1856 2003-03-29 John Levon <levon@movementarian.org>
1860 * BufferView_pimpl.C: Alert fixes
1864 * tabular-old.C: remove unused table compat reading
1866 2003-03-29 John Levon <levon@movementarian.org>
1871 * lyx_cb.C: more Alert cleanups
1873 * lyxfunc.C: don't allow chktex if not latex document
1875 2003-03-29 John Levon <levon@movementarian.org>
1879 * buffer.C: warnings pushed down from support/,
1882 2003-03-29 John Levon <levon@movementarian.org>
1884 * lyxfunc.C: safety check for C-r (revert)
1886 2003-03-29 John Levon <levon@movementarian.org>
1889 * bufferlist.C: several UI fixes using Alert::prompt.
1890 Fix the pointless looping quit code. Fix stupid revert
1895 * lyx_cb.C: use Alert::prompt
1897 * lyx_main.C: remove a silly question
1899 * lyxfunc.C: remove a couple of silly questions,
1902 2003-03-28 John Levon <levon@movementarian.org>
1904 * text2.C: fix bug 974 (End on empty par)
1906 2003-03-28 John Levon <levon@movementarian.org>
1908 * BufferView_pimpl.C:
1910 * lfuns.h: remove do-nothing math greek lfuns
1912 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * lyxgluelength.h (isValidGlueLength): add default arg on
1915 parameter 2. Remove default arg from friend in class.
1917 * lyxlength.h (isValidLength): add default arg on parameter 2.
1918 Remove default arg from friend in class.
1920 * text2.C (LyXText): adjust, initialize refresh_row.
1924 (insertParagraph): adjst
1925 (redoParagraphs): adjust
1926 (fullRebreak): adjust
1927 (updateCounters): adjust
1928 (deleteEmptyParagraphMechanism): first attempt at fixing a
1931 * text.C (top_y): adjust
1932 (setHeightOfRow): adjust
1934 (getRowNearY): adjust
1936 * lyxtext.h: include RowList.h
1937 (~LyXText): not needed anymore, deleted.
1938 (firstRow): modify for RowList
1939 (lastRow): new function
1940 Delete firstrow and lastrow class variables, add a Rowlist
1941 rowlist_ class variable.
1943 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1946 * RowList.C (insert): fix case where it == begin().
1948 2003-03-26 Angus Leeming <leeming@lyx.org>
1950 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1951 the thesaurus dialog.
1953 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1957 * RowList.[Ch]: new files
1959 * ParagraphList.C (erase): handle the case where it == begin
1962 2003-03-25 John Levon <levon@movementarian.org>
1966 * aspell.C: add new aspell support
1969 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1972 2003-03-25 Angus Leeming <leeming@lyx.org>
1975 * LyXAction.C (init): new LFUN_INSET_INSERT.
1977 * BufferView_pimpl.C (dispatch): split out part of the
1978 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1980 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1983 2003-03-25 Angus Leeming <leeming@lyx.org>
1985 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1987 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1990 * text3.C: remove useless row->height(0)
1992 2003-03-25 John Levon <levon@movementarian.org>
1996 * text3.C: rename the refreshing stuff to better names
1998 2003-03-24 John Levon <levon@movementarian.org>
2000 * BufferView_pimpl.h:
2001 * BufferView_pimpl.C: update layout choice on a mouse
2004 2003-03-23 John Levon <levon@movementarian.org>
2006 * Makefile.am: fix commandtags.h reference
2008 2003-03-22 John Levon <levon@movementarian.org>
2010 * BufferView_pimpl.C:
2015 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2017 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2020 * text.C: take the rtl methods out of line
2022 2003-03-21 André Pönitz <poenitz@gmx.net>
2024 * metricsinfo.[Ch]: new files containing structures to be passed around
2025 during the two-phase-drawing...
2027 2003-03-21 André Pönitz <poenitz@gmx.net>
2029 * lyxtextclass.C: read 'environment' tag.
2031 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2033 * text2.C (removeRow): fix bug 964
2035 2003-03-20 John Levon <levon@movementarian.org>
2039 * text2.C: paint cleanups. Inset::update() dropped font
2042 2003-03-19 John Levon <levon@movementarian.org>
2044 * lyxfunc.C: only fitcursor/markDirty if available()
2046 2003-03-19 John Levon <levon@movementarian.org>
2048 * commandtags.h: rename to ...
2050 * lfuns.h: ... this, and renumber / cleanup
2052 2003-03-19 John Levon <levon@movementarian.org>
2054 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2055 fit the cursor after an lfun
2059 * BufferView_pimpl.h:
2060 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2062 * LyXAction.C: layout-character should have ReadOnly
2064 * ParagraphParameters.C:
2066 * bufferview_funcs.C:
2073 * undo_funcs.C: changes from above
2075 2003-03-18 John Levon <levon@movementarian.org>
2077 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2078 remove it from update()
2080 * lyxfunc.C: update layout choice after an lfun
2082 * text3.C: remove extra updateLayoutChoice()s
2084 2003-03-18 John Levon <levon@movementarian.org>
2086 * text.C: top_y change means full repaint, fix
2087 a drawing bug with cursor movement
2089 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2093 * text2.C: anchor row on setCursor
2095 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2097 * lyxtext.h: remove almost all mutable keywords
2100 * text3.C: remove const keywords accordingly
2102 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2104 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2106 (TeXEnvironment): ditto
2109 2003-03-17 John Levon <levon@movementarian.org>
2111 * text.C (rowBreakPoint): remove attempt to fix displayed
2112 math insets inside a manual label
2114 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2116 * lyxtext.h: remove BufferView* as first arg from almost all class
2118 * other files: adjust.
2120 2003-03-17 John Levon <levon@movementarian.org>
2124 * text2.C: more paint cleanups
2126 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2129 * rowpainter.C: remove "smart" background painting code
2131 2003-03-16 John Levon <levon@movementarian.org>
2136 * text3.C: add helper functions for setting refresh_row/y
2138 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2140 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2141 newline inset which *can* get inserted in the pass_thru layouts.
2142 This is primarily for literate documents.
2144 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2146 * buffer.C: increment LYX_FORMAT to 223
2148 2003-03-14 André Pönitz <poenitz@gmx.net>
2150 * textclass.h: prepare for environment handling, ws changes
2151 * lyxlayout.C: read latexheader and latexfooter tags
2153 2003-03-14 John Levon <levon@movementarian.org>
2155 * text2.C: rewrite ::status() a bit
2157 2003-03-13 John Levon <levon@movementarian.org>
2159 * lyxtext.h: add some docs
2161 2003-03-13 John Levon <levon@movementarian.org>
2166 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2168 2003-03-13 John Levon <levon@movementarian.org>
2170 * text3.C: fix appendix redrawing
2172 2003-03-13 John Levon <levon@movementarian.org>
2174 * text.C (setHeightOfRow):
2176 * rowpainter.C: make appendix mark have the text
2177 "Appendix" so the user knows what it is
2180 * LColor.C: s/appendixline/appendix/ from above
2182 2003-03-13 John Levon <levon@movementarian.org>
2184 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2186 * text.C: fix a getChar(pos) bug properly
2188 2003-03-13 Angus Leeming <leeming@lyx.org>
2191 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2192 Probably only temporary. Let's see how things pan out.
2194 * BufferView.C (unlockInset):
2195 * BufferView_pimpl.C (fitCursor):
2196 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2198 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2199 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2201 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2202 new functions that convert ParagraphParameters to and from a string.
2204 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2205 BufferView::Pimpl's dispatch.
2206 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2208 2003-03-13 André Pönitz <poenitz@gmx.net>
2212 * factory.C: make it aware of InsetEnv
2214 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2216 * text2.C (setCursor): never ask for one past last
2217 (setCursor): add some debugging messages.
2219 * text.C (singleWidth): never ask for one past last
2220 (singleWidth): ditto
2222 (rightMargin): ditto
2223 (rowBreakPoint): ditto
2224 (setHeightOfRow): ditto
2225 (prepareToPrint): ditto
2227 * rowpainter.C (paintBackground): never ask for one past last
2228 (paintText): never ask for one past last
2230 * paragraph_pimpl.C (getChar): make the assert stricter, never
2231 allow the one past last pos to be taken
2233 * paragraph.C (getChar): ws changes only
2235 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2236 (numberOfSeparators): ditto
2237 (numberOfHfills): ditto
2239 2003-03-12 John Levon <levon@movementarian.org>
2245 * paragraph_funcs.C: fix per-buffer authorlists
2247 2003-03-12 John Levon <levon@movementarian.org>
2249 * text.C: fix newline in right address
2251 2003-03-12 Angus Leeming <leeming@lyx.org>
2253 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2254 duplicate those in LyXFunc::dispatch.
2258 * ToolbarDefaults.C:
2259 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2260 Add LFUN_FONTFREE_UPDATE.
2262 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2263 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2265 * bufferview_func.[Ch]: several new functions to facilliate
2266 transfer of data to and from the character dialog.
2268 2003-03-12 John Levon <levon@movementarian.org>
2273 * paragraph_funcs.C:
2274 * paragraph_pimpl.C:
2278 * text3.C: remove META_NEWLINE in favour of an inset
2281 * rowpainter.C: remove paintNewline (done by inset)
2283 2003-03-12 John Levon <levon@movementarian.org>
2285 * paragraph_pimpl.C: complain about bad getChar()s
2286 for a while at least
2288 2003-03-12 John Levon <levon@movementarian.org>
2291 * buffer.C: move paragraph read into a separate function,
2292 a little renaming to reflect that.
2295 * bufferparams.C: remove the author_ids map, not necessary now
2298 * factory.C: moved Buffer::readInset to here
2300 * paragraph_funcs.h:
2301 * paragraph_funcs.C: readParagraph free function moved from
2304 * tabular.C: name change
2306 2003-03-12 John Levon <levon@movementarian.org>
2309 * ParagraphParameters.C: move par params input to
2312 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2313 behave like a normal read from the stream wrt reading
2314 a line vs. a \\token
2316 2003-03-12 John Levon <levon@movementarian.org>
2319 * ParagraphParameters.h:
2320 * ParagraphParameters.C: move output code to a
2323 2003-03-12 John Levon <levon@movementarian.org>
2325 * BufferView.C (insertLyXFile):
2328 * tabular.C: use a parlist iterator for creating the
2331 2003-03-12 John Levon <levon@movementarian.org>
2333 * buffer.C: make current_change static local not
2336 2003-03-12 John Levon <levon@movementarian.org>
2338 * buffer.C: fix insertStringAsLines for change tracking
2340 2003-03-12 John Levon <levon@movementarian.org>
2347 * bufferparams.C: move author list into params. Rename some
2348 functions. Move the header reading into a separate token
2349 loop. Move the header token reading into BufferParams.
2351 2003-03-12 John Levon <levon@movementarian.org>
2353 * changes.C: put debug inside lyxerr.debugging() checks
2355 2003-03-11 André Pönitz <poenitz@gmx.net>
2357 * factory.C: make it aware of InsetHFill
2359 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2361 * buffer.C (latexParagraphs): move function from here...
2362 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2365 2003-03-10 Angus Leeming <leeming@lyx.org>
2367 * LyXAction.C (init): fix bug in poplating array with multiple entries
2368 with the same LFUN (spotted by JMarc).
2370 2003-03-10 John Levon <levon@movementarian.org>
2373 * text2.C: move getColumnNearX() near its
2376 2003-03-10 John Levon <levon@movementarian.org>
2378 * text.C: fix break before a minipage
2380 2003-03-10 John Levon <levon@movementarian.org>
2382 * text.C: fix the last commit
2384 2003-03-09 John Levon <levon@movementarian.org>
2388 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2389 bug 365 (don't break before insets unless needed). Don't
2390 return a value > last under any circumstances.
2392 2003-03-09 Angus Leeming <leeming@lyx.org>
2394 * BufferView_pimpl.C (trackChanges, dispatch): call
2395 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2397 2003-03-09 Angus Leeming <leeming@lyx.org>
2399 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2400 than Dialogs::showAboutlyx().
2402 2003-03-09 Angus Leeming <leeming@lyx.org>
2404 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2405 than Dialogs::showTabularCreate().
2407 2003-03-09 John Levon <levon@movementarian.org>
2411 * text2.C: 3rd arg to nextBreakPoint was always the same.
2414 2003-03-08 John Levon <levon@movementarian.org>
2421 * text2.C: Remove the "main" bit from the "main body"
2424 2003-03-08 John Levon <levon@movementarian.org>
2426 * text.C (leftMargin): The left margin of an empty
2427 manual label paragraph should not include the label width
2430 * text.C (prepareToPrint): don't attempt to measure hfills
2431 for empty manual label paragraphs - the answer should be 0
2433 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2435 * CutAndPaste.C: remove commented code and reindent.
2437 2003-03-08 John Levon <levon@movementarian.org>
2440 * lyxfunc.C: move reloadBuffer()
2443 * BufferView.C: to here
2445 * lyxvc.C: add comment
2448 * vc-backend.C: call bv->reload() to avoid
2449 getStatus() check on MENURELOAD
2451 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2453 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2454 to an old format .dep file.
2456 2003-03-07 Angus Leeming <leeming@lyx.org>
2458 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2459 when the LFUN_MOUSE_RELEASE should have been handled by
2460 inset->localDispatch.
2462 2003-03-07 Angus Leeming <leeming@lyx.org>
2464 * BufferView_pimpl.C (dispatch):
2465 * LyXAction.C (init):
2466 * ToolbarDefaults.C (init):
2468 * lyxfunc.C (getStatus):
2469 remove LFUN_INSET_GRAPHICS.
2471 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2473 2003-03-07 Angus Leeming <leeming@lyx.org>
2476 * LyXAction.C (init):
2477 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2479 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2482 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2484 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2485 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2487 2003-03-07 Angus Leeming <leeming@lyx.org>
2489 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2492 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * ParagraphList.C (front): new function
2497 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2499 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2500 and top_row_offset_. removed var first_y.
2502 * text2.C (LyXText, removeRow):
2504 * BufferView_pimpl.C:
2505 use these methods instead of using first_y
2507 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2509 * text2.C (pasteSelection): adjust for checkPastePossible
2511 * CutAndPaste.C: remove Paragraph * buf and replace with
2512 ParagraphList paragraphs.
2513 (DeleteBuffer): delete
2514 (cutSelection): change the tc type to textclass_type
2515 (copySelection): change the tc type to textclass_type
2516 (copySelection): adjust for ParagraphList
2517 (pasteSelection): change the tc type to textclass_type
2518 (pasteSelection): adjust for Paragraphlist
2519 (nrOfParagraphs): simplify for ParagraphList
2520 (checkPastePossible): simplify for ParagraphList
2521 (checkPastePossible): remove unused arg
2523 * ParagraphList.C (insert): handle the case where there are no
2526 * CutAndPaste.h: make CutAndPaste a namespace.
2528 * text3.C (dispatch): adjust
2530 * text.C (breakParagraph): add a ParagraphList as arg
2532 * paragraph_funcs.C (breakParagraph): change to take a
2533 BufferParams and a ParagraphList as args.
2534 (breakParagraphConservative): ditto
2535 (mergeParagraph): ditto
2536 (TeXDeeper): add a ParagraphList arg
2537 (TeXEnvironment): ditto
2540 * buffer.C (readLyXformat2): adjust
2541 (insertStringAsLines): adjust
2542 (latexParagraphs): adjust
2544 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2545 (cutSelection): adjust
2546 (pasteSelection): adjust
2548 * BufferView_pimpl.C (insertInset): adjust
2550 2003-03-05 Angus Leeming <leeming@lyx.org>
2553 * LyXAction.C (init):
2554 * BufferView_pimpl.C (dispatch):
2555 * lyxfunc.C (getStatus):
2556 remove LFUN_CHILD_INSERT.
2558 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2560 2003-03-05 Angus Leeming <leeming@lyx.org>
2563 * LyXAction.C (init):
2564 * src/factory.C (createInset):
2565 * lyxfunc.C (getStatus):
2566 * text3.C (dispatch):
2567 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2569 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2571 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * ParagraphList.C (insert): handle insert right before end()
2574 (erase): fix cases where it can be first or last paragraph.
2576 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2579 Paragraph::next and Paragraph::previous
2582 * text.C (breakParagraph): adjust
2584 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2585 BufferParams& as arg.
2586 (breakParagraph): use ParagraphList::insert
2587 (breakParagraphConservative): take a Buffer* instead of a
2588 BufferParams& as arg.
2589 (breakParagraphConservative): use ParagraphList::insert.
2591 * buffer.C (insertStringAsLines): un-const it
2592 (insertStringAsLines): adjust
2594 * ParagraphList.C (insert): new function
2596 * CutAndPaste.C (pasteSelection): adjust
2598 * text.C (backspace): adjust
2600 * tabular.C (SetMultiColumn): adjust
2602 * CutAndPaste.C (cutSelection): adjust
2603 (pasteSelection): adjust
2605 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2606 Buffer const * as arg
2608 * ParagraphList.C (erase): new function
2609 * paragraph_funcs.C (mergeParagraph): use it
2610 (mergeParagraph): make it take a Buffer* instead of a
2611 BufferParams* as arg
2613 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2615 (breakParagraphConservative): ditto
2617 * paragraph.h: remove the breakParagraph friend
2619 * paragraph.C (eraseIntern): new function
2620 (setChange): new function
2622 * paragraph_funcs.C (mergeParagraph): make it take a
2623 ParagraphList::iterator instead of a Paragraph *, adjust
2626 * paragraph.h: move an #endif so that the change tracking stuff
2627 also works in the NO_NEXT case.
2629 2003-03-04 Angus Leeming <leeming@lyx.org>
2632 * LyXAction.C: new LFUN_INSET_MODIFY.
2634 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2635 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2637 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * several files: ws changes only
2641 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2642 (TeXEnvironment): ditto
2645 * buffer.C (makeLaTeXFile): adjust
2646 (latexParagraphs): make it take ParagraphList::iterator as args
2648 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * buffer.C (latexParagraphs): adjust
2652 * paragraph.C (TeXOnePar): move function...
2653 (optArgInset): move function...
2654 (TeXEnvironment): move function...
2655 * paragraph_pimpl.C (TeXDeeper): move function...
2656 * paragraph_funcs.C: ...here
2658 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2660 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2662 * buffer.C (readInset): remove compability code for old Figure and
2665 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2667 * buffer.C: ws changes
2670 * BufferView_pimpl.C: ditto
2673 * bufferlist.h: ditto
2677 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2679 * converter.[Ch]: split into itself +
2682 * Makefile.am: += graph.[Ch] + format.[Ch]
2689 * lyxrc.C: added #include "format.h"
2691 2003-02-27 Angus Leeming <leeming@lyx.org>
2693 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2696 * factory.C (createInset): add "label" to the factory.
2698 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2699 string and do no more.
2701 2003-02-27 Angus Leeming <leeming@lyx.org>
2704 * LyXAction.C (init):
2705 * factory.C (createInset):
2706 * BufferView_pimpl.C (dispatch):
2707 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2709 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2711 * lyxfunc.C (dispatch):
2712 * text3.C (dispatch): pass name to params2string.
2714 2003-02-26 Angus Leeming <leeming@lyx.org>
2716 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2718 Rearrange the ~includes. Strip out the unnecessary ones.
2720 * factory.C (createInset): reformat.
2721 create new insets for the various LFUN_XYZ_APPLY lfuns.
2723 2003-02-26 John Levon <levon@movementarian.org>
2726 * lyxrow.C: add isParStart,isParEnd helpers
2728 * paragraph.h: make isInserted/DeletedText take refs
2730 * paragraph_funcs.h:
2731 * paragraph_funcs.C: remove #if 0'd code
2736 * text.C: use lyxrow helpers above.
2737 Move draw and paint routines to RowPainter.
2738 Make several methods use refs not pointers.
2739 Make backgroundColor() const.
2740 Add markChangeInDraw(), isInInset().
2741 Merge changeRegionCase into changeCase.
2742 Make workWidth() shouldn't-happen code into an Assert.
2745 * rowpainter.C: new class for painting a row.
2748 * vspace.C: make inPixels take a ref
2750 2003-02-26 Angus Leeming <leeming@lyx.org>
2752 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2755 2003-02-25 John Levon <levon@movementarian.org>
2757 * ispell.C: give the forked command a more accurate name
2759 2003-02-22 John Levon <levon@movementarian.org>
2762 * toc.C: make TocItem store an id not a Paragraph *
2765 2003-02-21 Angus Leeming <leeming@lyx.org>
2767 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2768 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2769 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2770 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2771 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2772 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2774 * BufferView_pimpl.C (dispatch):
2775 * LyXAction.C (init):
2776 * factory.C (createInset):
2777 * lyxfunc.C (getStatus, dispatch):
2778 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2780 2003-02-21 Angus Leeming <leeming@lyx.org>
2782 * BufferView_pimpl.C (MenuInsertLyXFile):
2783 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2784 * lyxfunc.C (menuNew, open, doImport):
2785 no longer pass a LyXView & to fileDlg.
2787 2003-02-21 Angus Leeming <leeming@lyx.org>
2789 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2790 * LyXAction.C: change, BIBKEY to BIBITEM.
2791 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2792 Change InsetBibKey to InsetBibitem.
2793 Change BIBKEY_CODE to BIBITEM_CODE.
2794 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2795 * factory.C: replace insetbib.h with insetbibitem.h.
2796 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2797 * paragraph.C: replace insetbib.h with insetbibitem.h.
2798 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2799 Change bibkey() to bibitem().
2800 * text.C: remove insetbib.h.
2801 * text2.C: replace insetbib.h with insetbibitem.h.
2802 change bibkey() to bibitem().
2803 * text3.C: remove insetbib.h.
2804 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2806 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2808 * lyxrc.C (output): enclose user email in quotes (in case there are
2811 2003-02-18 John Levon <levon@movementarian.org>
2813 * buffer.h: add std::
2815 2003-02-17 John Levon <levon@movementarian.org>
2821 * pspell.C: reworking. Especially in ispell, a large
2822 number of clean ups and bug fixes.
2824 * lyxfunc.C: fix revert to behave sensibly
2826 2003-02-17 André Pönitz <poenitz@gmx.net>
2829 * commandtags.h: new LFUN_INSERT_BIBKEY
2839 * paragraph_func.C: remove special bibkey handling
2841 2003-02-17 John Levon <levon@movementarian.org>
2843 * text.C (Delete): fix case where delete at the end of
2844 the very first paragraph would not merge the pars
2846 2003-02-17 John Levon <levon@movementarian.org>
2848 * lyxrow.C: fix lastPrintablePos()
2850 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2852 * bufferparams.C (writeLaTeX): add a std:here
2854 * buffer.C: and remove a using directive there
2856 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2858 * buffer.C (makeLaTeXFile): move the code that generates the
2861 * bufferparams.C (writeLaTeX): ... in this new method
2863 * LaTeXFeatures.C (getEncodingSet): make const
2864 (getLanguages): make const
2866 * MenuBackend.C (binding): returns the binding associated to this
2868 (add): sets the status of each item by calling getStatus. Adds
2870 (read): add support for OptSubMenu
2871 (expand): remove extra separator at the end of expanded menu
2873 2003-02-15 John Levon <levon@movementarian.org>
2876 * BufferView_pimpl.C:
2878 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2879 inset code that had no actual effect. Remove unneeded status
2882 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2884 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2887 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2889 * text.C (drawLengthMarker): also draw an arrow marker for
2890 symbolic lengths (medskip...)
2892 2003-02-14 John Levon <levon@movementarian.org>
2895 * tabular.C: better method names
2897 2003-02-14 John Levon <levon@movementarian.org>
2899 * BufferView_pimpl.C:
2904 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2905 it's a more accurate name. Remove some pointless uses.
2907 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2909 * text2.C (LyXText): change order of initilizers to shut off
2912 2003-02-14 John Levon <levon@movementarian.org>
2914 * buffer.C: use ParIterator for getParFromID()
2918 * paragraph_pimpl.h:
2919 * paragraph_pimpl.C: remove unused getParFromID()
2921 2003-02-14 John Levon <levon@movementarian.org>
2923 * buffer.C: remove some very old #if 0'd parse code
2925 2003-02-13 John Levon <levon@movementarian.org>
2929 * text2.C: move hfillExpansion(), numberOfSeparators(),
2930 rowLast(), rowLastPrintable(), numberofHfills(),
2931 numberOfLabelHfills() ...
2934 * lyxrow.C: ... to member functions here.
2939 * text.C: remove LyXText::beginningOfMainBody(), and call
2940 p->beginningOfMainBody() directly. Move the check for
2941 LABEL_MANUAL into the latter.
2948 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2954 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2955 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2957 2003-02-13 John Levon <levon@movementarian.org>
2959 * CutAndPaste.C: remove debug
2961 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2963 * paragraph.C (asString): remove two unused variables
2965 * lyxtextclass.C (readTitleType):
2967 (LyXTextClass): handle new members titletype_ and titlename_
2969 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2971 2003-02-09 John Levon <levon@movementarian.org>
2974 * buffer.C: replace hand-coded list with a map for the dep clean
2976 2003-02-08 John Levon <levon@movementarian.org>
2978 * LaTeX.C: consolidate code into showRunMessage() helper
2980 2003-02-08 John Levon <levon@movementarian.org>
2985 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2986 and pass the size in explicitly
2988 * BufferView_pimpl.h:
2989 * BufferView_pimpl.C:
2991 * BufferView.C: add getCurrentChange()
2993 * BufferView_pimpl.h:
2994 * BufferView_pimpl.C: handle change lfuns
2996 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2997 for changes. Mark pasted paragraphs as new.
2999 * support/lyxtime.h:
3000 * support/lyxtime.C:
3001 * DepTable.C: abstract time_t as lyx::time_type
3004 * LColor.C: add colours for new text, deleted text, changebars
3006 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3007 package use "usenames" option.
3011 * LyXAction.C: add change lfuns
3015 * author.C: author handling
3018 * buffer.C: add a per-buffer author list, with first entry as
3019 current author. Handle new .lyx tokens for change tracking. Output
3020 author list to .lyx file. Output dvipost stuff to .tex preamble.
3021 Bump lyx format to 222.
3024 * bufferlist.C: add setCurrentAuthor() to reset current author details
3028 * bufferparams.C: add param for tracking
3030 * bufferview_funcs.C: output change info in minibuffer
3034 * changes.C: add change-tracking structure
3037 * debug.C: add CHANGES debug flag
3040 * lyxfind.C: add code for finding the next change piece
3043 * lyxrc.C: add user_name and user_email
3046 * lyxrow.C: add a metric for the top of the text line
3049 * text.C: implement accept/rejectChange()
3052 * text.C: paint changebars. Paint new/deleted text in the chosen
3053 colours. Strike through deleted text.
3057 * paragraph_pimpl.h:
3058 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3059 in the current change to the insert functions. Rework erase to
3060 mark text as deleted, adding an eraseIntern() and a range-based
3061 erase(). Implement per-paragraph change lookup and
3064 * paragraph_funcs.C: Fixup paste for change tracking.
3066 * tabular.C: mark added row/columns as new.
3068 * text.C: fix rowLast() to never return -1. Don't allow
3069 spellchecking of deleted text. Track transpose changes. Don't
3070 allow paragraph break or merge where appropriate.
3072 * text2.C: leave cursor at end of selection after a cut.
3074 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3076 * text.C (getLengthMarkerHeight):
3077 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3078 visible on screen too.
3080 2003-02-07 John Levon <levon@movementarian.org>
3082 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3084 2003-02-05 Angus Leeming <leeming@lyx.org>
3086 * lyxserver.C (read_ready): revert my patch of 11 September last year
3087 as it sends PC cpu through the roof. Presumably this means that
3088 the lyxserver will no longer run on an Alpha...
3090 2003-01-30 Angus Leeming <leeming@lyx.org>
3092 * factory.C (createInset): create an InsetCommandParam of type "index"
3093 and use it to 'do the right thing'.
3095 * text2.C (getStringToIndex): ensure that cursor position is always
3096 reset to the reset_cursor position.
3098 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3100 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3103 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3107 * lyxfunc.C: Output messages with identical spelling, punctuation,
3110 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3112 * MenuBackend.C (expandFormats): List only viewable export formats
3115 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3118 * lyxfunc.C (getStatus): Make sure that formats other than
3119 "fax" can also be disabled
3121 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3123 * text3.C (dispatch): put the lfuns that insert insets in 3
3124 groups, and call doInsertInset with appropriate arguments.
3125 (doInsertInset): new function, that creates an inset and inserts
3126 it according to some boolean parameters.
3128 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * buffer.C (readFile): remember to pass on 'par' when calling
3131 readFile recursively.
3133 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3135 * MenuBackend.C (expandFormats): add "..." to import formats.
3137 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3139 * paragraph.C (asString): Remove XForms RTL hacks.
3141 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3142 * buffer.C: fix typo
3144 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3146 * Makefile.am (LIBS): delete var
3147 (lyx_LDADD): add @LIBS@ here instead.
3149 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3151 * Clarify the meaning of "wheel mouse jump"
3153 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3155 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3158 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3160 * importer.C (Loaders): do not preallocate 3 elements in the
3161 vector, since one ends up with 6 elements otherwise
3163 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3165 * DepTable.C (write): write the file name as last element of the
3166 .dep file (because it may contain spaces)
3167 (read): read info in the right order
3169 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3171 * paragraph_pimpl.C (simpleTeXBlanks):
3172 (simpleTeXSpecialChars):
3173 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3175 * tabular.C (latex): add some missing case statements. Reindent.
3177 * MenuBackend.C (expandToc): remove unused variable.
3179 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3188 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3191 2003-01-05 John Levon <levon@movementarian.org>
3194 * BufferView.C: add getEncoding()
3197 * kbsequence.C: do not store last keypress
3200 * lyxfunc.C: store last keypress here instead. Pass encoding
3203 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3205 * lyx_main.C (init): remove annoying error message when following
3206 symbolic links (bug #780)
3208 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3210 * text.C (insertChar):
3211 * lyxrc.C (getDescription): remove extra spaces
3213 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3215 * lyxrc.C (getDescription): remove extra spaces
3217 2002-12-20 John Levon <levon@movementarian.org>
3219 * text3.C: hack fix for page up/down across tall rows
3221 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3223 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3226 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3228 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3229 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3230 thesaurus is not compiled in
3232 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3234 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3236 2002-12-16 Angus Leeming <leeming@lyx.org>
3239 * lyx_main.C (init): remove override_x_deadkeys stuff.
3241 2002-12-12 John Levon <levon@movementarian.org>
3243 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3244 insert. Only remove shift modifier under strict
3247 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3249 * MenuBackend.C (expandToc): fix crash.
3251 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3253 * MenuBackend.C (expandToc): gettext on float names.
3255 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3257 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3258 implement bool empty() [bug 490]
3260 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3262 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3264 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3266 * several files: ws changes
3268 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3270 * text2.C (setCounter): clean up a bit, use boost.format.
3271 (updateCounters): initialize par upon declaration.
3273 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3274 if the layout exists. We do not just store the layout any more.
3275 (SwitchLayoutsBetweenClasses): use boost.format
3277 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3279 * converter.C (convert): if from and to files are the same, use a
3280 temporary files as intermediary
3282 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3285 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3287 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3289 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3291 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * tabular.C (asciiPrintCell): use string(size, char) instead of
3296 * sgml.C (openTag): fix order of arguments to string constructor
3299 * lyxfunc.C (dispatch): use boost.format
3301 * lots of files: change "c" -> 'c'
3303 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3305 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3307 2002-11-25 Angus Leeming <leeming@lyx.org>
3309 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3311 * lyx_main.C (init): compile fix.
3313 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3315 * lyx_cb.C (start): boost.formatify
3316 do not include <iostream>
3318 * lengthcommon.C: ws only
3320 * boost-inst.C,BoostFormat.h: add more explict instantations
3322 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * lots of files: handle USE_BOOST_FORMAT
3326 2002-11-21 John Levon <levon@movementarian.org>
3328 * pspell.C: fix compile
3330 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3332 * lyxfunc.C (dispatch): use boost::format
3336 * lyxfont.C (stateText): use boost::format
3338 * lyx_main.C (LyX): use boost::format
3340 (queryUserLyXDir): ditto
3343 (typedef boost::function): use the recommened syntax.
3345 * importer.C (Import): use boost::format
3347 * debug.C (showLevel): use boost::format
3349 * converter.C (view): use boost::format
3354 * bufferview_funcs.C (currentState): use boost::format
3356 * bufferlist.C (emergencyWrite): use boost::format
3358 * buffer.C (readLyXformat2): use boost::format
3359 (parseSingleLyXformat2Token): ditto
3361 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3363 * LaTeX.C (run): use boost::format
3365 * Chktex.C (scanLogFile): use boost::format
3367 * BufferView_pimpl.C (savePosition): use boost::format
3368 (restorePosition): ditto
3369 (MenuInsertLyXFile): ditto
3371 * BoostFormat.h: help file for explicit instation.
3373 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3375 * tabular.C (latex): Support for block alignment in fixed width
3378 2002-11-17 John Levon <levon@movementarian.org>
3380 * BufferView_pimpl.C:
3382 * lyxfunc.C: split filedialog into open/save
3384 2002-11-08 Juergen Vigna <jug@sad.it>
3386 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3387 by my last patch (hopefully).
3389 2002-11-08 John Levon <levon@movementarian.org>
3398 * toc.C: ParConstIterator, and use it (from Lars)
3400 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3402 * lyxtextclass.[Ch]: revise and add doxygen comments
3404 2002-11-07 John Levon <levon@movementarian.org>
3406 * text.C: fix progress value for spellchecker
3408 * toc.C: fix navigate menu for insetwrap inside minipage
3410 * paragraph_funcs.C: added FIXME for suspect code
3412 2002-11-07 John Levon <levon@movementarian.org>
3414 * BufferView_pimpl.C: fix redrawing of insets
3417 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3419 * text2.C (updateCounters): fix bug 668
3421 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3423 * text3.C (dispatch): Do not make the buffer dirty when moving the
3426 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3428 * vc-backend.C: STRCONV
3431 * text2.C (setCounter): STRCONV
3433 * paragraph.C (asString): STRCONV
3435 * lyxlength.C (asString): STRCONV
3436 (asLatexString): ditto
3438 * lyxgluelength.C (asString): STRCONV
3439 (asLatexString): ditto
3441 * lyxfunc.C (dispatch): STRCONV
3444 * lyxfont.C (stateText): STRCONV
3446 * importer.C (Import): STRCONV
3448 * counters.C (labelItem): STRCONV
3449 (numberLabel): ditto
3450 (numberLabel): remove unused ostringstream o
3455 * bufferview_funcs.C (currentState): STRCONV
3457 * buffer.C (readFile): STRCONV
3458 (asciiParagraph): ditto
3459 (makeLaTeXFile): ditto
3461 * Spacing.C (writeEnvirBegin): STRCONV
3463 * LaTeXFeatures.C (getLanguages): STRCONV
3464 (getPackages): ditto
3466 (getBabelOptions): ditto
3467 (getTClassPreamble): ditto
3468 (getLyXSGMLEntities): ditto
3469 (getIncludedFiles): ditto
3473 (scanAuxFile): ditto
3476 * LString.h: add the STRCONV macros
3478 * BufferView_pimpl.C (savePosition): STRCONV
3479 (restorePosition): ditto
3480 (MenuInsertLyXFile): ditto
3482 * vc-backend.C (scanMaster): change from submatch[...] to
3485 * funcrequest.C: include config.h
3487 * factory.C: include config.h
3489 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3491 * box.C: include config.h
3493 * LaTeX.C (scanAuxFile): change from submatch[...] to
3497 2002-10-25 Angus Leeming <leeming@lyx.org>
3499 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3501 * ispell.[Ch] (setError): new method.
3502 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3503 Use setError() insetead of goto END.
3505 * lyx_cb.C (AutoSave): move out child process into new class
3508 2002-10-30 John Levon <levon@movementarian.org>
3510 * text3.C: make start appendix undoable
3512 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3514 * lyxlength.C (inPixels): Fix returned value.
3516 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3519 2002-10-24 Angus Leeming <leeming@lyx.org>
3521 * lyxgluelength.h: no need to forward declare BufferParams
3522 or BufferView, so don't.
3524 2002-10-21 John Levon <levon@movementarian.org>
3526 * BufferView.C: menuUndo ->undo, redo
3528 * BufferView.h: document, remove dead, make some methods private
3530 * paragraph_funcs.h:
3531 * paragraph_funcs.C:
3532 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3537 * sgml.C: move sgml open/close tag into sgml.C
3539 * bufferview_funcs.h: unused prototype
3542 * lyxfunc.C: remove unused
3545 * text.C: remove unused
3547 2002-10-21 John Levon <levon@movementarian.org>
3551 * BufferView_pimpl.h:
3552 * BufferView_pimpl.C: fix mouse wheel handling based on
3553 patch from Darren Freeman
3555 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3557 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3559 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3561 * lyxlength.C (inPixels): Fix hanfling of negative length.
3562 Fix LyXLength::MU case.
3564 2002-10-16 John Levon <levon@movementarian.org>
3566 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3568 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3570 * converter.C (view): add support for $$i (file name) and $$p
3571 (file path) for the viewer command. If $$i is not specified, then
3572 it is appended to the command (for compatibility with old syntax)
3574 2002-10-14 Juergen Vigna <jug@sad.it>
3576 * undo_funcs.C (textHandleUndo): alter the order in which the
3577 new undopar is added to the LyXText, as we have to set first
3578 the right prev/next and then add it as otherwise the rebuild of
3579 LyXText is not correct. Also reset the cursor to the right paragraph,
3580 with this IMO we could remove the hack in "redoParagraphs()".
3582 2002-10-09 Angus Leeming <leeming@lyx.org>
3584 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3585 to turn off an optimisation if a new inset is to be inserted.
3587 2002-10-11 André Pönitz <poenitz@gmx.net>
3589 * lyxtext.h: make some functions public to allow access
3590 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3592 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3594 * text3.C (dispatch): when changing layout, avoid an infinite loop
3597 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3599 * lyxrc.C (read): treat a viewer or converter command of "none" as
3602 * MenuBackend.C (expandFormats): for an update, also allow the
3603 formats that are not viewable
3605 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3606 script if it is newer than the lyxrc.defaults in user directory
3608 2002-10-07 André Pönitz <poenitz@gmx.net>
3610 * text.C: Vitaly Lipatov's small i18n fix
3612 2002-09-25 Angus Leeming <leeming@lyx.org>
3614 * ispell.h: doxygen fix.
3616 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3618 * buffer.h (readFile): Add a new argument to the method, to allow
3619 reading of old-format templates.
3621 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3623 * toc.C (getTocList): Get TOC from InsetWrap.
3625 2002-09-16 John Levon <levon@movementarian.org>
3627 * lyxfunc.C: check tabular for cut/copy too
3629 2002-09-12 John Levon <levon@movementarian.org>
3634 * factory.C: add header
3636 * paragraph_funcs.h:
3637 * paragraph_funcs.C: cleanup
3639 2002-09-11 John Levon <levon@movementarian.org>
3641 * PrinterParams.h: odd/even default to true
3643 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3645 * PrinterParams.h: update printer parameters for new xforms dialog
3647 2002-09-11 Angus Leeming <leeming@lyx.org>
3649 * lyxserver.C (read_ready): re-write to make it more transparent
3650 and to make it work in coherent fashion under Tru64 Unix.
3652 2002-09-11 André Pönitz <poenitz@gmx.net>
3656 * text3.C: implement LFUN_WORDSEL
3658 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3660 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3661 make floatlist_ a boost::shared_ptr<FloatList>
3663 * lyxtextclass.C: include FloatList.h
3664 (LyXTextClass): initialize floatlist_
3665 (TextClassTags): add TC_NOFLOAT
3666 (Read): match "nofloat" to TC_NOFLOAT and use it.
3667 (readFloat): modify call to floatlist_
3671 * FloatList.[Ch] (FloatList): remove commented out float
3673 (erase): new function
3675 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3677 * MenuBackend.C (expandToc): fix crash when there is no document
3680 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3682 * many files: Add insetwrap.
3684 2002-09-09 John Levon <levon@movementarian.org>
3686 * text2.C: remove confusing and awkward depth wraparound
3688 2002-09-09 John Levon <levon@movementarian.org>
3690 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3693 * buffer.C: remove getIncludeonlyList()
3696 * lyxfunc.C: remove headers
3698 2002-09-09 Juergen Vigna <jug@sad.it>
3700 * text.C (getColumnNearX): fix form Michael this is most
3701 probably a cut&paste bug.
3703 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3705 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3707 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3708 references, ws changes.
3710 * text2.C (init): update counters after init
3711 (insertParagraph): no need to set counter on idividual paragraphs.
3712 (setCounter): access the counters object in the textclass object
3713 on in the buffer object.
3714 (updateCounters): ditto
3716 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3717 shared_ptr<Counters> to avoid loading counters.h in all
3719 (LyXTextClass): initialize ctrs_
3720 (TextClassTags): add TC_COUNTER, and ...
3721 (Read): use it here.
3722 (CounterTags): new tags
3723 (readCounter): new function
3724 (counters): new funtion
3725 (defaultLayoutName): return a const reference
3727 * counters.C (Counters): remove contructor
3728 (newCounter): remove a couple of unneeded statements.
3729 (newCounter): simplify a bit.
3730 (numberLabel): some small formatting changes.
3732 * buffer.[Ch]: remove all traces of counters, move the Counters
3733 object to the LyXTextClass.
3735 2002-09-06 Alain Castera <castera@in2p3.fr>
3737 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3738 package to set the horizontal alignment on fixed width columns.
3741 * lyx_sty.h: added tabularnewline macro def.
3743 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3745 2002-09-06 John Levon <levon@movementarian.org>
3747 * LyXAction.C: tooltips for sub/superscript
3749 * MenuBackend.C: a bit more verbose
3751 * lyxfunc.C: tiny clean
3753 * undo_funcs.C: document undo_frozen
3755 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3757 * counters.C (Counters): add missing algorithm counter.
3759 * text2.C (setCounter): lookup the counter with layouts latexname
3760 instead of by section number.
3761 (setCounter): use a hackish way to lookup the correct enum
3763 a float name->type change
3764 reset enum couners with counter name directly instead of depth value.
3766 * counters.C (Counters): remove the push_backs, change to use the
3767 float type not the float name.
3768 (labelItem): remove unused string, float name->type change
3770 * counters.h: don't include vector, loose the enums and sects vectors
3772 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3775 (Read): add float->TC_FLOAT to textclassTags
3776 (Read): and handle it in the switch
3777 (readFloat): new function
3779 * FloatList.C (FloatList): comment out the hardcoded float
3782 * lyxlayout.h: ws change.
3784 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3786 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3788 2002-09-03 Angus Leeming <leeming@lyx.org>
3790 * BufferView_pimpl.h: qualified name is not allowed in member
3791 declaration: WorkArea & Pimpl::workarea() const;
3793 * factory.C: added using std::endl directive.
3795 * text3.C: added using std::find and std::vector directives.
3797 2002-08-29 André Pönitz <poenitz@gmx.net>
3800 * text2.C: remove unused member number_of_rows
3803 * BufferView2.C: remove file, move contents to...
3804 * BufferView.C: ... here
3806 * BufferView_pimpl.C:
3807 * factory.C: move more inset creation to factory
3809 * vspace.C: avoid direct usage of LyXText, ws changes
3812 don't provide direct access to WorkArea, use two simple
3813 acessors haveSelction() and workHeight() instead
3816 2002-08-29 John Levon <levon@movementarian.org>
3818 * BufferView_pimpl.C (dispatch): do not continue when
3821 2002-08-28 André Pönitz <poenitz@gmx.net>
3823 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3826 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3828 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3830 * buffer.C: increment LYX_FORMAT to 221
3832 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3833 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3835 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3837 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3839 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3841 * factory.C (createInset): use LyXTextClass::floats
3843 * MenuBackend.C (expandFloatListInsert):
3844 (expandFloatInsert):
3847 * text2.C (setCounter):
3849 * LaTeXFeatures.C (useFloat):
3850 (getFloatDefinitions):
3852 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3854 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3855 floatlist_, with accessor floats().
3857 * FloatList.h: remove global FloatList
3859 2002-08-26 André Pönitz <poenitz@gmx.net>
3861 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3865 * BufferView_pimpl.C:
3866 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3868 2002-08-25 John Levon <levon@movementarian.org>
3870 * LyXAction.C: fix margin note description
3872 2002-08-24 John Levon <levon@movementarian.org>
3876 * bufferview_funcs.C:
3878 * undo_funcs.C: cleanups
3880 * lyxfunc.C: disable CUT/COPY when no selection
3882 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3884 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3885 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3887 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3888 Add backward compatibility to "mono", "gray" and "no".
3890 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3892 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3893 (and file_format >= 200).
3895 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3897 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3899 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3901 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3903 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3905 * BufferView_pimpl.C:
3912 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3913 inset and code to make it work with the paragraph code. The inset
3914 can be anywhere in the paragraph, but will only do the expected
3915 thing in LaTeX if the layout file contains the parameter line
3917 (or more generally, a nonzero value) for that layout.
3919 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3921 * paragraph.h: remove the declaration of undefined counters class
3924 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3926 * text2.C (setCounter): fixed enumeration mis-count as reported by
3927 Dr. Richard Hawkins.
3929 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3931 * paragraph_funcs.h: remove some unneeded includes
3933 * text.C (backspace): pasteParagraph now in global scipe
3935 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3936 (pasteSelection): ditto
3938 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3939 * paragraph_funcs.C (pasteParagraph): ... here
3941 2002-08-20 André Pönitz <poenitz@gmx.net>
3943 * commandtags.h: new LFUNs for swapping/copying table row/colums
3946 * lyxfunc.C: support for new lfuns
3948 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3951 * buffer.[Ch]: remove NO_COMPABILITY stuff
3953 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * boost.C (throw_exception): new file, with helper function for
3956 boost compiled without exceptions.
3961 * ParameterStruct.h:
3962 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3964 * bufferlist.C (emergencyWriteAll): use boost bind
3966 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3968 * text.C: include paragraph_funcs.h
3969 (breakParagraph): breakParagraph is now in global scope
3971 * paragraph_funcs.[Ch]: new files
3973 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3976 * buffer.C: include paragraph_funcs.h
3977 (insertStringAsLines): breakParagraph is now in global scope
3979 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3982 * CutAndPaste.C: include paragraph_funcs.h
3983 (cutSelection): breakParagraphConservative is now in global scope
3984 (pasteSelection): ditto
3986 * buffer.h: declare oprator== and operator!= for
3987 Buffer::inset_iterator
3989 * bufferlist.C (emergencyWrite): don't use fmt(...)
3991 * text3.C: add using std::endl
3993 * BufferView.C (moveCursorUpdate): remove default arg
3995 2002-08-20 André Pönitz <poenitz@gmx.net>
3997 * buffer.[Ch]: move inline functions to .C
4000 * BufferView_pimpl.C:
4002 * buffer.[Ch]: use improved inset_iterator
4005 * paragraph.[Ch]: write one paragraph at a time
4007 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4009 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4010 style if style is not specified.
4012 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4014 * text2.C (setCounter): when searching for right label for a
4015 caption, make sure to recurse to parent insets (so that a caption
4016 in a minipage in a figure float works) (bug #568)
4018 2002-08-20 André Pönitz <poenitz@gmx.net>
4020 * text3.C: new file for LyXText::dispatch() and helpers
4022 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4024 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4026 2002-08-19 André Pönitz <poenitz@gmx.net>
4029 * text.C: new LyXText::dispatch()
4031 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4033 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4035 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4037 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4040 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4042 * Makefile.am: use $(variables) instead of @substitutions@
4044 2002-08-15 André Pönitz <poenitz@gmx.net>
4047 * BufferView_pimpl.C: streamlining mathed <-> outer world
4051 * LyXAction.C: remove unused LFUN_MATH
4053 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4057 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4059 * paragraph.C (Paragraph): reformat a bit
4060 (cutIntoMinibuffer): use builtin InsetList function instad of
4064 * buffer.C: include boost/bind.hpp, add using std::for_each
4065 (writeFileAscii): use ParagraphList iterators
4066 (validate): use for_each for validate traversal of paragraphs
4067 (getBibkeyList): use ParagraphList iterators
4068 (resizeInsets): use for_each to resizeInsetsLyXText for all
4070 (getParFromID): use ParagraphList iterators
4072 * BufferView2.C (lockInset): use paragraph list and iterators
4074 2002-08-14 John Levon <levon@movementarian.org>
4076 * lyxserver.C: remove spurious xforms include
4078 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4080 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4082 2002-08-13 André Pönitz <poenitz@gmx.net>
4085 * lyxfunc.C: further cleaning
4087 2002-08-13 André Pönitz <poenitz@gmx.net>
4089 * funcrequest.h: new constructor
4091 * funcrequest.C: move stuff here from .h
4094 * BufferView_pimpl.C:
4097 * lyxfunc.C: subsequent changes
4099 * lyxfunc.h: new view() member function
4101 * lyxfunc.C: subsequent changes
4103 2002-08-13 Angus Leeming <leeming@lyx.org>
4106 * BufferView_pimpl.C:
4114 changes due to the changed LyXView interface that now returns references
4115 to member variables not pointers.
4117 2002-08-13 Angus Leeming <leeming@lyx.org>
4119 * WordLangTuple (word, lang_code): return references to strings,
4124 * lyxtext.h: forward-declare WordLangTuple.
4129 * text.C: #include "WordLangTuple.h".
4132 * text.C: (selectNextWordToSpellcheck): constify return type.
4134 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4140 * paragraph_pimpl.h:
4143 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4145 Made updateCounter always count from start of buffer, and removed
4146 second argument (par).
4147 Reverted floats number display to '#'. Perhaps I'll try again when the
4148 code base is sanitized a bit.
4150 2002-08-12 Angus Leeming <leeming@lyx.org>
4152 * buffer.[Ch] (getLabelList): constify.
4154 2002-08-07 André Pönitz <poenitz@gmx.net>
4156 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4158 * funcrequest.h: extension to keep mouse (x,y) position
4160 2002-08-12 Juergen Vigna <jug@sad.it>
4162 * BufferView2.C (insertErrors): forbid undo when inserting error
4165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4167 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * ParagraphList.[Ch]: new files
4171 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4173 * BufferView2.C (lockInset): ParagraphList changes
4176 * bufferlist.C: ditto
4180 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4182 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4183 unused class variable counter_,
4185 * paragraph.[Ch] (getFirstCounter): delete unused function
4187 * counters.C: include LAssert.h
4188 (reset): add a new function with no arg, change other version to
4189 not have def. arg and to not allow empty arg.
4191 * text2.C (setCounter): remove empty arg from call to Counters::reset
4193 2002-08-11 John Levon <levon@movementarian.org>
4195 * Makefile.am: add WordLangTuple.h
4197 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4200 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4202 * insets/insettext.C: InsetList changes
4204 * graphics/GraphicsSupport.C (operator()): InsetList changes
4206 * toc.C (getTocList): InsetList changes
4208 * paragraph_pimpl.[Ch]: InsetList changes
4210 * paragraph.[Ch]: InsetList changes
4212 * buffer.C (inset_iterator): InsetList changes
4213 (setParagraph): ditto
4214 * buffer.h (inset_iterator): ditto
4215 * iterators.C (operator++): ditto
4216 * iterators.h: ditto
4218 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4220 * InsetList.[Ch]: new files, most InsetList handling moved out of
4223 * BufferView2.C (removeAutoInsets): InsetList changes
4225 (ChangeInsets): ditto
4227 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4229 * paragraph_pimpl.h (empty): new function
4231 * paragraph.[Ch] (empty): new function
4233 * other files: use the new Paragraph::empty function
4235 2002-08-09 John Levon <levon@movementarian.org>
4237 * lyxtext.h: remove unused refresh_height
4239 2002-08-09 John Levon <levon@movementarian.org>
4246 * paragraph.C: move sgml char escaping out of paragraph
4249 * paragraph.C: remove id setter
4253 * paragraph_pimpl.C: remove dead tex_code_break_column
4255 * bufferview_funcs.C: small cleanup
4257 * lyxfunc.C: remove dead proto
4259 * lyxtext.h: make some stuff private. Remove some dead stuff.
4261 * lyxgluelength.C: make as[LyX]String() readable
4263 2002-08-08 John Levon <levon@movementarian.org>
4268 * ToolbarDefaults.C:
4271 * toc.C: lyxaction cleanup
4273 2002-08-08 John Levon <levon@movementarian.org>
4275 * BufferView2.C: small cleanup
4278 * lyxfind.C: move unnecessary header into the .C
4280 2002-08-08 John Levon <levon@movementarian.org>
4282 * funcrequest.h: just tedious nonsense
4285 * lyx_main.C: cleanups
4288 * vspace.C: remove dead header lyx_main.h
4290 2002-08-07 Angus Leeming <leeming@lyx.org>
4293 * paragraph_pimpl.h:
4294 Forward declare class Counters in paragraph.h by moving the ctrs member
4295 variable into Paragraph::Pimpl.
4296 (counters): new method, returning a reference to pimpl_->ctrs.
4298 * text2.C: ensuing changes.
4300 2002-08-07 John Levon <levon@movementarian.org>
4302 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4304 * BufferView_pimpl.C: announce X selection on double/triple
4307 * lyx_main.C: use correct bool in batch dispatch
4309 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4311 2002-08-07 André Pönitz <poenitz@gmx.net>
4313 * funcrequest.h: new class to wrap a kb_action and its argument
4316 * BufferView_pimpl[Ch]:
4320 * lyxrc.C: subsequent changes
4323 2002-08-07 John Levon <levon@movementarian.org>
4325 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4326 document options change.
4328 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4333 * makefile.am: move counters functionality over from
4334 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4336 2002-08-06 John Levon <levon@movementarian.org>
4338 * WordLangTuple.h: new file for word + language code tuple
4349 * BufferView2.C: use WordLangTuple
4352 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4354 2002-08-06 John Levon <levon@movementarian.org>
4356 * lyx_main.C: fix cmdline batch handling
4358 2002-08-06 André Pönitz <poenitz@gmx.net>
4360 * lyxrc.C: set default for show_banner to true
4362 2002-08-06 John Levon <levon@movementarian.org>
4364 * pspell.C: fix a crash, and allow new aspell to work
4366 2002-08-06 John Levon <levon@movementarian.org>
4369 * kbmap.C: small cleanup
4372 * vspace.C: add const
4374 2002-08-05 John Levon <levon@movementarian.org>
4376 * LyXAction.C: back to tabular-insert
4378 2002-08-04 John Levon <levon@movementarian.org>
4381 * BufferView.C: cosmetic change
4383 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4393 * BufferView2.C: purge all "Lyx" not "LyX" strings
4396 * lyxcursor.C: attempt to add some documentation
4401 * ToolbarDefaults.C:
4402 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4403 merge with LFUN_TABULAR_INSERT
4410 * pspell.C: split up i/pspell implementations into separate
4411 files, many cleanups
4413 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4415 * text2.C: some cleanup
4417 * lyxfunc.C: don't check for isp_command == "none" any more, it
4418 didn't make any sense
4420 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4425 * makefile.am: move counters functionality over
4426 from text2.C/paragraph.[Ch] to counters.[Ch], and
4428 2002-08-02 John Levon <levon@movementarian.org>
4430 * buffer.C: s/lyxconvert/lyx2lyx/
4432 2002-08-02 Angus Leeming <leeming@lyx.org>
4434 * lyxlex.C: revert John's change as it breaks reading of the user
4437 2002-08-02 Angus Leeming <leeming@lyx.org>
4439 * importer.C (Import):
4440 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4441 changes due to LyXView::view() now returning a boost::shared_ptr.
4443 2002-08-02 John Levon <levon@movementarian.org>
4445 * lyxlex.C: small cleanup
4447 2002-08-02 John Levon <levon@movementarian.org>
4449 * text2.C (status): small cleanup, no logic change
4451 2002-08-01 John Levon <levon@movementarian.org>
4454 * buffer.C (writeFile): don't output alerts, caller
4458 * lyx_cb.C: from above
4460 * lyxfunc.C: allow to open non-existent files
4462 2002-07-31 John Levon <levon@movementarian.org>
4464 * lyxserver.C: don't let incidental errors get
4467 2002-07-30 John Levon <levon@movementarian.org>
4469 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4471 2002-07-30 John Levon <levon@movementarian.org>
4474 * lyxserver.C: remove I/O callback too
4476 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4478 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4481 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4483 * many files: strip,frontStrip -> trim,ltrim,rtrim
4485 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4487 * PrinterParams.h: remove extern containsOnly, and include
4488 support/lstrings.h instead.
4490 * LaTeX.C (scanAuxFile): modify because of strip changes
4492 * buffer.C (makeLaTeXFile): ditto
4493 * bufferparams.C (writeFile): ditt
4494 * lyxfont.C (stateText): ditto
4495 * lyxserver.C (read_ready): ditto
4496 * vc-backend.C (scanMaster): ditto
4498 * BufferView_pimpl.h: ws changes
4500 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4502 2002-07-26 André Pönitz <poenitz@gmx.net>
4504 * kb_sequence.C: remove unnedred usings
4506 2002-07-26 Juergen Vigna <jug@sad.it>
4508 * lyxfind.C (LyXReplace): we have to check better if the returned
4509 text is not of theLockingInset()->getLockingInset().
4511 2002-07-25 Juergen Vigna <jug@sad.it>
4513 * lyxfind.C (LyXReplace): don't replace if we don't get the
4516 * undo_funcs.C (createUndo): remove debugging code.
4518 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4520 * buffer.C (parseSingleLyXformat2Token): Use default placement
4521 when reading old floats.
4523 * FloatList.C (FloatList): Change the default placement of figure
4524 and tables to "tbp".
4526 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4528 * MenuBackend.C: using std::max
4530 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4532 * MenuBackend.C (expandToc):
4533 (expandToc2): code moved from xforms menu frontend. It is now
4534 generic and TOCs are transparent to menu frontends.
4536 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4538 * toc.C (getTocList): protect against buf=0
4540 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4541 Menu as first parameter. Now, this calls itself recursively to
4542 expand a whole tree (this will be useful for TOC handling)
4543 (expandFloatInsert): remove 'wide' version of floats
4545 * MenuBackend.h (submenuname): returns the name of the submenu.
4546 (submenu): returns the submenu itself, provided it has been
4547 created by MenuBackend::expand
4549 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4551 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4552 insets which have noFontChange == true. (bug #172)
4554 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4556 * BufferView_pimpl.C: add connection objects and use them...
4559 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4561 * MenuBackend.C (expandLastfiles):
4564 (expandFloatListInsert):
4565 (expandFloatInsert):
4566 (expand): split expand in parts
4568 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4570 * lyx_gui.C: use lyx_gui::exit()
4572 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4574 * LyXAction.C: show the failing pseudo action
4576 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4578 * buffer.C (readFile): Run the lyxconvert script in order to read
4581 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4585 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4587 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4591 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4593 2002-07-22 Herbert Voss <voss@lyx.org>
4596 * lyxlength.[Ch]: add support for the vertical lengths
4598 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4600 * toc.[Ch]: std:: fixes
4602 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4604 * lyxrc.C: do not include lyx_main.h
4606 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4612 * BufferView2.C: include "lyxlex.h"
4615 * bufferparams.h: do not #include "lyxlex.h"
4617 * lyxtextclasslist.C (Add): remove method
4618 (classlist): renamed to classlist_
4620 * paragraph_pimpl.C:
4624 * bufferview_funcs.C:
4629 * toc.C (getTocList): use BufferParams::getLyXTextClass
4631 * toc.C (getTocList): use InsetFloat::addToToc
4633 * toc.[Ch]: new files, containing helper functions to handle table
4636 * lyxfunc.C (dispatch): no need to remove spaces around command
4638 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4639 first command of the sequence; it is not very clever, but I do not
4640 have a better idea, actually
4642 * LyXAction.C (LookupFunc): make sure to remove space at the
4643 beginning and end of the command
4645 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4647 * MenuBackend.C (getMenubar): new method: return the menubar of
4649 (read): treat differently reading of menu and menubar (in
4650 particular, the menubar has no name now)
4651 (Menu::menubar): remove
4653 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4656 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4658 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4659 a bibitem inset in a RTL paragraph.
4661 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4663 * paragraph_pimpl.C: constify
4665 * BufferView_pimpl.C:
4667 * lyxfunc.C: fix dispatch in a nicer way
4669 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4671 * lyxfunc.C (dispatch):
4672 * BufferView_pimpl.C:
4673 * BufferView_pimpl.h:
4675 * BufferView.h: rename Dispatch() to dispatch()
4677 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4679 * lyxlayout.C (Read): honor DependsOn tag
4681 * lyxlayout.[Ch] (depends_on): new method
4683 * version.C.in: update lyx_docversion
4685 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4687 * paragraph.C (validate): remove from here...
4688 * paragraph_pimpl.C (validate): ... and move here
4689 (isTextAt): make it const
4691 * buffer.C (getLists): ws cleanup
4693 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4695 * language.C (read): Use iso8859-1 encoding in latex_lang
4696 (this prevents LyX from crashing when using iso10646-1 encoding).
4698 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4700 * text2.C (toggleInset): if cursor is inside an inset, close the
4701 inset and leave cursor _after_ it
4703 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4705 * lyxfunc.C: move minibuffer completion handling out of here
4707 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4709 * BufferView_pimpl.C:
4710 * LaTeX.C: fix dispatch calls
4712 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4714 * text.C (drawChars): Fix Arabic text rendering.
4716 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4720 * lyxfunc.C: remove message-push/pop
4724 * lyxfunc.C: rationalise some code by removing verboseDispatch
4725 in favour of a bool argument to dispatch()
4727 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4729 * lyx_main.C (init): make sure to read symlinks as absolute paths
4731 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4734 * lyxfunc.C: no need for commandshortcut to be a member
4736 2002-07-15 André Pönitz <poenitz@gmx.net>
4738 * converter.C: add support for $$s (scripts from lib/scripts dir)
4739 * lyx_main.C: white space
4741 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4745 * lyxrc.C: remove second exit confirmation
4747 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4752 * BufferView_pimpl.h:
4753 * BufferView_pimpl.C:
4754 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4756 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4758 * MenuBackend.C (expand): add numeric shortcuts to document menu
4760 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4762 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4764 * lyxfont.C (setLyXFamily):
4771 * buffer.C (asciiParagraph): use ascii_lowercase
4773 2002-07-15 Mike Fabian <mfabian@suse.de>
4775 * lyxlex_pimpl.C (search_kw):
4776 * lyxlex.C (getLongString):
4777 * converter.h (operator<):
4778 * converter.C (operator<):
4779 * buffer.C (parseSingleLyXformat2Token):
4781 * ToolbarDefaults.C (read):
4782 * MenuBackend.C (checkShortcuts):
4784 * LColor.C (getFromGUIName):
4785 (getFromLyXName): use the compare_ascii_no_case instead of
4786 compare_no_case, because in turkish, 'i' is not the lowercase
4787 version of 'I', and thus turkish locale breaks parsing of tags.
4789 2002-07-16 Angus Leeming <leeming@lyx.org>
4791 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4792 now takes a Buffer const & argument.
4794 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4796 * BufferView.C (resize): check there's a buffer to resize
4798 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4800 * lyxfunc.C: remove dead code
4803 * lyxserver.C: use lyx_guii::set_read_callback
4805 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4807 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4808 an inset in a RTL paragraph.
4810 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4812 * lyxfunc.C: repaint after a font size update
4814 2002-07-15 André Pönitz <poenitz@gmx.net>
4816 * lyxlength.C: inBP should be able to return negative values
4818 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4820 * lyxfunc.C: use lyx_gui::update_fonts()
4822 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4824 * lyxfunc.C: use lyx_gui::update_color()
4826 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4832 * lyxrc.C: remove file->new asks for name option, and let
4833 buffer-new take an argument
4835 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4837 * BufferView_pimpl.C: remove unneeded extra repaint()
4839 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4841 * LyXAction.C: allow command-sequence with NoBuffer
4843 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4845 2002-07-10 Angus Leeming <leeming@lyx.org>
4847 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4849 2002-07-09 Angus Leeming <leeming@lyx.org>
4851 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4853 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4855 * lengthcommon.h: whitespace
4857 * lyxfunc.C: update scrollbar after goto paragraph
4859 * lyxtext.h: factor out page break drawing, and fix it so
4860 page break/added space paints as selected nicely
4862 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4864 * BufferView_pimpl.C: add FIXMEs, clean up a little
4866 2002-07-09 André Pönitz <poenitz@gmx.net>
4868 * lyxfont.[Ch]: support for wasy symbols
4870 2002-07-08 André Pönitz <poenitz@gmx.net>
4872 * BufferView_pimpl.C: apply John's patch for #93.
4874 2002-07-05 Angus Leeming <leeming@lyx.org>
4876 * BufferView_pimpl.C (buffer): generate previews if desired.
4878 * LColor.h: add "preview" to the color enum.
4880 * LColor.C (LColor): add a corresponding entry to the items array.
4882 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4885 2002-07-05 Angus Leeming <leeming@lyx.org>
4887 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4888 The body of the code is now in the method that is passed an ostream &
4889 rather than a file name.
4890 Pass an additional only_preamble parameter, useful for the forthcoming
4893 2002-07-03 André Pönitz <poenitz@gmx.net>
4895 * lyxfunc.C: simplify getStatus() a bit for math stuff
4897 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4899 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4901 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4903 * text.C (changeRegionCase): do not change case of all the
4904 document when region ends at paragraph end (bug #461)
4906 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4908 * paragraph.C (startTeXParParams):
4909 (endTeXParParams): add \protect when necessary
4911 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4913 * BufferView_pimpl.C (workAreaExpose): remove warning
4915 2002-06-27 Angus Leeming <leeming@lyx.org>
4917 * Makefile.am: add lyxlayout_ptr_fwd.h.
4919 2002-06-26 André Pönitz <poenitz@gmx.net>
4921 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4923 2002-06-25 Angus Leeming <leeming@lyx.org>
4925 * lyxfunc.C (dispatch): Comment out the call to
4926 grfx::GCache::changeDisplay. The method no longer exists now that the
4927 pixmap generation part of the graphics loader has been moved into
4930 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4932 * text2.C: layout as layout
4934 * text.C: layout as layout
4936 * tabular.C (OldFormatRead): layout as layout
4938 * paragraph_pimpl.C (TeXDeeper): layout as layout
4939 (realizeFont): layout as layout
4941 * paragraph.C (writeFile): layout as layout
4942 (validate): layout as layout
4943 (getFont): layout as layout
4944 (getLabelFont): layout as layout
4945 (getLayoutFont): layout as layout
4946 (breakParagraph): layout as layout
4947 (stripLeadingSpaces): layout as layout
4948 (getEndLabel): layout as layout
4949 (getMaxDepthAfter): layout as layout
4950 (applyLayout): layout as layout
4951 (TeXOnePar): layout as layout
4952 (simpleTeXOnePar): layout as layout
4953 (TeXEnvironment): layout as layout
4954 (layout): layout as layout
4955 (layout): layout as layout
4957 * lyxtextclass.C (compare_name): new functor to work with
4958 shared_ptr, layout as layout
4959 (Read): layout as layout
4960 (hasLayout): layout as layout
4961 (operator): layout as layout
4962 (delete_layout): layout as layout
4963 (defaultLayout): layout as layout
4965 * lyxlayout_ptr_fwd.h: new file
4967 * lyxlayout.C (Read): layout as layout
4969 * lyx_cb.C (MenuInsertLabel): layout as layout
4971 * bufferlist.C (newFile): layout as layout
4973 * buffer.C (readLyXformat2): layout as layout
4974 (parseSingleLyXformat2Token): layout as layout
4975 (insertStringAsLines): layout as layout
4976 (asciiParagraph): layout as layout
4977 (latexParagraphs): layout as layout
4978 (makeLinuxDocFile): layout as layout
4979 (simpleLinuxDocOnePar): layout as layout
4980 (makeDocBookFile): layout as layout
4981 (simpleDocBookOnePar): layout as layout
4982 (getLists): layout as layout
4984 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4986 * CutAndPaste.C (cutSelection): layout as layout
4987 (pasteSelection): layout as layout
4988 (SwitchLayoutsBetweenClasses): layout as layout
4990 * BufferView_pimpl.C (Dispatch): layout as layout
4991 (smartQuote): layout as layout
4993 * BufferView2.C (unlockInset): layout as layout
4995 2002-06-24 André Pönitz <poenitz@gmx.net>
4997 * lyxfunc.C: fix #487
4999 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5003 * lyxfunc.C: remove display_shortcuts, show_banner
5005 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5007 * Buffer_pimpl.C: oops, update on resize
5009 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5016 * BufferView.C: use repaint()
5018 * BufferView_pimpl.h:
5019 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5020 as it's a clearer description. Remove superfluous
5023 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5025 * text.C: fix bug 488. Not ideal, but getting
5026 getWord() to work properly for the insets that
5027 matter is more difficult ...
5029 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5031 * BufferView_pimpl.C:
5034 * lyxfunc.C: remove the six million index lyxfuncs to just
5035 one, and DTRT (bug 458)
5037 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5041 * BufferView_pimpl.h:
5042 * BufferView_pimpl.C: clean up resize() stuff,
5043 and unnecessary updateScreen()s
5045 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5049 * BufferView_pimpl.h:
5050 * BufferView_pimpl.C:
5053 * minibuffer.C: remove focus management of workarea,
5054 not needed. Use screen's greyOut()
5056 2002-06-17 Herbert Voss <voss@lyx.org>
5058 * converter.C: (convert) do not post a message, when converting
5059 fails, let the calling function decide what to do in this case
5061 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5063 * lyxfunc.C: tidy up a little
5065 2002-06-16 <alstrup@diku.dk>
5067 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5068 Got rid of FORMS_H_LOCATION include. Now we are
5071 2002-06-15 LyX Development team <lyx@rilke>
5073 * buffer.[Ch] (sgmlOpenTag):
5074 (sgmlCloseTag): Added support for avoiding pernicious mixed
5075 content. Return number of lines written.
5078 (makeDocBookFile): Fixed calls to sgml*Tag.
5079 Simple white space clean.
5081 (simpleDocBookOnePar): Simple white space clean.
5083 * tabular.[Ch] (docBook): Renamed to docbook and got another
5084 argument to related with the pernicious mixed content.
5086 (docbookRow): Fixed calls for docbook inset method.
5088 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5090 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5091 so it's X11 independent.
5095 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5097 2002-06-15 Lyx Development team <lyx@electronia>
5099 * intl.h: Renamed getTrans to getTransManager.
5101 2002-06-14 Angus Leeming <leeming@lyx.org>
5103 * Makefile.am: nuke forgotten stl_string_fwd.h.
5105 2002-06-12 Angus Leeming <leeming@lyx.org>
5107 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5109 2002-06-13 Angus Leeming <leeming@lyx.org>
5112 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5114 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5116 * kbmap.C (getiso): add support for cyrillic and greek
5118 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5122 * BufferView_pimpl.h:
5123 * BufferView_pimpl.C: move bogus scrolling logic
5126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5129 * BufferView_pimpl.C: view->resize() change
5131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5133 * BufferView_pimpl.C: topCursorVisible
5136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5140 * lyx_gui.C: move to frontends/
5144 * lyx_main.C: changes from above
5146 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5153 * lyx_main.C: minor tidy
5155 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5157 * BufferView_pimpl.h:
5158 * BufferView_pimpl.C:
5160 * BufferView.C: make painter() const,
5163 * BufferView2.C: use screen() accessor
5166 * lyx_main.C: some minor cleanup
5168 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5170 * BufferView_pimpl.h:
5171 * BufferView_pimpl.C: remove enter/leaveView,
5174 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5179 * BufferView_pimpl.h:
5180 * BufferView_pimpl.C: only construct screen once,
5183 * lyxrc.C: remove pointless comment
5185 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5188 * BufferView.C: remove active() and belowMouse()
5190 * BufferView_pimpl.h:
5191 * BufferView_pimpl.C: use workarea() not workarea_,
5192 and make it use a scoped_ptr instead
5194 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5196 * lyx_gui.C: add debug message on BadWindow
5198 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5200 * sp_spell.C: fdopen is not part of the C++ standard.
5202 * paragraph.C (InsetIterator): use >= instead of ==
5204 2002-06-07 Angus Leeming <leeming@lyx.org>
5206 Fixes needed to compile with Compaq cxx 6.5.
5207 * BufferView_pimpl.C:
5214 * lyxtextclasslist.C:
5219 all c-library variables have been moved into namespace std. Wrap
5220 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5225 Add a using std::abs declaration.
5227 * kbmap.h (modifier_pair):
5228 * paragraph.h (InsetTable, InsetList):
5229 * lyxfont.h (FontBits):
5230 type definition made public.
5232 * bufferlist.C (emergencyWriteAll): the compiler complains that
5233 there is more than one possible lyx::class_fun template to choose from.
5234 I re-named the void specialisation as lyx::void_class_fun.
5236 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5238 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5239 the compiler is is unable to find tostr in write_attribute.
5241 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5243 * buffer.C (sgmlError): hide #warning
5245 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5247 * xtl/*: get rid of xtl, which is not in use anyway
5249 * LyXAction.C (init):
5250 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5251 were unimplemented xtl experimentation
5253 2002-06-04 André Pönitz <poenitz@gmx.net>
5255 * lyxfunc.C: disable array operation on simple formulae
5257 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5259 * converter.C: constify a bit
5261 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5263 * lyx_gui.C: check xforms version correctly
5265 2002-04-30 Herbert Voss <voss@lyx.org>
5267 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5270 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5272 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5273 attempt to register it with a VCS)
5275 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5277 * lyx_main.C (init): honor variables LYX_DIR_13x and
5280 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5284 * lyx_main.C: fix a crash on bad command line,
5285 and give a useful exit status on error
5287 * lyxfunc.C (doImport): allow -i lyx to work
5289 2002-03-30 André Pönitz <poenitz@gmx.net>
5291 * lyxfunc.C: mathed font changes
5293 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5308 * trans_mgr.h: srcdocs, and some minor cleanups
5310 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5312 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5313 call getFont all the time)
5315 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5317 * switch from SigC signals to boost::signals
5319 2002-05-29 André Pönitz <poenitz@gmx.net>
5321 * paragraph_pimpl.C (getChar): don't call size() too often...
5323 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5325 * paragraph_pimpl.C (insertChar): do not try to update tables when
5326 appending (pos == size())
5328 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5329 in order to reduce drastically the number of comparisons needed to
5330 parse a large document
5332 2002-05-29 André Pönitz <poenitz@gmx.net>
5338 * textclasslist.[Ch]:
5339 * sp_ispell.h: whitespace change
5341 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5343 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5344 lyxaction directly now.
5346 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5350 * lyxvc.C: remove unused headers
5352 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5359 * undo_funcs.C: some cleanups. Use shared_ptr
5360 and a template for the undo stacks.
5362 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5364 * BufferView_pimpl.h:
5365 * BufferView_pimpl.C:
5372 * text2.C: use key_state/mouse_state
5374 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5376 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5379 * chset.C: change include order
5380 (loadFile): use boost regex and get rid of LRegex and LSubstring
5382 * Makefile.am (BOOST_LIBS): new variable
5385 * LaTeX.C: change include order.
5386 (scanAuxFile): use boost regex and get rid of LRegex and
5390 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5395 * FontInfo.C: moved to frontends/xforms/
5398 * FontLoader.C: moved into frontends for GUIIzation
5403 * lyxfunc.C: changes from above
5405 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5407 * LColor.C: remove spurious X include
5409 * BufferView_pimpl.C:
5414 * text2.C: move font metrics to frontends/
5416 2002-05-24 Juergen Vigna <jug@sad.it>
5418 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5419 setting the undo_cursor.
5421 * ParagraphParameters.h: include local includes first.
5423 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5425 * BufferView_pimpl.C:
5426 * BufferView_pimpl.h:
5430 * screen.C: move WorkArea into frontends/
5436 * BufferView2.C: move LyXScreen into frontends/
5440 * lyx_gui.C: move lyxlookup into frontends/xforms/
5442 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5445 * BufferView_pimpl.C:
5455 * bufferview_funcs.C:
5468 * vc-backend.C: move LyX/XFormsView into frontends/
5470 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5482 * text2.C: move Painter to frontends/
5484 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5486 * buffer.C: comment out some some code that depend upon lyx_format
5489 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5490 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5492 * buffer.h (NO_COMPABILITY): turn off compability
5494 * ColorHandler.C: include scoped_array.hpp
5496 * font.C: Use more specific smart_ptr header.
5499 * ShareContainer.h: ditto
5503 * BufferView_pimpl.h: ditto
5504 * ColorHandler.h: ditto
5506 * kbmap.C (defkey): change call to shared_ptr::reset
5508 2002-05-21 Juergen Vigna <jug@sad.it>
5510 * buffer.C (insertErtContents): fix to insert ert asis if it is
5511 non empty. Skip it completely if it contains only whitespaces.
5513 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5515 * BufferView_pimpl.C:
5516 * BufferView2.C: clear selection on paste (bug 393)
5518 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5520 * DepTable.C: include ctime
5522 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5524 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5526 2002-05-14 Juergen Vigna <jug@sad.it>
5528 * text.C (breakParagraph): fixed function to honor the keepempty
5529 layout in the right maner and also to permit the right breaking
5530 algorithm on empty or non empyt keepempty paragraphs.
5532 * paragraph.C (breakParagraph): we have to check also if the par
5533 is really empty (!size()) for isempty otherwise we do the wrong
5536 2002-05-10 Juergen Vigna <jug@sad.it>
5538 * buffer.[Ch] : The following are only changes to the ert
5539 compatibility read reading old LaTeX layout and font stuff and
5540 convert it to ERTInsets.
5542 * buffer.h: added isErtInset().
5544 * buffer.C (struct ErtComp): add a fromlayout bool to check
5545 if we're inside a LaTeX layout.
5546 (isErtInset): new helper function.
5547 (insertErtContents): look for other ert insets before this one
5548 and insert the contents there, so that we don't have subsequent
5549 ERT insets with nothing between them. This way we create only one
5550 inset with multiple paragraphs. Also check if we don't insert only
5551 spaces ' ' as they are ignored anyway afterwards in the .tex file
5552 so if we have only spaces we will ignore this latex part in the
5554 (parseSingleLyXformat2Token \\layout): better compatibility when
5555 reading layout-latex stuff.
5556 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5558 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5559 stuff after reading the inset only get the information back from
5562 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5564 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5566 * LaTeXFeatures.C (getBabelOptions): New method.
5568 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5570 * BufferView_pimpl.C (Dispatch): work around missing argument for
5573 2002-05-08 Juergen Vigna <jug@sad.it>
5575 * text.C (leftMargin): handle paragraph leftindent.
5577 * paragraph.C (writeFile): write the new \\leftindent tag.
5578 (validate): handle leftindent code.
5579 (TeXEnvironment): handle paragraphleftindent code again.
5581 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5583 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5584 for paragrap_extra indent code and new token \\leftindent.
5585 (latexParagraphs): handle the leftindent as environment.
5587 * ParameterStruct.h: added leftindent support.
5589 * ParagraphParameters.C (leftIndent): added support functions for
5590 the paragraph left indent.
5592 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5595 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5597 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5600 * text.C (computeBidiTables): No bidi in insetERT.
5602 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5605 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5607 * version.C.in: pre 5
5609 2002-05-02 José Matos <jamatos@fep.up.pt>
5610 * buffer.C (makeDocBookFile): white space changes, add newline to
5612 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5614 * tabular.C (docBook): fix typo.
5616 2002-05-03 Juergen Vigna <jug@sad.it>
5618 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5619 change in LyXText as we can not be sure it was not freed.
5620 (drawOneRow): remove unused code.
5622 * text.C (drawInset): redo the calculation of the need_break_row as
5623 it could have a row which was already freed.
5624 (draw): look at the return value of drawInset and return false if
5625 it also returned false.
5626 (paintRowText): look at the return value of draw and return false if
5627 it also returned false.
5629 * lyxtext.h: added bool return type to drawInset() and draw() so that
5630 if we have a change in the row so that the rowbreak has to be redone
5631 we abort drawing as it will be called again.
5633 2002-05-02 Juergen Vigna <jug@sad.it>
5635 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5636 a change in the maintext also if we're inside an inset.
5637 (Dispatch): set the cursor again after a break line and after the
5638 screen has been updated as it could be we're in a different row.
5640 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5641 to set the cursor behind the pargraph with > size().
5642 (setCursor): check also for the same paragraph when checking where
5643 to put the cursor if we have a NFR inset.
5645 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5646 parts of layout read further up as it still was in the wrong
5649 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5651 * screen.C (drawFromTo): change sine fullRebreak always return
5654 * buffer.C (parseSingleLyXformat2Token): reindent some
5656 * BufferView_pimpl.C (update): change since fullRebreak always
5658 (Dispatch): git rid of the last hardcoded "Standard"s.
5660 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5662 * text2.[Ch] (fullRebreak): make it return void now that we always
5665 2002-04-30 Juergen Vigna <jug@sad.it>
5667 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5668 ert compatibility check for "latex" layout.
5670 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5672 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5673 minipages: use col% instead of p%, and also use the current font.
5674 (makeLaTeXFile): Fix use babel condition.
5675 (parseSingleLyXformat2Token): Correct font when reading old floats.
5677 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5679 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5680 inserting list of floats.
5682 2002-04-25 Herbert Voss <voss@lyx.org>
5684 * MenuBackend.C (expand): don't add the graphics extensions to the
5687 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5689 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5690 non-existing layout, do not complain if it was the default layout
5691 of the original class (bug #342)
5693 2002-04-24 Juergen Vigna <jug@sad.it>
5695 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5696 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5698 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5700 * buffer.C (getBibkeyList): If using \bibliography, return the
5701 option field with the reference itself. Enables us to provide natbib
5702 support when using \bibliography.
5704 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5706 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5708 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5709 natbib is provided by the LaTeX class.
5711 2002-04-23 Juergen Vigna <jug@sad.it>
5713 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5716 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5718 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5720 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5722 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5723 ensuremath around textordmasculine, textordfeminine and
5726 2002-04-19 Juergen Vigna <jug@sad.it>
5728 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5729 reinitializing the buffer otherwise row-dimensions may be wrong.
5730 (update): reset also the selection cursors if they do exits otherwise
5731 their x/y positions may be wrong.
5733 * text2.C (cursorDown): don't enter the inset if we came from a row
5734 above and are one row over the inset.
5736 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5737 really leaving an inset.
5739 2002-04-18 Juergen Vigna <jug@sad.it>
5741 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5742 of the selected paragraph does not have the selected layout also if
5745 * text2.C (setLayout): fixed bug which did not change last selected
5748 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5749 changed the read and substituted \\end_float with \\end_inset!
5751 * BufferView_pimpl.C (cursorPrevious):
5752 (cursorNext): fixed to make it work with rows heigher than the work
5753 area without moving the cursor only the draw of the row.
5754 (workAreaMotionNotify): fix jumping over high rows.
5756 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5758 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5761 2002-04-16 Juergen Vigna <jug@sad.it>
5763 * text2.C (setCursor): set also the irow().
5764 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5766 (cursorDown): support for locking an inset if the x_fix value goes
5767 inside it. That way I can transverse insets too with cursor up/down.
5769 * lyxrow.h: added irow helper function same as other (i) functions.
5771 * BufferView_pimpl.C (cursorPrevious):
5772 (cursorNext): fixed for insets!
5774 2002-04-15 Juergen Vigna <jug@sad.it>
5776 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5777 position otherwise it is wrong in some cases.
5779 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5780 inside the inset before the call.
5782 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5784 * buffer.[Ch] (getBibkeyList): make it const.
5786 2002-04-12 Juergen Vigna <jug@sad.it>
5788 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5790 * text2.C (getCursorX): new helper function
5791 (setCursor): compute also ix_
5792 (setCursorFromCoordinates): set also ix.
5794 * lyxcursor.h: added ix_ and helper functions.
5796 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5798 * buffer.C (insertStringAsLines): dont break paragraph if the this
5799 paragraph is inside an inset which does not permit it!
5801 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5802 also with no chars on this paragraph.
5803 (paintRowText): only paint stuff if it's inside the workarea!
5805 * paragraph.C (breakParagraph): honor keepempty flag and break the
5806 paragraph always below not above.
5808 * BufferView2.C (unlockInset): update the paragraph layout on inset
5809 unlock as we changed paragraph in such a case.
5811 * lyxfind.C (LyXFind): clear the former selection if not found!
5813 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5814 again called in insertChar().
5816 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5817 an inset which uses the whole row!
5818 (rightMargin): ditto.
5819 (insertChar): force a rebreak if we inserted an inset!
5821 2002-03-28 Herbert Voss <voss@lyx.org>
5823 * lyxlength.[Ch]: add inBP() to get the right PS-point
5824 units (BigPoint). With inPixels we have rounding errors
5826 2002-04-11 Juergen Vigna <jug@sad.it>
5828 * text2.C (setCursorFromCoordinates): set iy to the right value.
5829 (setCursor): add check if row->previous exists!
5831 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5832 an old float_type as this was the case in the old code!
5834 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5836 * BufferView2.C (showLockedInsetCursor): use iy
5837 (fitLockedInsetCursor): ditto
5839 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5840 locked insets as there we have the right value now.
5842 * lyxcursor.C: added iy_ variable and iy functions to set to the
5843 baseline of cursor-y of the locked inset.
5845 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5846 (setCursor): fixed for insets which need a full row.
5848 * text.C (rowLastPrintable): don't ignore the last space when before
5849 an inset which needs a full row.
5850 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5851 as last character of a row when before a inset which needs a full row.
5853 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5855 * version.C.in: update date
5857 * text2.C (fullRebreak): try to always return true and see what
5860 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5862 * MenuBackend.C (expand): use Floating::listName
5864 * FloatList.C (FloatList): add listName argument to the built-in
5867 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5868 text associated with the float.
5870 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5872 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5874 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5876 * ShareContainer.h: add a couple of missing typenames.
5878 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5880 * lyxrc.C (getDescription): use _() correctly rather than N_().
5882 2002-03-28 Herbert Voss <voss@lyx.org>
5884 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5885 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5887 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5889 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5890 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5892 2002-03-29 Juergen Vigna <jug@sad.it>
5894 * lyxfunc.C (dispatch): add a missing fitCursor call.
5896 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5897 it was scrolled by a cursor move, so return the bool status.
5899 * BufferView.C (fitCursor): return the bool flag also to the outside
5900 world as this is needed.
5902 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5904 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5905 call the edit() as it is not needed (and wrong) IMO.
5906 (workAreaButtonPress): set the screen_first variable before evt.
5907 unlock the inset as this may change screen_first and then we have
5908 a wrong y position for the click!
5910 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5912 * MenuBackend.C (expand): another translation that I missed
5914 2002-03-28 Juergen Vigna <jug@sad.it>
5916 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5918 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5920 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5922 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5924 * MenuBackend.C (expand): fix export/view/update when there is no
5927 2002-03-27 Herbert Voss <voss@lyx.org>
5929 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5932 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5934 * bufferview_funcs.C (currentState): only show paragraph number
5935 for is DEVEL_VERSION is set.
5937 * lyxfunc.C (dispatch): put warning in INFO channel
5939 * MenuBackend.C (expand): translate the name of floats
5941 * FloatList.C (FloatList): mark the float names for translation
5943 * converter.C (convert): use LibScriptSearch
5945 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5947 * MenuBackend.C (defaults): fix default menu (we might as well get
5950 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5952 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5955 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5957 * lyxvc.C: reorder includes.
5959 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5961 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5964 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5966 * CutAndPaste.C: change layouts earlier on paste
5967 to avoid crashing when calling getFont()
5969 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5971 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5974 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5976 * WorkArea.C: remove 'Pending' debug message.
5978 * most files: ws cleanup
5980 * buffer.[Ch]: ws changes
5982 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5984 2002-03-21 Juergen Vigna <jug@sad.it>
5986 * tabular.C (SetMultiColumn): collapse also the contents of the
5987 cells and set the last border right. Added a Buffer const * param.
5989 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5991 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5994 2002-03-19 Juergen Vigna <jug@sad.it>
5996 * text2.C (clearSelection): reset also xsel_cache.
5998 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5999 where it needs to be called (John tells us to do so too :)
6000 (selectionLost): reset sel_cache.
6002 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6004 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6006 * text2.C (setCursorIntern): put debuging code in INSETS channel
6008 2002-03-19 André Pönitz <poenitz@gmx.net>
6010 * lyxfunc.C: tiny whitespace change
6012 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6014 * ToolbarDefaults.C (init):
6015 * LyXAction.C (init):
6017 * BufferView_pimpl.C (Dispatch):
6018 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6020 2002-03-19 Allan Rae <rae@lyx.org>
6022 * exporter.C (Export): removeAutoInsets before doing anything else.
6023 While I've just introduced a dependency on BufferView this really is
6024 the best place to clean the buffer otherwise you need to cleanup in
6025 a dozen places before calling export or cleanup in a dozen functions
6028 * converter.C (runLaTeX):
6029 (scanLog): Better handling of removeAutoInsets and screen updates.
6031 * lyxfunc.C (dispatch): small whitespace changes
6033 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6035 * WorkArea.C (C_WorkAreaEvent): return a value.
6036 (event_cb): return 1 if we handled the event, 0 otherwise.
6038 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6040 2002-03-18 Juergen Vigna <jug@sad.it>
6042 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6043 (GetAdditionalWidth): ditto.
6047 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6048 inset if we're there actually (probably not used right now but this
6049 is the direction to go for unifying code).
6050 (paste): disable code to clear the selection.
6052 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6053 inside an InsetText and move the check further up as it is in the
6056 * text2.C (pasteSelection): set a selection over the pasted text.
6058 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6060 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6061 and libgraphics to build on Cygwin.
6063 2002-03-15 Juergen Vigna <jug@sad.it>
6065 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6066 inserting an Inset into the paragraph. I know this is not the best
6067 fix but we already use current_view in CutAndPaste so we will remove
6068 all of it's using at the same time.
6070 * buffer.C (sgmlError): deactivated function till it is rewritten in
6071 the right mode, now it can create problems.
6073 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6074 before accessing it.
6076 2002-03-14 Juergen Vigna <jug@sad.it>
6078 * undo_funcs.C (textHandleUndo): do the right thing when updating
6079 the inset after the undo/redo.
6081 * text2.C (setCursor): just some testcode for #44 not ready yet.
6083 * undo_funcs.C (textHandleUndo): set the next() and previous()
6084 pointers of the paragraph to 0 before deleting otherwise we have
6085 problems with the Paragraph::[destructor].
6087 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6088 on a paragraph insertion.
6090 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6092 * buffer.C (asciiParagraph): use += operator for char append to
6095 * paragraph.C (getFontSettings): compare >= not just >
6096 (highestFontInRange): ditto
6099 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6101 * paragraph.C: change several algorithm to be more appripriate for
6102 the problem domain. This is lookip in FontList and in the InsetList.
6104 2002-03-13 André Pönitz <poenitz@gmx.net>
6107 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6109 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6114 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6116 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6118 * Painter.C (display): anon helper function, adjust code for this
6120 (pixmap): remove function.
6122 * Painter.h: remove private display variable.
6124 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6126 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6128 * WorkArea.[Ch]: remove figinset_canvas cruft.
6130 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6132 * lyxtextclass.C (operator): add one item cache optimization.
6134 * bufferlist.h: doxy changes
6136 * bufferlist.C: ws changes
6138 * DepTable.[Ch] (ext_exist): place const in the right spot.
6140 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6142 (workAreaExpose): call resizeInsets when the with BufferView changes.
6143 (Dispatch): adjust for protectedBlank removal
6144 (specialChar): call updateInset if the insert went ok.
6146 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6147 specialChar instead.
6149 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6151 * BufferView.h: doxy change
6153 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6155 * lyxtextclass.C (operator[]): remove non-const version
6156 (defaultLayout): remove non-const version
6158 2002-03-12 Juergen Vigna <jug@sad.it>
6160 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6161 did resize the LyXText too.
6163 * buffer.C (readLyXformat2): set layout information on newly allocated
6166 * tabular.C (OldFormatRead): set layout information on the paragraph.
6168 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6170 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6172 2002-03-11 Juergen Vigna <jug@sad.it>
6174 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6176 (resizeCurrentBuffer): force also the insets to resize themselfes.
6177 (moveCursorUpdate): fixed up for InsetText.
6179 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6182 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6183 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6184 value of Dialogs::tooltipsEnabled().
6185 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6187 2002-03-08 Juergen Vigna <jug@sad.it>
6189 * BufferView_pimpl.C (updateInset): update inset inside inset also
6190 if it isn't inside theLockingInset().
6192 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6194 * buffer.C (asciiParagraph): redo some of the word and line length
6196 (getLists): look for Caption instead of caption.
6198 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6200 * buffer.C (Buffer): initialize niceFile to true
6203 (makeDocBookFile): make sure niceFile is true on exit
6205 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6207 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6209 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6211 * LyXSendto.C: remove.
6212 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6213 * lyx_gui.C: remove now-redundant comment.
6214 * ColorHandler.h: remove forward declaration of class WorkArea.
6215 * lyxfunc.C: remove #include "WorkArea.h".
6217 2002-03-07 Juergen Vigna <jug@sad.it>
6219 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6220 got moved away with the DEPM and also set the inset_owner always
6221 right which before could have been omitted.
6223 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6225 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6226 wanted layout is not found.
6228 2002-03-07 Juergen Vigna <jug@sad.it>
6230 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6232 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6234 * paragraph.C (breakParagraph): use default layout not layout of
6236 (Paragraph): clear ParagraphParameters.
6238 2002-03-06 Juergen Vigna <jug@sad.it>
6240 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6241 otherwise it would not be a valid lenght. Fixed a special case in
6242 the minipage compatibility read where we end the document with a
6245 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6246 was set as it could be 0 for InsetTexts first entry.
6248 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6250 * paragraph.C (writeFile): if layout is empty write out
6251 defaultLayoutName().
6253 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6254 file without named layout we set layout to defaultLayoutName().
6256 2002-03-06 Juergen Vigna <jug@sad.it>
6258 * CutAndPaste.C (copySelection): set layout for new paragraph.
6260 * text.C (prepareToPrint): leave ERT inset left aligned
6261 (leftMargin): don't indent paragraphs inside ERT insets
6263 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6265 * paragraph.C (breakParagraph): dont call clear do the work manually
6267 * paragraph.[Ch] (clear): remove function
6269 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6271 * paragraph.C (Paragraph): dont call clear, the work has already
6274 * lyxtextclass.C (operator): assert if n is empty
6276 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6277 work manually instead.
6279 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6281 * BufferView_pimpl.C: protect selectionLost against text == 0
6283 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6285 * text.C (breakParagraph): fix a setting layout to '0' problem.
6287 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6289 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6290 final location of file, for the included files, and graphics.
6292 2002-03-05 Juergen Vigna <jug@sad.it>
6294 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6296 2002-03-04 Juergen Vigna <jug@sad.it>
6298 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6300 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6301 last column of multicolumn cells.
6302 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6304 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6306 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6307 file if it doesn't go to a temporary file.
6309 * buffer.C (sgmlOpenTag):
6310 (sgmlCloseTag): remove extra newline insertion.
6312 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6314 * text.C (getRowNearY): comment out debug msg
6316 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6318 * text2.C: first -> first_y
6320 * text.C (getRowNearY): add some attemts at a possible
6321 optimization, not working.
6323 * tabular.[Ch]: add BufferParams to several function so that newly
6324 created paragraph can be initialized to he default layotu for the
6327 * tabular-old.C (ReadOld): add buf->params to call of Init
6329 * screen.C: rename text->first to text->first_y
6331 * paragraph.C (breakParagraph): always set layout in the broken
6334 * lyxtextclass.C (Read): remove lowercase
6337 (delete_layout): ditto
6339 * lyxtext.h: rename first -> first_y
6341 * lyxlayout.C (Read): remove lowercase
6344 (obsoleted_by): ditto
6346 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6348 * buffer.C (insertErtContents): add params are to InsetERT
6349 (parseSingleLyXformat2Token): add code to check if a paragraphs
6350 layout really exist.
6351 (parseSingleLyXformat2Token): add params to several inset
6353 (asciiParagraph): remove lowercase, do the layout comparisons with
6356 * BufferView_pimpl.C (cursorNext): first -> first_y
6357 (resizeCurrentBuffer): first -> first_y
6358 (updateScrollbar): first -> first_y
6359 (scrollCB): first -> first_y
6360 (workAreaMotionNotify): first -> first_y
6361 (workAreaButtonPress): first -> first_y
6362 (checkInsetHit): first -> first_y
6363 (cursorPrevious): first -> first_y
6364 (cursorNext): first -> first_y
6365 (Dispatch): add buffer_->params to severl inset contructors
6367 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6369 * lyxlayout.C (Read): remove some debug info that I forgot.
6371 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6372 clean up the code slightly.
6373 (makeLinuxDocFile): ditto
6374 (makeDocBookFile): ditto
6376 * text2.C: layout as string
6378 * text.C: layout as string
6380 * paragraph_pimpl.C: layout as string
6382 * paragraph.[Ch]: layout as string
6384 * lyxtextclasslist.[Ch]: layout as string
6386 * lyxtextclass.[Ch]: layout as string
6388 * lyxtext.h: layout as string
6390 * lyxlayout.[Ch]: layout as string
6392 * lyx_cb.C: layout as string
6394 * bufferview_funcs.C: layout as string
6396 * bufferparams.C: layout as string
6398 * buffer.C: layout as string
6400 * LyXView.[Ch]: layout as string
6402 * LaTeXFeatures.[Ch]: layout as string
6404 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6406 * BufferView_pimpl.C: change current_layout to string, remove
6411 (workAreaButtonRelease): layout as string
6413 * BufferView2.C (unlockInset): adjust
6415 * vspace.C (asLatexCommand): use an explict temp variable.
6417 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6419 * Makefile.am: use FRONTEND_*
6421 2002-03-01 Juergen Vigna <jug@sad.it>
6423 * tabular.C (SetWidthOfMulticolCell): changed to something better
6424 I hope but still work in progress.
6425 (recalculateMulticolumnsOfColumn): renamed function from
6426 recalculateMulticolCells as it is more appropriate now.
6427 (SetWidthOfCell): calculate multicols better.
6429 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6431 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6433 * lyxfunc.C (processKeySym): print sequence also if it is
6434 `deleted' (complete)
6436 * kbsequence.C (print): print sequence even if it is deleted
6437 (complete would be a better word, actually).
6439 * lyxfunc.C (dispatch): print complete options after a prefix key
6441 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6443 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6445 * text2.C (setCharFont): eliminate setCharFont code duplication.
6447 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6449 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6450 LFUN_TABULAR_FEATURE (bug #177)
6452 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6454 * Makefile.am: remove figure.h
6456 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6458 * Bufferview_pimpl.C:
6470 * text2.C: remove #include "lyx_gui_misc.h".
6472 * LaTeX.C: added #include <cstdio>
6474 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6476 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6477 that the paragraph following this one can have.
6479 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6481 * vspace.C (asLatexCommand): fix bogus gcc warning
6483 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6485 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6487 * text2.C (setLayout): get rid of redundant code
6489 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6491 * text2.C (incDepth): make sure depth cannot be increased beyond
6494 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6496 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6497 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6499 * PainterBase.h (image):
6500 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6503 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6507 * BufferView_pimpl.C:
6508 * BufferView_pimpl.h:
6528 * sp_spell.C: remove fig inset, and the crap house of
6529 cards that follows it
6531 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6537 * nt_defines.h: move .h into support/
6539 * vms_defines.h: remove
6541 * WorkArea.C: add space in debug output
6545 * buffer.C: add WITH_WARNINGS
6549 * bufferlist.C: s/retrive/retrieve/, add docs
6560 * lyxgui.C: add ID to X error handler
6562 * lyxtestclass.c: fix typo
6564 2002-02-26 Juergen Vigna <jug@sad.it>
6566 * tabular_funcs.C (write_attribute): changed so that some default
6567 attributes are not written at all.
6568 (getTokenValue): set default values before trying to read the
6569 value so we have the return value always set as default if we don't
6570 find the token we search for.
6572 * tabular.C (Write): write bools as bools not as strings!
6574 2002-02-22 Juergen Vigna <jug@sad.it>
6576 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6577 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6579 * text.C (leftMargin): don't add an indent for paragraphs inside
6580 tabular cells (fix #208).
6582 2002-02-21 José Matos <jamatos@fep.up.pt>
6584 * tabular.C (docBook): fixed support for long tables.
6586 2002-02-20 Juergen Vigna <jug@sad.it>
6588 * text2.C (getFont): get the drawing font of the Inset if this
6589 paragraph is inside an inset (only important for InsetERT for now).
6591 * buffer.C (insertErtContents): use new lanugage params in ERT
6594 * CutAndPaste.C: commenting out seemingly uneeded code.
6596 2002-02-19 Allan Rae <rae@lyx.org>
6598 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6599 Iterators might be simple to use but they also get invalidated.
6600 (removeAutoInsets): renamed saved cursor tracking variables and added
6601 some comments to clarify what everything does.
6603 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6610 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6611 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6614 * vc-backend.h: remove #include "support/syscall.h"
6618 * converter.C: rearrange #includes in Lars' approved fashion.
6620 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6621 forward declare class Timeout in the header file.
6623 * XFormsView.C: changes due to the above.
6625 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6628 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6629 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6631 2002-02-18 José Matos <jamatos@fep.up.pt>
6633 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6636 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6638 * a lot of small ws changes
6639 * add a lot of using std::XXX
6640 * use std construcs some places where approp.
6641 * use some exisint stuff from lyxfunctional where approp.
6642 * Make file changes to use partial linking (lets test this now...)
6644 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6648 remove #include "support/syscontr.h" as it's redundant. Always has been.
6656 change Systemcalls::System to Systemcalls::Wait and
6657 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6658 No change of functionality, just reflects the stripped down Systemcalls
6661 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6663 * debug.[Ch]: add a GRAPHICS type to the enum.
6665 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6667 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6669 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6672 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6674 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6675 match the changes below.
6677 * text2.C (toggleInset): if there is not editable inset at cursor
6678 position, try to see if cursor is _inside_ a collapsable inset
6681 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6683 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6684 document menu has a nice checkbox
6686 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6688 * lyxlength.C (asLatexString): change PW to output as percent of
6691 * lengthcommon.C: change '%' to 't%'
6693 * lyxfunc.C (dispatch): a few comments from Martin
6695 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6699 * BufferView_pimpl.h:
6700 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6703 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6705 * vspace.C (inPixels): fix compiler warning
6707 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6709 * lyxfunc.C (getStatus): fix status message for disabled commands.
6711 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6713 * BufferView_pimpl.C: fix crash on close buffer
6714 during selection (#227)
6716 2002-01-27 Herbert Voss <voss@lyx.org>
6718 * buffer.C: link old Figure to new graphic inset
6720 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6722 * FontLoader.C (getFontinfo): Change the latex font names in order
6723 to match the names of type1inst.
6725 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6727 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6729 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6732 (remove_files_with_extension): ditto
6733 (remove_file): ditto
6736 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6737 document is smaller than the work area height. Do not initialize
6738 static variables to 0.
6740 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6742 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6744 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6745 LFUN_LAYOUT_PARAGRAPHS.
6747 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6748 tabular. It is possible to provide a possible cell, which will
6749 typically be the actcell from the corresponding insettabular
6751 * lyxfunc.C (getStatus): small cleanup; disable
6752 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6755 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6757 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6759 * paragraph.C (startTeXParParams):
6760 (endTeXParParams): new methods. The LaTeX code to
6761 start/end paragraph formatting
6762 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6763 empty (fixes bug #200)
6765 * vspace.C (inPixels): adapt to the change below
6766 (inPixels): [later] more cleanups (remove unused variables)
6768 * lyxlength.C (inPixels): change to use a width and a height as
6771 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6773 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6774 Replaced with \paperwidth
6776 * DepTable.C (insert): add std:: qualifier
6778 2002-01-18 Allan Rae <rae@lyx.org>
6780 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6783 * text.C (drawInset): Turned out I didn't know enough about how
6784 rebreaking worked. This fixes most of the redraw problems. I see
6785 an occasional cursor trail when a line is broken now and the cursor
6786 placement can seem out by a few pixels also after a rebreak.
6788 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6790 * buffer.C (parseSingleLyXformat2Token): update because minipage
6791 width is now a LyXLength
6793 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6795 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6798 2002-01-17 Juergen Vigna <jug@sad.it>
6800 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6802 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6803 is set correctly and the inset is updated correctly.
6805 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6807 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6808 the beginning of the loop.
6810 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6812 * lyxrc.C: improve help for use_scalable_fonts
6814 2002-01-17 Allan Rae <rae@lyx.org>
6816 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6818 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6820 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6821 make sure to set their inset_owner to the right value (bug #171)
6823 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6826 * DepTable.C: Implement mtime checking to reduce time spent doing
6829 2002-01-16 Juergen Vigna <jug@sad.it>
6831 * tabular.C (GetAdditionalHeight): one of error fixed.
6833 * lyxrc.C (output): small fix in writing use_pspell.
6835 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6837 * sp_base.h: #include LString.h
6839 2002-01-16 Allan Rae <rae@lyx.org>
6841 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6842 Can someone check this please?
6844 * text.C (drawInset): It was possible that p.row would be removed by
6845 breakAgainOneRow upsetting a few other settings. There may be another
6846 small tweak possible by setting need_break_row = 0 when p.row has been
6847 removed but I don't know enough about the logic here.
6849 2002-01-15 Allan Rae <rae@lyx.org>
6851 * text.C (insertChar): removed conditional truism.
6853 * BufferView2.C (removeAutoInsets): More tweaks.
6854 cur_par_prev could be a stray pointer. Check for trailing empty line
6855 in case last line was cur_par and only had an error inset on it.
6857 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6859 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6862 * vc-backend.C (most methods):
6863 * exporter.C (Export):
6864 * converter.C (convert):
6866 * LyXSendto.C (SendtoApplyCB):
6867 * lyxfunc.C (dispatch):
6871 * lyx_cb.C (AutoSave):
6873 * BufferView_pimpl.C (MenuInsertLyXFile):
6874 * buffer.C (runChktex): use Buffer::filePath().
6876 * buffer.h: rename filename to filename_; rename filepath to
6877 filepath_ and make it private
6878 (filePath): new method
6880 * buffer.C (writeFile): use fileName()
6883 * lyx_main.C (init): fix starting of LyX when the binary is a
6884 link from so,ewhere else.
6886 * minibuffer.C: include <cctype> for isprint
6888 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6890 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6891 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6892 name clash with InsetCollapsable's width function.
6894 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6896 * lastfiles.C: include <iterator>
6898 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6900 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6903 * buffer.C (makeLaTeXFile): ditto.
6904 Also make loop operation more transparent.
6906 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6908 * ToolbarDefaults.C: remove trailing comma closing namespace.
6910 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6912 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6915 * trans.C (Load): comment out unused variable, allowed.
6917 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6919 * minibuffer.[Ch] (append_char): new method to recieve input from the
6920 drop-down completion browser. If a key was pressed, then recieve this
6921 char and append it to the existing string.
6922 (peek_event): modify the positioning data passed to the completion
6923 browser so that it can be placed above the minibuffer rather than below.
6924 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6926 * LyXAction.C (init): alloe error-next for readonly documents.
6928 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6931 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6933 * bufferlist.C (readFile): create the buffer _after_ checking that
6936 * lyxfunc.C (verboseDispatch): fix handling of arguments
6938 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6940 * lyxrc.C: use string::erase() instead of initializing to "".
6943 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6945 * BufferView_pimpl.h:
6946 * BufferView_pimpl.C:
6949 * text2.C: tell X when we have made a selection for copying
6951 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6953 * BufferView_pimpl.C (MenuInsertLyXFile):
6954 * lyxfunc.C (menuNew):
6956 (doImport): add shortcuts to directory buttons
6958 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6961 * lyxfunc.C (setStatusMessage):
6962 (getStatusMessage): new methods
6963 (getStatus):use setStatusMessage instead of setErrorMessage
6964 (dispatch): when function is disabled, set error message here
6965 [instead of in getStatus previously]
6967 * BufferView_pimpl.C (workAreaButtonRelease): update
6968 toolbar/menubar here too.
6970 2002-01-13 Allan Rae <rae@lyx.org>
6972 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6973 Now seems indestructible. Remaining task is to audit all other
6974 code affected by deleteEmptyParagraphMechanism. One small quirk
6975 left is that an empty document with an error in the preamble can
6976 be made to report an error but no error box appears. I don't know
6978 (removeAutoInsets): Improved comments.
6980 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6983 * Thesaurus.C: update for Aiksaurus 0.14
6985 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6987 * text2.C (firstParagraph): removed member function, all uses
6988 replaces with ownerParagraph
6989 (redoParagraphs): here
6991 (toggleAppendix): here
6992 * BufferView2.C (insertErrors): here
6993 (setCursorFromRow): here
6995 2002-01-13 Allan Rae <rae@lyx.org>
6997 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6998 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6999 There is still a way to segfault this although you may have to do this
7000 multiple times: Have an InsetERT with an unknown command in it.
7001 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7002 <down-arrow>, <Enter> again, View->DVI, BANG!
7004 * text2.C (setCursor):
7005 (deleteEmptyParagraphMechanism):
7006 * lyxtext.h (setCursor):
7007 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7008 Making use of the return value may help fix other bugs.
7010 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7012 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7014 * LyXView.C (updateMenubar): call MenuBar::update here
7015 (updateToolbar): but not here
7016 (showState): do not update toolbar/menubar
7018 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7019 should need to care about that.
7021 * lyxfunc.C (verboseDispatch): simplify a bit
7022 (getStatus): have a version which takes a pseudoaction, and
7023 another which requires a (kb_action,string).
7025 * LyXAction.C (retrieveActionArg): make it work also when action
7026 is not a pseudo-action.
7027 (getActionName): simplify a bit
7030 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7032 * lyxfunc.C (verboseDispatch): new families of methods with
7033 several ways to specify a command and a bool to indicate whether
7034 the command name and shortcut should be displayed in minibuffer
7035 (eventually, we could extend that to a finer bitmask like
7036 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7037 (dispatch): the pristine dispatch command which just, well,
7038 dispatchs! Note it still sets its result to minibuffer; I'm not
7041 * lyxfunc.h: remove setHintMessage
7043 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7045 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7047 * BufferView_pimpl.C (specialChar): delete new inset if we have
7048 not been able to insert it.
7050 * kbmap.C: revert to using int instead of kb_action, since all we
7051 are dealing with is pseudo-actions.
7053 * LyXAction.C (searchActionArg): change to return int instead of
7054 kb_action, since the result is a pseudoaction.
7056 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7058 * buffer.C (insertErtContents): Fix (partially) the font bug.
7060 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7062 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7063 as the other one is broken on my machine!
7065 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7068 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7070 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7072 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7073 reflect their actual use. Provide compatibility code for older lyxrc
7076 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7078 change names of popup font variables in line with the changes to lyxrc.C
7080 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7082 * buffer.C (asciiParagraph): avoid outputing a word twice after
7085 * lyxrc.C (getDescription): document that document_path and
7086 template_path can be empty.
7088 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7090 * LaTeXFeatures.C (getMacros):
7091 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7093 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7095 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7097 (getPackages): rename feature "floats" to "float". Use an array to
7098 iterate over 'simple' features (i.e. just a \usepackage). Add
7099 handling of "amsmath" (renamed from "amsstyle").
7101 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7103 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7106 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7108 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7109 FuncStaus::FuncStatus & FuncStaus::some_method().
7111 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7113 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7114 of the func_satus stuff. Edited and massaged in various ways by
7117 * lyxfunc.C (getStatus): use FuncStatus
7119 2002-01-08 Juergen Vigna <jug@sad.it>
7121 * text.C (nextBreakPoint): use function Inset::isChar().
7123 * paragraph.C (TeXOnePar): use function
7124 Inset::forceDefaultParagraphs.
7126 * buffer.C (latexParagraphs): use function
7127 Inset::forceDefaultParagraphs.
7129 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7131 * lyx_gui.C (init): set the style of the menu popups to
7132 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7134 2002-01-07 Juergen Vigna <jug@sad.it>
7136 * text.C (setHeightOfRow): small fix
7137 (prepareToPrint): don't look at alignment if we don't have the place
7140 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7142 * box.C: New file. Move the Box methods and functions out of box.h,
7143 following Lars' suggestion.
7145 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7147 * box.h: #include "support/LOstream.h", needed for inlined function.
7150 * lyxtextclasslist.C: added some using std declarations.
7152 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7154 * box.h: make signed dimensions to allow insets wider than
7155 the screen (bug #162)
7157 * BufferView_pimpl.C: add some insetHit debug
7159 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7161 * vc-backend.C: add FIXME
7163 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7165 * lyxfunc.C (getStatus): enable code for showing math font status
7168 2002-01-07 Juergen Vigna <jug@sad.it>
7170 * text.C (nextBreakPoint): removed debug output not needed anymore.
7172 2002-01-06 Juergen Vigna <jug@sad.it>
7174 * text.C (nextBreakPoint): fixed up this function we had this bug
7175 since ever but now hopefully we break row better.
7176 (insertChar): we have to check if an inset is the next char as it
7177 could now happen that a large inset is causing a break.
7179 2002-01-05 Juergen Vigna <jug@sad.it>
7181 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7182 if it doesn't like to be drawed.
7184 2002-01-04 Juergen Vigna <jug@sad.it>
7186 * BufferView2.C (lockInset): forgot to set a cursor.
7188 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7190 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7195 * form_maths_panel.C:
7196 * form_maths_panel.h:
7197 * form_maths_panel.fd: implemented sub- and super- buttons in math
7200 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7201 (or ^ space) to be used as in TeX (req'd by André).
7203 * lyxfunc.C: Allow ^ and _ again to be used both as
7204 super/subscript (mathed) and as themselves (in text).
7206 2002-01-03 Allan Rae <rae@lyx.org>
7208 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7209 "LyX" or the filename of the current buffer if it has one. This is a
7210 modified form of John Levon's patch.
7212 * XFormsView.C (setWindowTitle): also set icon title.
7214 * LyXView.h (setWindowTitle): signature changed.
7215 * XFormsView.h (setWindowTitle): ditto.
7217 2002-01-02 Juergen Vigna <jug@sad.it>
7219 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7221 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7223 * screen.C (topCursorVisible): introduce a temp var for
7224 text->cursor.row(), handle the case where this row is null. (kindo
7227 * text2.C (setCursor): add a couple of asserts.
7229 * paragraph.h (inset_iterator): add -> operator
7231 * paragraph.[Ch] (autoDeleteInsets): remove member function
7233 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7234 cursor pos correctly and handle inset deletion by itself.
7235 (insertErrors): move iterator declaration out of for expression
7237 * lyxtextclass.C: add <algorithm>
7239 * Makefile.am: added the new files to sources, removed layout.C
7241 * layout.C: removed file
7243 * layout.h: remove LYX_DUMMY_LAYOUT
7245 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7249 * lyxtextclass.[Ch]:
7250 * lyxtextclasslist.[Ch]: new files
7252 * include order changes to a lot of files, also changes because of
7255 2001-12-27 Juergen Vigna <jug@sad.it>
7257 * buffer.C (asciiParagraph): more fixes.
7259 * tabular.C (ascii): make ascii export support export of only the
7260 data separated by a column-delimiter.
7261 (ascii): better support for ascii export.
7263 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7265 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7267 * tabular_funcs.C: use a "using std::getline" instead of the
7268 previous fix from Angus (necessary for cxx + lyxstring)
7270 2001-12-24 Juergen Vigna <jug@sad.it>
7272 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7274 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7275 problems. First check a minipage also if we have some ert-contents
7276 (not only on par->size(), second set the right depth of the paragraph
7277 on the relink to the root-paragraph-list!
7279 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7280 which then did not anymore update the main paragraphs on undo/redo!
7282 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7284 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7285 code. Support all font-changing funcs (even those which are not in
7286 menu currently). Support for reporting font settings in
7287 mathed (disabled until Andre provides a function on mathed's side).
7289 * func_status.h (toggle): small helper function to set toggle
7292 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7294 * tabular_funcs.C: getline -> std::getline
7296 2001-12-21 Juergen Vigna <jug@sad.it>
7298 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7299 accessed and could be 0 (I couldn't generate this but it seems
7302 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7304 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7305 * tabular_funcs.h: here and include iosfwd
7307 2001-12-20 Juergen Vigna <jug@sad.it>
7309 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7310 inside inset but undo_par was.
7312 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7314 * Thesaurus.C: always include <config.h> in sources.
7318 * box.h: do not include <config.h> in header files
7320 * text.C (paintLastRow): remove unused variable
7322 * text.C (transformChar):
7324 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7327 * font.C (width): rewrite to use uppercase() instead of
7330 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7332 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7334 * lyxfind.C: clean up of find failure position change
7336 2001-12-20 Juergen Vigna <jug@sad.it>
7338 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7340 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7341 (TeXRow): added to LaTeX a single tabular row.
7342 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7343 (Latex): simplified and finally good LT-h/f support.
7344 (various_functions): just small adaptions for LT-h/f support.
7346 * tabular_funcs.[hC]: added and moved here all not classfunctions
7349 2001-12-19 Juergen Vigna <jug@sad.it>
7351 * tabular.[Ch]: better support for longtabular options (not finished
7354 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7356 * text.C (paintLastRow): use the label font instead of the font of
7357 the last character to compute the size of *_BOX. This makes more
7358 sense and avoids a crash with empty paragraphs.
7359 Use Painter::rectangle to draw EMPTY_BOX.
7361 2001-12-19 Juergen Vigna <jug@sad.it>
7363 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7364 the paragraphs if the replaced paragraph is not the first one!
7365 Tried to delete not used paragraphs but does not work yet so for
7366 now it's inside #ifdef's and by default off!
7368 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7370 * MenuBackend.C: include "lyx_main.h" instead of declaring
7371 lastfiles (actually was declared as LastFiles* instead of a
7374 2001-12-17 Juergen Vigna <jug@sad.it>
7376 * tabular.C (AppendColumn): applied John's fix
7378 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7382 * BufferView_pimpl.h:
7383 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7386 * box.h: new start of class for above
7388 * lyxfunc.C: ignore space-only minibuffer dispatches.
7389 Show the command name when it doesn't exist
7391 * minibuffer.C: don't add empty lines to the history
7393 * minibuffer.C: add a space on dropdown completion
7395 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7397 * text.C: fix line above/below drawing in insets
7399 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7401 * lyxlength.C (LyXLength): Initialize private variables.
7403 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7405 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7406 when inserting error insets.
7408 2001-12-13 Juergen Vigna <jug@sad.it>
7410 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7411 actually sometimes the before-paragraph.
7412 (setUndo): don't clear the redostack if we're not actually undoing!
7414 2001-12-06 Juergen Vigna <jug@sad.it>
7416 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7417 and fixed redoing of main paragraph, so we can use it now ;)
7419 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7421 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7423 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7426 2001-12-13 André Pönitz <poenitz@gmx.net>
7429 * undo_func.C: minor cleanup
7431 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7433 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7434 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7435 font in urw-fonts package which is marked as -urw-fontspecific and
7436 does not work (incidentally, changing the encoding in the
7437 fonts.dir of this package to -adobe-fontspecific fixes the
7440 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7441 is a crash when undoing first paragraph (Juergen, please take a
7442 look). THis does not mean the undo fix is wrong, just that it
7445 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7446 the (Paragraph*) version when needed instead of duplicating the
7449 * text.C (workWidth): use Inset::parOwner to find out where the
7450 inset has been inserted. This is a huge performance gain for large
7451 documents with lots of insets. If Inset::parOwner is not set, fall
7452 back on the brute force method
7454 * paragraph_pimpl.C (insertInset):
7455 * paragraph.C (Paragraph):
7456 (cutIntoMinibuffer): set parOwner of insets when
7457 inserting/removing them
7459 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7461 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7467 * mathed/formulabase.C:
7468 * mathed/math_cursor.[Ch]:
7469 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7472 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7474 * lyxlength.[Ch] (operator!=): new function
7476 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7478 * text.C (workWidth): use Inset::parOwner to find out where the
7479 inset has been inserted. This is a huge performance gain for large
7480 documents with lots of insets. If Inset::parOwner is not set, fall
7481 back on the brute force method
7483 * paragraph_pimpl.C (insertInset):
7484 * paragraph.C (Paragraph):
7485 (cutIntoMinibuffer): set parOwner of insets when
7486 inserting/removing them
7488 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7490 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7492 * tabular-old.C (getTokenValue):
7493 * tabular.C (getTokenValue):
7494 (write_attribute): new versions for LyXLength
7495 (everywhere): adjust the use of widths
7497 * tabular.h: change the type of widths from string to LyXLength
7499 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7501 * paragraph.C: fixed missing line number count when exporting
7502 Environments to LaTeX file
7504 * buffer.C: added informational message for checking line numbers.
7506 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7508 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7509 paragraph, do the 'double space' part, but not the 'empty
7512 * text.C (workWidth): small optimization
7513 (getLengthMarkerHeight): use minimal size for negative lengths.
7515 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7517 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7519 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7521 2001-12-11 André Pönitz <poenitz@gmx.net>
7524 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7526 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7528 * text2.C: keep selection on a setFont()
7530 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7532 * lyx_cb.C: another bv->text misuse, from insert label
7534 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7537 * kbsequence.C: re-instate nmodifier mask
7539 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7541 * lyx_main.h: make lyxGUI private.
7543 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7545 * lyxfind.C: place the cursor correctly on failed search
7547 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7549 * text.C (getLengthMarkerHeight): for small heights, the arrows
7550 are not always on top/bottom of the text
7551 (drawLengthMarker): smaller arrows; take the left margin in
7552 account; draw also vfills.
7554 (paintLastRow): remove special code for vfill and standard spaces,
7555 since everything is handled in drawLengthMarker now.
7557 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7559 * buffer.C (insertErtContents): try to handle font and language
7560 interaction a bit better.g
7562 * ColorHandler.C (updateColor): change the hash to cover the whole
7563 LColor enum, ws cleanup
7564 (getGCLinepars): ditto
7565 (getGCLinepars): only lookup in the linecache once.
7567 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7569 * iterators.C (operator++): Make the iterator more robust
7571 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7573 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7578 * text.C: better added space drawing
7580 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7583 * BufferView2.C: fix layout combo update on inset unlock
7585 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7587 * Makefile.am: don't compile unused files
7589 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7593 * LyXAction.C: remove old LFUN_LAYOUTNO
7595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7597 * paragraph_pimpl.h:
7598 * paragraph_pimpl.C: isTextAt() doesn't need font param
7600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7603 * lyxlex.C: little cleanup
7605 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7607 * BufferView_pimpl.C: fix insertAscii for insets
7609 2001-12-05 Juergen Vigna <jug@sad.it>
7611 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7612 set the right font on the "multi" paragraph paste!
7614 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7620 * lyxlength.C: remove out-commented code.
7636 * vc-backend.C: change "while(" to "while ("
7638 * lyxlength.[Ch]: add zero function to check if length is zero or
7640 * lyxgluelength.C: use it
7642 2001-12-05 Allan Rae <rae@lyx.org>
7644 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7645 Works for 2.95.3, from what I understand of Garst's reports this should
7646 work for other g++ versions. We're screwed if the abs(int) definition
7647 changed between bugfix releases of gcc.
7649 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7651 * text.C: fix chapter label offset !
7653 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7656 * text.C: fix hfill at end of line, clean up
7658 2001-12-04 Juergen Vigna <jug@sad.it>
7660 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7661 that we force an update of the inset and it's owners if neccessary.
7663 2001-12-03 Juergen Vigna <jug@sad.it>
7665 * text.C (rowLast): simplified code
7667 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7669 * lyxfunc.C: fix show options on timeout
7671 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7673 * screen.C (topCursorVisible): scroll half a page when the cursor
7674 reached top of bottom of screen
7676 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7678 * minibuffer.C: deactivate on loss of focus
7680 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7682 * vspace.[Ch] (operator!=): add operator.
7684 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7686 * BufferView_pimpl.C: refuse to open an inset when
7687 there's a selection.
7689 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7691 * BufferView_pimpl.C: allow to click on RHS of full row insets
7693 2001-11-30 Juergen Vigna <jug@sad.it>
7695 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7696 insets for undo reasons.
7698 2001-11-28 André Pönitz <poenitz@gmx.net>
7700 * vspace.[Ch]: cosmetical changes
7702 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7712 * kbsequence.C: part re-write of old kb code
7715 * WorkArea.C: remove Lgb_bug_find_hack
7717 2001-11-30 José Matos <jamatos@fep.up.pt>
7719 * buffer.C (makeDocBookFile): add a comment to point a hack.
7720 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7721 Fixed a double write of labels.
7723 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7726 * LaTeX.h Fixed bug in LaTeX class where it would not
7727 re-run latex if no depfiles were changed, but the .dvi was removed.
7729 2001-11-28 André Pönitz <poenitz@gmx.net>
7731 * all the files from the change on 2001/11/26:
7732 use lyx::layout_type instead of LyXTextClass::size_type
7733 use lyx::textclass_type instead of LyXTextClassList::size_type
7735 2001-11-29 Juergen Vigna <jug@sad.it>
7737 * text.C: added support for paragraph::isFreeSpacing()
7739 * buffer.C: same as above
7741 * paragraph.h: inserted isFreeSpacing() function to enable
7742 FreeSpacing inside InsetERT.
7744 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7745 of the paragraph's in the cut/copy buffer to 0!
7747 * text2.C (removeRow): remove the assert as it can!
7749 * lyxtext.h: added helper function firstRow returning firstrow and
7750 made firstrow private again.
7752 * BufferView2.C (lockInset): don't relock if we're already locked!
7754 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7756 (removeRow): added Assert::(firstrow)
7758 * debug.C: forgot to add INSETTEXT here.
7760 2001-11-28 Juergen Vigna <jug@sad.it>
7762 * sp_spell.C (initialize): changed error text to more general
7763 spellchecker command use (not only ispell!)
7765 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7767 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7769 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7771 * vspace.C: initialise lyxgluelength on failure
7773 2001-11-28 Allan Rae <rae@lyx.org>
7775 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7776 declaration & definition that looks like a function declaration.
7778 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7780 * BufferView2.C (copy):
7781 (copyEnvironment): do not clear the selection when doing a copy.
7783 * text.C (paintFirstRow): compilation fix
7785 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7787 * tabular.C (Latex): correct line count when writing latex.
7789 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7791 * paragraph_pimpl.h:
7792 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7795 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7799 * LColor.C: change vfillline->added_space
7801 * text.C: add markers and text for added space
7803 * vspace.C: fix comment
7805 2001-11-28 André Pönitz <poenitz@gmx.net>
7807 * paragraph.C: whitespace changes
7808 * all the other files from the change on 2001/11/26:
7809 change *::pos_type into lyx::pos_type
7811 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7813 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7814 language of the document when inserting error insets.
7816 2001-11-26 André Pönitz <poenitz@gmx.net>
7818 * BufferView_pimpl.[Ch]:
7826 * paragraph_pimpl.[Ch]:
7829 * text2.C: reduce header dependencies, introduce type for positions
7831 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7833 * <various>: change to use Alert.h
7835 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7837 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7838 when encountering an unknown token.
7839 (readLyXformat2): Show an error message if there were unknown tokens.
7841 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7844 * BufferView_pimpl.C:
7848 * text2.C: use par->isInset()
7850 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7852 * paragraph_pimpl.h:
7853 * paragraph_pimpl.C: cleanup
7855 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7857 * text2.C (removeRow):
7858 * text.C (setHeightOfRow): remove useless (and costly) call to
7861 2001-11-20 Allan Rae <rae@lyx.org>
7863 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7864 Now need Inset*::checkInsertChar() to return true for appropriate
7865 cases so that the characters in the minibuffer will actually be
7868 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7870 * text.C: change the order of the includes.
7871 (workWidth): initialize it at once.
7872 (workWidth): make maxw unsigned
7873 (setHeightOfRow): remove unused variable (inset)
7874 (selectSelectedWord): remove unused variable (inset)
7875 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7877 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7879 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7880 server is not running.
7882 (closeConnection): add debug info when server is disabled.
7884 * ColorHandler.C (getGCForeground): send debug message to GUI
7887 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7889 * kbmap.C (bind): modify because return conventions of
7890 kb_sequence::parse have changed.
7892 * kbsequence.C (parse): only ignore spaces and not any stupid
7893 control character. This avoids tests like s[i] <= ' ', which are
7894 guaranteed to fail with 8bit characters and signed chars.
7895 Change return code to string::npos when there have been no error
7896 (0 was a bad idea when error is at first character)
7898 2001-11-14 José Matos <jamatos@fep.up.pt>
7901 * buffer.C (simpleDocBookOnePar): removed unused argument.
7903 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7905 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7906 insets which are part of a word. Paragraph::isLetter takes care of
7907 that now. Use Paragraph::isInset to identify insets.
7908 (selectSelectedWord): do not test for hyphenation break.
7910 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7911 that protected spaces are considered as spaces.
7913 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7916 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7919 * lyxserver.C: fix it. and small cleanup.
7921 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7923 * BufferView_pimpl.C: use inline helpers
7926 * LaTeXFeatures.C: fix typos
7929 * Spacing.C: move spacing_string into class
7931 * ToolbarDefaults.C: move stuff into namespace anon
7933 * layout.h: update enum
7935 * lyxfunc.C: use better debug
7937 * minibuffer.h: fix typo
7941 * WorkArea.C: add and use Debug::WORKAREA
7945 * text2.C: code re-organisation, inline helpers
7947 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7949 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7950 std::vector.empty().
7952 2001-11-09 Allan Rae <rae@lyx.org>
7954 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7955 '\n's after tables. Tabular and ERT inset work now makes this no
7958 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7961 * minibuffer.C: fix crash, improve drop-down completion
7963 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7966 * lyxserver.C: invalidate fd's when doing endPipe()
7968 2001-11-08 José Matos <jamatos@fep.up.pt>
7970 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7971 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7974 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7976 2001-11-07 José Matos <jamatos@fep.up.pt>
7979 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7982 * buffer.C (sgmlOpenTag):
7983 * buffer.C (sgmlCloseTag): removed debug info.
7985 * buffer.h (sgmlOpenTag):
7986 * buffer.h (sgmlCloseTag): made public.
7988 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7990 * buffer.C (saveParamsAsDefaults):
7991 * lyx_cb.C (MenuLayoutSave): remove
7993 * LyXAction.C (init):
7995 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7997 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7999 * buffer.C (setPaperStuff): removed from here...
8001 * bufferparams.C (setPaperStuff): ... and moved there.
8003 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8007 * XFormsView.C: add support for drop-down completion
8009 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8011 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8014 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8016 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8019 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8021 * lyx_main.C: change ref to known bugs
8023 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8025 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8026 to work around older babel problems.
8028 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8030 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8032 2001-10-24 Juergen Vigna <jug@sad.it>
8034 * tabular-old.C (ReadOld): below variable changes reflected.
8036 * tabular.[Ch]: added ltType struct for longtable header/footer
8037 defines and changed all instances where they are used. Added
8038 future support for double top/bottom rows.
8040 2001-10-24 José Matos <jamatos@fep.up.pt>
8042 * buffer.h (docbookHandleCaption):
8043 * buffer.C (docbookHandleCaption): removed unused function.
8044 (makeDocBookFile): moved docbook supported version to v4.1.
8046 2001-10-24 José Matos <jamatos@fep.up.pt>
8049 * tabular.C (docbookRow): new function to export docbook code of a row.
8050 (DocBook): now honors the longtable flags.
8052 2001-10-23 José Matos <jamatos@fep.up.pt>
8055 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8056 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8058 * buffer.C (makeLinuxDocFile):
8059 (makeDocBookFile): reworked the preamble, more clean, and with
8060 support for lyx defined entities. Changed the document declaration
8061 to be more XML friendly.
8063 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8064 if we need to output XML that should be done with a filter.
8066 2001-10-22 Juergen Vigna <jug@sad.it>
8068 * sp_pspell.h (class PSpell): add alive function needed in the
8069 controller to see if the spellchecker could be started.
8071 2001-10-22 Juergen Vigna <jug@sad.it>
8073 * buffer.C (insertStringAsLines): modify the font for inserting
8074 chars in certain conditions by calling checkInsertChar(font).
8076 2001-10-19 Juergen Vigna <jug@sad.it>
8078 * text.C (workWidth): use getRow instead of wrong algorithm.
8079 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8081 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8086 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8088 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8090 * text.C (workWidth): do not search for the exact row when
8091 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8092 optimization for big documents.
8094 2001-10-18 Juergen Vigna <jug@sad.it>
8096 * text.C (workWidth): new function with added Inset * parameter.
8098 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8100 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8102 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8103 change return type of getColumnNearX.
8106 * text.C (changeRegionCase): use uppercase/lowercase instead of
8109 (rightMargin): simplify code by factoring out the uses of
8114 (appendParagraph): use Paragraph::size_type
8116 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8118 * vspace.C (asLatexString): add a missing break
8120 2001-10-15 Herbert Voss <voss@perce.de>
8122 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8124 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8126 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8129 2001-10-10 André Pönitz <poenitz@gmx.net>
8131 * lyxfunc.C: removed greek_kb_flag.
8133 2001-10-10 Herbert Voss <voss@perce.de>
8135 * lyx_main.C: delete global string help_lyxdir.
8137 2001-10-09 Herbert Voss <voss@perce.de>
8139 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8141 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8143 * lyx_main.C: added global string help_lyxdir.
8145 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8147 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8149 * lyxrc.C (set_font_norm_type): support iso8859-4
8151 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8153 * LaTeX.C (deplog): add another regex for MikTeX
8155 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8157 * lyxrc.C (set_font_norm_type): support iso8859-3
8159 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8161 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8163 * LaTeXFeatures.C: remove special case of french and index
8165 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8166 before \begin{document}). This solves several incompatibilities.
8168 2001-10-03 Garst Reese <reese@isn.net>
8170 * lyx_cb.C: change CheckTex error msg.
8172 2001-10-03 José Matos <jamatos@fep.up.pt>
8174 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8176 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8178 * .cvsignore: update
8180 * lyx_main.C (commandLineVersionInfo): use new style version info.
8182 * buffer.C (writeFile):
8185 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8187 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8189 * version.h: update to use stuff in version.C
8191 * version.C.in: new file. Contains version information determined
8192 at compile time. This is a merging of version.h and
8195 2001-10-03 Juergen Vigna <jug@sad.it>
8197 * BufferView_pimpl.C (update): don't change "dirty" status in
8200 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8202 * WorkArea.C (c-tor): re-position version string slightly.
8204 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8206 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8207 revert to previous code.
8209 WorkArea.[Ch]: (show, destroySplash): methods removed.
8211 WorkArea.C: rework code so that it's an amalgam of the codes before and
8212 after the splash screen was moved to WorkArea.
8214 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8217 * vspace.C (inPixels):
8220 * buffer.C (insertStringAsLines):
8221 (asciiParagraph): fix types to be large enough
8223 * lyxlex_pimpl.h: change member status from short to int
8225 * layout.h: fix type of endlabeltype
8228 * kbsequence.C (parse): change return type to string::size_type
8230 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8233 * Bullet.C (bulletSize):
8234 (bulletEntry): do not use short ints as parameters
8236 * BufferView2.C (insertLyXFile): change a char to an int.
8238 * WorkArea.C (WorkArea): remove unneeded floats in computation
8240 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8242 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8244 * paragraph.C (asString): Do not ignore newline/hfill chars when
8245 copying to the clipboard.
8247 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8249 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8250 after a multi-line inset.
8252 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8254 * paragraph.C (validate): Set NeedLyXFootnoteCode
8256 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8258 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8259 and decrease-error to decrease.
8261 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8263 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8264 it more readable (should be equivalent)
8266 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8268 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8270 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8272 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8273 of a cursor (row, etc.) after a character has been deleted
8274 (deleteEmptyParagraphMechanism): call the method above on _all_
8275 cursors held by the LyXText when a double space has been
8278 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8280 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8282 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8284 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8285 background. Use greyOut() and the new show() methods to toggle between
8286 the foreground and background. Add code to remove the splash after
8287 its initial showing.
8289 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8290 (create_forms): no longer call Dialogs::showSplash.
8292 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8294 * .cvsignore: add version_info.h
8296 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8298 * version_info.h.in: new file
8300 * Makefile.am: add version_info.h.in
8302 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8303 version_info.h instead of VERSION_INFO
8305 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8307 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8308 The ERT inset now returns string().
8310 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8312 * lyxtext.h, text.C (selectNextWord): renamed as
8313 selectNextWordToSpellcheck.
8315 * text.C (selectNextWordToSpellcheck): Modified to not select
8316 words inside an ERT inset.
8318 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8320 * lyx_cb.C (MenuLayoutSave): change a bit the question
8322 * sp_base.h: include <sys/types.h>
8324 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8326 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8328 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8330 * several files: fix typos in user-visible strings
8332 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8334 * text2.C (pasteSelection): do not set the selection, since it
8335 will be cleared later. Actually, the intent was to fix the way the
8336 selection was set, but I figured rmoving the code was just as good.
8338 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8340 * FontLoader.C (available): Check if font is available without
8343 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8345 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8347 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8349 * lyxrc.[Ch]: added display_graphics variable and associated code.
8351 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8353 * bufferparams.C (hasClassDefaults): new method. Returns true if
8354 the buffer parameters correspond to known class defaults
8356 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8358 * XFormsView.C (show): set minimum size to the main window.
8360 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8362 * text2.C (copySelection):
8364 * lyxfind.C (LyXReplace):
8365 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8366 LyXText::selectionAsString.
8368 * paragraph.C (asString): add "label" argument to the second form
8370 * text2.C (selectionAsString): add "label" argument and pass it to
8371 Paragraph::asString.
8373 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8375 * lyx_main.C (commandLineHelp): remove version information
8377 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8379 * lyx_main.C: add -version commandline option
8381 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8383 * paragraph.h: make the optional constructor arg required instead.
8384 some modifications to other files because of this.
8386 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8388 * lyxserver.C (C_LyXComm_callback): make it static
8390 * lyx_main.C (error_handler): make it static
8392 * lyx_gui.C (LyX_XErrHandler): make it static
8394 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8396 * WorkArea.C: make the extern "C" methods static.
8398 * Makefile.am (lyx_LDADD): simplify
8400 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8402 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8403 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8405 * LyXAction.C (init):
8406 * lyxfunc.C (dispatch): associated code removal.
8408 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8410 * lyxfont.h (isSymbolFont): shut off warning
8412 * text.C (setHeightOfRow):
8413 (getVisibleRow): fix crash with empty paragraphs which have a
8416 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8418 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8421 2001-09-04 José Matos <jamatos@fep.up.pt>
8424 * tabular.C (docbook): rename docBook method to docbook.
8426 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8428 * Makefile.am: add dependencies to main.o.
8430 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8432 * FontLoader.C (available): Return false if !lyxrc.use_gui
8434 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8436 * FontInfo.C (query):
8437 * converter.C (view):
8438 * importer.C (Import):
8439 * exporter.C (Export): Can not -> cannot.
8441 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8443 * BufferView_pimpl.C: allow to create index inset even if
8446 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8448 * buffer.C (getLists): replace boost::tie code with an explicit pair
8449 as boost::tie can break some compilers.
8451 * iterators.h: Added a std:: declaration to the return type of
8454 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8456 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8459 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8461 * iterators.[Ch]: New files. Provide paragraph iterators.
8463 * buffer.C (changeLanguage): Use paragraph iterators.
8464 (isMultiLingual): ditto
8466 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8468 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8470 * FontLoader.C: Support for cmr font.
8472 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8474 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8475 (available): New method.
8477 * FontInfo.C (getFontname): Use scalable fonts even when
8478 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8481 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8483 * converter.C (Formats::view): reverted! Incorrect fix.
8485 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8487 * converter.C (Formats::view): only output the -paper option
8488 if the dvi viewer is xdvi, thereby fixing bug #233429.
8490 2001-08-23 Herbert Voss <voss@perce>
8492 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8494 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8496 * Spacing.h (Spacing): Set space to Default on in the default
8499 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8501 * vc-backend.h (RCS::versionString): add RCS to version
8502 (CVS::versionString): add CVS to version
8504 * vc-backend.C (scanMaster): do not add CVS to version.
8505 (scanMaster): do not add RCS to version
8507 * lyxvc.C (versionString): new method
8509 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8511 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8513 * Spacing.C (set): initialize fval
8515 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8517 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8520 2001-08-16 Juergen Vigna <jug@sad.it>
8522 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8524 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8526 * BufferView_pimpl.C:
8529 * text2.C: setParagraph takes linespacing now
8531 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8533 * LyxAction.C: add internal LFUN_CITATION_INSERT
8535 * LyXView.C: actually apply fix
8537 * bufferlist.C: fix open non-existent file
8539 * lyxfind.C: fix indentation
8541 * lyxfunc.C: remove unneeded assert, fix typo
8543 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8545 * MenuBackend.C: use "Floatname List"
8547 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8549 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8550 when converting LaTeX layout to insetERT.
8551 Generate a non-collapsed float when reading old float
8553 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8555 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8558 2001-08-13 Juergen Vigna <jug@sad.it>
8560 * text.C (fill): return 0 instead of 20 as this seems to be the more
8563 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8565 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8568 2001-08-13 Juergen Vigna <jug@sad.it>
8570 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8572 (SearchBackward): comment out the unlocking of the inset_owner this
8573 should not be needed!
8575 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8577 * Many files: Remove inherit_language, and add latex_language
8579 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8582 2001-08-10 Juergen Vigna <jug@sad.it>
8584 * text.C (prepareToPrint): fixed hfill-width in draw!
8586 * BufferView2.C (selectLastWord): save the selection cursor as this
8587 now is cleared in the function LyXText::clearSelection!
8589 2001-08-08 Juergen Vigna <jug@sad.it>
8591 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8592 BACKSPACE type functions.
8594 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8595 is only cutted from the document but not put in the cut-buffer, where
8596 still the old stuff should be.
8598 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8600 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8602 * tabular.C (SetWidthOfCell): fixed special case where the width
8604 (LeftLine): handle '|' in align_special.
8606 (LeftAlreadyDrawed): ditto
8607 (SetWidthOfCell): ditto
8609 2001-08-07 Juergen Vigna <jug@sad.it>
8611 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8613 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8615 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8616 * lyxlex.[hC]: ditto
8618 2001-08-06 Juergen Vigna <jug@sad.it>
8620 * text.C (getVisibleRow): fix up row clearing a bit.
8622 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8624 * minibuffer.C: make sure the X server sees the changes in the input.
8626 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8628 * paragraph.C (getFont): split into...
8629 (getLabelFont): this
8630 (getLayoutFont): and this
8631 * paragraph_pimpl.C (realizeFont): calling this
8633 * text2.C (getFont): split into...
8634 (getLayoutFont): this
8635 (getLabelFont): and this
8636 (realizeFont): all three calling this
8638 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8641 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8643 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8645 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8647 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8648 layouts from the Quote inset insertion.
8650 2001-08-03 Juergen Vigna <jug@sad.it>
8652 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8654 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8655 only if status not is already CHANGED_IN_DRAW (second level).
8657 * text.C (draw): don't set the need_break_row when inside an
8660 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8662 * buffer.C (parseSingleLyXformat2Token): handle more latex
8665 * bufferview_funcs.[hC]: change function names to
8666 begin with small char, adjust other files.
8668 2001-08-02 André Pönitz <poenitz@gmx.net>
8671 BufferView_pimpl.C: remove broken special code for math-greek
8673 2001-08-02 Juergen Vigna <jug@sad.it>
8675 * BufferView_pimpl.C (update): redone this function so that we
8676 update the text again if there was a CHANGE_IN_DRAW.
8678 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8679 (drawFromTo): added a new internal bool which is used by draw() and
8681 (general): some cursor drawing problems fixed.
8683 2001-08-01 Juergen Vigna <jug@sad.it>
8685 * lyxfind.C (LyXFind): fixed
8686 (SearchForward): ditto
8687 (SearchBackward): ditto
8689 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8690 spurius drawing of the cursor in the main area.
8692 * text2.C (status): small fix which could lead to a segfault!
8693 (clearSelection): remove unneeded BufferView param.
8695 2001-08-01 André Pönitz <poenitz@gmx.net>
8697 * lyxfunc.C: small change due to changed mathed interface
8699 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8701 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8703 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8705 * lyxfunc.c: fail gracefully if file doesn't exist
8710 * BufferView_pimpl.C: IsDirWriteable() proto changed
8712 * LyXView.C: fix updateWindowTitle() to store the last title
8714 2001-07-31 Juergen Vigna <jug@sad.it>
8716 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8717 the font (wrong since using of Paragraph::highestFontInRange).
8719 * paragraph.C (highestFontInRange): added a default_size parameter.
8721 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8722 (setHeightOfRow): reformat
8724 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8726 * converter.[hC] + affected files: move to (inital-char)lowercase
8729 * ParagraphParameters.C (ParagraphParameters): remove commented code
8731 * PainterBase.[Ch]: remove commented code
8733 * LaTeXFeatures.h: add "bool floats" for float.sty
8735 * LaTeXFeatures.C (LaTeXFeatures): init floats
8736 (require): handle float
8737 (getPackages): do it with floats
8739 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8741 * BufferView_pimpl.C (Dispatch): improve handling of
8742 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8744 * commandtags.h: #include lyxfont.h here temporarily to avoid
8747 * bufferlist.h: include LString.h here.
8749 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8751 * text2.C (getStringToIndex): new method.
8753 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8755 * *: Reduced header file dependencies all over.
8757 2001-07-30 Baruch Even <baruch@lyx.org>
8759 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8761 2001-07-29 Baruch Even <baruch@lyx.org>
8763 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8765 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8767 * ParameterStruct.h (endif): add a default constructor to make
8768 sure that all variables is initialized.
8770 * ParagraphParameters.C (ParagraphParameters): adjust
8772 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8774 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8775 index; also, check that there is something to index, and that it
8776 does not span over several paragraphs.
8777 (doubleClick): use WHOLE_WORD_STRICT for double click.
8779 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8781 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8784 2001-07-26 Baruch Even <baruch@lyx.org>
8786 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8787 an InsetFig figure, backwards compatible reading of old figure code.
8789 2001-07-27 Juergen Vigna <jug@sad.it>
8791 * text2.C: font.realize function adaption.
8793 * text.C (draw): add a warnings lyxerr text if needed.
8795 * layout.C: font.realize function adaption.
8797 * language.C: add inherit_language and implement it's handlings
8799 * bufferview_funcs.C (StyleReset): remove language parameter from
8800 font creation (should be language_inherit now).
8802 * bufferparams.C (writeFile): handle ignore_language.
8804 * paragraph.C (getFontSettings): the language has to be resolved
8805 otherwise we have problems in LyXFont!
8807 * lyxfont.C (lyxWriteChanges): added document_language parameter
8808 (update): removed unneeded language parameter
8810 * paragraph.C (validate): fixed wrong output of color-package when
8811 using interface colors for certain fonts in certain environments,
8812 which should not seen as that on the final output.
8814 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8816 * BufferView_pimpl.C:
8821 * LyXAction.C: add thesaurus support
8824 * lyxfind.C: add "once" parameter, for thesaurus, to not
8825 move to the next match
8827 2001-07-26 Juergen Vigna <jug@sad.it>
8829 * lyxfont.C (realize): honor ignore_language too!
8832 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8834 * text.C (draw): one place more for ignore_language to not draw
8837 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8839 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8841 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8843 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8844 the minipage conversion problem.
8846 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8848 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8851 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8853 * BufferView.h: don't forward declare WorkArea
8855 * BufferView.C: don't include WorkArea.h
8857 2001-07-25 André Pönitz <poenitz@gmx.net>
8861 * lyxfunc.C: new LFUN 'math-space'
8863 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8865 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8867 * text2.C (toggleInset): call open/close
8869 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8871 * lyxfunc.C (dispatch): add debug for the disabled case
8873 * font.C (buttonText): make similar to rectText
8875 * buffer.C (readInset): comment out parsing of insetlist and
8878 * PainterBase.C (rectText): small correction
8880 * BufferView_pimpl.C: comment out insettheorem and insetlist
8881 * LyXAction.C: ditto
8882 * commandtags.h: ditto
8884 2001-07-24 Juergen Vigna <jug@sad.it>
8886 * text.C (draw): honor the ignore_language.
8888 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8890 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8892 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8895 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8897 * lyxtext.h: remove unused (and unimplemented) methods
8899 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8901 * text.C (getVisibleRow): honor background color
8904 * Painter.h: remove default color argument for fillRectangle
8906 * text.C (backgroundColor): new method
8908 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8910 * text.C (getVisibleRow): adjust
8912 * font.[Ch] (rectText): new method, metrics
8913 (buttonText): new method, metrics
8915 * PainterBase.[hC]: make rectText and buttonText always draw and take
8918 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8920 * ToolbarDefaults.C (read):
8921 * MenuBackend.C (read): allow escaping in all strings
8923 * BufferView_pimpl.C (insertAndEditInset): new method.
8924 (Dispatch): use insertAndEditInset whenever appropriate.
8926 * BufferView_pimpl.C (insertNote): removed
8928 * BufferView_pimpl.C (smartQuote): new method, moved from
8929 BufferView; if an insetquote cannot be inserted, insert a '"'
8932 * BufferView2.C: remove insertCorrectQuote();
8934 * lyxfunc.C (getStatus): Add support for all remaingin
8937 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8939 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8940 command (necessary to pass " as parameter of self-insert.
8942 * text.C (selectWordWhenUnderCursor):
8943 (selectWord): add word_location parameter
8944 (selectWordWhenUnderCursor): same + remove special code for word
8946 (selectNextWord): use kind() to guess type of insetspecialchar,
8949 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8950 (insertErtContents): create ert insets as collapsed.
8951 (readInset): better compatibility code for Info inset.
8953 2001-07-20 Juergen Vigna <jug@sad.it>
8955 * lyxfunc.C (dispatch): use always LyXFind now!
8957 * text2.C (init): add a reinit flag so that the LyXText can be
8958 reinited instead of deleted and reallocated (used in InsetText).
8960 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8966 2001-07-18 Juergen Vigna <jug@sad.it>
8968 * text.C (selectNextWord): handle insets inside inset by calling
8969 always the bv->text functions so that we can go up the_locking_inset!
8971 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8972 in strange locations when inside an inset!
8974 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8975 handling to include insets.
8977 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8979 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8981 * LyXAction.C (init):
8983 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8984 LIGATURE_BREAK, since the name is so stupid.
8986 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8988 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8991 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8993 * sp_form.[Ch]: remove.
8995 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8997 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9000 * src/buffer.C (readInset): ditto.
9002 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9004 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9005 menuSeparator(), endOfSentenceDot(), ldots() and
9006 hyphenationPoint(), which are therefore removed.
9007 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9009 * LyXAction.C (init):
9010 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9012 * paragraph.C (getWord): removed.
9014 * BufferView_pimpl.C (Dispatch): use last word or selection for
9015 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9017 * lyx_main.C (queryUserLyXDir): do not ask before creating
9018 user_dir, except if it has been named explicitely.
9020 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9022 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9023 a document of zero size.
9025 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9027 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9028 approriately in the c-tor and in require().
9029 (getPackages): output the appropriate LaTeX for natbib support.
9031 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9032 variables "use_natbib" and "use_numerical_citations" when reading the
9034 (readInset): read the various natbib cite commands.
9035 (validate): white-space change.
9037 * bufferparams.[Ch]: new variables "bool use_natbib" and
9038 "bool use_numerical_citations".
9039 (writeFile): output them in the LyX file.
9041 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9043 * lyxfunc.C (getStatus): add support for all the inset insertion
9046 * text2.C (insertInset):
9047 * paragraph.C (insetAllowed):
9048 * BufferView_pimpl.C (insertInset): update to take in account the
9049 renaming of insertInsetAllowed
9051 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9053 * text2.C (getInset): new method. returns inset at cursor position.
9055 * BufferView_pimpl.C (Dispatch): changes because of this.
9057 * LyXAction.C (init): rename open-stuff to inset-toggle.
9059 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9061 * text2.C (toggleInset): renamed from openStuff; use
9064 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9066 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9068 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9070 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9072 * buffer.C (readLyXformat2): Add filename to the error dialog
9074 2001-07-18 Juergen Vigna <jug@sad.it>
9076 * tabular.C (GetCellNumber): put an assert here instead of the check!
9078 2001-07-17 Juergen Vigna <jug@sad.it>
9080 * BufferView_pimpl.C (toggleSelection): adapted too.
9082 * text.C (selectNextWord): adapted for use with insets.
9083 (selectSelectedWord): ditto
9085 2001-07-17 Juergen Vigna <jug@sad.it>
9087 * sp_spell.C (PSpell): fix initialitation order.
9089 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9091 * paragraph.C: spacing
9093 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9095 * sp_spell.C: repair language selection for pspell
9097 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9099 * lyxfunc.h: change more methods to begin with lower char.
9101 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9103 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9104 for unknown layouts.
9106 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9108 * buffer.C (readLyXformat2): Generate an error dialog if there are
9111 2001-07-16 Juergen Vigna <jug@sad.it>
9113 * sp_spell.C: always compile ISpell part.
9115 * lyxrc.C: added use_pspell entry and it's handling.
9117 2001-07-13 Juergen Vigna <jug@sad.it>
9119 * sp_spell.C: removed double includes.
9121 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9123 Consistent use of Lsstream.h:
9124 * Lsstream.h: added using std::stringstream for consistencies sake.
9126 * buffer.C: removed using std::stringstream
9128 * lyxfont.C (stateText):
9129 * paragraph.C (asString):
9130 * text.C (selectNextWord, selectSelectedWord):
9131 * text2.C (setCounter):
9132 * vspace.C (asString, asLatexString):
9133 std::ostringstream -> ostringstream.
9135 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9137 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9138 * commandtags.h: add LFUN_HELP_ABOUTLYX
9139 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9141 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9143 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9145 * lyx_gui_misc.C: remove spellchecker
9146 * lyxfunc.C: showSpellchecker
9148 * sp_ispell.h: added
9149 * sp_pspell.h: added
9151 * sp_form.[Ch]: removed
9152 * spellchecker.[Ch]: removed
9154 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9156 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9158 (simpleTeXSpecialChars): Simply print the input character without
9159 any special translation if pass_thru is set.
9161 * layout.h: Added bool pass_thru to layout class for being able to
9162 implement pass through of a paragraph for Literate Programming.
9164 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9165 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9166 * layout.C (Read): add "passthru" to list of layout tags and add
9167 code to set the pass_thru boolean when it is read.
9169 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9171 * trans_decl.h: remove allowed from KmodInfo
9173 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9177 * paragraph_pimpl.C (erase): use boost::prior
9179 * Painter.C (text): use data() instead of c_str() when length is
9181 * WorkArea.C (putClipboard): ditto
9182 * font.h (width): ditto
9184 * BufferView2.C: use it-> instead of (*it). for iterators
9186 * paragraph_pimpl.C: ditto
9187 * paragraph.C: ditto
9188 * minibuffer.C: ditto
9193 * converter.C: ditto
9195 * Variables.C: ditto
9196 * TextCache.C: ditto
9197 * MenuBackend.C: ditto
9198 * LyXAction.C: ditto
9200 * FloatList.C: ditto
9202 * ColorHandler.C (LyXColorHandler): ditto
9204 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9206 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9208 * text2.C (openStuff): reintroduce this method (which had been
9209 nuked in NEW_INSETS frenzy).
9211 * lyxfunc.C (Dispatch): when an action has not been handled, use
9212 its name in the error message, not its number.
9214 * paragraph.C (inInset): change method name to begin with lowercase.
9217 * text2.C: updates because of this.
9219 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9221 * ToolbarDefaults.C (add): add spaces in error message
9223 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9225 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9226 (readLyXformat2): rename return_par to first_par, use lyxlex's
9227 pushToken and remove the manual push handling.
9228 (parseSingleLyXformat2Token): add another ert comp. variable:
9229 in_tabular, rename return_par to first_par. handle newlines better
9231 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9233 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9235 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9237 * text2.C (getParFromID): removed
9239 * buffer.C (getParFromID): new method moved form lyxtext.
9240 * BufferView2.C (insertErrors): adjust
9241 (setCursorFromRow): adjust
9242 * BufferView_pimpl.C (restorePosition): adjust
9243 * lyxfunc.C (Dispatch): adjust
9244 * undo_funcs.C (textUndo): adjust
9246 (textHandleUndo): adjust
9247 (textHandleUndo): adjust
9249 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9251 * buffer.C: up' the LYX_FORMAT
9253 * lyxfont.h: turn NO_LATEX on as default
9255 * buffer.C (insertErtContents): new methods of tex style compability.
9256 (parseSingleLyXformat2Token): use it several places.
9257 * tabular.C (OldFormatRead): and here
9259 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9261 * text2.C: remove some commented code.
9264 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9265 * trans.C: changes because of the above.
9267 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9269 * text2.C (setCounter): Fix counters bug with bibliography layout.
9271 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9273 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9274 own member functions
9275 (simpleTeXSpecialChars): ditto
9277 2001-07-06 Juergen Vigna <jug@sad.it>
9279 * a lot of files: changed the access to LyXText::status and the
9280 call of undo-functions.
9282 * undo.[Ch]: added a inset_id to the undo informations.
9284 * undo_funcs.[Ch]: added and moved here all undo functions.
9286 * lyxtext.h: give the status enum a weight, made status_ a private
9287 variable and made accessor functions for it, removed the whole bunch
9288 of undo-functions as they are now in their own file, make some
9289 functions publically available. Added function ownerParagraph with
9292 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9293 made InInset() a const function, added getParFromID() function.
9295 * buffer.[Ch]: added const version for inset_iterator functions,
9296 added getInsetFromID() function.
9298 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9299 changed undo functions for new version.
9301 2001-07-05 Juergen Vigna <jug@sad.it>
9303 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9304 unknow mechanism does not call the proper constructor but only this
9305 one also if I request the other!?
9307 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9309 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9311 * text2.C (LyXText): use initialization lists.
9313 * lyxtext.h (Selection): initialize set_ and mark_
9314 (init): remove method
9316 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9318 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9320 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * screen.[Ch]: change method names to begin with lowercase
9324 * BufferView_pimpl.C (updateScrollbar): simplify further and
9325 hopefully make it a bit faster.
9327 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9329 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9330 calling directly xforms functions.
9332 * Painter.C (Painter):
9333 * lyx_cb.C (MenuWrite):
9334 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9337 * lyx_gui.C: remove bogus guiruntime extern declaration.
9339 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9341 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9343 (redoDrawingOfParagraph): ditto
9344 (redoParagraphs): ditto
9345 (cutSelection): don't create a object for CutAndPaste use the
9346 static method directly
9347 (pasteSelection): ditto
9349 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9352 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9354 * modifications to some other files because of this.
9356 * Makefile.am (lyx_SOURCES): add XFormsView
9358 * XFormsView.[Ch]: new files
9360 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9361 the main window. Move the gui dependent stuff to XFormsView
9363 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9365 * tabular.C (GetCellInset): update cur_cell also in the row/col
9366 version of this function.
9368 * lyxfunc.C: no need to include figure_form.h here.
9374 * lyxvc.C: no need to include forms.h here.
9376 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9378 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9380 * lyxfunc.C (Dispatch):
9382 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9383 constructor argument.
9385 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9387 * paragraph.C (Paragraph): dont't clear, and just set layout.
9388 (makeSameLayout): use params's copy contructor.
9390 * ParagraphParameters.[Ch] (makeSame): delete method
9392 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9394 * Variables.[Ch]: fix indentation, rename set to isSet
9396 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9398 * lyxfunc.C (Dispatch): fix typo
9400 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9402 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9405 * bufferlist.C: include assert.h for emergencyWrite().
9407 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9409 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9410 give up at last (bug #425202) !
9412 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9418 * spellchecker.C: strip spellchecker options and bring up
9419 preferences tab instead
9421 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9423 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9424 the istringstream constructor
9426 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9428 * paragraph.C (getLayout): fix return value
9430 * paragraph.h: do not declare getLayout as inline.
9432 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9434 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9436 * lyxcursor.h (operator<): new func
9437 (operator>): new func
9438 (operator>=): new func
9439 (operator<=): new func
9441 * text.C (changeCase): use selection.start and selection.end
9442 (changeRegionCase): require from to be <= to. Require par to be a
9445 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9447 2001-06-27 Juergen Vigna <jug@sad.it>
9449 * text.C (cursorLeftOneWord): changed to return the cursor and added
9450 overlay with BufferView * parameter which calls this one.
9452 (selectWord): use new getWord function.
9453 (changeCase): renamed from changeWordCase as and extended to work
9456 * lyxtext.h: added enum word_location
9458 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9459 changeCase as this operates now also on selections.
9461 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9463 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9465 * many files: send debug output to Debug::INFO instead of
9468 * converter.C (View):
9470 (Move): send debug output to Debug::FILES instead of console.
9472 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9474 * lyxfunc.C (getStatus): use func_status
9476 * func_status.h: new header, describing the results of
9479 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9482 2001-06-25 The LyX Project <jug@sad.it>
9484 * buffer.C (sgmlOpenTag):
9486 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9488 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9490 * text2.C: remove some dead code
9492 * tabular.C (GetCellInset): store the last cell checked (gotten)
9494 * tabular.h: add the helper for the speedup
9496 * lyxtext.h: remove some dead code
9498 2001-06-26 The LyX Project <Asger>
9500 * paragraph.C: Change export to LaTeX of alignment to
9501 \begin{center} and family for better roundtrip work with reLyX.
9503 * Tune the math drawing a bit.
9505 2001-06-25 The LyX Project <Asger>
9507 * LColor.C (LColor): New color for math background. New color
9510 2001-06-25 The LyX Project <jug@sad.it>
9512 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9515 * bufferlist.C (newFile): do not restrict to files ending with
9518 * BufferView_pimpl.C (MenuInsertLyXFile):
9520 2001-06-24 The LyX Project <jug@sad.it>
9522 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9525 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9527 * lyxtext.h: rename most methods to begin with a small char.
9528 Lots of changes because of this.
9530 * paragraph.C (Paragraph): do not call fitToSize
9531 (erase): call Pimpl::erase
9532 (insertChar): call Pimpl::insertChar
9533 (insertInset): call Pipl::insertInset
9534 (breakParagraph): do not call fitToSize
9535 (breakParagraphConservative): do not call fitToSize
9536 (fitToSize): remove method
9538 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9540 2001-06-24 The LyX Project <Asger>
9542 * Fix Qt compilation^2
9544 2001-06-24 The LyX Project <jug@sad.it>
9546 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9547 depthHook(getDepth()-1).
9550 * ParagraphParameters.h:
9551 * ParameterStruct.h: change type of depth to unsigned int ==
9552 depth_type. Many adaptations to other files before of that.
9554 2001-06-24 The LyX Project <Asger>
9556 * Fix Qt compilation.
9558 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9560 * paragraph.h: renamed several methods to begin with small letter.
9561 several changes to many parts of the code because of this.
9563 2001-06-23 The LyX Project <jug@sad.it>
9565 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9566 rewritten to discard all double spaces when KeepEmpty is off
9567 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9568 to only handle newlines but not fiddle with spaces and friends.
9570 * lyxfunc.C (MenuNew): when doing 'new from template', use
9571 template_path as default directory
9573 2001-06-23 The LyX Project <Asger>
9575 * Clean-up of header file includes all over
9576 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9578 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9580 * paragraph.h: renamed from lyxparagraph.h
9582 2001-06-23 Asger <lyx@violet.home.sad.it>
9584 * Buffer.h: Removed Buffer::resize
9585 * BufferList.h: Removed BufferList::resize
9586 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9587 the document lazily when we change the width, or the font settings.
9589 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9591 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9593 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9595 * buffer.h: remove out of date comment
9597 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9600 * screen.C: fix "theoretical" GC leak
9602 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9604 * LaTeX.C (scanAuxFile):
9605 (deplog): remove trailing \r when reading stream (useful under
9608 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9610 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9611 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9612 and BufferView::theLockingInset(Inset*), so should use them and not
9613 access bv_->text->the_locking_inset directly.
9615 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9617 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9620 * tex-defs.h: remove old unused file
9622 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9624 * BufferView_pimpl.C: fix typo, remove minibuffer message
9625 when buffer has loaded
9627 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9629 * lyxfunc.C (Dispatch): use stringstream
9630 (MenuNew): use stringstream
9631 (Open): use stringstream
9633 * importer.C (Import): use stringstream
9635 * bufferview_funcs.C (CurrentState): use stringstream
9637 * LaTeX.C (run): use stringstream
9639 * BufferView_pimpl.C (savePosition): use stringstream
9640 (restorePosition): use stringstream
9641 (MenuInsertLyXFile): use stringstream
9643 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9656 * vspace.C: removed // -*- C++ -*- as first line.
9659 * version.h: added // -*- C++ -*- as first line.
9661 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9663 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9665 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9668 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9670 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9673 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9675 * gettext.C: include LString.h even when --disable-nls is on.
9677 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9679 * converter.h (Get): changed argument type from int to
9680 FormatList::size_type to avoid unnecessary conversion.
9682 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9685 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9687 * gettext.h: include LString.h even when --disable-nls is on.
9689 2001-06-07 Juergen Vigna <jug@sad.it>
9691 * text.C (BreakAgain): subst spaces with tabs.
9693 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9694 (resizeInsetsLyXText): set force on resizeLyXText.
9696 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9698 * gettext.h (gettext_init):
9699 (locale_init): use a real definition instead of a macro
9701 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9703 * Bufferview_pimpl.C:
9705 * LColor.C: further lcolor tidies
9707 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * BufferView_pimpl.C (updateScrollbar): simplify.
9711 * BufferView2.C: don't include insets/insetinfo.h, change
9712 prototype for insertInset and call the Pimpl version. let
9713 updateInset call Pimpl version.
9715 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9716 gotoInset to BufferView::Pimpl
9718 2001-06-01 Juergen Vigna <jug@sad.it>
9720 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9721 inside a LockingInset (is the update needed at all?).
9723 2001-05-31 Juergen Vigna <jug@sad.it>
9725 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9726 here not the old one otherwise how should we compare it afterwards
9729 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9734 * FontInfo.C: bring C functions into global namespace when
9737 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9739 * LString.h: make sure config.h has been loaded before LString.h.
9741 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9742 (one for each char read by EatLine!).
9744 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9747 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9750 to the same as the par we break from
9752 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9754 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9756 * MenuBackend.C (expand): also create menu entries for wide
9757 versions of the floats.
9759 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9761 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9763 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9764 frontends/Makefile.am
9770 * tabular.C (getTokenValue): add std::
9772 * tabular-old.C (getTokenValue): add std::
9773 (getTokenValue): ditto
9774 (getTokenValue): ditto
9776 * screen.C (ToggleSelection): adjust
9778 * lyxtext.h: put selection cursors inside a Selection struct.
9780 * lyxfunc.C (moveCursorUpdate): adjust
9782 * lyxfont.C (latexWriteStartChanges): add std::
9786 * font.h: delete with(char const *, LyXFont const &)
9788 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9790 * FontInfo.C (getFontname): add std::
9792 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9793 (workAreaButtonPress): adjust
9794 (tripleClick): adjust
9796 (moveCursorUpdate): adjust
9799 * BufferView2.C (gotoInset): adjust
9801 2001-05-30 Juergen Vigna <jug@sad.it>
9803 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9804 to check pspell I add this as default as I now have new pspell
9805 libraries and they seem to use this.
9807 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * text2.C (CutSelection): make the cursor valid before the call to
9812 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9814 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9815 relied on 0 terminated strings and other horrors. Bug found due to
9816 the new assert in lyxstring!
9818 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9821 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9823 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9826 * lyxfunc.C (processKeySym): change method of getting to the
9829 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9830 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9831 * BufferView_pimpl.[Ch]: here as private methods.
9833 2001-05-28 Juergen Vigna <jug@sad.it>
9835 * text.C (SetHeightOfRow): added the update() call again as it is
9836 needed to initialize inset dimensions!
9838 2001-05-16 Juergen Vigna <jug@sad.it>
9840 * text2.C (SetCharFont): Add new function with BufferView * and
9841 bool toggleall parameters for setting insets internal fonts.
9842 (SetFont): Freeze the undo as we may change fonts in Insets and
9843 all this change should be inside only one Undo!
9845 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9846 setting font's in insets as for them we have the SetFont function!
9848 2001-05-15 Juergen Vigna <jug@sad.it>
9850 * text2.C (ClearSelection): to be sure we REALLY don't have any
9853 * tabular.C (TeXCellPreamble): fixed the left border problem for
9856 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9858 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9861 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9863 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9864 LFUN_BREAKPARAGRAPH.
9866 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9867 help test to "internal only", similar for LFUN_INSERT_URL
9869 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9870 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9871 auto_region_delete and deadkeys.
9873 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9876 * LColor.C: remove some dead entries, tidy a little
9878 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9880 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9882 (Dispatch): implement LFUN_ESCAPE
9884 * commandtags.h: add LFUN_ESCAPE
9886 * LyXAction.C (init): add entry for LFUN_ESCAPE
9888 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9889 Remove commented code.
9890 (insertNote): moved here
9891 (open_new_inset): moved here
9893 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9896 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9898 * kbmap.C (findbinding): clean it up and make it work correctly.
9900 * lyx_main.C (init): do not pass argc and argv as parameters
9902 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9904 * buffer.C: fix path for OS/2 & Win32
9908 * lyx_main.C: Added os:: class.
9910 * os2_defines.h: update
9912 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9914 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9915 better by trying again with reduced state.
9917 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9919 * lyxrc.C (read): print error about invalid key sequence only when
9920 debugging (because not all latinX keysyms are known to some X
9923 * kbsequence.C (getiso): add a few std:: qualifiers
9924 (getiso): comment out extra return statement.
9926 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9928 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9930 (Dispatch): enhance the accent inset a bit. (not perfect)
9932 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9934 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9936 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9938 * bufferlist.C (emergencyWrite): fix assert() call
9940 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9942 * text.C (InsertChar): Added trivial patch to only send the "you
9943 can not do multiple spaces this way" message once during a
9946 2001-05-08 Baruch Even <baruch@lyx.org>
9948 * Makefile.am: Changed order of libraries to get LyX to link properly
9949 with the gnome frontend.
9951 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9953 * LaTeXFeatures.h: add a std:: qualifier
9955 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9957 * paragraph.C (String): use stringstream
9959 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9961 * paragraph.C (writeFile): remove footflag arg
9963 * buffer.C (makeLaTeXFile): use stringstream
9964 (latexParagraphs): remove footnot gurba
9966 * LaTeXFeatures.C (getPackages): use stringstream
9967 (getMacros): likewise
9968 (getTClassPreamble): likewise
9969 (getFloatDefinitions): new method
9971 * paragraph.C (writeFile): reindent
9974 * WorkArea.h: revert the xpos + etc changes.
9976 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9978 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9980 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9981 (pasteSelection): likewise
9982 * text2.C (CreateUndo): likewise
9984 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9986 * minibuffer.C (peek_event): temporarily reduce the functionality
9987 of the minibuffer (to allow args on lfuns)
9989 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9990 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9992 * buffer.C (readInset): add compability reading of old float
9993 lists, add reading of new style float list.
9994 (readInset): avoid reevaluation of inscmd.getCmdName()
9995 (getLists): reindent
9997 * MenuBackend.C (MenuItem): implement parsing of
9998 md_floatlistinsert and md_floatinsert.
9999 (expand::LastFiles): move initalizaton of iterators out of loop,
10000 avoid reevaluation.
10001 (expand::Documents): introduce typdedef vector<string> Strings,
10003 (expand::ExportFormats): introduce typedef vector<Format const *>
10004 Formats, and use it.
10005 (expand): implement FloatListInsert and FloatInsert.
10007 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10008 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10009 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10011 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10013 (Dispatch::LFUN_FLOAT_LIST): implement
10015 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10017 * LaTeX.C (run): Fix problem with --export code.
10019 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10021 * BufferView.[Ch] (workarea): removed.
10022 (getClipboard) new method; wrapper for workarea()->getClipboard()
10024 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10027 * WorkArea.h (width, height, xpos, ypos): These methods all
10028 returned the dimensions of the work_area sub-area of WorkArea,
10029 resulting in a position error if the WorkArea were resized. Now
10030 return the dimensions of the entire WorkArea.
10032 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10034 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10036 * LaTeX.C (deplog): correct the syntax of regex reg1
10038 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10040 * undo.C: remove !NEW_INSETS cruft
10042 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * text2.C: remove !NEW_INSETS cruft
10046 * text.C: remove !NEW_INSETS cruft
10048 * tabular.C: remove !NEW_INSETS cruft
10050 * spellchecker.C: remove !NEW_INSETS cruft
10052 * lyxtext.h: remove !NEW_INSETS cruft
10054 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10056 * lyxfunc.C: remove !NEW_INSETS cruft
10058 * lyxfind.C: remove !NEW_INSETS cruft
10060 * lyx_cb.C: remove !NEW_INSETS cruft
10062 * figureForm.C: remove !NEW_INSETS cruft
10064 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10066 * buffer.[Ch]: remove !NEW_INSETS cruft
10068 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10070 * CutAndPaste.C: remove !NEW_INSETS cruft
10072 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10074 * BufferView2.C: remove !NEW_INSETS cruft
10076 * BufferView.h: remove !NEW_INSETS cruft
10078 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10080 * Lsstream.h: include LString.h before the sstream headers to
10081 fix problem with gcc 2.95.3 and lyxstring
10083 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10085 * lyx_main.C: add using directives when needed for C functions
10086 declared in std:: namespace.
10088 2001-04-27 Juergen Vigna <jug@sad.it>
10090 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10091 (SetHeightOfRow): comment out the update call should not be needed!
10093 2001-04-13 Juergen Vigna <jug@sad.it>
10095 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10096 (LyXTabular): tried to minimize operator= operations (and realized
10097 hopfully Lars wish).
10099 2001-04-27 Juergen Vigna <jug@sad.it>
10101 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10103 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10105 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10107 * buffer.C (readInset): hack to make listof algorithm work
10109 * BufferView_pimpl.C: hack to make listof algorithm work
10111 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * LyXAction.C: removed all !NEW_INSETS cruft
10114 (init): moved lfun_item in method
10116 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10118 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10120 * BufferView2.C (theLockingInset): white space.
10122 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10124 * minibuffer.C: include <iostream>
10126 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10128 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10130 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10132 * text.[Ch] (TransposeChars): new method
10134 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10136 * call message directly through LyXView instead of through LyXFunc
10137 * BufferView2.C: adjust
10138 * BufferView_pimpl.C: adjust
10139 * FontLoader.C: adjust
10141 * bufferview_funcs.C: adjust
10142 * converter.C: adjust
10143 * figureForm.C: adjust
10144 * importer.C: adjust
10146 * lyx_gui_misc.C: adjust
10147 * lyxfunc.C: adjust
10150 + more files in subdirs
10152 * lyxparagraph.h (size): move up int file
10155 * adjust all uses of Assert to lyx::Assert.
10157 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10158 lyxfunctional in namespace lyx
10159 * layout.C (hasLayout): ditto
10162 (delete_layout): ditto
10163 (NumberOfClass): ditto
10164 * converter.C (GetFormat): ditto
10169 * bufferlist.C (getFileNames): ditto
10170 (emergencyWriteAll): ditto
10173 * MenuBackend.C (hasSubmenu): ditto
10176 * BufferView_pimpl.C (getInsetByCode): ditto
10178 2001-04-18 Juergen Vigna <jug@sad.it>
10180 * vspace.C (asLatexString): fixed the 100% problem.
10182 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10184 * lyxfunc.C (Dispatch):
10186 * minibuffer.h: add a few std:: qualifiers
10188 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10190 * minibuffer.[Ch]: reimplement so that commands is initiated and
10191 run from lyxfunc, simplified som handling, and made the completion
10192 and history code for complete. wip.
10194 * lyxfunc.C (processKeySym): call message
10195 (miniDispatch): new temporary method
10196 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10197 (LFUN_MESSAGE): implement
10198 (LFUN_MESSAGE_PUSH): implement
10199 (LFUN_MESSAGE_POP): implement
10200 (initMiniBuffer): the initial/defualt minibuffer message.
10202 * lyxfont.[Ch]: inline some more getters
10204 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10206 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10208 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10209 (AutoSave): use LFUN_MESSAGE
10210 (Reconfigure): ditto
10212 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10214 * figureForm.C: use LFUN_MESSAGE
10216 * converter.C (runLaTeX): use LFUN_MESSAGE
10218 * bufferview_funcs.C: use LFUN_MESSAGE
10220 (changeDepth): ditto
10222 * bufferparams.h: use boost::
10224 * bufferlist.h: inherit privately from noncopyable
10226 * bufferlist.C (loadLyXFile): remove some commented code.
10228 * buffer.C (runChktex): use LFUN_MESSAGE
10230 * ShareContainer.h: inherit privately from noncopyable
10232 * ParagraphParameters.[hC] (depth): inline it.
10234 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10236 (message): new method
10237 (messagePush): ditto
10238 (messagePop): ditto
10239 (show): init minibuffer
10240 (showState): direct call
10242 * LaTeX.[Ch]: inherit privately from noncopyable
10243 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10244 instead of WriteStatus.
10246 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10248 * BufferView_pimpl.C (buffer): don't init minibuffer
10249 (workAreaButtonPress): use LFUN_MESSAGE
10250 (workAreaButtonRelease): ditto
10251 (savePosition): ditto
10252 (restorePosition): ditto
10253 (MenuInsertLyXFile): ditto
10254 (workAreaExpose): don't init minibuffer
10255 (update): remove commented code, simplify
10257 * BufferView2.C (openStuff): use LFUN_MESSAGE
10258 (toggleFloat): ditto
10261 (copyEnvironment): ditto
10262 (pasteEnvironment): ditto
10267 (updateInset): remove some commented code
10269 * lastfiles.h: inherit privately from noncopyable
10272 * lyx_main.h: ditto
10274 * lyxlex_pimpl.h: ditto
10276 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10277 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10278 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10280 * LyXAction.h: inherit privately from noncopyable, add methods
10281 func_begin, func_end, returning iterators to the func map.
10283 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10284 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10285 (func_begin): new method
10286 (func_end): new method
10288 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10290 (copySelection): ditto
10291 (pasteSelection): ditto
10293 * BufferView.C: whitespace change
10294 * BufferView.h: inherit privately from noncopyable
10296 2001-04-16 Allan Rae <rae@lyx.org>
10298 * tabular-old.C (l_getline):
10299 * spellchecker.C (sc_check_word):
10300 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10301 an unrecognised preprocessor directive. So ensure they're wrapped.
10303 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10305 * src/exporter.C (Export): Give an error message when path to file
10308 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10310 * LaTeX.C (deplog): Always check that foundfile exists.
10312 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10315 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10317 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10319 * tabular.[Ch] (getLabelList): implement new method
10321 * minibuffer.h: comment ouf setTiimer
10323 * minibuffer.C (ExecutingCB): constify res
10324 (peek_event): constify s
10325 (Set): constify ntext
10326 (Init): constify nicename
10328 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10330 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10331 (savePosition): use two params to Minibuffer::Set
10332 (restorePosition): ditto
10334 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10336 * lyx_main.C: include language.h
10338 * Makefile.am (lyx_main.o): add language.h
10340 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10346 * CutAndPaste.C: include gettext.h
10348 * lyxfont.h: remove old hack with ON and OFF.
10351 * lyxfont.h: do not include language.h...
10356 * bufferview_funcs.C:
10362 * paragraph.C: ... but do it here instead
10364 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10366 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10368 * tabular.C: small reformat
10370 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10373 (BreakParagraph): ditto
10374 (SetOnlyLayout): ditto
10377 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10380 * lastfiles.C: removed most using decl, add std:: where needed
10382 * buffer.C: ws changes
10384 * MenuBackend.C (class compare_format): put into anon namespace
10385 (expand): constify label, names, action, action2
10388 * text.C (SingleWidth): constify font
10389 (IsBoundary): constify rtl2
10390 (GetVisibleRow): constify ww
10392 * LaTeX.C (deplog): constify logfile
10394 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10396 (workAreaExpose): constify widthChange, heightChange
10398 * lyxrow.C (par): moved
10401 * lyxrow.h: as inlines here
10403 * lyxfont.h (shape): moved from lyxfont.C
10404 (emph): moved from lyxfont.C
10406 * lyxfont.C (LyXFont): use initialization list for all
10408 (shape): move to lyxfont.h as inline
10409 (emph): move to lyxfont.h as inline
10412 2001-04-04 Juergen Vigna <jug@sad.it>
10414 * vspace.C: had to include stdio.h for use of sscanf
10416 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10419 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10420 independent of xforms.
10422 2001-04-02 Juergen Vigna <jug@sad.it>
10424 * spellchecker.C: fixed namespace placing!
10426 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10428 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10429 the LyXParagraph * is 0.
10431 2001-03-29 Juergen Vigna <jug@sad.it>
10433 * vspace.C: added support for %, c%, p%, l%.
10434 (stringFromUnit): added helper function.
10435 (asLatexString): changed to give right results for the %-values.
10437 * buffer.C: convert the widthp in a width%.
10439 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10441 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10444 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10445 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10447 * lyx_cb.[Ch]: see above.
10449 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10453 * lyx.[Ch]: replaced by figure_form.[Ch].
10457 * lyxfunc.C: changed headers associated with above changes.
10459 2001-03-27 Juergen Vigna <jug@sad.it>
10461 * BufferView_pimpl.C: set the temporary cursor right!
10463 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10465 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10467 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10469 * LString.h: removed "using std::getline"!
10471 * BufferView_pimpl.C (Dispatch): changes due to changes in
10472 InsetInclude::Params.
10474 * buffer.C (tag_name): removed redundant break statements as they were
10475 producing lots of warnings with my compiler.
10477 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10479 * LString.h: add "using std::getline" when using the real <string>.
10481 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10483 * buffer.C: removed bitset usage.
10484 PAR_TAG moved to an anonymous name space.
10485 (tag_name): new funtion, also in the anonymous namespace.
10486 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10487 (makeDocBookFile): clean code. Completed transition from string arrays
10489 (SimpleDocBookOnePar): code clean.
10491 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10493 * tabular.C: add some comments.
10495 2001-03-22 Juergen Vigna <jug@sad.it>
10497 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10498 compatibility read a bit and fixed bug with minipage in different
10501 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10503 * buffer.C (pop_tag): removed.
10504 (push_tag): removed.
10505 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10506 array replaced with vector. Added support for CDATA sections.
10507 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10509 (makeDocBookFile): XML conformant declaration of CDATA section,
10510 fixed bug related to <emphasis> in the first paragraph char.
10511 (sgmlOpenTag): exclude empty tags.
10512 (sgmlCloseTag): ditto.
10514 * buffer.h (pop_tag): removed.
10515 (push_tag): removed.
10517 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10519 * language.h (Languages): added size_type and size().
10521 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10523 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10524 response on compability reading of minipages. One probliem is that
10525 the old usage of minipages was «flertydig»
10527 * several files here and in subdirs: don't use static at file
10528 scope use anon namespaces instead.
10530 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10532 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10533 LaTeX output. This is necessary for Literate document
10536 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10538 * buffer.C: insert hfill when needed.
10540 * tabular.C (l_getline): use string::erase, small whitespace change.
10542 * BufferView_pimpl.C: try the anon namespace.
10543 * WorkArea.C: ditto
10545 2001-03-16 Juergen Vigna <jug@sad.it>
10547 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10548 otherwise it won't open options-dialogs.
10550 * buffer.C: honor pextraWidth(p) on converting minipages.
10552 * tabular.C (l_getline): changed the functions to strip trailing \r.
10554 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10556 * BufferView_pimpl.C:
10557 * minibuffer..C: added "using SigC::slot" declaration.
10559 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10561 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10567 * paragraph.C: ditto
10569 * lyxtext.h: NO_PEXTRA
10571 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10573 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10574 * ParameterStruct.h: ditto
10575 * ParagraphParameters.h: ditto
10576 * lyxparagraph.h: ditto
10578 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10580 * buffer.C: add compability for minipage alignment.
10581 (latexParagraphs): remove unwanted pextra check.
10583 * several files: remove CXX_WORKING_NAMESPACES
10585 * buffer.C (pop_tag): tie is in namespace boost
10587 * BufferView.h: noncopyable is in namespace boost
10589 * lyx_main.h: ditto
10592 * lastfiles.h: ditto
10593 * bufferlist.h: ditto
10594 * ShareContainer.h: ditto
10596 * LyXAction.h: ditto
10599 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10601 * Merging changes from BRANCH_MVC back into HEAD.
10603 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10605 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10607 * BufferView_pimpl.C: change from intl.C
10611 * Makefile.am: move combox.*
10617 * intl.C: remove dialog (covered by prefs)
10619 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10621 * lyxfunc.C (Dispatch): removed redundant break statement.
10623 2001-03-14 Juergen Vigna <jug@sad.it>
10625 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10627 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10629 * buffer.C: add hack to fix compability reading of minipages.
10631 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10633 * buffer.C (getLists): Cleanup.
10635 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10637 * lyxfont.C (update): don't honor toggleall on font size.
10639 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10643 * Makefile.am: moved to frontends/xforms/
10647 * BufferView_pimpl.C: changes for moved mathpanel
10649 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10651 * gettext.h: fix gettext_init() in --disable-nls
10653 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10655 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10657 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10660 * lyx.h: strip external form
10662 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10664 * BufferView_pimpl.C: add comment, destroySplash()
10666 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10668 * BufferView_pimpl.C:
10672 * lyxfunc.C: use re-worked insetinclude
10674 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10676 * buffer.C: add using std::stringstream.
10678 * lyx_cb.C: readd using std::ios.
10680 * buffer.C: add using std::map.
10682 * BufferView_pimpl.C: add using std::vector.
10684 * ShareContainer.h: add std:: to swap.
10686 * buffer.h: add some typedefs
10687 * buffer.C (getLists): use them
10688 (getLists): renamed from getTocList.
10689 add a counter for the different float types and use it in the
10691 (getLists): use the same counter for the NEW_INSETS and the "non"
10694 * lyx_cb.h: remove unused items, includes, using etc.
10696 * ShareContainer.h: remove some commented code, add more comments
10697 and "documentation".
10699 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10701 * buffer.C (getTocList): make the list also when NEW_INSETS is
10704 * buffer.h: remove TocType
10706 * buffer.C (getTocList): change to return a map<string,
10707 vector<TocItem> >, implement for dynamic number of list.
10709 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10710 * text2.C (PasteSelection): adjust
10711 * CutAndPaste.C (pasteSelection): adjust
10713 * FloatList.C (FloatList): update from the new_insets branch.
10714 * Floating.[Ch]: ditto
10715 * LaTeXFeatures.C: ditto
10717 * lyxlex_pimpl.C: ditto
10719 * paragraph.C (Last): remove when NEW_INSETS is defined.
10721 * other file: changes because of the above.
10723 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10725 * lyxparagraph.h: rename next to next_, previous to previous_,
10726 make them private for NEW_INSETS. Rename Next() to next(),
10727 Previous() to previous().
10729 * other files: changes because of the above.
10731 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10734 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10737 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10739 * main.C (main): pass lyx_localedir to gettext_init().
10741 * gettext.h: remove locale_init and gettext_init macros
10743 * gettext.C (locale_init): new function
10744 (gettext_init): new function
10746 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10749 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10751 * Moved credits to frontends:
10752 * credits.[Ch]: removed
10753 * credits_form.[Ch]: removed
10754 * lyx_gui_misc.C: remove credits stuff
10757 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10759 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10761 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10762 unneeded destructor.
10764 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10765 a standalone pointer again.
10767 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10769 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10775 * ToolbarDefaults.C:
10784 * BufferView_pimpl.C: use new file dialog in GUII
10787 * lyx_cb.C: remove LayoutsCB to Toolbar
10789 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10791 * ShareContainer.h (get): add std:: qualifier
10793 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10795 * ShareContainer.h: define a proper ShareContainer::value_type
10796 type (and use typename to please compaq cxx)
10798 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10800 * lyxparagraph.h: move serveral local vars to
10801 ParameterStruct/ParagraphParameters., use ShareContainer in
10802 FontTable., make vars in FontTable private and add getter and
10805 * paragraph.C: changes because of the above.
10807 * lyxfont.h: remove copy constructor and copy assignment. (the
10808 default ones is ok), move number inside FontBits. move inlines to
10811 * lyxfont.C: add number to initializaton of statics, move several
10812 inlines here. constify several local vars. some whitespace
10813 cleanup. Dont hide outerscope variables.
10815 * Spacing.h: add two new constructors to match the set methods.
10817 * ShareContainer.h: new file, will perhaps be moved to support
10819 * ParameterStruct.h: new file
10821 * ParagraphParameters.h: new file
10823 * ParagraphParameters.C: new file
10825 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10826 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10828 * BufferView_pimpl.C: ParagraphParameter changes.
10829 * buffer.C: Likewise.
10830 * bufferview_funcs.C: Likewise.
10831 * text.C: Likewise.
10832 * text2.C: Likewise.
10834 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10836 * lyxfind.C (LyXReplace): do not redefine default argument in
10838 (IsStringInText): ditto
10839 (SearchForward): ditto
10840 (SearchBackward): ditto
10842 2001-03-06 Juergen Vigna <jug@sad.it>
10844 * lyxfind.C (IsStringInText): put parentes around expressions.
10846 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10848 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10850 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10852 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10854 * stl_string_fwd.h: add comment
10856 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10859 * tabular.C: remove unused DocBook methods
10865 killed DO_USE_DEFAULT_LANGUAGE
10867 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10869 * lyx_gui.C: do not include language.h.
10871 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10872 arguments in function implementation.
10874 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10876 * BufferView_pimpl.C: add <ctime>
10878 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10880 * BufferView_pimpl.C: add using std::find_if
10882 2001-02-27 José Matos <jamatos@fep.up.pt>
10884 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10887 2001-02-11 José Matos <jamatos@fep.up.pt>
10889 * buffer.C (makeDocBookFile): command styles now have a parameter as
10890 "title" by default.
10892 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10894 * layout_forms.[Ch]: removed
10895 * lyx_cb.[Ch]: out character
10896 * lyx_gui.C: out character
10897 * lyx_gui_misc.C: out character
10898 * bufferview_funcs.C: : out character,
10899 added toggleall as parameter in ToggleAndShow
10901 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10903 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10905 * text2.C (SetCurrentFont): Disable number property at boundary.
10907 2001-02-26 Juergen Vigna <jug@sad.it>
10909 * lyxfunc.C (getStatus): added a string argument override function so
10910 that this is correctly called from LyXFunc::Dispatch if it contains a
10911 do_not_use_argument which is used!
10912 (Dispatch): added check for "custom" export and call appropriate func.
10914 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10916 * lyxrc.C: Add language_command_local, language_use_babel and
10917 language_global_options.
10919 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10921 * buffer.C (makeLaTeXFile): Use language_use_babel and
10922 language_global_options.
10924 2001-02-23 Juergen Vigna <jug@sad.it>
10926 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10927 which works with LyXText and putted it inside BufferView. Here now we
10928 only call for that part the BufferView::Dispatch() function.
10930 * BufferView.C (Dispatch): added.
10932 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10933 functions which needs to use a LyXText over from LyXFunc.
10934 (MenuInsertLyXFile): added
10935 (getInsetByCode): added
10936 (moveCursorUpdate): added
10937 (static TEXT): added
10939 2001-02-22 Juergen Vigna <jug@sad.it>
10941 * BufferView_pimpl.C (update): call a status update to see if LyXText
10944 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10946 * vc-backend.C (revert): implement for CVS
10947 (getLog): implement for CVS
10949 2001-02-20 Juergen Vigna <jug@sad.it>
10951 * text2.C (ClearSelection): added BufferView param for inset_owner call
10953 * lyxfunc.C (TEXT): added this function and use it instead of
10954 directly owner->view()-text of getLyXText().
10956 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10958 * src/layout_forms.C: out preamble
10959 * src/layout_forms.h: out preamble
10960 * src/lyx_cb.C: out preamble
10961 * src/lyx_cb.h: out preamble
10962 * src/lyx_gui.C: out preamble
10963 * src/lyx_gui_misc.C: out preamble
10964 * src/lyxfunc.C: connect with guii preamble
10966 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10968 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10970 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10972 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10973 whether to run bibtex.
10975 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10977 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10979 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10981 * Makefile.am (lyx_SOURCES): removed bibforms.h
10983 * vspace.h: doxygen
10985 * text.C (GetVisibleRow): make several local vars const
10987 * tabular.C: small cleanup.
10989 * lyxserver.C (callback): use compare instead of strncmp
10991 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10992 inlines to after class or to paragraph.C
10994 * lyxfont.h: remove friend operator!=
10996 * converter.h: move friend bool operator< to non friend and after
10999 * combox.h: small cleanup
11001 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11002 to inlines after class def.
11004 * buffer.C (pop_tag): use string operations instead of strcmp
11006 * bmtable.c: doxygen, small cleanup
11008 * LaTeX.h: remove friend operator==
11010 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11022 * BufferView_pimpl.C:
11023 * BufferView.[Ch]: remove cruft
11025 2001-02-14 Juergen Vigna <jug@sad.it>
11027 * lyxfunc.C: removed #if 0 unused code
11029 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11031 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11033 * text2.C (SetSelection): added a BufferView * parameter
11035 2001-02-13 Juergen Vigna <jug@sad.it>
11037 * lyxfunc.C (Dispatch): fixed protected blank problem.
11038 * BufferView2.C (protectedBlank): added LyxText * parameter.
11040 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11041 (AppendColumn): same as above for column_info.
11043 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11044 (moveCursorUpdate): use a LyXText param for support of InsetText.
11046 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11047 (tripleClick): ditto
11049 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11051 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11053 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11055 * text2.C (SetSelection): set correct update status if inset_owner
11056 (ToggleFree): ditto
11058 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11060 * tabular.C: remove some commented code.
11062 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11064 * BufferView_pimpl.C: call hideSplash()
11066 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11069 * bibforms.h: remove
11072 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11073 add LFUN_CHILD_CREATE
11075 * counters.h: fix tiny typo
11080 * lyx.C: move splash to frontends/xforms/
11082 * lyx_gui_misc.C: move Include and Bibform to frontends
11084 * lyxvc.h: clarify comment
11086 * vspace.C: tiny housekeeping
11088 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11090 * text.C (PrepareToPrint): RTL Fix.
11092 * paragraph.C (GetUChar): New method.
11093 (String): Use GetUChar.
11095 * buffer.C (asciiParagraph): Use GetUChar.
11097 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11099 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11101 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11104 * buffer.C: rename to getLogName(), handle
11105 build log / latex log nicely
11107 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11110 * MenuBackend.h: remove support for reference menuitem type.
11112 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11114 * BufferView_pimpl.C: housekeeping
11115 * BufferView_pimpl.h:
11120 * minibuffer.h: move Timeout GUI-I
11122 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11124 * lyxrc.C (read): Update converters data-structures.
11126 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11128 * LaTeX.h (operator!=): add operator != for Aux_Info
11130 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11132 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11134 * LaTeXLog.C: deleted, useful code moved to Buffer
11137 * buffer.C: new function getLatexLogName()
11143 * lyxfunc.C: use frontends for LaTeX and VC logs
11145 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11147 * LaTeX.h: yet another std:: that Allan forgot.
11149 * Variables.C (set): renamed from isset(), because this clashes
11150 with some HP-UX macros (grr).
11152 2001-02-06 Allan Rae <rae@lyx.org>
11154 * LaTeX.h: Another bug fix. Missing std:: this time.
11156 2001-02-04 Allan Rae <rae@lyx.org>
11158 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11159 floats problem. I've left it commented out because it's not quite
11160 correct. It should also test that the current object is a table or
11161 figure inset. But I haven't gotten around to figuring out how to do
11162 that. I *think* it'll be something like: "table" == inset.type()
11164 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11167 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11169 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11170 all the citation/databases/styles in the auxilary file.
11171 (run): Rerun latex if there was a babel language error.
11173 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11175 * text.C (Backspace): Preserve the font when changing newline char
11177 (BreakParagraph): If the cursor is before a space, delete the space.
11179 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11181 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11183 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11184 new argument (code).
11185 (ChangeCitationsIfUnique): New method.
11187 * paragraph.C (GetPositionOfInset): Handle bibkey.
11189 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11191 * BufferView_pimpl.h: change type of Position::par_pos to
11192 LyXParagraph::size_type.
11194 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11196 * BufferView_pimpl.C (savePosition, restorePosition): Write
11197 messages to minibuffer.
11199 2001-01-28 José Matos <jamatos@fep.up.pt>
11201 * buffer.C (makeDocBookFile): adds support for document language.
11202 A silly restriction on the name of LatexCommand types where removed.
11203 Added support for CDATA sections, allows to chars unescaped, used
11204 among others in code, to avoid escape < and >.
11206 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11208 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11209 saved positions instrad of a stack. Furthermore, a position is
11210 stored using paragraph id/paragraph position.
11212 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11213 Remove LFUN_REF_BACK.
11215 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11217 * converter.C (dvipdfm_options): New method.
11219 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11221 * vspace.C (isValidLength): Fix for empty input string.
11223 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11225 * LyXAction.C (init): change description of LFUN_FIGURE to
11228 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11230 * LaTeX.C: add using directive
11232 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11234 * MenuBackend.C (expand): Fix the sorting of the formats.
11236 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11238 * lyx_main.C: tiny error message fix
11240 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11242 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11243 calling fl_initialize(). This fixes the problem with ',' as
11244 decimal separator in text files.
11246 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11248 * trans.C (process): Fix the keymap bug.
11250 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11252 * LaTeX.C (scanAuxFiles): New method. Provides support for
11253 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11254 (scanLogFile) Scan for "run BibTeX" messages.
11256 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11257 OT1 font encoding. Also, load the aecompl package if the ae
11260 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11262 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11264 * texrow.C (increasePos): turn two error messages into debug
11267 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11269 * LaTeX.C (scanAux): Handle the \@input macro.
11270 (runBibTeX): Use scanAux().
11272 * language.C (latex_options_): New field.
11274 * LaTeXFeatures.C (getMacros): Add language macros.
11276 * buffer.C (makeLaTeXFile): Small fix.
11278 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11280 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11282 * text2.C: add a using directive.
11284 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11289 * lyxfunc.C: kill LyXBell.
11291 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11293 * text.C (IsBoundary): Remove the error message
11295 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11297 * lyxrc.C (setDefaults): Correct initialization value for
11300 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11302 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11305 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11306 and GotoNextNote().
11308 * src/LyXAction.C: Added reference-next.
11310 * text.C (InsertChar): Use contains instead of strchr.
11312 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11314 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11316 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11317 alignment commands (when needed).
11319 * text.C (InsertChar): Add ':' to number separator chars.