2 2003-06-26 Alfredo Brauntein <abraunst@lyx.org>
4 * lyx_main.C (LyX): get full path of document loaded on the
7 2003-06-26 André Pönitz <poenitz@gmx.net>
9 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
10 remove unused/broken operator>,<,>=.
12 * text.C: remove only use of broken operator<= in an Assert().
14 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
16 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
17 moved errorlist_.clear to showErrorList
19 2003-06-24 Alfredo Brauntein <abraunst@lyx.org>
21 * converter.C (scanLog, runLaTeX):
22 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
23 move the bv->showErrorList call to the callers
24 * lyxfunc.C: i.e. here...
26 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
27 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
28 namespace, the second to...
29 * buffer_funcs (BufferFormat, parseErrors): added
30 * errorlist.C (ErrorList(TeXErrors const &)): removed
32 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
34 * ToolbarBackend.C (getIcon): complain when icon cannot be found
36 2003-06-24 "Garst R. Reese" <reese@isn.net>
40 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
42 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
44 * version.C.in: change docversion to 1.4
46 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
48 * buffer.C: fix a bug just introduced
50 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
52 * buffer.[Ch]: added the parseError signal and use it, removed
54 * BufferView.[Ch] (addError): moved to ...
55 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
56 to the Buffer::parseError signal to catch (guess what) parse errors
57 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
59 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
61 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
62 ability to create a buffer and to return an existing one from
63 the list. Moved these functions to...
64 * buffer_funcs.[Ch]: added
65 * BufferView.[Ch] (loadLyXFile): added
66 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
67 job removed from bufferlist::loadLyXFile.
68 * buffer.C (setReadOnly): make it work without view
69 (i.e added an if (users))
71 2003-06-19 Angus Leeming <leeming@lyx.org>
75 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
76 with LFUN_DIALOG_SHOW <name> <data>.
78 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * CutAndPaste.C (availableSelections): small compilation fix for
81 ancient (gcc 2.9x) compilers
83 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
85 * text3.C (cursorNext): add tmp var
87 * text2.C (updateCounters): for function calling out of for clause
88 (replaceSelectionWithString): ditto
89 (insertStringAsParagraphs): ditto
90 (getColumnNearX): add tmp var
91 (setCursorFromCoordinates): add tmp var
92 (cursorDownParagraph): add tmp var
93 (deleteEmptyParagraphMechanism): add tmp var
95 * text.C (insertChar): add tmp var
97 * rowpainter.C (paintDepthBar): add tmp var
99 * CutAndPaste.C (availableSelections): potentially check all
100 paragraphs in a cut to fill the shown strings.
102 2003-06-18 André Pönitz <poenitz@gmx.net>
104 * kbmap.[Ch]: use vector<> instead of list<>
106 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
108 * text3.C (dispatch): handle arg to LFUN_PASTE, call
109 pasteSelection with index
111 * text2.C (pasteSelection): modify, call pasteSelection with index
113 * paragraph.C (asString): reimplement version with no interval to
114 call the one with interval.
116 * lyxtext.h: add index arg to pasteSelection
118 * MenuBackend.C (MenuItem): handle PasteRecent
119 (Menu::read::Menutags): add md_pasterecent
121 (expandPasteRecent): new function
124 * MenuBackend.h: add PasteRecent to MenuItem::Kind
126 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
128 (availableSelections): new function
130 2003-06-17 Angus Leeming <leeming@lyx.org>
132 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
134 2003-06-17 Angus Leeming <leeming@lyx.org>
137 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
139 * lyxfunc.C (dispatch): invoke it.
141 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
143 * iterators.C (operator++, ParPosition): reintroduce some
144 const_cast for the benefit of older compilers.
146 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
148 * text3.C (dispatch): do not modify clipboard when doing
149 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
150 LFUN_DELETE_SKIP on a selection selection
152 2003-06-16 André Pönitz <poenitz@gmx.net>
158 * tabular.[Ch]: IU of clone() and getLabelList();
160 2003-06-13 André Pönitz <poenitz@gmx.net>
162 * tabular.h: compactification
164 2003-06-12 André Pönitz <poenitz@gmx.net>
168 * tabular_funcs.h: some renaming plus whitespace
170 2003-06-12 André Pönitz <poenitz@gmx.net>
173 * BufferView_pimpl.C:
179 * toc.C: Return a Paragraph & for ParIterator::operator*()
181 2003-06-11 John Levon <levon@movementarian.org>
185 * ToolbarBackend.C: add "Toolbars" section and
188 2003-06-10 Angus Leeming <leeming@lyx.org>
191 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
193 * lyxfunc.C (dispatch): invoke it.
195 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
197 * main.C: protect <ios> with HAVE_IOS
198 (main): protect sync_with_stdio with HAVE_IOS
200 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
202 * text2.C (cutSelection): adjust
203 (pasteSelection): adjust
205 * messages.C: handle get of empty string
207 * main.C (main): use sync_with_stdio(false)
209 * lyxfunc.C (dispatch): adjust
211 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
212 (WriteAs): remove unneeded BufferView arg.
214 * bufferparams.h: use correct types on papersize, papersize2 and
217 * bufferparams.C (readToken): adjust for type
218 (writeLaTeX): add missing cases to switch.
220 * bufferlist.C (quitWriteBuffer): adjust
223 * buffer.C (asciiParagraph): remove some commented code.
225 * CutAndPaste.C: remove current_view extern variable.
226 (cutSelection): add BufferParams arg.
227 (eraseSelection): add BufferParams arg.
228 (pasteSelection): add Buffer const & arg
230 2003-06-07 John Levon <levon@movementarian.org>
238 * paragraph.C: allow InsetERT to freely space lines,
239 and some consolidation of code
241 2003-06-06 José Matos <jamatos@fep.up.pt>
243 * buffer.C (makeDocBookFile): fix bug #821
245 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
247 * BufferView_pimpl.C (dispatch): use Dialogs::visible
249 2003-06-04 Angus Leeming <leeming@lyx.org>
251 * buffer.C: bump format to 224.
253 2003-06-05 André Pönitz <poenitz@gmx.net>
255 * text2.C (redoParagraphs): remove two const_cast<>
257 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
259 * ParagraphList.h: remove last remnants of NO_STD_LIST
261 2003-06-03 Angus Leeming <leeming@lyx.org>
263 * factory.C (createInset): small change to the way InsetExternal's params
266 2003-06-04 André Pönitz <poenitz@gmx.net>
268 * buffer.h: use Undo directly instead of shared_ptr<Undo>
271 * paragraph.[Ch]: some Inset -> UpdatableInset changes
273 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
275 * undo_funcs.C: make some simple cases of undo work again
277 2003-06-03 John Levon <levon@movementarian.org>
279 * ispell.C: HPUX doesn't have sys/select.h
282 2003-06-03 John Levon <levon@movementarian.org>
284 * CutAndPaste.C: update tabular and include inset
289 * paragraph.C: remove owningBuffer(), don't pass Buffer
292 * factory.C: insetGraphicsParams changed
294 2003-06-02 John Levon <levon@movementarian.org>
300 * text3.C: remove insetparent
302 2003-06-02 John Levon <levon@movementarian.org>
305 * buffer.C: fix inset_iterator.end(), move out of line
308 2003-06-01 John Levon <levon@movementarian.org>
310 * text3.C: use a proper cut/paste when doing inset
311 insert (from Jürgen Spitzmüller)
313 2003-06-01 John Levon <levon@movementarian.org>
315 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
317 2003-05-30 André Pönitz <poenitz@gmx.net>
319 * rowpainter.C: unify second drawing phase
321 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
323 * trans_mgr.C: remove one case of current_view
325 * text2.C (cursorBottom): delete NO_STD_LIST stuff
327 * paragraph_funcs.h: remove paragraph.h include
329 * paragraph.h: delete NO_STD_LIST stuff
331 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
333 * buffer.h: remove paragraph.h include
335 * ParagraphList.C: delete file
337 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
339 * toc.C (getTocList): adjust
341 * paragraph_pimpl.C (validate): adjust
343 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
345 * paragraph.C (Paragraph): adjust
346 (getPositionOfInset): use const_iterator, adjust
347 (bibitem): use const_iterator, adjust
348 (setInsetOwner): adjust
350 * iterators.C (operator++): adjust
352 * InsetList.[Ch]: Replace selfmade iterator with standard
353 vector::iterator also introduce const_iterator. Remove getPos,
354 getInset and setInset from InsetTable. Adjust accordingly.
356 * BufferView.C (lockInset): adjust
357 (ChangeInsets): adjust
359 * tabular.[Ch]: delete commented same_id functions
361 2003-05-28 John Levon <levon@movementarian.org>
363 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
365 2003-05-28 André Pönitz <poenitz@gmx.net>
367 * metricsinfo.[Ch]: remove 'fullredraw' member
369 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
371 * lyxtextclass.C (operator): remove caching.
373 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
377 * text2.C (cursorBottom): adjust
378 (setCounter): use ParagraphList::find, adjust
380 * text.C (workWidth): use ParagraphList::find, adjust
382 * lyxcursor.C (LyXCursor): adjust
384 * buffer.C (inset_iterator): adjust
386 * ParagraphList.h: make iterator(value_type) private, make
387 ParagraphList a friend of iterator.
389 * ParagraphList.C (find): new function
391 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
393 2003-05-27 André Pönitz <poenitz@gmx.net>
395 * dimension.[Ch]: a -> asc, d -> des, w -> wid
397 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
399 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
401 2003-05-26 John Levon <levon@movementarian.org>
403 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
405 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
407 * remove same_id from function signatures, adjust.
409 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
411 * undo_funcs.C (createUndo): use the id functions directly, adjust.
413 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
415 * paragraph.C (Paragraph): get rid of same_ids parameter
417 * ParagraphList.C (insert): adjust
420 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
422 * paragraph_funcs.C (breakParagraph): adjust
423 (breakParagraphConservative): adjust
425 * buffer.C (readParagraph): adjust
427 * ParagraphList.C (insert): take a reference instead of a pointer
430 * paragraph.[Ch] (id): new function
432 * bufferlist.C (newFile): adjust
434 * ParagraphList.C (ParagraphList): adjust
436 (push_back): take a reference instead of a pointer.
438 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
440 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
443 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
444 set else use old code.
446 * ParagraphList.C: remove all NO_NEXT code and only compile this
447 code of NO_STD_LIST is set.
449 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
451 * BufferView_pimpl.C:
461 * graphics/GraphicsConverter.C:
462 * graphics/PreviewLoader.C: header adjustment
464 2003-05-23 Angus Leeming <leeming@lyx.org>
466 * LaTeXFeatures.[Ch] (useBabel): new method.
467 * bufferparams.C (writeLaTeX): use it.
469 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
471 * ParagraphList.h (set): remove unused function.
473 2003-05-23 André Pönitz <poenitz@gmx.net>
476 * BufferView_pimpl.C:
480 * undo_funcs.C: setUndo reworked
482 * iterators.[Ch]: add access to topmost ParagraphList
484 * lyxtext.[Ch] (workWidth): add a const
486 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
488 * texrow.[Ch] (increasePos): remove function
489 * exporter.C (export): removed unused var and outdated comment
491 2003-05-23 Angus Leeming <leeming@lyx.org>
493 * latexrunparams.h: rename fragile as moving_arg.
494 * paragraph.C (simpleTeXOnePar): ditto.
495 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
497 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
499 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
501 (textUndoOrRedo): comment out a currently unused var.
503 * paragraph.h (NO_NEXT): enable NO_NEXT
505 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
507 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
509 * exporter.C (Export): adjust for removeAutoInsets removal.
511 * buffer.C (runChktex): adjust for removeAutoInsets removal.
513 * LyXAction.C (init): remove LFUN_REMOVEERRORS
515 * BufferView.[Ch] (removeAutoInsets): delete function
517 2003-05-22 Angus Leeming <leeming@lyx.org>
519 * latexrunparams.h: add a free_spacing variable.
521 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
522 to pass moving_arg, as the data is stored in runparams.fragile.
524 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
525 to Inset::latexOptional or to simpleTeXOnePar.
527 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
528 free_spacing arg to Inset::latexOptional.
530 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
533 2003-05-22 Angus Leeming <leeming@lyx.org>
535 * latexrunparams.h: add fragile and use_babel variables.
537 * bufferparams.[Ch] (writeLaTeX): return use_babel.
538 * buffer.C (makeLaTeXFile): store this returned value in
539 runparams.use_babel, thus passing it to the inset::latex methods.
541 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
542 simpleTeXSpecialChars as it is now stored in runparams.fragile.
544 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
545 longer has a fragile arg, as it is stored in runparams.fragile.
547 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
548 moving_arg parameter as the data is stored in runparams.fragile.
550 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
551 a fragile parameter as the data is stored in runparams.fragile.
553 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
555 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
557 2003-05-22 Angus Leeming <leeming@lyx.org>
559 * latexrunparams.h: add a 'bool nice' which defaults to false.
561 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
562 now encapsulated within runparams.
564 * bufferlist.C (updateIncludedTeXfiles):
565 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
567 2003-05-22 Angus Leeming <leeming@lyx.org>
569 * latexrunparams.h: new file containing struct LatexRunParams.
570 * Makefile.am: add new file.
572 * LaTeX.[Ch] (c-tor, run):
573 * buffer.[Ch] (makeLaTeXFile):
574 * bufferlist.[Ch] (updateIncludedTeXfiles):
575 * converter.C (convert, scanLog):
576 * converter.[Ch] (runLaTeX):
577 * exporter.C (Export):
578 * paragraph.[Ch] (simpleTeXOnePar):
579 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
580 * paragraph_funcs.[Ch] (latexParagraphs):
581 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
582 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
583 pass around a LatexRunParams parameter.
585 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
587 * paragraph.[Ch]: remove unused constructor
589 * ParagraphList.C (erase): new function, taking two iterators
591 2003-05-22 André Pönitz <poenitz@gmx.net>
593 * undo_funcs.C: remove duplicated code
595 * iterator.[Ch]: operator=
597 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
599 * tabular.C (SetMultiColumn): ws changes
601 * rowpainter.C (paintFirst): get rid of a ->previous
603 * lyx_cb.C (getPossibleLabel): parlist simplification
605 * BufferView.C (ChangeInsets): simplify slightly.
607 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
609 * LyXAction.C: new lfun space-insert, kill protected-space-insert
610 * lfuns.h: new LFUN_SPACE
611 * lyxfunc.C: protected space has a new lfun
612 * paragraph_funcs.C: read new space insets
614 * factory.C: handle new space insets
616 2003-05-22 André Pönitz <poenitz@gmx.net>
619 * BufferView_pimpl.C:
622 * undo_funcs.C: return a ParIterator from getParFromID.
624 * iterators.[Ch]: add two const's
626 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
628 * toc.C (getTocList): adjust
630 * iterators.[Ch]: rework for parlist
632 * buffer.C (par_iterator_begin): adjust
633 (par_iterator_end): adjust
635 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
637 * BufferView.C (removeAutoInsets): adjust
638 (ChangeInsets): adjust
640 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
642 * text.C (top_y): fix bug 1110
644 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
646 * errorlist.[Ch]: added
649 * BufferView_pimpl.C:
650 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
653 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
655 * Makefile.am: ensure that lyx is relinked upon changes to the
656 various "convenience" libs.
658 2003-05-20 Angus Leeming <leeming@lyx.org>
660 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
661 files are compiled in alphabetical order again.
663 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
665 2003-05-19 Angus Leeming <leeming@lyx.org>
667 * gettext.[Ch]: remove "char const * _(char const *)".
669 2003-05-19 André Pönitz <poenitz@gmx.net>
671 * dimension.[Ch]: promote from mathed/dimension.[Ch]
680 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
682 2003-05-19 André Pönitz <poenitz@gmx.net>
688 * paragraph_funcs.[Ch]:
690 * text3.C: more insetenv work
692 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
694 * ParagraphParameters.C (params2string): small bug fixed
696 2003-05-16 André Pönitz <poenitz@gmx.net>
699 * bufferview_funcs.C: patch from Kornel Benko to prevent
700 crash when _(...) is called twice in a statement
702 2003-05-16 André Pönitz <poenitz@gmx.net>
709 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
711 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
713 * lyx_main.C (init): remove spurious static_cast
715 2003-05-14 André Pönitz <poenitz@gmx.net>
717 * BufferView.C: fix format string
719 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
721 * BufferView.[Ch] (insertErrors): removed
722 * BufferView.[Ch] (showErrorList): added
723 * buffer.C (runChkTeX):
724 * converter.C (scanLog): call showErrorList instead of inserterrors
726 2003-05-13 André Pönitz <poenitz@gmx.net>
728 * BufferView_pimpl.C:
737 * tabular_funcs.h: tostr() from its own header
739 * ParagraphParameters.C:
746 2003-05-12 André Pönitz <poenitz@gmx.net>
749 * BufferView_pimpl.C:
753 * ParagraphParameters.C:
757 * bufferview_funcs.C:
774 * text3.C: boost::format -> bformat all over the place
777 2003-05-09 André Pönitz <poenitz@gmx.net>
779 * LColor.[Ch]: Pimpl the #include <map> away
781 2003-05-09 John Levon <levon@movementarian.org>
783 * bufferlist.C: never remove emergency saves
785 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
787 * Makefile.am: better lib building
789 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * texrow.[Ch]: remove dependency on Paragraph and just store a id
793 * paragraph_pimpl.C (simpleTeXBlanks): adjust
794 (simpleTeXSpecialChars): adjust
795 (simpleTeXSpecialChars): adjust
796 * paragraph.C (simpleTeXOnePar): adjust
797 * buffer.C (makeLaTeXFile): adjust
799 * Makefile.am (BOOST_LIBS): allow boost as system lib.
801 * text2.C (changeDepth): parlist cleanup
802 (getColumnNearX): ditto
804 * rowpainter.C (getLabelFont): parlist cleanup
806 * bufferlist.C (newFile): parlist cleanup
808 * CutAndPaste.C (eraseSelection): parlist cleanup
810 * BufferView_pimpl.C (trackChanges): parlist cleanup
813 * BufferView.C (lockInset): parlist cleanup.
814 (ChangeInsets): ditto
816 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
818 * CutAndPaste.h: Update file header.
820 * CutAndPaste.C: Update file header.
821 Store the parts cut out of the Document in a limited_stack.
822 (copySelection): adjust
823 (pasteSelection): new function, takes the index in the limited stack.
824 (nrOfParagraphs): adjust
825 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
826 simplify error inset insertion.
827 (checkPastePossible): adjust
829 2003-05-06 John Levon <levon@movementarian.org>
831 * text2.C: don't cast wrap inset to float
833 2003-05-05 André Pönitz <poenitz@gmx.net>
836 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
838 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
839 few naked Paragraph *.
841 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
843 * bufferparams.C: Output warning if a document with missing
844 TeX document class is loaded
845 * exporter.C: Disable TeX exports if the document class is missing
848 * lyxtextclasslist.C: Handle new textclass.lst format; new method
849 isTeXClassAvailable()
851 2003-05-03 John Levon <levon@movementarian.org>
854 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
855 explicit cursor show/hide
857 * BufferView_pimpl.h:
858 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
859 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
861 * lyxfunc.C: hide cursor before dispatching.
866 * text3.C: remove explicit cursor hides
868 2003-05-02 André Pönitz <poenitz@gmx.net>
870 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
873 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
876 * text2.C: tiny whitespace
878 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
880 * undo_funcs.C: almost only ws changes.
882 * ParagraphList.C (splice): just return if pl is empty.
884 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
886 * ParagraphList.C (splice): new function.
888 * CutAndPaste.C (pasteSelection): use it
890 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * CutAndPaste.C (pasteSelection): remove the last next and
893 previous from this file.
895 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
897 * CutAndPaste.C (pasteSelection): more clean up, user proper
898 ParagraphList functions for pasteing.
900 * ParagraphList.C (insert): new function, three arg insert
902 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
904 * ParagraphList.C (insert): new function, three arg insert
906 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
909 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
911 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
913 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
915 * CutAndPaste.C (pasteSelection): remove some unneeded code.
917 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
919 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
920 (copySelection): clean up a bit.
921 (pasteSelection): use make_pair
923 * ParagraphList.C (ParagraphList): implement copy constructor
924 (operator=): implement, base on copy constructor.
927 * paragraph.C (erase): return a bool
929 * paragraph_pimpl.C (erasePos): remove function, move contents...
930 (erase): ... here. Return a bool.
931 (erase): call erase instead of erasePos.
933 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
935 * ParagraphList.h: define PitPosPair
936 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
937 ParagraphList, fix a bug on pasting multiple pars
938 * text2.C: change interface to C&P
940 2003-04-30 André Pönitz <poenitz@gmx.net>
942 * undo_func.C: revert part of yesterday's patch 2
944 2003-04-30 John Levon <levon@movementarian.org>
946 * LColor.C: s/tabular/table/
948 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * text3.C (dispatch): do not convert iterator -> pointer
951 * undo_funcs.C (setCursorParUndo): ditto
952 * text_funcs.C (transposeChars): ditto
954 * text2.C (setLayout): ws changes only
956 * text.C (breakParagraph): do not convert iterator -> pointer
958 (acceptChange): ditto
959 (rejectChange): ditto
964 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
967 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
969 * text3.C (gotoInset): YABG (yet another bad getChar)
971 2003-04-29 André Pönitz <poenitz@gmx.net>
973 * paragraph.h: make operator= private unimplemented as long as
976 * ParagraphList.C: whitespace
979 * paragraph_pimpl.[Ch]:
982 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
985 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
987 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
989 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
990 * paragraph.[Ch] (erase):
991 * paragraph_pimpl.[Ch] (erase): change return type and value
992 * text2.C (cutSelection): some rework
994 2003-04-28 John Levon <levon@movementarian.org>
996 * bufferlist.C: changes for unsaved changes dialog
998 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1000 * bufferlist.C (newFile): set language (messages_) for new
1003 * buffer.C (readFile): ws changes only.
1005 2003-04-28 André Pönitz <poenitz@gmx.net>
1010 * BufferView_pimpl.C:
1011 * BufferView.C: getParFromID related ParagraphList::iterator changes
1013 2003-04-28 André Pönitz <poenitz@gmx.net>
1015 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1018 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * messages.C: remove one more localedir class variable.
1022 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1024 * messages.C (getLocaleDir): singleton generation function
1026 (Messages): add a default constructor.
1028 * main.C (main): do not setup localedir here, do not call
1031 * gettext.C (_): use it.
1032 (gettext_init): delete funciton
1034 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1036 * gettext.C (getLyXMessages): new singleton generating function.
1038 * buffer.C (updateDocLang): adjust
1040 * Makefile.am (messages.o): add target
1041 (main.o): remove target
1043 2003-04-27 John Levon <levon@movementarian.org>
1048 * lyxvc.C: specify cancel button in Alert::prompt
1050 2003-04-26 John Levon <levon@movementarian.org>
1055 * LyXAction.C: add LFUN_INSET_SETTINGS
1057 * lyxfunc.C: don't enable tabular-feature when there's
1058 just any locking inset
1060 2003-04-26 John Levon <levon@movementarian.org>
1062 * bufferlist.C: re-add Cancel to buffer close question
1064 * lyxfunc.C: fix import UI a bit
1066 2003-04-25 John Levon <levon@movementarian.org>
1068 * gettext.C: remove the broken asserts for now
1070 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1072 * messages.C: make case where setlocale cannot comply work better.
1074 * buffer.C (updateDocLang): new function
1075 (changeLanguage): use it
1078 * text2.C (setCounter): use B_ a bit.
1080 * lyxlayout.C (Read): be sure to trim the label strings.
1082 * messages.C (Messages): fix typo in comment
1084 * buffer.C (readFile): set message_ after file is loaded.
1085 (makeDocBookFile): remove double return
1086 (changeLanguage): reset message_ upon language change.
1087 (B_): new func, use this to get translated buffer strings.
1089 * main.C: add myself and Jean Marc as authors.
1091 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * messages.[hC]: pimplify Messages, and three different pimpls to be
1094 used in different circumstances.
1096 * gettext.[Ch]: change for use with new message code.
1098 2003-04-24 André Pönitz <poenitz@gmx.net>
1100 * factory.C: support for eqref
1102 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1104 * messages.[Ch]: add missing char
1106 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1108 * messages.[Ch]: New files
1110 2003-04-18 John Levon <levon@movementarian.org>
1114 * BufferView_pimpl.C:
1118 * text2.C: remove layout-copy/paste (bug 778)
1120 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1122 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1124 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1126 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1127 if they succeed. Act accordingly.
1129 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1131 * text2.C (setCharFont): adjust
1132 (setCounter): adjust
1133 (insertStringAsLines): adjust
1135 * text.C (leftMargin): adjust
1136 (setHeightOfRow): adjust
1138 * rowpainter.C (paintFirst): adjust
1141 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1143 (isFirstInSequence): ditto
1144 (getEndLabel): ditto
1147 * paragraph.C (getParLanguage): comment out some hard stuff.
1149 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1151 (simpleDocBookOnePar): ditto
1152 (makeDocBookFile): use ParagraphList::iterator
1154 * CutAndPaste.C (pasteSelection): adjust
1156 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1158 * text2.C (getFont): adjust
1159 (getLayoutFont): adjust
1160 (getLabelFont): adjust
1162 * paragraph_funcs.C (TeXOnePar): adjust
1164 * buffer.C (simpleLinuxDocOnePar): adjust
1165 (simpleDocBookOnePar): adjust
1167 * CutAndPaste.C (pasteSelection): adjust
1169 * BufferView.C (getEncoding): adjust
1171 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1173 2003-04-16 John Levon <levon@movementarian.org>
1175 * lyxfind.C: use parlist stuff for search/changes
1177 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1181 * text2.C (deleteEmptyParagraphMechanism): adjust
1183 * text2.[Ch] (ownerParagraph): delete func (both of them
1185 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1187 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1189 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1191 * ParagraphList.C: prepare for NO_NEXT
1193 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1195 * text2.C (getFont): adjust
1196 (getLayoutFont): adjust
1197 (getLabelFont): adjust
1199 * paragraph.C (getFont): adjust
1200 (getLabelFont): adjust
1201 (getLayoutFont): adjust
1203 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1205 2003-04-15 John Levon <levon@movementarian.org>
1209 * lyx_main.C: handle Include in .ui files
1211 2003-04-15 John Levon <levon@movementarian.org>
1213 * MenuBackend.C: make the doc files length shorter
1216 * ToolbarBackend.C: handle toolbar placement flags,
1219 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1221 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1224 * paragraph_funcs.C (TeXOnePar): adjust
1226 * paragraph.C (getLabelFont): add outerfont arg, adjust
1227 (getLayoutFont): ditto
1228 (simpleTeXOnePar): adjust
1230 * paragraph_pimpl.C (realizeFont): delete func
1232 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1234 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1235 row argument, constify cur argument.
1237 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1239 * text2.C (getFont): adjust
1240 (getLayoutFont): adjust
1241 (getLabelFont): adjust
1243 * paragraph_funcs.C (TeXOnePar): adjust
1244 (outerFont): new func...
1245 (realizeFont): ...moved out from here, changed this to facilitate
1248 * paragraph.C (getFont): take outerfont as arg, adjust
1249 (simpleTeXOnePar): add outerfont arg, adjust
1251 * buffer.C (simpleLinuxDocOnePar): adjust
1252 (simpleDocBookOnePar): adjust
1254 * CutAndPaste.C (pasteSelection): adjust
1256 * BufferView.C (getEncoding): adjust
1258 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1260 * text2.C (setCharFont): adjust
1261 (setCounter): adjust
1263 * text.C (leftMargin): adjust
1264 (setHeightOfRow): adjust
1266 * rowpainter.C (paintFirst): adjust
1269 * paragraph_pimpl.C (realizeFont): adjust
1271 * paragraph.C (isFirstInSequence): move from here...
1272 * paragraph_funcs.C (isFirstInSequence): ...to here
1274 * paragraph.C (outerHook): move from here...
1275 * paragraph_funcs.C (outerHook): ...to here
1277 * paragraph.C (depthHook): move from here...
1278 * paragraph_funcs.C (depthHook): ...to here
1280 * paragraph.C (getEndLabel): move from here...
1281 * paragraph_funcs.C (getEndLabel): ...to here
1283 * text2.C (realizeFont): move from here...
1284 * paragraph_funcs.C (realizeFont): ...to here
1286 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1288 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1290 2003-04-14 Angus Leeming <leeming@lyx.org>
1292 * LColor.[Ch]: scrap LColor mathcursor.
1294 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1296 * lyxlex.[Ch] (text): delete function
1297 * trans.C (Load): adjust
1298 * paragraph_funcs.C (readParToken): adjust
1300 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1302 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1303 vector<char> instead of a char[].
1305 * lyxlex_pimpl.C (getString): adjust
1307 (lex): use getString
1311 * lyxlex.C (text): use pimpl_->getString()
1315 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1317 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1318 (makeFontEntriesLayoutSpecific): temp var for par.size()
1319 (setLayout): temp var for ownerParagraphs().end()
1320 (fullRebreak): temp var for rows().end()
1321 (selectionAsString): temp var for boost::next(startpit), realize
1322 that the while really is a regular for loop.
1323 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1324 setCursor in one place.
1325 (setParagraph): temp vr for ownerParagraphs().end()
1326 (updateCounters): make the while loop a for loop
1327 (cutSelection): temp var for ownerParagraphs().end()
1328 (updateInset): make the do {} while() a regular for loop
1329 (getCursorX): use temp vars
1330 (setCurrentFont): use temp vars
1331 (getColumnNearX): use temp vars
1333 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1335 * text.C (transformChar): use temp var for getChar
1336 (computeBidiTables): use temp var for row->par()
1337 (fill): move temp vars for row->par() and pit->layout() earlier in
1339 (labelFill): use temp var for row->par()
1340 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1341 asc and desc, realize that pit never changes and that firstpit is
1342 just a duplicate and not needed. Exchange rit->par() with pit in a
1344 (breakAgain): use a temp var for boost::next(rit)
1345 (breakAgainOneRow): ditto
1346 (breakParagraph): use a temp var for rows().begin()
1347 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1348 (cursorRightOneWord): use temp var for cursor.par() and
1349 cursor.pos(), remove usage of tmpcursor.
1350 (cursorLeftOneWord): use temp var for cursor.par() and
1351 cursor.pos() only set cur at end of function.
1353 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1355 * text.C, text2.C: exchange all usage of Paragraph::next with
1356 boost::next(ParagraphList::iterator)
1358 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1360 * text2.C (cursorTop): simplify implementation
1361 (cursorBottom): ditto
1362 (setParagraph): use ParagraphList::iterator
1363 (setCurrentFont): adjust
1364 (getColumnNearX): adjust
1365 (cursorRight): adjust
1366 (cursorLeft): remove usage of Paragraph::previous
1367 (cursorUpParagraph): ditto
1368 (deleteEmptyParagraphMechanism): slight cleanup
1370 * text.C (isBoundary): take a Paragraph const & instead of a
1372 (addressBreakPoint): ditto
1373 (leftMargin): remove usage of Paragraph::previous.
1374 (setHeightOfRow): ditto
1375 (cursorLeftOneWord): ditto
1376 (selectNextWordToSpellcheck): ditto
1379 (breakParagraph): remove one usage of Paragraph::next
1380 (redoParagraph): ditto
1381 (acceptChange): ditto
1382 (insertChar): adjust
1383 (rowBreakPoint): adjust
1385 * bufferview_funcs.C (toggleAndShow): adjust
1387 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1389 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1390 methods to access it.
1392 * text.C: Added updateRowPositions to compute all row positions.
1393 Make top_y and getRowNearY() to use the cached y position
1395 2003-04-11 John Levon <levon@movementarian.org>
1397 * text.C (rowBreakPoint): reintroduce the labelEnd
1398 checks, code copied from the row fill stuff. Deep voodoo.
1400 * text.C (fill): add a comment and debugging for the
1403 2003-04-11 John Levon <levon@movementarian.org>
1405 * text.C: make sure fullrow insets get wrapped to the next line,
1406 even when they're in a manual label
1408 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1410 * text2.C (insertParagraph): make it take ParagraphList::iterator
1412 (setLayout): make it return ParagraphList::iterator
1413 (redoParagraphs): ditto
1415 (checkParagraph): ditto
1417 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1419 * text2.C: adjust several funcs.
1420 (realizeFont): take a ParagraphList::iterator as arg.
1421 (getLayoutFont): ditto
1422 (getLabelFont): ditto
1423 (setCharFont): ditto
1425 * text.C: adjust several funcs.
1427 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1429 * text.C (selectNextWordToSpellcheck): don't accidentally
1432 2003-04-10 John Levon <levon@movementarian.org>
1434 * ToolbarBackend.C (getIcon): special handling for
1437 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1439 * text2.C (cursorRight): a getChar assert fixed
1441 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1443 * text2.C (getFont): change to take a ParagraphList::iterator
1444 instead of Paragraph*
1445 Adjust several functions.
1447 * text.C (transformChar): change to take a ParagraphList::iterator
1448 instead of Paragraph*
1449 (singleWidth): ditto
1450 Adjust several functions.
1452 * rowpainter.C: adjust several functions
1453 * rowpainter.h:store a ParagraphList::iterator and not a
1457 2003-04-09 John Levon <levon@movementarian.org>
1462 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1463 and the "help" bits as well
1465 2003-04-09 John Levon <levon@movementarian.org>
1468 * ToolbarBackend.C: allow multiple toolbars
1470 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1472 * undo_funcs.C (setCursorParUndo): adjust
1474 * text_funcs.C (transposeChars): adjust
1476 * text3.C (gotoNextInset): adjust
1479 * text2.C (setLayout): adjust
1480 (changeDepth): adjust
1482 (redoParagraphs): adjust
1483 (selectionAsString): adjust
1484 (setParagraph): adjust
1485 (insertInset): adjust
1486 (cutSelection): adjust
1487 (copySelection): adjust
1488 (pasteSelection): adjust
1489 (insertStringAsLines): adjust
1490 (updateInset): adjust
1491 (setCursor): change to take a ParagraphList::iterator parameter
1492 (setCursorIntern): change to take a ParagraphList::iterator parameter
1493 (setCurrentFont): adjust
1494 (cursorLeft): adjust
1495 (cursorRight): adjust
1496 (deleteEmptyParagraphMechanism): adjust
1498 * text.C (breakParagraph): adjust
1499 (insertChar): adjust
1500 (acceptChange): adjust
1501 (rejectChange): adjust
1502 (selectNextWordToSpellcheck): adjust
1503 (changeCase): adjust
1507 * lyxfind.C (SearchForward): adjust
1508 (SearchBackward): adjust
1509 (nextChange): adjust
1511 * lyxcursor.C (par): adjust
1513 * lyxcursor.h: store a ParagraphList::iterator instead of a
1516 * lyx_cb.C (getPossibleLabel): adjust
1518 * bufferview_funcs.C (toggleAndShow): adjust
1520 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1523 * BufferView.C (removeAutoInsets): adjust
1524 (lockedInsetStoreUndo): adjust
1526 2003-04-09 John Levon <levon@movementarian.org>
1528 * ToolbarBackend.C: try icon without argument
1529 if with argument fails
1531 2003-04-08 John Levon <levon@movementarian.org>
1534 * ToolbarBackend.C: add getIcon(), handle tooltip,
1535 and change from "Icon" to "Item".
1537 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1539 * BufferView.C (lockInset): another bad getchar crunched
1541 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1543 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1546 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1548 * lyxfind.C (searchForward, searchBackwards): bug 782
1550 2003-04-07 John Levon <levon@movementarian.org>
1552 * paragraph.C: remove dead comment
1554 * text.C: remove troublesome depth-fiddling code
1555 in leftMargin() and rightMargin() (bug 1017)
1557 * text.C: fix breaking of rows in nested lists
1560 * text2.C (updateCounters): fix up depth values
1563 2003-04-07 John Levon <levon@movementarian.org>
1565 * BufferView_pimpl.C: clear message when doc finishes resizing,
1566 and after a mouse event
1568 * lyxfunc.C: clear message after exiting inset
1570 2003-04-07 John Levon <levon@movementarian.org>
1572 * bufferview_funcs.C: show math status not outside
1573 status in the statusbar
1575 2003-04-07 John Levon <levon@movementarian.org>
1577 * lyxfunc.C: note status changed after a depth change
1579 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1581 * LaTeX.h: move AuxInfo operator==, != out of line.
1582 Remove LaTeX virtual destructor; nothing derives from it.
1583 Move operator()() out of public area and rename it startscript().
1584 Change protected for private.
1586 2003-04-04 Angus Leeming <leeming@lyx.org>
1589 * text2.C: remove unneeded #includes.
1591 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1593 * text2.C (dEPM): fix the heigth of the next row
1595 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1597 * text.C: squashed an invalid getChar requester + some ws changes
1599 2003-04-03 John Levon <levon@movementarian.org>
1601 * bufferview_funcs.h:
1602 * bufferview_funcs.C:
1605 * text2.C: make getStatus work for the env depth lfuns
1607 2003-04-03 John Levon <levon@movementarian.org>
1609 * bufferview_funcs.h:
1610 * bufferview_funcs.C:
1613 * text2.C: parlistize decDepth(), by merging it with incDepth()
1615 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1617 * lyxrow.h: store a ParagraphList::iterator instead of a
1618 Paragraph* and adjust other class functions to suit.
1620 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1623 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1625 * text2.C (setCursor): do not anchor to cursor row for the time being
1627 2003-04-02 John Levon <levon@movementarian.org>
1634 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1636 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * paragraph.h: make ParagraphList and ParagraphList::iterator
1639 friends of Paragraph.
1641 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1643 * ParagraphList.C: Use the private next_ and previous_ from
1646 2003-04-01 John Levon <levon@movementarian.org>
1650 * Makefile.am: rename, remove defaults gunk
1653 * MenuBackend.C: remove defaults gunk
1656 * Languages.C: remove defaults gunk
1659 * lyx_main.C: error out if files couldn't be found.
1661 2003-04-02 John Levon <levon@movementarian.org>
1663 * text2.C: make incDepth() use parlist
1665 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1667 * undo_funcs.C (firstUndoParagraph): adjust
1669 * text3.C (gotoInset): adjust
1670 (dispatch): adjust, and rewrite loop.
1672 * text2.C (init): adjust, and rewrite loop.
1673 (redoParagraphs): adjust
1674 (updateInset): adjust, and rewrite loop.
1675 (deleteEmptyParagraphMechanism): adjust
1677 * tabular.C (LyXTabular): adjust
1678 (SetMultiColumn): adjust
1681 * lyxtext.[Ch] (ownerParagraph): delete function
1682 (ownerParagraphs): new function returns a ParagraphList.
1684 * BufferView.C (removeAutoInsets): adjust
1685 (insertErrors): adjust
1686 (setCursorFromRow): adjust
1688 2003-04-01 Angus Leeming <leeming@lyx.org>
1690 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1693 2003-04-02 John Levon <levon@movementarian.org>
1699 * text_funcs.C: make transposeChars a free function
1701 * lyxrow_funcs.C: remove wrong comment
1703 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1706 * rowpainter.C: adjust
1711 * lyxrow_funcs. [Ch]: new files
1713 * lyxrow.[Ch]: remove next and previous pointers
1714 (next,previous): remove accessor functions
1715 (isParEnd): move to lyxrow_funcs
1716 (lastPos): move to lyxrow_funcs
1717 (nextRowIsAllInset): move to lyxrow_funcs
1718 (lastPrintablePos): move to lyxrow_funcs
1719 (numberOfSeparators): move to lyxrow_funcs
1720 (numberOfHfills): move to lyxrow_funcs
1721 (numberOfLabelHfills): move to lyxrow_funcs
1722 (hfillExpansion): move to lyxrow_funcs
1726 * bufferview_funcs.C (toggleAndShow): adjust
1728 * RowList.h: Remove class RowList from file leave just a
1731 * RowList.C: delete file
1733 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1736 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1738 * text3.C (cursorPrevious): adjust
1739 (cursorNext): adjust
1742 * text2.C (redoHeightOfParagraph): adjust
1743 (redoDrawingOfParagraph): adjust
1746 * text.C (breakParagraph): adjust
1747 (insertChar): adjust
1750 * rowpainter.C (RowPainter): adjust
1751 (leftMargin): simplify and adjust
1752 (most rowpainter functions): adjust.
1754 * rowpainter.h: store the row as RowList::iterator not as Row*
1756 * lyxcursor.C (row): taka RowList::iterator as arg
1759 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1762 2003-04-01 Angus Leeming <leeming@lyx.org>
1764 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1765 stuff like bool Bool.
1767 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1769 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1772 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1777 * lyxtext.h (rows): drop one version and leve a const variant that
1778 returns a RowList::iterator.
1780 2003-03-31 Angus Leeming <leeming@lyx.org>
1782 * text.C (fill): ensure that the signature is the same as that in the
1785 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1787 * text2.C (redoParagraphs): adjust
1788 (updateCounters): adjust
1789 (checkParagraph): adjust
1790 (getColumnNearX): adjust and reformat a bit.
1792 * text.C (top_y): adjust
1794 (leftMargin): adjust
1795 (prepareToPrint): adjust
1797 (getRowNearY): adjust
1799 * lyxtext.h: make rowlist_ mutable.
1801 * RowList.h: add const_iterator
1802 * RowList.C: adjust for RowList::const_iterator.
1804 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1807 2003-03-31 John Levon <levon@movementarian.org>
1810 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1812 * lyx_main.C: set default fonts from using lyx_gui funcs
1814 * exporter.C: pdf_mode moved from lyxrc
1817 * lyxfunc.C: changes from above
1819 2003-03-31 John Levon <levon@movementarian.org>
1821 * lyx_main.C: fix to the last fix
1823 2003-03-31 John Levon <levon@movementarian.org>
1825 * bufferlist.C: "Load original" -> "Load Original"
1831 * format.C: more Alert cleanups
1833 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1835 * text2.C (removeParagraph): make it take a RowList::iterator as
1837 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1838 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1840 * text.C (anchor_row): make it take a RowList::iterator as arg,
1842 (computeBidiTables): make it take a const reference to Row instead
1843 of Row pointer, adjust.
1844 (leftMargin): make it take a RowList::iterator as arg, adjust.
1845 (rowBreakPoint): adjust
1846 (breakAgainOneRow): make it take a RowList::iterator as arg,
1848 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1850 * bufferview_funcs.C (toggleAndShow): adjust
1852 2003-03-30 John Levon <levon@movementarian.org>
1856 * boost-inst.C: moved to support
1858 * several files: changes as a result
1860 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1862 * text2.C (LyXText): adjust.
1864 (removeRow): make it take a RowList::iterator as arg, adjust.
1865 (fullRebreak): adjust
1866 (deleteEmptyParagraphMechanism): adjust
1867 (clearPaint): adjust
1870 * text.C (top_y): adjust
1871 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1872 (breakAgain): make it take a RowList::iterator as arg, adjust.
1873 (breakParagraph): adjust
1874 (insertChar): adjust
1877 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1878 need_break_row, and refresh_row.
1880 * text3.C (dispatch): adjust
1882 * text2.C (checkParagraph): adjust
1884 (setCursorFromCoordinates): adjust
1886 * text.C (top_y): adjust
1888 (getRow): make it return a RowList::iterator, adjust
1889 (getRowNearY): make it return a RowList::iterator, adjust
1891 * text2.C (init): adjust
1892 (insertRow): remove function
1893 (insertParagraph): adjust
1894 (redoParagraphs): adjust
1895 (fullRebreak): adjust
1896 (updateCounters): adjust
1898 * text.C (top_y): rewrite to use RowList iterators.
1900 (setHeightOfRow): rewrite to sue RowList iterators.
1901 (appendParagraph): adjust
1902 (breakAgain): adjust
1903 (breakAgainOneRow): adjust
1904 (breakParagraph): adjust
1906 (getRowNearY): adjust, and remove commented code.
1908 * lyxtext.h (firstRow): delete function
1909 (lastRow): delete function
1910 (rows): new function (const and non-const versions.)
1911 (insertRow): delete function
1913 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1915 2003-03-29 John Levon <levon@movementarian.org>
1917 * BufferView_pimpl.C: always update scrollbar top
1918 because pasting text when we're anchored could mean we
1919 miss an update altogether
1921 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1923 * text2.C (init): use rowlist_.end() and not 0.
1924 (insertRow): change to take a RowList::iterator as arg, adjust
1926 (insertParagraph): change to take a RowList::iterator as arg,
1928 (redoParagraphs): remove some debug msgs.
1930 * text.C (appendParagraph): change to take a RowList::iterator
1931 arg, adjust for this.
1932 (breakAgain): add an assert
1933 (breakAgainOneRow): ditto
1935 2003-03-29 John Levon <levon@movementarian.org>
1937 * text2.C: do not clear selection after inc/decDepth
1940 2003-03-29 John Levon <levon@movementarian.org>
1943 * buffer.C: fix broken strerrors according to Lars
1945 2003-03-29 John Levon <levon@movementarian.org>
1947 * converters.C: more Alert cleanups
1949 2003-03-29 John Levon <levon@movementarian.org>
1951 * bufferview_funcs.C: remove pointless Alert
1953 * buffer.C: fix confusing error message when
1954 a template is chmoded 000
1956 2003-03-29 John Levon <levon@movementarian.org>
1960 * BufferView_pimpl.C: Alert fixes
1964 * tabular-old.C: remove unused table compat reading
1966 2003-03-29 John Levon <levon@movementarian.org>
1971 * lyx_cb.C: more Alert cleanups
1973 * lyxfunc.C: don't allow chktex if not latex document
1975 2003-03-29 John Levon <levon@movementarian.org>
1979 * buffer.C: warnings pushed down from support/,
1982 2003-03-29 John Levon <levon@movementarian.org>
1984 * lyxfunc.C: safety check for C-r (revert)
1986 2003-03-29 John Levon <levon@movementarian.org>
1989 * bufferlist.C: several UI fixes using Alert::prompt.
1990 Fix the pointless looping quit code. Fix stupid revert
1995 * lyx_cb.C: use Alert::prompt
1997 * lyx_main.C: remove a silly question
1999 * lyxfunc.C: remove a couple of silly questions,
2002 2003-03-28 John Levon <levon@movementarian.org>
2004 * text2.C: fix bug 974 (End on empty par)
2006 2003-03-28 John Levon <levon@movementarian.org>
2008 * BufferView_pimpl.C:
2010 * lfuns.h: remove do-nothing math greek lfuns
2012 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * lyxgluelength.h (isValidGlueLength): add default arg on
2015 parameter 2. Remove default arg from friend in class.
2017 * lyxlength.h (isValidLength): add default arg on parameter 2.
2018 Remove default arg from friend in class.
2020 * text2.C (LyXText): adjust, initialize refresh_row.
2024 (insertParagraph): adjst
2025 (redoParagraphs): adjust
2026 (fullRebreak): adjust
2027 (updateCounters): adjust
2028 (deleteEmptyParagraphMechanism): first attempt at fixing a
2031 * text.C (top_y): adjust
2032 (setHeightOfRow): adjust
2034 (getRowNearY): adjust
2036 * lyxtext.h: include RowList.h
2037 (~LyXText): not needed anymore, deleted.
2038 (firstRow): modify for RowList
2039 (lastRow): new function
2040 Delete firstrow and lastrow class variables, add a Rowlist
2041 rowlist_ class variable.
2043 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2046 * RowList.C (insert): fix case where it == begin().
2048 2003-03-26 Angus Leeming <leeming@lyx.org>
2050 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2051 the thesaurus dialog.
2053 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2055 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2057 * RowList.[Ch]: new files
2059 * ParagraphList.C (erase): handle the case where it == begin
2062 2003-03-25 John Levon <levon@movementarian.org>
2066 * aspell.C: add new aspell support
2069 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2072 2003-03-25 Angus Leeming <leeming@lyx.org>
2075 * LyXAction.C (init): new LFUN_INSET_INSERT.
2077 * BufferView_pimpl.C (dispatch): split out part of the
2078 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2080 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2083 2003-03-25 Angus Leeming <leeming@lyx.org>
2085 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2087 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2090 * text3.C: remove useless row->height(0)
2092 2003-03-25 John Levon <levon@movementarian.org>
2096 * text3.C: rename the refreshing stuff to better names
2098 2003-03-24 John Levon <levon@movementarian.org>
2100 * BufferView_pimpl.h:
2101 * BufferView_pimpl.C: update layout choice on a mouse
2104 2003-03-23 John Levon <levon@movementarian.org>
2106 * Makefile.am: fix commandtags.h reference
2108 2003-03-22 John Levon <levon@movementarian.org>
2110 * BufferView_pimpl.C:
2115 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2117 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2120 * text.C: take the rtl methods out of line
2122 2003-03-21 André Pönitz <poenitz@gmx.net>
2124 * metricsinfo.[Ch]: new files containing structures to be passed around
2125 during the two-phase-drawing...
2127 2003-03-21 André Pönitz <poenitz@gmx.net>
2129 * lyxtextclass.C: read 'environment' tag.
2131 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2133 * text2.C (removeRow): fix bug 964
2135 2003-03-20 John Levon <levon@movementarian.org>
2139 * text2.C: paint cleanups. Inset::update() dropped font
2142 2003-03-19 John Levon <levon@movementarian.org>
2144 * lyxfunc.C: only fitcursor/markDirty if available()
2146 2003-03-19 John Levon <levon@movementarian.org>
2148 * commandtags.h: rename to ...
2150 * lfuns.h: ... this, and renumber / cleanup
2152 2003-03-19 John Levon <levon@movementarian.org>
2154 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2155 fit the cursor after an lfun
2159 * BufferView_pimpl.h:
2160 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2162 * LyXAction.C: layout-character should have ReadOnly
2164 * ParagraphParameters.C:
2166 * bufferview_funcs.C:
2173 * undo_funcs.C: changes from above
2175 2003-03-18 John Levon <levon@movementarian.org>
2177 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2178 remove it from update()
2180 * lyxfunc.C: update layout choice after an lfun
2182 * text3.C: remove extra updateLayoutChoice()s
2184 2003-03-18 John Levon <levon@movementarian.org>
2186 * text.C: top_y change means full repaint, fix
2187 a drawing bug with cursor movement
2189 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2193 * text2.C: anchor row on setCursor
2195 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2197 * lyxtext.h: remove almost all mutable keywords
2200 * text3.C: remove const keywords accordingly
2202 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2204 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2206 (TeXEnvironment): ditto
2209 2003-03-17 John Levon <levon@movementarian.org>
2211 * text.C (rowBreakPoint): remove attempt to fix displayed
2212 math insets inside a manual label
2214 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2216 * lyxtext.h: remove BufferView* as first arg from almost all class
2218 * other files: adjust.
2220 2003-03-17 John Levon <levon@movementarian.org>
2224 * text2.C: more paint cleanups
2226 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2229 * rowpainter.C: remove "smart" background painting code
2231 2003-03-16 John Levon <levon@movementarian.org>
2236 * text3.C: add helper functions for setting refresh_row/y
2238 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2240 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2241 newline inset which *can* get inserted in the pass_thru layouts.
2242 This is primarily for literate documents.
2244 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2246 * buffer.C: increment LYX_FORMAT to 223
2248 2003-03-14 André Pönitz <poenitz@gmx.net>
2250 * textclass.h: prepare for environment handling, ws changes
2251 * lyxlayout.C: read latexheader and latexfooter tags
2253 2003-03-14 John Levon <levon@movementarian.org>
2255 * text2.C: rewrite ::status() a bit
2257 2003-03-13 John Levon <levon@movementarian.org>
2259 * lyxtext.h: add some docs
2261 2003-03-13 John Levon <levon@movementarian.org>
2266 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2268 2003-03-13 John Levon <levon@movementarian.org>
2270 * text3.C: fix appendix redrawing
2272 2003-03-13 John Levon <levon@movementarian.org>
2274 * text.C (setHeightOfRow):
2276 * rowpainter.C: make appendix mark have the text
2277 "Appendix" so the user knows what it is
2280 * LColor.C: s/appendixline/appendix/ from above
2282 2003-03-13 John Levon <levon@movementarian.org>
2284 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2286 * text.C: fix a getChar(pos) bug properly
2288 2003-03-13 Angus Leeming <leeming@lyx.org>
2291 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2292 Probably only temporary. Let's see how things pan out.
2294 * BufferView.C (unlockInset):
2295 * BufferView_pimpl.C (fitCursor):
2296 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2298 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2299 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2301 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2302 new functions that convert ParagraphParameters to and from a string.
2304 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2305 BufferView::Pimpl's dispatch.
2306 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2308 2003-03-13 André Pönitz <poenitz@gmx.net>
2312 * factory.C: make it aware of InsetEnv
2314 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2316 * text2.C (setCursor): never ask for one past last
2317 (setCursor): add some debugging messages.
2319 * text.C (singleWidth): never ask for one past last
2320 (singleWidth): ditto
2322 (rightMargin): ditto
2323 (rowBreakPoint): ditto
2324 (setHeightOfRow): ditto
2325 (prepareToPrint): ditto
2327 * rowpainter.C (paintBackground): never ask for one past last
2328 (paintText): never ask for one past last
2330 * paragraph_pimpl.C (getChar): make the assert stricter, never
2331 allow the one past last pos to be taken
2333 * paragraph.C (getChar): ws changes only
2335 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2336 (numberOfSeparators): ditto
2337 (numberOfHfills): ditto
2339 2003-03-12 John Levon <levon@movementarian.org>
2345 * paragraph_funcs.C: fix per-buffer authorlists
2347 2003-03-12 John Levon <levon@movementarian.org>
2349 * text.C: fix newline in right address
2351 2003-03-12 Angus Leeming <leeming@lyx.org>
2353 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2354 duplicate those in LyXFunc::dispatch.
2358 * ToolbarDefaults.C:
2359 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2360 Add LFUN_FONTFREE_UPDATE.
2362 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2363 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2365 * bufferview_func.[Ch]: several new functions to facilliate
2366 transfer of data to and from the character dialog.
2368 2003-03-12 John Levon <levon@movementarian.org>
2373 * paragraph_funcs.C:
2374 * paragraph_pimpl.C:
2378 * text3.C: remove META_NEWLINE in favour of an inset
2381 * rowpainter.C: remove paintNewline (done by inset)
2383 2003-03-12 John Levon <levon@movementarian.org>
2385 * paragraph_pimpl.C: complain about bad getChar()s
2386 for a while at least
2388 2003-03-12 John Levon <levon@movementarian.org>
2391 * buffer.C: move paragraph read into a separate function,
2392 a little renaming to reflect that.
2395 * bufferparams.C: remove the author_ids map, not necessary now
2398 * factory.C: moved Buffer::readInset to here
2400 * paragraph_funcs.h:
2401 * paragraph_funcs.C: readParagraph free function moved from
2404 * tabular.C: name change
2406 2003-03-12 John Levon <levon@movementarian.org>
2409 * ParagraphParameters.C: move par params input to
2412 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2413 behave like a normal read from the stream wrt reading
2414 a line vs. a \\token
2416 2003-03-12 John Levon <levon@movementarian.org>
2419 * ParagraphParameters.h:
2420 * ParagraphParameters.C: move output code to a
2423 2003-03-12 John Levon <levon@movementarian.org>
2425 * BufferView.C (insertLyXFile):
2428 * tabular.C: use a parlist iterator for creating the
2431 2003-03-12 John Levon <levon@movementarian.org>
2433 * buffer.C: make current_change static local not
2436 2003-03-12 John Levon <levon@movementarian.org>
2438 * buffer.C: fix insertStringAsLines for change tracking
2440 2003-03-12 John Levon <levon@movementarian.org>
2447 * bufferparams.C: move author list into params. Rename some
2448 functions. Move the header reading into a separate token
2449 loop. Move the header token reading into BufferParams.
2451 2003-03-12 John Levon <levon@movementarian.org>
2453 * changes.C: put debug inside lyxerr.debugging() checks
2455 2003-03-11 André Pönitz <poenitz@gmx.net>
2457 * factory.C: make it aware of InsetHFill
2459 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2461 * buffer.C (latexParagraphs): move function from here...
2462 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2465 2003-03-10 Angus Leeming <leeming@lyx.org>
2467 * LyXAction.C (init): fix bug in poplating array with multiple entries
2468 with the same LFUN (spotted by JMarc).
2470 2003-03-10 John Levon <levon@movementarian.org>
2473 * text2.C: move getColumnNearX() near its
2476 2003-03-10 John Levon <levon@movementarian.org>
2478 * text.C: fix break before a minipage
2480 2003-03-10 John Levon <levon@movementarian.org>
2482 * text.C: fix the last commit
2484 2003-03-09 John Levon <levon@movementarian.org>
2488 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2489 bug 365 (don't break before insets unless needed). Don't
2490 return a value > last under any circumstances.
2492 2003-03-09 Angus Leeming <leeming@lyx.org>
2494 * BufferView_pimpl.C (trackChanges, dispatch): call
2495 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2497 2003-03-09 Angus Leeming <leeming@lyx.org>
2499 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2500 than Dialogs::showAboutlyx().
2502 2003-03-09 Angus Leeming <leeming@lyx.org>
2504 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2505 than Dialogs::showTabularCreate().
2507 2003-03-09 John Levon <levon@movementarian.org>
2511 * text2.C: 3rd arg to nextBreakPoint was always the same.
2514 2003-03-08 John Levon <levon@movementarian.org>
2521 * text2.C: Remove the "main" bit from the "main body"
2524 2003-03-08 John Levon <levon@movementarian.org>
2526 * text.C (leftMargin): The left margin of an empty
2527 manual label paragraph should not include the label width
2530 * text.C (prepareToPrint): don't attempt to measure hfills
2531 for empty manual label paragraphs - the answer should be 0
2533 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * CutAndPaste.C: remove commented code and reindent.
2537 2003-03-08 John Levon <levon@movementarian.org>
2540 * lyxfunc.C: move reloadBuffer()
2543 * BufferView.C: to here
2545 * lyxvc.C: add comment
2548 * vc-backend.C: call bv->reload() to avoid
2549 getStatus() check on MENURELOAD
2551 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2553 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2554 to an old format .dep file.
2556 2003-03-07 Angus Leeming <leeming@lyx.org>
2558 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2559 when the LFUN_MOUSE_RELEASE should have been handled by
2560 inset->localDispatch.
2562 2003-03-07 Angus Leeming <leeming@lyx.org>
2564 * BufferView_pimpl.C (dispatch):
2565 * LyXAction.C (init):
2566 * ToolbarDefaults.C (init):
2568 * lyxfunc.C (getStatus):
2569 remove LFUN_INSET_GRAPHICS.
2571 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2573 2003-03-07 Angus Leeming <leeming@lyx.org>
2576 * LyXAction.C (init):
2577 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2579 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2582 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2584 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2585 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2587 2003-03-07 Angus Leeming <leeming@lyx.org>
2589 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2592 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2594 * ParagraphList.C (front): new function
2597 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2599 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2600 and top_row_offset_. removed var first_y.
2602 * text2.C (LyXText, removeRow):
2604 * BufferView_pimpl.C:
2605 use these methods instead of using first_y
2607 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2609 * text2.C (pasteSelection): adjust for checkPastePossible
2611 * CutAndPaste.C: remove Paragraph * buf and replace with
2612 ParagraphList paragraphs.
2613 (DeleteBuffer): delete
2614 (cutSelection): change the tc type to textclass_type
2615 (copySelection): change the tc type to textclass_type
2616 (copySelection): adjust for ParagraphList
2617 (pasteSelection): change the tc type to textclass_type
2618 (pasteSelection): adjust for Paragraphlist
2619 (nrOfParagraphs): simplify for ParagraphList
2620 (checkPastePossible): simplify for ParagraphList
2621 (checkPastePossible): remove unused arg
2623 * ParagraphList.C (insert): handle the case where there are no
2626 * CutAndPaste.h: make CutAndPaste a namespace.
2628 * text3.C (dispatch): adjust
2630 * text.C (breakParagraph): add a ParagraphList as arg
2632 * paragraph_funcs.C (breakParagraph): change to take a
2633 BufferParams and a ParagraphList as args.
2634 (breakParagraphConservative): ditto
2635 (mergeParagraph): ditto
2636 (TeXDeeper): add a ParagraphList arg
2637 (TeXEnvironment): ditto
2640 * buffer.C (readLyXformat2): adjust
2641 (insertStringAsLines): adjust
2642 (latexParagraphs): adjust
2644 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2645 (cutSelection): adjust
2646 (pasteSelection): adjust
2648 * BufferView_pimpl.C (insertInset): adjust
2650 2003-03-05 Angus Leeming <leeming@lyx.org>
2653 * LyXAction.C (init):
2654 * BufferView_pimpl.C (dispatch):
2655 * lyxfunc.C (getStatus):
2656 remove LFUN_CHILD_INSERT.
2658 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2660 2003-03-05 Angus Leeming <leeming@lyx.org>
2663 * LyXAction.C (init):
2664 * src/factory.C (createInset):
2665 * lyxfunc.C (getStatus):
2666 * text3.C (dispatch):
2667 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2669 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2671 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2673 * ParagraphList.C (insert): handle insert right before end()
2674 (erase): fix cases where it can be first or last paragraph.
2676 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2678 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2679 Paragraph::next and Paragraph::previous
2682 * text.C (breakParagraph): adjust
2684 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2685 BufferParams& as arg.
2686 (breakParagraph): use ParagraphList::insert
2687 (breakParagraphConservative): take a Buffer* instead of a
2688 BufferParams& as arg.
2689 (breakParagraphConservative): use ParagraphList::insert.
2691 * buffer.C (insertStringAsLines): un-const it
2692 (insertStringAsLines): adjust
2694 * ParagraphList.C (insert): new function
2696 * CutAndPaste.C (pasteSelection): adjust
2698 * text.C (backspace): adjust
2700 * tabular.C (SetMultiColumn): adjust
2702 * CutAndPaste.C (cutSelection): adjust
2703 (pasteSelection): adjust
2705 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2706 Buffer const * as arg
2708 * ParagraphList.C (erase): new function
2709 * paragraph_funcs.C (mergeParagraph): use it
2710 (mergeParagraph): make it take a Buffer* instead of a
2711 BufferParams* as arg
2713 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2715 (breakParagraphConservative): ditto
2717 * paragraph.h: remove the breakParagraph friend
2719 * paragraph.C (eraseIntern): new function
2720 (setChange): new function
2722 * paragraph_funcs.C (mergeParagraph): make it take a
2723 ParagraphList::iterator instead of a Paragraph *, adjust
2726 * paragraph.h: move an #endif so that the change tracking stuff
2727 also works in the NO_NEXT case.
2729 2003-03-04 Angus Leeming <leeming@lyx.org>
2732 * LyXAction.C: new LFUN_INSET_MODIFY.
2734 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2735 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2737 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2739 * several files: ws changes only
2741 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2742 (TeXEnvironment): ditto
2745 * buffer.C (makeLaTeXFile): adjust
2746 (latexParagraphs): make it take ParagraphList::iterator as args
2748 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * buffer.C (latexParagraphs): adjust
2752 * paragraph.C (TeXOnePar): move function...
2753 (optArgInset): move function...
2754 (TeXEnvironment): move function...
2755 * paragraph_pimpl.C (TeXDeeper): move function...
2756 * paragraph_funcs.C: ...here
2758 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2760 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2762 * buffer.C (readInset): remove compability code for old Figure and
2765 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2767 * buffer.C: ws changes
2770 * BufferView_pimpl.C: ditto
2773 * bufferlist.h: ditto
2777 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2779 * converter.[Ch]: split into itself +
2782 * Makefile.am: += graph.[Ch] + format.[Ch]
2789 * lyxrc.C: added #include "format.h"
2791 2003-02-27 Angus Leeming <leeming@lyx.org>
2793 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2796 * factory.C (createInset): add "label" to the factory.
2798 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2799 string and do no more.
2801 2003-02-27 Angus Leeming <leeming@lyx.org>
2804 * LyXAction.C (init):
2805 * factory.C (createInset):
2806 * BufferView_pimpl.C (dispatch):
2807 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2809 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2811 * lyxfunc.C (dispatch):
2812 * text3.C (dispatch): pass name to params2string.
2814 2003-02-26 Angus Leeming <leeming@lyx.org>
2816 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2818 Rearrange the ~includes. Strip out the unnecessary ones.
2820 * factory.C (createInset): reformat.
2821 create new insets for the various LFUN_XYZ_APPLY lfuns.
2823 2003-02-26 John Levon <levon@movementarian.org>
2826 * lyxrow.C: add isParStart,isParEnd helpers
2828 * paragraph.h: make isInserted/DeletedText take refs
2830 * paragraph_funcs.h:
2831 * paragraph_funcs.C: remove #if 0'd code
2836 * text.C: use lyxrow helpers above.
2837 Move draw and paint routines to RowPainter.
2838 Make several methods use refs not pointers.
2839 Make backgroundColor() const.
2840 Add markChangeInDraw(), isInInset().
2841 Merge changeRegionCase into changeCase.
2842 Make workWidth() shouldn't-happen code into an Assert.
2845 * rowpainter.C: new class for painting a row.
2848 * vspace.C: make inPixels take a ref
2850 2003-02-26 Angus Leeming <leeming@lyx.org>
2852 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2855 2003-02-25 John Levon <levon@movementarian.org>
2857 * ispell.C: give the forked command a more accurate name
2859 2003-02-22 John Levon <levon@movementarian.org>
2862 * toc.C: make TocItem store an id not a Paragraph *
2865 2003-02-21 Angus Leeming <leeming@lyx.org>
2867 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2868 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2869 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2870 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2871 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2872 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2874 * BufferView_pimpl.C (dispatch):
2875 * LyXAction.C (init):
2876 * factory.C (createInset):
2877 * lyxfunc.C (getStatus, dispatch):
2878 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2880 2003-02-21 Angus Leeming <leeming@lyx.org>
2882 * BufferView_pimpl.C (MenuInsertLyXFile):
2883 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2884 * lyxfunc.C (menuNew, open, doImport):
2885 no longer pass a LyXView & to fileDlg.
2887 2003-02-21 Angus Leeming <leeming@lyx.org>
2889 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2890 * LyXAction.C: change, BIBKEY to BIBITEM.
2891 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2892 Change InsetBibKey to InsetBibitem.
2893 Change BIBKEY_CODE to BIBITEM_CODE.
2894 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2895 * factory.C: replace insetbib.h with insetbibitem.h.
2896 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2897 * paragraph.C: replace insetbib.h with insetbibitem.h.
2898 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2899 Change bibkey() to bibitem().
2900 * text.C: remove insetbib.h.
2901 * text2.C: replace insetbib.h with insetbibitem.h.
2902 change bibkey() to bibitem().
2903 * text3.C: remove insetbib.h.
2904 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2906 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2908 * lyxrc.C (output): enclose user email in quotes (in case there are
2911 2003-02-18 John Levon <levon@movementarian.org>
2913 * buffer.h: add std::
2915 2003-02-17 John Levon <levon@movementarian.org>
2921 * pspell.C: reworking. Especially in ispell, a large
2922 number of clean ups and bug fixes.
2924 * lyxfunc.C: fix revert to behave sensibly
2926 2003-02-17 André Pönitz <poenitz@gmx.net>
2929 * commandtags.h: new LFUN_INSERT_BIBKEY
2939 * paragraph_func.C: remove special bibkey handling
2941 2003-02-17 John Levon <levon@movementarian.org>
2943 * text.C (Delete): fix case where delete at the end of
2944 the very first paragraph would not merge the pars
2946 2003-02-17 John Levon <levon@movementarian.org>
2948 * lyxrow.C: fix lastPrintablePos()
2950 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2952 * bufferparams.C (writeLaTeX): add a std:here
2954 * buffer.C: and remove a using directive there
2956 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2958 * buffer.C (makeLaTeXFile): move the code that generates the
2961 * bufferparams.C (writeLaTeX): ... in this new method
2963 * LaTeXFeatures.C (getEncodingSet): make const
2964 (getLanguages): make const
2966 * MenuBackend.C (binding): returns the binding associated to this
2968 (add): sets the status of each item by calling getStatus. Adds
2970 (read): add support for OptSubMenu
2971 (expand): remove extra separator at the end of expanded menu
2973 2003-02-15 John Levon <levon@movementarian.org>
2976 * BufferView_pimpl.C:
2978 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2979 inset code that had no actual effect. Remove unneeded status
2982 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2984 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2987 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2989 * text.C (drawLengthMarker): also draw an arrow marker for
2990 symbolic lengths (medskip...)
2992 2003-02-14 John Levon <levon@movementarian.org>
2995 * tabular.C: better method names
2997 2003-02-14 John Levon <levon@movementarian.org>
2999 * BufferView_pimpl.C:
3004 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3005 it's a more accurate name. Remove some pointless uses.
3007 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3009 * text2.C (LyXText): change order of initilizers to shut off
3012 2003-02-14 John Levon <levon@movementarian.org>
3014 * buffer.C: use ParIterator for getParFromID()
3018 * paragraph_pimpl.h:
3019 * paragraph_pimpl.C: remove unused getParFromID()
3021 2003-02-14 John Levon <levon@movementarian.org>
3023 * buffer.C: remove some very old #if 0'd parse code
3025 2003-02-13 John Levon <levon@movementarian.org>
3029 * text2.C: move hfillExpansion(), numberOfSeparators(),
3030 rowLast(), rowLastPrintable(), numberofHfills(),
3031 numberOfLabelHfills() ...
3034 * lyxrow.C: ... to member functions here.
3039 * text.C: remove LyXText::beginningOfMainBody(), and call
3040 p->beginningOfMainBody() directly. Move the check for
3041 LABEL_MANUAL into the latter.
3048 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3054 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3055 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3057 2003-02-13 John Levon <levon@movementarian.org>
3059 * CutAndPaste.C: remove debug
3061 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3063 * paragraph.C (asString): remove two unused variables
3065 * lyxtextclass.C (readTitleType):
3067 (LyXTextClass): handle new members titletype_ and titlename_
3069 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3071 2003-02-09 John Levon <levon@movementarian.org>
3074 * buffer.C: replace hand-coded list with a map for the dep clean
3076 2003-02-08 John Levon <levon@movementarian.org>
3078 * LaTeX.C: consolidate code into showRunMessage() helper
3080 2003-02-08 John Levon <levon@movementarian.org>
3085 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3086 and pass the size in explicitly
3088 * BufferView_pimpl.h:
3089 * BufferView_pimpl.C:
3091 * BufferView.C: add getCurrentChange()
3093 * BufferView_pimpl.h:
3094 * BufferView_pimpl.C: handle change lfuns
3096 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3097 for changes. Mark pasted paragraphs as new.
3099 * support/lyxtime.h:
3100 * support/lyxtime.C:
3101 * DepTable.C: abstract time_t as lyx::time_type
3104 * LColor.C: add colours for new text, deleted text, changebars
3106 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3107 package use "usenames" option.
3111 * LyXAction.C: add change lfuns
3115 * author.C: author handling
3118 * buffer.C: add a per-buffer author list, with first entry as
3119 current author. Handle new .lyx tokens for change tracking. Output
3120 author list to .lyx file. Output dvipost stuff to .tex preamble.
3121 Bump lyx format to 222.
3124 * bufferlist.C: add setCurrentAuthor() to reset current author details
3128 * bufferparams.C: add param for tracking
3130 * bufferview_funcs.C: output change info in minibuffer
3134 * changes.C: add change-tracking structure
3137 * debug.C: add CHANGES debug flag
3140 * lyxfind.C: add code for finding the next change piece
3143 * lyxrc.C: add user_name and user_email
3146 * lyxrow.C: add a metric for the top of the text line
3149 * text.C: implement accept/rejectChange()
3152 * text.C: paint changebars. Paint new/deleted text in the chosen
3153 colours. Strike through deleted text.
3157 * paragraph_pimpl.h:
3158 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3159 in the current change to the insert functions. Rework erase to
3160 mark text as deleted, adding an eraseIntern() and a range-based
3161 erase(). Implement per-paragraph change lookup and
3164 * paragraph_funcs.C: Fixup paste for change tracking.
3166 * tabular.C: mark added row/columns as new.
3168 * text.C: fix rowLast() to never return -1. Don't allow
3169 spellchecking of deleted text. Track transpose changes. Don't
3170 allow paragraph break or merge where appropriate.
3172 * text2.C: leave cursor at end of selection after a cut.
3174 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3176 * text.C (getLengthMarkerHeight):
3177 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3178 visible on screen too.
3180 2003-02-07 John Levon <levon@movementarian.org>
3182 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3184 2003-02-05 Angus Leeming <leeming@lyx.org>
3186 * lyxserver.C (read_ready): revert my patch of 11 September last year
3187 as it sends PC cpu through the roof. Presumably this means that
3188 the lyxserver will no longer run on an Alpha...
3190 2003-01-30 Angus Leeming <leeming@lyx.org>
3192 * factory.C (createInset): create an InsetCommandParam of type "index"
3193 and use it to 'do the right thing'.
3195 * text2.C (getStringToIndex): ensure that cursor position is always
3196 reset to the reset_cursor position.
3198 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3200 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3203 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3207 * lyxfunc.C: Output messages with identical spelling, punctuation,
3210 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3212 * MenuBackend.C (expandFormats): List only viewable export formats
3215 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3218 * lyxfunc.C (getStatus): Make sure that formats other than
3219 "fax" can also be disabled
3221 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3223 * text3.C (dispatch): put the lfuns that insert insets in 3
3224 groups, and call doInsertInset with appropriate arguments.
3225 (doInsertInset): new function, that creates an inset and inserts
3226 it according to some boolean parameters.
3228 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * buffer.C (readFile): remember to pass on 'par' when calling
3231 readFile recursively.
3233 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3235 * MenuBackend.C (expandFormats): add "..." to import formats.
3237 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3239 * paragraph.C (asString): Remove XForms RTL hacks.
3241 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3242 * buffer.C: fix typo
3244 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3246 * Makefile.am (LIBS): delete var
3247 (lyx_LDADD): add @LIBS@ here instead.
3249 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3251 * Clarify the meaning of "wheel mouse jump"
3253 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3255 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3258 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3260 * importer.C (Loaders): do not preallocate 3 elements in the
3261 vector, since one ends up with 6 elements otherwise
3263 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3265 * DepTable.C (write): write the file name as last element of the
3266 .dep file (because it may contain spaces)
3267 (read): read info in the right order
3269 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3271 * paragraph_pimpl.C (simpleTeXBlanks):
3272 (simpleTeXSpecialChars):
3273 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3275 * tabular.C (latex): add some missing case statements. Reindent.
3277 * MenuBackend.C (expandToc): remove unused variable.
3279 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3288 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3291 2003-01-05 John Levon <levon@movementarian.org>
3294 * BufferView.C: add getEncoding()
3297 * kbsequence.C: do not store last keypress
3300 * lyxfunc.C: store last keypress here instead. Pass encoding
3303 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3305 * lyx_main.C (init): remove annoying error message when following
3306 symbolic links (bug #780)
3308 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3310 * text.C (insertChar):
3311 * lyxrc.C (getDescription): remove extra spaces
3313 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3315 * lyxrc.C (getDescription): remove extra spaces
3317 2002-12-20 John Levon <levon@movementarian.org>
3319 * text3.C: hack fix for page up/down across tall rows
3321 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3323 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3326 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3328 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3329 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3330 thesaurus is not compiled in
3332 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3334 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3336 2002-12-16 Angus Leeming <leeming@lyx.org>
3339 * lyx_main.C (init): remove override_x_deadkeys stuff.
3341 2002-12-12 John Levon <levon@movementarian.org>
3343 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3344 insert. Only remove shift modifier under strict
3347 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3349 * MenuBackend.C (expandToc): fix crash.
3351 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3353 * MenuBackend.C (expandToc): gettext on float names.
3355 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3357 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3358 implement bool empty() [bug 490]
3360 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3362 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3364 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * several files: ws changes
3368 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * text2.C (setCounter): clean up a bit, use boost.format.
3371 (updateCounters): initialize par upon declaration.
3373 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3374 if the layout exists. We do not just store the layout any more.
3375 (SwitchLayoutsBetweenClasses): use boost.format
3377 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3379 * converter.C (convert): if from and to files are the same, use a
3380 temporary files as intermediary
3382 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3385 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3387 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3389 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3391 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * tabular.C (asciiPrintCell): use string(size, char) instead of
3396 * sgml.C (openTag): fix order of arguments to string constructor
3399 * lyxfunc.C (dispatch): use boost.format
3401 * lots of files: change "c" -> 'c'
3403 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3405 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3407 2002-11-25 Angus Leeming <leeming@lyx.org>
3409 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3411 * lyx_main.C (init): compile fix.
3413 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3415 * lyx_cb.C (start): boost.formatify
3416 do not include <iostream>
3418 * lengthcommon.C: ws only
3420 * boost-inst.C,BoostFormat.h: add more explict instantations
3422 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3424 * lots of files: handle USE_BOOST_FORMAT
3426 2002-11-21 John Levon <levon@movementarian.org>
3428 * pspell.C: fix compile
3430 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3432 * lyxfunc.C (dispatch): use boost::format
3436 * lyxfont.C (stateText): use boost::format
3438 * lyx_main.C (LyX): use boost::format
3440 (queryUserLyXDir): ditto
3443 (typedef boost::function): use the recommened syntax.
3445 * importer.C (Import): use boost::format
3447 * debug.C (showLevel): use boost::format
3449 * converter.C (view): use boost::format
3454 * bufferview_funcs.C (currentState): use boost::format
3456 * bufferlist.C (emergencyWrite): use boost::format
3458 * buffer.C (readLyXformat2): use boost::format
3459 (parseSingleLyXformat2Token): ditto
3461 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3463 * LaTeX.C (run): use boost::format
3465 * Chktex.C (scanLogFile): use boost::format
3467 * BufferView_pimpl.C (savePosition): use boost::format
3468 (restorePosition): ditto
3469 (MenuInsertLyXFile): ditto
3471 * BoostFormat.h: help file for explicit instation.
3473 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3475 * tabular.C (latex): Support for block alignment in fixed width
3478 2002-11-17 John Levon <levon@movementarian.org>
3480 * BufferView_pimpl.C:
3482 * lyxfunc.C: split filedialog into open/save
3484 2002-11-08 Juergen Vigna <jug@sad.it>
3486 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3487 by my last patch (hopefully).
3489 2002-11-08 John Levon <levon@movementarian.org>
3498 * toc.C: ParConstIterator, and use it (from Lars)
3500 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3502 * lyxtextclass.[Ch]: revise and add doxygen comments
3504 2002-11-07 John Levon <levon@movementarian.org>
3506 * text.C: fix progress value for spellchecker
3508 * toc.C: fix navigate menu for insetwrap inside minipage
3510 * paragraph_funcs.C: added FIXME for suspect code
3512 2002-11-07 John Levon <levon@movementarian.org>
3514 * BufferView_pimpl.C: fix redrawing of insets
3517 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3519 * text2.C (updateCounters): fix bug 668
3521 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3523 * text3.C (dispatch): Do not make the buffer dirty when moving the
3526 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * vc-backend.C: STRCONV
3531 * text2.C (setCounter): STRCONV
3533 * paragraph.C (asString): STRCONV
3535 * lyxlength.C (asString): STRCONV
3536 (asLatexString): ditto
3538 * lyxgluelength.C (asString): STRCONV
3539 (asLatexString): ditto
3541 * lyxfunc.C (dispatch): STRCONV
3544 * lyxfont.C (stateText): STRCONV
3546 * importer.C (Import): STRCONV
3548 * counters.C (labelItem): STRCONV
3549 (numberLabel): ditto
3550 (numberLabel): remove unused ostringstream o
3555 * bufferview_funcs.C (currentState): STRCONV
3557 * buffer.C (readFile): STRCONV
3558 (asciiParagraph): ditto
3559 (makeLaTeXFile): ditto
3561 * Spacing.C (writeEnvirBegin): STRCONV
3563 * LaTeXFeatures.C (getLanguages): STRCONV
3564 (getPackages): ditto
3566 (getBabelOptions): ditto
3567 (getTClassPreamble): ditto
3568 (getLyXSGMLEntities): ditto
3569 (getIncludedFiles): ditto
3573 (scanAuxFile): ditto
3576 * LString.h: add the STRCONV macros
3578 * BufferView_pimpl.C (savePosition): STRCONV
3579 (restorePosition): ditto
3580 (MenuInsertLyXFile): ditto
3582 * vc-backend.C (scanMaster): change from submatch[...] to
3585 * funcrequest.C: include config.h
3587 * factory.C: include config.h
3589 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3591 * box.C: include config.h
3593 * LaTeX.C (scanAuxFile): change from submatch[...] to
3597 2002-10-25 Angus Leeming <leeming@lyx.org>
3599 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3601 * ispell.[Ch] (setError): new method.
3602 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3603 Use setError() insetead of goto END.
3605 * lyx_cb.C (AutoSave): move out child process into new class
3608 2002-10-30 John Levon <levon@movementarian.org>
3610 * text3.C: make start appendix undoable
3612 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3614 * lyxlength.C (inPixels): Fix returned value.
3616 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3619 2002-10-24 Angus Leeming <leeming@lyx.org>
3621 * lyxgluelength.h: no need to forward declare BufferParams
3622 or BufferView, so don't.
3624 2002-10-21 John Levon <levon@movementarian.org>
3626 * BufferView.C: menuUndo ->undo, redo
3628 * BufferView.h: document, remove dead, make some methods private
3630 * paragraph_funcs.h:
3631 * paragraph_funcs.C:
3632 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3637 * sgml.C: move sgml open/close tag into sgml.C
3639 * bufferview_funcs.h: unused prototype
3642 * lyxfunc.C: remove unused
3645 * text.C: remove unused
3647 2002-10-21 John Levon <levon@movementarian.org>
3651 * BufferView_pimpl.h:
3652 * BufferView_pimpl.C: fix mouse wheel handling based on
3653 patch from Darren Freeman
3655 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3657 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3659 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3661 * lyxlength.C (inPixels): Fix hanfling of negative length.
3662 Fix LyXLength::MU case.
3664 2002-10-16 John Levon <levon@movementarian.org>
3666 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3668 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3670 * converter.C (view): add support for $$i (file name) and $$p
3671 (file path) for the viewer command. If $$i is not specified, then
3672 it is appended to the command (for compatibility with old syntax)
3674 2002-10-14 Juergen Vigna <jug@sad.it>
3676 * undo_funcs.C (textHandleUndo): alter the order in which the
3677 new undopar is added to the LyXText, as we have to set first
3678 the right prev/next and then add it as otherwise the rebuild of
3679 LyXText is not correct. Also reset the cursor to the right paragraph,
3680 with this IMO we could remove the hack in "redoParagraphs()".
3682 2002-10-09 Angus Leeming <leeming@lyx.org>
3684 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3685 to turn off an optimisation if a new inset is to be inserted.
3687 2002-10-11 André Pönitz <poenitz@gmx.net>
3689 * lyxtext.h: make some functions public to allow access
3690 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3692 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3694 * text3.C (dispatch): when changing layout, avoid an infinite loop
3697 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3699 * lyxrc.C (read): treat a viewer or converter command of "none" as
3702 * MenuBackend.C (expandFormats): for an update, also allow the
3703 formats that are not viewable
3705 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3706 script if it is newer than the lyxrc.defaults in user directory
3708 2002-10-07 André Pönitz <poenitz@gmx.net>
3710 * text.C: Vitaly Lipatov's small i18n fix
3712 2002-09-25 Angus Leeming <leeming@lyx.org>
3714 * ispell.h: doxygen fix.
3716 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3718 * buffer.h (readFile): Add a new argument to the method, to allow
3719 reading of old-format templates.
3721 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3723 * toc.C (getTocList): Get TOC from InsetWrap.
3725 2002-09-16 John Levon <levon@movementarian.org>
3727 * lyxfunc.C: check tabular for cut/copy too
3729 2002-09-12 John Levon <levon@movementarian.org>
3734 * factory.C: add header
3736 * paragraph_funcs.h:
3737 * paragraph_funcs.C: cleanup
3739 2002-09-11 John Levon <levon@movementarian.org>
3741 * PrinterParams.h: odd/even default to true
3743 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3745 * PrinterParams.h: update printer parameters for new xforms dialog
3747 2002-09-11 Angus Leeming <leeming@lyx.org>
3749 * lyxserver.C (read_ready): re-write to make it more transparent
3750 and to make it work in coherent fashion under Tru64 Unix.
3752 2002-09-11 André Pönitz <poenitz@gmx.net>
3756 * text3.C: implement LFUN_WORDSEL
3758 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3760 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3761 make floatlist_ a boost::shared_ptr<FloatList>
3763 * lyxtextclass.C: include FloatList.h
3764 (LyXTextClass): initialize floatlist_
3765 (TextClassTags): add TC_NOFLOAT
3766 (Read): match "nofloat" to TC_NOFLOAT and use it.
3767 (readFloat): modify call to floatlist_
3771 * FloatList.[Ch] (FloatList): remove commented out float
3773 (erase): new function
3775 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3777 * MenuBackend.C (expandToc): fix crash when there is no document
3780 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3782 * many files: Add insetwrap.
3784 2002-09-09 John Levon <levon@movementarian.org>
3786 * text2.C: remove confusing and awkward depth wraparound
3788 2002-09-09 John Levon <levon@movementarian.org>
3790 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3793 * buffer.C: remove getIncludeonlyList()
3796 * lyxfunc.C: remove headers
3798 2002-09-09 Juergen Vigna <jug@sad.it>
3800 * text.C (getColumnNearX): fix form Michael this is most
3801 probably a cut&paste bug.
3803 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3805 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3807 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3808 references, ws changes.
3810 * text2.C (init): update counters after init
3811 (insertParagraph): no need to set counter on idividual paragraphs.
3812 (setCounter): access the counters object in the textclass object
3813 on in the buffer object.
3814 (updateCounters): ditto
3816 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3817 shared_ptr<Counters> to avoid loading counters.h in all
3819 (LyXTextClass): initialize ctrs_
3820 (TextClassTags): add TC_COUNTER, and ...
3821 (Read): use it here.
3822 (CounterTags): new tags
3823 (readCounter): new function
3824 (counters): new funtion
3825 (defaultLayoutName): return a const reference
3827 * counters.C (Counters): remove contructor
3828 (newCounter): remove a couple of unneeded statements.
3829 (newCounter): simplify a bit.
3830 (numberLabel): some small formatting changes.
3832 * buffer.[Ch]: remove all traces of counters, move the Counters
3833 object to the LyXTextClass.
3835 2002-09-06 Alain Castera <castera@in2p3.fr>
3837 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3838 package to set the horizontal alignment on fixed width columns.
3841 * lyx_sty.h: added tabularnewline macro def.
3843 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3845 2002-09-06 John Levon <levon@movementarian.org>
3847 * LyXAction.C: tooltips for sub/superscript
3849 * MenuBackend.C: a bit more verbose
3851 * lyxfunc.C: tiny clean
3853 * undo_funcs.C: document undo_frozen
3855 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * counters.C (Counters): add missing algorithm counter.
3859 * text2.C (setCounter): lookup the counter with layouts latexname
3860 instead of by section number.
3861 (setCounter): use a hackish way to lookup the correct enum
3863 a float name->type change
3864 reset enum couners with counter name directly instead of depth value.
3866 * counters.C (Counters): remove the push_backs, change to use the
3867 float type not the float name.
3868 (labelItem): remove unused string, float name->type change
3870 * counters.h: don't include vector, loose the enums and sects vectors
3872 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3874 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3875 (Read): add float->TC_FLOAT to textclassTags
3876 (Read): and handle it in the switch
3877 (readFloat): new function
3879 * FloatList.C (FloatList): comment out the hardcoded float
3882 * lyxlayout.h: ws change.
3884 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3886 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3888 2002-09-03 Angus Leeming <leeming@lyx.org>
3890 * BufferView_pimpl.h: qualified name is not allowed in member
3891 declaration: WorkArea & Pimpl::workarea() const;
3893 * factory.C: added using std::endl directive.
3895 * text3.C: added using std::find and std::vector directives.
3897 2002-08-29 André Pönitz <poenitz@gmx.net>
3900 * text2.C: remove unused member number_of_rows
3903 * BufferView2.C: remove file, move contents to...
3904 * BufferView.C: ... here
3906 * BufferView_pimpl.C:
3907 * factory.C: move more inset creation to factory
3909 * vspace.C: avoid direct usage of LyXText, ws changes
3912 don't provide direct access to WorkArea, use two simple
3913 acessors haveSelction() and workHeight() instead
3916 2002-08-29 John Levon <levon@movementarian.org>
3918 * BufferView_pimpl.C (dispatch): do not continue when
3921 2002-08-28 André Pönitz <poenitz@gmx.net>
3923 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3926 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3928 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3930 * buffer.C: increment LYX_FORMAT to 221
3932 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3933 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3935 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3937 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3939 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3941 * factory.C (createInset): use LyXTextClass::floats
3943 * MenuBackend.C (expandFloatListInsert):
3944 (expandFloatInsert):
3947 * text2.C (setCounter):
3949 * LaTeXFeatures.C (useFloat):
3950 (getFloatDefinitions):
3952 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3954 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3955 floatlist_, with accessor floats().
3957 * FloatList.h: remove global FloatList
3959 2002-08-26 André Pönitz <poenitz@gmx.net>
3961 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3965 * BufferView_pimpl.C:
3966 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3968 2002-08-25 John Levon <levon@movementarian.org>
3970 * LyXAction.C: fix margin note description
3972 2002-08-24 John Levon <levon@movementarian.org>
3976 * bufferview_funcs.C:
3978 * undo_funcs.C: cleanups
3980 * lyxfunc.C: disable CUT/COPY when no selection
3982 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3984 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3985 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3987 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3988 Add backward compatibility to "mono", "gray" and "no".
3990 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3992 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3993 (and file_format >= 200).
3995 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3997 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3999 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4001 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4003 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4005 * BufferView_pimpl.C:
4012 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4013 inset and code to make it work with the paragraph code. The inset
4014 can be anywhere in the paragraph, but will only do the expected
4015 thing in LaTeX if the layout file contains the parameter line
4017 (or more generally, a nonzero value) for that layout.
4019 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4021 * paragraph.h: remove the declaration of undefined counters class
4024 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4026 * text2.C (setCounter): fixed enumeration mis-count as reported by
4027 Dr. Richard Hawkins.
4029 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4031 * paragraph_funcs.h: remove some unneeded includes
4033 * text.C (backspace): pasteParagraph now in global scipe
4035 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4036 (pasteSelection): ditto
4038 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4039 * paragraph_funcs.C (pasteParagraph): ... here
4041 2002-08-20 André Pönitz <poenitz@gmx.net>
4043 * commandtags.h: new LFUNs for swapping/copying table row/colums
4046 * lyxfunc.C: support for new lfuns
4048 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4051 * buffer.[Ch]: remove NO_COMPABILITY stuff
4053 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4055 * boost.C (throw_exception): new file, with helper function for
4056 boost compiled without exceptions.
4061 * ParameterStruct.h:
4062 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4064 * bufferlist.C (emergencyWriteAll): use boost bind
4066 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4068 * text.C: include paragraph_funcs.h
4069 (breakParagraph): breakParagraph is now in global scope
4071 * paragraph_funcs.[Ch]: new files
4073 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4076 * buffer.C: include paragraph_funcs.h
4077 (insertStringAsLines): breakParagraph is now in global scope
4079 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4082 * CutAndPaste.C: include paragraph_funcs.h
4083 (cutSelection): breakParagraphConservative is now in global scope
4084 (pasteSelection): ditto
4086 * buffer.h: declare oprator== and operator!= for
4087 Buffer::inset_iterator
4089 * bufferlist.C (emergencyWrite): don't use fmt(...)
4091 * text3.C: add using std::endl
4093 * BufferView.C (moveCursorUpdate): remove default arg
4095 2002-08-20 André Pönitz <poenitz@gmx.net>
4097 * buffer.[Ch]: move inline functions to .C
4100 * BufferView_pimpl.C:
4102 * buffer.[Ch]: use improved inset_iterator
4105 * paragraph.[Ch]: write one paragraph at a time
4107 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4109 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4110 style if style is not specified.
4112 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4114 * text2.C (setCounter): when searching for right label for a
4115 caption, make sure to recurse to parent insets (so that a caption
4116 in a minipage in a figure float works) (bug #568)
4118 2002-08-20 André Pönitz <poenitz@gmx.net>
4120 * text3.C: new file for LyXText::dispatch() and helpers
4122 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4124 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4126 2002-08-19 André Pönitz <poenitz@gmx.net>
4129 * text.C: new LyXText::dispatch()
4131 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4133 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4135 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4137 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4140 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4142 * Makefile.am: use $(variables) instead of @substitutions@
4144 2002-08-15 André Pönitz <poenitz@gmx.net>
4147 * BufferView_pimpl.C: streamlining mathed <-> outer world
4151 * LyXAction.C: remove unused LFUN_MATH
4153 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4155 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4157 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4159 * paragraph.C (Paragraph): reformat a bit
4160 (cutIntoMinibuffer): use builtin InsetList function instad of
4164 * buffer.C: include boost/bind.hpp, add using std::for_each
4165 (writeFileAscii): use ParagraphList iterators
4166 (validate): use for_each for validate traversal of paragraphs
4167 (getBibkeyList): use ParagraphList iterators
4168 (resizeInsets): use for_each to resizeInsetsLyXText for all
4170 (getParFromID): use ParagraphList iterators
4172 * BufferView2.C (lockInset): use paragraph list and iterators
4174 2002-08-14 John Levon <levon@movementarian.org>
4176 * lyxserver.C: remove spurious xforms include
4178 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4180 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4182 2002-08-13 André Pönitz <poenitz@gmx.net>
4185 * lyxfunc.C: further cleaning
4187 2002-08-13 André Pönitz <poenitz@gmx.net>
4189 * funcrequest.h: new constructor
4191 * funcrequest.C: move stuff here from .h
4194 * BufferView_pimpl.C:
4197 * lyxfunc.C: subsequent changes
4199 * lyxfunc.h: new view() member function
4201 * lyxfunc.C: subsequent changes
4203 2002-08-13 Angus Leeming <leeming@lyx.org>
4206 * BufferView_pimpl.C:
4214 changes due to the changed LyXView interface that now returns references
4215 to member variables not pointers.
4217 2002-08-13 Angus Leeming <leeming@lyx.org>
4219 * WordLangTuple (word, lang_code): return references to strings,
4224 * lyxtext.h: forward-declare WordLangTuple.
4229 * text.C: #include "WordLangTuple.h".
4232 * text.C: (selectNextWordToSpellcheck): constify return type.
4234 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4240 * paragraph_pimpl.h:
4243 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4245 Made updateCounter always count from start of buffer, and removed
4246 second argument (par).
4247 Reverted floats number display to '#'. Perhaps I'll try again when the
4248 code base is sanitized a bit.
4250 2002-08-12 Angus Leeming <leeming@lyx.org>
4252 * buffer.[Ch] (getLabelList): constify.
4254 2002-08-07 André Pönitz <poenitz@gmx.net>
4256 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4258 * funcrequest.h: extension to keep mouse (x,y) position
4260 2002-08-12 Juergen Vigna <jug@sad.it>
4262 * BufferView2.C (insertErrors): forbid undo when inserting error
4265 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4267 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4269 * ParagraphList.[Ch]: new files
4271 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4273 * BufferView2.C (lockInset): ParagraphList changes
4276 * bufferlist.C: ditto
4280 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4282 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4283 unused class variable counter_,
4285 * paragraph.[Ch] (getFirstCounter): delete unused function
4287 * counters.C: include LAssert.h
4288 (reset): add a new function with no arg, change other version to
4289 not have def. arg and to not allow empty arg.
4291 * text2.C (setCounter): remove empty arg from call to Counters::reset
4293 2002-08-11 John Levon <levon@movementarian.org>
4295 * Makefile.am: add WordLangTuple.h
4297 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4299 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4300 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4302 * insets/insettext.C: InsetList changes
4304 * graphics/GraphicsSupport.C (operator()): InsetList changes
4306 * toc.C (getTocList): InsetList changes
4308 * paragraph_pimpl.[Ch]: InsetList changes
4310 * paragraph.[Ch]: InsetList changes
4312 * buffer.C (inset_iterator): InsetList changes
4313 (setParagraph): ditto
4314 * buffer.h (inset_iterator): ditto
4315 * iterators.C (operator++): ditto
4316 * iterators.h: ditto
4318 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4320 * InsetList.[Ch]: new files, most InsetList handling moved out of
4323 * BufferView2.C (removeAutoInsets): InsetList changes
4325 (ChangeInsets): ditto
4327 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * paragraph_pimpl.h (empty): new function
4331 * paragraph.[Ch] (empty): new function
4333 * other files: use the new Paragraph::empty function
4335 2002-08-09 John Levon <levon@movementarian.org>
4337 * lyxtext.h: remove unused refresh_height
4339 2002-08-09 John Levon <levon@movementarian.org>
4346 * paragraph.C: move sgml char escaping out of paragraph
4349 * paragraph.C: remove id setter
4353 * paragraph_pimpl.C: remove dead tex_code_break_column
4355 * bufferview_funcs.C: small cleanup
4357 * lyxfunc.C: remove dead proto
4359 * lyxtext.h: make some stuff private. Remove some dead stuff.
4361 * lyxgluelength.C: make as[LyX]String() readable
4363 2002-08-08 John Levon <levon@movementarian.org>
4368 * ToolbarDefaults.C:
4371 * toc.C: lyxaction cleanup
4373 2002-08-08 John Levon <levon@movementarian.org>
4375 * BufferView2.C: small cleanup
4378 * lyxfind.C: move unnecessary header into the .C
4380 2002-08-08 John Levon <levon@movementarian.org>
4382 * funcrequest.h: just tedious nonsense
4385 * lyx_main.C: cleanups
4388 * vspace.C: remove dead header lyx_main.h
4390 2002-08-07 Angus Leeming <leeming@lyx.org>
4393 * paragraph_pimpl.h:
4394 Forward declare class Counters in paragraph.h by moving the ctrs member
4395 variable into Paragraph::Pimpl.
4396 (counters): new method, returning a reference to pimpl_->ctrs.
4398 * text2.C: ensuing changes.
4400 2002-08-07 John Levon <levon@movementarian.org>
4402 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4404 * BufferView_pimpl.C: announce X selection on double/triple
4407 * lyx_main.C: use correct bool in batch dispatch
4409 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4411 2002-08-07 André Pönitz <poenitz@gmx.net>
4413 * funcrequest.h: new class to wrap a kb_action and its argument
4416 * BufferView_pimpl[Ch]:
4420 * lyxrc.C: subsequent changes
4423 2002-08-07 John Levon <levon@movementarian.org>
4425 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4426 document options change.
4428 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4433 * makefile.am: move counters functionality over from
4434 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4436 2002-08-06 John Levon <levon@movementarian.org>
4438 * WordLangTuple.h: new file for word + language code tuple
4449 * BufferView2.C: use WordLangTuple
4452 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4454 2002-08-06 John Levon <levon@movementarian.org>
4456 * lyx_main.C: fix cmdline batch handling
4458 2002-08-06 André Pönitz <poenitz@gmx.net>
4460 * lyxrc.C: set default for show_banner to true
4462 2002-08-06 John Levon <levon@movementarian.org>
4464 * pspell.C: fix a crash, and allow new aspell to work
4466 2002-08-06 John Levon <levon@movementarian.org>
4469 * kbmap.C: small cleanup
4472 * vspace.C: add const
4474 2002-08-05 John Levon <levon@movementarian.org>
4476 * LyXAction.C: back to tabular-insert
4478 2002-08-04 John Levon <levon@movementarian.org>
4481 * BufferView.C: cosmetic change
4483 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4493 * BufferView2.C: purge all "Lyx" not "LyX" strings
4496 * lyxcursor.C: attempt to add some documentation
4501 * ToolbarDefaults.C:
4502 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4503 merge with LFUN_TABULAR_INSERT
4510 * pspell.C: split up i/pspell implementations into separate
4511 files, many cleanups
4513 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4515 * text2.C: some cleanup
4517 * lyxfunc.C: don't check for isp_command == "none" any more, it
4518 didn't make any sense
4520 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4525 * makefile.am: move counters functionality over
4526 from text2.C/paragraph.[Ch] to counters.[Ch], and
4528 2002-08-02 John Levon <levon@movementarian.org>
4530 * buffer.C: s/lyxconvert/lyx2lyx/
4532 2002-08-02 Angus Leeming <leeming@lyx.org>
4534 * lyxlex.C: revert John's change as it breaks reading of the user
4537 2002-08-02 Angus Leeming <leeming@lyx.org>
4539 * importer.C (Import):
4540 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4541 changes due to LyXView::view() now returning a boost::shared_ptr.
4543 2002-08-02 John Levon <levon@movementarian.org>
4545 * lyxlex.C: small cleanup
4547 2002-08-02 John Levon <levon@movementarian.org>
4549 * text2.C (status): small cleanup, no logic change
4551 2002-08-01 John Levon <levon@movementarian.org>
4554 * buffer.C (writeFile): don't output alerts, caller
4558 * lyx_cb.C: from above
4560 * lyxfunc.C: allow to open non-existent files
4562 2002-07-31 John Levon <levon@movementarian.org>
4564 * lyxserver.C: don't let incidental errors get
4567 2002-07-30 John Levon <levon@movementarian.org>
4569 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4571 2002-07-30 John Levon <levon@movementarian.org>
4574 * lyxserver.C: remove I/O callback too
4576 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4578 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4581 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4583 * many files: strip,frontStrip -> trim,ltrim,rtrim
4585 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4587 * PrinterParams.h: remove extern containsOnly, and include
4588 support/lstrings.h instead.
4590 * LaTeX.C (scanAuxFile): modify because of strip changes
4592 * buffer.C (makeLaTeXFile): ditto
4593 * bufferparams.C (writeFile): ditt
4594 * lyxfont.C (stateText): ditto
4595 * lyxserver.C (read_ready): ditto
4596 * vc-backend.C (scanMaster): ditto
4598 * BufferView_pimpl.h: ws changes
4600 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4602 2002-07-26 André Pönitz <poenitz@gmx.net>
4604 * kb_sequence.C: remove unnedred usings
4606 2002-07-26 Juergen Vigna <jug@sad.it>
4608 * lyxfind.C (LyXReplace): we have to check better if the returned
4609 text is not of theLockingInset()->getLockingInset().
4611 2002-07-25 Juergen Vigna <jug@sad.it>
4613 * lyxfind.C (LyXReplace): don't replace if we don't get the
4616 * undo_funcs.C (createUndo): remove debugging code.
4618 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4620 * buffer.C (parseSingleLyXformat2Token): Use default placement
4621 when reading old floats.
4623 * FloatList.C (FloatList): Change the default placement of figure
4624 and tables to "tbp".
4626 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4628 * MenuBackend.C: using std::max
4630 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4632 * MenuBackend.C (expandToc):
4633 (expandToc2): code moved from xforms menu frontend. It is now
4634 generic and TOCs are transparent to menu frontends.
4636 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4638 * toc.C (getTocList): protect against buf=0
4640 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4641 Menu as first parameter. Now, this calls itself recursively to
4642 expand a whole tree (this will be useful for TOC handling)
4643 (expandFloatInsert): remove 'wide' version of floats
4645 * MenuBackend.h (submenuname): returns the name of the submenu.
4646 (submenu): returns the submenu itself, provided it has been
4647 created by MenuBackend::expand
4649 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4651 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4652 insets which have noFontChange == true. (bug #172)
4654 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4656 * BufferView_pimpl.C: add connection objects and use them...
4659 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4661 * MenuBackend.C (expandLastfiles):
4664 (expandFloatListInsert):
4665 (expandFloatInsert):
4666 (expand): split expand in parts
4668 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4670 * lyx_gui.C: use lyx_gui::exit()
4672 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4674 * LyXAction.C: show the failing pseudo action
4676 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4678 * buffer.C (readFile): Run the lyxconvert script in order to read
4681 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4685 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4687 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4691 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4693 2002-07-22 Herbert Voss <voss@lyx.org>
4696 * lyxlength.[Ch]: add support for the vertical lengths
4698 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4700 * toc.[Ch]: std:: fixes
4702 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4704 * lyxrc.C: do not include lyx_main.h
4706 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4712 * BufferView2.C: include "lyxlex.h"
4715 * bufferparams.h: do not #include "lyxlex.h"
4717 * lyxtextclasslist.C (Add): remove method
4718 (classlist): renamed to classlist_
4720 * paragraph_pimpl.C:
4724 * bufferview_funcs.C:
4729 * toc.C (getTocList): use BufferParams::getLyXTextClass
4731 * toc.C (getTocList): use InsetFloat::addToToc
4733 * toc.[Ch]: new files, containing helper functions to handle table
4736 * lyxfunc.C (dispatch): no need to remove spaces around command
4738 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4739 first command of the sequence; it is not very clever, but I do not
4740 have a better idea, actually
4742 * LyXAction.C (LookupFunc): make sure to remove space at the
4743 beginning and end of the command
4745 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4747 * MenuBackend.C (getMenubar): new method: return the menubar of
4749 (read): treat differently reading of menu and menubar (in
4750 particular, the menubar has no name now)
4751 (Menu::menubar): remove
4753 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4756 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4758 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4759 a bibitem inset in a RTL paragraph.
4761 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4763 * paragraph_pimpl.C: constify
4765 * BufferView_pimpl.C:
4767 * lyxfunc.C: fix dispatch in a nicer way
4769 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4771 * lyxfunc.C (dispatch):
4772 * BufferView_pimpl.C:
4773 * BufferView_pimpl.h:
4775 * BufferView.h: rename Dispatch() to dispatch()
4777 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4779 * lyxlayout.C (Read): honor DependsOn tag
4781 * lyxlayout.[Ch] (depends_on): new method
4783 * version.C.in: update lyx_docversion
4785 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4787 * paragraph.C (validate): remove from here...
4788 * paragraph_pimpl.C (validate): ... and move here
4789 (isTextAt): make it const
4791 * buffer.C (getLists): ws cleanup
4793 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4795 * language.C (read): Use iso8859-1 encoding in latex_lang
4796 (this prevents LyX from crashing when using iso10646-1 encoding).
4798 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4800 * text2.C (toggleInset): if cursor is inside an inset, close the
4801 inset and leave cursor _after_ it
4803 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4805 * lyxfunc.C: move minibuffer completion handling out of here
4807 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4809 * BufferView_pimpl.C:
4810 * LaTeX.C: fix dispatch calls
4812 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4814 * text.C (drawChars): Fix Arabic text rendering.
4816 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4820 * lyxfunc.C: remove message-push/pop
4824 * lyxfunc.C: rationalise some code by removing verboseDispatch
4825 in favour of a bool argument to dispatch()
4827 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4829 * lyx_main.C (init): make sure to read symlinks as absolute paths
4831 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4834 * lyxfunc.C: no need for commandshortcut to be a member
4836 2002-07-15 André Pönitz <poenitz@gmx.net>
4838 * converter.C: add support for $$s (scripts from lib/scripts dir)
4839 * lyx_main.C: white space
4841 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4845 * lyxrc.C: remove second exit confirmation
4847 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4852 * BufferView_pimpl.h:
4853 * BufferView_pimpl.C:
4854 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4856 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4858 * MenuBackend.C (expand): add numeric shortcuts to document menu
4860 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4862 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4864 * lyxfont.C (setLyXFamily):
4871 * buffer.C (asciiParagraph): use ascii_lowercase
4873 2002-07-15 Mike Fabian <mfabian@suse.de>
4875 * lyxlex_pimpl.C (search_kw):
4876 * lyxlex.C (getLongString):
4877 * converter.h (operator<):
4878 * converter.C (operator<):
4879 * buffer.C (parseSingleLyXformat2Token):
4881 * ToolbarDefaults.C (read):
4882 * MenuBackend.C (checkShortcuts):
4884 * LColor.C (getFromGUIName):
4885 (getFromLyXName): use the compare_ascii_no_case instead of
4886 compare_no_case, because in turkish, 'i' is not the lowercase
4887 version of 'I', and thus turkish locale breaks parsing of tags.
4889 2002-07-16 Angus Leeming <leeming@lyx.org>
4891 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4892 now takes a Buffer const & argument.
4894 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4896 * BufferView.C (resize): check there's a buffer to resize
4898 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4900 * lyxfunc.C: remove dead code
4903 * lyxserver.C: use lyx_guii::set_read_callback
4905 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4907 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4908 an inset in a RTL paragraph.
4910 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4912 * lyxfunc.C: repaint after a font size update
4914 2002-07-15 André Pönitz <poenitz@gmx.net>
4916 * lyxlength.C: inBP should be able to return negative values
4918 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4920 * lyxfunc.C: use lyx_gui::update_fonts()
4922 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4924 * lyxfunc.C: use lyx_gui::update_color()
4926 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4932 * lyxrc.C: remove file->new asks for name option, and let
4933 buffer-new take an argument
4935 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4937 * BufferView_pimpl.C: remove unneeded extra repaint()
4939 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4941 * LyXAction.C: allow command-sequence with NoBuffer
4943 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4945 2002-07-10 Angus Leeming <leeming@lyx.org>
4947 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4949 2002-07-09 Angus Leeming <leeming@lyx.org>
4951 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4953 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4955 * lengthcommon.h: whitespace
4957 * lyxfunc.C: update scrollbar after goto paragraph
4959 * lyxtext.h: factor out page break drawing, and fix it so
4960 page break/added space paints as selected nicely
4962 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4964 * BufferView_pimpl.C: add FIXMEs, clean up a little
4966 2002-07-09 André Pönitz <poenitz@gmx.net>
4968 * lyxfont.[Ch]: support for wasy symbols
4970 2002-07-08 André Pönitz <poenitz@gmx.net>
4972 * BufferView_pimpl.C: apply John's patch for #93.
4974 2002-07-05 Angus Leeming <leeming@lyx.org>
4976 * BufferView_pimpl.C (buffer): generate previews if desired.
4978 * LColor.h: add "preview" to the color enum.
4980 * LColor.C (LColor): add a corresponding entry to the items array.
4982 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4985 2002-07-05 Angus Leeming <leeming@lyx.org>
4987 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4988 The body of the code is now in the method that is passed an ostream &
4989 rather than a file name.
4990 Pass an additional only_preamble parameter, useful for the forthcoming
4993 2002-07-03 André Pönitz <poenitz@gmx.net>
4995 * lyxfunc.C: simplify getStatus() a bit for math stuff
4997 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4999 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5001 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5003 * text.C (changeRegionCase): do not change case of all the
5004 document when region ends at paragraph end (bug #461)
5006 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5008 * paragraph.C (startTeXParParams):
5009 (endTeXParParams): add \protect when necessary
5011 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5013 * BufferView_pimpl.C (workAreaExpose): remove warning
5015 2002-06-27 Angus Leeming <leeming@lyx.org>
5017 * Makefile.am: add lyxlayout_ptr_fwd.h.
5019 2002-06-26 André Pönitz <poenitz@gmx.net>
5021 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5023 2002-06-25 Angus Leeming <leeming@lyx.org>
5025 * lyxfunc.C (dispatch): Comment out the call to
5026 grfx::GCache::changeDisplay. The method no longer exists now that the
5027 pixmap generation part of the graphics loader has been moved into
5030 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5032 * text2.C: layout as layout
5034 * text.C: layout as layout
5036 * tabular.C (OldFormatRead): layout as layout
5038 * paragraph_pimpl.C (TeXDeeper): layout as layout
5039 (realizeFont): layout as layout
5041 * paragraph.C (writeFile): layout as layout
5042 (validate): layout as layout
5043 (getFont): layout as layout
5044 (getLabelFont): layout as layout
5045 (getLayoutFont): layout as layout
5046 (breakParagraph): layout as layout
5047 (stripLeadingSpaces): layout as layout
5048 (getEndLabel): layout as layout
5049 (getMaxDepthAfter): layout as layout
5050 (applyLayout): layout as layout
5051 (TeXOnePar): layout as layout
5052 (simpleTeXOnePar): layout as layout
5053 (TeXEnvironment): layout as layout
5054 (layout): layout as layout
5055 (layout): layout as layout
5057 * lyxtextclass.C (compare_name): new functor to work with
5058 shared_ptr, layout as layout
5059 (Read): layout as layout
5060 (hasLayout): layout as layout
5061 (operator): layout as layout
5062 (delete_layout): layout as layout
5063 (defaultLayout): layout as layout
5065 * lyxlayout_ptr_fwd.h: new file
5067 * lyxlayout.C (Read): layout as layout
5069 * lyx_cb.C (MenuInsertLabel): layout as layout
5071 * bufferlist.C (newFile): layout as layout
5073 * buffer.C (readLyXformat2): layout as layout
5074 (parseSingleLyXformat2Token): layout as layout
5075 (insertStringAsLines): layout as layout
5076 (asciiParagraph): layout as layout
5077 (latexParagraphs): layout as layout
5078 (makeLinuxDocFile): layout as layout
5079 (simpleLinuxDocOnePar): layout as layout
5080 (makeDocBookFile): layout as layout
5081 (simpleDocBookOnePar): layout as layout
5082 (getLists): layout as layout
5084 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5086 * CutAndPaste.C (cutSelection): layout as layout
5087 (pasteSelection): layout as layout
5088 (SwitchLayoutsBetweenClasses): layout as layout
5090 * BufferView_pimpl.C (Dispatch): layout as layout
5091 (smartQuote): layout as layout
5093 * BufferView2.C (unlockInset): layout as layout
5095 2002-06-24 André Pönitz <poenitz@gmx.net>
5097 * lyxfunc.C: fix #487
5099 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5103 * lyxfunc.C: remove display_shortcuts, show_banner
5105 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5107 * Buffer_pimpl.C: oops, update on resize
5109 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5116 * BufferView.C: use repaint()
5118 * BufferView_pimpl.h:
5119 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5120 as it's a clearer description. Remove superfluous
5123 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5125 * text.C: fix bug 488. Not ideal, but getting
5126 getWord() to work properly for the insets that
5127 matter is more difficult ...
5129 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5131 * BufferView_pimpl.C:
5134 * lyxfunc.C: remove the six million index lyxfuncs to just
5135 one, and DTRT (bug 458)
5137 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5141 * BufferView_pimpl.h:
5142 * BufferView_pimpl.C: clean up resize() stuff,
5143 and unnecessary updateScreen()s
5145 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5149 * BufferView_pimpl.h:
5150 * BufferView_pimpl.C:
5153 * minibuffer.C: remove focus management of workarea,
5154 not needed. Use screen's greyOut()
5156 2002-06-17 Herbert Voss <voss@lyx.org>
5158 * converter.C: (convert) do not post a message, when converting
5159 fails, let the calling function decide what to do in this case
5161 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5163 * lyxfunc.C: tidy up a little
5165 2002-06-16 <alstrup@diku.dk>
5167 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5168 Got rid of FORMS_H_LOCATION include. Now we are
5171 2002-06-15 LyX Development team <lyx@rilke>
5173 * buffer.[Ch] (sgmlOpenTag):
5174 (sgmlCloseTag): Added support for avoiding pernicious mixed
5175 content. Return number of lines written.
5178 (makeDocBookFile): Fixed calls to sgml*Tag.
5179 Simple white space clean.
5181 (simpleDocBookOnePar): Simple white space clean.
5183 * tabular.[Ch] (docBook): Renamed to docbook and got another
5184 argument to related with the pernicious mixed content.
5186 (docbookRow): Fixed calls for docbook inset method.
5188 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5190 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5191 so it's X11 independent.
5195 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5197 2002-06-15 Lyx Development team <lyx@electronia>
5199 * intl.h: Renamed getTrans to getTransManager.
5201 2002-06-14 Angus Leeming <leeming@lyx.org>
5203 * Makefile.am: nuke forgotten stl_string_fwd.h.
5205 2002-06-12 Angus Leeming <leeming@lyx.org>
5207 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5209 2002-06-13 Angus Leeming <leeming@lyx.org>
5212 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5214 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5216 * kbmap.C (getiso): add support for cyrillic and greek
5218 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5222 * BufferView_pimpl.h:
5223 * BufferView_pimpl.C: move bogus scrolling logic
5226 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5229 * BufferView_pimpl.C: view->resize() change
5231 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5233 * BufferView_pimpl.C: topCursorVisible
5236 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5240 * lyx_gui.C: move to frontends/
5244 * lyx_main.C: changes from above
5246 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5253 * lyx_main.C: minor tidy
5255 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5257 * BufferView_pimpl.h:
5258 * BufferView_pimpl.C:
5260 * BufferView.C: make painter() const,
5263 * BufferView2.C: use screen() accessor
5266 * lyx_main.C: some minor cleanup
5268 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5270 * BufferView_pimpl.h:
5271 * BufferView_pimpl.C: remove enter/leaveView,
5274 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5279 * BufferView_pimpl.h:
5280 * BufferView_pimpl.C: only construct screen once,
5283 * lyxrc.C: remove pointless comment
5285 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5288 * BufferView.C: remove active() and belowMouse()
5290 * BufferView_pimpl.h:
5291 * BufferView_pimpl.C: use workarea() not workarea_,
5292 and make it use a scoped_ptr instead
5294 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5296 * lyx_gui.C: add debug message on BadWindow
5298 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5300 * sp_spell.C: fdopen is not part of the C++ standard.
5302 * paragraph.C (InsetIterator): use >= instead of ==
5304 2002-06-07 Angus Leeming <leeming@lyx.org>
5306 Fixes needed to compile with Compaq cxx 6.5.
5307 * BufferView_pimpl.C:
5314 * lyxtextclasslist.C:
5319 all c-library variables have been moved into namespace std. Wrap
5320 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5325 Add a using std::abs declaration.
5327 * kbmap.h (modifier_pair):
5328 * paragraph.h (InsetTable, InsetList):
5329 * lyxfont.h (FontBits):
5330 type definition made public.
5332 * bufferlist.C (emergencyWriteAll): the compiler complains that
5333 there is more than one possible lyx::class_fun template to choose from.
5334 I re-named the void specialisation as lyx::void_class_fun.
5336 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5338 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5339 the compiler is is unable to find tostr in write_attribute.
5341 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5343 * buffer.C (sgmlError): hide #warning
5345 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5347 * xtl/*: get rid of xtl, which is not in use anyway
5349 * LyXAction.C (init):
5350 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5351 were unimplemented xtl experimentation
5353 2002-06-04 André Pönitz <poenitz@gmx.net>
5355 * lyxfunc.C: disable array operation on simple formulae
5357 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5359 * converter.C: constify a bit
5361 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5363 * lyx_gui.C: check xforms version correctly
5365 2002-04-30 Herbert Voss <voss@lyx.org>
5367 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5370 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5372 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5373 attempt to register it with a VCS)
5375 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5377 * lyx_main.C (init): honor variables LYX_DIR_13x and
5380 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5384 * lyx_main.C: fix a crash on bad command line,
5385 and give a useful exit status on error
5387 * lyxfunc.C (doImport): allow -i lyx to work
5389 2002-03-30 André Pönitz <poenitz@gmx.net>
5391 * lyxfunc.C: mathed font changes
5393 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5408 * trans_mgr.h: srcdocs, and some minor cleanups
5410 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5412 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5413 call getFont all the time)
5415 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5417 * switch from SigC signals to boost::signals
5419 2002-05-29 André Pönitz <poenitz@gmx.net>
5421 * paragraph_pimpl.C (getChar): don't call size() too often...
5423 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5425 * paragraph_pimpl.C (insertChar): do not try to update tables when
5426 appending (pos == size())
5428 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5429 in order to reduce drastically the number of comparisons needed to
5430 parse a large document
5432 2002-05-29 André Pönitz <poenitz@gmx.net>
5438 * textclasslist.[Ch]:
5439 * sp_ispell.h: whitespace change
5441 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5443 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5444 lyxaction directly now.
5446 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5450 * lyxvc.C: remove unused headers
5452 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5459 * undo_funcs.C: some cleanups. Use shared_ptr
5460 and a template for the undo stacks.
5462 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5464 * BufferView_pimpl.h:
5465 * BufferView_pimpl.C:
5472 * text2.C: use key_state/mouse_state
5474 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5476 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5479 * chset.C: change include order
5480 (loadFile): use boost regex and get rid of LRegex and LSubstring
5482 * Makefile.am (BOOST_LIBS): new variable
5485 * LaTeX.C: change include order.
5486 (scanAuxFile): use boost regex and get rid of LRegex and
5490 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5495 * FontInfo.C: moved to frontends/xforms/
5498 * FontLoader.C: moved into frontends for GUIIzation
5503 * lyxfunc.C: changes from above
5505 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5507 * LColor.C: remove spurious X include
5509 * BufferView_pimpl.C:
5514 * text2.C: move font metrics to frontends/
5516 2002-05-24 Juergen Vigna <jug@sad.it>
5518 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5519 setting the undo_cursor.
5521 * ParagraphParameters.h: include local includes first.
5523 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5525 * BufferView_pimpl.C:
5526 * BufferView_pimpl.h:
5530 * screen.C: move WorkArea into frontends/
5536 * BufferView2.C: move LyXScreen into frontends/
5540 * lyx_gui.C: move lyxlookup into frontends/xforms/
5542 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5545 * BufferView_pimpl.C:
5555 * bufferview_funcs.C:
5568 * vc-backend.C: move LyX/XFormsView into frontends/
5570 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5582 * text2.C: move Painter to frontends/
5584 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5586 * buffer.C: comment out some some code that depend upon lyx_format
5589 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5590 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5592 * buffer.h (NO_COMPABILITY): turn off compability
5594 * ColorHandler.C: include scoped_array.hpp
5596 * font.C: Use more specific smart_ptr header.
5599 * ShareContainer.h: ditto
5603 * BufferView_pimpl.h: ditto
5604 * ColorHandler.h: ditto
5606 * kbmap.C (defkey): change call to shared_ptr::reset
5608 2002-05-21 Juergen Vigna <jug@sad.it>
5610 * buffer.C (insertErtContents): fix to insert ert asis if it is
5611 non empty. Skip it completely if it contains only whitespaces.
5613 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5615 * BufferView_pimpl.C:
5616 * BufferView2.C: clear selection on paste (bug 393)
5618 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5620 * DepTable.C: include ctime
5622 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5624 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5626 2002-05-14 Juergen Vigna <jug@sad.it>
5628 * text.C (breakParagraph): fixed function to honor the keepempty
5629 layout in the right maner and also to permit the right breaking
5630 algorithm on empty or non empyt keepempty paragraphs.
5632 * paragraph.C (breakParagraph): we have to check also if the par
5633 is really empty (!size()) for isempty otherwise we do the wrong
5636 2002-05-10 Juergen Vigna <jug@sad.it>
5638 * buffer.[Ch] : The following are only changes to the ert
5639 compatibility read reading old LaTeX layout and font stuff and
5640 convert it to ERTInsets.
5642 * buffer.h: added isErtInset().
5644 * buffer.C (struct ErtComp): add a fromlayout bool to check
5645 if we're inside a LaTeX layout.
5646 (isErtInset): new helper function.
5647 (insertErtContents): look for other ert insets before this one
5648 and insert the contents there, so that we don't have subsequent
5649 ERT insets with nothing between them. This way we create only one
5650 inset with multiple paragraphs. Also check if we don't insert only
5651 spaces ' ' as they are ignored anyway afterwards in the .tex file
5652 so if we have only spaces we will ignore this latex part in the
5654 (parseSingleLyXformat2Token \\layout): better compatibility when
5655 reading layout-latex stuff.
5656 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5658 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5659 stuff after reading the inset only get the information back from
5662 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5664 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5666 * LaTeXFeatures.C (getBabelOptions): New method.
5668 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5670 * BufferView_pimpl.C (Dispatch): work around missing argument for
5673 2002-05-08 Juergen Vigna <jug@sad.it>
5675 * text.C (leftMargin): handle paragraph leftindent.
5677 * paragraph.C (writeFile): write the new \\leftindent tag.
5678 (validate): handle leftindent code.
5679 (TeXEnvironment): handle paragraphleftindent code again.
5681 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5683 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5684 for paragrap_extra indent code and new token \\leftindent.
5685 (latexParagraphs): handle the leftindent as environment.
5687 * ParameterStruct.h: added leftindent support.
5689 * ParagraphParameters.C (leftIndent): added support functions for
5690 the paragraph left indent.
5692 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5695 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5697 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5700 * text.C (computeBidiTables): No bidi in insetERT.
5702 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5705 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5707 * version.C.in: pre 5
5709 2002-05-02 José Matos <jamatos@fep.up.pt>
5710 * buffer.C (makeDocBookFile): white space changes, add newline to
5712 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5714 * tabular.C (docBook): fix typo.
5716 2002-05-03 Juergen Vigna <jug@sad.it>
5718 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5719 change in LyXText as we can not be sure it was not freed.
5720 (drawOneRow): remove unused code.
5722 * text.C (drawInset): redo the calculation of the need_break_row as
5723 it could have a row which was already freed.
5724 (draw): look at the return value of drawInset and return false if
5725 it also returned false.
5726 (paintRowText): look at the return value of draw and return false if
5727 it also returned false.
5729 * lyxtext.h: added bool return type to drawInset() and draw() so that
5730 if we have a change in the row so that the rowbreak has to be redone
5731 we abort drawing as it will be called again.
5733 2002-05-02 Juergen Vigna <jug@sad.it>
5735 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5736 a change in the maintext also if we're inside an inset.
5737 (Dispatch): set the cursor again after a break line and after the
5738 screen has been updated as it could be we're in a different row.
5740 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5741 to set the cursor behind the pargraph with > size().
5742 (setCursor): check also for the same paragraph when checking where
5743 to put the cursor if we have a NFR inset.
5745 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5746 parts of layout read further up as it still was in the wrong
5749 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5751 * screen.C (drawFromTo): change sine fullRebreak always return
5754 * buffer.C (parseSingleLyXformat2Token): reindent some
5756 * BufferView_pimpl.C (update): change since fullRebreak always
5758 (Dispatch): git rid of the last hardcoded "Standard"s.
5760 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5762 * text2.[Ch] (fullRebreak): make it return void now that we always
5765 2002-04-30 Juergen Vigna <jug@sad.it>
5767 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5768 ert compatibility check for "latex" layout.
5770 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5772 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5773 minipages: use col% instead of p%, and also use the current font.
5774 (makeLaTeXFile): Fix use babel condition.
5775 (parseSingleLyXformat2Token): Correct font when reading old floats.
5777 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5779 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5780 inserting list of floats.
5782 2002-04-25 Herbert Voss <voss@lyx.org>
5784 * MenuBackend.C (expand): don't add the graphics extensions to the
5787 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5789 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5790 non-existing layout, do not complain if it was the default layout
5791 of the original class (bug #342)
5793 2002-04-24 Juergen Vigna <jug@sad.it>
5795 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5796 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5798 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5800 * buffer.C (getBibkeyList): If using \bibliography, return the
5801 option field with the reference itself. Enables us to provide natbib
5802 support when using \bibliography.
5804 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5806 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5808 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5809 natbib is provided by the LaTeX class.
5811 2002-04-23 Juergen Vigna <jug@sad.it>
5813 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5816 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5818 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5820 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5822 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5823 ensuremath around textordmasculine, textordfeminine and
5826 2002-04-19 Juergen Vigna <jug@sad.it>
5828 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5829 reinitializing the buffer otherwise row-dimensions may be wrong.
5830 (update): reset also the selection cursors if they do exits otherwise
5831 their x/y positions may be wrong.
5833 * text2.C (cursorDown): don't enter the inset if we came from a row
5834 above and are one row over the inset.
5836 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5837 really leaving an inset.
5839 2002-04-18 Juergen Vigna <jug@sad.it>
5841 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5842 of the selected paragraph does not have the selected layout also if
5845 * text2.C (setLayout): fixed bug which did not change last selected
5848 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5849 changed the read and substituted \\end_float with \\end_inset!
5851 * BufferView_pimpl.C (cursorPrevious):
5852 (cursorNext): fixed to make it work with rows heigher than the work
5853 area without moving the cursor only the draw of the row.
5854 (workAreaMotionNotify): fix jumping over high rows.
5856 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5858 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5861 2002-04-16 Juergen Vigna <jug@sad.it>
5863 * text2.C (setCursor): set also the irow().
5864 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5866 (cursorDown): support for locking an inset if the x_fix value goes
5867 inside it. That way I can transverse insets too with cursor up/down.
5869 * lyxrow.h: added irow helper function same as other (i) functions.
5871 * BufferView_pimpl.C (cursorPrevious):
5872 (cursorNext): fixed for insets!
5874 2002-04-15 Juergen Vigna <jug@sad.it>
5876 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5877 position otherwise it is wrong in some cases.
5879 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5880 inside the inset before the call.
5882 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5884 * buffer.[Ch] (getBibkeyList): make it const.
5886 2002-04-12 Juergen Vigna <jug@sad.it>
5888 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5890 * text2.C (getCursorX): new helper function
5891 (setCursor): compute also ix_
5892 (setCursorFromCoordinates): set also ix.
5894 * lyxcursor.h: added ix_ and helper functions.
5896 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5898 * buffer.C (insertStringAsLines): dont break paragraph if the this
5899 paragraph is inside an inset which does not permit it!
5901 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5902 also with no chars on this paragraph.
5903 (paintRowText): only paint stuff if it's inside the workarea!
5905 * paragraph.C (breakParagraph): honor keepempty flag and break the
5906 paragraph always below not above.
5908 * BufferView2.C (unlockInset): update the paragraph layout on inset
5909 unlock as we changed paragraph in such a case.
5911 * lyxfind.C (LyXFind): clear the former selection if not found!
5913 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5914 again called in insertChar().
5916 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5917 an inset which uses the whole row!
5918 (rightMargin): ditto.
5919 (insertChar): force a rebreak if we inserted an inset!
5921 2002-03-28 Herbert Voss <voss@lyx.org>
5923 * lyxlength.[Ch]: add inBP() to get the right PS-point
5924 units (BigPoint). With inPixels we have rounding errors
5926 2002-04-11 Juergen Vigna <jug@sad.it>
5928 * text2.C (setCursorFromCoordinates): set iy to the right value.
5929 (setCursor): add check if row->previous exists!
5931 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5932 an old float_type as this was the case in the old code!
5934 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5936 * BufferView2.C (showLockedInsetCursor): use iy
5937 (fitLockedInsetCursor): ditto
5939 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5940 locked insets as there we have the right value now.
5942 * lyxcursor.C: added iy_ variable and iy functions to set to the
5943 baseline of cursor-y of the locked inset.
5945 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5946 (setCursor): fixed for insets which need a full row.
5948 * text.C (rowLastPrintable): don't ignore the last space when before
5949 an inset which needs a full row.
5950 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5951 as last character of a row when before a inset which needs a full row.
5953 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5955 * version.C.in: update date
5957 * text2.C (fullRebreak): try to always return true and see what
5960 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5962 * MenuBackend.C (expand): use Floating::listName
5964 * FloatList.C (FloatList): add listName argument to the built-in
5967 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5968 text associated with the float.
5970 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5972 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5974 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5976 * ShareContainer.h: add a couple of missing typenames.
5978 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5980 * lyxrc.C (getDescription): use _() correctly rather than N_().
5982 2002-03-28 Herbert Voss <voss@lyx.org>
5984 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5985 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5987 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5989 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5990 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5992 2002-03-29 Juergen Vigna <jug@sad.it>
5994 * lyxfunc.C (dispatch): add a missing fitCursor call.
5996 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5997 it was scrolled by a cursor move, so return the bool status.
5999 * BufferView.C (fitCursor): return the bool flag also to the outside
6000 world as this is needed.
6002 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6004 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6005 call the edit() as it is not needed (and wrong) IMO.
6006 (workAreaButtonPress): set the screen_first variable before evt.
6007 unlock the inset as this may change screen_first and then we have
6008 a wrong y position for the click!
6010 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6012 * MenuBackend.C (expand): another translation that I missed
6014 2002-03-28 Juergen Vigna <jug@sad.it>
6016 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6018 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6020 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6022 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6024 * MenuBackend.C (expand): fix export/view/update when there is no
6027 2002-03-27 Herbert Voss <voss@lyx.org>
6029 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6032 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6034 * bufferview_funcs.C (currentState): only show paragraph number
6035 for is DEVEL_VERSION is set.
6037 * lyxfunc.C (dispatch): put warning in INFO channel
6039 * MenuBackend.C (expand): translate the name of floats
6041 * FloatList.C (FloatList): mark the float names for translation
6043 * converter.C (convert): use LibScriptSearch
6045 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6047 * MenuBackend.C (defaults): fix default menu (we might as well get
6050 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6052 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6055 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6057 * lyxvc.C: reorder includes.
6059 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6061 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6064 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6066 * CutAndPaste.C: change layouts earlier on paste
6067 to avoid crashing when calling getFont()
6069 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6071 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6074 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6076 * WorkArea.C: remove 'Pending' debug message.
6078 * most files: ws cleanup
6080 * buffer.[Ch]: ws changes
6082 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6084 2002-03-21 Juergen Vigna <jug@sad.it>
6086 * tabular.C (SetMultiColumn): collapse also the contents of the
6087 cells and set the last border right. Added a Buffer const * param.
6089 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6091 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6094 2002-03-19 Juergen Vigna <jug@sad.it>
6096 * text2.C (clearSelection): reset also xsel_cache.
6098 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6099 where it needs to be called (John tells us to do so too :)
6100 (selectionLost): reset sel_cache.
6102 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6104 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6106 * text2.C (setCursorIntern): put debuging code in INSETS channel
6108 2002-03-19 André Pönitz <poenitz@gmx.net>
6110 * lyxfunc.C: tiny whitespace change
6112 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6114 * ToolbarDefaults.C (init):
6115 * LyXAction.C (init):
6117 * BufferView_pimpl.C (Dispatch):
6118 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6120 2002-03-19 Allan Rae <rae@lyx.org>
6122 * exporter.C (Export): removeAutoInsets before doing anything else.
6123 While I've just introduced a dependency on BufferView this really is
6124 the best place to clean the buffer otherwise you need to cleanup in
6125 a dozen places before calling export or cleanup in a dozen functions
6128 * converter.C (runLaTeX):
6129 (scanLog): Better handling of removeAutoInsets and screen updates.
6131 * lyxfunc.C (dispatch): small whitespace changes
6133 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6135 * WorkArea.C (C_WorkAreaEvent): return a value.
6136 (event_cb): return 1 if we handled the event, 0 otherwise.
6138 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6140 2002-03-18 Juergen Vigna <jug@sad.it>
6142 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6143 (GetAdditionalWidth): ditto.
6147 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6148 inset if we're there actually (probably not used right now but this
6149 is the direction to go for unifying code).
6150 (paste): disable code to clear the selection.
6152 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6153 inside an InsetText and move the check further up as it is in the
6156 * text2.C (pasteSelection): set a selection over the pasted text.
6158 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6160 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6161 and libgraphics to build on Cygwin.
6163 2002-03-15 Juergen Vigna <jug@sad.it>
6165 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6166 inserting an Inset into the paragraph. I know this is not the best
6167 fix but we already use current_view in CutAndPaste so we will remove
6168 all of it's using at the same time.
6170 * buffer.C (sgmlError): deactivated function till it is rewritten in
6171 the right mode, now it can create problems.
6173 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6174 before accessing it.
6176 2002-03-14 Juergen Vigna <jug@sad.it>
6178 * undo_funcs.C (textHandleUndo): do the right thing when updating
6179 the inset after the undo/redo.
6181 * text2.C (setCursor): just some testcode for #44 not ready yet.
6183 * undo_funcs.C (textHandleUndo): set the next() and previous()
6184 pointers of the paragraph to 0 before deleting otherwise we have
6185 problems with the Paragraph::[destructor].
6187 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6188 on a paragraph insertion.
6190 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6192 * buffer.C (asciiParagraph): use += operator for char append to
6195 * paragraph.C (getFontSettings): compare >= not just >
6196 (highestFontInRange): ditto
6199 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6201 * paragraph.C: change several algorithm to be more appripriate for
6202 the problem domain. This is lookip in FontList and in the InsetList.
6204 2002-03-13 André Pönitz <poenitz@gmx.net>
6207 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6209 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6214 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6216 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6218 * Painter.C (display): anon helper function, adjust code for this
6220 (pixmap): remove function.
6222 * Painter.h: remove private display variable.
6224 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6226 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6228 * WorkArea.[Ch]: remove figinset_canvas cruft.
6230 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6232 * lyxtextclass.C (operator): add one item cache optimization.
6234 * bufferlist.h: doxy changes
6236 * bufferlist.C: ws changes
6238 * DepTable.[Ch] (ext_exist): place const in the right spot.
6240 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6242 (workAreaExpose): call resizeInsets when the with BufferView changes.
6243 (Dispatch): adjust for protectedBlank removal
6244 (specialChar): call updateInset if the insert went ok.
6246 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6247 specialChar instead.
6249 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6251 * BufferView.h: doxy change
6253 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6255 * lyxtextclass.C (operator[]): remove non-const version
6256 (defaultLayout): remove non-const version
6258 2002-03-12 Juergen Vigna <jug@sad.it>
6260 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6261 did resize the LyXText too.
6263 * buffer.C (readLyXformat2): set layout information on newly allocated
6266 * tabular.C (OldFormatRead): set layout information on the paragraph.
6268 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6270 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6272 2002-03-11 Juergen Vigna <jug@sad.it>
6274 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6276 (resizeCurrentBuffer): force also the insets to resize themselfes.
6277 (moveCursorUpdate): fixed up for InsetText.
6279 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6282 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6283 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6284 value of Dialogs::tooltipsEnabled().
6285 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6287 2002-03-08 Juergen Vigna <jug@sad.it>
6289 * BufferView_pimpl.C (updateInset): update inset inside inset also
6290 if it isn't inside theLockingInset().
6292 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6294 * buffer.C (asciiParagraph): redo some of the word and line length
6296 (getLists): look for Caption instead of caption.
6298 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6300 * buffer.C (Buffer): initialize niceFile to true
6303 (makeDocBookFile): make sure niceFile is true on exit
6305 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6307 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6309 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6311 * LyXSendto.C: remove.
6312 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6313 * lyx_gui.C: remove now-redundant comment.
6314 * ColorHandler.h: remove forward declaration of class WorkArea.
6315 * lyxfunc.C: remove #include "WorkArea.h".
6317 2002-03-07 Juergen Vigna <jug@sad.it>
6319 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6320 got moved away with the DEPM and also set the inset_owner always
6321 right which before could have been omitted.
6323 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6325 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6326 wanted layout is not found.
6328 2002-03-07 Juergen Vigna <jug@sad.it>
6330 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6332 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6334 * paragraph.C (breakParagraph): use default layout not layout of
6336 (Paragraph): clear ParagraphParameters.
6338 2002-03-06 Juergen Vigna <jug@sad.it>
6340 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6341 otherwise it would not be a valid lenght. Fixed a special case in
6342 the minipage compatibility read where we end the document with a
6345 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6346 was set as it could be 0 for InsetTexts first entry.
6348 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6350 * paragraph.C (writeFile): if layout is empty write out
6351 defaultLayoutName().
6353 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6354 file without named layout we set layout to defaultLayoutName().
6356 2002-03-06 Juergen Vigna <jug@sad.it>
6358 * CutAndPaste.C (copySelection): set layout for new paragraph.
6360 * text.C (prepareToPrint): leave ERT inset left aligned
6361 (leftMargin): don't indent paragraphs inside ERT insets
6363 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6365 * paragraph.C (breakParagraph): dont call clear do the work manually
6367 * paragraph.[Ch] (clear): remove function
6369 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6371 * paragraph.C (Paragraph): dont call clear, the work has already
6374 * lyxtextclass.C (operator): assert if n is empty
6376 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6377 work manually instead.
6379 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6381 * BufferView_pimpl.C: protect selectionLost against text == 0
6383 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6385 * text.C (breakParagraph): fix a setting layout to '0' problem.
6387 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6389 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6390 final location of file, for the included files, and graphics.
6392 2002-03-05 Juergen Vigna <jug@sad.it>
6394 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6396 2002-03-04 Juergen Vigna <jug@sad.it>
6398 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6400 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6401 last column of multicolumn cells.
6402 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6404 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6406 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6407 file if it doesn't go to a temporary file.
6409 * buffer.C (sgmlOpenTag):
6410 (sgmlCloseTag): remove extra newline insertion.
6412 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * text.C (getRowNearY): comment out debug msg
6416 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6418 * text2.C: first -> first_y
6420 * text.C (getRowNearY): add some attemts at a possible
6421 optimization, not working.
6423 * tabular.[Ch]: add BufferParams to several function so that newly
6424 created paragraph can be initialized to he default layotu for the
6427 * tabular-old.C (ReadOld): add buf->params to call of Init
6429 * screen.C: rename text->first to text->first_y
6431 * paragraph.C (breakParagraph): always set layout in the broken
6434 * lyxtextclass.C (Read): remove lowercase
6437 (delete_layout): ditto
6439 * lyxtext.h: rename first -> first_y
6441 * lyxlayout.C (Read): remove lowercase
6444 (obsoleted_by): ditto
6446 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6448 * buffer.C (insertErtContents): add params are to InsetERT
6449 (parseSingleLyXformat2Token): add code to check if a paragraphs
6450 layout really exist.
6451 (parseSingleLyXformat2Token): add params to several inset
6453 (asciiParagraph): remove lowercase, do the layout comparisons with
6456 * BufferView_pimpl.C (cursorNext): first -> first_y
6457 (resizeCurrentBuffer): first -> first_y
6458 (updateScrollbar): first -> first_y
6459 (scrollCB): first -> first_y
6460 (workAreaMotionNotify): first -> first_y
6461 (workAreaButtonPress): first -> first_y
6462 (checkInsetHit): first -> first_y
6463 (cursorPrevious): first -> first_y
6464 (cursorNext): first -> first_y
6465 (Dispatch): add buffer_->params to severl inset contructors
6467 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6469 * lyxlayout.C (Read): remove some debug info that I forgot.
6471 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6472 clean up the code slightly.
6473 (makeLinuxDocFile): ditto
6474 (makeDocBookFile): ditto
6476 * text2.C: layout as string
6478 * text.C: layout as string
6480 * paragraph_pimpl.C: layout as string
6482 * paragraph.[Ch]: layout as string
6484 * lyxtextclasslist.[Ch]: layout as string
6486 * lyxtextclass.[Ch]: layout as string
6488 * lyxtext.h: layout as string
6490 * lyxlayout.[Ch]: layout as string
6492 * lyx_cb.C: layout as string
6494 * bufferview_funcs.C: layout as string
6496 * bufferparams.C: layout as string
6498 * buffer.C: layout as string
6500 * LyXView.[Ch]: layout as string
6502 * LaTeXFeatures.[Ch]: layout as string
6504 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6506 * BufferView_pimpl.C: change current_layout to string, remove
6511 (workAreaButtonRelease): layout as string
6513 * BufferView2.C (unlockInset): adjust
6515 * vspace.C (asLatexCommand): use an explict temp variable.
6517 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6519 * Makefile.am: use FRONTEND_*
6521 2002-03-01 Juergen Vigna <jug@sad.it>
6523 * tabular.C (SetWidthOfMulticolCell): changed to something better
6524 I hope but still work in progress.
6525 (recalculateMulticolumnsOfColumn): renamed function from
6526 recalculateMulticolCells as it is more appropriate now.
6527 (SetWidthOfCell): calculate multicols better.
6529 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6531 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6533 * lyxfunc.C (processKeySym): print sequence also if it is
6534 `deleted' (complete)
6536 * kbsequence.C (print): print sequence even if it is deleted
6537 (complete would be a better word, actually).
6539 * lyxfunc.C (dispatch): print complete options after a prefix key
6541 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6543 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6545 * text2.C (setCharFont): eliminate setCharFont code duplication.
6547 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6549 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6550 LFUN_TABULAR_FEATURE (bug #177)
6552 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6554 * Makefile.am: remove figure.h
6556 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6558 * Bufferview_pimpl.C:
6570 * text2.C: remove #include "lyx_gui_misc.h".
6572 * LaTeX.C: added #include <cstdio>
6574 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6576 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6577 that the paragraph following this one can have.
6579 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6581 * vspace.C (asLatexCommand): fix bogus gcc warning
6583 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6585 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6587 * text2.C (setLayout): get rid of redundant code
6589 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6591 * text2.C (incDepth): make sure depth cannot be increased beyond
6594 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6596 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6597 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6599 * PainterBase.h (image):
6600 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6603 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6607 * BufferView_pimpl.C:
6608 * BufferView_pimpl.h:
6628 * sp_spell.C: remove fig inset, and the crap house of
6629 cards that follows it
6631 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6637 * nt_defines.h: move .h into support/
6639 * vms_defines.h: remove
6641 * WorkArea.C: add space in debug output
6645 * buffer.C: add WITH_WARNINGS
6649 * bufferlist.C: s/retrive/retrieve/, add docs
6660 * lyxgui.C: add ID to X error handler
6662 * lyxtestclass.c: fix typo
6664 2002-02-26 Juergen Vigna <jug@sad.it>
6666 * tabular_funcs.C (write_attribute): changed so that some default
6667 attributes are not written at all.
6668 (getTokenValue): set default values before trying to read the
6669 value so we have the return value always set as default if we don't
6670 find the token we search for.
6672 * tabular.C (Write): write bools as bools not as strings!
6674 2002-02-22 Juergen Vigna <jug@sad.it>
6676 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6677 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6679 * text.C (leftMargin): don't add an indent for paragraphs inside
6680 tabular cells (fix #208).
6682 2002-02-21 José Matos <jamatos@fep.up.pt>
6684 * tabular.C (docBook): fixed support for long tables.
6686 2002-02-20 Juergen Vigna <jug@sad.it>
6688 * text2.C (getFont): get the drawing font of the Inset if this
6689 paragraph is inside an inset (only important for InsetERT for now).
6691 * buffer.C (insertErtContents): use new lanugage params in ERT
6694 * CutAndPaste.C: commenting out seemingly uneeded code.
6696 2002-02-19 Allan Rae <rae@lyx.org>
6698 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6699 Iterators might be simple to use but they also get invalidated.
6700 (removeAutoInsets): renamed saved cursor tracking variables and added
6701 some comments to clarify what everything does.
6703 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6710 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6711 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6714 * vc-backend.h: remove #include "support/syscall.h"
6718 * converter.C: rearrange #includes in Lars' approved fashion.
6720 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6721 forward declare class Timeout in the header file.
6723 * XFormsView.C: changes due to the above.
6725 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6728 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6729 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6731 2002-02-18 José Matos <jamatos@fep.up.pt>
6733 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6736 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6738 * a lot of small ws changes
6739 * add a lot of using std::XXX
6740 * use std construcs some places where approp.
6741 * use some exisint stuff from lyxfunctional where approp.
6742 * Make file changes to use partial linking (lets test this now...)
6744 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6748 remove #include "support/syscontr.h" as it's redundant. Always has been.
6756 change Systemcalls::System to Systemcalls::Wait and
6757 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6758 No change of functionality, just reflects the stripped down Systemcalls
6761 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6763 * debug.[Ch]: add a GRAPHICS type to the enum.
6765 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6767 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6769 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6772 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6774 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6775 match the changes below.
6777 * text2.C (toggleInset): if there is not editable inset at cursor
6778 position, try to see if cursor is _inside_ a collapsable inset
6781 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6783 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6784 document menu has a nice checkbox
6786 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6788 * lyxlength.C (asLatexString): change PW to output as percent of
6791 * lengthcommon.C: change '%' to 't%'
6793 * lyxfunc.C (dispatch): a few comments from Martin
6795 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6799 * BufferView_pimpl.h:
6800 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6803 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6805 * vspace.C (inPixels): fix compiler warning
6807 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6809 * lyxfunc.C (getStatus): fix status message for disabled commands.
6811 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6813 * BufferView_pimpl.C: fix crash on close buffer
6814 during selection (#227)
6816 2002-01-27 Herbert Voss <voss@lyx.org>
6818 * buffer.C: link old Figure to new graphic inset
6820 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6822 * FontLoader.C (getFontinfo): Change the latex font names in order
6823 to match the names of type1inst.
6825 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6827 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6829 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6832 (remove_files_with_extension): ditto
6833 (remove_file): ditto
6836 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6837 document is smaller than the work area height. Do not initialize
6838 static variables to 0.
6840 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6842 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6844 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6845 LFUN_LAYOUT_PARAGRAPHS.
6847 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6848 tabular. It is possible to provide a possible cell, which will
6849 typically be the actcell from the corresponding insettabular
6851 * lyxfunc.C (getStatus): small cleanup; disable
6852 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6855 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6857 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6859 * paragraph.C (startTeXParParams):
6860 (endTeXParParams): new methods. The LaTeX code to
6861 start/end paragraph formatting
6862 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6863 empty (fixes bug #200)
6865 * vspace.C (inPixels): adapt to the change below
6866 (inPixels): [later] more cleanups (remove unused variables)
6868 * lyxlength.C (inPixels): change to use a width and a height as
6871 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6873 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6874 Replaced with \paperwidth
6876 * DepTable.C (insert): add std:: qualifier
6878 2002-01-18 Allan Rae <rae@lyx.org>
6880 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6883 * text.C (drawInset): Turned out I didn't know enough about how
6884 rebreaking worked. This fixes most of the redraw problems. I see
6885 an occasional cursor trail when a line is broken now and the cursor
6886 placement can seem out by a few pixels also after a rebreak.
6888 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6890 * buffer.C (parseSingleLyXformat2Token): update because minipage
6891 width is now a LyXLength
6893 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6895 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6898 2002-01-17 Juergen Vigna <jug@sad.it>
6900 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6902 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6903 is set correctly and the inset is updated correctly.
6905 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6907 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6908 the beginning of the loop.
6910 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6912 * lyxrc.C: improve help for use_scalable_fonts
6914 2002-01-17 Allan Rae <rae@lyx.org>
6916 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6918 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6920 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6921 make sure to set their inset_owner to the right value (bug #171)
6923 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6926 * DepTable.C: Implement mtime checking to reduce time spent doing
6929 2002-01-16 Juergen Vigna <jug@sad.it>
6931 * tabular.C (GetAdditionalHeight): one of error fixed.
6933 * lyxrc.C (output): small fix in writing use_pspell.
6935 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6937 * sp_base.h: #include LString.h
6939 2002-01-16 Allan Rae <rae@lyx.org>
6941 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6942 Can someone check this please?
6944 * text.C (drawInset): It was possible that p.row would be removed by
6945 breakAgainOneRow upsetting a few other settings. There may be another
6946 small tweak possible by setting need_break_row = 0 when p.row has been
6947 removed but I don't know enough about the logic here.
6949 2002-01-15 Allan Rae <rae@lyx.org>
6951 * text.C (insertChar): removed conditional truism.
6953 * BufferView2.C (removeAutoInsets): More tweaks.
6954 cur_par_prev could be a stray pointer. Check for trailing empty line
6955 in case last line was cur_par and only had an error inset on it.
6957 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6959 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6962 * vc-backend.C (most methods):
6963 * exporter.C (Export):
6964 * converter.C (convert):
6966 * LyXSendto.C (SendtoApplyCB):
6967 * lyxfunc.C (dispatch):
6971 * lyx_cb.C (AutoSave):
6973 * BufferView_pimpl.C (MenuInsertLyXFile):
6974 * buffer.C (runChktex): use Buffer::filePath().
6976 * buffer.h: rename filename to filename_; rename filepath to
6977 filepath_ and make it private
6978 (filePath): new method
6980 * buffer.C (writeFile): use fileName()
6983 * lyx_main.C (init): fix starting of LyX when the binary is a
6984 link from so,ewhere else.
6986 * minibuffer.C: include <cctype> for isprint
6988 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6990 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6991 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6992 name clash with InsetCollapsable's width function.
6994 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6996 * lastfiles.C: include <iterator>
6998 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7000 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7003 * buffer.C (makeLaTeXFile): ditto.
7004 Also make loop operation more transparent.
7006 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7008 * ToolbarDefaults.C: remove trailing comma closing namespace.
7010 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7012 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7015 * trans.C (Load): comment out unused variable, allowed.
7017 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7019 * minibuffer.[Ch] (append_char): new method to recieve input from the
7020 drop-down completion browser. If a key was pressed, then recieve this
7021 char and append it to the existing string.
7022 (peek_event): modify the positioning data passed to the completion
7023 browser so that it can be placed above the minibuffer rather than below.
7024 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7026 * LyXAction.C (init): alloe error-next for readonly documents.
7028 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7031 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7033 * bufferlist.C (readFile): create the buffer _after_ checking that
7036 * lyxfunc.C (verboseDispatch): fix handling of arguments
7038 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7040 * lyxrc.C: use string::erase() instead of initializing to "".
7043 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7045 * BufferView_pimpl.h:
7046 * BufferView_pimpl.C:
7049 * text2.C: tell X when we have made a selection for copying
7051 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7053 * BufferView_pimpl.C (MenuInsertLyXFile):
7054 * lyxfunc.C (menuNew):
7056 (doImport): add shortcuts to directory buttons
7058 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7061 * lyxfunc.C (setStatusMessage):
7062 (getStatusMessage): new methods
7063 (getStatus):use setStatusMessage instead of setErrorMessage
7064 (dispatch): when function is disabled, set error message here
7065 [instead of in getStatus previously]
7067 * BufferView_pimpl.C (workAreaButtonRelease): update
7068 toolbar/menubar here too.
7070 2002-01-13 Allan Rae <rae@lyx.org>
7072 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7073 Now seems indestructible. Remaining task is to audit all other
7074 code affected by deleteEmptyParagraphMechanism. One small quirk
7075 left is that an empty document with an error in the preamble can
7076 be made to report an error but no error box appears. I don't know
7078 (removeAutoInsets): Improved comments.
7080 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7083 * Thesaurus.C: update for Aiksaurus 0.14
7085 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7087 * text2.C (firstParagraph): removed member function, all uses
7088 replaces with ownerParagraph
7089 (redoParagraphs): here
7091 (toggleAppendix): here
7092 * BufferView2.C (insertErrors): here
7093 (setCursorFromRow): here
7095 2002-01-13 Allan Rae <rae@lyx.org>
7097 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7098 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7099 There is still a way to segfault this although you may have to do this
7100 multiple times: Have an InsetERT with an unknown command in it.
7101 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7102 <down-arrow>, <Enter> again, View->DVI, BANG!
7104 * text2.C (setCursor):
7105 (deleteEmptyParagraphMechanism):
7106 * lyxtext.h (setCursor):
7107 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7108 Making use of the return value may help fix other bugs.
7110 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7112 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7114 * LyXView.C (updateMenubar): call MenuBar::update here
7115 (updateToolbar): but not here
7116 (showState): do not update toolbar/menubar
7118 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7119 should need to care about that.
7121 * lyxfunc.C (verboseDispatch): simplify a bit
7122 (getStatus): have a version which takes a pseudoaction, and
7123 another which requires a (kb_action,string).
7125 * LyXAction.C (retrieveActionArg): make it work also when action
7126 is not a pseudo-action.
7127 (getActionName): simplify a bit
7130 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7132 * lyxfunc.C (verboseDispatch): new families of methods with
7133 several ways to specify a command and a bool to indicate whether
7134 the command name and shortcut should be displayed in minibuffer
7135 (eventually, we could extend that to a finer bitmask like
7136 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7137 (dispatch): the pristine dispatch command which just, well,
7138 dispatchs! Note it still sets its result to minibuffer; I'm not
7141 * lyxfunc.h: remove setHintMessage
7143 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7145 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7147 * BufferView_pimpl.C (specialChar): delete new inset if we have
7148 not been able to insert it.
7150 * kbmap.C: revert to using int instead of kb_action, since all we
7151 are dealing with is pseudo-actions.
7153 * LyXAction.C (searchActionArg): change to return int instead of
7154 kb_action, since the result is a pseudoaction.
7156 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7158 * buffer.C (insertErtContents): Fix (partially) the font bug.
7160 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7162 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7163 as the other one is broken on my machine!
7165 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7168 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7170 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7172 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7173 reflect their actual use. Provide compatibility code for older lyxrc
7176 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7178 change names of popup font variables in line with the changes to lyxrc.C
7180 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7182 * buffer.C (asciiParagraph): avoid outputing a word twice after
7185 * lyxrc.C (getDescription): document that document_path and
7186 template_path can be empty.
7188 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7190 * LaTeXFeatures.C (getMacros):
7191 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7193 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7195 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7197 (getPackages): rename feature "floats" to "float". Use an array to
7198 iterate over 'simple' features (i.e. just a \usepackage). Add
7199 handling of "amsmath" (renamed from "amsstyle").
7201 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7203 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7206 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7208 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7209 FuncStaus::FuncStatus & FuncStaus::some_method().
7211 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7213 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7214 of the func_satus stuff. Edited and massaged in various ways by
7217 * lyxfunc.C (getStatus): use FuncStatus
7219 2002-01-08 Juergen Vigna <jug@sad.it>
7221 * text.C (nextBreakPoint): use function Inset::isChar().
7223 * paragraph.C (TeXOnePar): use function
7224 Inset::forceDefaultParagraphs.
7226 * buffer.C (latexParagraphs): use function
7227 Inset::forceDefaultParagraphs.
7229 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7231 * lyx_gui.C (init): set the style of the menu popups to
7232 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7234 2002-01-07 Juergen Vigna <jug@sad.it>
7236 * text.C (setHeightOfRow): small fix
7237 (prepareToPrint): don't look at alignment if we don't have the place
7240 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7242 * box.C: New file. Move the Box methods and functions out of box.h,
7243 following Lars' suggestion.
7245 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7247 * box.h: #include "support/LOstream.h", needed for inlined function.
7250 * lyxtextclasslist.C: added some using std declarations.
7252 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7254 * box.h: make signed dimensions to allow insets wider than
7255 the screen (bug #162)
7257 * BufferView_pimpl.C: add some insetHit debug
7259 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7261 * vc-backend.C: add FIXME
7263 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7265 * lyxfunc.C (getStatus): enable code for showing math font status
7268 2002-01-07 Juergen Vigna <jug@sad.it>
7270 * text.C (nextBreakPoint): removed debug output not needed anymore.
7272 2002-01-06 Juergen Vigna <jug@sad.it>
7274 * text.C (nextBreakPoint): fixed up this function we had this bug
7275 since ever but now hopefully we break row better.
7276 (insertChar): we have to check if an inset is the next char as it
7277 could now happen that a large inset is causing a break.
7279 2002-01-05 Juergen Vigna <jug@sad.it>
7281 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7282 if it doesn't like to be drawed.
7284 2002-01-04 Juergen Vigna <jug@sad.it>
7286 * BufferView2.C (lockInset): forgot to set a cursor.
7288 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7290 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7295 * form_maths_panel.C:
7296 * form_maths_panel.h:
7297 * form_maths_panel.fd: implemented sub- and super- buttons in math
7300 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7301 (or ^ space) to be used as in TeX (req'd by André).
7303 * lyxfunc.C: Allow ^ and _ again to be used both as
7304 super/subscript (mathed) and as themselves (in text).
7306 2002-01-03 Allan Rae <rae@lyx.org>
7308 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7309 "LyX" or the filename of the current buffer if it has one. This is a
7310 modified form of John Levon's patch.
7312 * XFormsView.C (setWindowTitle): also set icon title.
7314 * LyXView.h (setWindowTitle): signature changed.
7315 * XFormsView.h (setWindowTitle): ditto.
7317 2002-01-02 Juergen Vigna <jug@sad.it>
7319 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7321 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7323 * screen.C (topCursorVisible): introduce a temp var for
7324 text->cursor.row(), handle the case where this row is null. (kindo
7327 * text2.C (setCursor): add a couple of asserts.
7329 * paragraph.h (inset_iterator): add -> operator
7331 * paragraph.[Ch] (autoDeleteInsets): remove member function
7333 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7334 cursor pos correctly and handle inset deletion by itself.
7335 (insertErrors): move iterator declaration out of for expression
7337 * lyxtextclass.C: add <algorithm>
7339 * Makefile.am: added the new files to sources, removed layout.C
7341 * layout.C: removed file
7343 * layout.h: remove LYX_DUMMY_LAYOUT
7345 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7349 * lyxtextclass.[Ch]:
7350 * lyxtextclasslist.[Ch]: new files
7352 * include order changes to a lot of files, also changes because of
7355 2001-12-27 Juergen Vigna <jug@sad.it>
7357 * buffer.C (asciiParagraph): more fixes.
7359 * tabular.C (ascii): make ascii export support export of only the
7360 data separated by a column-delimiter.
7361 (ascii): better support for ascii export.
7363 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7365 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7367 * tabular_funcs.C: use a "using std::getline" instead of the
7368 previous fix from Angus (necessary for cxx + lyxstring)
7370 2001-12-24 Juergen Vigna <jug@sad.it>
7372 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7374 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7375 problems. First check a minipage also if we have some ert-contents
7376 (not only on par->size(), second set the right depth of the paragraph
7377 on the relink to the root-paragraph-list!
7379 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7380 which then did not anymore update the main paragraphs on undo/redo!
7382 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7384 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7385 code. Support all font-changing funcs (even those which are not in
7386 menu currently). Support for reporting font settings in
7387 mathed (disabled until Andre provides a function on mathed's side).
7389 * func_status.h (toggle): small helper function to set toggle
7392 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7394 * tabular_funcs.C: getline -> std::getline
7396 2001-12-21 Juergen Vigna <jug@sad.it>
7398 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7399 accessed and could be 0 (I couldn't generate this but it seems
7402 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7404 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7405 * tabular_funcs.h: here and include iosfwd
7407 2001-12-20 Juergen Vigna <jug@sad.it>
7409 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7410 inside inset but undo_par was.
7412 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7414 * Thesaurus.C: always include <config.h> in sources.
7418 * box.h: do not include <config.h> in header files
7420 * text.C (paintLastRow): remove unused variable
7422 * text.C (transformChar):
7424 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7427 * font.C (width): rewrite to use uppercase() instead of
7430 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7432 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7434 * lyxfind.C: clean up of find failure position change
7436 2001-12-20 Juergen Vigna <jug@sad.it>
7438 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7440 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7441 (TeXRow): added to LaTeX a single tabular row.
7442 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7443 (Latex): simplified and finally good LT-h/f support.
7444 (various_functions): just small adaptions for LT-h/f support.
7446 * tabular_funcs.[hC]: added and moved here all not classfunctions
7449 2001-12-19 Juergen Vigna <jug@sad.it>
7451 * tabular.[Ch]: better support for longtabular options (not finished
7454 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7456 * text.C (paintLastRow): use the label font instead of the font of
7457 the last character to compute the size of *_BOX. This makes more
7458 sense and avoids a crash with empty paragraphs.
7459 Use Painter::rectangle to draw EMPTY_BOX.
7461 2001-12-19 Juergen Vigna <jug@sad.it>
7463 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7464 the paragraphs if the replaced paragraph is not the first one!
7465 Tried to delete not used paragraphs but does not work yet so for
7466 now it's inside #ifdef's and by default off!
7468 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7470 * MenuBackend.C: include "lyx_main.h" instead of declaring
7471 lastfiles (actually was declared as LastFiles* instead of a
7474 2001-12-17 Juergen Vigna <jug@sad.it>
7476 * tabular.C (AppendColumn): applied John's fix
7478 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7482 * BufferView_pimpl.h:
7483 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7486 * box.h: new start of class for above
7488 * lyxfunc.C: ignore space-only minibuffer dispatches.
7489 Show the command name when it doesn't exist
7491 * minibuffer.C: don't add empty lines to the history
7493 * minibuffer.C: add a space on dropdown completion
7495 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7497 * text.C: fix line above/below drawing in insets
7499 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7501 * lyxlength.C (LyXLength): Initialize private variables.
7503 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7505 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7506 when inserting error insets.
7508 2001-12-13 Juergen Vigna <jug@sad.it>
7510 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7511 actually sometimes the before-paragraph.
7512 (setUndo): don't clear the redostack if we're not actually undoing!
7514 2001-12-06 Juergen Vigna <jug@sad.it>
7516 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7517 and fixed redoing of main paragraph, so we can use it now ;)
7519 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7521 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7523 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7526 2001-12-13 André Pönitz <poenitz@gmx.net>
7529 * undo_func.C: minor cleanup
7531 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7533 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7534 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7535 font in urw-fonts package which is marked as -urw-fontspecific and
7536 does not work (incidentally, changing the encoding in the
7537 fonts.dir of this package to -adobe-fontspecific fixes the
7540 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7541 is a crash when undoing first paragraph (Juergen, please take a
7542 look). THis does not mean the undo fix is wrong, just that it
7545 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7546 the (Paragraph*) version when needed instead of duplicating the
7549 * text.C (workWidth): use Inset::parOwner to find out where the
7550 inset has been inserted. This is a huge performance gain for large
7551 documents with lots of insets. If Inset::parOwner is not set, fall
7552 back on the brute force method
7554 * paragraph_pimpl.C (insertInset):
7555 * paragraph.C (Paragraph):
7556 (cutIntoMinibuffer): set parOwner of insets when
7557 inserting/removing them
7559 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7561 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7567 * mathed/formulabase.C:
7568 * mathed/math_cursor.[Ch]:
7569 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7572 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7574 * lyxlength.[Ch] (operator!=): new function
7576 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7578 * text.C (workWidth): use Inset::parOwner to find out where the
7579 inset has been inserted. This is a huge performance gain for large
7580 documents with lots of insets. If Inset::parOwner is not set, fall
7581 back on the brute force method
7583 * paragraph_pimpl.C (insertInset):
7584 * paragraph.C (Paragraph):
7585 (cutIntoMinibuffer): set parOwner of insets when
7586 inserting/removing them
7588 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7590 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7592 * tabular-old.C (getTokenValue):
7593 * tabular.C (getTokenValue):
7594 (write_attribute): new versions for LyXLength
7595 (everywhere): adjust the use of widths
7597 * tabular.h: change the type of widths from string to LyXLength
7599 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7601 * paragraph.C: fixed missing line number count when exporting
7602 Environments to LaTeX file
7604 * buffer.C: added informational message for checking line numbers.
7606 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7608 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7609 paragraph, do the 'double space' part, but not the 'empty
7612 * text.C (workWidth): small optimization
7613 (getLengthMarkerHeight): use minimal size for negative lengths.
7615 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7617 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7619 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7621 2001-12-11 André Pönitz <poenitz@gmx.net>
7624 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7626 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7628 * text2.C: keep selection on a setFont()
7630 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7632 * lyx_cb.C: another bv->text misuse, from insert label
7634 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7637 * kbsequence.C: re-instate nmodifier mask
7639 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7641 * lyx_main.h: make lyxGUI private.
7643 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7645 * lyxfind.C: place the cursor correctly on failed search
7647 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7649 * text.C (getLengthMarkerHeight): for small heights, the arrows
7650 are not always on top/bottom of the text
7651 (drawLengthMarker): smaller arrows; take the left margin in
7652 account; draw also vfills.
7654 (paintLastRow): remove special code for vfill and standard spaces,
7655 since everything is handled in drawLengthMarker now.
7657 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7659 * buffer.C (insertErtContents): try to handle font and language
7660 interaction a bit better.g
7662 * ColorHandler.C (updateColor): change the hash to cover the whole
7663 LColor enum, ws cleanup
7664 (getGCLinepars): ditto
7665 (getGCLinepars): only lookup in the linecache once.
7667 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7669 * iterators.C (operator++): Make the iterator more robust
7671 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7673 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7675 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7678 * text.C: better added space drawing
7680 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7683 * BufferView2.C: fix layout combo update on inset unlock
7685 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7687 * Makefile.am: don't compile unused files
7689 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7693 * LyXAction.C: remove old LFUN_LAYOUTNO
7695 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7697 * paragraph_pimpl.h:
7698 * paragraph_pimpl.C: isTextAt() doesn't need font param
7700 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7703 * lyxlex.C: little cleanup
7705 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7707 * BufferView_pimpl.C: fix insertAscii for insets
7709 2001-12-05 Juergen Vigna <jug@sad.it>
7711 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7712 set the right font on the "multi" paragraph paste!
7714 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7720 * lyxlength.C: remove out-commented code.
7736 * vc-backend.C: change "while(" to "while ("
7738 * lyxlength.[Ch]: add zero function to check if length is zero or
7740 * lyxgluelength.C: use it
7742 2001-12-05 Allan Rae <rae@lyx.org>
7744 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7745 Works for 2.95.3, from what I understand of Garst's reports this should
7746 work for other g++ versions. We're screwed if the abs(int) definition
7747 changed between bugfix releases of gcc.
7749 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7751 * text.C: fix chapter label offset !
7753 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7756 * text.C: fix hfill at end of line, clean up
7758 2001-12-04 Juergen Vigna <jug@sad.it>
7760 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7761 that we force an update of the inset and it's owners if neccessary.
7763 2001-12-03 Juergen Vigna <jug@sad.it>
7765 * text.C (rowLast): simplified code
7767 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7769 * lyxfunc.C: fix show options on timeout
7771 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7773 * screen.C (topCursorVisible): scroll half a page when the cursor
7774 reached top of bottom of screen
7776 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7778 * minibuffer.C: deactivate on loss of focus
7780 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7782 * vspace.[Ch] (operator!=): add operator.
7784 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7786 * BufferView_pimpl.C: refuse to open an inset when
7787 there's a selection.
7789 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7791 * BufferView_pimpl.C: allow to click on RHS of full row insets
7793 2001-11-30 Juergen Vigna <jug@sad.it>
7795 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7796 insets for undo reasons.
7798 2001-11-28 André Pönitz <poenitz@gmx.net>
7800 * vspace.[Ch]: cosmetical changes
7802 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7812 * kbsequence.C: part re-write of old kb code
7815 * WorkArea.C: remove Lgb_bug_find_hack
7817 2001-11-30 José Matos <jamatos@fep.up.pt>
7819 * buffer.C (makeDocBookFile): add a comment to point a hack.
7820 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7821 Fixed a double write of labels.
7823 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7826 * LaTeX.h Fixed bug in LaTeX class where it would not
7827 re-run latex if no depfiles were changed, but the .dvi was removed.
7829 2001-11-28 André Pönitz <poenitz@gmx.net>
7831 * all the files from the change on 2001/11/26:
7832 use lyx::layout_type instead of LyXTextClass::size_type
7833 use lyx::textclass_type instead of LyXTextClassList::size_type
7835 2001-11-29 Juergen Vigna <jug@sad.it>
7837 * text.C: added support for paragraph::isFreeSpacing()
7839 * buffer.C: same as above
7841 * paragraph.h: inserted isFreeSpacing() function to enable
7842 FreeSpacing inside InsetERT.
7844 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7845 of the paragraph's in the cut/copy buffer to 0!
7847 * text2.C (removeRow): remove the assert as it can!
7849 * lyxtext.h: added helper function firstRow returning firstrow and
7850 made firstrow private again.
7852 * BufferView2.C (lockInset): don't relock if we're already locked!
7854 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7856 (removeRow): added Assert::(firstrow)
7858 * debug.C: forgot to add INSETTEXT here.
7860 2001-11-28 Juergen Vigna <jug@sad.it>
7862 * sp_spell.C (initialize): changed error text to more general
7863 spellchecker command use (not only ispell!)
7865 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7867 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7869 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7871 * vspace.C: initialise lyxgluelength on failure
7873 2001-11-28 Allan Rae <rae@lyx.org>
7875 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7876 declaration & definition that looks like a function declaration.
7878 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7880 * BufferView2.C (copy):
7881 (copyEnvironment): do not clear the selection when doing a copy.
7883 * text.C (paintFirstRow): compilation fix
7885 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7887 * tabular.C (Latex): correct line count when writing latex.
7889 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7891 * paragraph_pimpl.h:
7892 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7895 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7899 * LColor.C: change vfillline->added_space
7901 * text.C: add markers and text for added space
7903 * vspace.C: fix comment
7905 2001-11-28 André Pönitz <poenitz@gmx.net>
7907 * paragraph.C: whitespace changes
7908 * all the other files from the change on 2001/11/26:
7909 change *::pos_type into lyx::pos_type
7911 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7913 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7914 language of the document when inserting error insets.
7916 2001-11-26 André Pönitz <poenitz@gmx.net>
7918 * BufferView_pimpl.[Ch]:
7926 * paragraph_pimpl.[Ch]:
7929 * text2.C: reduce header dependencies, introduce type for positions
7931 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7933 * <various>: change to use Alert.h
7935 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7937 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7938 when encountering an unknown token.
7939 (readLyXformat2): Show an error message if there were unknown tokens.
7941 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7944 * BufferView_pimpl.C:
7948 * text2.C: use par->isInset()
7950 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7952 * paragraph_pimpl.h:
7953 * paragraph_pimpl.C: cleanup
7955 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7957 * text2.C (removeRow):
7958 * text.C (setHeightOfRow): remove useless (and costly) call to
7961 2001-11-20 Allan Rae <rae@lyx.org>
7963 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7964 Now need Inset*::checkInsertChar() to return true for appropriate
7965 cases so that the characters in the minibuffer will actually be
7968 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7970 * text.C: change the order of the includes.
7971 (workWidth): initialize it at once.
7972 (workWidth): make maxw unsigned
7973 (setHeightOfRow): remove unused variable (inset)
7974 (selectSelectedWord): remove unused variable (inset)
7975 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7977 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7979 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7980 server is not running.
7982 (closeConnection): add debug info when server is disabled.
7984 * ColorHandler.C (getGCForeground): send debug message to GUI
7987 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7989 * kbmap.C (bind): modify because return conventions of
7990 kb_sequence::parse have changed.
7992 * kbsequence.C (parse): only ignore spaces and not any stupid
7993 control character. This avoids tests like s[i] <= ' ', which are
7994 guaranteed to fail with 8bit characters and signed chars.
7995 Change return code to string::npos when there have been no error
7996 (0 was a bad idea when error is at first character)
7998 2001-11-14 José Matos <jamatos@fep.up.pt>
8001 * buffer.C (simpleDocBookOnePar): removed unused argument.
8003 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8005 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8006 insets which are part of a word. Paragraph::isLetter takes care of
8007 that now. Use Paragraph::isInset to identify insets.
8008 (selectSelectedWord): do not test for hyphenation break.
8010 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8011 that protected spaces are considered as spaces.
8013 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8016 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8019 * lyxserver.C: fix it. and small cleanup.
8021 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8023 * BufferView_pimpl.C: use inline helpers
8026 * LaTeXFeatures.C: fix typos
8029 * Spacing.C: move spacing_string into class
8031 * ToolbarDefaults.C: move stuff into namespace anon
8033 * layout.h: update enum
8035 * lyxfunc.C: use better debug
8037 * minibuffer.h: fix typo
8041 * WorkArea.C: add and use Debug::WORKAREA
8045 * text2.C: code re-organisation, inline helpers
8047 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8049 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8050 std::vector.empty().
8052 2001-11-09 Allan Rae <rae@lyx.org>
8054 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8055 '\n's after tables. Tabular and ERT inset work now makes this no
8058 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8061 * minibuffer.C: fix crash, improve drop-down completion
8063 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8066 * lyxserver.C: invalidate fd's when doing endPipe()
8068 2001-11-08 José Matos <jamatos@fep.up.pt>
8070 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8071 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8074 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8076 2001-11-07 José Matos <jamatos@fep.up.pt>
8079 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8082 * buffer.C (sgmlOpenTag):
8083 * buffer.C (sgmlCloseTag): removed debug info.
8085 * buffer.h (sgmlOpenTag):
8086 * buffer.h (sgmlCloseTag): made public.
8088 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8090 * buffer.C (saveParamsAsDefaults):
8091 * lyx_cb.C (MenuLayoutSave): remove
8093 * LyXAction.C (init):
8095 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8097 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8099 * buffer.C (setPaperStuff): removed from here...
8101 * bufferparams.C (setPaperStuff): ... and moved there.
8103 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8107 * XFormsView.C: add support for drop-down completion
8109 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8111 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8114 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8116 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8119 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8121 * lyx_main.C: change ref to known bugs
8123 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8125 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8126 to work around older babel problems.
8128 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8130 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8132 2001-10-24 Juergen Vigna <jug@sad.it>
8134 * tabular-old.C (ReadOld): below variable changes reflected.
8136 * tabular.[Ch]: added ltType struct for longtable header/footer
8137 defines and changed all instances where they are used. Added
8138 future support for double top/bottom rows.
8140 2001-10-24 José Matos <jamatos@fep.up.pt>
8142 * buffer.h (docbookHandleCaption):
8143 * buffer.C (docbookHandleCaption): removed unused function.
8144 (makeDocBookFile): moved docbook supported version to v4.1.
8146 2001-10-24 José Matos <jamatos@fep.up.pt>
8149 * tabular.C (docbookRow): new function to export docbook code of a row.
8150 (DocBook): now honors the longtable flags.
8152 2001-10-23 José Matos <jamatos@fep.up.pt>
8155 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8156 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8158 * buffer.C (makeLinuxDocFile):
8159 (makeDocBookFile): reworked the preamble, more clean, and with
8160 support for lyx defined entities. Changed the document declaration
8161 to be more XML friendly.
8163 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8164 if we need to output XML that should be done with a filter.
8166 2001-10-22 Juergen Vigna <jug@sad.it>
8168 * sp_pspell.h (class PSpell): add alive function needed in the
8169 controller to see if the spellchecker could be started.
8171 2001-10-22 Juergen Vigna <jug@sad.it>
8173 * buffer.C (insertStringAsLines): modify the font for inserting
8174 chars in certain conditions by calling checkInsertChar(font).
8176 2001-10-19 Juergen Vigna <jug@sad.it>
8178 * text.C (workWidth): use getRow instead of wrong algorithm.
8179 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8181 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8186 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8188 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8190 * text.C (workWidth): do not search for the exact row when
8191 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8192 optimization for big documents.
8194 2001-10-18 Juergen Vigna <jug@sad.it>
8196 * text.C (workWidth): new function with added Inset * parameter.
8198 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8200 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8202 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8203 change return type of getColumnNearX.
8206 * text.C (changeRegionCase): use uppercase/lowercase instead of
8209 (rightMargin): simplify code by factoring out the uses of
8214 (appendParagraph): use Paragraph::size_type
8216 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8218 * vspace.C (asLatexString): add a missing break
8220 2001-10-15 Herbert Voss <voss@perce.de>
8222 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8224 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8226 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8229 2001-10-10 André Pönitz <poenitz@gmx.net>
8231 * lyxfunc.C: removed greek_kb_flag.
8233 2001-10-10 Herbert Voss <voss@perce.de>
8235 * lyx_main.C: delete global string help_lyxdir.
8237 2001-10-09 Herbert Voss <voss@perce.de>
8239 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8241 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8243 * lyx_main.C: added global string help_lyxdir.
8245 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8247 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8249 * lyxrc.C (set_font_norm_type): support iso8859-4
8251 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8253 * LaTeX.C (deplog): add another regex for MikTeX
8255 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8257 * lyxrc.C (set_font_norm_type): support iso8859-3
8259 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8261 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8263 * LaTeXFeatures.C: remove special case of french and index
8265 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8266 before \begin{document}). This solves several incompatibilities.
8268 2001-10-03 Garst Reese <reese@isn.net>
8270 * lyx_cb.C: change CheckTex error msg.
8272 2001-10-03 José Matos <jamatos@fep.up.pt>
8274 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8276 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8278 * .cvsignore: update
8280 * lyx_main.C (commandLineVersionInfo): use new style version info.
8282 * buffer.C (writeFile):
8285 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8287 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8289 * version.h: update to use stuff in version.C
8291 * version.C.in: new file. Contains version information determined
8292 at compile time. This is a merging of version.h and
8295 2001-10-03 Juergen Vigna <jug@sad.it>
8297 * BufferView_pimpl.C (update): don't change "dirty" status in
8300 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8302 * WorkArea.C (c-tor): re-position version string slightly.
8304 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8306 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8307 revert to previous code.
8309 WorkArea.[Ch]: (show, destroySplash): methods removed.
8311 WorkArea.C: rework code so that it's an amalgam of the codes before and
8312 after the splash screen was moved to WorkArea.
8314 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8317 * vspace.C (inPixels):
8320 * buffer.C (insertStringAsLines):
8321 (asciiParagraph): fix types to be large enough
8323 * lyxlex_pimpl.h: change member status from short to int
8325 * layout.h: fix type of endlabeltype
8328 * kbsequence.C (parse): change return type to string::size_type
8330 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8333 * Bullet.C (bulletSize):
8334 (bulletEntry): do not use short ints as parameters
8336 * BufferView2.C (insertLyXFile): change a char to an int.
8338 * WorkArea.C (WorkArea): remove unneeded floats in computation
8340 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8342 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8344 * paragraph.C (asString): Do not ignore newline/hfill chars when
8345 copying to the clipboard.
8347 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8349 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8350 after a multi-line inset.
8352 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8354 * paragraph.C (validate): Set NeedLyXFootnoteCode
8356 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8358 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8359 and decrease-error to decrease.
8361 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8363 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8364 it more readable (should be equivalent)
8366 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8368 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8370 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8372 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8373 of a cursor (row, etc.) after a character has been deleted
8374 (deleteEmptyParagraphMechanism): call the method above on _all_
8375 cursors held by the LyXText when a double space has been
8378 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8380 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8382 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8384 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8385 background. Use greyOut() and the new show() methods to toggle between
8386 the foreground and background. Add code to remove the splash after
8387 its initial showing.
8389 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8390 (create_forms): no longer call Dialogs::showSplash.
8392 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8394 * .cvsignore: add version_info.h
8396 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8398 * version_info.h.in: new file
8400 * Makefile.am: add version_info.h.in
8402 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8403 version_info.h instead of VERSION_INFO
8405 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8407 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8408 The ERT inset now returns string().
8410 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8412 * lyxtext.h, text.C (selectNextWord): renamed as
8413 selectNextWordToSpellcheck.
8415 * text.C (selectNextWordToSpellcheck): Modified to not select
8416 words inside an ERT inset.
8418 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8420 * lyx_cb.C (MenuLayoutSave): change a bit the question
8422 * sp_base.h: include <sys/types.h>
8424 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8426 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8428 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8430 * several files: fix typos in user-visible strings
8432 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8434 * text2.C (pasteSelection): do not set the selection, since it
8435 will be cleared later. Actually, the intent was to fix the way the
8436 selection was set, but I figured rmoving the code was just as good.
8438 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8440 * FontLoader.C (available): Check if font is available without
8443 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8445 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8447 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8449 * lyxrc.[Ch]: added display_graphics variable and associated code.
8451 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8453 * bufferparams.C (hasClassDefaults): new method. Returns true if
8454 the buffer parameters correspond to known class defaults
8456 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8458 * XFormsView.C (show): set minimum size to the main window.
8460 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8462 * text2.C (copySelection):
8464 * lyxfind.C (LyXReplace):
8465 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8466 LyXText::selectionAsString.
8468 * paragraph.C (asString): add "label" argument to the second form
8470 * text2.C (selectionAsString): add "label" argument and pass it to
8471 Paragraph::asString.
8473 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8475 * lyx_main.C (commandLineHelp): remove version information
8477 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8479 * lyx_main.C: add -version commandline option
8481 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8483 * paragraph.h: make the optional constructor arg required instead.
8484 some modifications to other files because of this.
8486 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8488 * lyxserver.C (C_LyXComm_callback): make it static
8490 * lyx_main.C (error_handler): make it static
8492 * lyx_gui.C (LyX_XErrHandler): make it static
8494 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8496 * WorkArea.C: make the extern "C" methods static.
8498 * Makefile.am (lyx_LDADD): simplify
8500 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8502 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8503 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8505 * LyXAction.C (init):
8506 * lyxfunc.C (dispatch): associated code removal.
8508 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8510 * lyxfont.h (isSymbolFont): shut off warning
8512 * text.C (setHeightOfRow):
8513 (getVisibleRow): fix crash with empty paragraphs which have a
8516 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8518 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8521 2001-09-04 José Matos <jamatos@fep.up.pt>
8524 * tabular.C (docbook): rename docBook method to docbook.
8526 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8528 * Makefile.am: add dependencies to main.o.
8530 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8532 * FontLoader.C (available): Return false if !lyxrc.use_gui
8534 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8536 * FontInfo.C (query):
8537 * converter.C (view):
8538 * importer.C (Import):
8539 * exporter.C (Export): Can not -> cannot.
8541 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8543 * BufferView_pimpl.C: allow to create index inset even if
8546 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8548 * buffer.C (getLists): replace boost::tie code with an explicit pair
8549 as boost::tie can break some compilers.
8551 * iterators.h: Added a std:: declaration to the return type of
8554 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8556 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8559 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8561 * iterators.[Ch]: New files. Provide paragraph iterators.
8563 * buffer.C (changeLanguage): Use paragraph iterators.
8564 (isMultiLingual): ditto
8566 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8568 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8570 * FontLoader.C: Support for cmr font.
8572 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8574 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8575 (available): New method.
8577 * FontInfo.C (getFontname): Use scalable fonts even when
8578 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8581 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8583 * converter.C (Formats::view): reverted! Incorrect fix.
8585 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8587 * converter.C (Formats::view): only output the -paper option
8588 if the dvi viewer is xdvi, thereby fixing bug #233429.
8590 2001-08-23 Herbert Voss <voss@perce>
8592 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8594 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8596 * Spacing.h (Spacing): Set space to Default on in the default
8599 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8601 * vc-backend.h (RCS::versionString): add RCS to version
8602 (CVS::versionString): add CVS to version
8604 * vc-backend.C (scanMaster): do not add CVS to version.
8605 (scanMaster): do not add RCS to version
8607 * lyxvc.C (versionString): new method
8609 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8611 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8613 * Spacing.C (set): initialize fval
8615 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8617 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8620 2001-08-16 Juergen Vigna <jug@sad.it>
8622 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8624 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8626 * BufferView_pimpl.C:
8629 * text2.C: setParagraph takes linespacing now
8631 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8633 * LyxAction.C: add internal LFUN_CITATION_INSERT
8635 * LyXView.C: actually apply fix
8637 * bufferlist.C: fix open non-existent file
8639 * lyxfind.C: fix indentation
8641 * lyxfunc.C: remove unneeded assert, fix typo
8643 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8645 * MenuBackend.C: use "Floatname List"
8647 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8649 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8650 when converting LaTeX layout to insetERT.
8651 Generate a non-collapsed float when reading old float
8653 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8655 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8658 2001-08-13 Juergen Vigna <jug@sad.it>
8660 * text.C (fill): return 0 instead of 20 as this seems to be the more
8663 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8665 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8668 2001-08-13 Juergen Vigna <jug@sad.it>
8670 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8672 (SearchBackward): comment out the unlocking of the inset_owner this
8673 should not be needed!
8675 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8677 * Many files: Remove inherit_language, and add latex_language
8679 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8682 2001-08-10 Juergen Vigna <jug@sad.it>
8684 * text.C (prepareToPrint): fixed hfill-width in draw!
8686 * BufferView2.C (selectLastWord): save the selection cursor as this
8687 now is cleared in the function LyXText::clearSelection!
8689 2001-08-08 Juergen Vigna <jug@sad.it>
8691 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8692 BACKSPACE type functions.
8694 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8695 is only cutted from the document but not put in the cut-buffer, where
8696 still the old stuff should be.
8698 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8700 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8702 * tabular.C (SetWidthOfCell): fixed special case where the width
8704 (LeftLine): handle '|' in align_special.
8706 (LeftAlreadyDrawed): ditto
8707 (SetWidthOfCell): ditto
8709 2001-08-07 Juergen Vigna <jug@sad.it>
8711 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8713 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8715 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8716 * lyxlex.[hC]: ditto
8718 2001-08-06 Juergen Vigna <jug@sad.it>
8720 * text.C (getVisibleRow): fix up row clearing a bit.
8722 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8724 * minibuffer.C: make sure the X server sees the changes in the input.
8726 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8728 * paragraph.C (getFont): split into...
8729 (getLabelFont): this
8730 (getLayoutFont): and this
8731 * paragraph_pimpl.C (realizeFont): calling this
8733 * text2.C (getFont): split into...
8734 (getLayoutFont): this
8735 (getLabelFont): and this
8736 (realizeFont): all three calling this
8738 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8741 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8743 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8745 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8747 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8748 layouts from the Quote inset insertion.
8750 2001-08-03 Juergen Vigna <jug@sad.it>
8752 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8754 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8755 only if status not is already CHANGED_IN_DRAW (second level).
8757 * text.C (draw): don't set the need_break_row when inside an
8760 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8762 * buffer.C (parseSingleLyXformat2Token): handle more latex
8765 * bufferview_funcs.[hC]: change function names to
8766 begin with small char, adjust other files.
8768 2001-08-02 André Pönitz <poenitz@gmx.net>
8771 BufferView_pimpl.C: remove broken special code for math-greek
8773 2001-08-02 Juergen Vigna <jug@sad.it>
8775 * BufferView_pimpl.C (update): redone this function so that we
8776 update the text again if there was a CHANGE_IN_DRAW.
8778 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8779 (drawFromTo): added a new internal bool which is used by draw() and
8781 (general): some cursor drawing problems fixed.
8783 2001-08-01 Juergen Vigna <jug@sad.it>
8785 * lyxfind.C (LyXFind): fixed
8786 (SearchForward): ditto
8787 (SearchBackward): ditto
8789 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8790 spurius drawing of the cursor in the main area.
8792 * text2.C (status): small fix which could lead to a segfault!
8793 (clearSelection): remove unneeded BufferView param.
8795 2001-08-01 André Pönitz <poenitz@gmx.net>
8797 * lyxfunc.C: small change due to changed mathed interface
8799 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8801 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8803 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8805 * lyxfunc.c: fail gracefully if file doesn't exist
8810 * BufferView_pimpl.C: IsDirWriteable() proto changed
8812 * LyXView.C: fix updateWindowTitle() to store the last title
8814 2001-07-31 Juergen Vigna <jug@sad.it>
8816 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8817 the font (wrong since using of Paragraph::highestFontInRange).
8819 * paragraph.C (highestFontInRange): added a default_size parameter.
8821 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8822 (setHeightOfRow): reformat
8824 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8826 * converter.[hC] + affected files: move to (inital-char)lowercase
8829 * ParagraphParameters.C (ParagraphParameters): remove commented code
8831 * PainterBase.[Ch]: remove commented code
8833 * LaTeXFeatures.h: add "bool floats" for float.sty
8835 * LaTeXFeatures.C (LaTeXFeatures): init floats
8836 (require): handle float
8837 (getPackages): do it with floats
8839 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8841 * BufferView_pimpl.C (Dispatch): improve handling of
8842 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8844 * commandtags.h: #include lyxfont.h here temporarily to avoid
8847 * bufferlist.h: include LString.h here.
8849 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8851 * text2.C (getStringToIndex): new method.
8853 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8855 * *: Reduced header file dependencies all over.
8857 2001-07-30 Baruch Even <baruch@lyx.org>
8859 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8861 2001-07-29 Baruch Even <baruch@lyx.org>
8863 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8865 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8867 * ParameterStruct.h (endif): add a default constructor to make
8868 sure that all variables is initialized.
8870 * ParagraphParameters.C (ParagraphParameters): adjust
8872 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8874 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8875 index; also, check that there is something to index, and that it
8876 does not span over several paragraphs.
8877 (doubleClick): use WHOLE_WORD_STRICT for double click.
8879 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8881 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8884 2001-07-26 Baruch Even <baruch@lyx.org>
8886 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8887 an InsetFig figure, backwards compatible reading of old figure code.
8889 2001-07-27 Juergen Vigna <jug@sad.it>
8891 * text2.C: font.realize function adaption.
8893 * text.C (draw): add a warnings lyxerr text if needed.
8895 * layout.C: font.realize function adaption.
8897 * language.C: add inherit_language and implement it's handlings
8899 * bufferview_funcs.C (StyleReset): remove language parameter from
8900 font creation (should be language_inherit now).
8902 * bufferparams.C (writeFile): handle ignore_language.
8904 * paragraph.C (getFontSettings): the language has to be resolved
8905 otherwise we have problems in LyXFont!
8907 * lyxfont.C (lyxWriteChanges): added document_language parameter
8908 (update): removed unneeded language parameter
8910 * paragraph.C (validate): fixed wrong output of color-package when
8911 using interface colors for certain fonts in certain environments,
8912 which should not seen as that on the final output.
8914 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8916 * BufferView_pimpl.C:
8921 * LyXAction.C: add thesaurus support
8924 * lyxfind.C: add "once" parameter, for thesaurus, to not
8925 move to the next match
8927 2001-07-26 Juergen Vigna <jug@sad.it>
8929 * lyxfont.C (realize): honor ignore_language too!
8932 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8934 * text.C (draw): one place more for ignore_language to not draw
8937 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8939 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8941 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8943 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8944 the minipage conversion problem.
8946 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8948 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8951 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8953 * BufferView.h: don't forward declare WorkArea
8955 * BufferView.C: don't include WorkArea.h
8957 2001-07-25 André Pönitz <poenitz@gmx.net>
8961 * lyxfunc.C: new LFUN 'math-space'
8963 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8965 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8967 * text2.C (toggleInset): call open/close
8969 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8971 * lyxfunc.C (dispatch): add debug for the disabled case
8973 * font.C (buttonText): make similar to rectText
8975 * buffer.C (readInset): comment out parsing of insetlist and
8978 * PainterBase.C (rectText): small correction
8980 * BufferView_pimpl.C: comment out insettheorem and insetlist
8981 * LyXAction.C: ditto
8982 * commandtags.h: ditto
8984 2001-07-24 Juergen Vigna <jug@sad.it>
8986 * text.C (draw): honor the ignore_language.
8988 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8990 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8992 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8995 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8997 * lyxtext.h: remove unused (and unimplemented) methods
8999 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9001 * text.C (getVisibleRow): honor background color
9004 * Painter.h: remove default color argument for fillRectangle
9006 * text.C (backgroundColor): new method
9008 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9010 * text.C (getVisibleRow): adjust
9012 * font.[Ch] (rectText): new method, metrics
9013 (buttonText): new method, metrics
9015 * PainterBase.[hC]: make rectText and buttonText always draw and take
9018 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9020 * ToolbarDefaults.C (read):
9021 * MenuBackend.C (read): allow escaping in all strings
9023 * BufferView_pimpl.C (insertAndEditInset): new method.
9024 (Dispatch): use insertAndEditInset whenever appropriate.
9026 * BufferView_pimpl.C (insertNote): removed
9028 * BufferView_pimpl.C (smartQuote): new method, moved from
9029 BufferView; if an insetquote cannot be inserted, insert a '"'
9032 * BufferView2.C: remove insertCorrectQuote();
9034 * lyxfunc.C (getStatus): Add support for all remaingin
9037 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9039 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9040 command (necessary to pass " as parameter of self-insert.
9042 * text.C (selectWordWhenUnderCursor):
9043 (selectWord): add word_location parameter
9044 (selectWordWhenUnderCursor): same + remove special code for word
9046 (selectNextWord): use kind() to guess type of insetspecialchar,
9049 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9050 (insertErtContents): create ert insets as collapsed.
9051 (readInset): better compatibility code for Info inset.
9053 2001-07-20 Juergen Vigna <jug@sad.it>
9055 * lyxfunc.C (dispatch): use always LyXFind now!
9057 * text2.C (init): add a reinit flag so that the LyXText can be
9058 reinited instead of deleted and reallocated (used in InsetText).
9060 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9066 2001-07-18 Juergen Vigna <jug@sad.it>
9068 * text.C (selectNextWord): handle insets inside inset by calling
9069 always the bv->text functions so that we can go up the_locking_inset!
9071 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9072 in strange locations when inside an inset!
9074 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9075 handling to include insets.
9077 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9079 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9081 * LyXAction.C (init):
9083 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9084 LIGATURE_BREAK, since the name is so stupid.
9086 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9088 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9091 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9093 * sp_form.[Ch]: remove.
9095 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9097 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9100 * src/buffer.C (readInset): ditto.
9102 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9104 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9105 menuSeparator(), endOfSentenceDot(), ldots() and
9106 hyphenationPoint(), which are therefore removed.
9107 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9109 * LyXAction.C (init):
9110 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9112 * paragraph.C (getWord): removed.
9114 * BufferView_pimpl.C (Dispatch): use last word or selection for
9115 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9117 * lyx_main.C (queryUserLyXDir): do not ask before creating
9118 user_dir, except if it has been named explicitely.
9120 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9122 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9123 a document of zero size.
9125 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9127 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9128 approriately in the c-tor and in require().
9129 (getPackages): output the appropriate LaTeX for natbib support.
9131 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9132 variables "use_natbib" and "use_numerical_citations" when reading the
9134 (readInset): read the various natbib cite commands.
9135 (validate): white-space change.
9137 * bufferparams.[Ch]: new variables "bool use_natbib" and
9138 "bool use_numerical_citations".
9139 (writeFile): output them in the LyX file.
9141 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9143 * lyxfunc.C (getStatus): add support for all the inset insertion
9146 * text2.C (insertInset):
9147 * paragraph.C (insetAllowed):
9148 * BufferView_pimpl.C (insertInset): update to take in account the
9149 renaming of insertInsetAllowed
9151 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9153 * text2.C (getInset): new method. returns inset at cursor position.
9155 * BufferView_pimpl.C (Dispatch): changes because of this.
9157 * LyXAction.C (init): rename open-stuff to inset-toggle.
9159 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9161 * text2.C (toggleInset): renamed from openStuff; use
9164 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9166 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9168 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9170 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9172 * buffer.C (readLyXformat2): Add filename to the error dialog
9174 2001-07-18 Juergen Vigna <jug@sad.it>
9176 * tabular.C (GetCellNumber): put an assert here instead of the check!
9178 2001-07-17 Juergen Vigna <jug@sad.it>
9180 * BufferView_pimpl.C (toggleSelection): adapted too.
9182 * text.C (selectNextWord): adapted for use with insets.
9183 (selectSelectedWord): ditto
9185 2001-07-17 Juergen Vigna <jug@sad.it>
9187 * sp_spell.C (PSpell): fix initialitation order.
9189 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9191 * paragraph.C: spacing
9193 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9195 * sp_spell.C: repair language selection for pspell
9197 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9199 * lyxfunc.h: change more methods to begin with lower char.
9201 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9203 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9204 for unknown layouts.
9206 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9208 * buffer.C (readLyXformat2): Generate an error dialog if there are
9211 2001-07-16 Juergen Vigna <jug@sad.it>
9213 * sp_spell.C: always compile ISpell part.
9215 * lyxrc.C: added use_pspell entry and it's handling.
9217 2001-07-13 Juergen Vigna <jug@sad.it>
9219 * sp_spell.C: removed double includes.
9221 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9223 Consistent use of Lsstream.h:
9224 * Lsstream.h: added using std::stringstream for consistencies sake.
9226 * buffer.C: removed using std::stringstream
9228 * lyxfont.C (stateText):
9229 * paragraph.C (asString):
9230 * text.C (selectNextWord, selectSelectedWord):
9231 * text2.C (setCounter):
9232 * vspace.C (asString, asLatexString):
9233 std::ostringstream -> ostringstream.
9235 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9237 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9238 * commandtags.h: add LFUN_HELP_ABOUTLYX
9239 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9241 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9243 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9245 * lyx_gui_misc.C: remove spellchecker
9246 * lyxfunc.C: showSpellchecker
9248 * sp_ispell.h: added
9249 * sp_pspell.h: added
9251 * sp_form.[Ch]: removed
9252 * spellchecker.[Ch]: removed
9254 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9256 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9258 (simpleTeXSpecialChars): Simply print the input character without
9259 any special translation if pass_thru is set.
9261 * layout.h: Added bool pass_thru to layout class for being able to
9262 implement pass through of a paragraph for Literate Programming.
9264 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9265 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9266 * layout.C (Read): add "passthru" to list of layout tags and add
9267 code to set the pass_thru boolean when it is read.
9269 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9271 * trans_decl.h: remove allowed from KmodInfo
9273 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9277 * paragraph_pimpl.C (erase): use boost::prior
9279 * Painter.C (text): use data() instead of c_str() when length is
9281 * WorkArea.C (putClipboard): ditto
9282 * font.h (width): ditto
9284 * BufferView2.C: use it-> instead of (*it). for iterators
9286 * paragraph_pimpl.C: ditto
9287 * paragraph.C: ditto
9288 * minibuffer.C: ditto
9293 * converter.C: ditto
9295 * Variables.C: ditto
9296 * TextCache.C: ditto
9297 * MenuBackend.C: ditto
9298 * LyXAction.C: ditto
9300 * FloatList.C: ditto
9302 * ColorHandler.C (LyXColorHandler): ditto
9304 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9306 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9308 * text2.C (openStuff): reintroduce this method (which had been
9309 nuked in NEW_INSETS frenzy).
9311 * lyxfunc.C (Dispatch): when an action has not been handled, use
9312 its name in the error message, not its number.
9314 * paragraph.C (inInset): change method name to begin with lowercase.
9317 * text2.C: updates because of this.
9319 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9321 * ToolbarDefaults.C (add): add spaces in error message
9323 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9325 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9326 (readLyXformat2): rename return_par to first_par, use lyxlex's
9327 pushToken and remove the manual push handling.
9328 (parseSingleLyXformat2Token): add another ert comp. variable:
9329 in_tabular, rename return_par to first_par. handle newlines better
9331 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9333 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9335 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9337 * text2.C (getParFromID): removed
9339 * buffer.C (getParFromID): new method moved form lyxtext.
9340 * BufferView2.C (insertErrors): adjust
9341 (setCursorFromRow): adjust
9342 * BufferView_pimpl.C (restorePosition): adjust
9343 * lyxfunc.C (Dispatch): adjust
9344 * undo_funcs.C (textUndo): adjust
9346 (textHandleUndo): adjust
9347 (textHandleUndo): adjust
9349 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9351 * buffer.C: up' the LYX_FORMAT
9353 * lyxfont.h: turn NO_LATEX on as default
9355 * buffer.C (insertErtContents): new methods of tex style compability.
9356 (parseSingleLyXformat2Token): use it several places.
9357 * tabular.C (OldFormatRead): and here
9359 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9361 * text2.C: remove some commented code.
9364 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9365 * trans.C: changes because of the above.
9367 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9369 * text2.C (setCounter): Fix counters bug with bibliography layout.
9371 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9373 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9374 own member functions
9375 (simpleTeXSpecialChars): ditto
9377 2001-07-06 Juergen Vigna <jug@sad.it>
9379 * a lot of files: changed the access to LyXText::status and the
9380 call of undo-functions.
9382 * undo.[Ch]: added a inset_id to the undo informations.
9384 * undo_funcs.[Ch]: added and moved here all undo functions.
9386 * lyxtext.h: give the status enum a weight, made status_ a private
9387 variable and made accessor functions for it, removed the whole bunch
9388 of undo-functions as they are now in their own file, make some
9389 functions publically available. Added function ownerParagraph with
9392 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9393 made InInset() a const function, added getParFromID() function.
9395 * buffer.[Ch]: added const version for inset_iterator functions,
9396 added getInsetFromID() function.
9398 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9399 changed undo functions for new version.
9401 2001-07-05 Juergen Vigna <jug@sad.it>
9403 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9404 unknow mechanism does not call the proper constructor but only this
9405 one also if I request the other!?
9407 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9409 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9411 * text2.C (LyXText): use initialization lists.
9413 * lyxtext.h (Selection): initialize set_ and mark_
9414 (init): remove method
9416 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9418 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9420 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9422 * screen.[Ch]: change method names to begin with lowercase
9424 * BufferView_pimpl.C (updateScrollbar): simplify further and
9425 hopefully make it a bit faster.
9427 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9429 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9430 calling directly xforms functions.
9432 * Painter.C (Painter):
9433 * lyx_cb.C (MenuWrite):
9434 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9437 * lyx_gui.C: remove bogus guiruntime extern declaration.
9439 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9441 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9443 (redoDrawingOfParagraph): ditto
9444 (redoParagraphs): ditto
9445 (cutSelection): don't create a object for CutAndPaste use the
9446 static method directly
9447 (pasteSelection): ditto
9449 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9452 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9454 * modifications to some other files because of this.
9456 * Makefile.am (lyx_SOURCES): add XFormsView
9458 * XFormsView.[Ch]: new files
9460 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9461 the main window. Move the gui dependent stuff to XFormsView
9463 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9465 * tabular.C (GetCellInset): update cur_cell also in the row/col
9466 version of this function.
9468 * lyxfunc.C: no need to include figure_form.h here.
9474 * lyxvc.C: no need to include forms.h here.
9476 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9478 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9480 * lyxfunc.C (Dispatch):
9482 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9483 constructor argument.
9485 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9487 * paragraph.C (Paragraph): dont't clear, and just set layout.
9488 (makeSameLayout): use params's copy contructor.
9490 * ParagraphParameters.[Ch] (makeSame): delete method
9492 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9494 * Variables.[Ch]: fix indentation, rename set to isSet
9496 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9498 * lyxfunc.C (Dispatch): fix typo
9500 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9502 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9505 * bufferlist.C: include assert.h for emergencyWrite().
9507 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9509 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9510 give up at last (bug #425202) !
9512 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9518 * spellchecker.C: strip spellchecker options and bring up
9519 preferences tab instead
9521 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9523 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9524 the istringstream constructor
9526 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9528 * paragraph.C (getLayout): fix return value
9530 * paragraph.h: do not declare getLayout as inline.
9532 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9534 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9536 * lyxcursor.h (operator<): new func
9537 (operator>): new func
9538 (operator>=): new func
9539 (operator<=): new func
9541 * text.C (changeCase): use selection.start and selection.end
9542 (changeRegionCase): require from to be <= to. Require par to be a
9545 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9547 2001-06-27 Juergen Vigna <jug@sad.it>
9549 * text.C (cursorLeftOneWord): changed to return the cursor and added
9550 overlay with BufferView * parameter which calls this one.
9552 (selectWord): use new getWord function.
9553 (changeCase): renamed from changeWordCase as and extended to work
9556 * lyxtext.h: added enum word_location
9558 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9559 changeCase as this operates now also on selections.
9561 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9563 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9565 * many files: send debug output to Debug::INFO instead of
9568 * converter.C (View):
9570 (Move): send debug output to Debug::FILES instead of console.
9572 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9574 * lyxfunc.C (getStatus): use func_status
9576 * func_status.h: new header, describing the results of
9579 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9582 2001-06-25 The LyX Project <jug@sad.it>
9584 * buffer.C (sgmlOpenTag):
9586 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9588 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9590 * text2.C: remove some dead code
9592 * tabular.C (GetCellInset): store the last cell checked (gotten)
9594 * tabular.h: add the helper for the speedup
9596 * lyxtext.h: remove some dead code
9598 2001-06-26 The LyX Project <Asger>
9600 * paragraph.C: Change export to LaTeX of alignment to
9601 \begin{center} and family for better roundtrip work with reLyX.
9603 * Tune the math drawing a bit.
9605 2001-06-25 The LyX Project <Asger>
9607 * LColor.C (LColor): New color for math background. New color
9610 2001-06-25 The LyX Project <jug@sad.it>
9612 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9615 * bufferlist.C (newFile): do not restrict to files ending with
9618 * BufferView_pimpl.C (MenuInsertLyXFile):
9620 2001-06-24 The LyX Project <jug@sad.it>
9622 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9625 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9627 * lyxtext.h: rename most methods to begin with a small char.
9628 Lots of changes because of this.
9630 * paragraph.C (Paragraph): do not call fitToSize
9631 (erase): call Pimpl::erase
9632 (insertChar): call Pimpl::insertChar
9633 (insertInset): call Pipl::insertInset
9634 (breakParagraph): do not call fitToSize
9635 (breakParagraphConservative): do not call fitToSize
9636 (fitToSize): remove method
9638 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9640 2001-06-24 The LyX Project <Asger>
9642 * Fix Qt compilation^2
9644 2001-06-24 The LyX Project <jug@sad.it>
9646 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9647 depthHook(getDepth()-1).
9650 * ParagraphParameters.h:
9651 * ParameterStruct.h: change type of depth to unsigned int ==
9652 depth_type. Many adaptations to other files before of that.
9654 2001-06-24 The LyX Project <Asger>
9656 * Fix Qt compilation.
9658 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9660 * paragraph.h: renamed several methods to begin with small letter.
9661 several changes to many parts of the code because of this.
9663 2001-06-23 The LyX Project <jug@sad.it>
9665 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9666 rewritten to discard all double spaces when KeepEmpty is off
9667 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9668 to only handle newlines but not fiddle with spaces and friends.
9670 * lyxfunc.C (MenuNew): when doing 'new from template', use
9671 template_path as default directory
9673 2001-06-23 The LyX Project <Asger>
9675 * Clean-up of header file includes all over
9676 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9678 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9680 * paragraph.h: renamed from lyxparagraph.h
9682 2001-06-23 Asger <lyx@violet.home.sad.it>
9684 * Buffer.h: Removed Buffer::resize
9685 * BufferList.h: Removed BufferList::resize
9686 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9687 the document lazily when we change the width, or the font settings.
9689 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9691 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9693 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9695 * buffer.h: remove out of date comment
9697 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9700 * screen.C: fix "theoretical" GC leak
9702 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9704 * LaTeX.C (scanAuxFile):
9705 (deplog): remove trailing \r when reading stream (useful under
9708 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9710 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9711 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9712 and BufferView::theLockingInset(Inset*), so should use them and not
9713 access bv_->text->the_locking_inset directly.
9715 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9717 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9720 * tex-defs.h: remove old unused file
9722 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9724 * BufferView_pimpl.C: fix typo, remove minibuffer message
9725 when buffer has loaded
9727 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9729 * lyxfunc.C (Dispatch): use stringstream
9730 (MenuNew): use stringstream
9731 (Open): use stringstream
9733 * importer.C (Import): use stringstream
9735 * bufferview_funcs.C (CurrentState): use stringstream
9737 * LaTeX.C (run): use stringstream
9739 * BufferView_pimpl.C (savePosition): use stringstream
9740 (restorePosition): use stringstream
9741 (MenuInsertLyXFile): use stringstream
9743 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9756 * vspace.C: removed // -*- C++ -*- as first line.
9759 * version.h: added // -*- C++ -*- as first line.
9761 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9763 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9765 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9768 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9770 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9773 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9775 * gettext.C: include LString.h even when --disable-nls is on.
9777 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9779 * converter.h (Get): changed argument type from int to
9780 FormatList::size_type to avoid unnecessary conversion.
9782 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9785 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9787 * gettext.h: include LString.h even when --disable-nls is on.
9789 2001-06-07 Juergen Vigna <jug@sad.it>
9791 * text.C (BreakAgain): subst spaces with tabs.
9793 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9794 (resizeInsetsLyXText): set force on resizeLyXText.
9796 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9798 * gettext.h (gettext_init):
9799 (locale_init): use a real definition instead of a macro
9801 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9803 * Bufferview_pimpl.C:
9805 * LColor.C: further lcolor tidies
9807 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * BufferView_pimpl.C (updateScrollbar): simplify.
9811 * BufferView2.C: don't include insets/insetinfo.h, change
9812 prototype for insertInset and call the Pimpl version. let
9813 updateInset call Pimpl version.
9815 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9816 gotoInset to BufferView::Pimpl
9818 2001-06-01 Juergen Vigna <jug@sad.it>
9820 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9821 inside a LockingInset (is the update needed at all?).
9823 2001-05-31 Juergen Vigna <jug@sad.it>
9825 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9826 here not the old one otherwise how should we compare it afterwards
9829 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * FontInfo.C: bring C functions into global namespace when
9837 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9839 * LString.h: make sure config.h has been loaded before LString.h.
9841 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9842 (one for each char read by EatLine!).
9844 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9847 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9849 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9850 to the same as the par we break from
9852 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9854 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9856 * MenuBackend.C (expand): also create menu entries for wide
9857 versions of the floats.
9859 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9861 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9863 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9864 frontends/Makefile.am
9870 * tabular.C (getTokenValue): add std::
9872 * tabular-old.C (getTokenValue): add std::
9873 (getTokenValue): ditto
9874 (getTokenValue): ditto
9876 * screen.C (ToggleSelection): adjust
9878 * lyxtext.h: put selection cursors inside a Selection struct.
9880 * lyxfunc.C (moveCursorUpdate): adjust
9882 * lyxfont.C (latexWriteStartChanges): add std::
9886 * font.h: delete with(char const *, LyXFont const &)
9888 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9890 * FontInfo.C (getFontname): add std::
9892 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9893 (workAreaButtonPress): adjust
9894 (tripleClick): adjust
9896 (moveCursorUpdate): adjust
9899 * BufferView2.C (gotoInset): adjust
9901 2001-05-30 Juergen Vigna <jug@sad.it>
9903 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9904 to check pspell I add this as default as I now have new pspell
9905 libraries and they seem to use this.
9907 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9909 * text2.C (CutSelection): make the cursor valid before the call to
9912 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9914 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9915 relied on 0 terminated strings and other horrors. Bug found due to
9916 the new assert in lyxstring!
9918 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9921 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9923 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9926 * lyxfunc.C (processKeySym): change method of getting to the
9929 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9930 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9931 * BufferView_pimpl.[Ch]: here as private methods.
9933 2001-05-28 Juergen Vigna <jug@sad.it>
9935 * text.C (SetHeightOfRow): added the update() call again as it is
9936 needed to initialize inset dimensions!
9938 2001-05-16 Juergen Vigna <jug@sad.it>
9940 * text2.C (SetCharFont): Add new function with BufferView * and
9941 bool toggleall parameters for setting insets internal fonts.
9942 (SetFont): Freeze the undo as we may change fonts in Insets and
9943 all this change should be inside only one Undo!
9945 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9946 setting font's in insets as for them we have the SetFont function!
9948 2001-05-15 Juergen Vigna <jug@sad.it>
9950 * text2.C (ClearSelection): to be sure we REALLY don't have any
9953 * tabular.C (TeXCellPreamble): fixed the left border problem for
9956 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9958 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9961 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9963 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9964 LFUN_BREAKPARAGRAPH.
9966 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9967 help test to "internal only", similar for LFUN_INSERT_URL
9969 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9970 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9971 auto_region_delete and deadkeys.
9973 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9976 * LColor.C: remove some dead entries, tidy a little
9978 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9980 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9982 (Dispatch): implement LFUN_ESCAPE
9984 * commandtags.h: add LFUN_ESCAPE
9986 * LyXAction.C (init): add entry for LFUN_ESCAPE
9988 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9989 Remove commented code.
9990 (insertNote): moved here
9991 (open_new_inset): moved here
9993 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9996 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9998 * kbmap.C (findbinding): clean it up and make it work correctly.
10000 * lyx_main.C (init): do not pass argc and argv as parameters
10002 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10004 * buffer.C: fix path for OS/2 & Win32
10008 * lyx_main.C: Added os:: class.
10010 * os2_defines.h: update
10012 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10014 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10015 better by trying again with reduced state.
10017 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10019 * lyxrc.C (read): print error about invalid key sequence only when
10020 debugging (because not all latinX keysyms are known to some X
10023 * kbsequence.C (getiso): add a few std:: qualifiers
10024 (getiso): comment out extra return statement.
10026 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10028 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10030 (Dispatch): enhance the accent inset a bit. (not perfect)
10032 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10034 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10036 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10038 * bufferlist.C (emergencyWrite): fix assert() call
10040 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10042 * text.C (InsertChar): Added trivial patch to only send the "you
10043 can not do multiple spaces this way" message once during a
10046 2001-05-08 Baruch Even <baruch@lyx.org>
10048 * Makefile.am: Changed order of libraries to get LyX to link properly
10049 with the gnome frontend.
10051 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10053 * LaTeXFeatures.h: add a std:: qualifier
10055 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10057 * paragraph.C (String): use stringstream
10059 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10061 * paragraph.C (writeFile): remove footflag arg
10063 * buffer.C (makeLaTeXFile): use stringstream
10064 (latexParagraphs): remove footnot gurba
10066 * LaTeXFeatures.C (getPackages): use stringstream
10067 (getMacros): likewise
10068 (getTClassPreamble): likewise
10069 (getFloatDefinitions): new method
10071 * paragraph.C (writeFile): reindent
10074 * WorkArea.h: revert the xpos + etc changes.
10076 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10078 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10080 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10081 (pasteSelection): likewise
10082 * text2.C (CreateUndo): likewise
10084 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10086 * minibuffer.C (peek_event): temporarily reduce the functionality
10087 of the minibuffer (to allow args on lfuns)
10089 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10090 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10092 * buffer.C (readInset): add compability reading of old float
10093 lists, add reading of new style float list.
10094 (readInset): avoid reevaluation of inscmd.getCmdName()
10095 (getLists): reindent
10097 * MenuBackend.C (MenuItem): implement parsing of
10098 md_floatlistinsert and md_floatinsert.
10099 (expand::LastFiles): move initalizaton of iterators out of loop,
10100 avoid reevaluation.
10101 (expand::Documents): introduce typdedef vector<string> Strings,
10103 (expand::ExportFormats): introduce typedef vector<Format const *>
10104 Formats, and use it.
10105 (expand): implement FloatListInsert and FloatInsert.
10107 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10108 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10109 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10111 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10113 (Dispatch::LFUN_FLOAT_LIST): implement
10115 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10117 * LaTeX.C (run): Fix problem with --export code.
10119 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10121 * BufferView.[Ch] (workarea): removed.
10122 (getClipboard) new method; wrapper for workarea()->getClipboard()
10124 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10127 * WorkArea.h (width, height, xpos, ypos): These methods all
10128 returned the dimensions of the work_area sub-area of WorkArea,
10129 resulting in a position error if the WorkArea were resized. Now
10130 return the dimensions of the entire WorkArea.
10132 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10134 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10136 * LaTeX.C (deplog): correct the syntax of regex reg1
10138 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10140 * undo.C: remove !NEW_INSETS cruft
10142 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10144 * text2.C: remove !NEW_INSETS cruft
10146 * text.C: remove !NEW_INSETS cruft
10148 * tabular.C: remove !NEW_INSETS cruft
10150 * spellchecker.C: remove !NEW_INSETS cruft
10152 * lyxtext.h: remove !NEW_INSETS cruft
10154 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10156 * lyxfunc.C: remove !NEW_INSETS cruft
10158 * lyxfind.C: remove !NEW_INSETS cruft
10160 * lyx_cb.C: remove !NEW_INSETS cruft
10162 * figureForm.C: remove !NEW_INSETS cruft
10164 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10166 * buffer.[Ch]: remove !NEW_INSETS cruft
10168 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10170 * CutAndPaste.C: remove !NEW_INSETS cruft
10172 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10174 * BufferView2.C: remove !NEW_INSETS cruft
10176 * BufferView.h: remove !NEW_INSETS cruft
10178 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10180 * Lsstream.h: include LString.h before the sstream headers to
10181 fix problem with gcc 2.95.3 and lyxstring
10183 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10185 * lyx_main.C: add using directives when needed for C functions
10186 declared in std:: namespace.
10188 2001-04-27 Juergen Vigna <jug@sad.it>
10190 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10191 (SetHeightOfRow): comment out the update call should not be needed!
10193 2001-04-13 Juergen Vigna <jug@sad.it>
10195 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10196 (LyXTabular): tried to minimize operator= operations (and realized
10197 hopfully Lars wish).
10199 2001-04-27 Juergen Vigna <jug@sad.it>
10201 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10203 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10205 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10207 * buffer.C (readInset): hack to make listof algorithm work
10209 * BufferView_pimpl.C: hack to make listof algorithm work
10211 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10213 * LyXAction.C: removed all !NEW_INSETS cruft
10214 (init): moved lfun_item in method
10216 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10218 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10220 * BufferView2.C (theLockingInset): white space.
10222 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10224 * minibuffer.C: include <iostream>
10226 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10228 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10230 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10232 * text.[Ch] (TransposeChars): new method
10234 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10236 * call message directly through LyXView instead of through LyXFunc
10237 * BufferView2.C: adjust
10238 * BufferView_pimpl.C: adjust
10239 * FontLoader.C: adjust
10241 * bufferview_funcs.C: adjust
10242 * converter.C: adjust
10243 * figureForm.C: adjust
10244 * importer.C: adjust
10246 * lyx_gui_misc.C: adjust
10247 * lyxfunc.C: adjust
10250 + more files in subdirs
10252 * lyxparagraph.h (size): move up int file
10255 * adjust all uses of Assert to lyx::Assert.
10257 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10258 lyxfunctional in namespace lyx
10259 * layout.C (hasLayout): ditto
10262 (delete_layout): ditto
10263 (NumberOfClass): ditto
10264 * converter.C (GetFormat): ditto
10269 * bufferlist.C (getFileNames): ditto
10270 (emergencyWriteAll): ditto
10273 * MenuBackend.C (hasSubmenu): ditto
10276 * BufferView_pimpl.C (getInsetByCode): ditto
10278 2001-04-18 Juergen Vigna <jug@sad.it>
10280 * vspace.C (asLatexString): fixed the 100% problem.
10282 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10284 * lyxfunc.C (Dispatch):
10286 * minibuffer.h: add a few std:: qualifiers
10288 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10290 * minibuffer.[Ch]: reimplement so that commands is initiated and
10291 run from lyxfunc, simplified som handling, and made the completion
10292 and history code for complete. wip.
10294 * lyxfunc.C (processKeySym): call message
10295 (miniDispatch): new temporary method
10296 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10297 (LFUN_MESSAGE): implement
10298 (LFUN_MESSAGE_PUSH): implement
10299 (LFUN_MESSAGE_POP): implement
10300 (initMiniBuffer): the initial/defualt minibuffer message.
10302 * lyxfont.[Ch]: inline some more getters
10304 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10306 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10308 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10309 (AutoSave): use LFUN_MESSAGE
10310 (Reconfigure): ditto
10312 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10314 * figureForm.C: use LFUN_MESSAGE
10316 * converter.C (runLaTeX): use LFUN_MESSAGE
10318 * bufferview_funcs.C: use LFUN_MESSAGE
10320 (changeDepth): ditto
10322 * bufferparams.h: use boost::
10324 * bufferlist.h: inherit privately from noncopyable
10326 * bufferlist.C (loadLyXFile): remove some commented code.
10328 * buffer.C (runChktex): use LFUN_MESSAGE
10330 * ShareContainer.h: inherit privately from noncopyable
10332 * ParagraphParameters.[hC] (depth): inline it.
10334 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10336 (message): new method
10337 (messagePush): ditto
10338 (messagePop): ditto
10339 (show): init minibuffer
10340 (showState): direct call
10342 * LaTeX.[Ch]: inherit privately from noncopyable
10343 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10344 instead of WriteStatus.
10346 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10348 * BufferView_pimpl.C (buffer): don't init minibuffer
10349 (workAreaButtonPress): use LFUN_MESSAGE
10350 (workAreaButtonRelease): ditto
10351 (savePosition): ditto
10352 (restorePosition): ditto
10353 (MenuInsertLyXFile): ditto
10354 (workAreaExpose): don't init minibuffer
10355 (update): remove commented code, simplify
10357 * BufferView2.C (openStuff): use LFUN_MESSAGE
10358 (toggleFloat): ditto
10361 (copyEnvironment): ditto
10362 (pasteEnvironment): ditto
10367 (updateInset): remove some commented code
10369 * lastfiles.h: inherit privately from noncopyable
10372 * lyx_main.h: ditto
10374 * lyxlex_pimpl.h: ditto
10376 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10377 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10378 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10380 * LyXAction.h: inherit privately from noncopyable, add methods
10381 func_begin, func_end, returning iterators to the func map.
10383 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10384 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10385 (func_begin): new method
10386 (func_end): new method
10388 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10390 (copySelection): ditto
10391 (pasteSelection): ditto
10393 * BufferView.C: whitespace change
10394 * BufferView.h: inherit privately from noncopyable
10396 2001-04-16 Allan Rae <rae@lyx.org>
10398 * tabular-old.C (l_getline):
10399 * spellchecker.C (sc_check_word):
10400 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10401 an unrecognised preprocessor directive. So ensure they're wrapped.
10403 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10405 * src/exporter.C (Export): Give an error message when path to file
10408 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10410 * LaTeX.C (deplog): Always check that foundfile exists.
10412 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10415 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10417 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10419 * tabular.[Ch] (getLabelList): implement new method
10421 * minibuffer.h: comment ouf setTiimer
10423 * minibuffer.C (ExecutingCB): constify res
10424 (peek_event): constify s
10425 (Set): constify ntext
10426 (Init): constify nicename
10428 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10430 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10431 (savePosition): use two params to Minibuffer::Set
10432 (restorePosition): ditto
10434 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10436 * lyx_main.C: include language.h
10438 * Makefile.am (lyx_main.o): add language.h
10440 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10446 * CutAndPaste.C: include gettext.h
10448 * lyxfont.h: remove old hack with ON and OFF.
10451 * lyxfont.h: do not include language.h...
10456 * bufferview_funcs.C:
10462 * paragraph.C: ... but do it here instead
10464 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10466 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10468 * tabular.C: small reformat
10470 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10473 (BreakParagraph): ditto
10474 (SetOnlyLayout): ditto
10477 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10480 * lastfiles.C: removed most using decl, add std:: where needed
10482 * buffer.C: ws changes
10484 * MenuBackend.C (class compare_format): put into anon namespace
10485 (expand): constify label, names, action, action2
10488 * text.C (SingleWidth): constify font
10489 (IsBoundary): constify rtl2
10490 (GetVisibleRow): constify ww
10492 * LaTeX.C (deplog): constify logfile
10494 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10496 (workAreaExpose): constify widthChange, heightChange
10498 * lyxrow.C (par): moved
10501 * lyxrow.h: as inlines here
10503 * lyxfont.h (shape): moved from lyxfont.C
10504 (emph): moved from lyxfont.C
10506 * lyxfont.C (LyXFont): use initialization list for all
10508 (shape): move to lyxfont.h as inline
10509 (emph): move to lyxfont.h as inline
10512 2001-04-04 Juergen Vigna <jug@sad.it>
10514 * vspace.C: had to include stdio.h for use of sscanf
10516 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10519 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10520 independent of xforms.
10522 2001-04-02 Juergen Vigna <jug@sad.it>
10524 * spellchecker.C: fixed namespace placing!
10526 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10528 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10529 the LyXParagraph * is 0.
10531 2001-03-29 Juergen Vigna <jug@sad.it>
10533 * vspace.C: added support for %, c%, p%, l%.
10534 (stringFromUnit): added helper function.
10535 (asLatexString): changed to give right results for the %-values.
10537 * buffer.C: convert the widthp in a width%.
10539 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10541 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10544 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10545 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10547 * lyx_cb.[Ch]: see above.
10549 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10553 * lyx.[Ch]: replaced by figure_form.[Ch].
10557 * lyxfunc.C: changed headers associated with above changes.
10559 2001-03-27 Juergen Vigna <jug@sad.it>
10561 * BufferView_pimpl.C: set the temporary cursor right!
10563 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10565 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10567 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10569 * LString.h: removed "using std::getline"!
10571 * BufferView_pimpl.C (Dispatch): changes due to changes in
10572 InsetInclude::Params.
10574 * buffer.C (tag_name): removed redundant break statements as they were
10575 producing lots of warnings with my compiler.
10577 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10579 * LString.h: add "using std::getline" when using the real <string>.
10581 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10583 * buffer.C: removed bitset usage.
10584 PAR_TAG moved to an anonymous name space.
10585 (tag_name): new funtion, also in the anonymous namespace.
10586 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10587 (makeDocBookFile): clean code. Completed transition from string arrays
10589 (SimpleDocBookOnePar): code clean.
10591 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10593 * tabular.C: add some comments.
10595 2001-03-22 Juergen Vigna <jug@sad.it>
10597 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10598 compatibility read a bit and fixed bug with minipage in different
10601 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10603 * buffer.C (pop_tag): removed.
10604 (push_tag): removed.
10605 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10606 array replaced with vector. Added support for CDATA sections.
10607 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10609 (makeDocBookFile): XML conformant declaration of CDATA section,
10610 fixed bug related to <emphasis> in the first paragraph char.
10611 (sgmlOpenTag): exclude empty tags.
10612 (sgmlCloseTag): ditto.
10614 * buffer.h (pop_tag): removed.
10615 (push_tag): removed.
10617 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10619 * language.h (Languages): added size_type and size().
10621 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10623 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10624 response on compability reading of minipages. One probliem is that
10625 the old usage of minipages was «flertydig»
10627 * several files here and in subdirs: don't use static at file
10628 scope use anon namespaces instead.
10630 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10632 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10633 LaTeX output. This is necessary for Literate document
10636 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10638 * buffer.C: insert hfill when needed.
10640 * tabular.C (l_getline): use string::erase, small whitespace change.
10642 * BufferView_pimpl.C: try the anon namespace.
10643 * WorkArea.C: ditto
10645 2001-03-16 Juergen Vigna <jug@sad.it>
10647 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10648 otherwise it won't open options-dialogs.
10650 * buffer.C: honor pextraWidth(p) on converting minipages.
10652 * tabular.C (l_getline): changed the functions to strip trailing \r.
10654 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10656 * BufferView_pimpl.C:
10657 * minibuffer..C: added "using SigC::slot" declaration.
10659 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10661 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10667 * paragraph.C: ditto
10669 * lyxtext.h: NO_PEXTRA
10671 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10673 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10674 * ParameterStruct.h: ditto
10675 * ParagraphParameters.h: ditto
10676 * lyxparagraph.h: ditto
10678 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10680 * buffer.C: add compability for minipage alignment.
10681 (latexParagraphs): remove unwanted pextra check.
10683 * several files: remove CXX_WORKING_NAMESPACES
10685 * buffer.C (pop_tag): tie is in namespace boost
10687 * BufferView.h: noncopyable is in namespace boost
10689 * lyx_main.h: ditto
10692 * lastfiles.h: ditto
10693 * bufferlist.h: ditto
10694 * ShareContainer.h: ditto
10696 * LyXAction.h: ditto
10699 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10701 * Merging changes from BRANCH_MVC back into HEAD.
10703 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10705 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10707 * BufferView_pimpl.C: change from intl.C
10711 * Makefile.am: move combox.*
10717 * intl.C: remove dialog (covered by prefs)
10719 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10721 * lyxfunc.C (Dispatch): removed redundant break statement.
10723 2001-03-14 Juergen Vigna <jug@sad.it>
10725 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10727 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10729 * buffer.C: add hack to fix compability reading of minipages.
10731 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10733 * buffer.C (getLists): Cleanup.
10735 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10737 * lyxfont.C (update): don't honor toggleall on font size.
10739 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10743 * Makefile.am: moved to frontends/xforms/
10747 * BufferView_pimpl.C: changes for moved mathpanel
10749 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10751 * gettext.h: fix gettext_init() in --disable-nls
10753 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10755 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10757 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10760 * lyx.h: strip external form
10762 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10764 * BufferView_pimpl.C: add comment, destroySplash()
10766 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10768 * BufferView_pimpl.C:
10772 * lyxfunc.C: use re-worked insetinclude
10774 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10776 * buffer.C: add using std::stringstream.
10778 * lyx_cb.C: readd using std::ios.
10780 * buffer.C: add using std::map.
10782 * BufferView_pimpl.C: add using std::vector.
10784 * ShareContainer.h: add std:: to swap.
10786 * buffer.h: add some typedefs
10787 * buffer.C (getLists): use them
10788 (getLists): renamed from getTocList.
10789 add a counter for the different float types and use it in the
10791 (getLists): use the same counter for the NEW_INSETS and the "non"
10794 * lyx_cb.h: remove unused items, includes, using etc.
10796 * ShareContainer.h: remove some commented code, add more comments
10797 and "documentation".
10799 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10801 * buffer.C (getTocList): make the list also when NEW_INSETS is
10804 * buffer.h: remove TocType
10806 * buffer.C (getTocList): change to return a map<string,
10807 vector<TocItem> >, implement for dynamic number of list.
10809 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10810 * text2.C (PasteSelection): adjust
10811 * CutAndPaste.C (pasteSelection): adjust
10813 * FloatList.C (FloatList): update from the new_insets branch.
10814 * Floating.[Ch]: ditto
10815 * LaTeXFeatures.C: ditto
10817 * lyxlex_pimpl.C: ditto
10819 * paragraph.C (Last): remove when NEW_INSETS is defined.
10821 * other file: changes because of the above.
10823 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10825 * lyxparagraph.h: rename next to next_, previous to previous_,
10826 make them private for NEW_INSETS. Rename Next() to next(),
10827 Previous() to previous().
10829 * other files: changes because of the above.
10831 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10834 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10837 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10839 * main.C (main): pass lyx_localedir to gettext_init().
10841 * gettext.h: remove locale_init and gettext_init macros
10843 * gettext.C (locale_init): new function
10844 (gettext_init): new function
10846 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10849 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10851 * Moved credits to frontends:
10852 * credits.[Ch]: removed
10853 * credits_form.[Ch]: removed
10854 * lyx_gui_misc.C: remove credits stuff
10857 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10859 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10861 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10862 unneeded destructor.
10864 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10865 a standalone pointer again.
10867 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10869 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10875 * ToolbarDefaults.C:
10884 * BufferView_pimpl.C: use new file dialog in GUII
10887 * lyx_cb.C: remove LayoutsCB to Toolbar
10889 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10891 * ShareContainer.h (get): add std:: qualifier
10893 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10895 * ShareContainer.h: define a proper ShareContainer::value_type
10896 type (and use typename to please compaq cxx)
10898 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10900 * lyxparagraph.h: move serveral local vars to
10901 ParameterStruct/ParagraphParameters., use ShareContainer in
10902 FontTable., make vars in FontTable private and add getter and
10905 * paragraph.C: changes because of the above.
10907 * lyxfont.h: remove copy constructor and copy assignment. (the
10908 default ones is ok), move number inside FontBits. move inlines to
10911 * lyxfont.C: add number to initializaton of statics, move several
10912 inlines here. constify several local vars. some whitespace
10913 cleanup. Dont hide outerscope variables.
10915 * Spacing.h: add two new constructors to match the set methods.
10917 * ShareContainer.h: new file, will perhaps be moved to support
10919 * ParameterStruct.h: new file
10921 * ParagraphParameters.h: new file
10923 * ParagraphParameters.C: new file
10925 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10926 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10928 * BufferView_pimpl.C: ParagraphParameter changes.
10929 * buffer.C: Likewise.
10930 * bufferview_funcs.C: Likewise.
10931 * text.C: Likewise.
10932 * text2.C: Likewise.
10934 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10936 * lyxfind.C (LyXReplace): do not redefine default argument in
10938 (IsStringInText): ditto
10939 (SearchForward): ditto
10940 (SearchBackward): ditto
10942 2001-03-06 Juergen Vigna <jug@sad.it>
10944 * lyxfind.C (IsStringInText): put parentes around expressions.
10946 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10948 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10950 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10952 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10954 * stl_string_fwd.h: add comment
10956 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10959 * tabular.C: remove unused DocBook methods
10965 killed DO_USE_DEFAULT_LANGUAGE
10967 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10969 * lyx_gui.C: do not include language.h.
10971 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10972 arguments in function implementation.
10974 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10976 * BufferView_pimpl.C: add <ctime>
10978 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10980 * BufferView_pimpl.C: add using std::find_if
10982 2001-02-27 José Matos <jamatos@fep.up.pt>
10984 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10987 2001-02-11 José Matos <jamatos@fep.up.pt>
10989 * buffer.C (makeDocBookFile): command styles now have a parameter as
10990 "title" by default.
10992 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10994 * layout_forms.[Ch]: removed
10995 * lyx_cb.[Ch]: out character
10996 * lyx_gui.C: out character
10997 * lyx_gui_misc.C: out character
10998 * bufferview_funcs.C: : out character,
10999 added toggleall as parameter in ToggleAndShow
11001 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11003 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11005 * text2.C (SetCurrentFont): Disable number property at boundary.
11007 2001-02-26 Juergen Vigna <jug@sad.it>
11009 * lyxfunc.C (getStatus): added a string argument override function so
11010 that this is correctly called from LyXFunc::Dispatch if it contains a
11011 do_not_use_argument which is used!
11012 (Dispatch): added check for "custom" export and call appropriate func.
11014 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11016 * lyxrc.C: Add language_command_local, language_use_babel and
11017 language_global_options.
11019 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11021 * buffer.C (makeLaTeXFile): Use language_use_babel and
11022 language_global_options.
11024 2001-02-23 Juergen Vigna <jug@sad.it>
11026 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11027 which works with LyXText and putted it inside BufferView. Here now we
11028 only call for that part the BufferView::Dispatch() function.
11030 * BufferView.C (Dispatch): added.
11032 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11033 functions which needs to use a LyXText over from LyXFunc.
11034 (MenuInsertLyXFile): added
11035 (getInsetByCode): added
11036 (moveCursorUpdate): added
11037 (static TEXT): added
11039 2001-02-22 Juergen Vigna <jug@sad.it>
11041 * BufferView_pimpl.C (update): call a status update to see if LyXText
11044 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11046 * vc-backend.C (revert): implement for CVS
11047 (getLog): implement for CVS
11049 2001-02-20 Juergen Vigna <jug@sad.it>
11051 * text2.C (ClearSelection): added BufferView param for inset_owner call
11053 * lyxfunc.C (TEXT): added this function and use it instead of
11054 directly owner->view()-text of getLyXText().
11056 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11058 * src/layout_forms.C: out preamble
11059 * src/layout_forms.h: out preamble
11060 * src/lyx_cb.C: out preamble
11061 * src/lyx_cb.h: out preamble
11062 * src/lyx_gui.C: out preamble
11063 * src/lyx_gui_misc.C: out preamble
11064 * src/lyxfunc.C: connect with guii preamble
11066 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11068 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11070 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11072 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11073 whether to run bibtex.
11075 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11077 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11079 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11081 * Makefile.am (lyx_SOURCES): removed bibforms.h
11083 * vspace.h: doxygen
11085 * text.C (GetVisibleRow): make several local vars const
11087 * tabular.C: small cleanup.
11089 * lyxserver.C (callback): use compare instead of strncmp
11091 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11092 inlines to after class or to paragraph.C
11094 * lyxfont.h: remove friend operator!=
11096 * converter.h: move friend bool operator< to non friend and after
11099 * combox.h: small cleanup
11101 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11102 to inlines after class def.
11104 * buffer.C (pop_tag): use string operations instead of strcmp
11106 * bmtable.c: doxygen, small cleanup
11108 * LaTeX.h: remove friend operator==
11110 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11122 * BufferView_pimpl.C:
11123 * BufferView.[Ch]: remove cruft
11125 2001-02-14 Juergen Vigna <jug@sad.it>
11127 * lyxfunc.C: removed #if 0 unused code
11129 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11131 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11133 * text2.C (SetSelection): added a BufferView * parameter
11135 2001-02-13 Juergen Vigna <jug@sad.it>
11137 * lyxfunc.C (Dispatch): fixed protected blank problem.
11138 * BufferView2.C (protectedBlank): added LyxText * parameter.
11140 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11141 (AppendColumn): same as above for column_info.
11143 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11144 (moveCursorUpdate): use a LyXText param for support of InsetText.
11146 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11147 (tripleClick): ditto
11149 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11151 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11153 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11155 * text2.C (SetSelection): set correct update status if inset_owner
11156 (ToggleFree): ditto
11158 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11160 * tabular.C: remove some commented code.
11162 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11164 * BufferView_pimpl.C: call hideSplash()
11166 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11169 * bibforms.h: remove
11172 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11173 add LFUN_CHILD_CREATE
11175 * counters.h: fix tiny typo
11180 * lyx.C: move splash to frontends/xforms/
11182 * lyx_gui_misc.C: move Include and Bibform to frontends
11184 * lyxvc.h: clarify comment
11186 * vspace.C: tiny housekeeping
11188 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11190 * text.C (PrepareToPrint): RTL Fix.
11192 * paragraph.C (GetUChar): New method.
11193 (String): Use GetUChar.
11195 * buffer.C (asciiParagraph): Use GetUChar.
11197 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11199 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11201 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11204 * buffer.C: rename to getLogName(), handle
11205 build log / latex log nicely
11207 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11210 * MenuBackend.h: remove support for reference menuitem type.
11212 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11214 * BufferView_pimpl.C: housekeeping
11215 * BufferView_pimpl.h:
11220 * minibuffer.h: move Timeout GUI-I
11222 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11224 * lyxrc.C (read): Update converters data-structures.
11226 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11228 * LaTeX.h (operator!=): add operator != for Aux_Info
11230 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11232 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11234 * LaTeXLog.C: deleted, useful code moved to Buffer
11237 * buffer.C: new function getLatexLogName()
11243 * lyxfunc.C: use frontends for LaTeX and VC logs
11245 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11247 * LaTeX.h: yet another std:: that Allan forgot.
11249 * Variables.C (set): renamed from isset(), because this clashes
11250 with some HP-UX macros (grr).
11252 2001-02-06 Allan Rae <rae@lyx.org>
11254 * LaTeX.h: Another bug fix. Missing std:: this time.
11256 2001-02-04 Allan Rae <rae@lyx.org>
11258 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11259 floats problem. I've left it commented out because it's not quite
11260 correct. It should also test that the current object is a table or
11261 figure inset. But I haven't gotten around to figuring out how to do
11262 that. I *think* it'll be something like: "table" == inset.type()
11264 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11267 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11269 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11270 all the citation/databases/styles in the auxilary file.
11271 (run): Rerun latex if there was a babel language error.
11273 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11275 * text.C (Backspace): Preserve the font when changing newline char
11277 (BreakParagraph): If the cursor is before a space, delete the space.
11279 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11281 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11283 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11284 new argument (code).
11285 (ChangeCitationsIfUnique): New method.
11287 * paragraph.C (GetPositionOfInset): Handle bibkey.
11289 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11291 * BufferView_pimpl.h: change type of Position::par_pos to
11292 LyXParagraph::size_type.
11294 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11296 * BufferView_pimpl.C (savePosition, restorePosition): Write
11297 messages to minibuffer.
11299 2001-01-28 José Matos <jamatos@fep.up.pt>
11301 * buffer.C (makeDocBookFile): adds support for document language.
11302 A silly restriction on the name of LatexCommand types where removed.
11303 Added support for CDATA sections, allows to chars unescaped, used
11304 among others in code, to avoid escape < and >.
11306 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11308 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11309 saved positions instrad of a stack. Furthermore, a position is
11310 stored using paragraph id/paragraph position.
11312 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11313 Remove LFUN_REF_BACK.
11315 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11317 * converter.C (dvipdfm_options): New method.
11319 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11321 * vspace.C (isValidLength): Fix for empty input string.
11323 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11325 * LyXAction.C (init): change description of LFUN_FIGURE to
11328 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11330 * LaTeX.C: add using directive
11332 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11334 * MenuBackend.C (expand): Fix the sorting of the formats.
11336 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11338 * lyx_main.C: tiny error message fix
11340 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11342 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11343 calling fl_initialize(). This fixes the problem with ',' as
11344 decimal separator in text files.
11346 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11348 * trans.C (process): Fix the keymap bug.
11350 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11352 * LaTeX.C (scanAuxFiles): New method. Provides support for
11353 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11354 (scanLogFile) Scan for "run BibTeX" messages.
11356 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11357 OT1 font encoding. Also, load the aecompl package if the ae
11360 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11362 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11364 * texrow.C (increasePos): turn two error messages into debug
11367 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11369 * LaTeX.C (scanAux): Handle the \@input macro.
11370 (runBibTeX): Use scanAux().
11372 * language.C (latex_options_): New field.
11374 * LaTeXFeatures.C (getMacros): Add language macros.
11376 * buffer.C (makeLaTeXFile): Small fix.
11378 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11380 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11382 * text2.C: add a using directive.
11384 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11389 * lyxfunc.C: kill LyXBell.
11391 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11393 * text.C (IsBoundary): Remove the error message
11395 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11397 * lyxrc.C (setDefaults): Correct initialization value for
11400 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11402 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11405 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11406 and GotoNextNote().
11408 * src/LyXAction.C: Added reference-next.
11410 * text.C (InsertChar): Use contains instead of strchr.
11412 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11414 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11416 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11417 alignment commands (when needed).
11419 * text.C (InsertChar): Add ':' to number separator chars.