1 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
3 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4 pasteSelection with index
6 * text2.C (pasteSelection): modify, call pasteSelection with index
8 * paragraph.C (asString): reimplement version with no interval to
9 call the one with interval.
11 * lyxtext.h: add index arg to pasteSelection
13 * MenuBackend.C (MenuItem): handle PasteRecent
14 (Menu::read::Menutags): add md_pasterecent
16 (expandPasteRecent): new function
19 * MenuBackend.h: add PasteRecent to MenuItem::Kind
21 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
23 (availableSelections): new function
25 2003-06-17 Angus Leeming <leeming@lyx.org>
27 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
29 2003-06-17 Angus Leeming <leeming@lyx.org>
32 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
34 * lyxfunc.C (dispatch): invoke it.
36 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
38 * iterators.C (operator++, ParPosition): reintroduce some
39 const_cast for the benefit of older compilers.
41 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
43 * text3.C (dispatch): do not modify clipboard when doing
44 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
45 LFUN_DELETE_SKIP on a selection selection
47 2003-06-16 André Pönitz <poenitz@gmx.net>
53 * tabular.[Ch]: IU of clone() and getLabelList();
55 2003-06-13 André Pönitz <poenitz@gmx.net>
57 * tabular.h: compactification
59 2003-06-12 André Pönitz <poenitz@gmx.net>
63 * tabular_funcs.h: some renaming plus whitespace
65 2003-06-12 André Pönitz <poenitz@gmx.net>
74 * toc.C: Return a Paragraph & for ParIterator::operator*()
76 2003-06-11 John Levon <levon@movementarian.org>
80 * ToolbarBackend.C: add "Toolbars" section and
83 2003-06-10 Angus Leeming <leeming@lyx.org>
86 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
88 * lyxfunc.C (dispatch): invoke it.
90 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
92 * main.C: protect <ios> with HAVE_IOS
93 (main): protect sync_with_stdio with HAVE_IOS
95 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
97 * text2.C (cutSelection): adjust
98 (pasteSelection): adjust
100 * messages.C: handle get of empty string
102 * main.C (main): use sync_with_stdio(false)
104 * lyxfunc.C (dispatch): adjust
106 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
107 (WriteAs): remove unneeded BufferView arg.
109 * bufferparams.h: use correct types on papersize, papersize2 and
112 * bufferparams.C (readToken): adjust for type
113 (writeLaTeX): add missing cases to switch.
115 * bufferlist.C (quitWriteBuffer): adjust
118 * buffer.C (asciiParagraph): remove some commented code.
120 * CutAndPaste.C: remove current_view extern variable.
121 (cutSelection): add BufferParams arg.
122 (eraseSelection): add BufferParams arg.
123 (pasteSelection): add Buffer const & arg
125 2003-06-07 John Levon <levon@movementarian.org>
133 * paragraph.C: allow InsetERT to freely space lines,
134 and some consolidation of code
136 2003-06-06 José Matos <jamatos@fep.up.pt>
138 * buffer.C (makeDocBookFile): fix bug #821
140 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
142 * BufferView_pimpl.C (dispatch): use Dialogs::visible
144 2003-06-04 Angus Leeming <leeming@lyx.org>
146 * buffer.C: bump format to 224.
148 2003-06-05 André Pönitz <poenitz@gmx.net>
150 * text2.C (redoParagraphs): remove two const_cast<>
152 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
154 * ParagraphList.h: remove last remnants of NO_STD_LIST
156 2003-06-03 Angus Leeming <leeming@lyx.org>
158 * factory.C (createInset): small change to the way InsetExternal's params
161 2003-06-04 André Pönitz <poenitz@gmx.net>
163 * buffer.h: use Undo directly instead of shared_ptr<Undo>
166 * paragraph.[Ch]: some Inset -> UpdatableInset changes
168 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
170 * undo_funcs.C: make some simple cases of undo work again
172 2003-06-03 John Levon <levon@movementarian.org>
174 * ispell.C: HPUX doesn't have sys/select.h
177 2003-06-03 John Levon <levon@movementarian.org>
179 * CutAndPaste.C: update tabular and include inset
184 * paragraph.C: remove owningBuffer(), don't pass Buffer
187 * factory.C: insetGraphicsParams changed
189 2003-06-02 John Levon <levon@movementarian.org>
195 * text3.C: remove insetparent
197 2003-06-02 John Levon <levon@movementarian.org>
200 * buffer.C: fix inset_iterator.end(), move out of line
203 2003-06-01 John Levon <levon@movementarian.org>
205 * text3.C: use a proper cut/paste when doing inset
206 insert (from Jürgen Spitzmüller)
208 2003-06-01 John Levon <levon@movementarian.org>
210 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
212 2003-05-30 André Pönitz <poenitz@gmx.net>
214 * rowpainter.C: unify second drawing phase
216 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
218 * trans_mgr.C: remove one case of current_view
220 * text2.C (cursorBottom): delete NO_STD_LIST stuff
222 * paragraph_funcs.h: remove paragraph.h include
224 * paragraph.h: delete NO_STD_LIST stuff
226 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
228 * buffer.h: remove paragraph.h include
230 * ParagraphList.C: delete file
232 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
234 * toc.C (getTocList): adjust
236 * paragraph_pimpl.C (validate): adjust
238 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
240 * paragraph.C (Paragraph): adjust
241 (getPositionOfInset): use const_iterator, adjust
242 (bibitem): use const_iterator, adjust
243 (setInsetOwner): adjust
245 * iterators.C (operator++): adjust
247 * InsetList.[Ch]: Replace selfmade iterator with standard
248 vector::iterator also introduce const_iterator. Remove getPos,
249 getInset and setInset from InsetTable. Adjust accordingly.
251 * BufferView.C (lockInset): adjust
252 (ChangeInsets): adjust
254 * tabular.[Ch]: delete commented same_id functions
256 2003-05-28 John Levon <levon@movementarian.org>
258 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
260 2003-05-28 André Pönitz <poenitz@gmx.net>
262 * metricsinfo.[Ch]: remove 'fullredraw' member
264 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
266 * lyxtextclass.C (operator): remove caching.
268 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
272 * text2.C (cursorBottom): adjust
273 (setCounter): use ParagraphList::find, adjust
275 * text.C (workWidth): use ParagraphList::find, adjust
277 * lyxcursor.C (LyXCursor): adjust
279 * buffer.C (inset_iterator): adjust
281 * ParagraphList.h: make iterator(value_type) private, make
282 ParagraphList a friend of iterator.
284 * ParagraphList.C (find): new function
286 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
288 2003-05-27 André Pönitz <poenitz@gmx.net>
290 * dimension.[Ch]: a -> asc, d -> des, w -> wid
292 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
294 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
296 2003-05-26 John Levon <levon@movementarian.org>
298 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
300 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
302 * remove same_id from function signatures, adjust.
304 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
306 * undo_funcs.C (createUndo): use the id functions directly, adjust.
308 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
310 * paragraph.C (Paragraph): get rid of same_ids parameter
312 * ParagraphList.C (insert): adjust
315 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
317 * paragraph_funcs.C (breakParagraph): adjust
318 (breakParagraphConservative): adjust
320 * buffer.C (readParagraph): adjust
322 * ParagraphList.C (insert): take a reference instead of a pointer
325 * paragraph.[Ch] (id): new function
327 * bufferlist.C (newFile): adjust
329 * ParagraphList.C (ParagraphList): adjust
331 (push_back): take a reference instead of a pointer.
333 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
335 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
338 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
339 set else use old code.
341 * ParagraphList.C: remove all NO_NEXT code and only compile this
342 code of NO_STD_LIST is set.
344 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
346 * BufferView_pimpl.C:
356 * graphics/GraphicsConverter.C:
357 * graphics/PreviewLoader.C: header adjustment
359 2003-05-23 Angus Leeming <leeming@lyx.org>
361 * LaTeXFeatures.[Ch] (useBabel): new method.
362 * bufferparams.C (writeLaTeX): use it.
364 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
366 * ParagraphList.h (set): remove unused function.
368 2003-05-23 André Pönitz <poenitz@gmx.net>
371 * BufferView_pimpl.C:
375 * undo_funcs.C: setUndo reworked
377 * iterators.[Ch]: add access to topmost ParagraphList
379 * lyxtext.[Ch] (workWidth): add a const
381 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
383 * texrow.[Ch] (increasePos): remove function
384 * exporter.C (export): removed unused var and outdated comment
386 2003-05-23 Angus Leeming <leeming@lyx.org>
388 * latexrunparams.h: rename fragile as moving_arg.
389 * paragraph.C (simpleTeXOnePar): ditto.
390 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
392 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
394 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
396 (textUndoOrRedo): comment out a currently unused var.
398 * paragraph.h (NO_NEXT): enable NO_NEXT
400 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
402 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
404 * exporter.C (Export): adjust for removeAutoInsets removal.
406 * buffer.C (runChktex): adjust for removeAutoInsets removal.
408 * LyXAction.C (init): remove LFUN_REMOVEERRORS
410 * BufferView.[Ch] (removeAutoInsets): delete function
412 2003-05-22 Angus Leeming <leeming@lyx.org>
414 * latexrunparams.h: add a free_spacing variable.
416 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
417 to pass moving_arg, as the data is stored in runparams.fragile.
419 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
420 to Inset::latexOptional or to simpleTeXOnePar.
422 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
423 free_spacing arg to Inset::latexOptional.
425 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
428 2003-05-22 Angus Leeming <leeming@lyx.org>
430 * latexrunparams.h: add fragile and use_babel variables.
432 * bufferparams.[Ch] (writeLaTeX): return use_babel.
433 * buffer.C (makeLaTeXFile): store this returned value in
434 runparams.use_babel, thus passing it to the inset::latex methods.
436 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
437 simpleTeXSpecialChars as it is now stored in runparams.fragile.
439 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
440 longer has a fragile arg, as it is stored in runparams.fragile.
442 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
443 moving_arg parameter as the data is stored in runparams.fragile.
445 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
446 a fragile parameter as the data is stored in runparams.fragile.
448 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
450 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
452 2003-05-22 Angus Leeming <leeming@lyx.org>
454 * latexrunparams.h: add a 'bool nice' which defaults to false.
456 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
457 now encapsulated within runparams.
459 * bufferlist.C (updateIncludedTeXfiles):
460 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
462 2003-05-22 Angus Leeming <leeming@lyx.org>
464 * latexrunparams.h: new file containing struct LatexRunParams.
465 * Makefile.am: add new file.
467 * LaTeX.[Ch] (c-tor, run):
468 * buffer.[Ch] (makeLaTeXFile):
469 * bufferlist.[Ch] (updateIncludedTeXfiles):
470 * converter.C (convert, scanLog):
471 * converter.[Ch] (runLaTeX):
472 * exporter.C (Export):
473 * paragraph.[Ch] (simpleTeXOnePar):
474 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
475 * paragraph_funcs.[Ch] (latexParagraphs):
476 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
477 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
478 pass around a LatexRunParams parameter.
480 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
482 * paragraph.[Ch]: remove unused constructor
484 * ParagraphList.C (erase): new function, taking two iterators
486 2003-05-22 André Pönitz <poenitz@gmx.net>
488 * undo_funcs.C: remove duplicated code
490 * iterator.[Ch]: operator=
492 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
494 * tabular.C (SetMultiColumn): ws changes
496 * rowpainter.C (paintFirst): get rid of a ->previous
498 * lyx_cb.C (getPossibleLabel): parlist simplification
500 * BufferView.C (ChangeInsets): simplify slightly.
502 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
504 * LyXAction.C: new lfun space-insert, kill protected-space-insert
505 * lfuns.h: new LFUN_SPACE
506 * lyxfunc.C: protected space has a new lfun
507 * paragraph_funcs.C: read new space insets
509 * factory.C: handle new space insets
511 2003-05-22 André Pönitz <poenitz@gmx.net>
514 * BufferView_pimpl.C:
517 * undo_funcs.C: return a ParIterator from getParFromID.
519 * iterators.[Ch]: add two const's
521 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
523 * toc.C (getTocList): adjust
525 * iterators.[Ch]: rework for parlist
527 * buffer.C (par_iterator_begin): adjust
528 (par_iterator_end): adjust
530 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
532 * BufferView.C (removeAutoInsets): adjust
533 (ChangeInsets): adjust
535 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
537 * text.C (top_y): fix bug 1110
539 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
541 * errorlist.[Ch]: added
544 * BufferView_pimpl.C:
545 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
548 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
550 * Makefile.am: ensure that lyx is relinked upon changes to the
551 various "convenience" libs.
553 2003-05-20 Angus Leeming <leeming@lyx.org>
555 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
556 files are compiled in alphabetical order again.
558 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
560 2003-05-19 Angus Leeming <leeming@lyx.org>
562 * gettext.[Ch]: remove "char const * _(char const *)".
564 2003-05-19 André Pönitz <poenitz@gmx.net>
566 * dimension.[Ch]: promote from mathed/dimension.[Ch]
575 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
577 2003-05-19 André Pönitz <poenitz@gmx.net>
583 * paragraph_funcs.[Ch]:
585 * text3.C: more insetenv work
587 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
589 * ParagraphParameters.C (params2string): small bug fixed
591 2003-05-16 André Pönitz <poenitz@gmx.net>
594 * bufferview_funcs.C: patch from Kornel Benko to prevent
595 crash when _(...) is called twice in a statement
597 2003-05-16 André Pönitz <poenitz@gmx.net>
604 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
606 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
608 * lyx_main.C (init): remove spurious static_cast
610 2003-05-14 André Pönitz <poenitz@gmx.net>
612 * BufferView.C: fix format string
614 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
616 * BufferView.[Ch] (insertErrors): removed
617 * BufferView.[Ch] (showErrorList): added
618 * buffer.C (runChkTeX):
619 * converter.C (scanLog): call showErrorList instead of inserterrors
621 2003-05-13 André Pönitz <poenitz@gmx.net>
623 * BufferView_pimpl.C:
632 * tabular_funcs.h: tostr() from its own header
634 * ParagraphParameters.C:
641 2003-05-12 André Pönitz <poenitz@gmx.net>
644 * BufferView_pimpl.C:
648 * ParagraphParameters.C:
652 * bufferview_funcs.C:
669 * text3.C: boost::format -> bformat all over the place
672 2003-05-09 André Pönitz <poenitz@gmx.net>
674 * LColor.[Ch]: Pimpl the #include <map> away
676 2003-05-09 John Levon <levon@movementarian.org>
678 * bufferlist.C: never remove emergency saves
680 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
682 * Makefile.am: better lib building
684 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
686 * texrow.[Ch]: remove dependency on Paragraph and just store a id
688 * paragraph_pimpl.C (simpleTeXBlanks): adjust
689 (simpleTeXSpecialChars): adjust
690 (simpleTeXSpecialChars): adjust
691 * paragraph.C (simpleTeXOnePar): adjust
692 * buffer.C (makeLaTeXFile): adjust
694 * Makefile.am (BOOST_LIBS): allow boost as system lib.
696 * text2.C (changeDepth): parlist cleanup
697 (getColumnNearX): ditto
699 * rowpainter.C (getLabelFont): parlist cleanup
701 * bufferlist.C (newFile): parlist cleanup
703 * CutAndPaste.C (eraseSelection): parlist cleanup
705 * BufferView_pimpl.C (trackChanges): parlist cleanup
708 * BufferView.C (lockInset): parlist cleanup.
709 (ChangeInsets): ditto
711 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
713 * CutAndPaste.h: Update file header.
715 * CutAndPaste.C: Update file header.
716 Store the parts cut out of the Document in a limited_stack.
717 (copySelection): adjust
718 (pasteSelection): new function, takes the index in the limited stack.
719 (nrOfParagraphs): adjust
720 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
721 simplify error inset insertion.
722 (checkPastePossible): adjust
724 2003-05-06 John Levon <levon@movementarian.org>
726 * text2.C: don't cast wrap inset to float
728 2003-05-05 André Pönitz <poenitz@gmx.net>
731 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
733 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
734 few naked Paragraph *.
736 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
738 * bufferparams.C: Output warning if a document with missing
739 TeX document class is loaded
740 * exporter.C: Disable TeX exports if the document class is missing
743 * lyxtextclasslist.C: Handle new textclass.lst format; new method
744 isTeXClassAvailable()
746 2003-05-03 John Levon <levon@movementarian.org>
749 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
750 explicit cursor show/hide
752 * BufferView_pimpl.h:
753 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
754 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
756 * lyxfunc.C: hide cursor before dispatching.
761 * text3.C: remove explicit cursor hides
763 2003-05-02 André Pönitz <poenitz@gmx.net>
765 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
768 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
771 * text2.C: tiny whitespace
773 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
775 * undo_funcs.C: almost only ws changes.
777 * ParagraphList.C (splice): just return if pl is empty.
779 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
781 * ParagraphList.C (splice): new function.
783 * CutAndPaste.C (pasteSelection): use it
785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
787 * CutAndPaste.C (pasteSelection): remove the last next and
788 previous from this file.
790 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
792 * CutAndPaste.C (pasteSelection): more clean up, user proper
793 ParagraphList functions for pasteing.
795 * ParagraphList.C (insert): new function, three arg insert
797 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * ParagraphList.C (insert): new function, three arg insert
801 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
804 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
806 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
808 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * CutAndPaste.C (pasteSelection): remove some unneeded code.
812 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
814 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
815 (copySelection): clean up a bit.
816 (pasteSelection): use make_pair
818 * ParagraphList.C (ParagraphList): implement copy constructor
819 (operator=): implement, base on copy constructor.
822 * paragraph.C (erase): return a bool
824 * paragraph_pimpl.C (erasePos): remove function, move contents...
825 (erase): ... here. Return a bool.
826 (erase): call erase instead of erasePos.
828 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
830 * ParagraphList.h: define PitPosPair
831 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
832 ParagraphList, fix a bug on pasting multiple pars
833 * text2.C: change interface to C&P
835 2003-04-30 André Pönitz <poenitz@gmx.net>
837 * undo_func.C: revert part of yesterday's patch 2
839 2003-04-30 John Levon <levon@movementarian.org>
841 * LColor.C: s/tabular/table/
843 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
845 * text3.C (dispatch): do not convert iterator -> pointer
846 * undo_funcs.C (setCursorParUndo): ditto
847 * text_funcs.C (transposeChars): ditto
849 * text2.C (setLayout): ws changes only
851 * text.C (breakParagraph): do not convert iterator -> pointer
853 (acceptChange): ditto
854 (rejectChange): ditto
859 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
862 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
864 * text3.C (gotoInset): YABG (yet another bad getChar)
866 2003-04-29 André Pönitz <poenitz@gmx.net>
868 * paragraph.h: make operator= private unimplemented as long as
871 * ParagraphList.C: whitespace
874 * paragraph_pimpl.[Ch]:
877 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
880 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
882 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
884 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
885 * paragraph.[Ch] (erase):
886 * paragraph_pimpl.[Ch] (erase): change return type and value
887 * text2.C (cutSelection): some rework
889 2003-04-28 John Levon <levon@movementarian.org>
891 * bufferlist.C: changes for unsaved changes dialog
893 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
895 * bufferlist.C (newFile): set language (messages_) for new
898 * buffer.C (readFile): ws changes only.
900 2003-04-28 André Pönitz <poenitz@gmx.net>
905 * BufferView_pimpl.C:
906 * BufferView.C: getParFromID related ParagraphList::iterator changes
908 2003-04-28 André Pönitz <poenitz@gmx.net>
910 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
913 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
915 * messages.C: remove one more localedir class variable.
917 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
919 * messages.C (getLocaleDir): singleton generation function
921 (Messages): add a default constructor.
923 * main.C (main): do not setup localedir here, do not call
926 * gettext.C (_): use it.
927 (gettext_init): delete funciton
929 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
931 * gettext.C (getLyXMessages): new singleton generating function.
933 * buffer.C (updateDocLang): adjust
935 * Makefile.am (messages.o): add target
936 (main.o): remove target
938 2003-04-27 John Levon <levon@movementarian.org>
943 * lyxvc.C: specify cancel button in Alert::prompt
945 2003-04-26 John Levon <levon@movementarian.org>
950 * LyXAction.C: add LFUN_INSET_SETTINGS
952 * lyxfunc.C: don't enable tabular-feature when there's
953 just any locking inset
955 2003-04-26 John Levon <levon@movementarian.org>
957 * bufferlist.C: re-add Cancel to buffer close question
959 * lyxfunc.C: fix import UI a bit
961 2003-04-25 John Levon <levon@movementarian.org>
963 * gettext.C: remove the broken asserts for now
965 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
967 * messages.C: make case where setlocale cannot comply work better.
969 * buffer.C (updateDocLang): new function
970 (changeLanguage): use it
973 * text2.C (setCounter): use B_ a bit.
975 * lyxlayout.C (Read): be sure to trim the label strings.
977 * messages.C (Messages): fix typo in comment
979 * buffer.C (readFile): set message_ after file is loaded.
980 (makeDocBookFile): remove double return
981 (changeLanguage): reset message_ upon language change.
982 (B_): new func, use this to get translated buffer strings.
984 * main.C: add myself and Jean Marc as authors.
986 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * messages.[hC]: pimplify Messages, and three different pimpls to be
989 used in different circumstances.
991 * gettext.[Ch]: change for use with new message code.
993 2003-04-24 André Pönitz <poenitz@gmx.net>
995 * factory.C: support for eqref
997 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
999 * messages.[Ch]: add missing char
1001 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1003 * messages.[Ch]: New files
1005 2003-04-18 John Levon <levon@movementarian.org>
1009 * BufferView_pimpl.C:
1013 * text2.C: remove layout-copy/paste (bug 778)
1015 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1017 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1019 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1021 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1022 if they succeed. Act accordingly.
1024 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1026 * text2.C (setCharFont): adjust
1027 (setCounter): adjust
1028 (insertStringAsLines): adjust
1030 * text.C (leftMargin): adjust
1031 (setHeightOfRow): adjust
1033 * rowpainter.C (paintFirst): adjust
1036 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1038 (isFirstInSequence): ditto
1039 (getEndLabel): ditto
1042 * paragraph.C (getParLanguage): comment out some hard stuff.
1044 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1046 (simpleDocBookOnePar): ditto
1047 (makeDocBookFile): use ParagraphList::iterator
1049 * CutAndPaste.C (pasteSelection): adjust
1051 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1053 * text2.C (getFont): adjust
1054 (getLayoutFont): adjust
1055 (getLabelFont): adjust
1057 * paragraph_funcs.C (TeXOnePar): adjust
1059 * buffer.C (simpleLinuxDocOnePar): adjust
1060 (simpleDocBookOnePar): adjust
1062 * CutAndPaste.C (pasteSelection): adjust
1064 * BufferView.C (getEncoding): adjust
1066 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1068 2003-04-16 John Levon <levon@movementarian.org>
1070 * lyxfind.C: use parlist stuff for search/changes
1072 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1074 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1076 * text2.C (deleteEmptyParagraphMechanism): adjust
1078 * text2.[Ch] (ownerParagraph): delete func (both of them
1080 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1084 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1086 * ParagraphList.C: prepare for NO_NEXT
1088 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1090 * text2.C (getFont): adjust
1091 (getLayoutFont): adjust
1092 (getLabelFont): adjust
1094 * paragraph.C (getFont): adjust
1095 (getLabelFont): adjust
1096 (getLayoutFont): adjust
1098 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1100 2003-04-15 John Levon <levon@movementarian.org>
1104 * lyx_main.C: handle Include in .ui files
1106 2003-04-15 John Levon <levon@movementarian.org>
1108 * MenuBackend.C: make the doc files length shorter
1111 * ToolbarBackend.C: handle toolbar placement flags,
1114 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1116 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1119 * paragraph_funcs.C (TeXOnePar): adjust
1121 * paragraph.C (getLabelFont): add outerfont arg, adjust
1122 (getLayoutFont): ditto
1123 (simpleTeXOnePar): adjust
1125 * paragraph_pimpl.C (realizeFont): delete func
1127 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1129 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1130 row argument, constify cur argument.
1132 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1134 * text2.C (getFont): adjust
1135 (getLayoutFont): adjust
1136 (getLabelFont): adjust
1138 * paragraph_funcs.C (TeXOnePar): adjust
1139 (outerFont): new func...
1140 (realizeFont): ...moved out from here, changed this to facilitate
1143 * paragraph.C (getFont): take outerfont as arg, adjust
1144 (simpleTeXOnePar): add outerfont arg, adjust
1146 * buffer.C (simpleLinuxDocOnePar): adjust
1147 (simpleDocBookOnePar): adjust
1149 * CutAndPaste.C (pasteSelection): adjust
1151 * BufferView.C (getEncoding): adjust
1153 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1155 * text2.C (setCharFont): adjust
1156 (setCounter): adjust
1158 * text.C (leftMargin): adjust
1159 (setHeightOfRow): adjust
1161 * rowpainter.C (paintFirst): adjust
1164 * paragraph_pimpl.C (realizeFont): adjust
1166 * paragraph.C (isFirstInSequence): move from here...
1167 * paragraph_funcs.C (isFirstInSequence): ...to here
1169 * paragraph.C (outerHook): move from here...
1170 * paragraph_funcs.C (outerHook): ...to here
1172 * paragraph.C (depthHook): move from here...
1173 * paragraph_funcs.C (depthHook): ...to here
1175 * paragraph.C (getEndLabel): move from here...
1176 * paragraph_funcs.C (getEndLabel): ...to here
1178 * text2.C (realizeFont): move from here...
1179 * paragraph_funcs.C (realizeFont): ...to here
1181 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1183 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1185 2003-04-14 Angus Leeming <leeming@lyx.org>
1187 * LColor.[Ch]: scrap LColor mathcursor.
1189 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1191 * lyxlex.[Ch] (text): delete function
1192 * trans.C (Load): adjust
1193 * paragraph_funcs.C (readParToken): adjust
1195 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1197 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1198 vector<char> instead of a char[].
1200 * lyxlex_pimpl.C (getString): adjust
1202 (lex): use getString
1206 * lyxlex.C (text): use pimpl_->getString()
1210 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1212 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1213 (makeFontEntriesLayoutSpecific): temp var for par.size()
1214 (setLayout): temp var for ownerParagraphs().end()
1215 (fullRebreak): temp var for rows().end()
1216 (selectionAsString): temp var for boost::next(startpit), realize
1217 that the while really is a regular for loop.
1218 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1219 setCursor in one place.
1220 (setParagraph): temp vr for ownerParagraphs().end()
1221 (updateCounters): make the while loop a for loop
1222 (cutSelection): temp var for ownerParagraphs().end()
1223 (updateInset): make the do {} while() a regular for loop
1224 (getCursorX): use temp vars
1225 (setCurrentFont): use temp vars
1226 (getColumnNearX): use temp vars
1228 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1230 * text.C (transformChar): use temp var for getChar
1231 (computeBidiTables): use temp var for row->par()
1232 (fill): move temp vars for row->par() and pit->layout() earlier in
1234 (labelFill): use temp var for row->par()
1235 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1236 asc and desc, realize that pit never changes and that firstpit is
1237 just a duplicate and not needed. Exchange rit->par() with pit in a
1239 (breakAgain): use a temp var for boost::next(rit)
1240 (breakAgainOneRow): ditto
1241 (breakParagraph): use a temp var for rows().begin()
1242 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1243 (cursorRightOneWord): use temp var for cursor.par() and
1244 cursor.pos(), remove usage of tmpcursor.
1245 (cursorLeftOneWord): use temp var for cursor.par() and
1246 cursor.pos() only set cur at end of function.
1248 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1250 * text.C, text2.C: exchange all usage of Paragraph::next with
1251 boost::next(ParagraphList::iterator)
1253 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1255 * text2.C (cursorTop): simplify implementation
1256 (cursorBottom): ditto
1257 (setParagraph): use ParagraphList::iterator
1258 (setCurrentFont): adjust
1259 (getColumnNearX): adjust
1260 (cursorRight): adjust
1261 (cursorLeft): remove usage of Paragraph::previous
1262 (cursorUpParagraph): ditto
1263 (deleteEmptyParagraphMechanism): slight cleanup
1265 * text.C (isBoundary): take a Paragraph const & instead of a
1267 (addressBreakPoint): ditto
1268 (leftMargin): remove usage of Paragraph::previous.
1269 (setHeightOfRow): ditto
1270 (cursorLeftOneWord): ditto
1271 (selectNextWordToSpellcheck): ditto
1274 (breakParagraph): remove one usage of Paragraph::next
1275 (redoParagraph): ditto
1276 (acceptChange): ditto
1277 (insertChar): adjust
1278 (rowBreakPoint): adjust
1280 * bufferview_funcs.C (toggleAndShow): adjust
1282 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1284 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1285 methods to access it.
1287 * text.C: Added updateRowPositions to compute all row positions.
1288 Make top_y and getRowNearY() to use the cached y position
1290 2003-04-11 John Levon <levon@movementarian.org>
1292 * text.C (rowBreakPoint): reintroduce the labelEnd
1293 checks, code copied from the row fill stuff. Deep voodoo.
1295 * text.C (fill): add a comment and debugging for the
1298 2003-04-11 John Levon <levon@movementarian.org>
1300 * text.C: make sure fullrow insets get wrapped to the next line,
1301 even when they're in a manual label
1303 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1305 * text2.C (insertParagraph): make it take ParagraphList::iterator
1307 (setLayout): make it return ParagraphList::iterator
1308 (redoParagraphs): ditto
1310 (checkParagraph): ditto
1312 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1314 * text2.C: adjust several funcs.
1315 (realizeFont): take a ParagraphList::iterator as arg.
1316 (getLayoutFont): ditto
1317 (getLabelFont): ditto
1318 (setCharFont): ditto
1320 * text.C: adjust several funcs.
1322 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1324 * text.C (selectNextWordToSpellcheck): don't accidentally
1327 2003-04-10 John Levon <levon@movementarian.org>
1329 * ToolbarBackend.C (getIcon): special handling for
1332 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1334 * text2.C (cursorRight): a getChar assert fixed
1336 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1338 * text2.C (getFont): change to take a ParagraphList::iterator
1339 instead of Paragraph*
1340 Adjust several functions.
1342 * text.C (transformChar): change to take a ParagraphList::iterator
1343 instead of Paragraph*
1344 (singleWidth): ditto
1345 Adjust several functions.
1347 * rowpainter.C: adjust several functions
1348 * rowpainter.h:store a ParagraphList::iterator and not a
1352 2003-04-09 John Levon <levon@movementarian.org>
1357 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1358 and the "help" bits as well
1360 2003-04-09 John Levon <levon@movementarian.org>
1363 * ToolbarBackend.C: allow multiple toolbars
1365 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1367 * undo_funcs.C (setCursorParUndo): adjust
1369 * text_funcs.C (transposeChars): adjust
1371 * text3.C (gotoNextInset): adjust
1374 * text2.C (setLayout): adjust
1375 (changeDepth): adjust
1377 (redoParagraphs): adjust
1378 (selectionAsString): adjust
1379 (setParagraph): adjust
1380 (insertInset): adjust
1381 (cutSelection): adjust
1382 (copySelection): adjust
1383 (pasteSelection): adjust
1384 (insertStringAsLines): adjust
1385 (updateInset): adjust
1386 (setCursor): change to take a ParagraphList::iterator parameter
1387 (setCursorIntern): change to take a ParagraphList::iterator parameter
1388 (setCurrentFont): adjust
1389 (cursorLeft): adjust
1390 (cursorRight): adjust
1391 (deleteEmptyParagraphMechanism): adjust
1393 * text.C (breakParagraph): adjust
1394 (insertChar): adjust
1395 (acceptChange): adjust
1396 (rejectChange): adjust
1397 (selectNextWordToSpellcheck): adjust
1398 (changeCase): adjust
1402 * lyxfind.C (SearchForward): adjust
1403 (SearchBackward): adjust
1404 (nextChange): adjust
1406 * lyxcursor.C (par): adjust
1408 * lyxcursor.h: store a ParagraphList::iterator instead of a
1411 * lyx_cb.C (getPossibleLabel): adjust
1413 * bufferview_funcs.C (toggleAndShow): adjust
1415 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1418 * BufferView.C (removeAutoInsets): adjust
1419 (lockedInsetStoreUndo): adjust
1421 2003-04-09 John Levon <levon@movementarian.org>
1423 * ToolbarBackend.C: try icon without argument
1424 if with argument fails
1426 2003-04-08 John Levon <levon@movementarian.org>
1429 * ToolbarBackend.C: add getIcon(), handle tooltip,
1430 and change from "Icon" to "Item".
1432 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1434 * BufferView.C (lockInset): another bad getchar crunched
1436 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1438 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1441 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1443 * lyxfind.C (searchForward, searchBackwards): bug 782
1445 2003-04-07 John Levon <levon@movementarian.org>
1447 * paragraph.C: remove dead comment
1449 * text.C: remove troublesome depth-fiddling code
1450 in leftMargin() and rightMargin() (bug 1017)
1452 * text.C: fix breaking of rows in nested lists
1455 * text2.C (updateCounters): fix up depth values
1458 2003-04-07 John Levon <levon@movementarian.org>
1460 * BufferView_pimpl.C: clear message when doc finishes resizing,
1461 and after a mouse event
1463 * lyxfunc.C: clear message after exiting inset
1465 2003-04-07 John Levon <levon@movementarian.org>
1467 * bufferview_funcs.C: show math status not outside
1468 status in the statusbar
1470 2003-04-07 John Levon <levon@movementarian.org>
1472 * lyxfunc.C: note status changed after a depth change
1474 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1476 * LaTeX.h: move AuxInfo operator==, != out of line.
1477 Remove LaTeX virtual destructor; nothing derives from it.
1478 Move operator()() out of public area and rename it startscript().
1479 Change protected for private.
1481 2003-04-04 Angus Leeming <leeming@lyx.org>
1484 * text2.C: remove unneeded #includes.
1486 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1488 * text2.C (dEPM): fix the heigth of the next row
1490 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1492 * text.C: squashed an invalid getChar requester + some ws changes
1494 2003-04-03 John Levon <levon@movementarian.org>
1496 * bufferview_funcs.h:
1497 * bufferview_funcs.C:
1500 * text2.C: make getStatus work for the env depth lfuns
1502 2003-04-03 John Levon <levon@movementarian.org>
1504 * bufferview_funcs.h:
1505 * bufferview_funcs.C:
1508 * text2.C: parlistize decDepth(), by merging it with incDepth()
1510 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1512 * lyxrow.h: store a ParagraphList::iterator instead of a
1513 Paragraph* and adjust other class functions to suit.
1515 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1518 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1520 * text2.C (setCursor): do not anchor to cursor row for the time being
1522 2003-04-02 John Levon <levon@movementarian.org>
1529 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1531 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1533 * paragraph.h: make ParagraphList and ParagraphList::iterator
1534 friends of Paragraph.
1536 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1538 * ParagraphList.C: Use the private next_ and previous_ from
1541 2003-04-01 John Levon <levon@movementarian.org>
1545 * Makefile.am: rename, remove defaults gunk
1548 * MenuBackend.C: remove defaults gunk
1551 * Languages.C: remove defaults gunk
1554 * lyx_main.C: error out if files couldn't be found.
1556 2003-04-02 John Levon <levon@movementarian.org>
1558 * text2.C: make incDepth() use parlist
1560 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1562 * undo_funcs.C (firstUndoParagraph): adjust
1564 * text3.C (gotoInset): adjust
1565 (dispatch): adjust, and rewrite loop.
1567 * text2.C (init): adjust, and rewrite loop.
1568 (redoParagraphs): adjust
1569 (updateInset): adjust, and rewrite loop.
1570 (deleteEmptyParagraphMechanism): adjust
1572 * tabular.C (LyXTabular): adjust
1573 (SetMultiColumn): adjust
1576 * lyxtext.[Ch] (ownerParagraph): delete function
1577 (ownerParagraphs): new function returns a ParagraphList.
1579 * BufferView.C (removeAutoInsets): adjust
1580 (insertErrors): adjust
1581 (setCursorFromRow): adjust
1583 2003-04-01 Angus Leeming <leeming@lyx.org>
1585 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1588 2003-04-02 John Levon <levon@movementarian.org>
1594 * text_funcs.C: make transposeChars a free function
1596 * lyxrow_funcs.C: remove wrong comment
1598 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1601 * rowpainter.C: adjust
1606 * lyxrow_funcs. [Ch]: new files
1608 * lyxrow.[Ch]: remove next and previous pointers
1609 (next,previous): remove accessor functions
1610 (isParEnd): move to lyxrow_funcs
1611 (lastPos): move to lyxrow_funcs
1612 (nextRowIsAllInset): move to lyxrow_funcs
1613 (lastPrintablePos): move to lyxrow_funcs
1614 (numberOfSeparators): move to lyxrow_funcs
1615 (numberOfHfills): move to lyxrow_funcs
1616 (numberOfLabelHfills): move to lyxrow_funcs
1617 (hfillExpansion): move to lyxrow_funcs
1621 * bufferview_funcs.C (toggleAndShow): adjust
1623 * RowList.h: Remove class RowList from file leave just a
1626 * RowList.C: delete file
1628 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1631 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1633 * text3.C (cursorPrevious): adjust
1634 (cursorNext): adjust
1637 * text2.C (redoHeightOfParagraph): adjust
1638 (redoDrawingOfParagraph): adjust
1641 * text.C (breakParagraph): adjust
1642 (insertChar): adjust
1645 * rowpainter.C (RowPainter): adjust
1646 (leftMargin): simplify and adjust
1647 (most rowpainter functions): adjust.
1649 * rowpainter.h: store the row as RowList::iterator not as Row*
1651 * lyxcursor.C (row): taka RowList::iterator as arg
1654 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1657 2003-04-01 Angus Leeming <leeming@lyx.org>
1659 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1660 stuff like bool Bool.
1662 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1664 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1667 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1669 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1672 * lyxtext.h (rows): drop one version and leve a const variant that
1673 returns a RowList::iterator.
1675 2003-03-31 Angus Leeming <leeming@lyx.org>
1677 * text.C (fill): ensure that the signature is the same as that in the
1680 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * text2.C (redoParagraphs): adjust
1683 (updateCounters): adjust
1684 (checkParagraph): adjust
1685 (getColumnNearX): adjust and reformat a bit.
1687 * text.C (top_y): adjust
1689 (leftMargin): adjust
1690 (prepareToPrint): adjust
1692 (getRowNearY): adjust
1694 * lyxtext.h: make rowlist_ mutable.
1696 * RowList.h: add const_iterator
1697 * RowList.C: adjust for RowList::const_iterator.
1699 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1702 2003-03-31 John Levon <levon@movementarian.org>
1705 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1707 * lyx_main.C: set default fonts from using lyx_gui funcs
1709 * exporter.C: pdf_mode moved from lyxrc
1712 * lyxfunc.C: changes from above
1714 2003-03-31 John Levon <levon@movementarian.org>
1716 * lyx_main.C: fix to the last fix
1718 2003-03-31 John Levon <levon@movementarian.org>
1720 * bufferlist.C: "Load original" -> "Load Original"
1726 * format.C: more Alert cleanups
1728 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1730 * text2.C (removeParagraph): make it take a RowList::iterator as
1732 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1733 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1735 * text.C (anchor_row): make it take a RowList::iterator as arg,
1737 (computeBidiTables): make it take a const reference to Row instead
1738 of Row pointer, adjust.
1739 (leftMargin): make it take a RowList::iterator as arg, adjust.
1740 (rowBreakPoint): adjust
1741 (breakAgainOneRow): make it take a RowList::iterator as arg,
1743 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1745 * bufferview_funcs.C (toggleAndShow): adjust
1747 2003-03-30 John Levon <levon@movementarian.org>
1751 * boost-inst.C: moved to support
1753 * several files: changes as a result
1755 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1757 * text2.C (LyXText): adjust.
1759 (removeRow): make it take a RowList::iterator as arg, adjust.
1760 (fullRebreak): adjust
1761 (deleteEmptyParagraphMechanism): adjust
1762 (clearPaint): adjust
1765 * text.C (top_y): adjust
1766 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1767 (breakAgain): make it take a RowList::iterator as arg, adjust.
1768 (breakParagraph): adjust
1769 (insertChar): adjust
1772 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1773 need_break_row, and refresh_row.
1775 * text3.C (dispatch): adjust
1777 * text2.C (checkParagraph): adjust
1779 (setCursorFromCoordinates): adjust
1781 * text.C (top_y): adjust
1783 (getRow): make it return a RowList::iterator, adjust
1784 (getRowNearY): make it return a RowList::iterator, adjust
1786 * text2.C (init): adjust
1787 (insertRow): remove function
1788 (insertParagraph): adjust
1789 (redoParagraphs): adjust
1790 (fullRebreak): adjust
1791 (updateCounters): adjust
1793 * text.C (top_y): rewrite to use RowList iterators.
1795 (setHeightOfRow): rewrite to sue RowList iterators.
1796 (appendParagraph): adjust
1797 (breakAgain): adjust
1798 (breakAgainOneRow): adjust
1799 (breakParagraph): adjust
1801 (getRowNearY): adjust, and remove commented code.
1803 * lyxtext.h (firstRow): delete function
1804 (lastRow): delete function
1805 (rows): new function (const and non-const versions.)
1806 (insertRow): delete function
1808 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1810 2003-03-29 John Levon <levon@movementarian.org>
1812 * BufferView_pimpl.C: always update scrollbar top
1813 because pasting text when we're anchored could mean we
1814 miss an update altogether
1816 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1818 * text2.C (init): use rowlist_.end() and not 0.
1819 (insertRow): change to take a RowList::iterator as arg, adjust
1821 (insertParagraph): change to take a RowList::iterator as arg,
1823 (redoParagraphs): remove some debug msgs.
1825 * text.C (appendParagraph): change to take a RowList::iterator
1826 arg, adjust for this.
1827 (breakAgain): add an assert
1828 (breakAgainOneRow): ditto
1830 2003-03-29 John Levon <levon@movementarian.org>
1832 * text2.C: do not clear selection after inc/decDepth
1835 2003-03-29 John Levon <levon@movementarian.org>
1838 * buffer.C: fix broken strerrors according to Lars
1840 2003-03-29 John Levon <levon@movementarian.org>
1842 * converters.C: more Alert cleanups
1844 2003-03-29 John Levon <levon@movementarian.org>
1846 * bufferview_funcs.C: remove pointless Alert
1848 * buffer.C: fix confusing error message when
1849 a template is chmoded 000
1851 2003-03-29 John Levon <levon@movementarian.org>
1855 * BufferView_pimpl.C: Alert fixes
1859 * tabular-old.C: remove unused table compat reading
1861 2003-03-29 John Levon <levon@movementarian.org>
1866 * lyx_cb.C: more Alert cleanups
1868 * lyxfunc.C: don't allow chktex if not latex document
1870 2003-03-29 John Levon <levon@movementarian.org>
1874 * buffer.C: warnings pushed down from support/,
1877 2003-03-29 John Levon <levon@movementarian.org>
1879 * lyxfunc.C: safety check for C-r (revert)
1881 2003-03-29 John Levon <levon@movementarian.org>
1884 * bufferlist.C: several UI fixes using Alert::prompt.
1885 Fix the pointless looping quit code. Fix stupid revert
1890 * lyx_cb.C: use Alert::prompt
1892 * lyx_main.C: remove a silly question
1894 * lyxfunc.C: remove a couple of silly questions,
1897 2003-03-28 John Levon <levon@movementarian.org>
1899 * text2.C: fix bug 974 (End on empty par)
1901 2003-03-28 John Levon <levon@movementarian.org>
1903 * BufferView_pimpl.C:
1905 * lfuns.h: remove do-nothing math greek lfuns
1907 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1909 * lyxgluelength.h (isValidGlueLength): add default arg on
1910 parameter 2. Remove default arg from friend in class.
1912 * lyxlength.h (isValidLength): add default arg on parameter 2.
1913 Remove default arg from friend in class.
1915 * text2.C (LyXText): adjust, initialize refresh_row.
1919 (insertParagraph): adjst
1920 (redoParagraphs): adjust
1921 (fullRebreak): adjust
1922 (updateCounters): adjust
1923 (deleteEmptyParagraphMechanism): first attempt at fixing a
1926 * text.C (top_y): adjust
1927 (setHeightOfRow): adjust
1929 (getRowNearY): adjust
1931 * lyxtext.h: include RowList.h
1932 (~LyXText): not needed anymore, deleted.
1933 (firstRow): modify for RowList
1934 (lastRow): new function
1935 Delete firstrow and lastrow class variables, add a Rowlist
1936 rowlist_ class variable.
1938 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1941 * RowList.C (insert): fix case where it == begin().
1943 2003-03-26 Angus Leeming <leeming@lyx.org>
1945 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
1946 the thesaurus dialog.
1948 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1950 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
1952 * RowList.[Ch]: new files
1954 * ParagraphList.C (erase): handle the case where it == begin
1957 2003-03-25 John Levon <levon@movementarian.org>
1961 * aspell.C: add new aspell support
1964 * lyxrc.C: Make use_pspell be use_spell_lib. Always
1967 2003-03-25 Angus Leeming <leeming@lyx.org>
1970 * LyXAction.C (init): new LFUN_INSET_INSERT.
1972 * BufferView_pimpl.C (dispatch): split out part of the
1973 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
1975 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
1978 2003-03-25 Angus Leeming <leeming@lyx.org>
1980 * lyxfunc.C (dispatch): changes to the Dialogs interface.
1982 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
1985 * text3.C: remove useless row->height(0)
1987 2003-03-25 John Levon <levon@movementarian.org>
1991 * text3.C: rename the refreshing stuff to better names
1993 2003-03-24 John Levon <levon@movementarian.org>
1995 * BufferView_pimpl.h:
1996 * BufferView_pimpl.C: update layout choice on a mouse
1999 2003-03-23 John Levon <levon@movementarian.org>
2001 * Makefile.am: fix commandtags.h reference
2003 2003-03-22 John Levon <levon@movementarian.org>
2005 * BufferView_pimpl.C:
2010 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2012 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2015 * text.C: take the rtl methods out of line
2017 2003-03-21 André Pönitz <poenitz@gmx.net>
2019 * metricsinfo.[Ch]: new files containing structures to be passed around
2020 during the two-phase-drawing...
2022 2003-03-21 André Pönitz <poenitz@gmx.net>
2024 * lyxtextclass.C: read 'environment' tag.
2026 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2028 * text2.C (removeRow): fix bug 964
2030 2003-03-20 John Levon <levon@movementarian.org>
2034 * text2.C: paint cleanups. Inset::update() dropped font
2037 2003-03-19 John Levon <levon@movementarian.org>
2039 * lyxfunc.C: only fitcursor/markDirty if available()
2041 2003-03-19 John Levon <levon@movementarian.org>
2043 * commandtags.h: rename to ...
2045 * lfuns.h: ... this, and renumber / cleanup
2047 2003-03-19 John Levon <levon@movementarian.org>
2049 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2050 fit the cursor after an lfun
2054 * BufferView_pimpl.h:
2055 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2057 * LyXAction.C: layout-character should have ReadOnly
2059 * ParagraphParameters.C:
2061 * bufferview_funcs.C:
2068 * undo_funcs.C: changes from above
2070 2003-03-18 John Levon <levon@movementarian.org>
2072 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2073 remove it from update()
2075 * lyxfunc.C: update layout choice after an lfun
2077 * text3.C: remove extra updateLayoutChoice()s
2079 2003-03-18 John Levon <levon@movementarian.org>
2081 * text.C: top_y change means full repaint, fix
2082 a drawing bug with cursor movement
2084 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2088 * text2.C: anchor row on setCursor
2090 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2092 * lyxtext.h: remove almost all mutable keywords
2095 * text3.C: remove const keywords accordingly
2097 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2099 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2101 (TeXEnvironment): ditto
2104 2003-03-17 John Levon <levon@movementarian.org>
2106 * text.C (rowBreakPoint): remove attempt to fix displayed
2107 math insets inside a manual label
2109 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2111 * lyxtext.h: remove BufferView* as first arg from almost all class
2113 * other files: adjust.
2115 2003-03-17 John Levon <levon@movementarian.org>
2119 * text2.C: more paint cleanups
2121 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2124 * rowpainter.C: remove "smart" background painting code
2126 2003-03-16 John Levon <levon@movementarian.org>
2131 * text3.C: add helper functions for setting refresh_row/y
2133 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2135 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2136 newline inset which *can* get inserted in the pass_thru layouts.
2137 This is primarily for literate documents.
2139 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2141 * buffer.C: increment LYX_FORMAT to 223
2143 2003-03-14 André Pönitz <poenitz@gmx.net>
2145 * textclass.h: prepare for environment handling, ws changes
2146 * lyxlayout.C: read latexheader and latexfooter tags
2148 2003-03-14 John Levon <levon@movementarian.org>
2150 * text2.C: rewrite ::status() a bit
2152 2003-03-13 John Levon <levon@movementarian.org>
2154 * lyxtext.h: add some docs
2156 2003-03-13 John Levon <levon@movementarian.org>
2161 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2163 2003-03-13 John Levon <levon@movementarian.org>
2165 * text3.C: fix appendix redrawing
2167 2003-03-13 John Levon <levon@movementarian.org>
2169 * text.C (setHeightOfRow):
2171 * rowpainter.C: make appendix mark have the text
2172 "Appendix" so the user knows what it is
2175 * LColor.C: s/appendixline/appendix/ from above
2177 2003-03-13 John Levon <levon@movementarian.org>
2179 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2181 * text.C: fix a getChar(pos) bug properly
2183 2003-03-13 Angus Leeming <leeming@lyx.org>
2186 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2187 Probably only temporary. Let's see how things pan out.
2189 * BufferView.C (unlockInset):
2190 * BufferView_pimpl.C (fitCursor):
2191 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2193 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2194 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2196 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2197 new functions that convert ParagraphParameters to and from a string.
2199 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2200 BufferView::Pimpl's dispatch.
2201 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2203 2003-03-13 André Pönitz <poenitz@gmx.net>
2207 * factory.C: make it aware of InsetEnv
2209 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2211 * text2.C (setCursor): never ask for one past last
2212 (setCursor): add some debugging messages.
2214 * text.C (singleWidth): never ask for one past last
2215 (singleWidth): ditto
2217 (rightMargin): ditto
2218 (rowBreakPoint): ditto
2219 (setHeightOfRow): ditto
2220 (prepareToPrint): ditto
2222 * rowpainter.C (paintBackground): never ask for one past last
2223 (paintText): never ask for one past last
2225 * paragraph_pimpl.C (getChar): make the assert stricter, never
2226 allow the one past last pos to be taken
2228 * paragraph.C (getChar): ws changes only
2230 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2231 (numberOfSeparators): ditto
2232 (numberOfHfills): ditto
2234 2003-03-12 John Levon <levon@movementarian.org>
2240 * paragraph_funcs.C: fix per-buffer authorlists
2242 2003-03-12 John Levon <levon@movementarian.org>
2244 * text.C: fix newline in right address
2246 2003-03-12 Angus Leeming <leeming@lyx.org>
2248 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2249 duplicate those in LyXFunc::dispatch.
2253 * ToolbarDefaults.C:
2254 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2255 Add LFUN_FONTFREE_UPDATE.
2257 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2258 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2260 * bufferview_func.[Ch]: several new functions to facilliate
2261 transfer of data to and from the character dialog.
2263 2003-03-12 John Levon <levon@movementarian.org>
2268 * paragraph_funcs.C:
2269 * paragraph_pimpl.C:
2273 * text3.C: remove META_NEWLINE in favour of an inset
2276 * rowpainter.C: remove paintNewline (done by inset)
2278 2003-03-12 John Levon <levon@movementarian.org>
2280 * paragraph_pimpl.C: complain about bad getChar()s
2281 for a while at least
2283 2003-03-12 John Levon <levon@movementarian.org>
2286 * buffer.C: move paragraph read into a separate function,
2287 a little renaming to reflect that.
2290 * bufferparams.C: remove the author_ids map, not necessary now
2293 * factory.C: moved Buffer::readInset to here
2295 * paragraph_funcs.h:
2296 * paragraph_funcs.C: readParagraph free function moved from
2299 * tabular.C: name change
2301 2003-03-12 John Levon <levon@movementarian.org>
2304 * ParagraphParameters.C: move par params input to
2307 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2308 behave like a normal read from the stream wrt reading
2309 a line vs. a \\token
2311 2003-03-12 John Levon <levon@movementarian.org>
2314 * ParagraphParameters.h:
2315 * ParagraphParameters.C: move output code to a
2318 2003-03-12 John Levon <levon@movementarian.org>
2320 * BufferView.C (insertLyXFile):
2323 * tabular.C: use a parlist iterator for creating the
2326 2003-03-12 John Levon <levon@movementarian.org>
2328 * buffer.C: make current_change static local not
2331 2003-03-12 John Levon <levon@movementarian.org>
2333 * buffer.C: fix insertStringAsLines for change tracking
2335 2003-03-12 John Levon <levon@movementarian.org>
2342 * bufferparams.C: move author list into params. Rename some
2343 functions. Move the header reading into a separate token
2344 loop. Move the header token reading into BufferParams.
2346 2003-03-12 John Levon <levon@movementarian.org>
2348 * changes.C: put debug inside lyxerr.debugging() checks
2350 2003-03-11 André Pönitz <poenitz@gmx.net>
2352 * factory.C: make it aware of InsetHFill
2354 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2356 * buffer.C (latexParagraphs): move function from here...
2357 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2360 2003-03-10 Angus Leeming <leeming@lyx.org>
2362 * LyXAction.C (init): fix bug in poplating array with multiple entries
2363 with the same LFUN (spotted by JMarc).
2365 2003-03-10 John Levon <levon@movementarian.org>
2368 * text2.C: move getColumnNearX() near its
2371 2003-03-10 John Levon <levon@movementarian.org>
2373 * text.C: fix break before a minipage
2375 2003-03-10 John Levon <levon@movementarian.org>
2377 * text.C: fix the last commit
2379 2003-03-09 John Levon <levon@movementarian.org>
2383 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2384 bug 365 (don't break before insets unless needed). Don't
2385 return a value > last under any circumstances.
2387 2003-03-09 Angus Leeming <leeming@lyx.org>
2389 * BufferView_pimpl.C (trackChanges, dispatch): call
2390 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2392 2003-03-09 Angus Leeming <leeming@lyx.org>
2394 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2395 than Dialogs::showAboutlyx().
2397 2003-03-09 Angus Leeming <leeming@lyx.org>
2399 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2400 than Dialogs::showTabularCreate().
2402 2003-03-09 John Levon <levon@movementarian.org>
2406 * text2.C: 3rd arg to nextBreakPoint was always the same.
2409 2003-03-08 John Levon <levon@movementarian.org>
2416 * text2.C: Remove the "main" bit from the "main body"
2419 2003-03-08 John Levon <levon@movementarian.org>
2421 * text.C (leftMargin): The left margin of an empty
2422 manual label paragraph should not include the label width
2425 * text.C (prepareToPrint): don't attempt to measure hfills
2426 for empty manual label paragraphs - the answer should be 0
2428 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * CutAndPaste.C: remove commented code and reindent.
2432 2003-03-08 John Levon <levon@movementarian.org>
2435 * lyxfunc.C: move reloadBuffer()
2438 * BufferView.C: to here
2440 * lyxvc.C: add comment
2443 * vc-backend.C: call bv->reload() to avoid
2444 getStatus() check on MENURELOAD
2446 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2448 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2449 to an old format .dep file.
2451 2003-03-07 Angus Leeming <leeming@lyx.org>
2453 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2454 when the LFUN_MOUSE_RELEASE should have been handled by
2455 inset->localDispatch.
2457 2003-03-07 Angus Leeming <leeming@lyx.org>
2459 * BufferView_pimpl.C (dispatch):
2460 * LyXAction.C (init):
2461 * ToolbarDefaults.C (init):
2463 * lyxfunc.C (getStatus):
2464 remove LFUN_INSET_GRAPHICS.
2466 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2468 2003-03-07 Angus Leeming <leeming@lyx.org>
2471 * LyXAction.C (init):
2472 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2474 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2477 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2479 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2480 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2482 2003-03-07 Angus Leeming <leeming@lyx.org>
2484 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2487 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * ParagraphList.C (front): new function
2492 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2494 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2495 and top_row_offset_. removed var first_y.
2497 * text2.C (LyXText, removeRow):
2499 * BufferView_pimpl.C:
2500 use these methods instead of using first_y
2502 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * text2.C (pasteSelection): adjust for checkPastePossible
2506 * CutAndPaste.C: remove Paragraph * buf and replace with
2507 ParagraphList paragraphs.
2508 (DeleteBuffer): delete
2509 (cutSelection): change the tc type to textclass_type
2510 (copySelection): change the tc type to textclass_type
2511 (copySelection): adjust for ParagraphList
2512 (pasteSelection): change the tc type to textclass_type
2513 (pasteSelection): adjust for Paragraphlist
2514 (nrOfParagraphs): simplify for ParagraphList
2515 (checkPastePossible): simplify for ParagraphList
2516 (checkPastePossible): remove unused arg
2518 * ParagraphList.C (insert): handle the case where there are no
2521 * CutAndPaste.h: make CutAndPaste a namespace.
2523 * text3.C (dispatch): adjust
2525 * text.C (breakParagraph): add a ParagraphList as arg
2527 * paragraph_funcs.C (breakParagraph): change to take a
2528 BufferParams and a ParagraphList as args.
2529 (breakParagraphConservative): ditto
2530 (mergeParagraph): ditto
2531 (TeXDeeper): add a ParagraphList arg
2532 (TeXEnvironment): ditto
2535 * buffer.C (readLyXformat2): adjust
2536 (insertStringAsLines): adjust
2537 (latexParagraphs): adjust
2539 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2540 (cutSelection): adjust
2541 (pasteSelection): adjust
2543 * BufferView_pimpl.C (insertInset): adjust
2545 2003-03-05 Angus Leeming <leeming@lyx.org>
2548 * LyXAction.C (init):
2549 * BufferView_pimpl.C (dispatch):
2550 * lyxfunc.C (getStatus):
2551 remove LFUN_CHILD_INSERT.
2553 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2555 2003-03-05 Angus Leeming <leeming@lyx.org>
2558 * LyXAction.C (init):
2559 * src/factory.C (createInset):
2560 * lyxfunc.C (getStatus):
2561 * text3.C (dispatch):
2562 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2564 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2566 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * ParagraphList.C (insert): handle insert right before end()
2569 (erase): fix cases where it can be first or last paragraph.
2571 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2574 Paragraph::next and Paragraph::previous
2577 * text.C (breakParagraph): adjust
2579 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2580 BufferParams& as arg.
2581 (breakParagraph): use ParagraphList::insert
2582 (breakParagraphConservative): take a Buffer* instead of a
2583 BufferParams& as arg.
2584 (breakParagraphConservative): use ParagraphList::insert.
2586 * buffer.C (insertStringAsLines): un-const it
2587 (insertStringAsLines): adjust
2589 * ParagraphList.C (insert): new function
2591 * CutAndPaste.C (pasteSelection): adjust
2593 * text.C (backspace): adjust
2595 * tabular.C (SetMultiColumn): adjust
2597 * CutAndPaste.C (cutSelection): adjust
2598 (pasteSelection): adjust
2600 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2601 Buffer const * as arg
2603 * ParagraphList.C (erase): new function
2604 * paragraph_funcs.C (mergeParagraph): use it
2605 (mergeParagraph): make it take a Buffer* instead of a
2606 BufferParams* as arg
2608 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2610 (breakParagraphConservative): ditto
2612 * paragraph.h: remove the breakParagraph friend
2614 * paragraph.C (eraseIntern): new function
2615 (setChange): new function
2617 * paragraph_funcs.C (mergeParagraph): make it take a
2618 ParagraphList::iterator instead of a Paragraph *, adjust
2621 * paragraph.h: move an #endif so that the change tracking stuff
2622 also works in the NO_NEXT case.
2624 2003-03-04 Angus Leeming <leeming@lyx.org>
2627 * LyXAction.C: new LFUN_INSET_MODIFY.
2629 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2630 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2632 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2634 * several files: ws changes only
2636 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2637 (TeXEnvironment): ditto
2640 * buffer.C (makeLaTeXFile): adjust
2641 (latexParagraphs): make it take ParagraphList::iterator as args
2643 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * buffer.C (latexParagraphs): adjust
2647 * paragraph.C (TeXOnePar): move function...
2648 (optArgInset): move function...
2649 (TeXEnvironment): move function...
2650 * paragraph_pimpl.C (TeXDeeper): move function...
2651 * paragraph_funcs.C: ...here
2653 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2655 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2657 * buffer.C (readInset): remove compability code for old Figure and
2660 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2662 * buffer.C: ws changes
2665 * BufferView_pimpl.C: ditto
2668 * bufferlist.h: ditto
2672 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2674 * converter.[Ch]: split into itself +
2677 * Makefile.am: += graph.[Ch] + format.[Ch]
2684 * lyxrc.C: added #include "format.h"
2686 2003-02-27 Angus Leeming <leeming@lyx.org>
2688 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2691 * factory.C (createInset): add "label" to the factory.
2693 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2694 string and do no more.
2696 2003-02-27 Angus Leeming <leeming@lyx.org>
2699 * LyXAction.C (init):
2700 * factory.C (createInset):
2701 * BufferView_pimpl.C (dispatch):
2702 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2704 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2706 * lyxfunc.C (dispatch):
2707 * text3.C (dispatch): pass name to params2string.
2709 2003-02-26 Angus Leeming <leeming@lyx.org>
2711 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2713 Rearrange the ~includes. Strip out the unnecessary ones.
2715 * factory.C (createInset): reformat.
2716 create new insets for the various LFUN_XYZ_APPLY lfuns.
2718 2003-02-26 John Levon <levon@movementarian.org>
2721 * lyxrow.C: add isParStart,isParEnd helpers
2723 * paragraph.h: make isInserted/DeletedText take refs
2725 * paragraph_funcs.h:
2726 * paragraph_funcs.C: remove #if 0'd code
2731 * text.C: use lyxrow helpers above.
2732 Move draw and paint routines to RowPainter.
2733 Make several methods use refs not pointers.
2734 Make backgroundColor() const.
2735 Add markChangeInDraw(), isInInset().
2736 Merge changeRegionCase into changeCase.
2737 Make workWidth() shouldn't-happen code into an Assert.
2740 * rowpainter.C: new class for painting a row.
2743 * vspace.C: make inPixels take a ref
2745 2003-02-26 Angus Leeming <leeming@lyx.org>
2747 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2750 2003-02-25 John Levon <levon@movementarian.org>
2752 * ispell.C: give the forked command a more accurate name
2754 2003-02-22 John Levon <levon@movementarian.org>
2757 * toc.C: make TocItem store an id not a Paragraph *
2760 2003-02-21 Angus Leeming <leeming@lyx.org>
2762 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2763 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2764 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2765 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2766 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2767 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2769 * BufferView_pimpl.C (dispatch):
2770 * LyXAction.C (init):
2771 * factory.C (createInset):
2772 * lyxfunc.C (getStatus, dispatch):
2773 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2775 2003-02-21 Angus Leeming <leeming@lyx.org>
2777 * BufferView_pimpl.C (MenuInsertLyXFile):
2778 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2779 * lyxfunc.C (menuNew, open, doImport):
2780 no longer pass a LyXView & to fileDlg.
2782 2003-02-21 Angus Leeming <leeming@lyx.org>
2784 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2785 * LyXAction.C: change, BIBKEY to BIBITEM.
2786 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2787 Change InsetBibKey to InsetBibitem.
2788 Change BIBKEY_CODE to BIBITEM_CODE.
2789 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2790 * factory.C: replace insetbib.h with insetbibitem.h.
2791 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2792 * paragraph.C: replace insetbib.h with insetbibitem.h.
2793 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2794 Change bibkey() to bibitem().
2795 * text.C: remove insetbib.h.
2796 * text2.C: replace insetbib.h with insetbibitem.h.
2797 change bibkey() to bibitem().
2798 * text3.C: remove insetbib.h.
2799 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2801 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2803 * lyxrc.C (output): enclose user email in quotes (in case there are
2806 2003-02-18 John Levon <levon@movementarian.org>
2808 * buffer.h: add std::
2810 2003-02-17 John Levon <levon@movementarian.org>
2816 * pspell.C: reworking. Especially in ispell, a large
2817 number of clean ups and bug fixes.
2819 * lyxfunc.C: fix revert to behave sensibly
2821 2003-02-17 André Pönitz <poenitz@gmx.net>
2824 * commandtags.h: new LFUN_INSERT_BIBKEY
2834 * paragraph_func.C: remove special bibkey handling
2836 2003-02-17 John Levon <levon@movementarian.org>
2838 * text.C (Delete): fix case where delete at the end of
2839 the very first paragraph would not merge the pars
2841 2003-02-17 John Levon <levon@movementarian.org>
2843 * lyxrow.C: fix lastPrintablePos()
2845 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2847 * bufferparams.C (writeLaTeX): add a std:here
2849 * buffer.C: and remove a using directive there
2851 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2853 * buffer.C (makeLaTeXFile): move the code that generates the
2856 * bufferparams.C (writeLaTeX): ... in this new method
2858 * LaTeXFeatures.C (getEncodingSet): make const
2859 (getLanguages): make const
2861 * MenuBackend.C (binding): returns the binding associated to this
2863 (add): sets the status of each item by calling getStatus. Adds
2865 (read): add support for OptSubMenu
2866 (expand): remove extra separator at the end of expanded menu
2868 2003-02-15 John Levon <levon@movementarian.org>
2871 * BufferView_pimpl.C:
2873 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2874 inset code that had no actual effect. Remove unneeded status
2877 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2879 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2882 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2884 * text.C (drawLengthMarker): also draw an arrow marker for
2885 symbolic lengths (medskip...)
2887 2003-02-14 John Levon <levon@movementarian.org>
2890 * tabular.C: better method names
2892 2003-02-14 John Levon <levon@movementarian.org>
2894 * BufferView_pimpl.C:
2899 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2900 it's a more accurate name. Remove some pointless uses.
2902 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2904 * text2.C (LyXText): change order of initilizers to shut off
2907 2003-02-14 John Levon <levon@movementarian.org>
2909 * buffer.C: use ParIterator for getParFromID()
2913 * paragraph_pimpl.h:
2914 * paragraph_pimpl.C: remove unused getParFromID()
2916 2003-02-14 John Levon <levon@movementarian.org>
2918 * buffer.C: remove some very old #if 0'd parse code
2920 2003-02-13 John Levon <levon@movementarian.org>
2924 * text2.C: move hfillExpansion(), numberOfSeparators(),
2925 rowLast(), rowLastPrintable(), numberofHfills(),
2926 numberOfLabelHfills() ...
2929 * lyxrow.C: ... to member functions here.
2934 * text.C: remove LyXText::beginningOfMainBody(), and call
2935 p->beginningOfMainBody() directly. Move the check for
2936 LABEL_MANUAL into the latter.
2943 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
2949 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
2950 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
2952 2003-02-13 John Levon <levon@movementarian.org>
2954 * CutAndPaste.C: remove debug
2956 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2958 * paragraph.C (asString): remove two unused variables
2960 * lyxtextclass.C (readTitleType):
2962 (LyXTextClass): handle new members titletype_ and titlename_
2964 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
2966 2003-02-09 John Levon <levon@movementarian.org>
2969 * buffer.C: replace hand-coded list with a map for the dep clean
2971 2003-02-08 John Levon <levon@movementarian.org>
2973 * LaTeX.C: consolidate code into showRunMessage() helper
2975 2003-02-08 John Levon <levon@movementarian.org>
2980 * BufferView.C: change setSelectionOverString() to setSelectionRange()
2981 and pass the size in explicitly
2983 * BufferView_pimpl.h:
2984 * BufferView_pimpl.C:
2986 * BufferView.C: add getCurrentChange()
2988 * BufferView_pimpl.h:
2989 * BufferView_pimpl.C: handle change lfuns
2991 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
2992 for changes. Mark pasted paragraphs as new.
2994 * support/lyxtime.h:
2995 * support/lyxtime.C:
2996 * DepTable.C: abstract time_t as lyx::time_type
2999 * LColor.C: add colours for new text, deleted text, changebars
3001 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3002 package use "usenames" option.
3006 * LyXAction.C: add change lfuns
3010 * author.C: author handling
3013 * buffer.C: add a per-buffer author list, with first entry as
3014 current author. Handle new .lyx tokens for change tracking. Output
3015 author list to .lyx file. Output dvipost stuff to .tex preamble.
3016 Bump lyx format to 222.
3019 * bufferlist.C: add setCurrentAuthor() to reset current author details
3023 * bufferparams.C: add param for tracking
3025 * bufferview_funcs.C: output change info in minibuffer
3029 * changes.C: add change-tracking structure
3032 * debug.C: add CHANGES debug flag
3035 * lyxfind.C: add code for finding the next change piece
3038 * lyxrc.C: add user_name and user_email
3041 * lyxrow.C: add a metric for the top of the text line
3044 * text.C: implement accept/rejectChange()
3047 * text.C: paint changebars. Paint new/deleted text in the chosen
3048 colours. Strike through deleted text.
3052 * paragraph_pimpl.h:
3053 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3054 in the current change to the insert functions. Rework erase to
3055 mark text as deleted, adding an eraseIntern() and a range-based
3056 erase(). Implement per-paragraph change lookup and
3059 * paragraph_funcs.C: Fixup paste for change tracking.
3061 * tabular.C: mark added row/columns as new.
3063 * text.C: fix rowLast() to never return -1. Don't allow
3064 spellchecking of deleted text. Track transpose changes. Don't
3065 allow paragraph break or merge where appropriate.
3067 * text2.C: leave cursor at end of selection after a cut.
3069 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3071 * text.C (getLengthMarkerHeight):
3072 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3073 visible on screen too.
3075 2003-02-07 John Levon <levon@movementarian.org>
3077 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3079 2003-02-05 Angus Leeming <leeming@lyx.org>
3081 * lyxserver.C (read_ready): revert my patch of 11 September last year
3082 as it sends PC cpu through the roof. Presumably this means that
3083 the lyxserver will no longer run on an Alpha...
3085 2003-01-30 Angus Leeming <leeming@lyx.org>
3087 * factory.C (createInset): create an InsetCommandParam of type "index"
3088 and use it to 'do the right thing'.
3090 * text2.C (getStringToIndex): ensure that cursor position is always
3091 reset to the reset_cursor position.
3093 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3095 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3098 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3102 * lyxfunc.C: Output messages with identical spelling, punctuation,
3105 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3107 * MenuBackend.C (expandFormats): List only viewable export formats
3110 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3113 * lyxfunc.C (getStatus): Make sure that formats other than
3114 "fax" can also be disabled
3116 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3118 * text3.C (dispatch): put the lfuns that insert insets in 3
3119 groups, and call doInsertInset with appropriate arguments.
3120 (doInsertInset): new function, that creates an inset and inserts
3121 it according to some boolean parameters.
3123 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3125 * buffer.C (readFile): remember to pass on 'par' when calling
3126 readFile recursively.
3128 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3130 * MenuBackend.C (expandFormats): add "..." to import formats.
3132 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3134 * paragraph.C (asString): Remove XForms RTL hacks.
3136 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3137 * buffer.C: fix typo
3139 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3141 * Makefile.am (LIBS): delete var
3142 (lyx_LDADD): add @LIBS@ here instead.
3144 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3146 * Clarify the meaning of "wheel mouse jump"
3148 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3150 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3153 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3155 * importer.C (Loaders): do not preallocate 3 elements in the
3156 vector, since one ends up with 6 elements otherwise
3158 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3160 * DepTable.C (write): write the file name as last element of the
3161 .dep file (because it may contain spaces)
3162 (read): read info in the right order
3164 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3166 * paragraph_pimpl.C (simpleTeXBlanks):
3167 (simpleTeXSpecialChars):
3168 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3170 * tabular.C (latex): add some missing case statements. Reindent.
3172 * MenuBackend.C (expandToc): remove unused variable.
3174 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3183 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3186 2003-01-05 John Levon <levon@movementarian.org>
3189 * BufferView.C: add getEncoding()
3192 * kbsequence.C: do not store last keypress
3195 * lyxfunc.C: store last keypress here instead. Pass encoding
3198 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3200 * lyx_main.C (init): remove annoying error message when following
3201 symbolic links (bug #780)
3203 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3205 * text.C (insertChar):
3206 * lyxrc.C (getDescription): remove extra spaces
3208 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3210 * lyxrc.C (getDescription): remove extra spaces
3212 2002-12-20 John Levon <levon@movementarian.org>
3214 * text3.C: hack fix for page up/down across tall rows
3216 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3218 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3221 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3223 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3224 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3225 thesaurus is not compiled in
3227 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3229 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3231 2002-12-16 Angus Leeming <leeming@lyx.org>
3234 * lyx_main.C (init): remove override_x_deadkeys stuff.
3236 2002-12-12 John Levon <levon@movementarian.org>
3238 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3239 insert. Only remove shift modifier under strict
3242 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3244 * MenuBackend.C (expandToc): fix crash.
3246 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3248 * MenuBackend.C (expandToc): gettext on float names.
3250 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3252 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3253 implement bool empty() [bug 490]
3255 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3259 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * several files: ws changes
3263 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * text2.C (setCounter): clean up a bit, use boost.format.
3266 (updateCounters): initialize par upon declaration.
3268 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3269 if the layout exists. We do not just store the layout any more.
3270 (SwitchLayoutsBetweenClasses): use boost.format
3272 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3274 * converter.C (convert): if from and to files are the same, use a
3275 temporary files as intermediary
3277 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3280 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3282 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3284 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3286 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3288 * tabular.C (asciiPrintCell): use string(size, char) instead of
3291 * sgml.C (openTag): fix order of arguments to string constructor
3294 * lyxfunc.C (dispatch): use boost.format
3296 * lots of files: change "c" -> 'c'
3298 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3300 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3302 2002-11-25 Angus Leeming <leeming@lyx.org>
3304 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3306 * lyx_main.C (init): compile fix.
3308 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * lyx_cb.C (start): boost.formatify
3311 do not include <iostream>
3313 * lengthcommon.C: ws only
3315 * boost-inst.C,BoostFormat.h: add more explict instantations
3317 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3319 * lots of files: handle USE_BOOST_FORMAT
3321 2002-11-21 John Levon <levon@movementarian.org>
3323 * pspell.C: fix compile
3325 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3327 * lyxfunc.C (dispatch): use boost::format
3331 * lyxfont.C (stateText): use boost::format
3333 * lyx_main.C (LyX): use boost::format
3335 (queryUserLyXDir): ditto
3338 (typedef boost::function): use the recommened syntax.
3340 * importer.C (Import): use boost::format
3342 * debug.C (showLevel): use boost::format
3344 * converter.C (view): use boost::format
3349 * bufferview_funcs.C (currentState): use boost::format
3351 * bufferlist.C (emergencyWrite): use boost::format
3353 * buffer.C (readLyXformat2): use boost::format
3354 (parseSingleLyXformat2Token): ditto
3356 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3358 * LaTeX.C (run): use boost::format
3360 * Chktex.C (scanLogFile): use boost::format
3362 * BufferView_pimpl.C (savePosition): use boost::format
3363 (restorePosition): ditto
3364 (MenuInsertLyXFile): ditto
3366 * BoostFormat.h: help file for explicit instation.
3368 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3370 * tabular.C (latex): Support for block alignment in fixed width
3373 2002-11-17 John Levon <levon@movementarian.org>
3375 * BufferView_pimpl.C:
3377 * lyxfunc.C: split filedialog into open/save
3379 2002-11-08 Juergen Vigna <jug@sad.it>
3381 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3382 by my last patch (hopefully).
3384 2002-11-08 John Levon <levon@movementarian.org>
3393 * toc.C: ParConstIterator, and use it (from Lars)
3395 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3397 * lyxtextclass.[Ch]: revise and add doxygen comments
3399 2002-11-07 John Levon <levon@movementarian.org>
3401 * text.C: fix progress value for spellchecker
3403 * toc.C: fix navigate menu for insetwrap inside minipage
3405 * paragraph_funcs.C: added FIXME for suspect code
3407 2002-11-07 John Levon <levon@movementarian.org>
3409 * BufferView_pimpl.C: fix redrawing of insets
3412 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3414 * text2.C (updateCounters): fix bug 668
3416 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3418 * text3.C (dispatch): Do not make the buffer dirty when moving the
3421 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * vc-backend.C: STRCONV
3426 * text2.C (setCounter): STRCONV
3428 * paragraph.C (asString): STRCONV
3430 * lyxlength.C (asString): STRCONV
3431 (asLatexString): ditto
3433 * lyxgluelength.C (asString): STRCONV
3434 (asLatexString): ditto
3436 * lyxfunc.C (dispatch): STRCONV
3439 * lyxfont.C (stateText): STRCONV
3441 * importer.C (Import): STRCONV
3443 * counters.C (labelItem): STRCONV
3444 (numberLabel): ditto
3445 (numberLabel): remove unused ostringstream o
3450 * bufferview_funcs.C (currentState): STRCONV
3452 * buffer.C (readFile): STRCONV
3453 (asciiParagraph): ditto
3454 (makeLaTeXFile): ditto
3456 * Spacing.C (writeEnvirBegin): STRCONV
3458 * LaTeXFeatures.C (getLanguages): STRCONV
3459 (getPackages): ditto
3461 (getBabelOptions): ditto
3462 (getTClassPreamble): ditto
3463 (getLyXSGMLEntities): ditto
3464 (getIncludedFiles): ditto
3468 (scanAuxFile): ditto
3471 * LString.h: add the STRCONV macros
3473 * BufferView_pimpl.C (savePosition): STRCONV
3474 (restorePosition): ditto
3475 (MenuInsertLyXFile): ditto
3477 * vc-backend.C (scanMaster): change from submatch[...] to
3480 * funcrequest.C: include config.h
3482 * factory.C: include config.h
3484 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3486 * box.C: include config.h
3488 * LaTeX.C (scanAuxFile): change from submatch[...] to
3492 2002-10-25 Angus Leeming <leeming@lyx.org>
3494 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3496 * ispell.[Ch] (setError): new method.
3497 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3498 Use setError() insetead of goto END.
3500 * lyx_cb.C (AutoSave): move out child process into new class
3503 2002-10-30 John Levon <levon@movementarian.org>
3505 * text3.C: make start appendix undoable
3507 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3509 * lyxlength.C (inPixels): Fix returned value.
3511 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3514 2002-10-24 Angus Leeming <leeming@lyx.org>
3516 * lyxgluelength.h: no need to forward declare BufferParams
3517 or BufferView, so don't.
3519 2002-10-21 John Levon <levon@movementarian.org>
3521 * BufferView.C: menuUndo ->undo, redo
3523 * BufferView.h: document, remove dead, make some methods private
3525 * paragraph_funcs.h:
3526 * paragraph_funcs.C:
3527 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3532 * sgml.C: move sgml open/close tag into sgml.C
3534 * bufferview_funcs.h: unused prototype
3537 * lyxfunc.C: remove unused
3540 * text.C: remove unused
3542 2002-10-21 John Levon <levon@movementarian.org>
3546 * BufferView_pimpl.h:
3547 * BufferView_pimpl.C: fix mouse wheel handling based on
3548 patch from Darren Freeman
3550 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3552 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3554 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3556 * lyxlength.C (inPixels): Fix hanfling of negative length.
3557 Fix LyXLength::MU case.
3559 2002-10-16 John Levon <levon@movementarian.org>
3561 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3563 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3565 * converter.C (view): add support for $$i (file name) and $$p
3566 (file path) for the viewer command. If $$i is not specified, then
3567 it is appended to the command (for compatibility with old syntax)
3569 2002-10-14 Juergen Vigna <jug@sad.it>
3571 * undo_funcs.C (textHandleUndo): alter the order in which the
3572 new undopar is added to the LyXText, as we have to set first
3573 the right prev/next and then add it as otherwise the rebuild of
3574 LyXText is not correct. Also reset the cursor to the right paragraph,
3575 with this IMO we could remove the hack in "redoParagraphs()".
3577 2002-10-09 Angus Leeming <leeming@lyx.org>
3579 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3580 to turn off an optimisation if a new inset is to be inserted.
3582 2002-10-11 André Pönitz <poenitz@gmx.net>
3584 * lyxtext.h: make some functions public to allow access
3585 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3587 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3589 * text3.C (dispatch): when changing layout, avoid an infinite loop
3592 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3594 * lyxrc.C (read): treat a viewer or converter command of "none" as
3597 * MenuBackend.C (expandFormats): for an update, also allow the
3598 formats that are not viewable
3600 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3601 script if it is newer than the lyxrc.defaults in user directory
3603 2002-10-07 André Pönitz <poenitz@gmx.net>
3605 * text.C: Vitaly Lipatov's small i18n fix
3607 2002-09-25 Angus Leeming <leeming@lyx.org>
3609 * ispell.h: doxygen fix.
3611 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3613 * buffer.h (readFile): Add a new argument to the method, to allow
3614 reading of old-format templates.
3616 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3618 * toc.C (getTocList): Get TOC from InsetWrap.
3620 2002-09-16 John Levon <levon@movementarian.org>
3622 * lyxfunc.C: check tabular for cut/copy too
3624 2002-09-12 John Levon <levon@movementarian.org>
3629 * factory.C: add header
3631 * paragraph_funcs.h:
3632 * paragraph_funcs.C: cleanup
3634 2002-09-11 John Levon <levon@movementarian.org>
3636 * PrinterParams.h: odd/even default to true
3638 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3640 * PrinterParams.h: update printer parameters for new xforms dialog
3642 2002-09-11 Angus Leeming <leeming@lyx.org>
3644 * lyxserver.C (read_ready): re-write to make it more transparent
3645 and to make it work in coherent fashion under Tru64 Unix.
3647 2002-09-11 André Pönitz <poenitz@gmx.net>
3651 * text3.C: implement LFUN_WORDSEL
3653 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3655 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3656 make floatlist_ a boost::shared_ptr<FloatList>
3658 * lyxtextclass.C: include FloatList.h
3659 (LyXTextClass): initialize floatlist_
3660 (TextClassTags): add TC_NOFLOAT
3661 (Read): match "nofloat" to TC_NOFLOAT and use it.
3662 (readFloat): modify call to floatlist_
3666 * FloatList.[Ch] (FloatList): remove commented out float
3668 (erase): new function
3670 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3672 * MenuBackend.C (expandToc): fix crash when there is no document
3675 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3677 * many files: Add insetwrap.
3679 2002-09-09 John Levon <levon@movementarian.org>
3681 * text2.C: remove confusing and awkward depth wraparound
3683 2002-09-09 John Levon <levon@movementarian.org>
3685 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3688 * buffer.C: remove getIncludeonlyList()
3691 * lyxfunc.C: remove headers
3693 2002-09-09 Juergen Vigna <jug@sad.it>
3695 * text.C (getColumnNearX): fix form Michael this is most
3696 probably a cut&paste bug.
3698 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3700 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3702 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3703 references, ws changes.
3705 * text2.C (init): update counters after init
3706 (insertParagraph): no need to set counter on idividual paragraphs.
3707 (setCounter): access the counters object in the textclass object
3708 on in the buffer object.
3709 (updateCounters): ditto
3711 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3712 shared_ptr<Counters> to avoid loading counters.h in all
3714 (LyXTextClass): initialize ctrs_
3715 (TextClassTags): add TC_COUNTER, and ...
3716 (Read): use it here.
3717 (CounterTags): new tags
3718 (readCounter): new function
3719 (counters): new funtion
3720 (defaultLayoutName): return a const reference
3722 * counters.C (Counters): remove contructor
3723 (newCounter): remove a couple of unneeded statements.
3724 (newCounter): simplify a bit.
3725 (numberLabel): some small formatting changes.
3727 * buffer.[Ch]: remove all traces of counters, move the Counters
3728 object to the LyXTextClass.
3730 2002-09-06 Alain Castera <castera@in2p3.fr>
3732 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3733 package to set the horizontal alignment on fixed width columns.
3736 * lyx_sty.h: added tabularnewline macro def.
3738 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3740 2002-09-06 John Levon <levon@movementarian.org>
3742 * LyXAction.C: tooltips for sub/superscript
3744 * MenuBackend.C: a bit more verbose
3746 * lyxfunc.C: tiny clean
3748 * undo_funcs.C: document undo_frozen
3750 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3752 * counters.C (Counters): add missing algorithm counter.
3754 * text2.C (setCounter): lookup the counter with layouts latexname
3755 instead of by section number.
3756 (setCounter): use a hackish way to lookup the correct enum
3758 a float name->type change
3759 reset enum couners with counter name directly instead of depth value.
3761 * counters.C (Counters): remove the push_backs, change to use the
3762 float type not the float name.
3763 (labelItem): remove unused string, float name->type change
3765 * counters.h: don't include vector, loose the enums and sects vectors
3767 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3769 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3770 (Read): add float->TC_FLOAT to textclassTags
3771 (Read): and handle it in the switch
3772 (readFloat): new function
3774 * FloatList.C (FloatList): comment out the hardcoded float
3777 * lyxlayout.h: ws change.
3779 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3781 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3783 2002-09-03 Angus Leeming <leeming@lyx.org>
3785 * BufferView_pimpl.h: qualified name is not allowed in member
3786 declaration: WorkArea & Pimpl::workarea() const;
3788 * factory.C: added using std::endl directive.
3790 * text3.C: added using std::find and std::vector directives.
3792 2002-08-29 André Pönitz <poenitz@gmx.net>
3795 * text2.C: remove unused member number_of_rows
3798 * BufferView2.C: remove file, move contents to...
3799 * BufferView.C: ... here
3801 * BufferView_pimpl.C:
3802 * factory.C: move more inset creation to factory
3804 * vspace.C: avoid direct usage of LyXText, ws changes
3807 don't provide direct access to WorkArea, use two simple
3808 acessors haveSelction() and workHeight() instead
3811 2002-08-29 John Levon <levon@movementarian.org>
3813 * BufferView_pimpl.C (dispatch): do not continue when
3816 2002-08-28 André Pönitz <poenitz@gmx.net>
3818 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3821 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3823 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3825 * buffer.C: increment LYX_FORMAT to 221
3827 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3828 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3830 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3832 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3834 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3836 * factory.C (createInset): use LyXTextClass::floats
3838 * MenuBackend.C (expandFloatListInsert):
3839 (expandFloatInsert):
3842 * text2.C (setCounter):
3844 * LaTeXFeatures.C (useFloat):
3845 (getFloatDefinitions):
3847 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3849 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3850 floatlist_, with accessor floats().
3852 * FloatList.h: remove global FloatList
3854 2002-08-26 André Pönitz <poenitz@gmx.net>
3856 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3860 * BufferView_pimpl.C:
3861 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3863 2002-08-25 John Levon <levon@movementarian.org>
3865 * LyXAction.C: fix margin note description
3867 2002-08-24 John Levon <levon@movementarian.org>
3871 * bufferview_funcs.C:
3873 * undo_funcs.C: cleanups
3875 * lyxfunc.C: disable CUT/COPY when no selection
3877 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3879 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3880 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3882 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3883 Add backward compatibility to "mono", "gray" and "no".
3885 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3887 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3888 (and file_format >= 200).
3890 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3892 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3894 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3896 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3898 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3900 * BufferView_pimpl.C:
3907 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3908 inset and code to make it work with the paragraph code. The inset
3909 can be anywhere in the paragraph, but will only do the expected
3910 thing in LaTeX if the layout file contains the parameter line
3912 (or more generally, a nonzero value) for that layout.
3914 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3916 * paragraph.h: remove the declaration of undefined counters class
3919 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3921 * text2.C (setCounter): fixed enumeration mis-count as reported by
3922 Dr. Richard Hawkins.
3924 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3926 * paragraph_funcs.h: remove some unneeded includes
3928 * text.C (backspace): pasteParagraph now in global scipe
3930 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3931 (pasteSelection): ditto
3933 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3934 * paragraph_funcs.C (pasteParagraph): ... here
3936 2002-08-20 André Pönitz <poenitz@gmx.net>
3938 * commandtags.h: new LFUNs for swapping/copying table row/colums
3941 * lyxfunc.C: support for new lfuns
3943 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3946 * buffer.[Ch]: remove NO_COMPABILITY stuff
3948 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
3950 * boost.C (throw_exception): new file, with helper function for
3951 boost compiled without exceptions.
3956 * ParameterStruct.h:
3957 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
3959 * bufferlist.C (emergencyWriteAll): use boost bind
3961 * BufferView_pimpl.C (moveCursorUpdate): remove inline
3963 * text.C: include paragraph_funcs.h
3964 (breakParagraph): breakParagraph is now in global scope
3966 * paragraph_funcs.[Ch]: new files
3968 * paragraph.C (breakParagraph,breakParagraphConservative): move to
3971 * buffer.C: include paragraph_funcs.h
3972 (insertStringAsLines): breakParagraph is now in global scope
3974 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
3977 * CutAndPaste.C: include paragraph_funcs.h
3978 (cutSelection): breakParagraphConservative is now in global scope
3979 (pasteSelection): ditto
3981 * buffer.h: declare oprator== and operator!= for
3982 Buffer::inset_iterator
3984 * bufferlist.C (emergencyWrite): don't use fmt(...)
3986 * text3.C: add using std::endl
3988 * BufferView.C (moveCursorUpdate): remove default arg
3990 2002-08-20 André Pönitz <poenitz@gmx.net>
3992 * buffer.[Ch]: move inline functions to .C
3995 * BufferView_pimpl.C:
3997 * buffer.[Ch]: use improved inset_iterator
4000 * paragraph.[Ch]: write one paragraph at a time
4002 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4004 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4005 style if style is not specified.
4007 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4009 * text2.C (setCounter): when searching for right label for a
4010 caption, make sure to recurse to parent insets (so that a caption
4011 in a minipage in a figure float works) (bug #568)
4013 2002-08-20 André Pönitz <poenitz@gmx.net>
4015 * text3.C: new file for LyXText::dispatch() and helpers
4017 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4019 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4021 2002-08-19 André Pönitz <poenitz@gmx.net>
4024 * text.C: new LyXText::dispatch()
4026 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4028 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4030 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4032 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4035 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4037 * Makefile.am: use $(variables) instead of @substitutions@
4039 2002-08-15 André Pönitz <poenitz@gmx.net>
4042 * BufferView_pimpl.C: streamlining mathed <-> outer world
4046 * LyXAction.C: remove unused LFUN_MATH
4048 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4050 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4052 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4054 * paragraph.C (Paragraph): reformat a bit
4055 (cutIntoMinibuffer): use builtin InsetList function instad of
4059 * buffer.C: include boost/bind.hpp, add using std::for_each
4060 (writeFileAscii): use ParagraphList iterators
4061 (validate): use for_each for validate traversal of paragraphs
4062 (getBibkeyList): use ParagraphList iterators
4063 (resizeInsets): use for_each to resizeInsetsLyXText for all
4065 (getParFromID): use ParagraphList iterators
4067 * BufferView2.C (lockInset): use paragraph list and iterators
4069 2002-08-14 John Levon <levon@movementarian.org>
4071 * lyxserver.C: remove spurious xforms include
4073 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4075 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4077 2002-08-13 André Pönitz <poenitz@gmx.net>
4080 * lyxfunc.C: further cleaning
4082 2002-08-13 André Pönitz <poenitz@gmx.net>
4084 * funcrequest.h: new constructor
4086 * funcrequest.C: move stuff here from .h
4089 * BufferView_pimpl.C:
4092 * lyxfunc.C: subsequent changes
4094 * lyxfunc.h: new view() member function
4096 * lyxfunc.C: subsequent changes
4098 2002-08-13 Angus Leeming <leeming@lyx.org>
4101 * BufferView_pimpl.C:
4109 changes due to the changed LyXView interface that now returns references
4110 to member variables not pointers.
4112 2002-08-13 Angus Leeming <leeming@lyx.org>
4114 * WordLangTuple (word, lang_code): return references to strings,
4119 * lyxtext.h: forward-declare WordLangTuple.
4124 * text.C: #include "WordLangTuple.h".
4127 * text.C: (selectNextWordToSpellcheck): constify return type.
4129 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4135 * paragraph_pimpl.h:
4138 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4140 Made updateCounter always count from start of buffer, and removed
4141 second argument (par).
4142 Reverted floats number display to '#'. Perhaps I'll try again when the
4143 code base is sanitized a bit.
4145 2002-08-12 Angus Leeming <leeming@lyx.org>
4147 * buffer.[Ch] (getLabelList): constify.
4149 2002-08-07 André Pönitz <poenitz@gmx.net>
4151 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4153 * funcrequest.h: extension to keep mouse (x,y) position
4155 2002-08-12 Juergen Vigna <jug@sad.it>
4157 * BufferView2.C (insertErrors): forbid undo when inserting error
4160 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4162 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4164 * ParagraphList.[Ch]: new files
4166 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4168 * BufferView2.C (lockInset): ParagraphList changes
4171 * bufferlist.C: ditto
4175 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4177 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4178 unused class variable counter_,
4180 * paragraph.[Ch] (getFirstCounter): delete unused function
4182 * counters.C: include LAssert.h
4183 (reset): add a new function with no arg, change other version to
4184 not have def. arg and to not allow empty arg.
4186 * text2.C (setCounter): remove empty arg from call to Counters::reset
4188 2002-08-11 John Levon <levon@movementarian.org>
4190 * Makefile.am: add WordLangTuple.h
4192 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4194 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4195 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4197 * insets/insettext.C: InsetList changes
4199 * graphics/GraphicsSupport.C (operator()): InsetList changes
4201 * toc.C (getTocList): InsetList changes
4203 * paragraph_pimpl.[Ch]: InsetList changes
4205 * paragraph.[Ch]: InsetList changes
4207 * buffer.C (inset_iterator): InsetList changes
4208 (setParagraph): ditto
4209 * buffer.h (inset_iterator): ditto
4210 * iterators.C (operator++): ditto
4211 * iterators.h: ditto
4213 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4215 * InsetList.[Ch]: new files, most InsetList handling moved out of
4218 * BufferView2.C (removeAutoInsets): InsetList changes
4220 (ChangeInsets): ditto
4222 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4224 * paragraph_pimpl.h (empty): new function
4226 * paragraph.[Ch] (empty): new function
4228 * other files: use the new Paragraph::empty function
4230 2002-08-09 John Levon <levon@movementarian.org>
4232 * lyxtext.h: remove unused refresh_height
4234 2002-08-09 John Levon <levon@movementarian.org>
4241 * paragraph.C: move sgml char escaping out of paragraph
4244 * paragraph.C: remove id setter
4248 * paragraph_pimpl.C: remove dead tex_code_break_column
4250 * bufferview_funcs.C: small cleanup
4252 * lyxfunc.C: remove dead proto
4254 * lyxtext.h: make some stuff private. Remove some dead stuff.
4256 * lyxgluelength.C: make as[LyX]String() readable
4258 2002-08-08 John Levon <levon@movementarian.org>
4263 * ToolbarDefaults.C:
4266 * toc.C: lyxaction cleanup
4268 2002-08-08 John Levon <levon@movementarian.org>
4270 * BufferView2.C: small cleanup
4273 * lyxfind.C: move unnecessary header into the .C
4275 2002-08-08 John Levon <levon@movementarian.org>
4277 * funcrequest.h: just tedious nonsense
4280 * lyx_main.C: cleanups
4283 * vspace.C: remove dead header lyx_main.h
4285 2002-08-07 Angus Leeming <leeming@lyx.org>
4288 * paragraph_pimpl.h:
4289 Forward declare class Counters in paragraph.h by moving the ctrs member
4290 variable into Paragraph::Pimpl.
4291 (counters): new method, returning a reference to pimpl_->ctrs.
4293 * text2.C: ensuing changes.
4295 2002-08-07 John Levon <levon@movementarian.org>
4297 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4299 * BufferView_pimpl.C: announce X selection on double/triple
4302 * lyx_main.C: use correct bool in batch dispatch
4304 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4306 2002-08-07 André Pönitz <poenitz@gmx.net>
4308 * funcrequest.h: new class to wrap a kb_action and its argument
4311 * BufferView_pimpl[Ch]:
4315 * lyxrc.C: subsequent changes
4318 2002-08-07 John Levon <levon@movementarian.org>
4320 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4321 document options change.
4323 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4328 * makefile.am: move counters functionality over from
4329 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4331 2002-08-06 John Levon <levon@movementarian.org>
4333 * WordLangTuple.h: new file for word + language code tuple
4344 * BufferView2.C: use WordLangTuple
4347 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4349 2002-08-06 John Levon <levon@movementarian.org>
4351 * lyx_main.C: fix cmdline batch handling
4353 2002-08-06 André Pönitz <poenitz@gmx.net>
4355 * lyxrc.C: set default for show_banner to true
4357 2002-08-06 John Levon <levon@movementarian.org>
4359 * pspell.C: fix a crash, and allow new aspell to work
4361 2002-08-06 John Levon <levon@movementarian.org>
4364 * kbmap.C: small cleanup
4367 * vspace.C: add const
4369 2002-08-05 John Levon <levon@movementarian.org>
4371 * LyXAction.C: back to tabular-insert
4373 2002-08-04 John Levon <levon@movementarian.org>
4376 * BufferView.C: cosmetic change
4378 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4388 * BufferView2.C: purge all "Lyx" not "LyX" strings
4391 * lyxcursor.C: attempt to add some documentation
4396 * ToolbarDefaults.C:
4397 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4398 merge with LFUN_TABULAR_INSERT
4405 * pspell.C: split up i/pspell implementations into separate
4406 files, many cleanups
4408 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4410 * text2.C: some cleanup
4412 * lyxfunc.C: don't check for isp_command == "none" any more, it
4413 didn't make any sense
4415 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4420 * makefile.am: move counters functionality over
4421 from text2.C/paragraph.[Ch] to counters.[Ch], and
4423 2002-08-02 John Levon <levon@movementarian.org>
4425 * buffer.C: s/lyxconvert/lyx2lyx/
4427 2002-08-02 Angus Leeming <leeming@lyx.org>
4429 * lyxlex.C: revert John's change as it breaks reading of the user
4432 2002-08-02 Angus Leeming <leeming@lyx.org>
4434 * importer.C (Import):
4435 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4436 changes due to LyXView::view() now returning a boost::shared_ptr.
4438 2002-08-02 John Levon <levon@movementarian.org>
4440 * lyxlex.C: small cleanup
4442 2002-08-02 John Levon <levon@movementarian.org>
4444 * text2.C (status): small cleanup, no logic change
4446 2002-08-01 John Levon <levon@movementarian.org>
4449 * buffer.C (writeFile): don't output alerts, caller
4453 * lyx_cb.C: from above
4455 * lyxfunc.C: allow to open non-existent files
4457 2002-07-31 John Levon <levon@movementarian.org>
4459 * lyxserver.C: don't let incidental errors get
4462 2002-07-30 John Levon <levon@movementarian.org>
4464 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4466 2002-07-30 John Levon <levon@movementarian.org>
4469 * lyxserver.C: remove I/O callback too
4471 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4473 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4476 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4478 * many files: strip,frontStrip -> trim,ltrim,rtrim
4480 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4482 * PrinterParams.h: remove extern containsOnly, and include
4483 support/lstrings.h instead.
4485 * LaTeX.C (scanAuxFile): modify because of strip changes
4487 * buffer.C (makeLaTeXFile): ditto
4488 * bufferparams.C (writeFile): ditt
4489 * lyxfont.C (stateText): ditto
4490 * lyxserver.C (read_ready): ditto
4491 * vc-backend.C (scanMaster): ditto
4493 * BufferView_pimpl.h: ws changes
4495 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4497 2002-07-26 André Pönitz <poenitz@gmx.net>
4499 * kb_sequence.C: remove unnedred usings
4501 2002-07-26 Juergen Vigna <jug@sad.it>
4503 * lyxfind.C (LyXReplace): we have to check better if the returned
4504 text is not of theLockingInset()->getLockingInset().
4506 2002-07-25 Juergen Vigna <jug@sad.it>
4508 * lyxfind.C (LyXReplace): don't replace if we don't get the
4511 * undo_funcs.C (createUndo): remove debugging code.
4513 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4515 * buffer.C (parseSingleLyXformat2Token): Use default placement
4516 when reading old floats.
4518 * FloatList.C (FloatList): Change the default placement of figure
4519 and tables to "tbp".
4521 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4523 * MenuBackend.C: using std::max
4525 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4527 * MenuBackend.C (expandToc):
4528 (expandToc2): code moved from xforms menu frontend. It is now
4529 generic and TOCs are transparent to menu frontends.
4531 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4533 * toc.C (getTocList): protect against buf=0
4535 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4536 Menu as first parameter. Now, this calls itself recursively to
4537 expand a whole tree (this will be useful for TOC handling)
4538 (expandFloatInsert): remove 'wide' version of floats
4540 * MenuBackend.h (submenuname): returns the name of the submenu.
4541 (submenu): returns the submenu itself, provided it has been
4542 created by MenuBackend::expand
4544 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4546 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4547 insets which have noFontChange == true. (bug #172)
4549 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4551 * BufferView_pimpl.C: add connection objects and use them...
4554 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4556 * MenuBackend.C (expandLastfiles):
4559 (expandFloatListInsert):
4560 (expandFloatInsert):
4561 (expand): split expand in parts
4563 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4565 * lyx_gui.C: use lyx_gui::exit()
4567 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4569 * LyXAction.C: show the failing pseudo action
4571 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4573 * buffer.C (readFile): Run the lyxconvert script in order to read
4576 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4580 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4582 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4586 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4588 2002-07-22 Herbert Voss <voss@lyx.org>
4591 * lyxlength.[Ch]: add support for the vertical lengths
4593 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4595 * toc.[Ch]: std:: fixes
4597 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4599 * lyxrc.C: do not include lyx_main.h
4601 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4607 * BufferView2.C: include "lyxlex.h"
4610 * bufferparams.h: do not #include "lyxlex.h"
4612 * lyxtextclasslist.C (Add): remove method
4613 (classlist): renamed to classlist_
4615 * paragraph_pimpl.C:
4619 * bufferview_funcs.C:
4624 * toc.C (getTocList): use BufferParams::getLyXTextClass
4626 * toc.C (getTocList): use InsetFloat::addToToc
4628 * toc.[Ch]: new files, containing helper functions to handle table
4631 * lyxfunc.C (dispatch): no need to remove spaces around command
4633 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4634 first command of the sequence; it is not very clever, but I do not
4635 have a better idea, actually
4637 * LyXAction.C (LookupFunc): make sure to remove space at the
4638 beginning and end of the command
4640 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4642 * MenuBackend.C (getMenubar): new method: return the menubar of
4644 (read): treat differently reading of menu and menubar (in
4645 particular, the menubar has no name now)
4646 (Menu::menubar): remove
4648 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4651 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4653 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4654 a bibitem inset in a RTL paragraph.
4656 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4658 * paragraph_pimpl.C: constify
4660 * BufferView_pimpl.C:
4662 * lyxfunc.C: fix dispatch in a nicer way
4664 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4666 * lyxfunc.C (dispatch):
4667 * BufferView_pimpl.C:
4668 * BufferView_pimpl.h:
4670 * BufferView.h: rename Dispatch() to dispatch()
4672 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4674 * lyxlayout.C (Read): honor DependsOn tag
4676 * lyxlayout.[Ch] (depends_on): new method
4678 * version.C.in: update lyx_docversion
4680 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4682 * paragraph.C (validate): remove from here...
4683 * paragraph_pimpl.C (validate): ... and move here
4684 (isTextAt): make it const
4686 * buffer.C (getLists): ws cleanup
4688 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4690 * language.C (read): Use iso8859-1 encoding in latex_lang
4691 (this prevents LyX from crashing when using iso10646-1 encoding).
4693 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4695 * text2.C (toggleInset): if cursor is inside an inset, close the
4696 inset and leave cursor _after_ it
4698 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4700 * lyxfunc.C: move minibuffer completion handling out of here
4702 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4704 * BufferView_pimpl.C:
4705 * LaTeX.C: fix dispatch calls
4707 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4709 * text.C (drawChars): Fix Arabic text rendering.
4711 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4715 * lyxfunc.C: remove message-push/pop
4719 * lyxfunc.C: rationalise some code by removing verboseDispatch
4720 in favour of a bool argument to dispatch()
4722 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4724 * lyx_main.C (init): make sure to read symlinks as absolute paths
4726 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4729 * lyxfunc.C: no need for commandshortcut to be a member
4731 2002-07-15 André Pönitz <poenitz@gmx.net>
4733 * converter.C: add support for $$s (scripts from lib/scripts dir)
4734 * lyx_main.C: white space
4736 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4740 * lyxrc.C: remove second exit confirmation
4742 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4747 * BufferView_pimpl.h:
4748 * BufferView_pimpl.C:
4749 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4751 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4753 * MenuBackend.C (expand): add numeric shortcuts to document menu
4755 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4757 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4759 * lyxfont.C (setLyXFamily):
4766 * buffer.C (asciiParagraph): use ascii_lowercase
4768 2002-07-15 Mike Fabian <mfabian@suse.de>
4770 * lyxlex_pimpl.C (search_kw):
4771 * lyxlex.C (getLongString):
4772 * converter.h (operator<):
4773 * converter.C (operator<):
4774 * buffer.C (parseSingleLyXformat2Token):
4776 * ToolbarDefaults.C (read):
4777 * MenuBackend.C (checkShortcuts):
4779 * LColor.C (getFromGUIName):
4780 (getFromLyXName): use the compare_ascii_no_case instead of
4781 compare_no_case, because in turkish, 'i' is not the lowercase
4782 version of 'I', and thus turkish locale breaks parsing of tags.
4784 2002-07-16 Angus Leeming <leeming@lyx.org>
4786 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4787 now takes a Buffer const & argument.
4789 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4791 * BufferView.C (resize): check there's a buffer to resize
4793 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4795 * lyxfunc.C: remove dead code
4798 * lyxserver.C: use lyx_guii::set_read_callback
4800 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4802 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4803 an inset in a RTL paragraph.
4805 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4807 * lyxfunc.C: repaint after a font size update
4809 2002-07-15 André Pönitz <poenitz@gmx.net>
4811 * lyxlength.C: inBP should be able to return negative values
4813 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4815 * lyxfunc.C: use lyx_gui::update_fonts()
4817 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4819 * lyxfunc.C: use lyx_gui::update_color()
4821 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4827 * lyxrc.C: remove file->new asks for name option, and let
4828 buffer-new take an argument
4830 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4832 * BufferView_pimpl.C: remove unneeded extra repaint()
4834 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4836 * LyXAction.C: allow command-sequence with NoBuffer
4838 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4840 2002-07-10 Angus Leeming <leeming@lyx.org>
4842 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4844 2002-07-09 Angus Leeming <leeming@lyx.org>
4846 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4848 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4850 * lengthcommon.h: whitespace
4852 * lyxfunc.C: update scrollbar after goto paragraph
4854 * lyxtext.h: factor out page break drawing, and fix it so
4855 page break/added space paints as selected nicely
4857 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4859 * BufferView_pimpl.C: add FIXMEs, clean up a little
4861 2002-07-09 André Pönitz <poenitz@gmx.net>
4863 * lyxfont.[Ch]: support for wasy symbols
4865 2002-07-08 André Pönitz <poenitz@gmx.net>
4867 * BufferView_pimpl.C: apply John's patch for #93.
4869 2002-07-05 Angus Leeming <leeming@lyx.org>
4871 * BufferView_pimpl.C (buffer): generate previews if desired.
4873 * LColor.h: add "preview" to the color enum.
4875 * LColor.C (LColor): add a corresponding entry to the items array.
4877 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4880 2002-07-05 Angus Leeming <leeming@lyx.org>
4882 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4883 The body of the code is now in the method that is passed an ostream &
4884 rather than a file name.
4885 Pass an additional only_preamble parameter, useful for the forthcoming
4888 2002-07-03 André Pönitz <poenitz@gmx.net>
4890 * lyxfunc.C: simplify getStatus() a bit for math stuff
4892 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4894 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4896 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4898 * text.C (changeRegionCase): do not change case of all the
4899 document when region ends at paragraph end (bug #461)
4901 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4903 * paragraph.C (startTeXParParams):
4904 (endTeXParParams): add \protect when necessary
4906 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4908 * BufferView_pimpl.C (workAreaExpose): remove warning
4910 2002-06-27 Angus Leeming <leeming@lyx.org>
4912 * Makefile.am: add lyxlayout_ptr_fwd.h.
4914 2002-06-26 André Pönitz <poenitz@gmx.net>
4916 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4918 2002-06-25 Angus Leeming <leeming@lyx.org>
4920 * lyxfunc.C (dispatch): Comment out the call to
4921 grfx::GCache::changeDisplay. The method no longer exists now that the
4922 pixmap generation part of the graphics loader has been moved into
4925 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4927 * text2.C: layout as layout
4929 * text.C: layout as layout
4931 * tabular.C (OldFormatRead): layout as layout
4933 * paragraph_pimpl.C (TeXDeeper): layout as layout
4934 (realizeFont): layout as layout
4936 * paragraph.C (writeFile): layout as layout
4937 (validate): layout as layout
4938 (getFont): layout as layout
4939 (getLabelFont): layout as layout
4940 (getLayoutFont): layout as layout
4941 (breakParagraph): layout as layout
4942 (stripLeadingSpaces): layout as layout
4943 (getEndLabel): layout as layout
4944 (getMaxDepthAfter): layout as layout
4945 (applyLayout): layout as layout
4946 (TeXOnePar): layout as layout
4947 (simpleTeXOnePar): layout as layout
4948 (TeXEnvironment): layout as layout
4949 (layout): layout as layout
4950 (layout): layout as layout
4952 * lyxtextclass.C (compare_name): new functor to work with
4953 shared_ptr, layout as layout
4954 (Read): layout as layout
4955 (hasLayout): layout as layout
4956 (operator): layout as layout
4957 (delete_layout): layout as layout
4958 (defaultLayout): layout as layout
4960 * lyxlayout_ptr_fwd.h: new file
4962 * lyxlayout.C (Read): layout as layout
4964 * lyx_cb.C (MenuInsertLabel): layout as layout
4966 * bufferlist.C (newFile): layout as layout
4968 * buffer.C (readLyXformat2): layout as layout
4969 (parseSingleLyXformat2Token): layout as layout
4970 (insertStringAsLines): layout as layout
4971 (asciiParagraph): layout as layout
4972 (latexParagraphs): layout as layout
4973 (makeLinuxDocFile): layout as layout
4974 (simpleLinuxDocOnePar): layout as layout
4975 (makeDocBookFile): layout as layout
4976 (simpleDocBookOnePar): layout as layout
4977 (getLists): layout as layout
4979 * LaTeXFeatures.C (getTClassPreamble): layout as layout
4981 * CutAndPaste.C (cutSelection): layout as layout
4982 (pasteSelection): layout as layout
4983 (SwitchLayoutsBetweenClasses): layout as layout
4985 * BufferView_pimpl.C (Dispatch): layout as layout
4986 (smartQuote): layout as layout
4988 * BufferView2.C (unlockInset): layout as layout
4990 2002-06-24 André Pönitz <poenitz@gmx.net>
4992 * lyxfunc.C: fix #487
4994 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
4998 * lyxfunc.C: remove display_shortcuts, show_banner
5000 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5002 * Buffer_pimpl.C: oops, update on resize
5004 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5011 * BufferView.C: use repaint()
5013 * BufferView_pimpl.h:
5014 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5015 as it's a clearer description. Remove superfluous
5018 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5020 * text.C: fix bug 488. Not ideal, but getting
5021 getWord() to work properly for the insets that
5022 matter is more difficult ...
5024 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5026 * BufferView_pimpl.C:
5029 * lyxfunc.C: remove the six million index lyxfuncs to just
5030 one, and DTRT (bug 458)
5032 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5036 * BufferView_pimpl.h:
5037 * BufferView_pimpl.C: clean up resize() stuff,
5038 and unnecessary updateScreen()s
5040 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5044 * BufferView_pimpl.h:
5045 * BufferView_pimpl.C:
5048 * minibuffer.C: remove focus management of workarea,
5049 not needed. Use screen's greyOut()
5051 2002-06-17 Herbert Voss <voss@lyx.org>
5053 * converter.C: (convert) do not post a message, when converting
5054 fails, let the calling function decide what to do in this case
5056 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5058 * lyxfunc.C: tidy up a little
5060 2002-06-16 <alstrup@diku.dk>
5062 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5063 Got rid of FORMS_H_LOCATION include. Now we are
5066 2002-06-15 LyX Development team <lyx@rilke>
5068 * buffer.[Ch] (sgmlOpenTag):
5069 (sgmlCloseTag): Added support for avoiding pernicious mixed
5070 content. Return number of lines written.
5073 (makeDocBookFile): Fixed calls to sgml*Tag.
5074 Simple white space clean.
5076 (simpleDocBookOnePar): Simple white space clean.
5078 * tabular.[Ch] (docBook): Renamed to docbook and got another
5079 argument to related with the pernicious mixed content.
5081 (docbookRow): Fixed calls for docbook inset method.
5083 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5085 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5086 so it's X11 independent.
5090 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5092 2002-06-15 Lyx Development team <lyx@electronia>
5094 * intl.h: Renamed getTrans to getTransManager.
5096 2002-06-14 Angus Leeming <leeming@lyx.org>
5098 * Makefile.am: nuke forgotten stl_string_fwd.h.
5100 2002-06-12 Angus Leeming <leeming@lyx.org>
5102 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5104 2002-06-13 Angus Leeming <leeming@lyx.org>
5107 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5109 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5111 * kbmap.C (getiso): add support for cyrillic and greek
5113 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5117 * BufferView_pimpl.h:
5118 * BufferView_pimpl.C: move bogus scrolling logic
5121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5124 * BufferView_pimpl.C: view->resize() change
5126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5128 * BufferView_pimpl.C: topCursorVisible
5131 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5135 * lyx_gui.C: move to frontends/
5139 * lyx_main.C: changes from above
5141 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5148 * lyx_main.C: minor tidy
5150 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5152 * BufferView_pimpl.h:
5153 * BufferView_pimpl.C:
5155 * BufferView.C: make painter() const,
5158 * BufferView2.C: use screen() accessor
5161 * lyx_main.C: some minor cleanup
5163 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5165 * BufferView_pimpl.h:
5166 * BufferView_pimpl.C: remove enter/leaveView,
5169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5174 * BufferView_pimpl.h:
5175 * BufferView_pimpl.C: only construct screen once,
5178 * lyxrc.C: remove pointless comment
5180 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5183 * BufferView.C: remove active() and belowMouse()
5185 * BufferView_pimpl.h:
5186 * BufferView_pimpl.C: use workarea() not workarea_,
5187 and make it use a scoped_ptr instead
5189 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5191 * lyx_gui.C: add debug message on BadWindow
5193 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5195 * sp_spell.C: fdopen is not part of the C++ standard.
5197 * paragraph.C (InsetIterator): use >= instead of ==
5199 2002-06-07 Angus Leeming <leeming@lyx.org>
5201 Fixes needed to compile with Compaq cxx 6.5.
5202 * BufferView_pimpl.C:
5209 * lyxtextclasslist.C:
5214 all c-library variables have been moved into namespace std. Wrap
5215 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5220 Add a using std::abs declaration.
5222 * kbmap.h (modifier_pair):
5223 * paragraph.h (InsetTable, InsetList):
5224 * lyxfont.h (FontBits):
5225 type definition made public.
5227 * bufferlist.C (emergencyWriteAll): the compiler complains that
5228 there is more than one possible lyx::class_fun template to choose from.
5229 I re-named the void specialisation as lyx::void_class_fun.
5231 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5233 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5234 the compiler is is unable to find tostr in write_attribute.
5236 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5238 * buffer.C (sgmlError): hide #warning
5240 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5242 * xtl/*: get rid of xtl, which is not in use anyway
5244 * LyXAction.C (init):
5245 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5246 were unimplemented xtl experimentation
5248 2002-06-04 André Pönitz <poenitz@gmx.net>
5250 * lyxfunc.C: disable array operation on simple formulae
5252 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5254 * converter.C: constify a bit
5256 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5258 * lyx_gui.C: check xforms version correctly
5260 2002-04-30 Herbert Voss <voss@lyx.org>
5262 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5265 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5267 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5268 attempt to register it with a VCS)
5270 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5272 * lyx_main.C (init): honor variables LYX_DIR_13x and
5275 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5279 * lyx_main.C: fix a crash on bad command line,
5280 and give a useful exit status on error
5282 * lyxfunc.C (doImport): allow -i lyx to work
5284 2002-03-30 André Pönitz <poenitz@gmx.net>
5286 * lyxfunc.C: mathed font changes
5288 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5303 * trans_mgr.h: srcdocs, and some minor cleanups
5305 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5307 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5308 call getFont all the time)
5310 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5312 * switch from SigC signals to boost::signals
5314 2002-05-29 André Pönitz <poenitz@gmx.net>
5316 * paragraph_pimpl.C (getChar): don't call size() too often...
5318 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5320 * paragraph_pimpl.C (insertChar): do not try to update tables when
5321 appending (pos == size())
5323 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5324 in order to reduce drastically the number of comparisons needed to
5325 parse a large document
5327 2002-05-29 André Pönitz <poenitz@gmx.net>
5333 * textclasslist.[Ch]:
5334 * sp_ispell.h: whitespace change
5336 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5338 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5339 lyxaction directly now.
5341 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5345 * lyxvc.C: remove unused headers
5347 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5354 * undo_funcs.C: some cleanups. Use shared_ptr
5355 and a template for the undo stacks.
5357 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5359 * BufferView_pimpl.h:
5360 * BufferView_pimpl.C:
5367 * text2.C: use key_state/mouse_state
5369 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5371 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5374 * chset.C: change include order
5375 (loadFile): use boost regex and get rid of LRegex and LSubstring
5377 * Makefile.am (BOOST_LIBS): new variable
5380 * LaTeX.C: change include order.
5381 (scanAuxFile): use boost regex and get rid of LRegex and
5385 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5390 * FontInfo.C: moved to frontends/xforms/
5393 * FontLoader.C: moved into frontends for GUIIzation
5398 * lyxfunc.C: changes from above
5400 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5402 * LColor.C: remove spurious X include
5404 * BufferView_pimpl.C:
5409 * text2.C: move font metrics to frontends/
5411 2002-05-24 Juergen Vigna <jug@sad.it>
5413 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5414 setting the undo_cursor.
5416 * ParagraphParameters.h: include local includes first.
5418 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5420 * BufferView_pimpl.C:
5421 * BufferView_pimpl.h:
5425 * screen.C: move WorkArea into frontends/
5431 * BufferView2.C: move LyXScreen into frontends/
5435 * lyx_gui.C: move lyxlookup into frontends/xforms/
5437 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5440 * BufferView_pimpl.C:
5450 * bufferview_funcs.C:
5463 * vc-backend.C: move LyX/XFormsView into frontends/
5465 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5477 * text2.C: move Painter to frontends/
5479 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5481 * buffer.C: comment out some some code that depend upon lyx_format
5484 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5485 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5487 * buffer.h (NO_COMPABILITY): turn off compability
5489 * ColorHandler.C: include scoped_array.hpp
5491 * font.C: Use more specific smart_ptr header.
5494 * ShareContainer.h: ditto
5498 * BufferView_pimpl.h: ditto
5499 * ColorHandler.h: ditto
5501 * kbmap.C (defkey): change call to shared_ptr::reset
5503 2002-05-21 Juergen Vigna <jug@sad.it>
5505 * buffer.C (insertErtContents): fix to insert ert asis if it is
5506 non empty. Skip it completely if it contains only whitespaces.
5508 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5510 * BufferView_pimpl.C:
5511 * BufferView2.C: clear selection on paste (bug 393)
5513 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5515 * DepTable.C: include ctime
5517 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5519 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5521 2002-05-14 Juergen Vigna <jug@sad.it>
5523 * text.C (breakParagraph): fixed function to honor the keepempty
5524 layout in the right maner and also to permit the right breaking
5525 algorithm on empty or non empyt keepempty paragraphs.
5527 * paragraph.C (breakParagraph): we have to check also if the par
5528 is really empty (!size()) for isempty otherwise we do the wrong
5531 2002-05-10 Juergen Vigna <jug@sad.it>
5533 * buffer.[Ch] : The following are only changes to the ert
5534 compatibility read reading old LaTeX layout and font stuff and
5535 convert it to ERTInsets.
5537 * buffer.h: added isErtInset().
5539 * buffer.C (struct ErtComp): add a fromlayout bool to check
5540 if we're inside a LaTeX layout.
5541 (isErtInset): new helper function.
5542 (insertErtContents): look for other ert insets before this one
5543 and insert the contents there, so that we don't have subsequent
5544 ERT insets with nothing between them. This way we create only one
5545 inset with multiple paragraphs. Also check if we don't insert only
5546 spaces ' ' as they are ignored anyway afterwards in the .tex file
5547 so if we have only spaces we will ignore this latex part in the
5549 (parseSingleLyXformat2Token \\layout): better compatibility when
5550 reading layout-latex stuff.
5551 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5553 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5554 stuff after reading the inset only get the information back from
5557 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5559 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5561 * LaTeXFeatures.C (getBabelOptions): New method.
5563 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5565 * BufferView_pimpl.C (Dispatch): work around missing argument for
5568 2002-05-08 Juergen Vigna <jug@sad.it>
5570 * text.C (leftMargin): handle paragraph leftindent.
5572 * paragraph.C (writeFile): write the new \\leftindent tag.
5573 (validate): handle leftindent code.
5574 (TeXEnvironment): handle paragraphleftindent code again.
5576 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5578 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5579 for paragrap_extra indent code and new token \\leftindent.
5580 (latexParagraphs): handle the leftindent as environment.
5582 * ParameterStruct.h: added leftindent support.
5584 * ParagraphParameters.C (leftIndent): added support functions for
5585 the paragraph left indent.
5587 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5590 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5592 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5595 * text.C (computeBidiTables): No bidi in insetERT.
5597 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5600 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5602 * version.C.in: pre 5
5604 2002-05-02 José Matos <jamatos@fep.up.pt>
5605 * buffer.C (makeDocBookFile): white space changes, add newline to
5607 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5609 * tabular.C (docBook): fix typo.
5611 2002-05-03 Juergen Vigna <jug@sad.it>
5613 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5614 change in LyXText as we can not be sure it was not freed.
5615 (drawOneRow): remove unused code.
5617 * text.C (drawInset): redo the calculation of the need_break_row as
5618 it could have a row which was already freed.
5619 (draw): look at the return value of drawInset and return false if
5620 it also returned false.
5621 (paintRowText): look at the return value of draw and return false if
5622 it also returned false.
5624 * lyxtext.h: added bool return type to drawInset() and draw() so that
5625 if we have a change in the row so that the rowbreak has to be redone
5626 we abort drawing as it will be called again.
5628 2002-05-02 Juergen Vigna <jug@sad.it>
5630 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5631 a change in the maintext also if we're inside an inset.
5632 (Dispatch): set the cursor again after a break line and after the
5633 screen has been updated as it could be we're in a different row.
5635 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5636 to set the cursor behind the pargraph with > size().
5637 (setCursor): check also for the same paragraph when checking where
5638 to put the cursor if we have a NFR inset.
5640 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5641 parts of layout read further up as it still was in the wrong
5644 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5646 * screen.C (drawFromTo): change sine fullRebreak always return
5649 * buffer.C (parseSingleLyXformat2Token): reindent some
5651 * BufferView_pimpl.C (update): change since fullRebreak always
5653 (Dispatch): git rid of the last hardcoded "Standard"s.
5655 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5657 * text2.[Ch] (fullRebreak): make it return void now that we always
5660 2002-04-30 Juergen Vigna <jug@sad.it>
5662 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5663 ert compatibility check for "latex" layout.
5665 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5667 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5668 minipages: use col% instead of p%, and also use the current font.
5669 (makeLaTeXFile): Fix use babel condition.
5670 (parseSingleLyXformat2Token): Correct font when reading old floats.
5672 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5674 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5675 inserting list of floats.
5677 2002-04-25 Herbert Voss <voss@lyx.org>
5679 * MenuBackend.C (expand): don't add the graphics extensions to the
5682 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5684 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5685 non-existing layout, do not complain if it was the default layout
5686 of the original class (bug #342)
5688 2002-04-24 Juergen Vigna <jug@sad.it>
5690 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5691 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5693 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5695 * buffer.C (getBibkeyList): If using \bibliography, return the
5696 option field with the reference itself. Enables us to provide natbib
5697 support when using \bibliography.
5699 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5701 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5703 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5704 natbib is provided by the LaTeX class.
5706 2002-04-23 Juergen Vigna <jug@sad.it>
5708 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5711 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5713 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5715 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5717 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5718 ensuremath around textordmasculine, textordfeminine and
5721 2002-04-19 Juergen Vigna <jug@sad.it>
5723 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5724 reinitializing the buffer otherwise row-dimensions may be wrong.
5725 (update): reset also the selection cursors if they do exits otherwise
5726 their x/y positions may be wrong.
5728 * text2.C (cursorDown): don't enter the inset if we came from a row
5729 above and are one row over the inset.
5731 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5732 really leaving an inset.
5734 2002-04-18 Juergen Vigna <jug@sad.it>
5736 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5737 of the selected paragraph does not have the selected layout also if
5740 * text2.C (setLayout): fixed bug which did not change last selected
5743 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5744 changed the read and substituted \\end_float with \\end_inset!
5746 * BufferView_pimpl.C (cursorPrevious):
5747 (cursorNext): fixed to make it work with rows heigher than the work
5748 area without moving the cursor only the draw of the row.
5749 (workAreaMotionNotify): fix jumping over high rows.
5751 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5753 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5756 2002-04-16 Juergen Vigna <jug@sad.it>
5758 * text2.C (setCursor): set also the irow().
5759 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5761 (cursorDown): support for locking an inset if the x_fix value goes
5762 inside it. That way I can transverse insets too with cursor up/down.
5764 * lyxrow.h: added irow helper function same as other (i) functions.
5766 * BufferView_pimpl.C (cursorPrevious):
5767 (cursorNext): fixed for insets!
5769 2002-04-15 Juergen Vigna <jug@sad.it>
5771 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5772 position otherwise it is wrong in some cases.
5774 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5775 inside the inset before the call.
5777 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5779 * buffer.[Ch] (getBibkeyList): make it const.
5781 2002-04-12 Juergen Vigna <jug@sad.it>
5783 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5785 * text2.C (getCursorX): new helper function
5786 (setCursor): compute also ix_
5787 (setCursorFromCoordinates): set also ix.
5789 * lyxcursor.h: added ix_ and helper functions.
5791 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5793 * buffer.C (insertStringAsLines): dont break paragraph if the this
5794 paragraph is inside an inset which does not permit it!
5796 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5797 also with no chars on this paragraph.
5798 (paintRowText): only paint stuff if it's inside the workarea!
5800 * paragraph.C (breakParagraph): honor keepempty flag and break the
5801 paragraph always below not above.
5803 * BufferView2.C (unlockInset): update the paragraph layout on inset
5804 unlock as we changed paragraph in such a case.
5806 * lyxfind.C (LyXFind): clear the former selection if not found!
5808 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5809 again called in insertChar().
5811 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5812 an inset which uses the whole row!
5813 (rightMargin): ditto.
5814 (insertChar): force a rebreak if we inserted an inset!
5816 2002-03-28 Herbert Voss <voss@lyx.org>
5818 * lyxlength.[Ch]: add inBP() to get the right PS-point
5819 units (BigPoint). With inPixels we have rounding errors
5821 2002-04-11 Juergen Vigna <jug@sad.it>
5823 * text2.C (setCursorFromCoordinates): set iy to the right value.
5824 (setCursor): add check if row->previous exists!
5826 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5827 an old float_type as this was the case in the old code!
5829 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5831 * BufferView2.C (showLockedInsetCursor): use iy
5832 (fitLockedInsetCursor): ditto
5834 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5835 locked insets as there we have the right value now.
5837 * lyxcursor.C: added iy_ variable and iy functions to set to the
5838 baseline of cursor-y of the locked inset.
5840 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5841 (setCursor): fixed for insets which need a full row.
5843 * text.C (rowLastPrintable): don't ignore the last space when before
5844 an inset which needs a full row.
5845 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5846 as last character of a row when before a inset which needs a full row.
5848 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5850 * version.C.in: update date
5852 * text2.C (fullRebreak): try to always return true and see what
5855 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5857 * MenuBackend.C (expand): use Floating::listName
5859 * FloatList.C (FloatList): add listName argument to the built-in
5862 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5863 text associated with the float.
5865 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5867 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5869 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5871 * ShareContainer.h: add a couple of missing typenames.
5873 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5875 * lyxrc.C (getDescription): use _() correctly rather than N_().
5877 2002-03-28 Herbert Voss <voss@lyx.org>
5879 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5880 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5882 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5884 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5885 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5887 2002-03-29 Juergen Vigna <jug@sad.it>
5889 * lyxfunc.C (dispatch): add a missing fitCursor call.
5891 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5892 it was scrolled by a cursor move, so return the bool status.
5894 * BufferView.C (fitCursor): return the bool flag also to the outside
5895 world as this is needed.
5897 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5899 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5900 call the edit() as it is not needed (and wrong) IMO.
5901 (workAreaButtonPress): set the screen_first variable before evt.
5902 unlock the inset as this may change screen_first and then we have
5903 a wrong y position for the click!
5905 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5907 * MenuBackend.C (expand): another translation that I missed
5909 2002-03-28 Juergen Vigna <jug@sad.it>
5911 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5913 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5915 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5917 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5919 * MenuBackend.C (expand): fix export/view/update when there is no
5922 2002-03-27 Herbert Voss <voss@lyx.org>
5924 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5927 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5929 * bufferview_funcs.C (currentState): only show paragraph number
5930 for is DEVEL_VERSION is set.
5932 * lyxfunc.C (dispatch): put warning in INFO channel
5934 * MenuBackend.C (expand): translate the name of floats
5936 * FloatList.C (FloatList): mark the float names for translation
5938 * converter.C (convert): use LibScriptSearch
5940 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5942 * MenuBackend.C (defaults): fix default menu (we might as well get
5945 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5947 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
5950 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5952 * lyxvc.C: reorder includes.
5954 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
5956 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
5959 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
5961 * CutAndPaste.C: change layouts earlier on paste
5962 to avoid crashing when calling getFont()
5964 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
5966 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
5969 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5971 * WorkArea.C: remove 'Pending' debug message.
5973 * most files: ws cleanup
5975 * buffer.[Ch]: ws changes
5977 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
5979 2002-03-21 Juergen Vigna <jug@sad.it>
5981 * tabular.C (SetMultiColumn): collapse also the contents of the
5982 cells and set the last border right. Added a Buffer const * param.
5984 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5986 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
5989 2002-03-19 Juergen Vigna <jug@sad.it>
5991 * text2.C (clearSelection): reset also xsel_cache.
5993 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
5994 where it needs to be called (John tells us to do so too :)
5995 (selectionLost): reset sel_cache.
5997 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
5999 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6001 * text2.C (setCursorIntern): put debuging code in INSETS channel
6003 2002-03-19 André Pönitz <poenitz@gmx.net>
6005 * lyxfunc.C: tiny whitespace change
6007 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6009 * ToolbarDefaults.C (init):
6010 * LyXAction.C (init):
6012 * BufferView_pimpl.C (Dispatch):
6013 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6015 2002-03-19 Allan Rae <rae@lyx.org>
6017 * exporter.C (Export): removeAutoInsets before doing anything else.
6018 While I've just introduced a dependency on BufferView this really is
6019 the best place to clean the buffer otherwise you need to cleanup in
6020 a dozen places before calling export or cleanup in a dozen functions
6023 * converter.C (runLaTeX):
6024 (scanLog): Better handling of removeAutoInsets and screen updates.
6026 * lyxfunc.C (dispatch): small whitespace changes
6028 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6030 * WorkArea.C (C_WorkAreaEvent): return a value.
6031 (event_cb): return 1 if we handled the event, 0 otherwise.
6033 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6035 2002-03-18 Juergen Vigna <jug@sad.it>
6037 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6038 (GetAdditionalWidth): ditto.
6042 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6043 inset if we're there actually (probably not used right now but this
6044 is the direction to go for unifying code).
6045 (paste): disable code to clear the selection.
6047 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6048 inside an InsetText and move the check further up as it is in the
6051 * text2.C (pasteSelection): set a selection over the pasted text.
6053 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6055 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6056 and libgraphics to build on Cygwin.
6058 2002-03-15 Juergen Vigna <jug@sad.it>
6060 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6061 inserting an Inset into the paragraph. I know this is not the best
6062 fix but we already use current_view in CutAndPaste so we will remove
6063 all of it's using at the same time.
6065 * buffer.C (sgmlError): deactivated function till it is rewritten in
6066 the right mode, now it can create problems.
6068 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6069 before accessing it.
6071 2002-03-14 Juergen Vigna <jug@sad.it>
6073 * undo_funcs.C (textHandleUndo): do the right thing when updating
6074 the inset after the undo/redo.
6076 * text2.C (setCursor): just some testcode for #44 not ready yet.
6078 * undo_funcs.C (textHandleUndo): set the next() and previous()
6079 pointers of the paragraph to 0 before deleting otherwise we have
6080 problems with the Paragraph::[destructor].
6082 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6083 on a paragraph insertion.
6085 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6087 * buffer.C (asciiParagraph): use += operator for char append to
6090 * paragraph.C (getFontSettings): compare >= not just >
6091 (highestFontInRange): ditto
6094 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6096 * paragraph.C: change several algorithm to be more appripriate for
6097 the problem domain. This is lookip in FontList and in the InsetList.
6099 2002-03-13 André Pönitz <poenitz@gmx.net>
6102 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6104 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6109 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6111 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6113 * Painter.C (display): anon helper function, adjust code for this
6115 (pixmap): remove function.
6117 * Painter.h: remove private display variable.
6119 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6121 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6123 * WorkArea.[Ch]: remove figinset_canvas cruft.
6125 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6127 * lyxtextclass.C (operator): add one item cache optimization.
6129 * bufferlist.h: doxy changes
6131 * bufferlist.C: ws changes
6133 * DepTable.[Ch] (ext_exist): place const in the right spot.
6135 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6137 (workAreaExpose): call resizeInsets when the with BufferView changes.
6138 (Dispatch): adjust for protectedBlank removal
6139 (specialChar): call updateInset if the insert went ok.
6141 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6142 specialChar instead.
6144 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6146 * BufferView.h: doxy change
6148 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6150 * lyxtextclass.C (operator[]): remove non-const version
6151 (defaultLayout): remove non-const version
6153 2002-03-12 Juergen Vigna <jug@sad.it>
6155 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6156 did resize the LyXText too.
6158 * buffer.C (readLyXformat2): set layout information on newly allocated
6161 * tabular.C (OldFormatRead): set layout information on the paragraph.
6163 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6165 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6167 2002-03-11 Juergen Vigna <jug@sad.it>
6169 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6171 (resizeCurrentBuffer): force also the insets to resize themselfes.
6172 (moveCursorUpdate): fixed up for InsetText.
6174 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6177 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6178 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6179 value of Dialogs::tooltipsEnabled().
6180 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6182 2002-03-08 Juergen Vigna <jug@sad.it>
6184 * BufferView_pimpl.C (updateInset): update inset inside inset also
6185 if it isn't inside theLockingInset().
6187 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6189 * buffer.C (asciiParagraph): redo some of the word and line length
6191 (getLists): look for Caption instead of caption.
6193 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6195 * buffer.C (Buffer): initialize niceFile to true
6198 (makeDocBookFile): make sure niceFile is true on exit
6200 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6202 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6204 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6206 * LyXSendto.C: remove.
6207 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6208 * lyx_gui.C: remove now-redundant comment.
6209 * ColorHandler.h: remove forward declaration of class WorkArea.
6210 * lyxfunc.C: remove #include "WorkArea.h".
6212 2002-03-07 Juergen Vigna <jug@sad.it>
6214 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6215 got moved away with the DEPM and also set the inset_owner always
6216 right which before could have been omitted.
6218 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6220 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6221 wanted layout is not found.
6223 2002-03-07 Juergen Vigna <jug@sad.it>
6225 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6227 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6229 * paragraph.C (breakParagraph): use default layout not layout of
6231 (Paragraph): clear ParagraphParameters.
6233 2002-03-06 Juergen Vigna <jug@sad.it>
6235 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6236 otherwise it would not be a valid lenght. Fixed a special case in
6237 the minipage compatibility read where we end the document with a
6240 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6241 was set as it could be 0 for InsetTexts first entry.
6243 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6245 * paragraph.C (writeFile): if layout is empty write out
6246 defaultLayoutName().
6248 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6249 file without named layout we set layout to defaultLayoutName().
6251 2002-03-06 Juergen Vigna <jug@sad.it>
6253 * CutAndPaste.C (copySelection): set layout for new paragraph.
6255 * text.C (prepareToPrint): leave ERT inset left aligned
6256 (leftMargin): don't indent paragraphs inside ERT insets
6258 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6260 * paragraph.C (breakParagraph): dont call clear do the work manually
6262 * paragraph.[Ch] (clear): remove function
6264 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6266 * paragraph.C (Paragraph): dont call clear, the work has already
6269 * lyxtextclass.C (operator): assert if n is empty
6271 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6272 work manually instead.
6274 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6276 * BufferView_pimpl.C: protect selectionLost against text == 0
6278 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6280 * text.C (breakParagraph): fix a setting layout to '0' problem.
6282 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6284 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6285 final location of file, for the included files, and graphics.
6287 2002-03-05 Juergen Vigna <jug@sad.it>
6289 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6291 2002-03-04 Juergen Vigna <jug@sad.it>
6293 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6295 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6296 last column of multicolumn cells.
6297 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6299 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6301 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6302 file if it doesn't go to a temporary file.
6304 * buffer.C (sgmlOpenTag):
6305 (sgmlCloseTag): remove extra newline insertion.
6307 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6309 * text.C (getRowNearY): comment out debug msg
6311 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6313 * text2.C: first -> first_y
6315 * text.C (getRowNearY): add some attemts at a possible
6316 optimization, not working.
6318 * tabular.[Ch]: add BufferParams to several function so that newly
6319 created paragraph can be initialized to he default layotu for the
6322 * tabular-old.C (ReadOld): add buf->params to call of Init
6324 * screen.C: rename text->first to text->first_y
6326 * paragraph.C (breakParagraph): always set layout in the broken
6329 * lyxtextclass.C (Read): remove lowercase
6332 (delete_layout): ditto
6334 * lyxtext.h: rename first -> first_y
6336 * lyxlayout.C (Read): remove lowercase
6339 (obsoleted_by): ditto
6341 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6343 * buffer.C (insertErtContents): add params are to InsetERT
6344 (parseSingleLyXformat2Token): add code to check if a paragraphs
6345 layout really exist.
6346 (parseSingleLyXformat2Token): add params to several inset
6348 (asciiParagraph): remove lowercase, do the layout comparisons with
6351 * BufferView_pimpl.C (cursorNext): first -> first_y
6352 (resizeCurrentBuffer): first -> first_y
6353 (updateScrollbar): first -> first_y
6354 (scrollCB): first -> first_y
6355 (workAreaMotionNotify): first -> first_y
6356 (workAreaButtonPress): first -> first_y
6357 (checkInsetHit): first -> first_y
6358 (cursorPrevious): first -> first_y
6359 (cursorNext): first -> first_y
6360 (Dispatch): add buffer_->params to severl inset contructors
6362 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6364 * lyxlayout.C (Read): remove some debug info that I forgot.
6366 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6367 clean up the code slightly.
6368 (makeLinuxDocFile): ditto
6369 (makeDocBookFile): ditto
6371 * text2.C: layout as string
6373 * text.C: layout as string
6375 * paragraph_pimpl.C: layout as string
6377 * paragraph.[Ch]: layout as string
6379 * lyxtextclasslist.[Ch]: layout as string
6381 * lyxtextclass.[Ch]: layout as string
6383 * lyxtext.h: layout as string
6385 * lyxlayout.[Ch]: layout as string
6387 * lyx_cb.C: layout as string
6389 * bufferview_funcs.C: layout as string
6391 * bufferparams.C: layout as string
6393 * buffer.C: layout as string
6395 * LyXView.[Ch]: layout as string
6397 * LaTeXFeatures.[Ch]: layout as string
6399 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6401 * BufferView_pimpl.C: change current_layout to string, remove
6406 (workAreaButtonRelease): layout as string
6408 * BufferView2.C (unlockInset): adjust
6410 * vspace.C (asLatexCommand): use an explict temp variable.
6412 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6414 * Makefile.am: use FRONTEND_*
6416 2002-03-01 Juergen Vigna <jug@sad.it>
6418 * tabular.C (SetWidthOfMulticolCell): changed to something better
6419 I hope but still work in progress.
6420 (recalculateMulticolumnsOfColumn): renamed function from
6421 recalculateMulticolCells as it is more appropriate now.
6422 (SetWidthOfCell): calculate multicols better.
6424 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6426 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6428 * lyxfunc.C (processKeySym): print sequence also if it is
6429 `deleted' (complete)
6431 * kbsequence.C (print): print sequence even if it is deleted
6432 (complete would be a better word, actually).
6434 * lyxfunc.C (dispatch): print complete options after a prefix key
6436 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6438 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6440 * text2.C (setCharFont): eliminate setCharFont code duplication.
6442 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6444 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6445 LFUN_TABULAR_FEATURE (bug #177)
6447 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6449 * Makefile.am: remove figure.h
6451 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6453 * Bufferview_pimpl.C:
6465 * text2.C: remove #include "lyx_gui_misc.h".
6467 * LaTeX.C: added #include <cstdio>
6469 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6471 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6472 that the paragraph following this one can have.
6474 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6476 * vspace.C (asLatexCommand): fix bogus gcc warning
6478 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6480 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6482 * text2.C (setLayout): get rid of redundant code
6484 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6486 * text2.C (incDepth): make sure depth cannot be increased beyond
6489 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6491 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6492 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6494 * PainterBase.h (image):
6495 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6498 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6502 * BufferView_pimpl.C:
6503 * BufferView_pimpl.h:
6523 * sp_spell.C: remove fig inset, and the crap house of
6524 cards that follows it
6526 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6532 * nt_defines.h: move .h into support/
6534 * vms_defines.h: remove
6536 * WorkArea.C: add space in debug output
6540 * buffer.C: add WITH_WARNINGS
6544 * bufferlist.C: s/retrive/retrieve/, add docs
6555 * lyxgui.C: add ID to X error handler
6557 * lyxtestclass.c: fix typo
6559 2002-02-26 Juergen Vigna <jug@sad.it>
6561 * tabular_funcs.C (write_attribute): changed so that some default
6562 attributes are not written at all.
6563 (getTokenValue): set default values before trying to read the
6564 value so we have the return value always set as default if we don't
6565 find the token we search for.
6567 * tabular.C (Write): write bools as bools not as strings!
6569 2002-02-22 Juergen Vigna <jug@sad.it>
6571 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6572 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6574 * text.C (leftMargin): don't add an indent for paragraphs inside
6575 tabular cells (fix #208).
6577 2002-02-21 José Matos <jamatos@fep.up.pt>
6579 * tabular.C (docBook): fixed support for long tables.
6581 2002-02-20 Juergen Vigna <jug@sad.it>
6583 * text2.C (getFont): get the drawing font of the Inset if this
6584 paragraph is inside an inset (only important for InsetERT for now).
6586 * buffer.C (insertErtContents): use new lanugage params in ERT
6589 * CutAndPaste.C: commenting out seemingly uneeded code.
6591 2002-02-19 Allan Rae <rae@lyx.org>
6593 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6594 Iterators might be simple to use but they also get invalidated.
6595 (removeAutoInsets): renamed saved cursor tracking variables and added
6596 some comments to clarify what everything does.
6598 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6605 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6606 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6609 * vc-backend.h: remove #include "support/syscall.h"
6613 * converter.C: rearrange #includes in Lars' approved fashion.
6615 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6616 forward declare class Timeout in the header file.
6618 * XFormsView.C: changes due to the above.
6620 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6623 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6624 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6626 2002-02-18 José Matos <jamatos@fep.up.pt>
6628 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6631 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6633 * a lot of small ws changes
6634 * add a lot of using std::XXX
6635 * use std construcs some places where approp.
6636 * use some exisint stuff from lyxfunctional where approp.
6637 * Make file changes to use partial linking (lets test this now...)
6639 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6643 remove #include "support/syscontr.h" as it's redundant. Always has been.
6651 change Systemcalls::System to Systemcalls::Wait and
6652 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6653 No change of functionality, just reflects the stripped down Systemcalls
6656 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6658 * debug.[Ch]: add a GRAPHICS type to the enum.
6660 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6662 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6664 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6667 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6669 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6670 match the changes below.
6672 * text2.C (toggleInset): if there is not editable inset at cursor
6673 position, try to see if cursor is _inside_ a collapsable inset
6676 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6678 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6679 document menu has a nice checkbox
6681 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6683 * lyxlength.C (asLatexString): change PW to output as percent of
6686 * lengthcommon.C: change '%' to 't%'
6688 * lyxfunc.C (dispatch): a few comments from Martin
6690 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6694 * BufferView_pimpl.h:
6695 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6698 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6700 * vspace.C (inPixels): fix compiler warning
6702 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6704 * lyxfunc.C (getStatus): fix status message for disabled commands.
6706 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6708 * BufferView_pimpl.C: fix crash on close buffer
6709 during selection (#227)
6711 2002-01-27 Herbert Voss <voss@lyx.org>
6713 * buffer.C: link old Figure to new graphic inset
6715 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6717 * FontLoader.C (getFontinfo): Change the latex font names in order
6718 to match the names of type1inst.
6720 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6722 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6724 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6727 (remove_files_with_extension): ditto
6728 (remove_file): ditto
6731 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6732 document is smaller than the work area height. Do not initialize
6733 static variables to 0.
6735 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6737 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6739 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6740 LFUN_LAYOUT_PARAGRAPHS.
6742 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6743 tabular. It is possible to provide a possible cell, which will
6744 typically be the actcell from the corresponding insettabular
6746 * lyxfunc.C (getStatus): small cleanup; disable
6747 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6750 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6752 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6754 * paragraph.C (startTeXParParams):
6755 (endTeXParParams): new methods. The LaTeX code to
6756 start/end paragraph formatting
6757 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6758 empty (fixes bug #200)
6760 * vspace.C (inPixels): adapt to the change below
6761 (inPixels): [later] more cleanups (remove unused variables)
6763 * lyxlength.C (inPixels): change to use a width and a height as
6766 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6768 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6769 Replaced with \paperwidth
6771 * DepTable.C (insert): add std:: qualifier
6773 2002-01-18 Allan Rae <rae@lyx.org>
6775 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6778 * text.C (drawInset): Turned out I didn't know enough about how
6779 rebreaking worked. This fixes most of the redraw problems. I see
6780 an occasional cursor trail when a line is broken now and the cursor
6781 placement can seem out by a few pixels also after a rebreak.
6783 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6785 * buffer.C (parseSingleLyXformat2Token): update because minipage
6786 width is now a LyXLength
6788 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6790 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6793 2002-01-17 Juergen Vigna <jug@sad.it>
6795 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6797 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6798 is set correctly and the inset is updated correctly.
6800 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6802 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6803 the beginning of the loop.
6805 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6807 * lyxrc.C: improve help for use_scalable_fonts
6809 2002-01-17 Allan Rae <rae@lyx.org>
6811 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6813 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6815 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6816 make sure to set their inset_owner to the right value (bug #171)
6818 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6821 * DepTable.C: Implement mtime checking to reduce time spent doing
6824 2002-01-16 Juergen Vigna <jug@sad.it>
6826 * tabular.C (GetAdditionalHeight): one of error fixed.
6828 * lyxrc.C (output): small fix in writing use_pspell.
6830 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6832 * sp_base.h: #include LString.h
6834 2002-01-16 Allan Rae <rae@lyx.org>
6836 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6837 Can someone check this please?
6839 * text.C (drawInset): It was possible that p.row would be removed by
6840 breakAgainOneRow upsetting a few other settings. There may be another
6841 small tweak possible by setting need_break_row = 0 when p.row has been
6842 removed but I don't know enough about the logic here.
6844 2002-01-15 Allan Rae <rae@lyx.org>
6846 * text.C (insertChar): removed conditional truism.
6848 * BufferView2.C (removeAutoInsets): More tweaks.
6849 cur_par_prev could be a stray pointer. Check for trailing empty line
6850 in case last line was cur_par and only had an error inset on it.
6852 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6854 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6857 * vc-backend.C (most methods):
6858 * exporter.C (Export):
6859 * converter.C (convert):
6861 * LyXSendto.C (SendtoApplyCB):
6862 * lyxfunc.C (dispatch):
6866 * lyx_cb.C (AutoSave):
6868 * BufferView_pimpl.C (MenuInsertLyXFile):
6869 * buffer.C (runChktex): use Buffer::filePath().
6871 * buffer.h: rename filename to filename_; rename filepath to
6872 filepath_ and make it private
6873 (filePath): new method
6875 * buffer.C (writeFile): use fileName()
6878 * lyx_main.C (init): fix starting of LyX when the binary is a
6879 link from so,ewhere else.
6881 * minibuffer.C: include <cctype> for isprint
6883 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6885 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6886 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6887 name clash with InsetCollapsable's width function.
6889 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6891 * lastfiles.C: include <iterator>
6893 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6895 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6898 * buffer.C (makeLaTeXFile): ditto.
6899 Also make loop operation more transparent.
6901 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6903 * ToolbarDefaults.C: remove trailing comma closing namespace.
6905 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6907 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6910 * trans.C (Load): comment out unused variable, allowed.
6912 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6914 * minibuffer.[Ch] (append_char): new method to recieve input from the
6915 drop-down completion browser. If a key was pressed, then recieve this
6916 char and append it to the existing string.
6917 (peek_event): modify the positioning data passed to the completion
6918 browser so that it can be placed above the minibuffer rather than below.
6919 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6921 * LyXAction.C (init): alloe error-next for readonly documents.
6923 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6926 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6928 * bufferlist.C (readFile): create the buffer _after_ checking that
6931 * lyxfunc.C (verboseDispatch): fix handling of arguments
6933 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6935 * lyxrc.C: use string::erase() instead of initializing to "".
6938 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6940 * BufferView_pimpl.h:
6941 * BufferView_pimpl.C:
6944 * text2.C: tell X when we have made a selection for copying
6946 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * BufferView_pimpl.C (MenuInsertLyXFile):
6949 * lyxfunc.C (menuNew):
6951 (doImport): add shortcuts to directory buttons
6953 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
6956 * lyxfunc.C (setStatusMessage):
6957 (getStatusMessage): new methods
6958 (getStatus):use setStatusMessage instead of setErrorMessage
6959 (dispatch): when function is disabled, set error message here
6960 [instead of in getStatus previously]
6962 * BufferView_pimpl.C (workAreaButtonRelease): update
6963 toolbar/menubar here too.
6965 2002-01-13 Allan Rae <rae@lyx.org>
6967 * BufferView2.C (removeAutoInsets): finished off earlier fix.
6968 Now seems indestructible. Remaining task is to audit all other
6969 code affected by deleteEmptyParagraphMechanism. One small quirk
6970 left is that an empty document with an error in the preamble can
6971 be made to report an error but no error box appears. I don't know
6973 (removeAutoInsets): Improved comments.
6975 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
6978 * Thesaurus.C: update for Aiksaurus 0.14
6980 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6982 * text2.C (firstParagraph): removed member function, all uses
6983 replaces with ownerParagraph
6984 (redoParagraphs): here
6986 (toggleAppendix): here
6987 * BufferView2.C (insertErrors): here
6988 (setCursorFromRow): here
6990 2002-01-13 Allan Rae <rae@lyx.org>
6992 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
6993 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
6994 There is still a way to segfault this although you may have to do this
6995 multiple times: Have an InsetERT with an unknown command in it.
6996 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
6997 <down-arrow>, <Enter> again, View->DVI, BANG!
6999 * text2.C (setCursor):
7000 (deleteEmptyParagraphMechanism):
7001 * lyxtext.h (setCursor):
7002 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7003 Making use of the return value may help fix other bugs.
7005 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7007 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7009 * LyXView.C (updateMenubar): call MenuBar::update here
7010 (updateToolbar): but not here
7011 (showState): do not update toolbar/menubar
7013 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7014 should need to care about that.
7016 * lyxfunc.C (verboseDispatch): simplify a bit
7017 (getStatus): have a version which takes a pseudoaction, and
7018 another which requires a (kb_action,string).
7020 * LyXAction.C (retrieveActionArg): make it work also when action
7021 is not a pseudo-action.
7022 (getActionName): simplify a bit
7025 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7027 * lyxfunc.C (verboseDispatch): new families of methods with
7028 several ways to specify a command and a bool to indicate whether
7029 the command name and shortcut should be displayed in minibuffer
7030 (eventually, we could extend that to a finer bitmask like
7031 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7032 (dispatch): the pristine dispatch command which just, well,
7033 dispatchs! Note it still sets its result to minibuffer; I'm not
7036 * lyxfunc.h: remove setHintMessage
7038 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7040 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7042 * BufferView_pimpl.C (specialChar): delete new inset if we have
7043 not been able to insert it.
7045 * kbmap.C: revert to using int instead of kb_action, since all we
7046 are dealing with is pseudo-actions.
7048 * LyXAction.C (searchActionArg): change to return int instead of
7049 kb_action, since the result is a pseudoaction.
7051 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7053 * buffer.C (insertErtContents): Fix (partially) the font bug.
7055 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7057 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7058 as the other one is broken on my machine!
7060 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7063 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7065 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7067 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7068 reflect their actual use. Provide compatibility code for older lyxrc
7071 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7073 change names of popup font variables in line with the changes to lyxrc.C
7075 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7077 * buffer.C (asciiParagraph): avoid outputing a word twice after
7080 * lyxrc.C (getDescription): document that document_path and
7081 template_path can be empty.
7083 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7085 * LaTeXFeatures.C (getMacros):
7086 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7088 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7090 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7092 (getPackages): rename feature "floats" to "float". Use an array to
7093 iterate over 'simple' features (i.e. just a \usepackage). Add
7094 handling of "amsmath" (renamed from "amsstyle").
7096 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7098 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7101 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7103 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7104 FuncStaus::FuncStatus & FuncStaus::some_method().
7106 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7108 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7109 of the func_satus stuff. Edited and massaged in various ways by
7112 * lyxfunc.C (getStatus): use FuncStatus
7114 2002-01-08 Juergen Vigna <jug@sad.it>
7116 * text.C (nextBreakPoint): use function Inset::isChar().
7118 * paragraph.C (TeXOnePar): use function
7119 Inset::forceDefaultParagraphs.
7121 * buffer.C (latexParagraphs): use function
7122 Inset::forceDefaultParagraphs.
7124 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7126 * lyx_gui.C (init): set the style of the menu popups to
7127 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7129 2002-01-07 Juergen Vigna <jug@sad.it>
7131 * text.C (setHeightOfRow): small fix
7132 (prepareToPrint): don't look at alignment if we don't have the place
7135 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7137 * box.C: New file. Move the Box methods and functions out of box.h,
7138 following Lars' suggestion.
7140 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7142 * box.h: #include "support/LOstream.h", needed for inlined function.
7145 * lyxtextclasslist.C: added some using std declarations.
7147 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7149 * box.h: make signed dimensions to allow insets wider than
7150 the screen (bug #162)
7152 * BufferView_pimpl.C: add some insetHit debug
7154 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7156 * vc-backend.C: add FIXME
7158 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7160 * lyxfunc.C (getStatus): enable code for showing math font status
7163 2002-01-07 Juergen Vigna <jug@sad.it>
7165 * text.C (nextBreakPoint): removed debug output not needed anymore.
7167 2002-01-06 Juergen Vigna <jug@sad.it>
7169 * text.C (nextBreakPoint): fixed up this function we had this bug
7170 since ever but now hopefully we break row better.
7171 (insertChar): we have to check if an inset is the next char as it
7172 could now happen that a large inset is causing a break.
7174 2002-01-05 Juergen Vigna <jug@sad.it>
7176 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7177 if it doesn't like to be drawed.
7179 2002-01-04 Juergen Vigna <jug@sad.it>
7181 * BufferView2.C (lockInset): forgot to set a cursor.
7183 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7185 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7190 * form_maths_panel.C:
7191 * form_maths_panel.h:
7192 * form_maths_panel.fd: implemented sub- and super- buttons in math
7195 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7196 (or ^ space) to be used as in TeX (req'd by André).
7198 * lyxfunc.C: Allow ^ and _ again to be used both as
7199 super/subscript (mathed) and as themselves (in text).
7201 2002-01-03 Allan Rae <rae@lyx.org>
7203 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7204 "LyX" or the filename of the current buffer if it has one. This is a
7205 modified form of John Levon's patch.
7207 * XFormsView.C (setWindowTitle): also set icon title.
7209 * LyXView.h (setWindowTitle): signature changed.
7210 * XFormsView.h (setWindowTitle): ditto.
7212 2002-01-02 Juergen Vigna <jug@sad.it>
7214 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7216 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7218 * screen.C (topCursorVisible): introduce a temp var for
7219 text->cursor.row(), handle the case where this row is null. (kindo
7222 * text2.C (setCursor): add a couple of asserts.
7224 * paragraph.h (inset_iterator): add -> operator
7226 * paragraph.[Ch] (autoDeleteInsets): remove member function
7228 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7229 cursor pos correctly and handle inset deletion by itself.
7230 (insertErrors): move iterator declaration out of for expression
7232 * lyxtextclass.C: add <algorithm>
7234 * Makefile.am: added the new files to sources, removed layout.C
7236 * layout.C: removed file
7238 * layout.h: remove LYX_DUMMY_LAYOUT
7240 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7244 * lyxtextclass.[Ch]:
7245 * lyxtextclasslist.[Ch]: new files
7247 * include order changes to a lot of files, also changes because of
7250 2001-12-27 Juergen Vigna <jug@sad.it>
7252 * buffer.C (asciiParagraph): more fixes.
7254 * tabular.C (ascii): make ascii export support export of only the
7255 data separated by a column-delimiter.
7256 (ascii): better support for ascii export.
7258 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7260 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7262 * tabular_funcs.C: use a "using std::getline" instead of the
7263 previous fix from Angus (necessary for cxx + lyxstring)
7265 2001-12-24 Juergen Vigna <jug@sad.it>
7267 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7269 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7270 problems. First check a minipage also if we have some ert-contents
7271 (not only on par->size(), second set the right depth of the paragraph
7272 on the relink to the root-paragraph-list!
7274 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7275 which then did not anymore update the main paragraphs on undo/redo!
7277 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7279 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7280 code. Support all font-changing funcs (even those which are not in
7281 menu currently). Support for reporting font settings in
7282 mathed (disabled until Andre provides a function on mathed's side).
7284 * func_status.h (toggle): small helper function to set toggle
7287 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7289 * tabular_funcs.C: getline -> std::getline
7291 2001-12-21 Juergen Vigna <jug@sad.it>
7293 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7294 accessed and could be 0 (I couldn't generate this but it seems
7297 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7299 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7300 * tabular_funcs.h: here and include iosfwd
7302 2001-12-20 Juergen Vigna <jug@sad.it>
7304 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7305 inside inset but undo_par was.
7307 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7309 * Thesaurus.C: always include <config.h> in sources.
7313 * box.h: do not include <config.h> in header files
7315 * text.C (paintLastRow): remove unused variable
7317 * text.C (transformChar):
7319 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7322 * font.C (width): rewrite to use uppercase() instead of
7325 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7327 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7329 * lyxfind.C: clean up of find failure position change
7331 2001-12-20 Juergen Vigna <jug@sad.it>
7333 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7335 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7336 (TeXRow): added to LaTeX a single tabular row.
7337 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7338 (Latex): simplified and finally good LT-h/f support.
7339 (various_functions): just small adaptions for LT-h/f support.
7341 * tabular_funcs.[hC]: added and moved here all not classfunctions
7344 2001-12-19 Juergen Vigna <jug@sad.it>
7346 * tabular.[Ch]: better support for longtabular options (not finished
7349 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7351 * text.C (paintLastRow): use the label font instead of the font of
7352 the last character to compute the size of *_BOX. This makes more
7353 sense and avoids a crash with empty paragraphs.
7354 Use Painter::rectangle to draw EMPTY_BOX.
7356 2001-12-19 Juergen Vigna <jug@sad.it>
7358 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7359 the paragraphs if the replaced paragraph is not the first one!
7360 Tried to delete not used paragraphs but does not work yet so for
7361 now it's inside #ifdef's and by default off!
7363 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7365 * MenuBackend.C: include "lyx_main.h" instead of declaring
7366 lastfiles (actually was declared as LastFiles* instead of a
7369 2001-12-17 Juergen Vigna <jug@sad.it>
7371 * tabular.C (AppendColumn): applied John's fix
7373 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7377 * BufferView_pimpl.h:
7378 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7381 * box.h: new start of class for above
7383 * lyxfunc.C: ignore space-only minibuffer dispatches.
7384 Show the command name when it doesn't exist
7386 * minibuffer.C: don't add empty lines to the history
7388 * minibuffer.C: add a space on dropdown completion
7390 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7392 * text.C: fix line above/below drawing in insets
7394 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7396 * lyxlength.C (LyXLength): Initialize private variables.
7398 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7400 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7401 when inserting error insets.
7403 2001-12-13 Juergen Vigna <jug@sad.it>
7405 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7406 actually sometimes the before-paragraph.
7407 (setUndo): don't clear the redostack if we're not actually undoing!
7409 2001-12-06 Juergen Vigna <jug@sad.it>
7411 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7412 and fixed redoing of main paragraph, so we can use it now ;)
7414 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7416 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7418 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7421 2001-12-13 André Pönitz <poenitz@gmx.net>
7424 * undo_func.C: minor cleanup
7426 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7428 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7429 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7430 font in urw-fonts package which is marked as -urw-fontspecific and
7431 does not work (incidentally, changing the encoding in the
7432 fonts.dir of this package to -adobe-fontspecific fixes the
7435 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7436 is a crash when undoing first paragraph (Juergen, please take a
7437 look). THis does not mean the undo fix is wrong, just that it
7440 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7441 the (Paragraph*) version when needed instead of duplicating the
7444 * text.C (workWidth): use Inset::parOwner to find out where the
7445 inset has been inserted. This is a huge performance gain for large
7446 documents with lots of insets. If Inset::parOwner is not set, fall
7447 back on the brute force method
7449 * paragraph_pimpl.C (insertInset):
7450 * paragraph.C (Paragraph):
7451 (cutIntoMinibuffer): set parOwner of insets when
7452 inserting/removing them
7454 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7456 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7462 * mathed/formulabase.C:
7463 * mathed/math_cursor.[Ch]:
7464 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7467 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7469 * lyxlength.[Ch] (operator!=): new function
7471 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7473 * text.C (workWidth): use Inset::parOwner to find out where the
7474 inset has been inserted. This is a huge performance gain for large
7475 documents with lots of insets. If Inset::parOwner is not set, fall
7476 back on the brute force method
7478 * paragraph_pimpl.C (insertInset):
7479 * paragraph.C (Paragraph):
7480 (cutIntoMinibuffer): set parOwner of insets when
7481 inserting/removing them
7483 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7485 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7487 * tabular-old.C (getTokenValue):
7488 * tabular.C (getTokenValue):
7489 (write_attribute): new versions for LyXLength
7490 (everywhere): adjust the use of widths
7492 * tabular.h: change the type of widths from string to LyXLength
7494 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7496 * paragraph.C: fixed missing line number count when exporting
7497 Environments to LaTeX file
7499 * buffer.C: added informational message for checking line numbers.
7501 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7503 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7504 paragraph, do the 'double space' part, but not the 'empty
7507 * text.C (workWidth): small optimization
7508 (getLengthMarkerHeight): use minimal size for negative lengths.
7510 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7512 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7514 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7516 2001-12-11 André Pönitz <poenitz@gmx.net>
7519 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7521 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7523 * text2.C: keep selection on a setFont()
7525 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7527 * lyx_cb.C: another bv->text misuse, from insert label
7529 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7532 * kbsequence.C: re-instate nmodifier mask
7534 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7536 * lyx_main.h: make lyxGUI private.
7538 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7540 * lyxfind.C: place the cursor correctly on failed search
7542 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7544 * text.C (getLengthMarkerHeight): for small heights, the arrows
7545 are not always on top/bottom of the text
7546 (drawLengthMarker): smaller arrows; take the left margin in
7547 account; draw also vfills.
7549 (paintLastRow): remove special code for vfill and standard spaces,
7550 since everything is handled in drawLengthMarker now.
7552 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7554 * buffer.C (insertErtContents): try to handle font and language
7555 interaction a bit better.g
7557 * ColorHandler.C (updateColor): change the hash to cover the whole
7558 LColor enum, ws cleanup
7559 (getGCLinepars): ditto
7560 (getGCLinepars): only lookup in the linecache once.
7562 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7564 * iterators.C (operator++): Make the iterator more robust
7566 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7568 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7570 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7573 * text.C: better added space drawing
7575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7578 * BufferView2.C: fix layout combo update on inset unlock
7580 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7582 * Makefile.am: don't compile unused files
7584 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7588 * LyXAction.C: remove old LFUN_LAYOUTNO
7590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7592 * paragraph_pimpl.h:
7593 * paragraph_pimpl.C: isTextAt() doesn't need font param
7595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7598 * lyxlex.C: little cleanup
7600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7602 * BufferView_pimpl.C: fix insertAscii for insets
7604 2001-12-05 Juergen Vigna <jug@sad.it>
7606 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7607 set the right font on the "multi" paragraph paste!
7609 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7615 * lyxlength.C: remove out-commented code.
7631 * vc-backend.C: change "while(" to "while ("
7633 * lyxlength.[Ch]: add zero function to check if length is zero or
7635 * lyxgluelength.C: use it
7637 2001-12-05 Allan Rae <rae@lyx.org>
7639 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7640 Works for 2.95.3, from what I understand of Garst's reports this should
7641 work for other g++ versions. We're screwed if the abs(int) definition
7642 changed between bugfix releases of gcc.
7644 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7646 * text.C: fix chapter label offset !
7648 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7651 * text.C: fix hfill at end of line, clean up
7653 2001-12-04 Juergen Vigna <jug@sad.it>
7655 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7656 that we force an update of the inset and it's owners if neccessary.
7658 2001-12-03 Juergen Vigna <jug@sad.it>
7660 * text.C (rowLast): simplified code
7662 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7664 * lyxfunc.C: fix show options on timeout
7666 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7668 * screen.C (topCursorVisible): scroll half a page when the cursor
7669 reached top of bottom of screen
7671 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7673 * minibuffer.C: deactivate on loss of focus
7675 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * vspace.[Ch] (operator!=): add operator.
7679 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7681 * BufferView_pimpl.C: refuse to open an inset when
7682 there's a selection.
7684 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7686 * BufferView_pimpl.C: allow to click on RHS of full row insets
7688 2001-11-30 Juergen Vigna <jug@sad.it>
7690 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7691 insets for undo reasons.
7693 2001-11-28 André Pönitz <poenitz@gmx.net>
7695 * vspace.[Ch]: cosmetical changes
7697 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7707 * kbsequence.C: part re-write of old kb code
7710 * WorkArea.C: remove Lgb_bug_find_hack
7712 2001-11-30 José Matos <jamatos@fep.up.pt>
7714 * buffer.C (makeDocBookFile): add a comment to point a hack.
7715 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7716 Fixed a double write of labels.
7718 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7721 * LaTeX.h Fixed bug in LaTeX class where it would not
7722 re-run latex if no depfiles were changed, but the .dvi was removed.
7724 2001-11-28 André Pönitz <poenitz@gmx.net>
7726 * all the files from the change on 2001/11/26:
7727 use lyx::layout_type instead of LyXTextClass::size_type
7728 use lyx::textclass_type instead of LyXTextClassList::size_type
7730 2001-11-29 Juergen Vigna <jug@sad.it>
7732 * text.C: added support for paragraph::isFreeSpacing()
7734 * buffer.C: same as above
7736 * paragraph.h: inserted isFreeSpacing() function to enable
7737 FreeSpacing inside InsetERT.
7739 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7740 of the paragraph's in the cut/copy buffer to 0!
7742 * text2.C (removeRow): remove the assert as it can!
7744 * lyxtext.h: added helper function firstRow returning firstrow and
7745 made firstrow private again.
7747 * BufferView2.C (lockInset): don't relock if we're already locked!
7749 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7751 (removeRow): added Assert::(firstrow)
7753 * debug.C: forgot to add INSETTEXT here.
7755 2001-11-28 Juergen Vigna <jug@sad.it>
7757 * sp_spell.C (initialize): changed error text to more general
7758 spellchecker command use (not only ispell!)
7760 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7762 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7764 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7766 * vspace.C: initialise lyxgluelength on failure
7768 2001-11-28 Allan Rae <rae@lyx.org>
7770 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7771 declaration & definition that looks like a function declaration.
7773 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7775 * BufferView2.C (copy):
7776 (copyEnvironment): do not clear the selection when doing a copy.
7778 * text.C (paintFirstRow): compilation fix
7780 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7782 * tabular.C (Latex): correct line count when writing latex.
7784 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7786 * paragraph_pimpl.h:
7787 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7790 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7794 * LColor.C: change vfillline->added_space
7796 * text.C: add markers and text for added space
7798 * vspace.C: fix comment
7800 2001-11-28 André Pönitz <poenitz@gmx.net>
7802 * paragraph.C: whitespace changes
7803 * all the other files from the change on 2001/11/26:
7804 change *::pos_type into lyx::pos_type
7806 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7808 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7809 language of the document when inserting error insets.
7811 2001-11-26 André Pönitz <poenitz@gmx.net>
7813 * BufferView_pimpl.[Ch]:
7821 * paragraph_pimpl.[Ch]:
7824 * text2.C: reduce header dependencies, introduce type for positions
7826 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7828 * <various>: change to use Alert.h
7830 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7832 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7833 when encountering an unknown token.
7834 (readLyXformat2): Show an error message if there were unknown tokens.
7836 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7839 * BufferView_pimpl.C:
7843 * text2.C: use par->isInset()
7845 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7847 * paragraph_pimpl.h:
7848 * paragraph_pimpl.C: cleanup
7850 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7852 * text2.C (removeRow):
7853 * text.C (setHeightOfRow): remove useless (and costly) call to
7856 2001-11-20 Allan Rae <rae@lyx.org>
7858 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7859 Now need Inset*::checkInsertChar() to return true for appropriate
7860 cases so that the characters in the minibuffer will actually be
7863 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7865 * text.C: change the order of the includes.
7866 (workWidth): initialize it at once.
7867 (workWidth): make maxw unsigned
7868 (setHeightOfRow): remove unused variable (inset)
7869 (selectSelectedWord): remove unused variable (inset)
7870 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7872 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7874 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7875 server is not running.
7877 (closeConnection): add debug info when server is disabled.
7879 * ColorHandler.C (getGCForeground): send debug message to GUI
7882 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7884 * kbmap.C (bind): modify because return conventions of
7885 kb_sequence::parse have changed.
7887 * kbsequence.C (parse): only ignore spaces and not any stupid
7888 control character. This avoids tests like s[i] <= ' ', which are
7889 guaranteed to fail with 8bit characters and signed chars.
7890 Change return code to string::npos when there have been no error
7891 (0 was a bad idea when error is at first character)
7893 2001-11-14 José Matos <jamatos@fep.up.pt>
7896 * buffer.C (simpleDocBookOnePar): removed unused argument.
7898 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7900 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7901 insets which are part of a word. Paragraph::isLetter takes care of
7902 that now. Use Paragraph::isInset to identify insets.
7903 (selectSelectedWord): do not test for hyphenation break.
7905 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7906 that protected spaces are considered as spaces.
7908 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7911 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7914 * lyxserver.C: fix it. and small cleanup.
7916 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7918 * BufferView_pimpl.C: use inline helpers
7921 * LaTeXFeatures.C: fix typos
7924 * Spacing.C: move spacing_string into class
7926 * ToolbarDefaults.C: move stuff into namespace anon
7928 * layout.h: update enum
7930 * lyxfunc.C: use better debug
7932 * minibuffer.h: fix typo
7936 * WorkArea.C: add and use Debug::WORKAREA
7940 * text2.C: code re-organisation, inline helpers
7942 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
7944 * Layout.C: replaced a few cases of std::vector.size() == 0 with
7945 std::vector.empty().
7947 2001-11-09 Allan Rae <rae@lyx.org>
7949 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
7950 '\n's after tables. Tabular and ERT inset work now makes this no
7953 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7956 * minibuffer.C: fix crash, improve drop-down completion
7958 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
7961 * lyxserver.C: invalidate fd's when doing endPipe()
7963 2001-11-08 José Matos <jamatos@fep.up.pt>
7965 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
7966 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
7969 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
7971 2001-11-07 José Matos <jamatos@fep.up.pt>
7974 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
7977 * buffer.C (sgmlOpenTag):
7978 * buffer.C (sgmlCloseTag): removed debug info.
7980 * buffer.h (sgmlOpenTag):
7981 * buffer.h (sgmlCloseTag): made public.
7983 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7985 * buffer.C (saveParamsAsDefaults):
7986 * lyx_cb.C (MenuLayoutSave): remove
7988 * LyXAction.C (init):
7990 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
7992 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7994 * buffer.C (setPaperStuff): removed from here...
7996 * bufferparams.C (setPaperStuff): ... and moved there.
7998 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8002 * XFormsView.C: add support for drop-down completion
8004 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8006 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8009 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8011 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8014 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8016 * lyx_main.C: change ref to known bugs
8018 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8020 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8021 to work around older babel problems.
8023 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8025 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8027 2001-10-24 Juergen Vigna <jug@sad.it>
8029 * tabular-old.C (ReadOld): below variable changes reflected.
8031 * tabular.[Ch]: added ltType struct for longtable header/footer
8032 defines and changed all instances where they are used. Added
8033 future support for double top/bottom rows.
8035 2001-10-24 José Matos <jamatos@fep.up.pt>
8037 * buffer.h (docbookHandleCaption):
8038 * buffer.C (docbookHandleCaption): removed unused function.
8039 (makeDocBookFile): moved docbook supported version to v4.1.
8041 2001-10-24 José Matos <jamatos@fep.up.pt>
8044 * tabular.C (docbookRow): new function to export docbook code of a row.
8045 (DocBook): now honors the longtable flags.
8047 2001-10-23 José Matos <jamatos@fep.up.pt>
8050 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8051 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8053 * buffer.C (makeLinuxDocFile):
8054 (makeDocBookFile): reworked the preamble, more clean, and with
8055 support for lyx defined entities. Changed the document declaration
8056 to be more XML friendly.
8058 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8059 if we need to output XML that should be done with a filter.
8061 2001-10-22 Juergen Vigna <jug@sad.it>
8063 * sp_pspell.h (class PSpell): add alive function needed in the
8064 controller to see if the spellchecker could be started.
8066 2001-10-22 Juergen Vigna <jug@sad.it>
8068 * buffer.C (insertStringAsLines): modify the font for inserting
8069 chars in certain conditions by calling checkInsertChar(font).
8071 2001-10-19 Juergen Vigna <jug@sad.it>
8073 * text.C (workWidth): use getRow instead of wrong algorithm.
8074 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8076 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8081 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8083 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8085 * text.C (workWidth): do not search for the exact row when
8086 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8087 optimization for big documents.
8089 2001-10-18 Juergen Vigna <jug@sad.it>
8091 * text.C (workWidth): new function with added Inset * parameter.
8093 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8095 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8097 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8098 change return type of getColumnNearX.
8101 * text.C (changeRegionCase): use uppercase/lowercase instead of
8104 (rightMargin): simplify code by factoring out the uses of
8109 (appendParagraph): use Paragraph::size_type
8111 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * vspace.C (asLatexString): add a missing break
8115 2001-10-15 Herbert Voss <voss@perce.de>
8117 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8119 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8121 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8124 2001-10-10 André Pönitz <poenitz@gmx.net>
8126 * lyxfunc.C: removed greek_kb_flag.
8128 2001-10-10 Herbert Voss <voss@perce.de>
8130 * lyx_main.C: delete global string help_lyxdir.
8132 2001-10-09 Herbert Voss <voss@perce.de>
8134 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8136 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8138 * lyx_main.C: added global string help_lyxdir.
8140 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8142 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8144 * lyxrc.C (set_font_norm_type): support iso8859-4
8146 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8148 * LaTeX.C (deplog): add another regex for MikTeX
8150 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8152 * lyxrc.C (set_font_norm_type): support iso8859-3
8154 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8156 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8158 * LaTeXFeatures.C: remove special case of french and index
8160 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8161 before \begin{document}). This solves several incompatibilities.
8163 2001-10-03 Garst Reese <reese@isn.net>
8165 * lyx_cb.C: change CheckTex error msg.
8167 2001-10-03 José Matos <jamatos@fep.up.pt>
8169 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8171 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8173 * .cvsignore: update
8175 * lyx_main.C (commandLineVersionInfo): use new style version info.
8177 * buffer.C (writeFile):
8180 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8182 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8184 * version.h: update to use stuff in version.C
8186 * version.C.in: new file. Contains version information determined
8187 at compile time. This is a merging of version.h and
8190 2001-10-03 Juergen Vigna <jug@sad.it>
8192 * BufferView_pimpl.C (update): don't change "dirty" status in
8195 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8197 * WorkArea.C (c-tor): re-position version string slightly.
8199 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8201 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8202 revert to previous code.
8204 WorkArea.[Ch]: (show, destroySplash): methods removed.
8206 WorkArea.C: rework code so that it's an amalgam of the codes before and
8207 after the splash screen was moved to WorkArea.
8209 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8212 * vspace.C (inPixels):
8215 * buffer.C (insertStringAsLines):
8216 (asciiParagraph): fix types to be large enough
8218 * lyxlex_pimpl.h: change member status from short to int
8220 * layout.h: fix type of endlabeltype
8223 * kbsequence.C (parse): change return type to string::size_type
8225 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8228 * Bullet.C (bulletSize):
8229 (bulletEntry): do not use short ints as parameters
8231 * BufferView2.C (insertLyXFile): change a char to an int.
8233 * WorkArea.C (WorkArea): remove unneeded floats in computation
8235 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8237 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8239 * paragraph.C (asString): Do not ignore newline/hfill chars when
8240 copying to the clipboard.
8242 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8244 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8245 after a multi-line inset.
8247 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8249 * paragraph.C (validate): Set NeedLyXFootnoteCode
8251 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8253 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8254 and decrease-error to decrease.
8256 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8258 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8259 it more readable (should be equivalent)
8261 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8263 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8265 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8267 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8268 of a cursor (row, etc.) after a character has been deleted
8269 (deleteEmptyParagraphMechanism): call the method above on _all_
8270 cursors held by the LyXText when a double space has been
8273 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8275 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8277 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8279 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8280 background. Use greyOut() and the new show() methods to toggle between
8281 the foreground and background. Add code to remove the splash after
8282 its initial showing.
8284 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8285 (create_forms): no longer call Dialogs::showSplash.
8287 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8289 * .cvsignore: add version_info.h
8291 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8293 * version_info.h.in: new file
8295 * Makefile.am: add version_info.h.in
8297 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8298 version_info.h instead of VERSION_INFO
8300 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8302 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8303 The ERT inset now returns string().
8305 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8307 * lyxtext.h, text.C (selectNextWord): renamed as
8308 selectNextWordToSpellcheck.
8310 * text.C (selectNextWordToSpellcheck): Modified to not select
8311 words inside an ERT inset.
8313 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8315 * lyx_cb.C (MenuLayoutSave): change a bit the question
8317 * sp_base.h: include <sys/types.h>
8319 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8321 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8323 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8325 * several files: fix typos in user-visible strings
8327 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8329 * text2.C (pasteSelection): do not set the selection, since it
8330 will be cleared later. Actually, the intent was to fix the way the
8331 selection was set, but I figured rmoving the code was just as good.
8333 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8335 * FontLoader.C (available): Check if font is available without
8338 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8340 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8342 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8344 * lyxrc.[Ch]: added display_graphics variable and associated code.
8346 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8348 * bufferparams.C (hasClassDefaults): new method. Returns true if
8349 the buffer parameters correspond to known class defaults
8351 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8353 * XFormsView.C (show): set minimum size to the main window.
8355 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8357 * text2.C (copySelection):
8359 * lyxfind.C (LyXReplace):
8360 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8361 LyXText::selectionAsString.
8363 * paragraph.C (asString): add "label" argument to the second form
8365 * text2.C (selectionAsString): add "label" argument and pass it to
8366 Paragraph::asString.
8368 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8370 * lyx_main.C (commandLineHelp): remove version information
8372 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8374 * lyx_main.C: add -version commandline option
8376 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8378 * paragraph.h: make the optional constructor arg required instead.
8379 some modifications to other files because of this.
8381 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8383 * lyxserver.C (C_LyXComm_callback): make it static
8385 * lyx_main.C (error_handler): make it static
8387 * lyx_gui.C (LyX_XErrHandler): make it static
8389 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8391 * WorkArea.C: make the extern "C" methods static.
8393 * Makefile.am (lyx_LDADD): simplify
8395 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8397 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8398 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8400 * LyXAction.C (init):
8401 * lyxfunc.C (dispatch): associated code removal.
8403 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8405 * lyxfont.h (isSymbolFont): shut off warning
8407 * text.C (setHeightOfRow):
8408 (getVisibleRow): fix crash with empty paragraphs which have a
8411 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8413 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8416 2001-09-04 José Matos <jamatos@fep.up.pt>
8419 * tabular.C (docbook): rename docBook method to docbook.
8421 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8423 * Makefile.am: add dependencies to main.o.
8425 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8427 * FontLoader.C (available): Return false if !lyxrc.use_gui
8429 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8431 * FontInfo.C (query):
8432 * converter.C (view):
8433 * importer.C (Import):
8434 * exporter.C (Export): Can not -> cannot.
8436 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8438 * BufferView_pimpl.C: allow to create index inset even if
8441 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8443 * buffer.C (getLists): replace boost::tie code with an explicit pair
8444 as boost::tie can break some compilers.
8446 * iterators.h: Added a std:: declaration to the return type of
8449 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8451 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8454 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8456 * iterators.[Ch]: New files. Provide paragraph iterators.
8458 * buffer.C (changeLanguage): Use paragraph iterators.
8459 (isMultiLingual): ditto
8461 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8463 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8465 * FontLoader.C: Support for cmr font.
8467 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8469 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8470 (available): New method.
8472 * FontInfo.C (getFontname): Use scalable fonts even when
8473 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8476 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8478 * converter.C (Formats::view): reverted! Incorrect fix.
8480 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8482 * converter.C (Formats::view): only output the -paper option
8483 if the dvi viewer is xdvi, thereby fixing bug #233429.
8485 2001-08-23 Herbert Voss <voss@perce>
8487 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8489 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8491 * Spacing.h (Spacing): Set space to Default on in the default
8494 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8496 * vc-backend.h (RCS::versionString): add RCS to version
8497 (CVS::versionString): add CVS to version
8499 * vc-backend.C (scanMaster): do not add CVS to version.
8500 (scanMaster): do not add RCS to version
8502 * lyxvc.C (versionString): new method
8504 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8506 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8508 * Spacing.C (set): initialize fval
8510 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8512 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8515 2001-08-16 Juergen Vigna <jug@sad.it>
8517 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8519 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8521 * BufferView_pimpl.C:
8524 * text2.C: setParagraph takes linespacing now
8526 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8528 * LyxAction.C: add internal LFUN_CITATION_INSERT
8530 * LyXView.C: actually apply fix
8532 * bufferlist.C: fix open non-existent file
8534 * lyxfind.C: fix indentation
8536 * lyxfunc.C: remove unneeded assert, fix typo
8538 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8540 * MenuBackend.C: use "Floatname List"
8542 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8544 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8545 when converting LaTeX layout to insetERT.
8546 Generate a non-collapsed float when reading old float
8548 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8550 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8553 2001-08-13 Juergen Vigna <jug@sad.it>
8555 * text.C (fill): return 0 instead of 20 as this seems to be the more
8558 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8560 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8563 2001-08-13 Juergen Vigna <jug@sad.it>
8565 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8567 (SearchBackward): comment out the unlocking of the inset_owner this
8568 should not be needed!
8570 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8572 * Many files: Remove inherit_language, and add latex_language
8574 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8577 2001-08-10 Juergen Vigna <jug@sad.it>
8579 * text.C (prepareToPrint): fixed hfill-width in draw!
8581 * BufferView2.C (selectLastWord): save the selection cursor as this
8582 now is cleared in the function LyXText::clearSelection!
8584 2001-08-08 Juergen Vigna <jug@sad.it>
8586 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8587 BACKSPACE type functions.
8589 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8590 is only cutted from the document but not put in the cut-buffer, where
8591 still the old stuff should be.
8593 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8595 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8597 * tabular.C (SetWidthOfCell): fixed special case where the width
8599 (LeftLine): handle '|' in align_special.
8601 (LeftAlreadyDrawed): ditto
8602 (SetWidthOfCell): ditto
8604 2001-08-07 Juergen Vigna <jug@sad.it>
8606 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8608 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8610 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8611 * lyxlex.[hC]: ditto
8613 2001-08-06 Juergen Vigna <jug@sad.it>
8615 * text.C (getVisibleRow): fix up row clearing a bit.
8617 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8619 * minibuffer.C: make sure the X server sees the changes in the input.
8621 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8623 * paragraph.C (getFont): split into...
8624 (getLabelFont): this
8625 (getLayoutFont): and this
8626 * paragraph_pimpl.C (realizeFont): calling this
8628 * text2.C (getFont): split into...
8629 (getLayoutFont): this
8630 (getLabelFont): and this
8631 (realizeFont): all three calling this
8633 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8636 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8638 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8640 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8642 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8643 layouts from the Quote inset insertion.
8645 2001-08-03 Juergen Vigna <jug@sad.it>
8647 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8649 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8650 only if status not is already CHANGED_IN_DRAW (second level).
8652 * text.C (draw): don't set the need_break_row when inside an
8655 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8657 * buffer.C (parseSingleLyXformat2Token): handle more latex
8660 * bufferview_funcs.[hC]: change function names to
8661 begin with small char, adjust other files.
8663 2001-08-02 André Pönitz <poenitz@gmx.net>
8666 BufferView_pimpl.C: remove broken special code for math-greek
8668 2001-08-02 Juergen Vigna <jug@sad.it>
8670 * BufferView_pimpl.C (update): redone this function so that we
8671 update the text again if there was a CHANGE_IN_DRAW.
8673 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8674 (drawFromTo): added a new internal bool which is used by draw() and
8676 (general): some cursor drawing problems fixed.
8678 2001-08-01 Juergen Vigna <jug@sad.it>
8680 * lyxfind.C (LyXFind): fixed
8681 (SearchForward): ditto
8682 (SearchBackward): ditto
8684 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8685 spurius drawing of the cursor in the main area.
8687 * text2.C (status): small fix which could lead to a segfault!
8688 (clearSelection): remove unneeded BufferView param.
8690 2001-08-01 André Pönitz <poenitz@gmx.net>
8692 * lyxfunc.C: small change due to changed mathed interface
8694 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8696 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8698 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8700 * lyxfunc.c: fail gracefully if file doesn't exist
8705 * BufferView_pimpl.C: IsDirWriteable() proto changed
8707 * LyXView.C: fix updateWindowTitle() to store the last title
8709 2001-07-31 Juergen Vigna <jug@sad.it>
8711 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8712 the font (wrong since using of Paragraph::highestFontInRange).
8714 * paragraph.C (highestFontInRange): added a default_size parameter.
8716 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8717 (setHeightOfRow): reformat
8719 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8721 * converter.[hC] + affected files: move to (inital-char)lowercase
8724 * ParagraphParameters.C (ParagraphParameters): remove commented code
8726 * PainterBase.[Ch]: remove commented code
8728 * LaTeXFeatures.h: add "bool floats" for float.sty
8730 * LaTeXFeatures.C (LaTeXFeatures): init floats
8731 (require): handle float
8732 (getPackages): do it with floats
8734 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8736 * BufferView_pimpl.C (Dispatch): improve handling of
8737 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8739 * commandtags.h: #include lyxfont.h here temporarily to avoid
8742 * bufferlist.h: include LString.h here.
8744 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8746 * text2.C (getStringToIndex): new method.
8748 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8750 * *: Reduced header file dependencies all over.
8752 2001-07-30 Baruch Even <baruch@lyx.org>
8754 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8756 2001-07-29 Baruch Even <baruch@lyx.org>
8758 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8760 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8762 * ParameterStruct.h (endif): add a default constructor to make
8763 sure that all variables is initialized.
8765 * ParagraphParameters.C (ParagraphParameters): adjust
8767 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8769 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8770 index; also, check that there is something to index, and that it
8771 does not span over several paragraphs.
8772 (doubleClick): use WHOLE_WORD_STRICT for double click.
8774 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8776 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8779 2001-07-26 Baruch Even <baruch@lyx.org>
8781 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8782 an InsetFig figure, backwards compatible reading of old figure code.
8784 2001-07-27 Juergen Vigna <jug@sad.it>
8786 * text2.C: font.realize function adaption.
8788 * text.C (draw): add a warnings lyxerr text if needed.
8790 * layout.C: font.realize function adaption.
8792 * language.C: add inherit_language and implement it's handlings
8794 * bufferview_funcs.C (StyleReset): remove language parameter from
8795 font creation (should be language_inherit now).
8797 * bufferparams.C (writeFile): handle ignore_language.
8799 * paragraph.C (getFontSettings): the language has to be resolved
8800 otherwise we have problems in LyXFont!
8802 * lyxfont.C (lyxWriteChanges): added document_language parameter
8803 (update): removed unneeded language parameter
8805 * paragraph.C (validate): fixed wrong output of color-package when
8806 using interface colors for certain fonts in certain environments,
8807 which should not seen as that on the final output.
8809 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8811 * BufferView_pimpl.C:
8816 * LyXAction.C: add thesaurus support
8819 * lyxfind.C: add "once" parameter, for thesaurus, to not
8820 move to the next match
8822 2001-07-26 Juergen Vigna <jug@sad.it>
8824 * lyxfont.C (realize): honor ignore_language too!
8827 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8829 * text.C (draw): one place more for ignore_language to not draw
8832 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8834 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8836 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8838 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8839 the minipage conversion problem.
8841 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8843 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8846 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8848 * BufferView.h: don't forward declare WorkArea
8850 * BufferView.C: don't include WorkArea.h
8852 2001-07-25 André Pönitz <poenitz@gmx.net>
8856 * lyxfunc.C: new LFUN 'math-space'
8858 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8860 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8862 * text2.C (toggleInset): call open/close
8864 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8866 * lyxfunc.C (dispatch): add debug for the disabled case
8868 * font.C (buttonText): make similar to rectText
8870 * buffer.C (readInset): comment out parsing of insetlist and
8873 * PainterBase.C (rectText): small correction
8875 * BufferView_pimpl.C: comment out insettheorem and insetlist
8876 * LyXAction.C: ditto
8877 * commandtags.h: ditto
8879 2001-07-24 Juergen Vigna <jug@sad.it>
8881 * text.C (draw): honor the ignore_language.
8883 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8885 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8887 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8890 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8892 * lyxtext.h: remove unused (and unimplemented) methods
8894 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8896 * text.C (getVisibleRow): honor background color
8899 * Painter.h: remove default color argument for fillRectangle
8901 * text.C (backgroundColor): new method
8903 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8905 * text.C (getVisibleRow): adjust
8907 * font.[Ch] (rectText): new method, metrics
8908 (buttonText): new method, metrics
8910 * PainterBase.[hC]: make rectText and buttonText always draw and take
8913 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8915 * ToolbarDefaults.C (read):
8916 * MenuBackend.C (read): allow escaping in all strings
8918 * BufferView_pimpl.C (insertAndEditInset): new method.
8919 (Dispatch): use insertAndEditInset whenever appropriate.
8921 * BufferView_pimpl.C (insertNote): removed
8923 * BufferView_pimpl.C (smartQuote): new method, moved from
8924 BufferView; if an insetquote cannot be inserted, insert a '"'
8927 * BufferView2.C: remove insertCorrectQuote();
8929 * lyxfunc.C (getStatus): Add support for all remaingin
8932 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8934 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8935 command (necessary to pass " as parameter of self-insert.
8937 * text.C (selectWordWhenUnderCursor):
8938 (selectWord): add word_location parameter
8939 (selectWordWhenUnderCursor): same + remove special code for word
8941 (selectNextWord): use kind() to guess type of insetspecialchar,
8944 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
8945 (insertErtContents): create ert insets as collapsed.
8946 (readInset): better compatibility code for Info inset.
8948 2001-07-20 Juergen Vigna <jug@sad.it>
8950 * lyxfunc.C (dispatch): use always LyXFind now!
8952 * text2.C (init): add a reinit flag so that the LyXText can be
8953 reinited instead of deleted and reallocated (used in InsetText).
8955 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
8961 2001-07-18 Juergen Vigna <jug@sad.it>
8963 * text.C (selectNextWord): handle insets inside inset by calling
8964 always the bv->text functions so that we can go up the_locking_inset!
8966 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
8967 in strange locations when inside an inset!
8969 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
8970 handling to include insets.
8972 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
8974 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8976 * LyXAction.C (init):
8978 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
8979 LIGATURE_BREAK, since the name is so stupid.
8981 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
8983 * buffer.C (readInset): enable reading of new InsetNotes as well as old
8986 * FontLoader.C: remove FORMS_H_LOCATION cruft.
8988 * sp_form.[Ch]: remove.
8990 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
8992 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
8995 * src/buffer.C (readInset): ditto.
8997 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8999 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9000 menuSeparator(), endOfSentenceDot(), ldots() and
9001 hyphenationPoint(), which are therefore removed.
9002 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9004 * LyXAction.C (init):
9005 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9007 * paragraph.C (getWord): removed.
9009 * BufferView_pimpl.C (Dispatch): use last word or selection for
9010 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9012 * lyx_main.C (queryUserLyXDir): do not ask before creating
9013 user_dir, except if it has been named explicitely.
9015 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9017 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9018 a document of zero size.
9020 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9022 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9023 approriately in the c-tor and in require().
9024 (getPackages): output the appropriate LaTeX for natbib support.
9026 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9027 variables "use_natbib" and "use_numerical_citations" when reading the
9029 (readInset): read the various natbib cite commands.
9030 (validate): white-space change.
9032 * bufferparams.[Ch]: new variables "bool use_natbib" and
9033 "bool use_numerical_citations".
9034 (writeFile): output them in the LyX file.
9036 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9038 * lyxfunc.C (getStatus): add support for all the inset insertion
9041 * text2.C (insertInset):
9042 * paragraph.C (insetAllowed):
9043 * BufferView_pimpl.C (insertInset): update to take in account the
9044 renaming of insertInsetAllowed
9046 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9048 * text2.C (getInset): new method. returns inset at cursor position.
9050 * BufferView_pimpl.C (Dispatch): changes because of this.
9052 * LyXAction.C (init): rename open-stuff to inset-toggle.
9054 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9056 * text2.C (toggleInset): renamed from openStuff; use
9059 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9061 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9063 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9065 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9067 * buffer.C (readLyXformat2): Add filename to the error dialog
9069 2001-07-18 Juergen Vigna <jug@sad.it>
9071 * tabular.C (GetCellNumber): put an assert here instead of the check!
9073 2001-07-17 Juergen Vigna <jug@sad.it>
9075 * BufferView_pimpl.C (toggleSelection): adapted too.
9077 * text.C (selectNextWord): adapted for use with insets.
9078 (selectSelectedWord): ditto
9080 2001-07-17 Juergen Vigna <jug@sad.it>
9082 * sp_spell.C (PSpell): fix initialitation order.
9084 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9086 * paragraph.C: spacing
9088 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9090 * sp_spell.C: repair language selection for pspell
9092 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9094 * lyxfunc.h: change more methods to begin with lower char.
9096 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9098 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9099 for unknown layouts.
9101 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9103 * buffer.C (readLyXformat2): Generate an error dialog if there are
9106 2001-07-16 Juergen Vigna <jug@sad.it>
9108 * sp_spell.C: always compile ISpell part.
9110 * lyxrc.C: added use_pspell entry and it's handling.
9112 2001-07-13 Juergen Vigna <jug@sad.it>
9114 * sp_spell.C: removed double includes.
9116 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9118 Consistent use of Lsstream.h:
9119 * Lsstream.h: added using std::stringstream for consistencies sake.
9121 * buffer.C: removed using std::stringstream
9123 * lyxfont.C (stateText):
9124 * paragraph.C (asString):
9125 * text.C (selectNextWord, selectSelectedWord):
9126 * text2.C (setCounter):
9127 * vspace.C (asString, asLatexString):
9128 std::ostringstream -> ostringstream.
9130 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9132 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9133 * commandtags.h: add LFUN_HELP_ABOUTLYX
9134 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9136 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9138 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9140 * lyx_gui_misc.C: remove spellchecker
9141 * lyxfunc.C: showSpellchecker
9143 * sp_ispell.h: added
9144 * sp_pspell.h: added
9146 * sp_form.[Ch]: removed
9147 * spellchecker.[Ch]: removed
9149 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9151 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9153 (simpleTeXSpecialChars): Simply print the input character without
9154 any special translation if pass_thru is set.
9156 * layout.h: Added bool pass_thru to layout class for being able to
9157 implement pass through of a paragraph for Literate Programming.
9159 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9160 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9161 * layout.C (Read): add "passthru" to list of layout tags and add
9162 code to set the pass_thru boolean when it is read.
9164 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9166 * trans_decl.h: remove allowed from KmodInfo
9168 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9172 * paragraph_pimpl.C (erase): use boost::prior
9174 * Painter.C (text): use data() instead of c_str() when length is
9176 * WorkArea.C (putClipboard): ditto
9177 * font.h (width): ditto
9179 * BufferView2.C: use it-> instead of (*it). for iterators
9181 * paragraph_pimpl.C: ditto
9182 * paragraph.C: ditto
9183 * minibuffer.C: ditto
9188 * converter.C: ditto
9190 * Variables.C: ditto
9191 * TextCache.C: ditto
9192 * MenuBackend.C: ditto
9193 * LyXAction.C: ditto
9195 * FloatList.C: ditto
9197 * ColorHandler.C (LyXColorHandler): ditto
9199 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9201 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9203 * text2.C (openStuff): reintroduce this method (which had been
9204 nuked in NEW_INSETS frenzy).
9206 * lyxfunc.C (Dispatch): when an action has not been handled, use
9207 its name in the error message, not its number.
9209 * paragraph.C (inInset): change method name to begin with lowercase.
9212 * text2.C: updates because of this.
9214 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9216 * ToolbarDefaults.C (add): add spaces in error message
9218 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9220 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9221 (readLyXformat2): rename return_par to first_par, use lyxlex's
9222 pushToken and remove the manual push handling.
9223 (parseSingleLyXformat2Token): add another ert comp. variable:
9224 in_tabular, rename return_par to first_par. handle newlines better
9226 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9228 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9230 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9232 * text2.C (getParFromID): removed
9234 * buffer.C (getParFromID): new method moved form lyxtext.
9235 * BufferView2.C (insertErrors): adjust
9236 (setCursorFromRow): adjust
9237 * BufferView_pimpl.C (restorePosition): adjust
9238 * lyxfunc.C (Dispatch): adjust
9239 * undo_funcs.C (textUndo): adjust
9241 (textHandleUndo): adjust
9242 (textHandleUndo): adjust
9244 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * buffer.C: up' the LYX_FORMAT
9248 * lyxfont.h: turn NO_LATEX on as default
9250 * buffer.C (insertErtContents): new methods of tex style compability.
9251 (parseSingleLyXformat2Token): use it several places.
9252 * tabular.C (OldFormatRead): and here
9254 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9256 * text2.C: remove some commented code.
9259 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9260 * trans.C: changes because of the above.
9262 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9264 * text2.C (setCounter): Fix counters bug with bibliography layout.
9266 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9268 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9269 own member functions
9270 (simpleTeXSpecialChars): ditto
9272 2001-07-06 Juergen Vigna <jug@sad.it>
9274 * a lot of files: changed the access to LyXText::status and the
9275 call of undo-functions.
9277 * undo.[Ch]: added a inset_id to the undo informations.
9279 * undo_funcs.[Ch]: added and moved here all undo functions.
9281 * lyxtext.h: give the status enum a weight, made status_ a private
9282 variable and made accessor functions for it, removed the whole bunch
9283 of undo-functions as they are now in their own file, make some
9284 functions publically available. Added function ownerParagraph with
9287 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9288 made InInset() a const function, added getParFromID() function.
9290 * buffer.[Ch]: added const version for inset_iterator functions,
9291 added getInsetFromID() function.
9293 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9294 changed undo functions for new version.
9296 2001-07-05 Juergen Vigna <jug@sad.it>
9298 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9299 unknow mechanism does not call the proper constructor but only this
9300 one also if I request the other!?
9302 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9304 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9306 * text2.C (LyXText): use initialization lists.
9308 * lyxtext.h (Selection): initialize set_ and mark_
9309 (init): remove method
9311 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9313 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9315 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9317 * screen.[Ch]: change method names to begin with lowercase
9319 * BufferView_pimpl.C (updateScrollbar): simplify further and
9320 hopefully make it a bit faster.
9322 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9324 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9325 calling directly xforms functions.
9327 * Painter.C (Painter):
9328 * lyx_cb.C (MenuWrite):
9329 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9332 * lyx_gui.C: remove bogus guiruntime extern declaration.
9334 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9336 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9338 (redoDrawingOfParagraph): ditto
9339 (redoParagraphs): ditto
9340 (cutSelection): don't create a object for CutAndPaste use the
9341 static method directly
9342 (pasteSelection): ditto
9344 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9347 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9349 * modifications to some other files because of this.
9351 * Makefile.am (lyx_SOURCES): add XFormsView
9353 * XFormsView.[Ch]: new files
9355 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9356 the main window. Move the gui dependent stuff to XFormsView
9358 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9360 * tabular.C (GetCellInset): update cur_cell also in the row/col
9361 version of this function.
9363 * lyxfunc.C: no need to include figure_form.h here.
9369 * lyxvc.C: no need to include forms.h here.
9371 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9373 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9375 * lyxfunc.C (Dispatch):
9377 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9378 constructor argument.
9380 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9382 * paragraph.C (Paragraph): dont't clear, and just set layout.
9383 (makeSameLayout): use params's copy contructor.
9385 * ParagraphParameters.[Ch] (makeSame): delete method
9387 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9389 * Variables.[Ch]: fix indentation, rename set to isSet
9391 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9393 * lyxfunc.C (Dispatch): fix typo
9395 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9397 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9400 * bufferlist.C: include assert.h for emergencyWrite().
9402 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9404 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9405 give up at last (bug #425202) !
9407 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9413 * spellchecker.C: strip spellchecker options and bring up
9414 preferences tab instead
9416 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9418 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9419 the istringstream constructor
9421 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9423 * paragraph.C (getLayout): fix return value
9425 * paragraph.h: do not declare getLayout as inline.
9427 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9429 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9431 * lyxcursor.h (operator<): new func
9432 (operator>): new func
9433 (operator>=): new func
9434 (operator<=): new func
9436 * text.C (changeCase): use selection.start and selection.end
9437 (changeRegionCase): require from to be <= to. Require par to be a
9440 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9442 2001-06-27 Juergen Vigna <jug@sad.it>
9444 * text.C (cursorLeftOneWord): changed to return the cursor and added
9445 overlay with BufferView * parameter which calls this one.
9447 (selectWord): use new getWord function.
9448 (changeCase): renamed from changeWordCase as and extended to work
9451 * lyxtext.h: added enum word_location
9453 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9454 changeCase as this operates now also on selections.
9456 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9458 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9460 * many files: send debug output to Debug::INFO instead of
9463 * converter.C (View):
9465 (Move): send debug output to Debug::FILES instead of console.
9467 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9469 * lyxfunc.C (getStatus): use func_status
9471 * func_status.h: new header, describing the results of
9474 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9477 2001-06-25 The LyX Project <jug@sad.it>
9479 * buffer.C (sgmlOpenTag):
9481 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9483 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9485 * text2.C: remove some dead code
9487 * tabular.C (GetCellInset): store the last cell checked (gotten)
9489 * tabular.h: add the helper for the speedup
9491 * lyxtext.h: remove some dead code
9493 2001-06-26 The LyX Project <Asger>
9495 * paragraph.C: Change export to LaTeX of alignment to
9496 \begin{center} and family for better roundtrip work with reLyX.
9498 * Tune the math drawing a bit.
9500 2001-06-25 The LyX Project <Asger>
9502 * LColor.C (LColor): New color for math background. New color
9505 2001-06-25 The LyX Project <jug@sad.it>
9507 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9510 * bufferlist.C (newFile): do not restrict to files ending with
9513 * BufferView_pimpl.C (MenuInsertLyXFile):
9515 2001-06-24 The LyX Project <jug@sad.it>
9517 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9520 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9522 * lyxtext.h: rename most methods to begin with a small char.
9523 Lots of changes because of this.
9525 * paragraph.C (Paragraph): do not call fitToSize
9526 (erase): call Pimpl::erase
9527 (insertChar): call Pimpl::insertChar
9528 (insertInset): call Pipl::insertInset
9529 (breakParagraph): do not call fitToSize
9530 (breakParagraphConservative): do not call fitToSize
9531 (fitToSize): remove method
9533 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9535 2001-06-24 The LyX Project <Asger>
9537 * Fix Qt compilation^2
9539 2001-06-24 The LyX Project <jug@sad.it>
9541 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9542 depthHook(getDepth()-1).
9545 * ParagraphParameters.h:
9546 * ParameterStruct.h: change type of depth to unsigned int ==
9547 depth_type. Many adaptations to other files before of that.
9549 2001-06-24 The LyX Project <Asger>
9551 * Fix Qt compilation.
9553 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9555 * paragraph.h: renamed several methods to begin with small letter.
9556 several changes to many parts of the code because of this.
9558 2001-06-23 The LyX Project <jug@sad.it>
9560 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9561 rewritten to discard all double spaces when KeepEmpty is off
9562 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9563 to only handle newlines but not fiddle with spaces and friends.
9565 * lyxfunc.C (MenuNew): when doing 'new from template', use
9566 template_path as default directory
9568 2001-06-23 The LyX Project <Asger>
9570 * Clean-up of header file includes all over
9571 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9573 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9575 * paragraph.h: renamed from lyxparagraph.h
9577 2001-06-23 Asger <lyx@violet.home.sad.it>
9579 * Buffer.h: Removed Buffer::resize
9580 * BufferList.h: Removed BufferList::resize
9581 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9582 the document lazily when we change the width, or the font settings.
9584 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9586 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9588 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9590 * buffer.h: remove out of date comment
9592 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9595 * screen.C: fix "theoretical" GC leak
9597 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9599 * LaTeX.C (scanAuxFile):
9600 (deplog): remove trailing \r when reading stream (useful under
9603 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9605 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9606 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9607 and BufferView::theLockingInset(Inset*), so should use them and not
9608 access bv_->text->the_locking_inset directly.
9610 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9612 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9615 * tex-defs.h: remove old unused file
9617 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9619 * BufferView_pimpl.C: fix typo, remove minibuffer message
9620 when buffer has loaded
9622 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9624 * lyxfunc.C (Dispatch): use stringstream
9625 (MenuNew): use stringstream
9626 (Open): use stringstream
9628 * importer.C (Import): use stringstream
9630 * bufferview_funcs.C (CurrentState): use stringstream
9632 * LaTeX.C (run): use stringstream
9634 * BufferView_pimpl.C (savePosition): use stringstream
9635 (restorePosition): use stringstream
9636 (MenuInsertLyXFile): use stringstream
9638 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9651 * vspace.C: removed // -*- C++ -*- as first line.
9654 * version.h: added // -*- C++ -*- as first line.
9656 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9658 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9660 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9663 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9665 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9668 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9670 * gettext.C: include LString.h even when --disable-nls is on.
9672 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9674 * converter.h (Get): changed argument type from int to
9675 FormatList::size_type to avoid unnecessary conversion.
9677 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9680 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9682 * gettext.h: include LString.h even when --disable-nls is on.
9684 2001-06-07 Juergen Vigna <jug@sad.it>
9686 * text.C (BreakAgain): subst spaces with tabs.
9688 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9689 (resizeInsetsLyXText): set force on resizeLyXText.
9691 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9693 * gettext.h (gettext_init):
9694 (locale_init): use a real definition instead of a macro
9696 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9698 * Bufferview_pimpl.C:
9700 * LColor.C: further lcolor tidies
9702 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9704 * BufferView_pimpl.C (updateScrollbar): simplify.
9706 * BufferView2.C: don't include insets/insetinfo.h, change
9707 prototype for insertInset and call the Pimpl version. let
9708 updateInset call Pimpl version.
9710 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9711 gotoInset to BufferView::Pimpl
9713 2001-06-01 Juergen Vigna <jug@sad.it>
9715 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9716 inside a LockingInset (is the update needed at all?).
9718 2001-05-31 Juergen Vigna <jug@sad.it>
9720 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9721 here not the old one otherwise how should we compare it afterwards
9724 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9729 * FontInfo.C: bring C functions into global namespace when
9732 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9734 * LString.h: make sure config.h has been loaded before LString.h.
9736 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9737 (one for each char read by EatLine!).
9739 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9742 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9744 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9745 to the same as the par we break from
9747 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9749 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9751 * MenuBackend.C (expand): also create menu entries for wide
9752 versions of the floats.
9754 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9756 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9758 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9759 frontends/Makefile.am
9765 * tabular.C (getTokenValue): add std::
9767 * tabular-old.C (getTokenValue): add std::
9768 (getTokenValue): ditto
9769 (getTokenValue): ditto
9771 * screen.C (ToggleSelection): adjust
9773 * lyxtext.h: put selection cursors inside a Selection struct.
9775 * lyxfunc.C (moveCursorUpdate): adjust
9777 * lyxfont.C (latexWriteStartChanges): add std::
9781 * font.h: delete with(char const *, LyXFont const &)
9783 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9785 * FontInfo.C (getFontname): add std::
9787 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9788 (workAreaButtonPress): adjust
9789 (tripleClick): adjust
9791 (moveCursorUpdate): adjust
9794 * BufferView2.C (gotoInset): adjust
9796 2001-05-30 Juergen Vigna <jug@sad.it>
9798 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9799 to check pspell I add this as default as I now have new pspell
9800 libraries and they seem to use this.
9802 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9804 * text2.C (CutSelection): make the cursor valid before the call to
9807 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9809 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9810 relied on 0 terminated strings and other horrors. Bug found due to
9811 the new assert in lyxstring!
9813 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9816 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9818 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9821 * lyxfunc.C (processKeySym): change method of getting to the
9824 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9825 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9826 * BufferView_pimpl.[Ch]: here as private methods.
9828 2001-05-28 Juergen Vigna <jug@sad.it>
9830 * text.C (SetHeightOfRow): added the update() call again as it is
9831 needed to initialize inset dimensions!
9833 2001-05-16 Juergen Vigna <jug@sad.it>
9835 * text2.C (SetCharFont): Add new function with BufferView * and
9836 bool toggleall parameters for setting insets internal fonts.
9837 (SetFont): Freeze the undo as we may change fonts in Insets and
9838 all this change should be inside only one Undo!
9840 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9841 setting font's in insets as for them we have the SetFont function!
9843 2001-05-15 Juergen Vigna <jug@sad.it>
9845 * text2.C (ClearSelection): to be sure we REALLY don't have any
9848 * tabular.C (TeXCellPreamble): fixed the left border problem for
9851 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9853 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9856 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9858 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9859 LFUN_BREAKPARAGRAPH.
9861 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9862 help test to "internal only", similar for LFUN_INSERT_URL
9864 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9865 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9866 auto_region_delete and deadkeys.
9868 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9871 * LColor.C: remove some dead entries, tidy a little
9873 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9875 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9877 (Dispatch): implement LFUN_ESCAPE
9879 * commandtags.h: add LFUN_ESCAPE
9881 * LyXAction.C (init): add entry for LFUN_ESCAPE
9883 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9884 Remove commented code.
9885 (insertNote): moved here
9886 (open_new_inset): moved here
9888 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9891 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9893 * kbmap.C (findbinding): clean it up and make it work correctly.
9895 * lyx_main.C (init): do not pass argc and argv as parameters
9897 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9899 * buffer.C: fix path for OS/2 & Win32
9903 * lyx_main.C: Added os:: class.
9905 * os2_defines.h: update
9907 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9910 better by trying again with reduced state.
9912 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9914 * lyxrc.C (read): print error about invalid key sequence only when
9915 debugging (because not all latinX keysyms are known to some X
9918 * kbsequence.C (getiso): add a few std:: qualifiers
9919 (getiso): comment out extra return statement.
9921 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9923 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9925 (Dispatch): enhance the accent inset a bit. (not perfect)
9927 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9929 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9931 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9933 * bufferlist.C (emergencyWrite): fix assert() call
9935 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9937 * text.C (InsertChar): Added trivial patch to only send the "you
9938 can not do multiple spaces this way" message once during a
9941 2001-05-08 Baruch Even <baruch@lyx.org>
9943 * Makefile.am: Changed order of libraries to get LyX to link properly
9944 with the gnome frontend.
9946 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9948 * LaTeXFeatures.h: add a std:: qualifier
9950 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * paragraph.C (String): use stringstream
9954 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9956 * paragraph.C (writeFile): remove footflag arg
9958 * buffer.C (makeLaTeXFile): use stringstream
9959 (latexParagraphs): remove footnot gurba
9961 * LaTeXFeatures.C (getPackages): use stringstream
9962 (getMacros): likewise
9963 (getTClassPreamble): likewise
9964 (getFloatDefinitions): new method
9966 * paragraph.C (writeFile): reindent
9969 * WorkArea.h: revert the xpos + etc changes.
9971 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
9973 * lyxparagraph.[Ch]: add copy constructor, remove Clone
9975 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
9976 (pasteSelection): likewise
9977 * text2.C (CreateUndo): likewise
9979 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9981 * minibuffer.C (peek_event): temporarily reduce the functionality
9982 of the minibuffer (to allow args on lfuns)
9984 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
9985 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
9987 * buffer.C (readInset): add compability reading of old float
9988 lists, add reading of new style float list.
9989 (readInset): avoid reevaluation of inscmd.getCmdName()
9990 (getLists): reindent
9992 * MenuBackend.C (MenuItem): implement parsing of
9993 md_floatlistinsert and md_floatinsert.
9994 (expand::LastFiles): move initalizaton of iterators out of loop,
9996 (expand::Documents): introduce typdedef vector<string> Strings,
9998 (expand::ExportFormats): introduce typedef vector<Format const *>
9999 Formats, and use it.
10000 (expand): implement FloatListInsert and FloatInsert.
10002 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10003 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10004 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10006 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10008 (Dispatch::LFUN_FLOAT_LIST): implement
10010 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10012 * LaTeX.C (run): Fix problem with --export code.
10014 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10016 * BufferView.[Ch] (workarea): removed.
10017 (getClipboard) new method; wrapper for workarea()->getClipboard()
10019 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10022 * WorkArea.h (width, height, xpos, ypos): These methods all
10023 returned the dimensions of the work_area sub-area of WorkArea,
10024 resulting in a position error if the WorkArea were resized. Now
10025 return the dimensions of the entire WorkArea.
10027 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10029 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10031 * LaTeX.C (deplog): correct the syntax of regex reg1
10033 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10035 * undo.C: remove !NEW_INSETS cruft
10037 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10039 * text2.C: remove !NEW_INSETS cruft
10041 * text.C: remove !NEW_INSETS cruft
10043 * tabular.C: remove !NEW_INSETS cruft
10045 * spellchecker.C: remove !NEW_INSETS cruft
10047 * lyxtext.h: remove !NEW_INSETS cruft
10049 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10051 * lyxfunc.C: remove !NEW_INSETS cruft
10053 * lyxfind.C: remove !NEW_INSETS cruft
10055 * lyx_cb.C: remove !NEW_INSETS cruft
10057 * figureForm.C: remove !NEW_INSETS cruft
10059 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10061 * buffer.[Ch]: remove !NEW_INSETS cruft
10063 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10065 * CutAndPaste.C: remove !NEW_INSETS cruft
10067 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10069 * BufferView2.C: remove !NEW_INSETS cruft
10071 * BufferView.h: remove !NEW_INSETS cruft
10073 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10075 * Lsstream.h: include LString.h before the sstream headers to
10076 fix problem with gcc 2.95.3 and lyxstring
10078 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10080 * lyx_main.C: add using directives when needed for C functions
10081 declared in std:: namespace.
10083 2001-04-27 Juergen Vigna <jug@sad.it>
10085 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10086 (SetHeightOfRow): comment out the update call should not be needed!
10088 2001-04-13 Juergen Vigna <jug@sad.it>
10090 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10091 (LyXTabular): tried to minimize operator= operations (and realized
10092 hopfully Lars wish).
10094 2001-04-27 Juergen Vigna <jug@sad.it>
10096 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10098 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10100 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10102 * buffer.C (readInset): hack to make listof algorithm work
10104 * BufferView_pimpl.C: hack to make listof algorithm work
10106 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10108 * LyXAction.C: removed all !NEW_INSETS cruft
10109 (init): moved lfun_item in method
10111 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10113 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10115 * BufferView2.C (theLockingInset): white space.
10117 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10119 * minibuffer.C: include <iostream>
10121 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10123 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10125 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10127 * text.[Ch] (TransposeChars): new method
10129 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10131 * call message directly through LyXView instead of through LyXFunc
10132 * BufferView2.C: adjust
10133 * BufferView_pimpl.C: adjust
10134 * FontLoader.C: adjust
10136 * bufferview_funcs.C: adjust
10137 * converter.C: adjust
10138 * figureForm.C: adjust
10139 * importer.C: adjust
10141 * lyx_gui_misc.C: adjust
10142 * lyxfunc.C: adjust
10145 + more files in subdirs
10147 * lyxparagraph.h (size): move up int file
10150 * adjust all uses of Assert to lyx::Assert.
10152 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10153 lyxfunctional in namespace lyx
10154 * layout.C (hasLayout): ditto
10157 (delete_layout): ditto
10158 (NumberOfClass): ditto
10159 * converter.C (GetFormat): ditto
10164 * bufferlist.C (getFileNames): ditto
10165 (emergencyWriteAll): ditto
10168 * MenuBackend.C (hasSubmenu): ditto
10171 * BufferView_pimpl.C (getInsetByCode): ditto
10173 2001-04-18 Juergen Vigna <jug@sad.it>
10175 * vspace.C (asLatexString): fixed the 100% problem.
10177 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10179 * lyxfunc.C (Dispatch):
10181 * minibuffer.h: add a few std:: qualifiers
10183 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10185 * minibuffer.[Ch]: reimplement so that commands is initiated and
10186 run from lyxfunc, simplified som handling, and made the completion
10187 and history code for complete. wip.
10189 * lyxfunc.C (processKeySym): call message
10190 (miniDispatch): new temporary method
10191 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10192 (LFUN_MESSAGE): implement
10193 (LFUN_MESSAGE_PUSH): implement
10194 (LFUN_MESSAGE_POP): implement
10195 (initMiniBuffer): the initial/defualt minibuffer message.
10197 * lyxfont.[Ch]: inline some more getters
10199 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10201 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10203 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10204 (AutoSave): use LFUN_MESSAGE
10205 (Reconfigure): ditto
10207 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10209 * figureForm.C: use LFUN_MESSAGE
10211 * converter.C (runLaTeX): use LFUN_MESSAGE
10213 * bufferview_funcs.C: use LFUN_MESSAGE
10215 (changeDepth): ditto
10217 * bufferparams.h: use boost::
10219 * bufferlist.h: inherit privately from noncopyable
10221 * bufferlist.C (loadLyXFile): remove some commented code.
10223 * buffer.C (runChktex): use LFUN_MESSAGE
10225 * ShareContainer.h: inherit privately from noncopyable
10227 * ParagraphParameters.[hC] (depth): inline it.
10229 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10231 (message): new method
10232 (messagePush): ditto
10233 (messagePop): ditto
10234 (show): init minibuffer
10235 (showState): direct call
10237 * LaTeX.[Ch]: inherit privately from noncopyable
10238 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10239 instead of WriteStatus.
10241 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10243 * BufferView_pimpl.C (buffer): don't init minibuffer
10244 (workAreaButtonPress): use LFUN_MESSAGE
10245 (workAreaButtonRelease): ditto
10246 (savePosition): ditto
10247 (restorePosition): ditto
10248 (MenuInsertLyXFile): ditto
10249 (workAreaExpose): don't init minibuffer
10250 (update): remove commented code, simplify
10252 * BufferView2.C (openStuff): use LFUN_MESSAGE
10253 (toggleFloat): ditto
10256 (copyEnvironment): ditto
10257 (pasteEnvironment): ditto
10262 (updateInset): remove some commented code
10264 * lastfiles.h: inherit privately from noncopyable
10267 * lyx_main.h: ditto
10269 * lyxlex_pimpl.h: ditto
10271 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10272 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10273 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10275 * LyXAction.h: inherit privately from noncopyable, add methods
10276 func_begin, func_end, returning iterators to the func map.
10278 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10279 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10280 (func_begin): new method
10281 (func_end): new method
10283 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10285 (copySelection): ditto
10286 (pasteSelection): ditto
10288 * BufferView.C: whitespace change
10289 * BufferView.h: inherit privately from noncopyable
10291 2001-04-16 Allan Rae <rae@lyx.org>
10293 * tabular-old.C (l_getline):
10294 * spellchecker.C (sc_check_word):
10295 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10296 an unrecognised preprocessor directive. So ensure they're wrapped.
10298 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10300 * src/exporter.C (Export): Give an error message when path to file
10303 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10305 * LaTeX.C (deplog): Always check that foundfile exists.
10307 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10310 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10312 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10314 * tabular.[Ch] (getLabelList): implement new method
10316 * minibuffer.h: comment ouf setTiimer
10318 * minibuffer.C (ExecutingCB): constify res
10319 (peek_event): constify s
10320 (Set): constify ntext
10321 (Init): constify nicename
10323 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10325 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10326 (savePosition): use two params to Minibuffer::Set
10327 (restorePosition): ditto
10329 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10331 * lyx_main.C: include language.h
10333 * Makefile.am (lyx_main.o): add language.h
10335 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10341 * CutAndPaste.C: include gettext.h
10343 * lyxfont.h: remove old hack with ON and OFF.
10346 * lyxfont.h: do not include language.h...
10351 * bufferview_funcs.C:
10357 * paragraph.C: ... but do it here instead
10359 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10361 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10363 * tabular.C: small reformat
10365 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10368 (BreakParagraph): ditto
10369 (SetOnlyLayout): ditto
10372 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10375 * lastfiles.C: removed most using decl, add std:: where needed
10377 * buffer.C: ws changes
10379 * MenuBackend.C (class compare_format): put into anon namespace
10380 (expand): constify label, names, action, action2
10383 * text.C (SingleWidth): constify font
10384 (IsBoundary): constify rtl2
10385 (GetVisibleRow): constify ww
10387 * LaTeX.C (deplog): constify logfile
10389 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10391 (workAreaExpose): constify widthChange, heightChange
10393 * lyxrow.C (par): moved
10396 * lyxrow.h: as inlines here
10398 * lyxfont.h (shape): moved from lyxfont.C
10399 (emph): moved from lyxfont.C
10401 * lyxfont.C (LyXFont): use initialization list for all
10403 (shape): move to lyxfont.h as inline
10404 (emph): move to lyxfont.h as inline
10407 2001-04-04 Juergen Vigna <jug@sad.it>
10409 * vspace.C: had to include stdio.h for use of sscanf
10411 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10414 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10415 independent of xforms.
10417 2001-04-02 Juergen Vigna <jug@sad.it>
10419 * spellchecker.C: fixed namespace placing!
10421 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10423 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10424 the LyXParagraph * is 0.
10426 2001-03-29 Juergen Vigna <jug@sad.it>
10428 * vspace.C: added support for %, c%, p%, l%.
10429 (stringFromUnit): added helper function.
10430 (asLatexString): changed to give right results for the %-values.
10432 * buffer.C: convert the widthp in a width%.
10434 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10436 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10439 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10440 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10442 * lyx_cb.[Ch]: see above.
10444 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10448 * lyx.[Ch]: replaced by figure_form.[Ch].
10452 * lyxfunc.C: changed headers associated with above changes.
10454 2001-03-27 Juergen Vigna <jug@sad.it>
10456 * BufferView_pimpl.C: set the temporary cursor right!
10458 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10460 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10462 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10464 * LString.h: removed "using std::getline"!
10466 * BufferView_pimpl.C (Dispatch): changes due to changes in
10467 InsetInclude::Params.
10469 * buffer.C (tag_name): removed redundant break statements as they were
10470 producing lots of warnings with my compiler.
10472 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10474 * LString.h: add "using std::getline" when using the real <string>.
10476 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10478 * buffer.C: removed bitset usage.
10479 PAR_TAG moved to an anonymous name space.
10480 (tag_name): new funtion, also in the anonymous namespace.
10481 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10482 (makeDocBookFile): clean code. Completed transition from string arrays
10484 (SimpleDocBookOnePar): code clean.
10486 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10488 * tabular.C: add some comments.
10490 2001-03-22 Juergen Vigna <jug@sad.it>
10492 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10493 compatibility read a bit and fixed bug with minipage in different
10496 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10498 * buffer.C (pop_tag): removed.
10499 (push_tag): removed.
10500 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10501 array replaced with vector. Added support for CDATA sections.
10502 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10504 (makeDocBookFile): XML conformant declaration of CDATA section,
10505 fixed bug related to <emphasis> in the first paragraph char.
10506 (sgmlOpenTag): exclude empty tags.
10507 (sgmlCloseTag): ditto.
10509 * buffer.h (pop_tag): removed.
10510 (push_tag): removed.
10512 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10514 * language.h (Languages): added size_type and size().
10516 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10518 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10519 response on compability reading of minipages. One probliem is that
10520 the old usage of minipages was «flertydig»
10522 * several files here and in subdirs: don't use static at file
10523 scope use anon namespaces instead.
10525 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10527 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10528 LaTeX output. This is necessary for Literate document
10531 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10533 * buffer.C: insert hfill when needed.
10535 * tabular.C (l_getline): use string::erase, small whitespace change.
10537 * BufferView_pimpl.C: try the anon namespace.
10538 * WorkArea.C: ditto
10540 2001-03-16 Juergen Vigna <jug@sad.it>
10542 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10543 otherwise it won't open options-dialogs.
10545 * buffer.C: honor pextraWidth(p) on converting minipages.
10547 * tabular.C (l_getline): changed the functions to strip trailing \r.
10549 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10551 * BufferView_pimpl.C:
10552 * minibuffer..C: added "using SigC::slot" declaration.
10554 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10556 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10562 * paragraph.C: ditto
10564 * lyxtext.h: NO_PEXTRA
10566 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10568 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10569 * ParameterStruct.h: ditto
10570 * ParagraphParameters.h: ditto
10571 * lyxparagraph.h: ditto
10573 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10575 * buffer.C: add compability for minipage alignment.
10576 (latexParagraphs): remove unwanted pextra check.
10578 * several files: remove CXX_WORKING_NAMESPACES
10580 * buffer.C (pop_tag): tie is in namespace boost
10582 * BufferView.h: noncopyable is in namespace boost
10584 * lyx_main.h: ditto
10587 * lastfiles.h: ditto
10588 * bufferlist.h: ditto
10589 * ShareContainer.h: ditto
10591 * LyXAction.h: ditto
10594 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10596 * Merging changes from BRANCH_MVC back into HEAD.
10598 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10600 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10602 * BufferView_pimpl.C: change from intl.C
10606 * Makefile.am: move combox.*
10612 * intl.C: remove dialog (covered by prefs)
10614 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10616 * lyxfunc.C (Dispatch): removed redundant break statement.
10618 2001-03-14 Juergen Vigna <jug@sad.it>
10620 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10622 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10624 * buffer.C: add hack to fix compability reading of minipages.
10626 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10628 * buffer.C (getLists): Cleanup.
10630 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10632 * lyxfont.C (update): don't honor toggleall on font size.
10634 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10638 * Makefile.am: moved to frontends/xforms/
10642 * BufferView_pimpl.C: changes for moved mathpanel
10644 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10646 * gettext.h: fix gettext_init() in --disable-nls
10648 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10650 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10652 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10655 * lyx.h: strip external form
10657 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10659 * BufferView_pimpl.C: add comment, destroySplash()
10661 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10663 * BufferView_pimpl.C:
10667 * lyxfunc.C: use re-worked insetinclude
10669 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10671 * buffer.C: add using std::stringstream.
10673 * lyx_cb.C: readd using std::ios.
10675 * buffer.C: add using std::map.
10677 * BufferView_pimpl.C: add using std::vector.
10679 * ShareContainer.h: add std:: to swap.
10681 * buffer.h: add some typedefs
10682 * buffer.C (getLists): use them
10683 (getLists): renamed from getTocList.
10684 add a counter for the different float types and use it in the
10686 (getLists): use the same counter for the NEW_INSETS and the "non"
10689 * lyx_cb.h: remove unused items, includes, using etc.
10691 * ShareContainer.h: remove some commented code, add more comments
10692 and "documentation".
10694 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10696 * buffer.C (getTocList): make the list also when NEW_INSETS is
10699 * buffer.h: remove TocType
10701 * buffer.C (getTocList): change to return a map<string,
10702 vector<TocItem> >, implement for dynamic number of list.
10704 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10705 * text2.C (PasteSelection): adjust
10706 * CutAndPaste.C (pasteSelection): adjust
10708 * FloatList.C (FloatList): update from the new_insets branch.
10709 * Floating.[Ch]: ditto
10710 * LaTeXFeatures.C: ditto
10712 * lyxlex_pimpl.C: ditto
10714 * paragraph.C (Last): remove when NEW_INSETS is defined.
10716 * other file: changes because of the above.
10718 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10720 * lyxparagraph.h: rename next to next_, previous to previous_,
10721 make them private for NEW_INSETS. Rename Next() to next(),
10722 Previous() to previous().
10724 * other files: changes because of the above.
10726 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10729 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10732 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10734 * main.C (main): pass lyx_localedir to gettext_init().
10736 * gettext.h: remove locale_init and gettext_init macros
10738 * gettext.C (locale_init): new function
10739 (gettext_init): new function
10741 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10744 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10746 * Moved credits to frontends:
10747 * credits.[Ch]: removed
10748 * credits_form.[Ch]: removed
10749 * lyx_gui_misc.C: remove credits stuff
10752 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10754 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10756 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10757 unneeded destructor.
10759 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10760 a standalone pointer again.
10762 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10764 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10770 * ToolbarDefaults.C:
10779 * BufferView_pimpl.C: use new file dialog in GUII
10782 * lyx_cb.C: remove LayoutsCB to Toolbar
10784 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10786 * ShareContainer.h (get): add std:: qualifier
10788 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10790 * ShareContainer.h: define a proper ShareContainer::value_type
10791 type (and use typename to please compaq cxx)
10793 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10795 * lyxparagraph.h: move serveral local vars to
10796 ParameterStruct/ParagraphParameters., use ShareContainer in
10797 FontTable., make vars in FontTable private and add getter and
10800 * paragraph.C: changes because of the above.
10802 * lyxfont.h: remove copy constructor and copy assignment. (the
10803 default ones is ok), move number inside FontBits. move inlines to
10806 * lyxfont.C: add number to initializaton of statics, move several
10807 inlines here. constify several local vars. some whitespace
10808 cleanup. Dont hide outerscope variables.
10810 * Spacing.h: add two new constructors to match the set methods.
10812 * ShareContainer.h: new file, will perhaps be moved to support
10814 * ParameterStruct.h: new file
10816 * ParagraphParameters.h: new file
10818 * ParagraphParameters.C: new file
10820 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10821 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10823 * BufferView_pimpl.C: ParagraphParameter changes.
10824 * buffer.C: Likewise.
10825 * bufferview_funcs.C: Likewise.
10826 * text.C: Likewise.
10827 * text2.C: Likewise.
10829 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10831 * lyxfind.C (LyXReplace): do not redefine default argument in
10833 (IsStringInText): ditto
10834 (SearchForward): ditto
10835 (SearchBackward): ditto
10837 2001-03-06 Juergen Vigna <jug@sad.it>
10839 * lyxfind.C (IsStringInText): put parentes around expressions.
10841 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10843 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10845 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10847 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10849 * stl_string_fwd.h: add comment
10851 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10854 * tabular.C: remove unused DocBook methods
10860 killed DO_USE_DEFAULT_LANGUAGE
10862 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10864 * lyx_gui.C: do not include language.h.
10866 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10867 arguments in function implementation.
10869 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10871 * BufferView_pimpl.C: add <ctime>
10873 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10875 * BufferView_pimpl.C: add using std::find_if
10877 2001-02-27 José Matos <jamatos@fep.up.pt>
10879 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10882 2001-02-11 José Matos <jamatos@fep.up.pt>
10884 * buffer.C (makeDocBookFile): command styles now have a parameter as
10885 "title" by default.
10887 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10889 * layout_forms.[Ch]: removed
10890 * lyx_cb.[Ch]: out character
10891 * lyx_gui.C: out character
10892 * lyx_gui_misc.C: out character
10893 * bufferview_funcs.C: : out character,
10894 added toggleall as parameter in ToggleAndShow
10896 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10898 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10900 * text2.C (SetCurrentFont): Disable number property at boundary.
10902 2001-02-26 Juergen Vigna <jug@sad.it>
10904 * lyxfunc.C (getStatus): added a string argument override function so
10905 that this is correctly called from LyXFunc::Dispatch if it contains a
10906 do_not_use_argument which is used!
10907 (Dispatch): added check for "custom" export and call appropriate func.
10909 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10911 * lyxrc.C: Add language_command_local, language_use_babel and
10912 language_global_options.
10914 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10916 * buffer.C (makeLaTeXFile): Use language_use_babel and
10917 language_global_options.
10919 2001-02-23 Juergen Vigna <jug@sad.it>
10921 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10922 which works with LyXText and putted it inside BufferView. Here now we
10923 only call for that part the BufferView::Dispatch() function.
10925 * BufferView.C (Dispatch): added.
10927 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10928 functions which needs to use a LyXText over from LyXFunc.
10929 (MenuInsertLyXFile): added
10930 (getInsetByCode): added
10931 (moveCursorUpdate): added
10932 (static TEXT): added
10934 2001-02-22 Juergen Vigna <jug@sad.it>
10936 * BufferView_pimpl.C (update): call a status update to see if LyXText
10939 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10941 * vc-backend.C (revert): implement for CVS
10942 (getLog): implement for CVS
10944 2001-02-20 Juergen Vigna <jug@sad.it>
10946 * text2.C (ClearSelection): added BufferView param for inset_owner call
10948 * lyxfunc.C (TEXT): added this function and use it instead of
10949 directly owner->view()-text of getLyXText().
10951 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
10953 * src/layout_forms.C: out preamble
10954 * src/layout_forms.h: out preamble
10955 * src/lyx_cb.C: out preamble
10956 * src/lyx_cb.h: out preamble
10957 * src/lyx_gui.C: out preamble
10958 * src/lyx_gui_misc.C: out preamble
10959 * src/lyxfunc.C: connect with guii preamble
10961 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
10963 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
10965 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
10967 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
10968 whether to run bibtex.
10970 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
10972 * Makefile.am (lyx_SOURCES): Remove BackStack.h
10974 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
10976 * Makefile.am (lyx_SOURCES): removed bibforms.h
10978 * vspace.h: doxygen
10980 * text.C (GetVisibleRow): make several local vars const
10982 * tabular.C: small cleanup.
10984 * lyxserver.C (callback): use compare instead of strncmp
10986 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
10987 inlines to after class or to paragraph.C
10989 * lyxfont.h: remove friend operator!=
10991 * converter.h: move friend bool operator< to non friend and after
10994 * combox.h: small cleanup
10996 * buffer.h: doxygen, remove unused constructor, move inclas inlies
10997 to inlines after class def.
10999 * buffer.C (pop_tag): use string operations instead of strcmp
11001 * bmtable.c: doxygen, small cleanup
11003 * LaTeX.h: remove friend operator==
11005 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11017 * BufferView_pimpl.C:
11018 * BufferView.[Ch]: remove cruft
11020 2001-02-14 Juergen Vigna <jug@sad.it>
11022 * lyxfunc.C: removed #if 0 unused code
11024 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11026 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11028 * text2.C (SetSelection): added a BufferView * parameter
11030 2001-02-13 Juergen Vigna <jug@sad.it>
11032 * lyxfunc.C (Dispatch): fixed protected blank problem.
11033 * BufferView2.C (protectedBlank): added LyxText * parameter.
11035 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11036 (AppendColumn): same as above for column_info.
11038 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11039 (moveCursorUpdate): use a LyXText param for support of InsetText.
11041 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11042 (tripleClick): ditto
11044 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11046 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11048 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11050 * text2.C (SetSelection): set correct update status if inset_owner
11051 (ToggleFree): ditto
11053 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11055 * tabular.C: remove some commented code.
11057 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11059 * BufferView_pimpl.C: call hideSplash()
11061 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11064 * bibforms.h: remove
11067 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11068 add LFUN_CHILD_CREATE
11070 * counters.h: fix tiny typo
11075 * lyx.C: move splash to frontends/xforms/
11077 * lyx_gui_misc.C: move Include and Bibform to frontends
11079 * lyxvc.h: clarify comment
11081 * vspace.C: tiny housekeeping
11083 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11085 * text.C (PrepareToPrint): RTL Fix.
11087 * paragraph.C (GetUChar): New method.
11088 (String): Use GetUChar.
11090 * buffer.C (asciiParagraph): Use GetUChar.
11092 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11094 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11096 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11099 * buffer.C: rename to getLogName(), handle
11100 build log / latex log nicely
11102 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11105 * MenuBackend.h: remove support for reference menuitem type.
11107 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11109 * BufferView_pimpl.C: housekeeping
11110 * BufferView_pimpl.h:
11115 * minibuffer.h: move Timeout GUI-I
11117 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11119 * lyxrc.C (read): Update converters data-structures.
11121 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11123 * LaTeX.h (operator!=): add operator != for Aux_Info
11125 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11127 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11129 * LaTeXLog.C: deleted, useful code moved to Buffer
11132 * buffer.C: new function getLatexLogName()
11138 * lyxfunc.C: use frontends for LaTeX and VC logs
11140 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11142 * LaTeX.h: yet another std:: that Allan forgot.
11144 * Variables.C (set): renamed from isset(), because this clashes
11145 with some HP-UX macros (grr).
11147 2001-02-06 Allan Rae <rae@lyx.org>
11149 * LaTeX.h: Another bug fix. Missing std:: this time.
11151 2001-02-04 Allan Rae <rae@lyx.org>
11153 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11154 floats problem. I've left it commented out because it's not quite
11155 correct. It should also test that the current object is a table or
11156 figure inset. But I haven't gotten around to figuring out how to do
11157 that. I *think* it'll be something like: "table" == inset.type()
11159 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11162 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11164 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11165 all the citation/databases/styles in the auxilary file.
11166 (run): Rerun latex if there was a babel language error.
11168 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11170 * text.C (Backspace): Preserve the font when changing newline char
11172 (BreakParagraph): If the cursor is before a space, delete the space.
11174 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11176 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11178 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11179 new argument (code).
11180 (ChangeCitationsIfUnique): New method.
11182 * paragraph.C (GetPositionOfInset): Handle bibkey.
11184 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11186 * BufferView_pimpl.h: change type of Position::par_pos to
11187 LyXParagraph::size_type.
11189 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11191 * BufferView_pimpl.C (savePosition, restorePosition): Write
11192 messages to minibuffer.
11194 2001-01-28 José Matos <jamatos@fep.up.pt>
11196 * buffer.C (makeDocBookFile): adds support for document language.
11197 A silly restriction on the name of LatexCommand types where removed.
11198 Added support for CDATA sections, allows to chars unescaped, used
11199 among others in code, to avoid escape < and >.
11201 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11203 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11204 saved positions instrad of a stack. Furthermore, a position is
11205 stored using paragraph id/paragraph position.
11207 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11208 Remove LFUN_REF_BACK.
11210 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11212 * converter.C (dvipdfm_options): New method.
11214 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11216 * vspace.C (isValidLength): Fix for empty input string.
11218 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11220 * LyXAction.C (init): change description of LFUN_FIGURE to
11223 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11225 * LaTeX.C: add using directive
11227 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11229 * MenuBackend.C (expand): Fix the sorting of the formats.
11231 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11233 * lyx_main.C: tiny error message fix
11235 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11237 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11238 calling fl_initialize(). This fixes the problem with ',' as
11239 decimal separator in text files.
11241 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11243 * trans.C (process): Fix the keymap bug.
11245 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11247 * LaTeX.C (scanAuxFiles): New method. Provides support for
11248 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11249 (scanLogFile) Scan for "run BibTeX" messages.
11251 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11252 OT1 font encoding. Also, load the aecompl package if the ae
11255 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11257 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11259 * texrow.C (increasePos): turn two error messages into debug
11262 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11264 * LaTeX.C (scanAux): Handle the \@input macro.
11265 (runBibTeX): Use scanAux().
11267 * language.C (latex_options_): New field.
11269 * LaTeXFeatures.C (getMacros): Add language macros.
11271 * buffer.C (makeLaTeXFile): Small fix.
11273 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11275 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11277 * text2.C: add a using directive.
11279 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11284 * lyxfunc.C: kill LyXBell.
11286 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11288 * text.C (IsBoundary): Remove the error message
11290 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11292 * lyxrc.C (setDefaults): Correct initialization value for
11295 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11297 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11300 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11301 and GotoNextNote().
11303 * src/LyXAction.C: Added reference-next.
11305 * text.C (InsertChar): Use contains instead of strchr.
11307 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11309 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11311 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11312 alignment commands (when needed).
11314 * text.C (InsertChar): Add ':' to number separator chars.