1 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
3 * buffer.[Ch]: added the parseError signal and use it, removed
5 * BufferView.[Ch] (addError): moved to ...
6 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7 to the Buffer::parseError signal to catch (guess what) parse errors
8 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
10 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
12 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
13 ability to create a buffer and to return an existing one from
14 the list. Moved these functions to...
15 * buffer_funcs.[Ch]: added
16 * BufferView.[Ch] (loadLyXFile): added
17 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
18 job removed from bufferlist::loadLyXFile.
19 * buffer.C (setReadOnly): make it work without view
20 (i.e added an if (users))
22 2003-06-19 Angus Leeming <leeming@lyx.org>
26 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
27 with LFUN_DIALOG_SHOW <name> <data>.
29 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
31 * CutAndPaste.C (availableSelections): small compilation fix for
32 ancient (gcc 2.9x) compilers
34 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
36 * text3.C (cursorNext): add tmp var
38 * text2.C (updateCounters): for function calling out of for clause
39 (replaceSelectionWithString): ditto
40 (insertStringAsParagraphs): ditto
41 (getColumnNearX): add tmp var
42 (setCursorFromCoordinates): add tmp var
43 (cursorDownParagraph): add tmp var
44 (deleteEmptyParagraphMechanism): add tmp var
46 * text.C (insertChar): add tmp var
48 * rowpainter.C (paintDepthBar): add tmp var
50 * CutAndPaste.C (availableSelections): potentially check all
51 paragraphs in a cut to fill the shown strings.
53 2003-06-18 André Pönitz <poenitz@gmx.net>
55 * kbmap.[Ch]: use vector<> instead of list<>
57 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
59 * text3.C (dispatch): handle arg to LFUN_PASTE, call
60 pasteSelection with index
62 * text2.C (pasteSelection): modify, call pasteSelection with index
64 * paragraph.C (asString): reimplement version with no interval to
65 call the one with interval.
67 * lyxtext.h: add index arg to pasteSelection
69 * MenuBackend.C (MenuItem): handle PasteRecent
70 (Menu::read::Menutags): add md_pasterecent
72 (expandPasteRecent): new function
75 * MenuBackend.h: add PasteRecent to MenuItem::Kind
77 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
79 (availableSelections): new function
81 2003-06-17 Angus Leeming <leeming@lyx.org>
83 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
85 2003-06-17 Angus Leeming <leeming@lyx.org>
88 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
90 * lyxfunc.C (dispatch): invoke it.
92 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
94 * iterators.C (operator++, ParPosition): reintroduce some
95 const_cast for the benefit of older compilers.
97 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
99 * text3.C (dispatch): do not modify clipboard when doing
100 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
101 LFUN_DELETE_SKIP on a selection selection
103 2003-06-16 André Pönitz <poenitz@gmx.net>
109 * tabular.[Ch]: IU of clone() and getLabelList();
111 2003-06-13 André Pönitz <poenitz@gmx.net>
113 * tabular.h: compactification
115 2003-06-12 André Pönitz <poenitz@gmx.net>
119 * tabular_funcs.h: some renaming plus whitespace
121 2003-06-12 André Pönitz <poenitz@gmx.net>
124 * BufferView_pimpl.C:
130 * toc.C: Return a Paragraph & for ParIterator::operator*()
132 2003-06-11 John Levon <levon@movementarian.org>
136 * ToolbarBackend.C: add "Toolbars" section and
139 2003-06-10 Angus Leeming <leeming@lyx.org>
142 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
144 * lyxfunc.C (dispatch): invoke it.
146 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
148 * main.C: protect <ios> with HAVE_IOS
149 (main): protect sync_with_stdio with HAVE_IOS
151 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
153 * text2.C (cutSelection): adjust
154 (pasteSelection): adjust
156 * messages.C: handle get of empty string
158 * main.C (main): use sync_with_stdio(false)
160 * lyxfunc.C (dispatch): adjust
162 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
163 (WriteAs): remove unneeded BufferView arg.
165 * bufferparams.h: use correct types on papersize, papersize2 and
168 * bufferparams.C (readToken): adjust for type
169 (writeLaTeX): add missing cases to switch.
171 * bufferlist.C (quitWriteBuffer): adjust
174 * buffer.C (asciiParagraph): remove some commented code.
176 * CutAndPaste.C: remove current_view extern variable.
177 (cutSelection): add BufferParams arg.
178 (eraseSelection): add BufferParams arg.
179 (pasteSelection): add Buffer const & arg
181 2003-06-07 John Levon <levon@movementarian.org>
189 * paragraph.C: allow InsetERT to freely space lines,
190 and some consolidation of code
192 2003-06-06 José Matos <jamatos@fep.up.pt>
194 * buffer.C (makeDocBookFile): fix bug #821
196 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
198 * BufferView_pimpl.C (dispatch): use Dialogs::visible
200 2003-06-04 Angus Leeming <leeming@lyx.org>
202 * buffer.C: bump format to 224.
204 2003-06-05 André Pönitz <poenitz@gmx.net>
206 * text2.C (redoParagraphs): remove two const_cast<>
208 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
210 * ParagraphList.h: remove last remnants of NO_STD_LIST
212 2003-06-03 Angus Leeming <leeming@lyx.org>
214 * factory.C (createInset): small change to the way InsetExternal's params
217 2003-06-04 André Pönitz <poenitz@gmx.net>
219 * buffer.h: use Undo directly instead of shared_ptr<Undo>
222 * paragraph.[Ch]: some Inset -> UpdatableInset changes
224 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
226 * undo_funcs.C: make some simple cases of undo work again
228 2003-06-03 John Levon <levon@movementarian.org>
230 * ispell.C: HPUX doesn't have sys/select.h
233 2003-06-03 John Levon <levon@movementarian.org>
235 * CutAndPaste.C: update tabular and include inset
240 * paragraph.C: remove owningBuffer(), don't pass Buffer
243 * factory.C: insetGraphicsParams changed
245 2003-06-02 John Levon <levon@movementarian.org>
251 * text3.C: remove insetparent
253 2003-06-02 John Levon <levon@movementarian.org>
256 * buffer.C: fix inset_iterator.end(), move out of line
259 2003-06-01 John Levon <levon@movementarian.org>
261 * text3.C: use a proper cut/paste when doing inset
262 insert (from Jürgen Spitzmüller)
264 2003-06-01 John Levon <levon@movementarian.org>
266 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
268 2003-05-30 André Pönitz <poenitz@gmx.net>
270 * rowpainter.C: unify second drawing phase
272 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
274 * trans_mgr.C: remove one case of current_view
276 * text2.C (cursorBottom): delete NO_STD_LIST stuff
278 * paragraph_funcs.h: remove paragraph.h include
280 * paragraph.h: delete NO_STD_LIST stuff
282 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
284 * buffer.h: remove paragraph.h include
286 * ParagraphList.C: delete file
288 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
290 * toc.C (getTocList): adjust
292 * paragraph_pimpl.C (validate): adjust
294 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
296 * paragraph.C (Paragraph): adjust
297 (getPositionOfInset): use const_iterator, adjust
298 (bibitem): use const_iterator, adjust
299 (setInsetOwner): adjust
301 * iterators.C (operator++): adjust
303 * InsetList.[Ch]: Replace selfmade iterator with standard
304 vector::iterator also introduce const_iterator. Remove getPos,
305 getInset and setInset from InsetTable. Adjust accordingly.
307 * BufferView.C (lockInset): adjust
308 (ChangeInsets): adjust
310 * tabular.[Ch]: delete commented same_id functions
312 2003-05-28 John Levon <levon@movementarian.org>
314 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
316 2003-05-28 André Pönitz <poenitz@gmx.net>
318 * metricsinfo.[Ch]: remove 'fullredraw' member
320 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
322 * lyxtextclass.C (operator): remove caching.
324 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
328 * text2.C (cursorBottom): adjust
329 (setCounter): use ParagraphList::find, adjust
331 * text.C (workWidth): use ParagraphList::find, adjust
333 * lyxcursor.C (LyXCursor): adjust
335 * buffer.C (inset_iterator): adjust
337 * ParagraphList.h: make iterator(value_type) private, make
338 ParagraphList a friend of iterator.
340 * ParagraphList.C (find): new function
342 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
344 2003-05-27 André Pönitz <poenitz@gmx.net>
346 * dimension.[Ch]: a -> asc, d -> des, w -> wid
348 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
350 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
352 2003-05-26 John Levon <levon@movementarian.org>
354 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
356 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
358 * remove same_id from function signatures, adjust.
360 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
362 * undo_funcs.C (createUndo): use the id functions directly, adjust.
364 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
366 * paragraph.C (Paragraph): get rid of same_ids parameter
368 * ParagraphList.C (insert): adjust
371 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
373 * paragraph_funcs.C (breakParagraph): adjust
374 (breakParagraphConservative): adjust
376 * buffer.C (readParagraph): adjust
378 * ParagraphList.C (insert): take a reference instead of a pointer
381 * paragraph.[Ch] (id): new function
383 * bufferlist.C (newFile): adjust
385 * ParagraphList.C (ParagraphList): adjust
387 (push_back): take a reference instead of a pointer.
389 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
391 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
394 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
395 set else use old code.
397 * ParagraphList.C: remove all NO_NEXT code and only compile this
398 code of NO_STD_LIST is set.
400 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
402 * BufferView_pimpl.C:
412 * graphics/GraphicsConverter.C:
413 * graphics/PreviewLoader.C: header adjustment
415 2003-05-23 Angus Leeming <leeming@lyx.org>
417 * LaTeXFeatures.[Ch] (useBabel): new method.
418 * bufferparams.C (writeLaTeX): use it.
420 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
422 * ParagraphList.h (set): remove unused function.
424 2003-05-23 André Pönitz <poenitz@gmx.net>
427 * BufferView_pimpl.C:
431 * undo_funcs.C: setUndo reworked
433 * iterators.[Ch]: add access to topmost ParagraphList
435 * lyxtext.[Ch] (workWidth): add a const
437 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
439 * texrow.[Ch] (increasePos): remove function
440 * exporter.C (export): removed unused var and outdated comment
442 2003-05-23 Angus Leeming <leeming@lyx.org>
444 * latexrunparams.h: rename fragile as moving_arg.
445 * paragraph.C (simpleTeXOnePar): ditto.
446 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
448 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
450 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
452 (textUndoOrRedo): comment out a currently unused var.
454 * paragraph.h (NO_NEXT): enable NO_NEXT
456 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
458 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
460 * exporter.C (Export): adjust for removeAutoInsets removal.
462 * buffer.C (runChktex): adjust for removeAutoInsets removal.
464 * LyXAction.C (init): remove LFUN_REMOVEERRORS
466 * BufferView.[Ch] (removeAutoInsets): delete function
468 2003-05-22 Angus Leeming <leeming@lyx.org>
470 * latexrunparams.h: add a free_spacing variable.
472 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
473 to pass moving_arg, as the data is stored in runparams.fragile.
475 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
476 to Inset::latexOptional or to simpleTeXOnePar.
478 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
479 free_spacing arg to Inset::latexOptional.
481 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
484 2003-05-22 Angus Leeming <leeming@lyx.org>
486 * latexrunparams.h: add fragile and use_babel variables.
488 * bufferparams.[Ch] (writeLaTeX): return use_babel.
489 * buffer.C (makeLaTeXFile): store this returned value in
490 runparams.use_babel, thus passing it to the inset::latex methods.
492 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
493 simpleTeXSpecialChars as it is now stored in runparams.fragile.
495 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
496 longer has a fragile arg, as it is stored in runparams.fragile.
498 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
499 moving_arg parameter as the data is stored in runparams.fragile.
501 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
502 a fragile parameter as the data is stored in runparams.fragile.
504 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
506 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
508 2003-05-22 Angus Leeming <leeming@lyx.org>
510 * latexrunparams.h: add a 'bool nice' which defaults to false.
512 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
513 now encapsulated within runparams.
515 * bufferlist.C (updateIncludedTeXfiles):
516 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
518 2003-05-22 Angus Leeming <leeming@lyx.org>
520 * latexrunparams.h: new file containing struct LatexRunParams.
521 * Makefile.am: add new file.
523 * LaTeX.[Ch] (c-tor, run):
524 * buffer.[Ch] (makeLaTeXFile):
525 * bufferlist.[Ch] (updateIncludedTeXfiles):
526 * converter.C (convert, scanLog):
527 * converter.[Ch] (runLaTeX):
528 * exporter.C (Export):
529 * paragraph.[Ch] (simpleTeXOnePar):
530 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
531 * paragraph_funcs.[Ch] (latexParagraphs):
532 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
533 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
534 pass around a LatexRunParams parameter.
536 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
538 * paragraph.[Ch]: remove unused constructor
540 * ParagraphList.C (erase): new function, taking two iterators
542 2003-05-22 André Pönitz <poenitz@gmx.net>
544 * undo_funcs.C: remove duplicated code
546 * iterator.[Ch]: operator=
548 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
550 * tabular.C (SetMultiColumn): ws changes
552 * rowpainter.C (paintFirst): get rid of a ->previous
554 * lyx_cb.C (getPossibleLabel): parlist simplification
556 * BufferView.C (ChangeInsets): simplify slightly.
558 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
560 * LyXAction.C: new lfun space-insert, kill protected-space-insert
561 * lfuns.h: new LFUN_SPACE
562 * lyxfunc.C: protected space has a new lfun
563 * paragraph_funcs.C: read new space insets
565 * factory.C: handle new space insets
567 2003-05-22 André Pönitz <poenitz@gmx.net>
570 * BufferView_pimpl.C:
573 * undo_funcs.C: return a ParIterator from getParFromID.
575 * iterators.[Ch]: add two const's
577 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
579 * toc.C (getTocList): adjust
581 * iterators.[Ch]: rework for parlist
583 * buffer.C (par_iterator_begin): adjust
584 (par_iterator_end): adjust
586 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
588 * BufferView.C (removeAutoInsets): adjust
589 (ChangeInsets): adjust
591 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
593 * text.C (top_y): fix bug 1110
595 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
597 * errorlist.[Ch]: added
600 * BufferView_pimpl.C:
601 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
604 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
606 * Makefile.am: ensure that lyx is relinked upon changes to the
607 various "convenience" libs.
609 2003-05-20 Angus Leeming <leeming@lyx.org>
611 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
612 files are compiled in alphabetical order again.
614 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
616 2003-05-19 Angus Leeming <leeming@lyx.org>
618 * gettext.[Ch]: remove "char const * _(char const *)".
620 2003-05-19 André Pönitz <poenitz@gmx.net>
622 * dimension.[Ch]: promote from mathed/dimension.[Ch]
631 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
633 2003-05-19 André Pönitz <poenitz@gmx.net>
639 * paragraph_funcs.[Ch]:
641 * text3.C: more insetenv work
643 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
645 * ParagraphParameters.C (params2string): small bug fixed
647 2003-05-16 André Pönitz <poenitz@gmx.net>
650 * bufferview_funcs.C: patch from Kornel Benko to prevent
651 crash when _(...) is called twice in a statement
653 2003-05-16 André Pönitz <poenitz@gmx.net>
660 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
662 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
664 * lyx_main.C (init): remove spurious static_cast
666 2003-05-14 André Pönitz <poenitz@gmx.net>
668 * BufferView.C: fix format string
670 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
672 * BufferView.[Ch] (insertErrors): removed
673 * BufferView.[Ch] (showErrorList): added
674 * buffer.C (runChkTeX):
675 * converter.C (scanLog): call showErrorList instead of inserterrors
677 2003-05-13 André Pönitz <poenitz@gmx.net>
679 * BufferView_pimpl.C:
688 * tabular_funcs.h: tostr() from its own header
690 * ParagraphParameters.C:
697 2003-05-12 André Pönitz <poenitz@gmx.net>
700 * BufferView_pimpl.C:
704 * ParagraphParameters.C:
708 * bufferview_funcs.C:
725 * text3.C: boost::format -> bformat all over the place
728 2003-05-09 André Pönitz <poenitz@gmx.net>
730 * LColor.[Ch]: Pimpl the #include <map> away
732 2003-05-09 John Levon <levon@movementarian.org>
734 * bufferlist.C: never remove emergency saves
736 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
738 * Makefile.am: better lib building
740 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
742 * texrow.[Ch]: remove dependency on Paragraph and just store a id
744 * paragraph_pimpl.C (simpleTeXBlanks): adjust
745 (simpleTeXSpecialChars): adjust
746 (simpleTeXSpecialChars): adjust
747 * paragraph.C (simpleTeXOnePar): adjust
748 * buffer.C (makeLaTeXFile): adjust
750 * Makefile.am (BOOST_LIBS): allow boost as system lib.
752 * text2.C (changeDepth): parlist cleanup
753 (getColumnNearX): ditto
755 * rowpainter.C (getLabelFont): parlist cleanup
757 * bufferlist.C (newFile): parlist cleanup
759 * CutAndPaste.C (eraseSelection): parlist cleanup
761 * BufferView_pimpl.C (trackChanges): parlist cleanup
764 * BufferView.C (lockInset): parlist cleanup.
765 (ChangeInsets): ditto
767 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
769 * CutAndPaste.h: Update file header.
771 * CutAndPaste.C: Update file header.
772 Store the parts cut out of the Document in a limited_stack.
773 (copySelection): adjust
774 (pasteSelection): new function, takes the index in the limited stack.
775 (nrOfParagraphs): adjust
776 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
777 simplify error inset insertion.
778 (checkPastePossible): adjust
780 2003-05-06 John Levon <levon@movementarian.org>
782 * text2.C: don't cast wrap inset to float
784 2003-05-05 André Pönitz <poenitz@gmx.net>
787 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
789 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
790 few naked Paragraph *.
792 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
794 * bufferparams.C: Output warning if a document with missing
795 TeX document class is loaded
796 * exporter.C: Disable TeX exports if the document class is missing
799 * lyxtextclasslist.C: Handle new textclass.lst format; new method
800 isTeXClassAvailable()
802 2003-05-03 John Levon <levon@movementarian.org>
805 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
806 explicit cursor show/hide
808 * BufferView_pimpl.h:
809 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
810 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
812 * lyxfunc.C: hide cursor before dispatching.
817 * text3.C: remove explicit cursor hides
819 2003-05-02 André Pönitz <poenitz@gmx.net>
821 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
824 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
827 * text2.C: tiny whitespace
829 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
831 * undo_funcs.C: almost only ws changes.
833 * ParagraphList.C (splice): just return if pl is empty.
835 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * ParagraphList.C (splice): new function.
839 * CutAndPaste.C (pasteSelection): use it
841 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
843 * CutAndPaste.C (pasteSelection): remove the last next and
844 previous from this file.
846 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
848 * CutAndPaste.C (pasteSelection): more clean up, user proper
849 ParagraphList functions for pasteing.
851 * ParagraphList.C (insert): new function, three arg insert
853 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
855 * ParagraphList.C (insert): new function, three arg insert
857 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
860 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
862 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
864 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * CutAndPaste.C (pasteSelection): remove some unneeded code.
868 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
870 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
871 (copySelection): clean up a bit.
872 (pasteSelection): use make_pair
874 * ParagraphList.C (ParagraphList): implement copy constructor
875 (operator=): implement, base on copy constructor.
878 * paragraph.C (erase): return a bool
880 * paragraph_pimpl.C (erasePos): remove function, move contents...
881 (erase): ... here. Return a bool.
882 (erase): call erase instead of erasePos.
884 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
886 * ParagraphList.h: define PitPosPair
887 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
888 ParagraphList, fix a bug on pasting multiple pars
889 * text2.C: change interface to C&P
891 2003-04-30 André Pönitz <poenitz@gmx.net>
893 * undo_func.C: revert part of yesterday's patch 2
895 2003-04-30 John Levon <levon@movementarian.org>
897 * LColor.C: s/tabular/table/
899 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
901 * text3.C (dispatch): do not convert iterator -> pointer
902 * undo_funcs.C (setCursorParUndo): ditto
903 * text_funcs.C (transposeChars): ditto
905 * text2.C (setLayout): ws changes only
907 * text.C (breakParagraph): do not convert iterator -> pointer
909 (acceptChange): ditto
910 (rejectChange): ditto
915 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
918 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
920 * text3.C (gotoInset): YABG (yet another bad getChar)
922 2003-04-29 André Pönitz <poenitz@gmx.net>
924 * paragraph.h: make operator= private unimplemented as long as
927 * ParagraphList.C: whitespace
930 * paragraph_pimpl.[Ch]:
933 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
936 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
938 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
940 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
941 * paragraph.[Ch] (erase):
942 * paragraph_pimpl.[Ch] (erase): change return type and value
943 * text2.C (cutSelection): some rework
945 2003-04-28 John Levon <levon@movementarian.org>
947 * bufferlist.C: changes for unsaved changes dialog
949 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
951 * bufferlist.C (newFile): set language (messages_) for new
954 * buffer.C (readFile): ws changes only.
956 2003-04-28 André Pönitz <poenitz@gmx.net>
961 * BufferView_pimpl.C:
962 * BufferView.C: getParFromID related ParagraphList::iterator changes
964 2003-04-28 André Pönitz <poenitz@gmx.net>
966 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
969 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
971 * messages.C: remove one more localedir class variable.
973 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * messages.C (getLocaleDir): singleton generation function
977 (Messages): add a default constructor.
979 * main.C (main): do not setup localedir here, do not call
982 * gettext.C (_): use it.
983 (gettext_init): delete funciton
985 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
987 * gettext.C (getLyXMessages): new singleton generating function.
989 * buffer.C (updateDocLang): adjust
991 * Makefile.am (messages.o): add target
992 (main.o): remove target
994 2003-04-27 John Levon <levon@movementarian.org>
999 * lyxvc.C: specify cancel button in Alert::prompt
1001 2003-04-26 John Levon <levon@movementarian.org>
1006 * LyXAction.C: add LFUN_INSET_SETTINGS
1008 * lyxfunc.C: don't enable tabular-feature when there's
1009 just any locking inset
1011 2003-04-26 John Levon <levon@movementarian.org>
1013 * bufferlist.C: re-add Cancel to buffer close question
1015 * lyxfunc.C: fix import UI a bit
1017 2003-04-25 John Levon <levon@movementarian.org>
1019 * gettext.C: remove the broken asserts for now
1021 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1023 * messages.C: make case where setlocale cannot comply work better.
1025 * buffer.C (updateDocLang): new function
1026 (changeLanguage): use it
1029 * text2.C (setCounter): use B_ a bit.
1031 * lyxlayout.C (Read): be sure to trim the label strings.
1033 * messages.C (Messages): fix typo in comment
1035 * buffer.C (readFile): set message_ after file is loaded.
1036 (makeDocBookFile): remove double return
1037 (changeLanguage): reset message_ upon language change.
1038 (B_): new func, use this to get translated buffer strings.
1040 * main.C: add myself and Jean Marc as authors.
1042 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1044 * messages.[hC]: pimplify Messages, and three different pimpls to be
1045 used in different circumstances.
1047 * gettext.[Ch]: change for use with new message code.
1049 2003-04-24 André Pönitz <poenitz@gmx.net>
1051 * factory.C: support for eqref
1053 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * messages.[Ch]: add missing char
1057 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1059 * messages.[Ch]: New files
1061 2003-04-18 John Levon <levon@movementarian.org>
1065 * BufferView_pimpl.C:
1069 * text2.C: remove layout-copy/paste (bug 778)
1071 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1073 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1075 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1077 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1078 if they succeed. Act accordingly.
1080 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1082 * text2.C (setCharFont): adjust
1083 (setCounter): adjust
1084 (insertStringAsLines): adjust
1086 * text.C (leftMargin): adjust
1087 (setHeightOfRow): adjust
1089 * rowpainter.C (paintFirst): adjust
1092 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1094 (isFirstInSequence): ditto
1095 (getEndLabel): ditto
1098 * paragraph.C (getParLanguage): comment out some hard stuff.
1100 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1102 (simpleDocBookOnePar): ditto
1103 (makeDocBookFile): use ParagraphList::iterator
1105 * CutAndPaste.C (pasteSelection): adjust
1107 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1109 * text2.C (getFont): adjust
1110 (getLayoutFont): adjust
1111 (getLabelFont): adjust
1113 * paragraph_funcs.C (TeXOnePar): adjust
1115 * buffer.C (simpleLinuxDocOnePar): adjust
1116 (simpleDocBookOnePar): adjust
1118 * CutAndPaste.C (pasteSelection): adjust
1120 * BufferView.C (getEncoding): adjust
1122 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1124 2003-04-16 John Levon <levon@movementarian.org>
1126 * lyxfind.C: use parlist stuff for search/changes
1128 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1130 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1132 * text2.C (deleteEmptyParagraphMechanism): adjust
1134 * text2.[Ch] (ownerParagraph): delete func (both of them
1136 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1140 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1142 * ParagraphList.C: prepare for NO_NEXT
1144 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1146 * text2.C (getFont): adjust
1147 (getLayoutFont): adjust
1148 (getLabelFont): adjust
1150 * paragraph.C (getFont): adjust
1151 (getLabelFont): adjust
1152 (getLayoutFont): adjust
1154 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1156 2003-04-15 John Levon <levon@movementarian.org>
1160 * lyx_main.C: handle Include in .ui files
1162 2003-04-15 John Levon <levon@movementarian.org>
1164 * MenuBackend.C: make the doc files length shorter
1167 * ToolbarBackend.C: handle toolbar placement flags,
1170 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1172 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1175 * paragraph_funcs.C (TeXOnePar): adjust
1177 * paragraph.C (getLabelFont): add outerfont arg, adjust
1178 (getLayoutFont): ditto
1179 (simpleTeXOnePar): adjust
1181 * paragraph_pimpl.C (realizeFont): delete func
1183 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
1185 * text2.C (beforeFullRowInset): added a bad getchar check, removed
1186 row argument, constify cur argument.
1188 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * text2.C (getFont): adjust
1191 (getLayoutFont): adjust
1192 (getLabelFont): adjust
1194 * paragraph_funcs.C (TeXOnePar): adjust
1195 (outerFont): new func...
1196 (realizeFont): ...moved out from here, changed this to facilitate
1199 * paragraph.C (getFont): take outerfont as arg, adjust
1200 (simpleTeXOnePar): add outerfont arg, adjust
1202 * buffer.C (simpleLinuxDocOnePar): adjust
1203 (simpleDocBookOnePar): adjust
1205 * CutAndPaste.C (pasteSelection): adjust
1207 * BufferView.C (getEncoding): adjust
1209 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1211 * text2.C (setCharFont): adjust
1212 (setCounter): adjust
1214 * text.C (leftMargin): adjust
1215 (setHeightOfRow): adjust
1217 * rowpainter.C (paintFirst): adjust
1220 * paragraph_pimpl.C (realizeFont): adjust
1222 * paragraph.C (isFirstInSequence): move from here...
1223 * paragraph_funcs.C (isFirstInSequence): ...to here
1225 * paragraph.C (outerHook): move from here...
1226 * paragraph_funcs.C (outerHook): ...to here
1228 * paragraph.C (depthHook): move from here...
1229 * paragraph_funcs.C (depthHook): ...to here
1231 * paragraph.C (getEndLabel): move from here...
1232 * paragraph_funcs.C (getEndLabel): ...to here
1234 * text2.C (realizeFont): move from here...
1235 * paragraph_funcs.C (realizeFont): ...to here
1237 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1239 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1241 2003-04-14 Angus Leeming <leeming@lyx.org>
1243 * LColor.[Ch]: scrap LColor mathcursor.
1245 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1247 * lyxlex.[Ch] (text): delete function
1248 * trans.C (Load): adjust
1249 * paragraph_funcs.C (readParToken): adjust
1251 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1254 vector<char> instead of a char[].
1256 * lyxlex_pimpl.C (getString): adjust
1258 (lex): use getString
1262 * lyxlex.C (text): use pimpl_->getString()
1266 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1268 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1269 (makeFontEntriesLayoutSpecific): temp var for par.size()
1270 (setLayout): temp var for ownerParagraphs().end()
1271 (fullRebreak): temp var for rows().end()
1272 (selectionAsString): temp var for boost::next(startpit), realize
1273 that the while really is a regular for loop.
1274 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1275 setCursor in one place.
1276 (setParagraph): temp vr for ownerParagraphs().end()
1277 (updateCounters): make the while loop a for loop
1278 (cutSelection): temp var for ownerParagraphs().end()
1279 (updateInset): make the do {} while() a regular for loop
1280 (getCursorX): use temp vars
1281 (setCurrentFont): use temp vars
1282 (getColumnNearX): use temp vars
1284 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1286 * text.C (transformChar): use temp var for getChar
1287 (computeBidiTables): use temp var for row->par()
1288 (fill): move temp vars for row->par() and pit->layout() earlier in
1290 (labelFill): use temp var for row->par()
1291 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1292 asc and desc, realize that pit never changes and that firstpit is
1293 just a duplicate and not needed. Exchange rit->par() with pit in a
1295 (breakAgain): use a temp var for boost::next(rit)
1296 (breakAgainOneRow): ditto
1297 (breakParagraph): use a temp var for rows().begin()
1298 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1299 (cursorRightOneWord): use temp var for cursor.par() and
1300 cursor.pos(), remove usage of tmpcursor.
1301 (cursorLeftOneWord): use temp var for cursor.par() and
1302 cursor.pos() only set cur at end of function.
1304 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1306 * text.C, text2.C: exchange all usage of Paragraph::next with
1307 boost::next(ParagraphList::iterator)
1309 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1311 * text2.C (cursorTop): simplify implementation
1312 (cursorBottom): ditto
1313 (setParagraph): use ParagraphList::iterator
1314 (setCurrentFont): adjust
1315 (getColumnNearX): adjust
1316 (cursorRight): adjust
1317 (cursorLeft): remove usage of Paragraph::previous
1318 (cursorUpParagraph): ditto
1319 (deleteEmptyParagraphMechanism): slight cleanup
1321 * text.C (isBoundary): take a Paragraph const & instead of a
1323 (addressBreakPoint): ditto
1324 (leftMargin): remove usage of Paragraph::previous.
1325 (setHeightOfRow): ditto
1326 (cursorLeftOneWord): ditto
1327 (selectNextWordToSpellcheck): ditto
1330 (breakParagraph): remove one usage of Paragraph::next
1331 (redoParagraph): ditto
1332 (acceptChange): ditto
1333 (insertChar): adjust
1334 (rowBreakPoint): adjust
1336 * bufferview_funcs.C (toggleAndShow): adjust
1338 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
1340 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1341 methods to access it.
1343 * text.C: Added updateRowPositions to compute all row positions.
1344 Make top_y and getRowNearY() to use the cached y position
1346 2003-04-11 John Levon <levon@movementarian.org>
1348 * text.C (rowBreakPoint): reintroduce the labelEnd
1349 checks, code copied from the row fill stuff. Deep voodoo.
1351 * text.C (fill): add a comment and debugging for the
1354 2003-04-11 John Levon <levon@movementarian.org>
1356 * text.C: make sure fullrow insets get wrapped to the next line,
1357 even when they're in a manual label
1359 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1361 * text2.C (insertParagraph): make it take ParagraphList::iterator
1363 (setLayout): make it return ParagraphList::iterator
1364 (redoParagraphs): ditto
1366 (checkParagraph): ditto
1368 * text.C (getRow): make getrow take ParagraphList::iterator as arg
1370 * text2.C: adjust several funcs.
1371 (realizeFont): take a ParagraphList::iterator as arg.
1372 (getLayoutFont): ditto
1373 (getLabelFont): ditto
1374 (setCharFont): ditto
1376 * text.C: adjust several funcs.
1378 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1380 * text.C (selectNextWordToSpellcheck): don't accidentally
1383 2003-04-10 John Levon <levon@movementarian.org>
1385 * ToolbarBackend.C (getIcon): special handling for
1388 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
1390 * text2.C (cursorRight): a getChar assert fixed
1392 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1394 * text2.C (getFont): change to take a ParagraphList::iterator
1395 instead of Paragraph*
1396 Adjust several functions.
1398 * text.C (transformChar): change to take a ParagraphList::iterator
1399 instead of Paragraph*
1400 (singleWidth): ditto
1401 Adjust several functions.
1403 * rowpainter.C: adjust several functions
1404 * rowpainter.h:store a ParagraphList::iterator and not a
1408 2003-04-09 John Levon <levon@movementarian.org>
1413 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1414 and the "help" bits as well
1416 2003-04-09 John Levon <levon@movementarian.org>
1419 * ToolbarBackend.C: allow multiple toolbars
1421 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1423 * undo_funcs.C (setCursorParUndo): adjust
1425 * text_funcs.C (transposeChars): adjust
1427 * text3.C (gotoNextInset): adjust
1430 * text2.C (setLayout): adjust
1431 (changeDepth): adjust
1433 (redoParagraphs): adjust
1434 (selectionAsString): adjust
1435 (setParagraph): adjust
1436 (insertInset): adjust
1437 (cutSelection): adjust
1438 (copySelection): adjust
1439 (pasteSelection): adjust
1440 (insertStringAsLines): adjust
1441 (updateInset): adjust
1442 (setCursor): change to take a ParagraphList::iterator parameter
1443 (setCursorIntern): change to take a ParagraphList::iterator parameter
1444 (setCurrentFont): adjust
1445 (cursorLeft): adjust
1446 (cursorRight): adjust
1447 (deleteEmptyParagraphMechanism): adjust
1449 * text.C (breakParagraph): adjust
1450 (insertChar): adjust
1451 (acceptChange): adjust
1452 (rejectChange): adjust
1453 (selectNextWordToSpellcheck): adjust
1454 (changeCase): adjust
1458 * lyxfind.C (SearchForward): adjust
1459 (SearchBackward): adjust
1460 (nextChange): adjust
1462 * lyxcursor.C (par): adjust
1464 * lyxcursor.h: store a ParagraphList::iterator instead of a
1467 * lyx_cb.C (getPossibleLabel): adjust
1469 * bufferview_funcs.C (toggleAndShow): adjust
1471 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1474 * BufferView.C (removeAutoInsets): adjust
1475 (lockedInsetStoreUndo): adjust
1477 2003-04-09 John Levon <levon@movementarian.org>
1479 * ToolbarBackend.C: try icon without argument
1480 if with argument fails
1482 2003-04-08 John Levon <levon@movementarian.org>
1485 * ToolbarBackend.C: add getIcon(), handle tooltip,
1486 and change from "Icon" to "Item".
1488 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1490 * BufferView.C (lockInset): another bad getchar crunched
1492 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
1494 * text2.C (changeDepth): do not setUndo on test_only (make undo work
1497 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
1499 * lyxfind.C (searchForward, searchBackwards): bug 782
1501 2003-04-07 John Levon <levon@movementarian.org>
1503 * paragraph.C: remove dead comment
1505 * text.C: remove troublesome depth-fiddling code
1506 in leftMargin() and rightMargin() (bug 1017)
1508 * text.C: fix breaking of rows in nested lists
1511 * text2.C (updateCounters): fix up depth values
1514 2003-04-07 John Levon <levon@movementarian.org>
1516 * BufferView_pimpl.C: clear message when doc finishes resizing,
1517 and after a mouse event
1519 * lyxfunc.C: clear message after exiting inset
1521 2003-04-07 John Levon <levon@movementarian.org>
1523 * bufferview_funcs.C: show math status not outside
1524 status in the statusbar
1526 2003-04-07 John Levon <levon@movementarian.org>
1528 * lyxfunc.C: note status changed after a depth change
1530 2003-04-04 Angus Leeming <angus@localhost.localdomain>
1532 * LaTeX.h: move AuxInfo operator==, != out of line.
1533 Remove LaTeX virtual destructor; nothing derives from it.
1534 Move operator()() out of public area and rename it startscript().
1535 Change protected for private.
1537 2003-04-04 Angus Leeming <leeming@lyx.org>
1540 * text2.C: remove unneeded #includes.
1542 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1544 * text2.C (dEPM): fix the heigth of the next row
1546 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
1548 * text.C: squashed an invalid getChar requester + some ws changes
1550 2003-04-03 John Levon <levon@movementarian.org>
1552 * bufferview_funcs.h:
1553 * bufferview_funcs.C:
1556 * text2.C: make getStatus work for the env depth lfuns
1558 2003-04-03 John Levon <levon@movementarian.org>
1560 * bufferview_funcs.h:
1561 * bufferview_funcs.C:
1564 * text2.C: parlistize decDepth(), by merging it with incDepth()
1566 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1568 * lyxrow.h: store a ParagraphList::iterator instead of a
1569 Paragraph* and adjust other class functions to suit.
1571 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1574 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1576 * text2.C (setCursor): do not anchor to cursor row for the time being
1578 2003-04-02 John Levon <levon@movementarian.org>
1585 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1587 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1589 * paragraph.h: make ParagraphList and ParagraphList::iterator
1590 friends of Paragraph.
1592 * buffer.C (makeLinuxDocFile): move towards ParagraphList
1594 * ParagraphList.C: Use the private next_ and previous_ from
1597 2003-04-01 John Levon <levon@movementarian.org>
1601 * Makefile.am: rename, remove defaults gunk
1604 * MenuBackend.C: remove defaults gunk
1607 * Languages.C: remove defaults gunk
1610 * lyx_main.C: error out if files couldn't be found.
1612 2003-04-02 John Levon <levon@movementarian.org>
1614 * text2.C: make incDepth() use parlist
1616 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * undo_funcs.C (firstUndoParagraph): adjust
1620 * text3.C (gotoInset): adjust
1621 (dispatch): adjust, and rewrite loop.
1623 * text2.C (init): adjust, and rewrite loop.
1624 (redoParagraphs): adjust
1625 (updateInset): adjust, and rewrite loop.
1626 (deleteEmptyParagraphMechanism): adjust
1628 * tabular.C (LyXTabular): adjust
1629 (SetMultiColumn): adjust
1632 * lyxtext.[Ch] (ownerParagraph): delete function
1633 (ownerParagraphs): new function returns a ParagraphList.
1635 * BufferView.C (removeAutoInsets): adjust
1636 (insertErrors): adjust
1637 (setCursorFromRow): adjust
1639 2003-04-01 Angus Leeming <leeming@lyx.org>
1641 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1644 2003-04-02 John Levon <levon@movementarian.org>
1650 * text_funcs.C: make transposeChars a free function
1652 * lyxrow_funcs.C: remove wrong comment
1654 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1657 * rowpainter.C: adjust
1662 * lyxrow_funcs. [Ch]: new files
1664 * lyxrow.[Ch]: remove next and previous pointers
1665 (next,previous): remove accessor functions
1666 (isParEnd): move to lyxrow_funcs
1667 (lastPos): move to lyxrow_funcs
1668 (nextRowIsAllInset): move to lyxrow_funcs
1669 (lastPrintablePos): move to lyxrow_funcs
1670 (numberOfSeparators): move to lyxrow_funcs
1671 (numberOfHfills): move to lyxrow_funcs
1672 (numberOfLabelHfills): move to lyxrow_funcs
1673 (hfillExpansion): move to lyxrow_funcs
1677 * bufferview_funcs.C (toggleAndShow): adjust
1679 * RowList.h: Remove class RowList from file leave just a
1682 * RowList.C: delete file
1684 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1687 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1689 * text3.C (cursorPrevious): adjust
1690 (cursorNext): adjust
1693 * text2.C (redoHeightOfParagraph): adjust
1694 (redoDrawingOfParagraph): adjust
1697 * text.C (breakParagraph): adjust
1698 (insertChar): adjust
1701 * rowpainter.C (RowPainter): adjust
1702 (leftMargin): simplify and adjust
1703 (most rowpainter functions): adjust.
1705 * rowpainter.h: store the row as RowList::iterator not as Row*
1707 * lyxcursor.C (row): taka RowList::iterator as arg
1710 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1713 2003-04-01 Angus Leeming <leeming@lyx.org>
1715 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1716 stuff like bool Bool.
1718 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
1720 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1723 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1725 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1728 * lyxtext.h (rows): drop one version and leve a const variant that
1729 returns a RowList::iterator.
1731 2003-03-31 Angus Leeming <leeming@lyx.org>
1733 * text.C (fill): ensure that the signature is the same as that in the
1736 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
1738 * text2.C (redoParagraphs): adjust
1739 (updateCounters): adjust
1740 (checkParagraph): adjust
1741 (getColumnNearX): adjust and reformat a bit.
1743 * text.C (top_y): adjust
1745 (leftMargin): adjust
1746 (prepareToPrint): adjust
1748 (getRowNearY): adjust
1750 * lyxtext.h: make rowlist_ mutable.
1752 * RowList.h: add const_iterator
1753 * RowList.C: adjust for RowList::const_iterator.
1755 * text2.C (getCursorX): make it take a RowList::iterator as arg,
1758 2003-03-31 John Levon <levon@movementarian.org>
1761 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1763 * lyx_main.C: set default fonts from using lyx_gui funcs
1765 * exporter.C: pdf_mode moved from lyxrc
1768 * lyxfunc.C: changes from above
1770 2003-03-31 John Levon <levon@movementarian.org>
1772 * lyx_main.C: fix to the last fix
1774 2003-03-31 John Levon <levon@movementarian.org>
1776 * bufferlist.C: "Load original" -> "Load Original"
1782 * format.C: more Alert cleanups
1784 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1786 * text2.C (removeParagraph): make it take a RowList::iterator as
1788 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1789 (postRowPaint): make it take a RowList::iterator as arg, adjust.
1791 * text.C (anchor_row): make it take a RowList::iterator as arg,
1793 (computeBidiTables): make it take a const reference to Row instead
1794 of Row pointer, adjust.
1795 (leftMargin): make it take a RowList::iterator as arg, adjust.
1796 (rowBreakPoint): adjust
1797 (breakAgainOneRow): make it take a RowList::iterator as arg,
1799 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1801 * bufferview_funcs.C (toggleAndShow): adjust
1803 2003-03-30 John Levon <levon@movementarian.org>
1807 * boost-inst.C: moved to support
1809 * several files: changes as a result
1811 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1813 * text2.C (LyXText): adjust.
1815 (removeRow): make it take a RowList::iterator as arg, adjust.
1816 (fullRebreak): adjust
1817 (deleteEmptyParagraphMechanism): adjust
1818 (clearPaint): adjust
1821 * text.C (top_y): adjust
1822 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1823 (breakAgain): make it take a RowList::iterator as arg, adjust.
1824 (breakParagraph): adjust
1825 (insertChar): adjust
1828 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1829 need_break_row, and refresh_row.
1831 * text3.C (dispatch): adjust
1833 * text2.C (checkParagraph): adjust
1835 (setCursorFromCoordinates): adjust
1837 * text.C (top_y): adjust
1839 (getRow): make it return a RowList::iterator, adjust
1840 (getRowNearY): make it return a RowList::iterator, adjust
1842 * text2.C (init): adjust
1843 (insertRow): remove function
1844 (insertParagraph): adjust
1845 (redoParagraphs): adjust
1846 (fullRebreak): adjust
1847 (updateCounters): adjust
1849 * text.C (top_y): rewrite to use RowList iterators.
1851 (setHeightOfRow): rewrite to sue RowList iterators.
1852 (appendParagraph): adjust
1853 (breakAgain): adjust
1854 (breakAgainOneRow): adjust
1855 (breakParagraph): adjust
1857 (getRowNearY): adjust, and remove commented code.
1859 * lyxtext.h (firstRow): delete function
1860 (lastRow): delete function
1861 (rows): new function (const and non-const versions.)
1862 (insertRow): delete function
1864 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1866 2003-03-29 John Levon <levon@movementarian.org>
1868 * BufferView_pimpl.C: always update scrollbar top
1869 because pasting text when we're anchored could mean we
1870 miss an update altogether
1872 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * text2.C (init): use rowlist_.end() and not 0.
1875 (insertRow): change to take a RowList::iterator as arg, adjust
1877 (insertParagraph): change to take a RowList::iterator as arg,
1879 (redoParagraphs): remove some debug msgs.
1881 * text.C (appendParagraph): change to take a RowList::iterator
1882 arg, adjust for this.
1883 (breakAgain): add an assert
1884 (breakAgainOneRow): ditto
1886 2003-03-29 John Levon <levon@movementarian.org>
1888 * text2.C: do not clear selection after inc/decDepth
1891 2003-03-29 John Levon <levon@movementarian.org>
1894 * buffer.C: fix broken strerrors according to Lars
1896 2003-03-29 John Levon <levon@movementarian.org>
1898 * converters.C: more Alert cleanups
1900 2003-03-29 John Levon <levon@movementarian.org>
1902 * bufferview_funcs.C: remove pointless Alert
1904 * buffer.C: fix confusing error message when
1905 a template is chmoded 000
1907 2003-03-29 John Levon <levon@movementarian.org>
1911 * BufferView_pimpl.C: Alert fixes
1915 * tabular-old.C: remove unused table compat reading
1917 2003-03-29 John Levon <levon@movementarian.org>
1922 * lyx_cb.C: more Alert cleanups
1924 * lyxfunc.C: don't allow chktex if not latex document
1926 2003-03-29 John Levon <levon@movementarian.org>
1930 * buffer.C: warnings pushed down from support/,
1933 2003-03-29 John Levon <levon@movementarian.org>
1935 * lyxfunc.C: safety check for C-r (revert)
1937 2003-03-29 John Levon <levon@movementarian.org>
1940 * bufferlist.C: several UI fixes using Alert::prompt.
1941 Fix the pointless looping quit code. Fix stupid revert
1946 * lyx_cb.C: use Alert::prompt
1948 * lyx_main.C: remove a silly question
1950 * lyxfunc.C: remove a couple of silly questions,
1953 2003-03-28 John Levon <levon@movementarian.org>
1955 * text2.C: fix bug 974 (End on empty par)
1957 2003-03-28 John Levon <levon@movementarian.org>
1959 * BufferView_pimpl.C:
1961 * lfuns.h: remove do-nothing math greek lfuns
1963 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1965 * lyxgluelength.h (isValidGlueLength): add default arg on
1966 parameter 2. Remove default arg from friend in class.
1968 * lyxlength.h (isValidLength): add default arg on parameter 2.
1969 Remove default arg from friend in class.
1971 * text2.C (LyXText): adjust, initialize refresh_row.
1975 (insertParagraph): adjst
1976 (redoParagraphs): adjust
1977 (fullRebreak): adjust
1978 (updateCounters): adjust
1979 (deleteEmptyParagraphMechanism): first attempt at fixing a
1982 * text.C (top_y): adjust
1983 (setHeightOfRow): adjust
1985 (getRowNearY): adjust
1987 * lyxtext.h: include RowList.h
1988 (~LyXText): not needed anymore, deleted.
1989 (firstRow): modify for RowList
1990 (lastRow): new function
1991 Delete firstrow and lastrow class variables, add a Rowlist
1992 rowlist_ class variable.
1994 * lyxrow.C (lastPos): use empty() and not !size() to check if a
1997 * RowList.C (insert): fix case where it == begin().
1999 2003-03-26 Angus Leeming <leeming@lyx.org>
2001 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2002 the thesaurus dialog.
2004 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2006 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2008 * RowList.[Ch]: new files
2010 * ParagraphList.C (erase): handle the case where it == begin
2013 2003-03-25 John Levon <levon@movementarian.org>
2017 * aspell.C: add new aspell support
2020 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2023 2003-03-25 Angus Leeming <leeming@lyx.org>
2026 * LyXAction.C (init): new LFUN_INSET_INSERT.
2028 * BufferView_pimpl.C (dispatch): split out part of the
2029 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2031 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2034 2003-03-25 Angus Leeming <leeming@lyx.org>
2036 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2038 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2041 * text3.C: remove useless row->height(0)
2043 2003-03-25 John Levon <levon@movementarian.org>
2047 * text3.C: rename the refreshing stuff to better names
2049 2003-03-24 John Levon <levon@movementarian.org>
2051 * BufferView_pimpl.h:
2052 * BufferView_pimpl.C: update layout choice on a mouse
2055 2003-03-23 John Levon <levon@movementarian.org>
2057 * Makefile.am: fix commandtags.h reference
2059 2003-03-22 John Levon <levon@movementarian.org>
2061 * BufferView_pimpl.C:
2066 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2068 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2071 * text.C: take the rtl methods out of line
2073 2003-03-21 André Pönitz <poenitz@gmx.net>
2075 * metricsinfo.[Ch]: new files containing structures to be passed around
2076 during the two-phase-drawing...
2078 2003-03-21 André Pönitz <poenitz@gmx.net>
2080 * lyxtextclass.C: read 'environment' tag.
2082 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2084 * text2.C (removeRow): fix bug 964
2086 2003-03-20 John Levon <levon@movementarian.org>
2090 * text2.C: paint cleanups. Inset::update() dropped font
2093 2003-03-19 John Levon <levon@movementarian.org>
2095 * lyxfunc.C: only fitcursor/markDirty if available()
2097 2003-03-19 John Levon <levon@movementarian.org>
2099 * commandtags.h: rename to ...
2101 * lfuns.h: ... this, and renumber / cleanup
2103 2003-03-19 John Levon <levon@movementarian.org>
2105 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2106 fit the cursor after an lfun
2110 * BufferView_pimpl.h:
2111 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2113 * LyXAction.C: layout-character should have ReadOnly
2115 * ParagraphParameters.C:
2117 * bufferview_funcs.C:
2124 * undo_funcs.C: changes from above
2126 2003-03-18 John Levon <levon@movementarian.org>
2128 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2129 remove it from update()
2131 * lyxfunc.C: update layout choice after an lfun
2133 * text3.C: remove extra updateLayoutChoice()s
2135 2003-03-18 John Levon <levon@movementarian.org>
2137 * text.C: top_y change means full repaint, fix
2138 a drawing bug with cursor movement
2140 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2144 * text2.C: anchor row on setCursor
2146 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
2148 * lyxtext.h: remove almost all mutable keywords
2151 * text3.C: remove const keywords accordingly
2153 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2155 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2157 (TeXEnvironment): ditto
2160 2003-03-17 John Levon <levon@movementarian.org>
2162 * text.C (rowBreakPoint): remove attempt to fix displayed
2163 math insets inside a manual label
2165 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2167 * lyxtext.h: remove BufferView* as first arg from almost all class
2169 * other files: adjust.
2171 2003-03-17 John Levon <levon@movementarian.org>
2175 * text2.C: more paint cleanups
2177 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2180 * rowpainter.C: remove "smart" background painting code
2182 2003-03-16 John Levon <levon@movementarian.org>
2187 * text3.C: add helper functions for setting refresh_row/y
2189 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
2191 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2192 newline inset which *can* get inserted in the pass_thru layouts.
2193 This is primarily for literate documents.
2195 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
2197 * buffer.C: increment LYX_FORMAT to 223
2199 2003-03-14 André Pönitz <poenitz@gmx.net>
2201 * textclass.h: prepare for environment handling, ws changes
2202 * lyxlayout.C: read latexheader and latexfooter tags
2204 2003-03-14 John Levon <levon@movementarian.org>
2206 * text2.C: rewrite ::status() a bit
2208 2003-03-13 John Levon <levon@movementarian.org>
2210 * lyxtext.h: add some docs
2212 2003-03-13 John Levon <levon@movementarian.org>
2217 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2219 2003-03-13 John Levon <levon@movementarian.org>
2221 * text3.C: fix appendix redrawing
2223 2003-03-13 John Levon <levon@movementarian.org>
2225 * text.C (setHeightOfRow):
2227 * rowpainter.C: make appendix mark have the text
2228 "Appendix" so the user knows what it is
2231 * LColor.C: s/appendixline/appendix/ from above
2233 2003-03-13 John Levon <levon@movementarian.org>
2235 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2237 * text.C: fix a getChar(pos) bug properly
2239 2003-03-13 Angus Leeming <leeming@lyx.org>
2242 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2243 Probably only temporary. Let's see how things pan out.
2245 * BufferView.C (unlockInset):
2246 * BufferView_pimpl.C (fitCursor):
2247 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2249 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2250 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2252 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2253 new functions that convert ParagraphParameters to and from a string.
2255 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2256 BufferView::Pimpl's dispatch.
2257 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2259 2003-03-13 André Pönitz <poenitz@gmx.net>
2263 * factory.C: make it aware of InsetEnv
2265 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * text2.C (setCursor): never ask for one past last
2268 (setCursor): add some debugging messages.
2270 * text.C (singleWidth): never ask for one past last
2271 (singleWidth): ditto
2273 (rightMargin): ditto
2274 (rowBreakPoint): ditto
2275 (setHeightOfRow): ditto
2276 (prepareToPrint): ditto
2278 * rowpainter.C (paintBackground): never ask for one past last
2279 (paintText): never ask for one past last
2281 * paragraph_pimpl.C (getChar): make the assert stricter, never
2282 allow the one past last pos to be taken
2284 * paragraph.C (getChar): ws changes only
2286 * lyxrow.C (nextRowIsAllInset): never ask for one past last
2287 (numberOfSeparators): ditto
2288 (numberOfHfills): ditto
2290 2003-03-12 John Levon <levon@movementarian.org>
2296 * paragraph_funcs.C: fix per-buffer authorlists
2298 2003-03-12 John Levon <levon@movementarian.org>
2300 * text.C: fix newline in right address
2302 2003-03-12 Angus Leeming <leeming@lyx.org>
2304 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2305 duplicate those in LyXFunc::dispatch.
2309 * ToolbarDefaults.C:
2310 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2311 Add LFUN_FONTFREE_UPDATE.
2313 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2314 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2316 * bufferview_func.[Ch]: several new functions to facilliate
2317 transfer of data to and from the character dialog.
2319 2003-03-12 John Levon <levon@movementarian.org>
2324 * paragraph_funcs.C:
2325 * paragraph_pimpl.C:
2329 * text3.C: remove META_NEWLINE in favour of an inset
2332 * rowpainter.C: remove paintNewline (done by inset)
2334 2003-03-12 John Levon <levon@movementarian.org>
2336 * paragraph_pimpl.C: complain about bad getChar()s
2337 for a while at least
2339 2003-03-12 John Levon <levon@movementarian.org>
2342 * buffer.C: move paragraph read into a separate function,
2343 a little renaming to reflect that.
2346 * bufferparams.C: remove the author_ids map, not necessary now
2349 * factory.C: moved Buffer::readInset to here
2351 * paragraph_funcs.h:
2352 * paragraph_funcs.C: readParagraph free function moved from
2355 * tabular.C: name change
2357 2003-03-12 John Levon <levon@movementarian.org>
2360 * ParagraphParameters.C: move par params input to
2363 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2364 behave like a normal read from the stream wrt reading
2365 a line vs. a \\token
2367 2003-03-12 John Levon <levon@movementarian.org>
2370 * ParagraphParameters.h:
2371 * ParagraphParameters.C: move output code to a
2374 2003-03-12 John Levon <levon@movementarian.org>
2376 * BufferView.C (insertLyXFile):
2379 * tabular.C: use a parlist iterator for creating the
2382 2003-03-12 John Levon <levon@movementarian.org>
2384 * buffer.C: make current_change static local not
2387 2003-03-12 John Levon <levon@movementarian.org>
2389 * buffer.C: fix insertStringAsLines for change tracking
2391 2003-03-12 John Levon <levon@movementarian.org>
2398 * bufferparams.C: move author list into params. Rename some
2399 functions. Move the header reading into a separate token
2400 loop. Move the header token reading into BufferParams.
2402 2003-03-12 John Levon <levon@movementarian.org>
2404 * changes.C: put debug inside lyxerr.debugging() checks
2406 2003-03-11 André Pönitz <poenitz@gmx.net>
2408 * factory.C: make it aware of InsetHFill
2410 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2412 * buffer.C (latexParagraphs): move function from here...
2413 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2416 2003-03-10 Angus Leeming <leeming@lyx.org>
2418 * LyXAction.C (init): fix bug in poplating array with multiple entries
2419 with the same LFUN (spotted by JMarc).
2421 2003-03-10 John Levon <levon@movementarian.org>
2424 * text2.C: move getColumnNearX() near its
2427 2003-03-10 John Levon <levon@movementarian.org>
2429 * text.C: fix break before a minipage
2431 2003-03-10 John Levon <levon@movementarian.org>
2433 * text.C: fix the last commit
2435 2003-03-09 John Levon <levon@movementarian.org>
2439 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2440 bug 365 (don't break before insets unless needed). Don't
2441 return a value > last under any circumstances.
2443 2003-03-09 Angus Leeming <leeming@lyx.org>
2445 * BufferView_pimpl.C (trackChanges, dispatch): call
2446 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2448 2003-03-09 Angus Leeming <leeming@lyx.org>
2450 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2451 than Dialogs::showAboutlyx().
2453 2003-03-09 Angus Leeming <leeming@lyx.org>
2455 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2456 than Dialogs::showTabularCreate().
2458 2003-03-09 John Levon <levon@movementarian.org>
2462 * text2.C: 3rd arg to nextBreakPoint was always the same.
2465 2003-03-08 John Levon <levon@movementarian.org>
2472 * text2.C: Remove the "main" bit from the "main body"
2475 2003-03-08 John Levon <levon@movementarian.org>
2477 * text.C (leftMargin): The left margin of an empty
2478 manual label paragraph should not include the label width
2481 * text.C (prepareToPrint): don't attempt to measure hfills
2482 for empty manual label paragraphs - the answer should be 0
2484 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2486 * CutAndPaste.C: remove commented code and reindent.
2488 2003-03-08 John Levon <levon@movementarian.org>
2491 * lyxfunc.C: move reloadBuffer()
2494 * BufferView.C: to here
2496 * lyxvc.C: add comment
2499 * vc-backend.C: call bv->reload() to avoid
2500 getStatus() check on MENURELOAD
2502 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
2504 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2505 to an old format .dep file.
2507 2003-03-07 Angus Leeming <leeming@lyx.org>
2509 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2510 when the LFUN_MOUSE_RELEASE should have been handled by
2511 inset->localDispatch.
2513 2003-03-07 Angus Leeming <leeming@lyx.org>
2515 * BufferView_pimpl.C (dispatch):
2516 * LyXAction.C (init):
2517 * ToolbarDefaults.C (init):
2519 * lyxfunc.C (getStatus):
2520 remove LFUN_INSET_GRAPHICS.
2522 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2524 2003-03-07 Angus Leeming <leeming@lyx.org>
2527 * LyXAction.C (init):
2528 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2530 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2533 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2535 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2536 localDispatch method LFUN_INSET_DIALOG_UPDATE.
2538 2003-03-07 Angus Leeming <leeming@lyx.org>
2540 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2543 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * ParagraphList.C (front): new function
2548 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2550 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2551 and top_row_offset_. removed var first_y.
2553 * text2.C (LyXText, removeRow):
2555 * BufferView_pimpl.C:
2556 use these methods instead of using first_y
2558 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2560 * text2.C (pasteSelection): adjust for checkPastePossible
2562 * CutAndPaste.C: remove Paragraph * buf and replace with
2563 ParagraphList paragraphs.
2564 (DeleteBuffer): delete
2565 (cutSelection): change the tc type to textclass_type
2566 (copySelection): change the tc type to textclass_type
2567 (copySelection): adjust for ParagraphList
2568 (pasteSelection): change the tc type to textclass_type
2569 (pasteSelection): adjust for Paragraphlist
2570 (nrOfParagraphs): simplify for ParagraphList
2571 (checkPastePossible): simplify for ParagraphList
2572 (checkPastePossible): remove unused arg
2574 * ParagraphList.C (insert): handle the case where there are no
2577 * CutAndPaste.h: make CutAndPaste a namespace.
2579 * text3.C (dispatch): adjust
2581 * text.C (breakParagraph): add a ParagraphList as arg
2583 * paragraph_funcs.C (breakParagraph): change to take a
2584 BufferParams and a ParagraphList as args.
2585 (breakParagraphConservative): ditto
2586 (mergeParagraph): ditto
2587 (TeXDeeper): add a ParagraphList arg
2588 (TeXEnvironment): ditto
2591 * buffer.C (readLyXformat2): adjust
2592 (insertStringAsLines): adjust
2593 (latexParagraphs): adjust
2595 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2596 (cutSelection): adjust
2597 (pasteSelection): adjust
2599 * BufferView_pimpl.C (insertInset): adjust
2601 2003-03-05 Angus Leeming <leeming@lyx.org>
2604 * LyXAction.C (init):
2605 * BufferView_pimpl.C (dispatch):
2606 * lyxfunc.C (getStatus):
2607 remove LFUN_CHILD_INSERT.
2609 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2611 2003-03-05 Angus Leeming <leeming@lyx.org>
2614 * LyXAction.C (init):
2615 * src/factory.C (createInset):
2616 * lyxfunc.C (getStatus):
2617 * text3.C (dispatch):
2618 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2620 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2622 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * ParagraphList.C (insert): handle insert right before end()
2625 (erase): fix cases where it can be first or last paragraph.
2627 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * paragraph_funcs.C (TeXEnvironment): remove all usage of
2630 Paragraph::next and Paragraph::previous
2633 * text.C (breakParagraph): adjust
2635 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2636 BufferParams& as arg.
2637 (breakParagraph): use ParagraphList::insert
2638 (breakParagraphConservative): take a Buffer* instead of a
2639 BufferParams& as arg.
2640 (breakParagraphConservative): use ParagraphList::insert.
2642 * buffer.C (insertStringAsLines): un-const it
2643 (insertStringAsLines): adjust
2645 * ParagraphList.C (insert): new function
2647 * CutAndPaste.C (pasteSelection): adjust
2649 * text.C (backspace): adjust
2651 * tabular.C (SetMultiColumn): adjust
2653 * CutAndPaste.C (cutSelection): adjust
2654 (pasteSelection): adjust
2656 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2657 Buffer const * as arg
2659 * ParagraphList.C (erase): new function
2660 * paragraph_funcs.C (mergeParagraph): use it
2661 (mergeParagraph): make it take a Buffer* instead of a
2662 BufferParams* as arg
2664 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2666 (breakParagraphConservative): ditto
2668 * paragraph.h: remove the breakParagraph friend
2670 * paragraph.C (eraseIntern): new function
2671 (setChange): new function
2673 * paragraph_funcs.C (mergeParagraph): make it take a
2674 ParagraphList::iterator instead of a Paragraph *, adjust
2677 * paragraph.h: move an #endif so that the change tracking stuff
2678 also works in the NO_NEXT case.
2680 2003-03-04 Angus Leeming <leeming@lyx.org>
2683 * LyXAction.C: new LFUN_INSET_MODIFY.
2685 * BufferView_pimpl.C (dispatch): if an inset is found to be open
2686 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2688 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2690 * several files: ws changes only
2692 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2693 (TeXEnvironment): ditto
2696 * buffer.C (makeLaTeXFile): adjust
2697 (latexParagraphs): make it take ParagraphList::iterator as args
2699 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * buffer.C (latexParagraphs): adjust
2703 * paragraph.C (TeXOnePar): move function...
2704 (optArgInset): move function...
2705 (TeXEnvironment): move function...
2706 * paragraph_pimpl.C (TeXDeeper): move function...
2707 * paragraph_funcs.C: ...here
2709 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2711 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2713 * buffer.C (readInset): remove compability code for old Figure and
2716 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * buffer.C: ws changes
2721 * BufferView_pimpl.C: ditto
2724 * bufferlist.h: ditto
2728 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2730 * converter.[Ch]: split into itself +
2733 * Makefile.am: += graph.[Ch] + format.[Ch]
2740 * lyxrc.C: added #include "format.h"
2742 2003-02-27 Angus Leeming <leeming@lyx.org>
2744 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2747 * factory.C (createInset): add "label" to the factory.
2749 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2750 string and do no more.
2752 2003-02-27 Angus Leeming <leeming@lyx.org>
2755 * LyXAction.C (init):
2756 * factory.C (createInset):
2757 * BufferView_pimpl.C (dispatch):
2758 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2760 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2762 * lyxfunc.C (dispatch):
2763 * text3.C (dispatch): pass name to params2string.
2765 2003-02-26 Angus Leeming <leeming@lyx.org>
2767 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2769 Rearrange the ~includes. Strip out the unnecessary ones.
2771 * factory.C (createInset): reformat.
2772 create new insets for the various LFUN_XYZ_APPLY lfuns.
2774 2003-02-26 John Levon <levon@movementarian.org>
2777 * lyxrow.C: add isParStart,isParEnd helpers
2779 * paragraph.h: make isInserted/DeletedText take refs
2781 * paragraph_funcs.h:
2782 * paragraph_funcs.C: remove #if 0'd code
2787 * text.C: use lyxrow helpers above.
2788 Move draw and paint routines to RowPainter.
2789 Make several methods use refs not pointers.
2790 Make backgroundColor() const.
2791 Add markChangeInDraw(), isInInset().
2792 Merge changeRegionCase into changeCase.
2793 Make workWidth() shouldn't-happen code into an Assert.
2796 * rowpainter.C: new class for painting a row.
2799 * vspace.C: make inPixels take a ref
2801 2003-02-26 Angus Leeming <leeming@lyx.org>
2803 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2806 2003-02-25 John Levon <levon@movementarian.org>
2808 * ispell.C: give the forked command a more accurate name
2810 2003-02-22 John Levon <levon@movementarian.org>
2813 * toc.C: make TocItem store an id not a Paragraph *
2816 2003-02-21 Angus Leeming <leeming@lyx.org>
2818 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2819 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2820 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2821 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2822 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2823 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2825 * BufferView_pimpl.C (dispatch):
2826 * LyXAction.C (init):
2827 * factory.C (createInset):
2828 * lyxfunc.C (getStatus, dispatch):
2829 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2831 2003-02-21 Angus Leeming <leeming@lyx.org>
2833 * BufferView_pimpl.C (MenuInsertLyXFile):
2834 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2835 * lyxfunc.C (menuNew, open, doImport):
2836 no longer pass a LyXView & to fileDlg.
2838 2003-02-21 Angus Leeming <leeming@lyx.org>
2840 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2841 * LyXAction.C: change, BIBKEY to BIBITEM.
2842 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2843 Change InsetBibKey to InsetBibitem.
2844 Change BIBKEY_CODE to BIBITEM_CODE.
2845 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2846 * factory.C: replace insetbib.h with insetbibitem.h.
2847 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2848 * paragraph.C: replace insetbib.h with insetbibitem.h.
2849 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2850 Change bibkey() to bibitem().
2851 * text.C: remove insetbib.h.
2852 * text2.C: replace insetbib.h with insetbibitem.h.
2853 change bibkey() to bibitem().
2854 * text3.C: remove insetbib.h.
2855 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2857 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2859 * lyxrc.C (output): enclose user email in quotes (in case there are
2862 2003-02-18 John Levon <levon@movementarian.org>
2864 * buffer.h: add std::
2866 2003-02-17 John Levon <levon@movementarian.org>
2872 * pspell.C: reworking. Especially in ispell, a large
2873 number of clean ups and bug fixes.
2875 * lyxfunc.C: fix revert to behave sensibly
2877 2003-02-17 André Pönitz <poenitz@gmx.net>
2880 * commandtags.h: new LFUN_INSERT_BIBKEY
2890 * paragraph_func.C: remove special bibkey handling
2892 2003-02-17 John Levon <levon@movementarian.org>
2894 * text.C (Delete): fix case where delete at the end of
2895 the very first paragraph would not merge the pars
2897 2003-02-17 John Levon <levon@movementarian.org>
2899 * lyxrow.C: fix lastPrintablePos()
2901 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2903 * bufferparams.C (writeLaTeX): add a std:here
2905 * buffer.C: and remove a using directive there
2907 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2909 * buffer.C (makeLaTeXFile): move the code that generates the
2912 * bufferparams.C (writeLaTeX): ... in this new method
2914 * LaTeXFeatures.C (getEncodingSet): make const
2915 (getLanguages): make const
2917 * MenuBackend.C (binding): returns the binding associated to this
2919 (add): sets the status of each item by calling getStatus. Adds
2921 (read): add support for OptSubMenu
2922 (expand): remove extra separator at the end of expanded menu
2924 2003-02-15 John Levon <levon@movementarian.org>
2927 * BufferView_pimpl.C:
2929 * bufferlist.C: remove pointless BufferStorage bloat. Remove
2930 inset code that had no actual effect. Remove unneeded status
2933 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2935 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2938 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
2940 * text.C (drawLengthMarker): also draw an arrow marker for
2941 symbolic lengths (medskip...)
2943 2003-02-14 John Levon <levon@movementarian.org>
2946 * tabular.C: better method names
2948 2003-02-14 John Levon <levon@movementarian.org>
2950 * BufferView_pimpl.C:
2955 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2956 it's a more accurate name. Remove some pointless uses.
2958 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2960 * text2.C (LyXText): change order of initilizers to shut off
2963 2003-02-14 John Levon <levon@movementarian.org>
2965 * buffer.C: use ParIterator for getParFromID()
2969 * paragraph_pimpl.h:
2970 * paragraph_pimpl.C: remove unused getParFromID()
2972 2003-02-14 John Levon <levon@movementarian.org>
2974 * buffer.C: remove some very old #if 0'd parse code
2976 2003-02-13 John Levon <levon@movementarian.org>
2980 * text2.C: move hfillExpansion(), numberOfSeparators(),
2981 rowLast(), rowLastPrintable(), numberofHfills(),
2982 numberOfLabelHfills() ...
2985 * lyxrow.C: ... to member functions here.
2990 * text.C: remove LyXText::beginningOfMainBody(), and call
2991 p->beginningOfMainBody() directly. Move the check for
2992 LABEL_MANUAL into the latter.
2999 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3005 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3006 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3008 2003-02-13 John Levon <levon@movementarian.org>
3010 * CutAndPaste.C: remove debug
3012 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3014 * paragraph.C (asString): remove two unused variables
3016 * lyxtextclass.C (readTitleType):
3018 (LyXTextClass): handle new members titletype_ and titlename_
3020 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3022 2003-02-09 John Levon <levon@movementarian.org>
3025 * buffer.C: replace hand-coded list with a map for the dep clean
3027 2003-02-08 John Levon <levon@movementarian.org>
3029 * LaTeX.C: consolidate code into showRunMessage() helper
3031 2003-02-08 John Levon <levon@movementarian.org>
3036 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3037 and pass the size in explicitly
3039 * BufferView_pimpl.h:
3040 * BufferView_pimpl.C:
3042 * BufferView.C: add getCurrentChange()
3044 * BufferView_pimpl.h:
3045 * BufferView_pimpl.C: handle change lfuns
3047 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3048 for changes. Mark pasted paragraphs as new.
3050 * support/lyxtime.h:
3051 * support/lyxtime.C:
3052 * DepTable.C: abstract time_t as lyx::time_type
3055 * LColor.C: add colours for new text, deleted text, changebars
3057 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3058 package use "usenames" option.
3062 * LyXAction.C: add change lfuns
3066 * author.C: author handling
3069 * buffer.C: add a per-buffer author list, with first entry as
3070 current author. Handle new .lyx tokens for change tracking. Output
3071 author list to .lyx file. Output dvipost stuff to .tex preamble.
3072 Bump lyx format to 222.
3075 * bufferlist.C: add setCurrentAuthor() to reset current author details
3079 * bufferparams.C: add param for tracking
3081 * bufferview_funcs.C: output change info in minibuffer
3085 * changes.C: add change-tracking structure
3088 * debug.C: add CHANGES debug flag
3091 * lyxfind.C: add code for finding the next change piece
3094 * lyxrc.C: add user_name and user_email
3097 * lyxrow.C: add a metric for the top of the text line
3100 * text.C: implement accept/rejectChange()
3103 * text.C: paint changebars. Paint new/deleted text in the chosen
3104 colours. Strike through deleted text.
3108 * paragraph_pimpl.h:
3109 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3110 in the current change to the insert functions. Rework erase to
3111 mark text as deleted, adding an eraseIntern() and a range-based
3112 erase(). Implement per-paragraph change lookup and
3115 * paragraph_funcs.C: Fixup paste for change tracking.
3117 * tabular.C: mark added row/columns as new.
3119 * text.C: fix rowLast() to never return -1. Don't allow
3120 spellchecking of deleted text. Track transpose changes. Don't
3121 allow paragraph break or merge where appropriate.
3123 * text2.C: leave cursor at end of selection after a cut.
3125 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3127 * text.C (getLengthMarkerHeight):
3128 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3129 visible on screen too.
3131 2003-02-07 John Levon <levon@movementarian.org>
3133 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3135 2003-02-05 Angus Leeming <leeming@lyx.org>
3137 * lyxserver.C (read_ready): revert my patch of 11 September last year
3138 as it sends PC cpu through the roof. Presumably this means that
3139 the lyxserver will no longer run on an Alpha...
3141 2003-01-30 Angus Leeming <leeming@lyx.org>
3143 * factory.C (createInset): create an InsetCommandParam of type "index"
3144 and use it to 'do the right thing'.
3146 * text2.C (getStringToIndex): ensure that cursor position is always
3147 reset to the reset_cursor position.
3149 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3151 * lyxfunc.C (getStatus): "buffer-export custom" should never be
3154 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3158 * lyxfunc.C: Output messages with identical spelling, punctuation,
3161 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
3163 * MenuBackend.C (expandFormats): List only viewable export formats
3166 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3169 * lyxfunc.C (getStatus): Make sure that formats other than
3170 "fax" can also be disabled
3172 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3174 * text3.C (dispatch): put the lfuns that insert insets in 3
3175 groups, and call doInsertInset with appropriate arguments.
3176 (doInsertInset): new function, that creates an inset and inserts
3177 it according to some boolean parameters.
3179 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3181 * buffer.C (readFile): remember to pass on 'par' when calling
3182 readFile recursively.
3184 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3186 * MenuBackend.C (expandFormats): add "..." to import formats.
3188 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
3190 * paragraph.C (asString): Remove XForms RTL hacks.
3192 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
3193 * buffer.C: fix typo
3195 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3197 * Makefile.am (LIBS): delete var
3198 (lyx_LDADD): add @LIBS@ here instead.
3200 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
3202 * Clarify the meaning of "wheel mouse jump"
3204 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3206 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3209 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3211 * importer.C (Loaders): do not preallocate 3 elements in the
3212 vector, since one ends up with 6 elements otherwise
3214 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3216 * DepTable.C (write): write the file name as last element of the
3217 .dep file (because it may contain spaces)
3218 (read): read info in the right order
3220 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3222 * paragraph_pimpl.C (simpleTeXBlanks):
3223 (simpleTeXSpecialChars):
3224 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3226 * tabular.C (latex): add some missing case statements. Reindent.
3228 * MenuBackend.C (expandToc): remove unused variable.
3230 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3239 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3242 2003-01-05 John Levon <levon@movementarian.org>
3245 * BufferView.C: add getEncoding()
3248 * kbsequence.C: do not store last keypress
3251 * lyxfunc.C: store last keypress here instead. Pass encoding
3254 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3256 * lyx_main.C (init): remove annoying error message when following
3257 symbolic links (bug #780)
3259 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3261 * text.C (insertChar):
3262 * lyxrc.C (getDescription): remove extra spaces
3264 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3266 * lyxrc.C (getDescription): remove extra spaces
3268 2002-12-20 John Levon <levon@movementarian.org>
3270 * text3.C: hack fix for page up/down across tall rows
3272 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3274 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3277 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3279 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3280 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3281 thesaurus is not compiled in
3283 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3285 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
3287 2002-12-16 Angus Leeming <leeming@lyx.org>
3290 * lyx_main.C (init): remove override_x_deadkeys stuff.
3292 2002-12-12 John Levon <levon@movementarian.org>
3294 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3295 insert. Only remove shift modifier under strict
3298 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
3300 * MenuBackend.C (expandToc): fix crash.
3302 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3304 * MenuBackend.C (expandToc): gettext on float names.
3306 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3308 * lyxlength.[Ch]: set default unit to UNIT_NONE,
3309 implement bool empty() [bug 490]
3311 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3313 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3315 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * several files: ws changes
3319 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * text2.C (setCounter): clean up a bit, use boost.format.
3322 (updateCounters): initialize par upon declaration.
3324 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3325 if the layout exists. We do not just store the layout any more.
3326 (SwitchLayoutsBetweenClasses): use boost.format
3328 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3330 * converter.C (convert): if from and to files are the same, use a
3331 temporary files as intermediary
3333 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3336 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3338 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
3340 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3342 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
3344 * tabular.C (asciiPrintCell): use string(size, char) instead of
3347 * sgml.C (openTag): fix order of arguments to string constructor
3350 * lyxfunc.C (dispatch): use boost.format
3352 * lots of files: change "c" -> 'c'
3354 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
3356 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3358 2002-11-25 Angus Leeming <leeming@lyx.org>
3360 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3362 * lyx_main.C (init): compile fix.
3364 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
3366 * lyx_cb.C (start): boost.formatify
3367 do not include <iostream>
3369 * lengthcommon.C: ws only
3371 * boost-inst.C,BoostFormat.h: add more explict instantations
3373 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3375 * lots of files: handle USE_BOOST_FORMAT
3377 2002-11-21 John Levon <levon@movementarian.org>
3379 * pspell.C: fix compile
3381 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3383 * lyxfunc.C (dispatch): use boost::format
3387 * lyxfont.C (stateText): use boost::format
3389 * lyx_main.C (LyX): use boost::format
3391 (queryUserLyXDir): ditto
3394 (typedef boost::function): use the recommened syntax.
3396 * importer.C (Import): use boost::format
3398 * debug.C (showLevel): use boost::format
3400 * converter.C (view): use boost::format
3405 * bufferview_funcs.C (currentState): use boost::format
3407 * bufferlist.C (emergencyWrite): use boost::format
3409 * buffer.C (readLyXformat2): use boost::format
3410 (parseSingleLyXformat2Token): ditto
3412 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3414 * LaTeX.C (run): use boost::format
3416 * Chktex.C (scanLogFile): use boost::format
3418 * BufferView_pimpl.C (savePosition): use boost::format
3419 (restorePosition): ditto
3420 (MenuInsertLyXFile): ditto
3422 * BoostFormat.h: help file for explicit instation.
3424 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3426 * tabular.C (latex): Support for block alignment in fixed width
3429 2002-11-17 John Levon <levon@movementarian.org>
3431 * BufferView_pimpl.C:
3433 * lyxfunc.C: split filedialog into open/save
3435 2002-11-08 Juergen Vigna <jug@sad.it>
3437 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3438 by my last patch (hopefully).
3440 2002-11-08 John Levon <levon@movementarian.org>
3449 * toc.C: ParConstIterator, and use it (from Lars)
3451 2002-11-07 Ben Stanley <bds02@uow.edu.au>
3453 * lyxtextclass.[Ch]: revise and add doxygen comments
3455 2002-11-07 John Levon <levon@movementarian.org>
3457 * text.C: fix progress value for spellchecker
3459 * toc.C: fix navigate menu for insetwrap inside minipage
3461 * paragraph_funcs.C: added FIXME for suspect code
3463 2002-11-07 John Levon <levon@movementarian.org>
3465 * BufferView_pimpl.C: fix redrawing of insets
3468 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3470 * text2.C (updateCounters): fix bug 668
3472 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
3474 * text3.C (dispatch): Do not make the buffer dirty when moving the
3477 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3479 * vc-backend.C: STRCONV
3482 * text2.C (setCounter): STRCONV
3484 * paragraph.C (asString): STRCONV
3486 * lyxlength.C (asString): STRCONV
3487 (asLatexString): ditto
3489 * lyxgluelength.C (asString): STRCONV
3490 (asLatexString): ditto
3492 * lyxfunc.C (dispatch): STRCONV
3495 * lyxfont.C (stateText): STRCONV
3497 * importer.C (Import): STRCONV
3499 * counters.C (labelItem): STRCONV
3500 (numberLabel): ditto
3501 (numberLabel): remove unused ostringstream o
3506 * bufferview_funcs.C (currentState): STRCONV
3508 * buffer.C (readFile): STRCONV
3509 (asciiParagraph): ditto
3510 (makeLaTeXFile): ditto
3512 * Spacing.C (writeEnvirBegin): STRCONV
3514 * LaTeXFeatures.C (getLanguages): STRCONV
3515 (getPackages): ditto
3517 (getBabelOptions): ditto
3518 (getTClassPreamble): ditto
3519 (getLyXSGMLEntities): ditto
3520 (getIncludedFiles): ditto
3524 (scanAuxFile): ditto
3527 * LString.h: add the STRCONV macros
3529 * BufferView_pimpl.C (savePosition): STRCONV
3530 (restorePosition): ditto
3531 (MenuInsertLyXFile): ditto
3533 * vc-backend.C (scanMaster): change from submatch[...] to
3536 * funcrequest.C: include config.h
3538 * factory.C: include config.h
3540 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3542 * box.C: include config.h
3544 * LaTeX.C (scanAuxFile): change from submatch[...] to
3548 2002-10-25 Angus Leeming <leeming@lyx.org>
3550 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3552 * ispell.[Ch] (setError): new method.
3553 * ispell.C (c-tor): move out child process into new class LaunchIspell.
3554 Use setError() insetead of goto END.
3556 * lyx_cb.C (AutoSave): move out child process into new class
3559 2002-10-30 John Levon <levon@movementarian.org>
3561 * text3.C: make start appendix undoable
3563 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
3565 * lyxlength.C (inPixels): Fix returned value.
3567 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3570 2002-10-24 Angus Leeming <leeming@lyx.org>
3572 * lyxgluelength.h: no need to forward declare BufferParams
3573 or BufferView, so don't.
3575 2002-10-21 John Levon <levon@movementarian.org>
3577 * BufferView.C: menuUndo ->undo, redo
3579 * BufferView.h: document, remove dead, make some methods private
3581 * paragraph_funcs.h:
3582 * paragraph_funcs.C:
3583 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3588 * sgml.C: move sgml open/close tag into sgml.C
3590 * bufferview_funcs.h: unused prototype
3593 * lyxfunc.C: remove unused
3596 * text.C: remove unused
3598 2002-10-21 John Levon <levon@movementarian.org>
3602 * BufferView_pimpl.h:
3603 * BufferView_pimpl.C: fix mouse wheel handling based on
3604 patch from Darren Freeman
3606 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
3608 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3610 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
3612 * lyxlength.C (inPixels): Fix hanfling of negative length.
3613 Fix LyXLength::MU case.
3615 2002-10-16 John Levon <levon@movementarian.org>
3617 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3619 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3621 * converter.C (view): add support for $$i (file name) and $$p
3622 (file path) for the viewer command. If $$i is not specified, then
3623 it is appended to the command (for compatibility with old syntax)
3625 2002-10-14 Juergen Vigna <jug@sad.it>
3627 * undo_funcs.C (textHandleUndo): alter the order in which the
3628 new undopar is added to the LyXText, as we have to set first
3629 the right prev/next and then add it as otherwise the rebuild of
3630 LyXText is not correct. Also reset the cursor to the right paragraph,
3631 with this IMO we could remove the hack in "redoParagraphs()".
3633 2002-10-09 Angus Leeming <leeming@lyx.org>
3635 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3636 to turn off an optimisation if a new inset is to be inserted.
3638 2002-10-11 André Pönitz <poenitz@gmx.net>
3640 * lyxtext.h: make some functions public to allow access
3641 from inset/lyxtext for handling LFUN_PRIOR/NEXT
3643 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3645 * text3.C (dispatch): when changing layout, avoid an infinite loop
3648 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3650 * lyxrc.C (read): treat a viewer or converter command of "none" as
3653 * MenuBackend.C (expandFormats): for an update, also allow the
3654 formats that are not viewable
3656 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3657 script if it is newer than the lyxrc.defaults in user directory
3659 2002-10-07 André Pönitz <poenitz@gmx.net>
3661 * text.C: Vitaly Lipatov's small i18n fix
3663 2002-09-25 Angus Leeming <leeming@lyx.org>
3665 * ispell.h: doxygen fix.
3667 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
3669 * buffer.h (readFile): Add a new argument to the method, to allow
3670 reading of old-format templates.
3672 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3674 * toc.C (getTocList): Get TOC from InsetWrap.
3676 2002-09-16 John Levon <levon@movementarian.org>
3678 * lyxfunc.C: check tabular for cut/copy too
3680 2002-09-12 John Levon <levon@movementarian.org>
3685 * factory.C: add header
3687 * paragraph_funcs.h:
3688 * paragraph_funcs.C: cleanup
3690 2002-09-11 John Levon <levon@movementarian.org>
3692 * PrinterParams.h: odd/even default to true
3694 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3696 * PrinterParams.h: update printer parameters for new xforms dialog
3698 2002-09-11 Angus Leeming <leeming@lyx.org>
3700 * lyxserver.C (read_ready): re-write to make it more transparent
3701 and to make it work in coherent fashion under Tru64 Unix.
3703 2002-09-11 André Pönitz <poenitz@gmx.net>
3707 * text3.C: implement LFUN_WORDSEL
3709 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3712 make floatlist_ a boost::shared_ptr<FloatList>
3714 * lyxtextclass.C: include FloatList.h
3715 (LyXTextClass): initialize floatlist_
3716 (TextClassTags): add TC_NOFLOAT
3717 (Read): match "nofloat" to TC_NOFLOAT and use it.
3718 (readFloat): modify call to floatlist_
3722 * FloatList.[Ch] (FloatList): remove commented out float
3724 (erase): new function
3726 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3728 * MenuBackend.C (expandToc): fix crash when there is no document
3731 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
3733 * many files: Add insetwrap.
3735 2002-09-09 John Levon <levon@movementarian.org>
3737 * text2.C: remove confusing and awkward depth wraparound
3739 2002-09-09 John Levon <levon@movementarian.org>
3741 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3744 * buffer.C: remove getIncludeonlyList()
3747 * lyxfunc.C: remove headers
3749 2002-09-09 Juergen Vigna <jug@sad.it>
3751 * text.C (getColumnNearX): fix form Michael this is most
3752 probably a cut&paste bug.
3754 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3756 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3758 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3759 references, ws changes.
3761 * text2.C (init): update counters after init
3762 (insertParagraph): no need to set counter on idividual paragraphs.
3763 (setCounter): access the counters object in the textclass object
3764 on in the buffer object.
3765 (updateCounters): ditto
3767 * lyxtextclass.C: include counters.h, add variable ctrs_ as
3768 shared_ptr<Counters> to avoid loading counters.h in all
3770 (LyXTextClass): initialize ctrs_
3771 (TextClassTags): add TC_COUNTER, and ...
3772 (Read): use it here.
3773 (CounterTags): new tags
3774 (readCounter): new function
3775 (counters): new funtion
3776 (defaultLayoutName): return a const reference
3778 * counters.C (Counters): remove contructor
3779 (newCounter): remove a couple of unneeded statements.
3780 (newCounter): simplify a bit.
3781 (numberLabel): some small formatting changes.
3783 * buffer.[Ch]: remove all traces of counters, move the Counters
3784 object to the LyXTextClass.
3786 2002-09-06 Alain Castera <castera@in2p3.fr>
3788 * tabular.C: uses \tabularnewline; uses >{...} construct from array
3789 package to set the horizontal alignment on fixed width columns.
3792 * lyx_sty.h: added tabularnewline macro def.
3794 * LaTeXFeatures.C: added NeedTabularnewline macro feature
3796 2002-09-06 John Levon <levon@movementarian.org>
3798 * LyXAction.C: tooltips for sub/superscript
3800 * MenuBackend.C: a bit more verbose
3802 * lyxfunc.C: tiny clean
3804 * undo_funcs.C: document undo_frozen
3806 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * counters.C (Counters): add missing algorithm counter.
3810 * text2.C (setCounter): lookup the counter with layouts latexname
3811 instead of by section number.
3812 (setCounter): use a hackish way to lookup the correct enum
3814 a float name->type change
3815 reset enum couners with counter name directly instead of depth value.
3817 * counters.C (Counters): remove the push_backs, change to use the
3818 float type not the float name.
3819 (labelItem): remove unused string, float name->type change
3821 * counters.h: don't include vector, loose the enums and sects vectors
3823 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3825 * lyxtextclass.C (TextClassTags): add TC_FLOAT
3826 (Read): add float->TC_FLOAT to textclassTags
3827 (Read): and handle it in the switch
3828 (readFloat): new function
3830 * FloatList.C (FloatList): comment out the hardcoded float
3833 * lyxlayout.h: ws change.
3835 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
3837 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3839 2002-09-03 Angus Leeming <leeming@lyx.org>
3841 * BufferView_pimpl.h: qualified name is not allowed in member
3842 declaration: WorkArea & Pimpl::workarea() const;
3844 * factory.C: added using std::endl directive.
3846 * text3.C: added using std::find and std::vector directives.
3848 2002-08-29 André Pönitz <poenitz@gmx.net>
3851 * text2.C: remove unused member number_of_rows
3854 * BufferView2.C: remove file, move contents to...
3855 * BufferView.C: ... here
3857 * BufferView_pimpl.C:
3858 * factory.C: move more inset creation to factory
3860 * vspace.C: avoid direct usage of LyXText, ws changes
3863 don't provide direct access to WorkArea, use two simple
3864 acessors haveSelction() and workHeight() instead
3867 2002-08-29 John Levon <levon@movementarian.org>
3869 * BufferView_pimpl.C (dispatch): do not continue when
3872 2002-08-28 André Pönitz <poenitz@gmx.net>
3874 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3877 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3879 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3881 * buffer.C: increment LYX_FORMAT to 221
3883 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3884 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3886 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3888 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3890 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3892 * factory.C (createInset): use LyXTextClass::floats
3894 * MenuBackend.C (expandFloatListInsert):
3895 (expandFloatInsert):
3898 * text2.C (setCounter):
3900 * LaTeXFeatures.C (useFloat):
3901 (getFloatDefinitions):
3903 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3905 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3906 floatlist_, with accessor floats().
3908 * FloatList.h: remove global FloatList
3910 2002-08-26 André Pönitz <poenitz@gmx.net>
3912 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3916 * BufferView_pimpl.C:
3917 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3919 2002-08-25 John Levon <levon@movementarian.org>
3921 * LyXAction.C: fix margin note description
3923 2002-08-24 John Levon <levon@movementarian.org>
3927 * bufferview_funcs.C:
3929 * undo_funcs.C: cleanups
3931 * lyxfunc.C: disable CUT/COPY when no selection
3933 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3935 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3936 in "enum UNIT"; e.g. PTW for Percent of TextWidth
3938 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3939 Add backward compatibility to "mono", "gray" and "no".
3941 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
3943 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3944 (and file_format >= 200).
3946 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3948 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3950 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3952 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3954 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
3956 * BufferView_pimpl.C:
3963 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3964 inset and code to make it work with the paragraph code. The inset
3965 can be anywhere in the paragraph, but will only do the expected
3966 thing in LaTeX if the layout file contains the parameter line
3968 (or more generally, a nonzero value) for that layout.
3970 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3972 * paragraph.h: remove the declaration of undefined counters class
3975 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
3977 * text2.C (setCounter): fixed enumeration mis-count as reported by
3978 Dr. Richard Hawkins.
3980 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3982 * paragraph_funcs.h: remove some unneeded includes
3984 * text.C (backspace): pasteParagraph now in global scipe
3986 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3987 (pasteSelection): ditto
3989 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3990 * paragraph_funcs.C (pasteParagraph): ... here
3992 2002-08-20 André Pönitz <poenitz@gmx.net>
3994 * commandtags.h: new LFUNs for swapping/copying table row/colums
3997 * lyxfunc.C: support for new lfuns
3999 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4002 * buffer.[Ch]: remove NO_COMPABILITY stuff
4004 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * boost.C (throw_exception): new file, with helper function for
4007 boost compiled without exceptions.
4012 * ParameterStruct.h:
4013 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4015 * bufferlist.C (emergencyWriteAll): use boost bind
4017 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4019 * text.C: include paragraph_funcs.h
4020 (breakParagraph): breakParagraph is now in global scope
4022 * paragraph_funcs.[Ch]: new files
4024 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4027 * buffer.C: include paragraph_funcs.h
4028 (insertStringAsLines): breakParagraph is now in global scope
4030 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4033 * CutAndPaste.C: include paragraph_funcs.h
4034 (cutSelection): breakParagraphConservative is now in global scope
4035 (pasteSelection): ditto
4037 * buffer.h: declare oprator== and operator!= for
4038 Buffer::inset_iterator
4040 * bufferlist.C (emergencyWrite): don't use fmt(...)
4042 * text3.C: add using std::endl
4044 * BufferView.C (moveCursorUpdate): remove default arg
4046 2002-08-20 André Pönitz <poenitz@gmx.net>
4048 * buffer.[Ch]: move inline functions to .C
4051 * BufferView_pimpl.C:
4053 * buffer.[Ch]: use improved inset_iterator
4056 * paragraph.[Ch]: write one paragraph at a time
4058 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4060 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4061 style if style is not specified.
4063 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4065 * text2.C (setCounter): when searching for right label for a
4066 caption, make sure to recurse to parent insets (so that a caption
4067 in a minipage in a figure float works) (bug #568)
4069 2002-08-20 André Pönitz <poenitz@gmx.net>
4071 * text3.C: new file for LyXText::dispatch() and helpers
4073 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4075 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4077 2002-08-19 André Pönitz <poenitz@gmx.net>
4080 * text.C: new LyXText::dispatch()
4082 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4084 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4086 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4088 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4091 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4093 * Makefile.am: use $(variables) instead of @substitutions@
4095 2002-08-15 André Pönitz <poenitz@gmx.net>
4098 * BufferView_pimpl.C: streamlining mathed <-> outer world
4102 * LyXAction.C: remove unused LFUN_MATH
4104 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4106 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4108 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * paragraph.C (Paragraph): reformat a bit
4111 (cutIntoMinibuffer): use builtin InsetList function instad of
4115 * buffer.C: include boost/bind.hpp, add using std::for_each
4116 (writeFileAscii): use ParagraphList iterators
4117 (validate): use for_each for validate traversal of paragraphs
4118 (getBibkeyList): use ParagraphList iterators
4119 (resizeInsets): use for_each to resizeInsetsLyXText for all
4121 (getParFromID): use ParagraphList iterators
4123 * BufferView2.C (lockInset): use paragraph list and iterators
4125 2002-08-14 John Levon <levon@movementarian.org>
4127 * lyxserver.C: remove spurious xforms include
4129 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4131 * lyxfunc.C (getStatus): disable math-extern outside of math mode
4133 2002-08-13 André Pönitz <poenitz@gmx.net>
4136 * lyxfunc.C: further cleaning
4138 2002-08-13 André Pönitz <poenitz@gmx.net>
4140 * funcrequest.h: new constructor
4142 * funcrequest.C: move stuff here from .h
4145 * BufferView_pimpl.C:
4148 * lyxfunc.C: subsequent changes
4150 * lyxfunc.h: new view() member function
4152 * lyxfunc.C: subsequent changes
4154 2002-08-13 Angus Leeming <leeming@lyx.org>
4157 * BufferView_pimpl.C:
4165 changes due to the changed LyXView interface that now returns references
4166 to member variables not pointers.
4168 2002-08-13 Angus Leeming <leeming@lyx.org>
4170 * WordLangTuple (word, lang_code): return references to strings,
4175 * lyxtext.h: forward-declare WordLangTuple.
4180 * text.C: #include "WordLangTuple.h".
4183 * text.C: (selectNextWordToSpellcheck): constify return type.
4185 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
4191 * paragraph_pimpl.h:
4194 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4196 Made updateCounter always count from start of buffer, and removed
4197 second argument (par).
4198 Reverted floats number display to '#'. Perhaps I'll try again when the
4199 code base is sanitized a bit.
4201 2002-08-12 Angus Leeming <leeming@lyx.org>
4203 * buffer.[Ch] (getLabelList): constify.
4205 2002-08-07 André Pönitz <poenitz@gmx.net>
4207 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4209 * funcrequest.h: extension to keep mouse (x,y) position
4211 2002-08-12 Juergen Vigna <jug@sad.it>
4213 * BufferView2.C (insertErrors): forbid undo when inserting error
4216 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4218 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * ParagraphList.[Ch]: new files
4222 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4224 * BufferView2.C (lockInset): ParagraphList changes
4227 * bufferlist.C: ditto
4231 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4233 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4234 unused class variable counter_,
4236 * paragraph.[Ch] (getFirstCounter): delete unused function
4238 * counters.C: include LAssert.h
4239 (reset): add a new function with no arg, change other version to
4240 not have def. arg and to not allow empty arg.
4242 * text2.C (setCounter): remove empty arg from call to Counters::reset
4244 2002-08-11 John Levon <levon@movementarian.org>
4246 * Makefile.am: add WordLangTuple.h
4248 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4250 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4251 lyxfunc.C lyxlex_pimpl.C: ws changes only.
4253 * insets/insettext.C: InsetList changes
4255 * graphics/GraphicsSupport.C (operator()): InsetList changes
4257 * toc.C (getTocList): InsetList changes
4259 * paragraph_pimpl.[Ch]: InsetList changes
4261 * paragraph.[Ch]: InsetList changes
4263 * buffer.C (inset_iterator): InsetList changes
4264 (setParagraph): ditto
4265 * buffer.h (inset_iterator): ditto
4266 * iterators.C (operator++): ditto
4267 * iterators.h: ditto
4269 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4271 * InsetList.[Ch]: new files, most InsetList handling moved out of
4274 * BufferView2.C (removeAutoInsets): InsetList changes
4276 (ChangeInsets): ditto
4278 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
4280 * paragraph_pimpl.h (empty): new function
4282 * paragraph.[Ch] (empty): new function
4284 * other files: use the new Paragraph::empty function
4286 2002-08-09 John Levon <levon@movementarian.org>
4288 * lyxtext.h: remove unused refresh_height
4290 2002-08-09 John Levon <levon@movementarian.org>
4297 * paragraph.C: move sgml char escaping out of paragraph
4300 * paragraph.C: remove id setter
4304 * paragraph_pimpl.C: remove dead tex_code_break_column
4306 * bufferview_funcs.C: small cleanup
4308 * lyxfunc.C: remove dead proto
4310 * lyxtext.h: make some stuff private. Remove some dead stuff.
4312 * lyxgluelength.C: make as[LyX]String() readable
4314 2002-08-08 John Levon <levon@movementarian.org>
4319 * ToolbarDefaults.C:
4322 * toc.C: lyxaction cleanup
4324 2002-08-08 John Levon <levon@movementarian.org>
4326 * BufferView2.C: small cleanup
4329 * lyxfind.C: move unnecessary header into the .C
4331 2002-08-08 John Levon <levon@movementarian.org>
4333 * funcrequest.h: just tedious nonsense
4336 * lyx_main.C: cleanups
4339 * vspace.C: remove dead header lyx_main.h
4341 2002-08-07 Angus Leeming <leeming@lyx.org>
4344 * paragraph_pimpl.h:
4345 Forward declare class Counters in paragraph.h by moving the ctrs member
4346 variable into Paragraph::Pimpl.
4347 (counters): new method, returning a reference to pimpl_->ctrs.
4349 * text2.C: ensuing changes.
4351 2002-08-07 John Levon <levon@movementarian.org>
4353 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4355 * BufferView_pimpl.C: announce X selection on double/triple
4358 * lyx_main.C: use correct bool in batch dispatch
4360 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4362 2002-08-07 André Pönitz <poenitz@gmx.net>
4364 * funcrequest.h: new class to wrap a kb_action and its argument
4367 * BufferView_pimpl[Ch]:
4371 * lyxrc.C: subsequent changes
4374 2002-08-07 John Levon <levon@movementarian.org>
4376 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4377 document options change.
4379 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4384 * makefile.am: move counters functionality over from
4385 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4387 2002-08-06 John Levon <levon@movementarian.org>
4389 * WordLangTuple.h: new file for word + language code tuple
4400 * BufferView2.C: use WordLangTuple
4403 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4405 2002-08-06 John Levon <levon@movementarian.org>
4407 * lyx_main.C: fix cmdline batch handling
4409 2002-08-06 André Pönitz <poenitz@gmx.net>
4411 * lyxrc.C: set default for show_banner to true
4413 2002-08-06 John Levon <levon@movementarian.org>
4415 * pspell.C: fix a crash, and allow new aspell to work
4417 2002-08-06 John Levon <levon@movementarian.org>
4420 * kbmap.C: small cleanup
4423 * vspace.C: add const
4425 2002-08-05 John Levon <levon@movementarian.org>
4427 * LyXAction.C: back to tabular-insert
4429 2002-08-04 John Levon <levon@movementarian.org>
4432 * BufferView.C: cosmetic change
4434 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4444 * BufferView2.C: purge all "Lyx" not "LyX" strings
4447 * lyxcursor.C: attempt to add some documentation
4452 * ToolbarDefaults.C:
4453 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4454 merge with LFUN_TABULAR_INSERT
4461 * pspell.C: split up i/pspell implementations into separate
4462 files, many cleanups
4464 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4466 * text2.C: some cleanup
4468 * lyxfunc.C: don't check for isp_command == "none" any more, it
4469 didn't make any sense
4471 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
4476 * makefile.am: move counters functionality over
4477 from text2.C/paragraph.[Ch] to counters.[Ch], and
4479 2002-08-02 John Levon <levon@movementarian.org>
4481 * buffer.C: s/lyxconvert/lyx2lyx/
4483 2002-08-02 Angus Leeming <leeming@lyx.org>
4485 * lyxlex.C: revert John's change as it breaks reading of the user
4488 2002-08-02 Angus Leeming <leeming@lyx.org>
4490 * importer.C (Import):
4491 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4492 changes due to LyXView::view() now returning a boost::shared_ptr.
4494 2002-08-02 John Levon <levon@movementarian.org>
4496 * lyxlex.C: small cleanup
4498 2002-08-02 John Levon <levon@movementarian.org>
4500 * text2.C (status): small cleanup, no logic change
4502 2002-08-01 John Levon <levon@movementarian.org>
4505 * buffer.C (writeFile): don't output alerts, caller
4509 * lyx_cb.C: from above
4511 * lyxfunc.C: allow to open non-existent files
4513 2002-07-31 John Levon <levon@movementarian.org>
4515 * lyxserver.C: don't let incidental errors get
4518 2002-07-30 John Levon <levon@movementarian.org>
4520 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4522 2002-07-30 John Levon <levon@movementarian.org>
4525 * lyxserver.C: remove I/O callback too
4527 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4529 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4532 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
4534 * many files: strip,frontStrip -> trim,ltrim,rtrim
4536 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4538 * PrinterParams.h: remove extern containsOnly, and include
4539 support/lstrings.h instead.
4541 * LaTeX.C (scanAuxFile): modify because of strip changes
4543 * buffer.C (makeLaTeXFile): ditto
4544 * bufferparams.C (writeFile): ditt
4545 * lyxfont.C (stateText): ditto
4546 * lyxserver.C (read_ready): ditto
4547 * vc-backend.C (scanMaster): ditto
4549 * BufferView_pimpl.h: ws changes
4551 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4553 2002-07-26 André Pönitz <poenitz@gmx.net>
4555 * kb_sequence.C: remove unnedred usings
4557 2002-07-26 Juergen Vigna <jug@sad.it>
4559 * lyxfind.C (LyXReplace): we have to check better if the returned
4560 text is not of theLockingInset()->getLockingInset().
4562 2002-07-25 Juergen Vigna <jug@sad.it>
4564 * lyxfind.C (LyXReplace): don't replace if we don't get the
4567 * undo_funcs.C (createUndo): remove debugging code.
4569 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
4571 * buffer.C (parseSingleLyXformat2Token): Use default placement
4572 when reading old floats.
4574 * FloatList.C (FloatList): Change the default placement of figure
4575 and tables to "tbp".
4577 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
4579 * MenuBackend.C: using std::max
4581 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4583 * MenuBackend.C (expandToc):
4584 (expandToc2): code moved from xforms menu frontend. It is now
4585 generic and TOCs are transparent to menu frontends.
4587 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4589 * toc.C (getTocList): protect against buf=0
4591 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4592 Menu as first parameter. Now, this calls itself recursively to
4593 expand a whole tree (this will be useful for TOC handling)
4594 (expandFloatInsert): remove 'wide' version of floats
4596 * MenuBackend.h (submenuname): returns the name of the submenu.
4597 (submenu): returns the submenu itself, provided it has been
4598 created by MenuBackend::expand
4600 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4602 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4603 insets which have noFontChange == true. (bug #172)
4605 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4607 * BufferView_pimpl.C: add connection objects and use them...
4610 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4612 * MenuBackend.C (expandLastfiles):
4615 (expandFloatListInsert):
4616 (expandFloatInsert):
4617 (expand): split expand in parts
4619 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4621 * lyx_gui.C: use lyx_gui::exit()
4623 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4625 * LyXAction.C: show the failing pseudo action
4627 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
4629 * buffer.C (readFile): Run the lyxconvert script in order to read
4632 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4636 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4638 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
4642 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4644 2002-07-22 Herbert Voss <voss@lyx.org>
4647 * lyxlength.[Ch]: add support for the vertical lengths
4649 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
4651 * toc.[Ch]: std:: fixes
4653 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4655 * lyxrc.C: do not include lyx_main.h
4657 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4663 * BufferView2.C: include "lyxlex.h"
4666 * bufferparams.h: do not #include "lyxlex.h"
4668 * lyxtextclasslist.C (Add): remove method
4669 (classlist): renamed to classlist_
4671 * paragraph_pimpl.C:
4675 * bufferview_funcs.C:
4680 * toc.C (getTocList): use BufferParams::getLyXTextClass
4682 * toc.C (getTocList): use InsetFloat::addToToc
4684 * toc.[Ch]: new files, containing helper functions to handle table
4687 * lyxfunc.C (dispatch): no need to remove spaces around command
4689 (getStatus): handle LFUN_SEQUENCE by returning the status of the
4690 first command of the sequence; it is not very clever, but I do not
4691 have a better idea, actually
4693 * LyXAction.C (LookupFunc): make sure to remove space at the
4694 beginning and end of the command
4696 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4698 * MenuBackend.C (getMenubar): new method: return the menubar of
4700 (read): treat differently reading of menu and menubar (in
4701 particular, the menubar has no name now)
4702 (Menu::menubar): remove
4704 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4707 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4709 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4710 a bibitem inset in a RTL paragraph.
4712 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
4714 * paragraph_pimpl.C: constify
4716 * BufferView_pimpl.C:
4718 * lyxfunc.C: fix dispatch in a nicer way
4720 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4722 * lyxfunc.C (dispatch):
4723 * BufferView_pimpl.C:
4724 * BufferView_pimpl.h:
4726 * BufferView.h: rename Dispatch() to dispatch()
4728 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4730 * lyxlayout.C (Read): honor DependsOn tag
4732 * lyxlayout.[Ch] (depends_on): new method
4734 * version.C.in: update lyx_docversion
4736 * LaTeXFeatures.C (getMacros): only define \LyX when needed
4738 * paragraph.C (validate): remove from here...
4739 * paragraph_pimpl.C (validate): ... and move here
4740 (isTextAt): make it const
4742 * buffer.C (getLists): ws cleanup
4744 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
4746 * language.C (read): Use iso8859-1 encoding in latex_lang
4747 (this prevents LyX from crashing when using iso10646-1 encoding).
4749 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4751 * text2.C (toggleInset): if cursor is inside an inset, close the
4752 inset and leave cursor _after_ it
4754 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4756 * lyxfunc.C: move minibuffer completion handling out of here
4758 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
4760 * BufferView_pimpl.C:
4761 * LaTeX.C: fix dispatch calls
4763 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
4765 * text.C (drawChars): Fix Arabic text rendering.
4767 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
4771 * lyxfunc.C: remove message-push/pop
4775 * lyxfunc.C: rationalise some code by removing verboseDispatch
4776 in favour of a bool argument to dispatch()
4778 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4780 * lyx_main.C (init): make sure to read symlinks as absolute paths
4782 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4785 * lyxfunc.C: no need for commandshortcut to be a member
4787 2002-07-15 André Pönitz <poenitz@gmx.net>
4789 * converter.C: add support for $$s (scripts from lib/scripts dir)
4790 * lyx_main.C: white space
4792 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4796 * lyxrc.C: remove second exit confirmation
4798 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4803 * BufferView_pimpl.h:
4804 * BufferView_pimpl.C:
4805 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4807 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4809 * MenuBackend.C (expand): add numeric shortcuts to document menu
4811 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4813 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4815 * lyxfont.C (setLyXFamily):
4822 * buffer.C (asciiParagraph): use ascii_lowercase
4824 2002-07-15 Mike Fabian <mfabian@suse.de>
4826 * lyxlex_pimpl.C (search_kw):
4827 * lyxlex.C (getLongString):
4828 * converter.h (operator<):
4829 * converter.C (operator<):
4830 * buffer.C (parseSingleLyXformat2Token):
4832 * ToolbarDefaults.C (read):
4833 * MenuBackend.C (checkShortcuts):
4835 * LColor.C (getFromGUIName):
4836 (getFromLyXName): use the compare_ascii_no_case instead of
4837 compare_no_case, because in turkish, 'i' is not the lowercase
4838 version of 'I', and thus turkish locale breaks parsing of tags.
4840 2002-07-16 Angus Leeming <leeming@lyx.org>
4842 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4843 now takes a Buffer const & argument.
4845 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4847 * BufferView.C (resize): check there's a buffer to resize
4849 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
4851 * lyxfunc.C: remove dead code
4854 * lyxserver.C: use lyx_guii::set_read_callback
4856 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4858 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4859 an inset in a RTL paragraph.
4861 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4863 * lyxfunc.C: repaint after a font size update
4865 2002-07-15 André Pönitz <poenitz@gmx.net>
4867 * lyxlength.C: inBP should be able to return negative values
4869 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4871 * lyxfunc.C: use lyx_gui::update_fonts()
4873 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
4875 * lyxfunc.C: use lyx_gui::update_color()
4877 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4883 * lyxrc.C: remove file->new asks for name option, and let
4884 buffer-new take an argument
4886 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
4888 * BufferView_pimpl.C: remove unneeded extra repaint()
4890 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
4892 * LyXAction.C: allow command-sequence with NoBuffer
4894 * lyxfunc.C: don't insist on trailing ';' for command-sequence
4896 2002-07-10 Angus Leeming <leeming@lyx.org>
4898 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4900 2002-07-09 Angus Leeming <leeming@lyx.org>
4902 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4904 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4906 * lengthcommon.h: whitespace
4908 * lyxfunc.C: update scrollbar after goto paragraph
4910 * lyxtext.h: factor out page break drawing, and fix it so
4911 page break/added space paints as selected nicely
4913 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
4915 * BufferView_pimpl.C: add FIXMEs, clean up a little
4917 2002-07-09 André Pönitz <poenitz@gmx.net>
4919 * lyxfont.[Ch]: support for wasy symbols
4921 2002-07-08 André Pönitz <poenitz@gmx.net>
4923 * BufferView_pimpl.C: apply John's patch for #93.
4925 2002-07-05 Angus Leeming <leeming@lyx.org>
4927 * BufferView_pimpl.C (buffer): generate previews if desired.
4929 * LColor.h: add "preview" to the color enum.
4931 * LColor.C (LColor): add a corresponding entry to the items array.
4933 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4936 2002-07-05 Angus Leeming <leeming@lyx.org>
4938 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4939 The body of the code is now in the method that is passed an ostream &
4940 rather than a file name.
4941 Pass an additional only_preamble parameter, useful for the forthcoming
4944 2002-07-03 André Pönitz <poenitz@gmx.net>
4946 * lyxfunc.C: simplify getStatus() a bit for math stuff
4948 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4950 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4952 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4954 * text.C (changeRegionCase): do not change case of all the
4955 document when region ends at paragraph end (bug #461)
4957 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4959 * paragraph.C (startTeXParParams):
4960 (endTeXParParams): add \protect when necessary
4962 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4964 * BufferView_pimpl.C (workAreaExpose): remove warning
4966 2002-06-27 Angus Leeming <leeming@lyx.org>
4968 * Makefile.am: add lyxlayout_ptr_fwd.h.
4970 2002-06-26 André Pönitz <poenitz@gmx.net>
4972 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4974 2002-06-25 Angus Leeming <leeming@lyx.org>
4976 * lyxfunc.C (dispatch): Comment out the call to
4977 grfx::GCache::changeDisplay. The method no longer exists now that the
4978 pixmap generation part of the graphics loader has been moved into
4981 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4983 * text2.C: layout as layout
4985 * text.C: layout as layout
4987 * tabular.C (OldFormatRead): layout as layout
4989 * paragraph_pimpl.C (TeXDeeper): layout as layout
4990 (realizeFont): layout as layout
4992 * paragraph.C (writeFile): layout as layout
4993 (validate): layout as layout
4994 (getFont): layout as layout
4995 (getLabelFont): layout as layout
4996 (getLayoutFont): layout as layout
4997 (breakParagraph): layout as layout
4998 (stripLeadingSpaces): layout as layout
4999 (getEndLabel): layout as layout
5000 (getMaxDepthAfter): layout as layout
5001 (applyLayout): layout as layout
5002 (TeXOnePar): layout as layout
5003 (simpleTeXOnePar): layout as layout
5004 (TeXEnvironment): layout as layout
5005 (layout): layout as layout
5006 (layout): layout as layout
5008 * lyxtextclass.C (compare_name): new functor to work with
5009 shared_ptr, layout as layout
5010 (Read): layout as layout
5011 (hasLayout): layout as layout
5012 (operator): layout as layout
5013 (delete_layout): layout as layout
5014 (defaultLayout): layout as layout
5016 * lyxlayout_ptr_fwd.h: new file
5018 * lyxlayout.C (Read): layout as layout
5020 * lyx_cb.C (MenuInsertLabel): layout as layout
5022 * bufferlist.C (newFile): layout as layout
5024 * buffer.C (readLyXformat2): layout as layout
5025 (parseSingleLyXformat2Token): layout as layout
5026 (insertStringAsLines): layout as layout
5027 (asciiParagraph): layout as layout
5028 (latexParagraphs): layout as layout
5029 (makeLinuxDocFile): layout as layout
5030 (simpleLinuxDocOnePar): layout as layout
5031 (makeDocBookFile): layout as layout
5032 (simpleDocBookOnePar): layout as layout
5033 (getLists): layout as layout
5035 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5037 * CutAndPaste.C (cutSelection): layout as layout
5038 (pasteSelection): layout as layout
5039 (SwitchLayoutsBetweenClasses): layout as layout
5041 * BufferView_pimpl.C (Dispatch): layout as layout
5042 (smartQuote): layout as layout
5044 * BufferView2.C (unlockInset): layout as layout
5046 2002-06-24 André Pönitz <poenitz@gmx.net>
5048 * lyxfunc.C: fix #487
5050 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5054 * lyxfunc.C: remove display_shortcuts, show_banner
5056 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5058 * Buffer_pimpl.C: oops, update on resize
5060 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5067 * BufferView.C: use repaint()
5069 * BufferView_pimpl.h:
5070 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5071 as it's a clearer description. Remove superfluous
5074 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5076 * text.C: fix bug 488. Not ideal, but getting
5077 getWord() to work properly for the insets that
5078 matter is more difficult ...
5080 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5082 * BufferView_pimpl.C:
5085 * lyxfunc.C: remove the six million index lyxfuncs to just
5086 one, and DTRT (bug 458)
5088 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5092 * BufferView_pimpl.h:
5093 * BufferView_pimpl.C: clean up resize() stuff,
5094 and unnecessary updateScreen()s
5096 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5100 * BufferView_pimpl.h:
5101 * BufferView_pimpl.C:
5104 * minibuffer.C: remove focus management of workarea,
5105 not needed. Use screen's greyOut()
5107 2002-06-17 Herbert Voss <voss@lyx.org>
5109 * converter.C: (convert) do not post a message, when converting
5110 fails, let the calling function decide what to do in this case
5112 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
5114 * lyxfunc.C: tidy up a little
5116 2002-06-16 <alstrup@diku.dk>
5118 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5119 Got rid of FORMS_H_LOCATION include. Now we are
5122 2002-06-15 LyX Development team <lyx@rilke>
5124 * buffer.[Ch] (sgmlOpenTag):
5125 (sgmlCloseTag): Added support for avoiding pernicious mixed
5126 content. Return number of lines written.
5129 (makeDocBookFile): Fixed calls to sgml*Tag.
5130 Simple white space clean.
5132 (simpleDocBookOnePar): Simple white space clean.
5134 * tabular.[Ch] (docBook): Renamed to docbook and got another
5135 argument to related with the pernicious mixed content.
5137 (docbookRow): Fixed calls for docbook inset method.
5139 2002-06-15 Lyx Development team <larsbj@birdstep.com>
5141 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5142 so it's X11 independent.
5146 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5148 2002-06-15 Lyx Development team <lyx@electronia>
5150 * intl.h: Renamed getTrans to getTransManager.
5152 2002-06-14 Angus Leeming <leeming@lyx.org>
5154 * Makefile.am: nuke forgotten stl_string_fwd.h.
5156 2002-06-12 Angus Leeming <leeming@lyx.org>
5158 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5160 2002-06-13 Angus Leeming <leeming@lyx.org>
5163 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5165 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
5167 * kbmap.C (getiso): add support for cyrillic and greek
5169 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5173 * BufferView_pimpl.h:
5174 * BufferView_pimpl.C: move bogus scrolling logic
5177 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5180 * BufferView_pimpl.C: view->resize() change
5182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5184 * BufferView_pimpl.C: topCursorVisible
5187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5191 * lyx_gui.C: move to frontends/
5195 * lyx_main.C: changes from above
5197 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5204 * lyx_main.C: minor tidy
5206 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5208 * BufferView_pimpl.h:
5209 * BufferView_pimpl.C:
5211 * BufferView.C: make painter() const,
5214 * BufferView2.C: use screen() accessor
5217 * lyx_main.C: some minor cleanup
5219 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5221 * BufferView_pimpl.h:
5222 * BufferView_pimpl.C: remove enter/leaveView,
5225 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
5230 * BufferView_pimpl.h:
5231 * BufferView_pimpl.C: only construct screen once,
5234 * lyxrc.C: remove pointless comment
5236 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5239 * BufferView.C: remove active() and belowMouse()
5241 * BufferView_pimpl.h:
5242 * BufferView_pimpl.C: use workarea() not workarea_,
5243 and make it use a scoped_ptr instead
5245 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
5247 * lyx_gui.C: add debug message on BadWindow
5249 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5251 * sp_spell.C: fdopen is not part of the C++ standard.
5253 * paragraph.C (InsetIterator): use >= instead of ==
5255 2002-06-07 Angus Leeming <leeming@lyx.org>
5257 Fixes needed to compile with Compaq cxx 6.5.
5258 * BufferView_pimpl.C:
5265 * lyxtextclasslist.C:
5270 all c-library variables have been moved into namespace std. Wrap
5271 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5276 Add a using std::abs declaration.
5278 * kbmap.h (modifier_pair):
5279 * paragraph.h (InsetTable, InsetList):
5280 * lyxfont.h (FontBits):
5281 type definition made public.
5283 * bufferlist.C (emergencyWriteAll): the compiler complains that
5284 there is more than one possible lyx::class_fun template to choose from.
5285 I re-named the void specialisation as lyx::void_class_fun.
5287 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5289 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5290 the compiler is is unable to find tostr in write_attribute.
5292 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5294 * buffer.C (sgmlError): hide #warning
5296 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5298 * xtl/*: get rid of xtl, which is not in use anyway
5300 * LyXAction.C (init):
5301 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5302 were unimplemented xtl experimentation
5304 2002-06-04 André Pönitz <poenitz@gmx.net>
5306 * lyxfunc.C: disable array operation on simple formulae
5308 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
5310 * converter.C: constify a bit
5312 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
5314 * lyx_gui.C: check xforms version correctly
5316 2002-04-30 Herbert Voss <voss@lyx.org>
5318 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5321 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
5323 * lyxvc.C: fix bug 416 (make sure buffer is saved before
5324 attempt to register it with a VCS)
5326 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5328 * lyx_main.C (init): honor variables LYX_DIR_13x and
5331 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5335 * lyx_main.C: fix a crash on bad command line,
5336 and give a useful exit status on error
5338 * lyxfunc.C (doImport): allow -i lyx to work
5340 2002-03-30 André Pönitz <poenitz@gmx.net>
5342 * lyxfunc.C: mathed font changes
5344 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
5359 * trans_mgr.h: srcdocs, and some minor cleanups
5361 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5363 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5364 call getFont all the time)
5366 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5368 * switch from SigC signals to boost::signals
5370 2002-05-29 André Pönitz <poenitz@gmx.net>
5372 * paragraph_pimpl.C (getChar): don't call size() too often...
5374 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5376 * paragraph_pimpl.C (insertChar): do not try to update tables when
5377 appending (pos == size())
5379 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5380 in order to reduce drastically the number of comparisons needed to
5381 parse a large document
5383 2002-05-29 André Pönitz <poenitz@gmx.net>
5389 * textclasslist.[Ch]:
5390 * sp_ispell.h: whitespace change
5392 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5394 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5395 lyxaction directly now.
5397 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
5401 * lyxvc.C: remove unused headers
5403 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5410 * undo_funcs.C: some cleanups. Use shared_ptr
5411 and a template for the undo stacks.
5413 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
5415 * BufferView_pimpl.h:
5416 * BufferView_pimpl.C:
5423 * text2.C: use key_state/mouse_state
5425 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5427 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5430 * chset.C: change include order
5431 (loadFile): use boost regex and get rid of LRegex and LSubstring
5433 * Makefile.am (BOOST_LIBS): new variable
5436 * LaTeX.C: change include order.
5437 (scanAuxFile): use boost regex and get rid of LRegex and
5441 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5446 * FontInfo.C: moved to frontends/xforms/
5449 * FontLoader.C: moved into frontends for GUIIzation
5454 * lyxfunc.C: changes from above
5456 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
5458 * LColor.C: remove spurious X include
5460 * BufferView_pimpl.C:
5465 * text2.C: move font metrics to frontends/
5467 2002-05-24 Juergen Vigna <jug@sad.it>
5469 * undo_funcs.C (textHandleUndo): fix the cursor selection after
5470 setting the undo_cursor.
5472 * ParagraphParameters.h: include local includes first.
5474 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5476 * BufferView_pimpl.C:
5477 * BufferView_pimpl.h:
5481 * screen.C: move WorkArea into frontends/
5487 * BufferView2.C: move LyXScreen into frontends/
5491 * lyx_gui.C: move lyxlookup into frontends/xforms/
5493 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5496 * BufferView_pimpl.C:
5506 * bufferview_funcs.C:
5519 * vc-backend.C: move LyX/XFormsView into frontends/
5521 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
5533 * text2.C: move Painter to frontends/
5535 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5537 * buffer.C: comment out some some code that depend upon lyx_format
5540 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5541 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5543 * buffer.h (NO_COMPABILITY): turn off compability
5545 * ColorHandler.C: include scoped_array.hpp
5547 * font.C: Use more specific smart_ptr header.
5550 * ShareContainer.h: ditto
5554 * BufferView_pimpl.h: ditto
5555 * ColorHandler.h: ditto
5557 * kbmap.C (defkey): change call to shared_ptr::reset
5559 2002-05-21 Juergen Vigna <jug@sad.it>
5561 * buffer.C (insertErtContents): fix to insert ert asis if it is
5562 non empty. Skip it completely if it contains only whitespaces.
5564 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
5566 * BufferView_pimpl.C:
5567 * BufferView2.C: clear selection on paste (bug 393)
5569 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5571 * DepTable.C: include ctime
5573 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
5575 * buffer.C (latexParagraphs): Add new argument (moving_arg).
5577 2002-05-14 Juergen Vigna <jug@sad.it>
5579 * text.C (breakParagraph): fixed function to honor the keepempty
5580 layout in the right maner and also to permit the right breaking
5581 algorithm on empty or non empyt keepempty paragraphs.
5583 * paragraph.C (breakParagraph): we have to check also if the par
5584 is really empty (!size()) for isempty otherwise we do the wrong
5587 2002-05-10 Juergen Vigna <jug@sad.it>
5589 * buffer.[Ch] : The following are only changes to the ert
5590 compatibility read reading old LaTeX layout and font stuff and
5591 convert it to ERTInsets.
5593 * buffer.h: added isErtInset().
5595 * buffer.C (struct ErtComp): add a fromlayout bool to check
5596 if we're inside a LaTeX layout.
5597 (isErtInset): new helper function.
5598 (insertErtContents): look for other ert insets before this one
5599 and insert the contents there, so that we don't have subsequent
5600 ERT insets with nothing between them. This way we create only one
5601 inset with multiple paragraphs. Also check if we don't insert only
5602 spaces ' ' as they are ignored anyway afterwards in the .tex file
5603 so if we have only spaces we will ignore this latex part in the
5605 (parseSingleLyXformat2Token \\layout): better compatibility when
5606 reading layout-latex stuff.
5607 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5609 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5610 stuff after reading the inset only get the information back from
5613 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
5615 * buffer.C (makeLaTeXFile): Put language options after loading babel.
5617 * LaTeXFeatures.C (getBabelOptions): New method.
5619 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5621 * BufferView_pimpl.C (Dispatch): work around missing argument for
5624 2002-05-08 Juergen Vigna <jug@sad.it>
5626 * text.C (leftMargin): handle paragraph leftindent.
5628 * paragraph.C (writeFile): write the new \\leftindent tag.
5629 (validate): handle leftindent code.
5630 (TeXEnvironment): handle paragraphleftindent code again.
5632 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5634 * buffer.C (parseSingleLyXformat2Token): added compatibility code
5635 for paragrap_extra indent code and new token \\leftindent.
5636 (latexParagraphs): handle the leftindent as environment.
5638 * ParameterStruct.h: added leftindent support.
5640 * ParagraphParameters.C (leftIndent): added support functions for
5641 the paragraph left indent.
5643 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5646 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
5648 * paragraph.C (isRightToLeftPar): Return false for a paragraph
5651 * text.C (computeBidiTables): No bidi in insetERT.
5653 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5656 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5658 * version.C.in: pre 5
5660 2002-05-02 José Matos <jamatos@fep.up.pt>
5661 * buffer.C (makeDocBookFile): white space changes, add newline to
5663 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5665 * tabular.C (docBook): fix typo.
5667 2002-05-03 Juergen Vigna <jug@sad.it>
5669 * screen.C (drawFromTo): recalculate the rowpointer if we had a
5670 change in LyXText as we can not be sure it was not freed.
5671 (drawOneRow): remove unused code.
5673 * text.C (drawInset): redo the calculation of the need_break_row as
5674 it could have a row which was already freed.
5675 (draw): look at the return value of drawInset and return false if
5676 it also returned false.
5677 (paintRowText): look at the return value of draw and return false if
5678 it also returned false.
5680 * lyxtext.h: added bool return type to drawInset() and draw() so that
5681 if we have a change in the row so that the rowbreak has to be redone
5682 we abort drawing as it will be called again.
5684 2002-05-02 Juergen Vigna <jug@sad.it>
5686 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5687 a change in the maintext also if we're inside an inset.
5688 (Dispatch): set the cursor again after a break line and after the
5689 screen has been updated as it could be we're in a different row.
5691 * text2.C (fixCursorAfterDelete): check to make sure we don't request
5692 to set the cursor behind the pargraph with > size().
5693 (setCursor): check also for the same paragraph when checking where
5694 to put the cursor if we have a NFR inset.
5696 * buffer.C (parseSingleLyXformat2Token): move the compatibility
5697 parts of layout read further up as it still was in the wrong
5700 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5702 * screen.C (drawFromTo): change sine fullRebreak always return
5705 * buffer.C (parseSingleLyXformat2Token): reindent some
5707 * BufferView_pimpl.C (update): change since fullRebreak always
5709 (Dispatch): git rid of the last hardcoded "Standard"s.
5711 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5713 * text2.[Ch] (fullRebreak): make it return void now that we always
5716 2002-04-30 Juergen Vigna <jug@sad.it>
5718 * buffer.C (parseSingleLyXformat2Token): reset the font before the
5719 ert compatibility check for "latex" layout.
5721 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
5723 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5724 minipages: use col% instead of p%, and also use the current font.
5725 (makeLaTeXFile): Fix use babel condition.
5726 (parseSingleLyXformat2Token): Correct font when reading old floats.
5728 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
5730 * BufferView_pimpl.C (Dispatch): Check that float type exists when
5731 inserting list of floats.
5733 2002-04-25 Herbert Voss <voss@lyx.org>
5735 * MenuBackend.C (expand): don't add the graphics extensions to the
5738 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5740 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5741 non-existing layout, do not complain if it was the default layout
5742 of the original class (bug #342)
5744 2002-04-24 Juergen Vigna <jug@sad.it>
5746 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5747 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5749 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
5751 * buffer.C (getBibkeyList): If using \bibliography, return the
5752 option field with the reference itself. Enables us to provide natbib
5753 support when using \bibliography.
5755 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
5757 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5759 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5760 natbib is provided by the LaTeX class.
5762 2002-04-23 Juergen Vigna <jug@sad.it>
5764 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5767 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5769 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5771 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5773 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5774 ensuremath around textordmasculine, textordfeminine and
5777 2002-04-19 Juergen Vigna <jug@sad.it>
5779 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5780 reinitializing the buffer otherwise row-dimensions may be wrong.
5781 (update): reset also the selection cursors if they do exits otherwise
5782 their x/y positions may be wrong.
5784 * text2.C (cursorDown): don't enter the inset if we came from a row
5785 above and are one row over the inset.
5787 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5788 really leaving an inset.
5790 2002-04-18 Juergen Vigna <jug@sad.it>
5792 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5793 of the selected paragraph does not have the selected layout also if
5796 * text2.C (setLayout): fixed bug which did not change last selected
5799 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5800 changed the read and substituted \\end_float with \\end_inset!
5802 * BufferView_pimpl.C (cursorPrevious):
5803 (cursorNext): fixed to make it work with rows heigher than the work
5804 area without moving the cursor only the draw of the row.
5805 (workAreaMotionNotify): fix jumping over high rows.
5807 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5809 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5812 2002-04-16 Juergen Vigna <jug@sad.it>
5814 * text2.C (setCursor): set also the irow().
5815 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5817 (cursorDown): support for locking an inset if the x_fix value goes
5818 inside it. That way I can transverse insets too with cursor up/down.
5820 * lyxrow.h: added irow helper function same as other (i) functions.
5822 * BufferView_pimpl.C (cursorPrevious):
5823 (cursorNext): fixed for insets!
5825 2002-04-15 Juergen Vigna <jug@sad.it>
5827 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5828 position otherwise it is wrong in some cases.
5830 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5831 inside the inset before the call.
5833 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
5835 * buffer.[Ch] (getBibkeyList): make it const.
5837 2002-04-12 Juergen Vigna <jug@sad.it>
5839 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5841 * text2.C (getCursorX): new helper function
5842 (setCursor): compute also ix_
5843 (setCursorFromCoordinates): set also ix.
5845 * lyxcursor.h: added ix_ and helper functions.
5847 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5849 * buffer.C (insertStringAsLines): dont break paragraph if the this
5850 paragraph is inside an inset which does not permit it!
5852 * text.C (breakParagraph): honor keepempty flag and break the paragraph
5853 also with no chars on this paragraph.
5854 (paintRowText): only paint stuff if it's inside the workarea!
5856 * paragraph.C (breakParagraph): honor keepempty flag and break the
5857 paragraph always below not above.
5859 * BufferView2.C (unlockInset): update the paragraph layout on inset
5860 unlock as we changed paragraph in such a case.
5862 * lyxfind.C (LyXFind): clear the former selection if not found!
5864 * text2.C (insertInset): freeze Undo after setUndo so that it is not
5865 again called in insertChar().
5867 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5868 an inset which uses the whole row!
5869 (rightMargin): ditto.
5870 (insertChar): force a rebreak if we inserted an inset!
5872 2002-03-28 Herbert Voss <voss@lyx.org>
5874 * lyxlength.[Ch]: add inBP() to get the right PS-point
5875 units (BigPoint). With inPixels we have rounding errors
5877 2002-04-11 Juergen Vigna <jug@sad.it>
5879 * text2.C (setCursorFromCoordinates): set iy to the right value.
5880 (setCursor): add check if row->previous exists!
5882 * buffer.C (parseSingleLyXformat2Token): reset font after read of
5883 an old float_type as this was the case in the old code!
5885 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5887 * BufferView2.C (showLockedInsetCursor): use iy
5888 (fitLockedInsetCursor): ditto
5890 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5891 locked insets as there we have the right value now.
5893 * lyxcursor.C: added iy_ variable and iy functions to set to the
5894 baseline of cursor-y of the locked inset.
5896 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5897 (setCursor): fixed for insets which need a full row.
5899 * text.C (rowLastPrintable): don't ignore the last space when before
5900 an inset which needs a full row.
5901 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5902 as last character of a row when before a inset which needs a full row.
5904 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
5906 * version.C.in: update date
5908 * text2.C (fullRebreak): try to always return true and see what
5911 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5913 * MenuBackend.C (expand): use Floating::listName
5915 * FloatList.C (FloatList): add listName argument to the built-in
5918 * Floating.[Ch]: add listName member, which is the 'List of XXX'
5919 text associated with the float.
5921 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5923 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5925 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5927 * ShareContainer.h: add a couple of missing typenames.
5929 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
5931 * lyxrc.C (getDescription): use _() correctly rather than N_().
5933 2002-03-28 Herbert Voss <voss@lyx.org>
5935 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5936 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5938 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5940 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5941 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5943 2002-03-29 Juergen Vigna <jug@sad.it>
5945 * lyxfunc.C (dispatch): add a missing fitCursor call.
5947 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5948 it was scrolled by a cursor move, so return the bool status.
5950 * BufferView.C (fitCursor): return the bool flag also to the outside
5951 world as this is needed.
5953 * screen.C (toggleToggle): don't subtract the offset if it's positive.
5955 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5956 call the edit() as it is not needed (and wrong) IMO.
5957 (workAreaButtonPress): set the screen_first variable before evt.
5958 unlock the inset as this may change screen_first and then we have
5959 a wrong y position for the click!
5961 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5963 * MenuBackend.C (expand): another translation that I missed
5965 2002-03-28 Juergen Vigna <jug@sad.it>
5967 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5969 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5971 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5973 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5975 * MenuBackend.C (expand): fix export/view/update when there is no
5978 2002-03-27 Herbert Voss <voss@lyx.org>
5980 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5983 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5985 * bufferview_funcs.C (currentState): only show paragraph number
5986 for is DEVEL_VERSION is set.
5988 * lyxfunc.C (dispatch): put warning in INFO channel
5990 * MenuBackend.C (expand): translate the name of floats
5992 * FloatList.C (FloatList): mark the float names for translation
5994 * converter.C (convert): use LibScriptSearch
5996 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5998 * MenuBackend.C (defaults): fix default menu (we might as well get
6001 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6003 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6006 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6008 * lyxvc.C: reorder includes.
6010 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6012 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6015 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6017 * CutAndPaste.C: change layouts earlier on paste
6018 to avoid crashing when calling getFont()
6020 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6022 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6025 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6027 * WorkArea.C: remove 'Pending' debug message.
6029 * most files: ws cleanup
6031 * buffer.[Ch]: ws changes
6033 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6035 2002-03-21 Juergen Vigna <jug@sad.it>
6037 * tabular.C (SetMultiColumn): collapse also the contents of the
6038 cells and set the last border right. Added a Buffer const * param.
6040 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6042 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6045 2002-03-19 Juergen Vigna <jug@sad.it>
6047 * text2.C (clearSelection): reset also xsel_cache.
6049 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6050 where it needs to be called (John tells us to do so too :)
6051 (selectionLost): reset sel_cache.
6053 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6055 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6057 * text2.C (setCursorIntern): put debuging code in INSETS channel
6059 2002-03-19 André Pönitz <poenitz@gmx.net>
6061 * lyxfunc.C: tiny whitespace change
6063 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6065 * ToolbarDefaults.C (init):
6066 * LyXAction.C (init):
6068 * BufferView_pimpl.C (Dispatch):
6069 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6071 2002-03-19 Allan Rae <rae@lyx.org>
6073 * exporter.C (Export): removeAutoInsets before doing anything else.
6074 While I've just introduced a dependency on BufferView this really is
6075 the best place to clean the buffer otherwise you need to cleanup in
6076 a dozen places before calling export or cleanup in a dozen functions
6079 * converter.C (runLaTeX):
6080 (scanLog): Better handling of removeAutoInsets and screen updates.
6082 * lyxfunc.C (dispatch): small whitespace changes
6084 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6086 * WorkArea.C (C_WorkAreaEvent): return a value.
6087 (event_cb): return 1 if we handled the event, 0 otherwise.
6089 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6091 2002-03-18 Juergen Vigna <jug@sad.it>
6093 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6094 (GetAdditionalWidth): ditto.
6098 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6099 inset if we're there actually (probably not used right now but this
6100 is the direction to go for unifying code).
6101 (paste): disable code to clear the selection.
6103 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6104 inside an InsetText and move the check further up as it is in the
6107 * text2.C (pasteSelection): set a selection over the pasted text.
6109 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
6111 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6112 and libgraphics to build on Cygwin.
6114 2002-03-15 Juergen Vigna <jug@sad.it>
6116 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6117 inserting an Inset into the paragraph. I know this is not the best
6118 fix but we already use current_view in CutAndPaste so we will remove
6119 all of it's using at the same time.
6121 * buffer.C (sgmlError): deactivated function till it is rewritten in
6122 the right mode, now it can create problems.
6124 * paragraph.C (isLineSeparator): check if getInset returns != 0,
6125 before accessing it.
6127 2002-03-14 Juergen Vigna <jug@sad.it>
6129 * undo_funcs.C (textHandleUndo): do the right thing when updating
6130 the inset after the undo/redo.
6132 * text2.C (setCursor): just some testcode for #44 not ready yet.
6134 * undo_funcs.C (textHandleUndo): set the next() and previous()
6135 pointers of the paragraph to 0 before deleting otherwise we have
6136 problems with the Paragraph::[destructor].
6138 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6139 on a paragraph insertion.
6141 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6143 * buffer.C (asciiParagraph): use += operator for char append to
6146 * paragraph.C (getFontSettings): compare >= not just >
6147 (highestFontInRange): ditto
6150 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6152 * paragraph.C: change several algorithm to be more appripriate for
6153 the problem domain. This is lookip in FontList and in the InsetList.
6155 2002-03-13 André Pönitz <poenitz@gmx.net>
6158 * LyXAction.C: remove unused LFUN_MATH_MACROARG
6160 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
6165 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6167 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * Painter.C (display): anon helper function, adjust code for this
6171 (pixmap): remove function.
6173 * Painter.h: remove private display variable.
6175 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6177 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
6179 * WorkArea.[Ch]: remove figinset_canvas cruft.
6181 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6183 * lyxtextclass.C (operator): add one item cache optimization.
6185 * bufferlist.h: doxy changes
6187 * bufferlist.C: ws changes
6189 * DepTable.[Ch] (ext_exist): place const in the right spot.
6191 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6193 (workAreaExpose): call resizeInsets when the with BufferView changes.
6194 (Dispatch): adjust for protectedBlank removal
6195 (specialChar): call updateInset if the insert went ok.
6197 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6198 specialChar instead.
6200 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6202 * BufferView.h: doxy change
6204 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6206 * lyxtextclass.C (operator[]): remove non-const version
6207 (defaultLayout): remove non-const version
6209 2002-03-12 Juergen Vigna <jug@sad.it>
6211 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6212 did resize the LyXText too.
6214 * buffer.C (readLyXformat2): set layout information on newly allocated
6217 * tabular.C (OldFormatRead): set layout information on the paragraph.
6219 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6221 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6223 2002-03-11 Juergen Vigna <jug@sad.it>
6225 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6227 (resizeCurrentBuffer): force also the insets to resize themselfes.
6228 (moveCursorUpdate): fixed up for InsetText.
6230 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
6233 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6234 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6235 value of Dialogs::tooltipsEnabled().
6236 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6238 2002-03-08 Juergen Vigna <jug@sad.it>
6240 * BufferView_pimpl.C (updateInset): update inset inside inset also
6241 if it isn't inside theLockingInset().
6243 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6245 * buffer.C (asciiParagraph): redo some of the word and line length
6247 (getLists): look for Caption instead of caption.
6249 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6251 * buffer.C (Buffer): initialize niceFile to true
6254 (makeDocBookFile): make sure niceFile is true on exit
6256 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6258 * buffer.C (makeLaTeXFile): escape ~ in \input@path
6260 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
6262 * LyXSendto.C: remove.
6263 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6264 * lyx_gui.C: remove now-redundant comment.
6265 * ColorHandler.h: remove forward declaration of class WorkArea.
6266 * lyxfunc.C: remove #include "WorkArea.h".
6268 2002-03-07 Juergen Vigna <jug@sad.it>
6270 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6271 got moved away with the DEPM and also set the inset_owner always
6272 right which before could have been omitted.
6274 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6276 * buffer.C (parseSingleLyXformat2Token): use default layout is the
6277 wanted layout is not found.
6279 2002-03-07 Juergen Vigna <jug@sad.it>
6281 * CutAndPaste.C (cutSelection): another layout settings forgotten.
6283 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
6285 * paragraph.C (breakParagraph): use default layout not layout of
6287 (Paragraph): clear ParagraphParameters.
6289 2002-03-06 Juergen Vigna <jug@sad.it>
6291 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6292 otherwise it would not be a valid lenght. Fixed a special case in
6293 the minipage compatibility read where we end the document with a
6296 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6297 was set as it could be 0 for InsetTexts first entry.
6299 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6301 * paragraph.C (writeFile): if layout is empty write out
6302 defaultLayoutName().
6304 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6305 file without named layout we set layout to defaultLayoutName().
6307 2002-03-06 Juergen Vigna <jug@sad.it>
6309 * CutAndPaste.C (copySelection): set layout for new paragraph.
6311 * text.C (prepareToPrint): leave ERT inset left aligned
6312 (leftMargin): don't indent paragraphs inside ERT insets
6314 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6316 * paragraph.C (breakParagraph): dont call clear do the work manually
6318 * paragraph.[Ch] (clear): remove function
6320 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6322 * paragraph.C (Paragraph): dont call clear, the work has already
6325 * lyxtextclass.C (operator): assert if n is empty
6327 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6328 work manually instead.
6330 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6332 * BufferView_pimpl.C: protect selectionLost against text == 0
6334 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6336 * text.C (breakParagraph): fix a setting layout to '0' problem.
6338 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
6340 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6341 final location of file, for the included files, and graphics.
6343 2002-03-05 Juergen Vigna <jug@sad.it>
6345 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6347 2002-03-04 Juergen Vigna <jug@sad.it>
6349 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6351 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6352 last column of multicolumn cells.
6353 (SetWidthOfMulticolCell): recalculate NMC and real columns.
6355 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
6357 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6358 file if it doesn't go to a temporary file.
6360 * buffer.C (sgmlOpenTag):
6361 (sgmlCloseTag): remove extra newline insertion.
6363 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6365 * text.C (getRowNearY): comment out debug msg
6367 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6369 * text2.C: first -> first_y
6371 * text.C (getRowNearY): add some attemts at a possible
6372 optimization, not working.
6374 * tabular.[Ch]: add BufferParams to several function so that newly
6375 created paragraph can be initialized to he default layotu for the
6378 * tabular-old.C (ReadOld): add buf->params to call of Init
6380 * screen.C: rename text->first to text->first_y
6382 * paragraph.C (breakParagraph): always set layout in the broken
6385 * lyxtextclass.C (Read): remove lowercase
6388 (delete_layout): ditto
6390 * lyxtext.h: rename first -> first_y
6392 * lyxlayout.C (Read): remove lowercase
6395 (obsoleted_by): ditto
6397 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6399 * buffer.C (insertErtContents): add params are to InsetERT
6400 (parseSingleLyXformat2Token): add code to check if a paragraphs
6401 layout really exist.
6402 (parseSingleLyXformat2Token): add params to several inset
6404 (asciiParagraph): remove lowercase, do the layout comparisons with
6407 * BufferView_pimpl.C (cursorNext): first -> first_y
6408 (resizeCurrentBuffer): first -> first_y
6409 (updateScrollbar): first -> first_y
6410 (scrollCB): first -> first_y
6411 (workAreaMotionNotify): first -> first_y
6412 (workAreaButtonPress): first -> first_y
6413 (checkInsetHit): first -> first_y
6414 (cursorPrevious): first -> first_y
6415 (cursorNext): first -> first_y
6416 (Dispatch): add buffer_->params to severl inset contructors
6418 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6420 * lyxlayout.C (Read): remove some debug info that I forgot.
6422 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6423 clean up the code slightly.
6424 (makeLinuxDocFile): ditto
6425 (makeDocBookFile): ditto
6427 * text2.C: layout as string
6429 * text.C: layout as string
6431 * paragraph_pimpl.C: layout as string
6433 * paragraph.[Ch]: layout as string
6435 * lyxtextclasslist.[Ch]: layout as string
6437 * lyxtextclass.[Ch]: layout as string
6439 * lyxtext.h: layout as string
6441 * lyxlayout.[Ch]: layout as string
6443 * lyx_cb.C: layout as string
6445 * bufferview_funcs.C: layout as string
6447 * bufferparams.C: layout as string
6449 * buffer.C: layout as string
6451 * LyXView.[Ch]: layout as string
6453 * LaTeXFeatures.[Ch]: layout as string
6455 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6457 * BufferView_pimpl.C: change current_layout to string, remove
6462 (workAreaButtonRelease): layout as string
6464 * BufferView2.C (unlockInset): adjust
6466 * vspace.C (asLatexCommand): use an explict temp variable.
6468 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
6470 * Makefile.am: use FRONTEND_*
6472 2002-03-01 Juergen Vigna <jug@sad.it>
6474 * tabular.C (SetWidthOfMulticolCell): changed to something better
6475 I hope but still work in progress.
6476 (recalculateMulticolumnsOfColumn): renamed function from
6477 recalculateMulticolCells as it is more appropriate now.
6478 (SetWidthOfCell): calculate multicols better.
6480 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6482 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6484 * lyxfunc.C (processKeySym): print sequence also if it is
6485 `deleted' (complete)
6487 * kbsequence.C (print): print sequence even if it is deleted
6488 (complete would be a better word, actually).
6490 * lyxfunc.C (dispatch): print complete options after a prefix key
6492 * vspace.C (asLatexCommand): rewrite in a slightly different form.
6494 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
6496 * text2.C (setCharFont): eliminate setCharFont code duplication.
6498 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6500 * BufferView_pimpl.C (Dispatch): remove bogus handling of
6501 LFUN_TABULAR_FEATURE (bug #177)
6503 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
6505 * Makefile.am: remove figure.h
6507 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
6509 * Bufferview_pimpl.C:
6521 * text2.C: remove #include "lyx_gui_misc.h".
6523 * LaTeX.C: added #include <cstdio>
6525 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6527 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6528 that the paragraph following this one can have.
6530 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6532 * vspace.C (asLatexCommand): fix bogus gcc warning
6534 * Makefile.am (lyx_SOURCES): remove vms_defines.h
6536 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
6538 * text2.C (setLayout): get rid of redundant code
6540 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
6542 * text2.C (incDepth): make sure depth cannot be increased beyond
6545 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
6547 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6548 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6550 * PainterBase.h (image):
6551 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6554 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6558 * BufferView_pimpl.C:
6559 * BufferView_pimpl.h:
6579 * sp_spell.C: remove fig inset, and the crap house of
6580 cards that follows it
6582 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
6588 * nt_defines.h: move .h into support/
6590 * vms_defines.h: remove
6592 * WorkArea.C: add space in debug output
6596 * buffer.C: add WITH_WARNINGS
6600 * bufferlist.C: s/retrive/retrieve/, add docs
6611 * lyxgui.C: add ID to X error handler
6613 * lyxtestclass.c: fix typo
6615 2002-02-26 Juergen Vigna <jug@sad.it>
6617 * tabular_funcs.C (write_attribute): changed so that some default
6618 attributes are not written at all.
6619 (getTokenValue): set default values before trying to read the
6620 value so we have the return value always set as default if we don't
6621 find the token we search for.
6623 * tabular.C (Write): write bools as bools not as strings!
6625 2002-02-22 Juergen Vigna <jug@sad.it>
6627 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6628 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6630 * text.C (leftMargin): don't add an indent for paragraphs inside
6631 tabular cells (fix #208).
6633 2002-02-21 José Matos <jamatos@fep.up.pt>
6635 * tabular.C (docBook): fixed support for long tables.
6637 2002-02-20 Juergen Vigna <jug@sad.it>
6639 * text2.C (getFont): get the drawing font of the Inset if this
6640 paragraph is inside an inset (only important for InsetERT for now).
6642 * buffer.C (insertErtContents): use new lanugage params in ERT
6645 * CutAndPaste.C: commenting out seemingly uneeded code.
6647 2002-02-19 Allan Rae <rae@lyx.org>
6649 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6650 Iterators might be simple to use but they also get invalidated.
6651 (removeAutoInsets): renamed saved cursor tracking variables and added
6652 some comments to clarify what everything does.
6654 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
6661 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6662 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6665 * vc-backend.h: remove #include "support/syscall.h"
6669 * converter.C: rearrange #includes in Lars' approved fashion.
6671 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6672 forward declare class Timeout in the header file.
6674 * XFormsView.C: changes due to the above.
6676 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6679 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6680 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6682 2002-02-18 José Matos <jamatos@fep.up.pt>
6684 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6687 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6689 * a lot of small ws changes
6690 * add a lot of using std::XXX
6691 * use std construcs some places where approp.
6692 * use some exisint stuff from lyxfunctional where approp.
6693 * Make file changes to use partial linking (lets test this now...)
6695 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6699 remove #include "support/syscontr.h" as it's redundant. Always has been.
6707 change Systemcalls::System to Systemcalls::Wait and
6708 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6709 No change of functionality, just reflects the stripped down Systemcalls
6712 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
6714 * debug.[Ch]: add a GRAPHICS type to the enum.
6716 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6718 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6720 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6723 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6725 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6726 match the changes below.
6728 * text2.C (toggleInset): if there is not editable inset at cursor
6729 position, try to see if cursor is _inside_ a collapsable inset
6732 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6734 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6735 document menu has a nice checkbox
6737 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6739 * lyxlength.C (asLatexString): change PW to output as percent of
6742 * lengthcommon.C: change '%' to 't%'
6744 * lyxfunc.C (dispatch): a few comments from Martin
6746 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
6750 * BufferView_pimpl.h:
6751 * BufferView_pimpl.C: clear our selection when X tells us we've lost
6754 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6756 * vspace.C (inPixels): fix compiler warning
6758 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6760 * lyxfunc.C (getStatus): fix status message for disabled commands.
6762 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
6764 * BufferView_pimpl.C: fix crash on close buffer
6765 during selection (#227)
6767 2002-01-27 Herbert Voss <voss@lyx.org>
6769 * buffer.C: link old Figure to new graphic inset
6771 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
6773 * FontLoader.C (getFontinfo): Change the latex font names in order
6774 to match the names of type1inst.
6776 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6778 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6780 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6783 (remove_files_with_extension): ditto
6784 (remove_file): ditto
6787 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6788 document is smaller than the work area height. Do not initialize
6789 static variables to 0.
6791 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6793 * lyx_gui.C (init): give the toolbar tooltips a normal font.
6795 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6796 LFUN_LAYOUT_PARAGRAPHS.
6798 * tabular.C (GetCellFromInset): new method. Finds an inset in a
6799 tabular. It is possible to provide a possible cell, which will
6800 typically be the actcell from the corresponding insettabular
6802 * lyxfunc.C (getStatus): small cleanup; disable
6803 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6806 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6808 * tabular.C (Validate): remove broken optimization (fixes bug #201)
6810 * paragraph.C (startTeXParParams):
6811 (endTeXParParams): new methods. The LaTeX code to
6812 start/end paragraph formatting
6813 (simpleTeXOnePar): call startTeXParParams also when paragraph is
6814 empty (fixes bug #200)
6816 * vspace.C (inPixels): adapt to the change below
6817 (inPixels): [later] more cleanups (remove unused variables)
6819 * lyxlength.C (inPixels): change to use a width and a height as
6822 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6824 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6825 Replaced with \paperwidth
6827 * DepTable.C (insert): add std:: qualifier
6829 2002-01-18 Allan Rae <rae@lyx.org>
6831 * text2.C (removeRow): add comment. Should other refresh_?? vars be
6834 * text.C (drawInset): Turned out I didn't know enough about how
6835 rebreaking worked. This fixes most of the redraw problems. I see
6836 an occasional cursor trail when a line is broken now and the cursor
6837 placement can seem out by a few pixels also after a rebreak.
6839 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6841 * buffer.C (parseSingleLyXformat2Token): update because minipage
6842 width is now a LyXLength
6844 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6846 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6849 2002-01-17 Juergen Vigna <jug@sad.it>
6851 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6853 * BufferView2.C (lockInset): call edit() so that theLockingInset()
6854 is set correctly and the inset is updated correctly.
6856 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6858 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6859 the beginning of the loop.
6861 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
6863 * lyxrc.C: improve help for use_scalable_fonts
6865 2002-01-17 Allan Rae <rae@lyx.org>
6867 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6869 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6871 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6872 make sure to set their inset_owner to the right value (bug #171)
6874 2001-12-12 Ben Stanley <bds02@uow.edu.au>
6877 * DepTable.C: Implement mtime checking to reduce time spent doing
6880 2002-01-16 Juergen Vigna <jug@sad.it>
6882 * tabular.C (GetAdditionalHeight): one of error fixed.
6884 * lyxrc.C (output): small fix in writing use_pspell.
6886 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
6888 * sp_base.h: #include LString.h
6890 2002-01-16 Allan Rae <rae@lyx.org>
6892 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
6893 Can someone check this please?
6895 * text.C (drawInset): It was possible that p.row would be removed by
6896 breakAgainOneRow upsetting a few other settings. There may be another
6897 small tweak possible by setting need_break_row = 0 when p.row has been
6898 removed but I don't know enough about the logic here.
6900 2002-01-15 Allan Rae <rae@lyx.org>
6902 * text.C (insertChar): removed conditional truism.
6904 * BufferView2.C (removeAutoInsets): More tweaks.
6905 cur_par_prev could be a stray pointer. Check for trailing empty line
6906 in case last line was cur_par and only had an error inset on it.
6908 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6910 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6913 * vc-backend.C (most methods):
6914 * exporter.C (Export):
6915 * converter.C (convert):
6917 * LyXSendto.C (SendtoApplyCB):
6918 * lyxfunc.C (dispatch):
6922 * lyx_cb.C (AutoSave):
6924 * BufferView_pimpl.C (MenuInsertLyXFile):
6925 * buffer.C (runChktex): use Buffer::filePath().
6927 * buffer.h: rename filename to filename_; rename filepath to
6928 filepath_ and make it private
6929 (filePath): new method
6931 * buffer.C (writeFile): use fileName()
6934 * lyx_main.C (init): fix starting of LyX when the binary is a
6935 link from so,ewhere else.
6937 * minibuffer.C: include <cctype> for isprint
6939 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6941 * buffer.C (parseSingleLyXformat2Token): changes associated with the
6942 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6943 name clash with InsetCollapsable's width function.
6945 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6947 * lastfiles.C: include <iterator>
6949 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6951 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6954 * buffer.C (makeLaTeXFile): ditto.
6955 Also make loop operation more transparent.
6957 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
6959 * ToolbarDefaults.C: remove trailing comma closing namespace.
6961 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6963 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6966 * trans.C (Load): comment out unused variable, allowed.
6968 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
6970 * minibuffer.[Ch] (append_char): new method to recieve input from the
6971 drop-down completion browser. If a key was pressed, then recieve this
6972 char and append it to the existing string.
6973 (peek_event): modify the positioning data passed to the completion
6974 browser so that it can be placed above the minibuffer rather than below.
6975 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * LyXAction.C (init): alloe error-next for readonly documents.
6979 * BufferView2.C (ChangeRefsIfUnique): use standard version of
6982 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6984 * bufferlist.C (readFile): create the buffer _after_ checking that
6987 * lyxfunc.C (verboseDispatch): fix handling of arguments
6989 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6991 * lyxrc.C: use string::erase() instead of initializing to "".
6994 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6996 * BufferView_pimpl.h:
6997 * BufferView_pimpl.C:
7000 * text2.C: tell X when we have made a selection for copying
7002 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7004 * BufferView_pimpl.C (MenuInsertLyXFile):
7005 * lyxfunc.C (menuNew):
7007 (doImport): add shortcuts to directory buttons
7009 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7012 * lyxfunc.C (setStatusMessage):
7013 (getStatusMessage): new methods
7014 (getStatus):use setStatusMessage instead of setErrorMessage
7015 (dispatch): when function is disabled, set error message here
7016 [instead of in getStatus previously]
7018 * BufferView_pimpl.C (workAreaButtonRelease): update
7019 toolbar/menubar here too.
7021 2002-01-13 Allan Rae <rae@lyx.org>
7023 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7024 Now seems indestructible. Remaining task is to audit all other
7025 code affected by deleteEmptyParagraphMechanism. One small quirk
7026 left is that an empty document with an error in the preamble can
7027 be made to report an error but no error box appears. I don't know
7029 (removeAutoInsets): Improved comments.
7031 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7034 * Thesaurus.C: update for Aiksaurus 0.14
7036 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7038 * text2.C (firstParagraph): removed member function, all uses
7039 replaces with ownerParagraph
7040 (redoParagraphs): here
7042 (toggleAppendix): here
7043 * BufferView2.C (insertErrors): here
7044 (setCursorFromRow): here
7046 2002-01-13 Allan Rae <rae@lyx.org>
7048 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7049 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7050 There is still a way to segfault this although you may have to do this
7051 multiple times: Have an InsetERT with an unknown command in it.
7052 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7053 <down-arrow>, <Enter> again, View->DVI, BANG!
7055 * text2.C (setCursor):
7056 (deleteEmptyParagraphMechanism):
7057 * lyxtext.h (setCursor):
7058 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7059 Making use of the return value may help fix other bugs.
7061 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7063 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7065 * LyXView.C (updateMenubar): call MenuBar::update here
7066 (updateToolbar): but not here
7067 (showState): do not update toolbar/menubar
7069 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7070 should need to care about that.
7072 * lyxfunc.C (verboseDispatch): simplify a bit
7073 (getStatus): have a version which takes a pseudoaction, and
7074 another which requires a (kb_action,string).
7076 * LyXAction.C (retrieveActionArg): make it work also when action
7077 is not a pseudo-action.
7078 (getActionName): simplify a bit
7081 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7083 * lyxfunc.C (verboseDispatch): new families of methods with
7084 several ways to specify a command and a bool to indicate whether
7085 the command name and shortcut should be displayed in minibuffer
7086 (eventually, we could extend that to a finer bitmask like
7087 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7088 (dispatch): the pristine dispatch command which just, well,
7089 dispatchs! Note it still sets its result to minibuffer; I'm not
7092 * lyxfunc.h: remove setHintMessage
7094 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7096 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7098 * BufferView_pimpl.C (specialChar): delete new inset if we have
7099 not been able to insert it.
7101 * kbmap.C: revert to using int instead of kb_action, since all we
7102 are dealing with is pseudo-actions.
7104 * LyXAction.C (searchActionArg): change to return int instead of
7105 kb_action, since the result is a pseudoaction.
7107 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
7109 * buffer.C (insertErtContents): Fix (partially) the font bug.
7111 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7113 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7114 as the other one is broken on my machine!
7116 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
7119 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7121 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
7123 * lyxrc.[Ch]: change names and descriptions of popup font variables to
7124 reflect their actual use. Provide compatibility code for older lyxrc
7127 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7129 change names of popup font variables in line with the changes to lyxrc.C
7131 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7133 * buffer.C (asciiParagraph): avoid outputing a word twice after
7136 * lyxrc.C (getDescription): document that document_path and
7137 template_path can be empty.
7139 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7141 * LaTeXFeatures.C (getMacros):
7142 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7144 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7146 * LaTeXFeatures.C (useFloat): require "float" here instead of in
7148 (getPackages): rename feature "floats" to "float". Use an array to
7149 iterate over 'simple' features (i.e. just a \usepackage). Add
7150 handling of "amsmath" (renamed from "amsstyle").
7152 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
7154 * LaTeXFeatures.C (require): Prevent duplicate entries in the
7157 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
7159 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7160 FuncStaus::FuncStatus & FuncStaus::some_method().
7162 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
7164 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7165 of the func_satus stuff. Edited and massaged in various ways by
7168 * lyxfunc.C (getStatus): use FuncStatus
7170 2002-01-08 Juergen Vigna <jug@sad.it>
7172 * text.C (nextBreakPoint): use function Inset::isChar().
7174 * paragraph.C (TeXOnePar): use function
7175 Inset::forceDefaultParagraphs.
7177 * buffer.C (latexParagraphs): use function
7178 Inset::forceDefaultParagraphs.
7180 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7182 * lyx_gui.C (init): set the style of the menu popups to
7183 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7185 2002-01-07 Juergen Vigna <jug@sad.it>
7187 * text.C (setHeightOfRow): small fix
7188 (prepareToPrint): don't look at alignment if we don't have the place
7191 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7193 * box.C: New file. Move the Box methods and functions out of box.h,
7194 following Lars' suggestion.
7196 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
7198 * box.h: #include "support/LOstream.h", needed for inlined function.
7201 * lyxtextclasslist.C: added some using std declarations.
7203 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
7205 * box.h: make signed dimensions to allow insets wider than
7206 the screen (bug #162)
7208 * BufferView_pimpl.C: add some insetHit debug
7210 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
7212 * vc-backend.C: add FIXME
7214 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7216 * lyxfunc.C (getStatus): enable code for showing math font status
7219 2002-01-07 Juergen Vigna <jug@sad.it>
7221 * text.C (nextBreakPoint): removed debug output not needed anymore.
7223 2002-01-06 Juergen Vigna <jug@sad.it>
7225 * text.C (nextBreakPoint): fixed up this function we had this bug
7226 since ever but now hopefully we break row better.
7227 (insertChar): we have to check if an inset is the next char as it
7228 could now happen that a large inset is causing a break.
7230 2002-01-05 Juergen Vigna <jug@sad.it>
7232 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7233 if it doesn't like to be drawed.
7235 2002-01-04 Juergen Vigna <jug@sad.it>
7237 * BufferView2.C (lockInset): forgot to set a cursor.
7239 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7241 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
7246 * form_maths_panel.C:
7247 * form_maths_panel.h:
7248 * form_maths_panel.fd: implemented sub- and super- buttons in math
7251 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7252 (or ^ space) to be used as in TeX (req'd by André).
7254 * lyxfunc.C: Allow ^ and _ again to be used both as
7255 super/subscript (mathed) and as themselves (in text).
7257 2002-01-03 Allan Rae <rae@lyx.org>
7259 * LyXView.C (updateWindowTitle): Setup a short icon title of either
7260 "LyX" or the filename of the current buffer if it has one. This is a
7261 modified form of John Levon's patch.
7263 * XFormsView.C (setWindowTitle): also set icon title.
7265 * LyXView.h (setWindowTitle): signature changed.
7266 * XFormsView.h (setWindowTitle): ditto.
7268 2002-01-02 Juergen Vigna <jug@sad.it>
7270 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7272 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
7274 * screen.C (topCursorVisible): introduce a temp var for
7275 text->cursor.row(), handle the case where this row is null. (kindo
7278 * text2.C (setCursor): add a couple of asserts.
7280 * paragraph.h (inset_iterator): add -> operator
7282 * paragraph.[Ch] (autoDeleteInsets): remove member function
7284 * BufferView2.C (removeAutoInsets): rewrite to handle the old
7285 cursor pos correctly and handle inset deletion by itself.
7286 (insertErrors): move iterator declaration out of for expression
7288 * lyxtextclass.C: add <algorithm>
7290 * Makefile.am: added the new files to sources, removed layout.C
7292 * layout.C: removed file
7294 * layout.h: remove LYX_DUMMY_LAYOUT
7296 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7300 * lyxtextclass.[Ch]:
7301 * lyxtextclasslist.[Ch]: new files
7303 * include order changes to a lot of files, also changes because of
7306 2001-12-27 Juergen Vigna <jug@sad.it>
7308 * buffer.C (asciiParagraph): more fixes.
7310 * tabular.C (ascii): make ascii export support export of only the
7311 data separated by a column-delimiter.
7312 (ascii): better support for ascii export.
7314 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7316 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7318 * tabular_funcs.C: use a "using std::getline" instead of the
7319 previous fix from Angus (necessary for cxx + lyxstring)
7321 2001-12-24 Juergen Vigna <jug@sad.it>
7323 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7325 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7326 problems. First check a minipage also if we have some ert-contents
7327 (not only on par->size(), second set the right depth of the paragraph
7328 on the relink to the root-paragraph-list!
7330 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7331 which then did not anymore update the main paragraphs on undo/redo!
7333 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7335 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7336 code. Support all font-changing funcs (even those which are not in
7337 menu currently). Support for reporting font settings in
7338 mathed (disabled until Andre provides a function on mathed's side).
7340 * func_status.h (toggle): small helper function to set toggle
7343 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
7345 * tabular_funcs.C: getline -> std::getline
7347 2001-12-21 Juergen Vigna <jug@sad.it>
7349 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7350 accessed and could be 0 (I couldn't generate this but it seems
7353 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
7355 * tabular_funcs.C: add LIstream.h, move write_attribute to..
7356 * tabular_funcs.h: here and include iosfwd
7358 2001-12-20 Juergen Vigna <jug@sad.it>
7360 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7361 inside inset but undo_par was.
7363 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7365 * Thesaurus.C: always include <config.h> in sources.
7369 * box.h: do not include <config.h> in header files
7371 * text.C (paintLastRow): remove unused variable
7373 * text.C (transformChar):
7375 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7378 * font.C (width): rewrite to use uppercase() instead of
7381 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7383 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
7385 * lyxfind.C: clean up of find failure position change
7387 2001-12-20 Juergen Vigna <jug@sad.it>
7389 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7391 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7392 (TeXRow): added to LaTeX a single tabular row.
7393 (TeXLongtableHeaderFooter): added to output LT-h/f data.
7394 (Latex): simplified and finally good LT-h/f support.
7395 (various_functions): just small adaptions for LT-h/f support.
7397 * tabular_funcs.[hC]: added and moved here all not classfunctions
7400 2001-12-19 Juergen Vigna <jug@sad.it>
7402 * tabular.[Ch]: better support for longtabular options (not finished
7405 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7407 * text.C (paintLastRow): use the label font instead of the font of
7408 the last character to compute the size of *_BOX. This makes more
7409 sense and avoids a crash with empty paragraphs.
7410 Use Painter::rectangle to draw EMPTY_BOX.
7412 2001-12-19 Juergen Vigna <jug@sad.it>
7414 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7415 the paragraphs if the replaced paragraph is not the first one!
7416 Tried to delete not used paragraphs but does not work yet so for
7417 now it's inside #ifdef's and by default off!
7419 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7421 * MenuBackend.C: include "lyx_main.h" instead of declaring
7422 lastfiles (actually was declared as LastFiles* instead of a
7425 2001-12-17 Juergen Vigna <jug@sad.it>
7427 * tabular.C (AppendColumn): applied John's fix
7429 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
7433 * BufferView_pimpl.h:
7434 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7437 * box.h: new start of class for above
7439 * lyxfunc.C: ignore space-only minibuffer dispatches.
7440 Show the command name when it doesn't exist
7442 * minibuffer.C: don't add empty lines to the history
7444 * minibuffer.C: add a space on dropdown completion
7446 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
7448 * text.C: fix line above/below drawing in insets
7450 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7452 * lyxlength.C (LyXLength): Initialize private variables.
7454 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
7456 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7457 when inserting error insets.
7459 2001-12-13 Juergen Vigna <jug@sad.it>
7461 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7462 actually sometimes the before-paragraph.
7463 (setUndo): don't clear the redostack if we're not actually undoing!
7465 2001-12-06 Juergen Vigna <jug@sad.it>
7467 * undo_funcs.C (textHandleUndo): well after John's hint I got here
7468 and fixed redoing of main paragraph, so we can use it now ;)
7470 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7472 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7474 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7477 2001-12-13 André Pönitz <poenitz@gmx.net>
7480 * undo_func.C: minor cleanup
7482 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7484 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7485 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7486 font in urw-fonts package which is marked as -urw-fontspecific and
7487 does not work (incidentally, changing the encoding in the
7488 fonts.dir of this package to -adobe-fontspecific fixes the
7491 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7492 is a crash when undoing first paragraph (Juergen, please take a
7493 look). THis does not mean the undo fix is wrong, just that it
7496 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7497 the (Paragraph*) version when needed instead of duplicating the
7500 * text.C (workWidth): use Inset::parOwner to find out where the
7501 inset has been inserted. This is a huge performance gain for large
7502 documents with lots of insets. If Inset::parOwner is not set, fall
7503 back on the brute force method
7505 * paragraph_pimpl.C (insertInset):
7506 * paragraph.C (Paragraph):
7507 (cutIntoMinibuffer): set parOwner of insets when
7508 inserting/removing them
7510 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7512 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
7518 * mathed/formulabase.C:
7519 * mathed/math_cursor.[Ch]:
7520 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7523 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7525 * lyxlength.[Ch] (operator!=): new function
7527 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7529 * text.C (workWidth): use Inset::parOwner to find out where the
7530 inset has been inserted. This is a huge performance gain for large
7531 documents with lots of insets. If Inset::parOwner is not set, fall
7532 back on the brute force method
7534 * paragraph_pimpl.C (insertInset):
7535 * paragraph.C (Paragraph):
7536 (cutIntoMinibuffer): set parOwner of insets when
7537 inserting/removing them
7539 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7541 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7543 * tabular-old.C (getTokenValue):
7544 * tabular.C (getTokenValue):
7545 (write_attribute): new versions for LyXLength
7546 (everywhere): adjust the use of widths
7548 * tabular.h: change the type of widths from string to LyXLength
7550 2001-12-11 Ben Stanley <bds02@uow.edu.au>
7552 * paragraph.C: fixed missing line number count when exporting
7553 Environments to LaTeX file
7555 * buffer.C: added informational message for checking line numbers.
7557 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7559 * text2.C (deleteEmptyParagraphMechanism): if there is only one
7560 paragraph, do the 'double space' part, but not the 'empty
7563 * text.C (workWidth): small optimization
7564 (getLengthMarkerHeight): use minimal size for negative lengths.
7566 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
7568 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7570 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7572 2001-12-11 André Pönitz <poenitz@gmx.net>
7575 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7577 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7579 * text2.C: keep selection on a setFont()
7581 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7583 * lyx_cb.C: another bv->text misuse, from insert label
7585 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7588 * kbsequence.C: re-instate nmodifier mask
7590 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
7592 * lyx_main.h: make lyxGUI private.
7594 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
7596 * lyxfind.C: place the cursor correctly on failed search
7598 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7600 * text.C (getLengthMarkerHeight): for small heights, the arrows
7601 are not always on top/bottom of the text
7602 (drawLengthMarker): smaller arrows; take the left margin in
7603 account; draw also vfills.
7605 (paintLastRow): remove special code for vfill and standard spaces,
7606 since everything is handled in drawLengthMarker now.
7608 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7610 * buffer.C (insertErtContents): try to handle font and language
7611 interaction a bit better.g
7613 * ColorHandler.C (updateColor): change the hash to cover the whole
7614 LColor enum, ws cleanup
7615 (getGCLinepars): ditto
7616 (getGCLinepars): only lookup in the linecache once.
7618 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
7620 * iterators.C (operator++): Make the iterator more robust
7622 * BufferView2.C (removeAutoInsets): Use paragraph iterators
7624 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7626 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7629 * text.C: better added space drawing
7631 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7634 * BufferView2.C: fix layout combo update on inset unlock
7636 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7638 * Makefile.am: don't compile unused files
7640 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7644 * LyXAction.C: remove old LFUN_LAYOUTNO
7646 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7648 * paragraph_pimpl.h:
7649 * paragraph_pimpl.C: isTextAt() doesn't need font param
7651 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7654 * lyxlex.C: little cleanup
7656 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
7658 * BufferView_pimpl.C: fix insertAscii for insets
7660 2001-12-05 Juergen Vigna <jug@sad.it>
7662 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7663 set the right font on the "multi" paragraph paste!
7665 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7671 * lyxlength.C: remove out-commented code.
7687 * vc-backend.C: change "while(" to "while ("
7689 * lyxlength.[Ch]: add zero function to check if length is zero or
7691 * lyxgluelength.C: use it
7693 2001-12-05 Allan Rae <rae@lyx.org>
7695 * lyxlength.C: Attempted a fix for the abs(int) header selection.
7696 Works for 2.95.3, from what I understand of Garst's reports this should
7697 work for other g++ versions. We're screwed if the abs(int) definition
7698 changed between bugfix releases of gcc.
7700 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7702 * text.C: fix chapter label offset !
7704 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
7707 * text.C: fix hfill at end of line, clean up
7709 2001-12-04 Juergen Vigna <jug@sad.it>
7711 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7712 that we force an update of the inset and it's owners if neccessary.
7714 2001-12-03 Juergen Vigna <jug@sad.it>
7716 * text.C (rowLast): simplified code
7718 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
7720 * lyxfunc.C: fix show options on timeout
7722 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7724 * screen.C (topCursorVisible): scroll half a page when the cursor
7725 reached top of bottom of screen
7727 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
7729 * minibuffer.C: deactivate on loss of focus
7731 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7733 * vspace.[Ch] (operator!=): add operator.
7735 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
7737 * BufferView_pimpl.C: refuse to open an inset when
7738 there's a selection.
7740 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
7742 * BufferView_pimpl.C: allow to click on RHS of full row insets
7744 2001-11-30 Juergen Vigna <jug@sad.it>
7746 * tabular.C (LyXTabular): add a same_id to set the same id's in the
7747 insets for undo reasons.
7749 2001-11-28 André Pönitz <poenitz@gmx.net>
7751 * vspace.[Ch]: cosmetical changes
7753 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7763 * kbsequence.C: part re-write of old kb code
7766 * WorkArea.C: remove Lgb_bug_find_hack
7768 2001-11-30 José Matos <jamatos@fep.up.pt>
7770 * buffer.C (makeDocBookFile): add a comment to point a hack.
7771 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7772 Fixed a double write of labels.
7774 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7777 * LaTeX.h Fixed bug in LaTeX class where it would not
7778 re-run latex if no depfiles were changed, but the .dvi was removed.
7780 2001-11-28 André Pönitz <poenitz@gmx.net>
7782 * all the files from the change on 2001/11/26:
7783 use lyx::layout_type instead of LyXTextClass::size_type
7784 use lyx::textclass_type instead of LyXTextClassList::size_type
7786 2001-11-29 Juergen Vigna <jug@sad.it>
7788 * text.C: added support for paragraph::isFreeSpacing()
7790 * buffer.C: same as above
7792 * paragraph.h: inserted isFreeSpacing() function to enable
7793 FreeSpacing inside InsetERT.
7795 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7796 of the paragraph's in the cut/copy buffer to 0!
7798 * text2.C (removeRow): remove the assert as it can!
7800 * lyxtext.h: added helper function firstRow returning firstrow and
7801 made firstrow private again.
7803 * BufferView2.C (lockInset): don't relock if we're already locked!
7805 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7807 (removeRow): added Assert::(firstrow)
7809 * debug.C: forgot to add INSETTEXT here.
7811 2001-11-28 Juergen Vigna <jug@sad.it>
7813 * sp_spell.C (initialize): changed error text to more general
7814 spellchecker command use (not only ispell!)
7816 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7818 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7820 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7822 * vspace.C: initialise lyxgluelength on failure
7824 2001-11-28 Allan Rae <rae@lyx.org>
7826 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7827 declaration & definition that looks like a function declaration.
7829 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7831 * BufferView2.C (copy):
7832 (copyEnvironment): do not clear the selection when doing a copy.
7834 * text.C (paintFirstRow): compilation fix
7836 2001-11-27 Ben Stanley <bds02@uow.edu.au>
7838 * tabular.C (Latex): correct line count when writing latex.
7840 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
7842 * paragraph_pimpl.h:
7843 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7846 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7850 * LColor.C: change vfillline->added_space
7852 * text.C: add markers and text for added space
7854 * vspace.C: fix comment
7856 2001-11-28 André Pönitz <poenitz@gmx.net>
7858 * paragraph.C: whitespace changes
7859 * all the other files from the change on 2001/11/26:
7860 change *::pos_type into lyx::pos_type
7862 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
7864 * buffer.C (parseSingleLyXformat2Token): Set the language to the
7865 language of the document when inserting error insets.
7867 2001-11-26 André Pönitz <poenitz@gmx.net>
7869 * BufferView_pimpl.[Ch]:
7877 * paragraph_pimpl.[Ch]:
7880 * text2.C: reduce header dependencies, introduce type for positions
7882 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7884 * <various>: change to use Alert.h
7886 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
7888 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7889 when encountering an unknown token.
7890 (readLyXformat2): Show an error message if there were unknown tokens.
7892 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
7895 * BufferView_pimpl.C:
7899 * text2.C: use par->isInset()
7901 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
7903 * paragraph_pimpl.h:
7904 * paragraph_pimpl.C: cleanup
7906 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7908 * text2.C (removeRow):
7909 * text.C (setHeightOfRow): remove useless (and costly) call to
7912 2001-11-20 Allan Rae <rae@lyx.org>
7914 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7915 Now need Inset*::checkInsertChar() to return true for appropriate
7916 cases so that the characters in the minibuffer will actually be
7919 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
7921 * text.C: change the order of the includes.
7922 (workWidth): initialize it at once.
7923 (workWidth): make maxw unsigned
7924 (setHeightOfRow): remove unused variable (inset)
7925 (selectSelectedWord): remove unused variable (inset)
7926 (paintRowText): fix drawing of hfill characters, and clean up a bit.
7928 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7930 * lyxserver.C (emergencyCleanup): do not try to close pipes if
7931 server is not running.
7933 (closeConnection): add debug info when server is disabled.
7935 * ColorHandler.C (getGCForeground): send debug message to GUI
7938 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7940 * kbmap.C (bind): modify because return conventions of
7941 kb_sequence::parse have changed.
7943 * kbsequence.C (parse): only ignore spaces and not any stupid
7944 control character. This avoids tests like s[i] <= ' ', which are
7945 guaranteed to fail with 8bit characters and signed chars.
7946 Change return code to string::npos when there have been no error
7947 (0 was a bad idea when error is at first character)
7949 2001-11-14 José Matos <jamatos@fep.up.pt>
7952 * buffer.C (simpleDocBookOnePar): removed unused argument.
7954 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7956 * text.C (selectNextWordToSpellcheck): do not test explicitely for
7957 insets which are part of a word. Paragraph::isLetter takes care of
7958 that now. Use Paragraph::isInset to identify insets.
7959 (selectSelectedWord): do not test for hyphenation break.
7961 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7962 that protected spaces are considered as spaces.
7964 * paragraph.C (isLetter): cleanup the code for ispell extras; use
7967 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
7970 * lyxserver.C: fix it. and small cleanup.
7972 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
7974 * BufferView_pimpl.C: use inline helpers
7977 * LaTeXFeatures.C: fix typos
7980 * Spacing.C: move spacing_string into class
7982 * ToolbarDefaults.C: move stuff into namespace anon
7984 * layout.h: update enum
7986 * lyxfunc.C: use better debug
7988 * minibuffer.h: fix typo
7992 * WorkArea.C: add and use Debug::WORKAREA
7996 * text2.C: code re-organisation, inline helpers
7998 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8000 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8001 std::vector.empty().
8003 2001-11-09 Allan Rae <rae@lyx.org>
8005 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8006 '\n's after tables. Tabular and ERT inset work now makes this no
8009 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8012 * minibuffer.C: fix crash, improve drop-down completion
8014 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8017 * lyxserver.C: invalidate fd's when doing endPipe()
8019 2001-11-08 José Matos <jamatos@fep.up.pt>
8021 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8022 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8025 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8027 2001-11-07 José Matos <jamatos@fep.up.pt>
8030 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8033 * buffer.C (sgmlOpenTag):
8034 * buffer.C (sgmlCloseTag): removed debug info.
8036 * buffer.h (sgmlOpenTag):
8037 * buffer.h (sgmlCloseTag): made public.
8039 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8041 * buffer.C (saveParamsAsDefaults):
8042 * lyx_cb.C (MenuLayoutSave): remove
8044 * LyXAction.C (init):
8046 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8048 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8050 * buffer.C (setPaperStuff): removed from here...
8052 * bufferparams.C (setPaperStuff): ... and moved there.
8054 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8058 * XFormsView.C: add support for drop-down completion
8060 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8062 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8065 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8067 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8070 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8072 * lyx_main.C: change ref to known bugs
8074 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8076 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8077 to work around older babel problems.
8079 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8081 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8083 2001-10-24 Juergen Vigna <jug@sad.it>
8085 * tabular-old.C (ReadOld): below variable changes reflected.
8087 * tabular.[Ch]: added ltType struct for longtable header/footer
8088 defines and changed all instances where they are used. Added
8089 future support for double top/bottom rows.
8091 2001-10-24 José Matos <jamatos@fep.up.pt>
8093 * buffer.h (docbookHandleCaption):
8094 * buffer.C (docbookHandleCaption): removed unused function.
8095 (makeDocBookFile): moved docbook supported version to v4.1.
8097 2001-10-24 José Matos <jamatos@fep.up.pt>
8100 * tabular.C (docbookRow): new function to export docbook code of a row.
8101 (DocBook): now honors the longtable flags.
8103 2001-10-23 José Matos <jamatos@fep.up.pt>
8106 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8107 of the lyx defined sgml entities used in a docbook/linuxdoc document.
8109 * buffer.C (makeLinuxDocFile):
8110 (makeDocBookFile): reworked the preamble, more clean, and with
8111 support for lyx defined entities. Changed the document declaration
8112 to be more XML friendly.
8114 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8115 if we need to output XML that should be done with a filter.
8117 2001-10-22 Juergen Vigna <jug@sad.it>
8119 * sp_pspell.h (class PSpell): add alive function needed in the
8120 controller to see if the spellchecker could be started.
8122 2001-10-22 Juergen Vigna <jug@sad.it>
8124 * buffer.C (insertStringAsLines): modify the font for inserting
8125 chars in certain conditions by calling checkInsertChar(font).
8127 2001-10-19 Juergen Vigna <jug@sad.it>
8129 * text.C (workWidth): use getRow instead of wrong algorithm.
8130 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8132 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
8137 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8139 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8141 * text.C (workWidth): do not search for the exact row when
8142 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8143 optimization for big documents.
8145 2001-10-18 Juergen Vigna <jug@sad.it>
8147 * text.C (workWidth): new function with added Inset * parameter.
8149 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8151 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8153 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8154 change return type of getColumnNearX.
8157 * text.C (changeRegionCase): use uppercase/lowercase instead of
8160 (rightMargin): simplify code by factoring out the uses of
8165 (appendParagraph): use Paragraph::size_type
8167 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8169 * vspace.C (asLatexString): add a missing break
8171 2001-10-15 Herbert Voss <voss@perce.de>
8173 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8175 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8177 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8180 2001-10-10 André Pönitz <poenitz@gmx.net>
8182 * lyxfunc.C: removed greek_kb_flag.
8184 2001-10-10 Herbert Voss <voss@perce.de>
8186 * lyx_main.C: delete global string help_lyxdir.
8188 2001-10-09 Herbert Voss <voss@perce.de>
8190 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8192 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8194 * lyx_main.C: added global string help_lyxdir.
8196 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8198 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
8200 * lyxrc.C (set_font_norm_type): support iso8859-4
8202 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
8204 * LaTeX.C (deplog): add another regex for MikTeX
8206 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
8208 * lyxrc.C (set_font_norm_type): support iso8859-3
8210 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8212 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8214 * LaTeXFeatures.C: remove special case of french and index
8216 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8217 before \begin{document}). This solves several incompatibilities.
8219 2001-10-03 Garst Reese <reese@isn.net>
8221 * lyx_cb.C: change CheckTex error msg.
8223 2001-10-03 José Matos <jamatos@fep.up.pt>
8225 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8227 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8229 * .cvsignore: update
8231 * lyx_main.C (commandLineVersionInfo): use new style version info.
8233 * buffer.C (writeFile):
8236 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8238 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8240 * version.h: update to use stuff in version.C
8242 * version.C.in: new file. Contains version information determined
8243 at compile time. This is a merging of version.h and
8246 2001-10-03 Juergen Vigna <jug@sad.it>
8248 * BufferView_pimpl.C (update): don't change "dirty" status in
8251 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
8253 * WorkArea.C (c-tor): re-position version string slightly.
8255 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
8257 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8258 revert to previous code.
8260 WorkArea.[Ch]: (show, destroySplash): methods removed.
8262 WorkArea.C: rework code so that it's an amalgam of the codes before and
8263 after the splash screen was moved to WorkArea.
8265 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8268 * vspace.C (inPixels):
8271 * buffer.C (insertStringAsLines):
8272 (asciiParagraph): fix types to be large enough
8274 * lyxlex_pimpl.h: change member status from short to int
8276 * layout.h: fix type of endlabeltype
8279 * kbsequence.C (parse): change return type to string::size_type
8281 * LaTeX.C (updateBibtexDependencies): comment out unneeded
8284 * Bullet.C (bulletSize):
8285 (bulletEntry): do not use short ints as parameters
8287 * BufferView2.C (insertLyXFile): change a char to an int.
8289 * WorkArea.C (WorkArea): remove unneeded floats in computation
8291 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
8293 * buffer.C (asciiParagraph): Treat '\\' as other chars.
8295 * paragraph.C (asString): Do not ignore newline/hfill chars when
8296 copying to the clipboard.
8298 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
8300 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8301 after a multi-line inset.
8303 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
8305 * paragraph.C (validate): Set NeedLyXFootnoteCode
8307 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8309 * lyxfont.C (LyXSizeNames): changed increase-error to increase
8310 and decrease-error to decrease.
8312 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8314 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8315 it more readable (should be equivalent)
8317 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
8319 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8321 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8323 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8324 of a cursor (row, etc.) after a character has been deleted
8325 (deleteEmptyParagraphMechanism): call the method above on _all_
8326 cursors held by the LyXText when a double space has been
8329 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
8331 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8333 (resizeCurrentBuff): remove code to destroy the old splash dialog.
8335 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8336 background. Use greyOut() and the new show() methods to toggle between
8337 the foreground and background. Add code to remove the splash after
8338 its initial showing.
8340 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8341 (create_forms): no longer call Dialogs::showSplash.
8343 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8345 * .cvsignore: add version_info.h
8347 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8349 * version_info.h.in: new file
8351 * Makefile.am: add version_info.h.in
8353 * lyx_main.C (commandLineVersionInfo): use version_info defined in
8354 version_info.h instead of VERSION_INFO
8356 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
8358 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8359 The ERT inset now returns string().
8361 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
8363 * lyxtext.h, text.C (selectNextWord): renamed as
8364 selectNextWordToSpellcheck.
8366 * text.C (selectNextWordToSpellcheck): Modified to not select
8367 words inside an ERT inset.
8369 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8371 * lyx_cb.C (MenuLayoutSave): change a bit the question
8373 * sp_base.h: include <sys/types.h>
8375 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
8377 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8379 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
8381 * several files: fix typos in user-visible strings
8383 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8385 * text2.C (pasteSelection): do not set the selection, since it
8386 will be cleared later. Actually, the intent was to fix the way the
8387 selection was set, but I figured rmoving the code was just as good.
8389 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
8391 * FontLoader.C (available): Check if font is available without
8394 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8396 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8398 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
8400 * lyxrc.[Ch]: added display_graphics variable and associated code.
8402 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8404 * bufferparams.C (hasClassDefaults): new method. Returns true if
8405 the buffer parameters correspond to known class defaults
8407 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
8409 * XFormsView.C (show): set minimum size to the main window.
8411 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8413 * text2.C (copySelection):
8415 * lyxfind.C (LyXReplace):
8416 * BufferView_pimpl.C (Dispatch): pass the correct flag to
8417 LyXText::selectionAsString.
8419 * paragraph.C (asString): add "label" argument to the second form
8421 * text2.C (selectionAsString): add "label" argument and pass it to
8422 Paragraph::asString.
8424 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8426 * lyx_main.C (commandLineHelp): remove version information
8428 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
8430 * lyx_main.C: add -version commandline option
8432 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8434 * paragraph.h: make the optional constructor arg required instead.
8435 some modifications to other files because of this.
8437 * minibuffer.C (C_MiniBuffer_peek_event): make it static
8439 * lyxserver.C (C_LyXComm_callback): make it static
8441 * lyx_main.C (error_handler): make it static
8443 * lyx_gui.C (LyX_XErrHandler): make it static
8445 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8447 * WorkArea.C: make the extern "C" methods static.
8449 * Makefile.am (lyx_LDADD): simplify
8451 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8453 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8454 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8456 * LyXAction.C (init):
8457 * lyxfunc.C (dispatch): associated code removal.
8459 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8461 * lyxfont.h (isSymbolFont): shut off warning
8463 * text.C (setHeightOfRow):
8464 (getVisibleRow): fix crash with empty paragraphs which have a
8467 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
8469 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8472 2001-09-04 José Matos <jamatos@fep.up.pt>
8475 * tabular.C (docbook): rename docBook method to docbook.
8477 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8479 * Makefile.am: add dependencies to main.o.
8481 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
8483 * FontLoader.C (available): Return false if !lyxrc.use_gui
8485 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
8487 * FontInfo.C (query):
8488 * converter.C (view):
8489 * importer.C (Import):
8490 * exporter.C (Export): Can not -> cannot.
8492 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
8494 * BufferView_pimpl.C: allow to create index inset even if
8497 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
8499 * buffer.C (getLists): replace boost::tie code with an explicit pair
8500 as boost::tie can break some compilers.
8502 * iterators.h: Added a std:: declaration to the return type of
8505 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
8507 * lyxrc.C: add help for view_dvi_paper_option, default to safe
8510 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
8512 * iterators.[Ch]: New files. Provide paragraph iterators.
8514 * buffer.C (changeLanguage): Use paragraph iterators.
8515 (isMultiLingual): ditto
8517 * BufferView2.C (ChangeInsets): Use paragraph iterators.
8519 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
8521 * FontLoader.C: Support for cmr font.
8523 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
8525 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8526 (available): New method.
8528 * FontInfo.C (getFontname): Use scalable fonts even when
8529 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8532 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8534 * converter.C (Formats::view): reverted! Incorrect fix.
8536 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
8538 * converter.C (Formats::view): only output the -paper option
8539 if the dvi viewer is xdvi, thereby fixing bug #233429.
8541 2001-08-23 Herbert Voss <voss@perce>
8543 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8545 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
8547 * Spacing.h (Spacing): Set space to Default on in the default
8550 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
8552 * vc-backend.h (RCS::versionString): add RCS to version
8553 (CVS::versionString): add CVS to version
8555 * vc-backend.C (scanMaster): do not add CVS to version.
8556 (scanMaster): do not add RCS to version
8558 * lyxvc.C (versionString): new method
8560 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8562 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8564 * Spacing.C (set): initialize fval
8566 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
8568 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8571 2001-08-16 Juergen Vigna <jug@sad.it>
8573 * lyxfunc.C (dispatch): implemented the new FINISHED states.
8575 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8577 * BufferView_pimpl.C:
8580 * text2.C: setParagraph takes linespacing now
8582 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
8584 * LyxAction.C: add internal LFUN_CITATION_INSERT
8586 * LyXView.C: actually apply fix
8588 * bufferlist.C: fix open non-existent file
8590 * lyxfind.C: fix indentation
8592 * lyxfunc.C: remove unneeded assert, fix typo
8594 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
8596 * MenuBackend.C: use "Floatname List"
8598 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
8600 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8601 when converting LaTeX layout to insetERT.
8602 Generate a non-collapsed float when reading old float
8604 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8606 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8609 2001-08-13 Juergen Vigna <jug@sad.it>
8611 * text.C (fill): return 0 instead of 20 as this seems to be the more
8614 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
8616 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8619 2001-08-13 Juergen Vigna <jug@sad.it>
8621 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8623 (SearchBackward): comment out the unlocking of the inset_owner this
8624 should not be needed!
8626 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
8628 * Many files: Remove inherit_language, and add latex_language
8630 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8633 2001-08-10 Juergen Vigna <jug@sad.it>
8635 * text.C (prepareToPrint): fixed hfill-width in draw!
8637 * BufferView2.C (selectLastWord): save the selection cursor as this
8638 now is cleared in the function LyXText::clearSelection!
8640 2001-08-08 Juergen Vigna <jug@sad.it>
8642 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8643 BACKSPACE type functions.
8645 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8646 is only cutted from the document but not put in the cut-buffer, where
8647 still the old stuff should be.
8649 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8651 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8653 * tabular.C (SetWidthOfCell): fixed special case where the width
8655 (LeftLine): handle '|' in align_special.
8657 (LeftAlreadyDrawed): ditto
8658 (SetWidthOfCell): ditto
8660 2001-08-07 Juergen Vigna <jug@sad.it>
8662 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8664 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8666 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8667 * lyxlex.[hC]: ditto
8669 2001-08-06 Juergen Vigna <jug@sad.it>
8671 * text.C (getVisibleRow): fix up row clearing a bit.
8673 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8675 * minibuffer.C: make sure the X server sees the changes in the input.
8677 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8679 * paragraph.C (getFont): split into...
8680 (getLabelFont): this
8681 (getLayoutFont): and this
8682 * paragraph_pimpl.C (realizeFont): calling this
8684 * text2.C (getFont): split into...
8685 (getLayoutFont): this
8686 (getLabelFont): and this
8687 (realizeFont): all three calling this
8689 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8692 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8694 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8696 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
8698 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8699 layouts from the Quote inset insertion.
8701 2001-08-03 Juergen Vigna <jug@sad.it>
8703 * BufferView_pimpl.C (update): do the fitCursor only at the end!
8705 * screen.C (drawFromTo): don't call fitcursor here and do the loop
8706 only if status not is already CHANGED_IN_DRAW (second level).
8708 * text.C (draw): don't set the need_break_row when inside an
8711 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8713 * buffer.C (parseSingleLyXformat2Token): handle more latex
8716 * bufferview_funcs.[hC]: change function names to
8717 begin with small char, adjust other files.
8719 2001-08-02 André Pönitz <poenitz@gmx.net>
8722 BufferView_pimpl.C: remove broken special code for math-greek
8724 2001-08-02 Juergen Vigna <jug@sad.it>
8726 * BufferView_pimpl.C (update): redone this function so that we
8727 update the text again if there was a CHANGE_IN_DRAW.
8729 * screen.C (cursorToggle): removed LyXText parameter and recoded.
8730 (drawFromTo): added a new internal bool which is used by draw() and
8732 (general): some cursor drawing problems fixed.
8734 2001-08-01 Juergen Vigna <jug@sad.it>
8736 * lyxfind.C (LyXFind): fixed
8737 (SearchForward): ditto
8738 (SearchBackward): ditto
8740 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8741 spurius drawing of the cursor in the main area.
8743 * text2.C (status): small fix which could lead to a segfault!
8744 (clearSelection): remove unneeded BufferView param.
8746 2001-08-01 André Pönitz <poenitz@gmx.net>
8748 * lyxfunc.C: small change due to changed mathed interface
8750 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8752 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8754 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
8756 * lyxfunc.c: fail gracefully if file doesn't exist
8761 * BufferView_pimpl.C: IsDirWriteable() proto changed
8763 * LyXView.C: fix updateWindowTitle() to store the last title
8765 2001-07-31 Juergen Vigna <jug@sad.it>
8767 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8768 the font (wrong since using of Paragraph::highestFontInRange).
8770 * paragraph.C (highestFontInRange): added a default_size parameter.
8772 * text.C (getVisibleRow): minor clear row changes (still not perfect).
8773 (setHeightOfRow): reformat
8775 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8777 * converter.[hC] + affected files: move to (inital-char)lowercase
8780 * ParagraphParameters.C (ParagraphParameters): remove commented code
8782 * PainterBase.[Ch]: remove commented code
8784 * LaTeXFeatures.h: add "bool floats" for float.sty
8786 * LaTeXFeatures.C (LaTeXFeatures): init floats
8787 (require): handle float
8788 (getPackages): do it with floats
8790 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8792 * BufferView_pimpl.C (Dispatch): improve handling of
8793 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8795 * commandtags.h: #include lyxfont.h here temporarily to avoid
8798 * bufferlist.h: include LString.h here.
8800 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8802 * text2.C (getStringToIndex): new method.
8804 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
8806 * *: Reduced header file dependencies all over.
8808 2001-07-30 Baruch Even <baruch@lyx.org>
8810 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8812 2001-07-29 Baruch Even <baruch@lyx.org>
8814 * buffer.C (readInset): Changed GRAPHICS to Graphics.
8816 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8818 * ParameterStruct.h (endif): add a default constructor to make
8819 sure that all variables is initialized.
8821 * ParagraphParameters.C (ParagraphParameters): adjust
8823 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8825 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8826 index; also, check that there is something to index, and that it
8827 does not span over several paragraphs.
8828 (doubleClick): use WHOLE_WORD_STRICT for double click.
8830 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8832 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8835 2001-07-26 Baruch Even <baruch@lyx.org>
8837 * buffer.C (readInset): Changed to call up InsetGraphics when reading
8838 an InsetFig figure, backwards compatible reading of old figure code.
8840 2001-07-27 Juergen Vigna <jug@sad.it>
8842 * text2.C: font.realize function adaption.
8844 * text.C (draw): add a warnings lyxerr text if needed.
8846 * layout.C: font.realize function adaption.
8848 * language.C: add inherit_language and implement it's handlings
8850 * bufferview_funcs.C (StyleReset): remove language parameter from
8851 font creation (should be language_inherit now).
8853 * bufferparams.C (writeFile): handle ignore_language.
8855 * paragraph.C (getFontSettings): the language has to be resolved
8856 otherwise we have problems in LyXFont!
8858 * lyxfont.C (lyxWriteChanges): added document_language parameter
8859 (update): removed unneeded language parameter
8861 * paragraph.C (validate): fixed wrong output of color-package when
8862 using interface colors for certain fonts in certain environments,
8863 which should not seen as that on the final output.
8865 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
8867 * BufferView_pimpl.C:
8872 * LyXAction.C: add thesaurus support
8875 * lyxfind.C: add "once" parameter, for thesaurus, to not
8876 move to the next match
8878 2001-07-26 Juergen Vigna <jug@sad.it>
8880 * lyxfont.C (realize): honor ignore_language too!
8883 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8885 * text.C (draw): one place more for ignore_language to not draw
8888 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
8890 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8892 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8894 * buffer.C (parseSingleLyXformat2Token): a more general fix for
8895 the minipage conversion problem.
8897 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8899 * buffer.C (parseSingleLyXformat2Token): check minipage if we
8902 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8904 * BufferView.h: don't forward declare WorkArea
8906 * BufferView.C: don't include WorkArea.h
8908 2001-07-25 André Pönitz <poenitz@gmx.net>
8912 * lyxfunc.C: new LFUN 'math-space'
8914 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8916 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8918 * text2.C (toggleInset): call open/close
8920 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8922 * lyxfunc.C (dispatch): add debug for the disabled case
8924 * font.C (buttonText): make similar to rectText
8926 * buffer.C (readInset): comment out parsing of insetlist and
8929 * PainterBase.C (rectText): small correction
8931 * BufferView_pimpl.C: comment out insettheorem and insetlist
8932 * LyXAction.C: ditto
8933 * commandtags.h: ditto
8935 2001-07-24 Juergen Vigna <jug@sad.it>
8937 * text.C (draw): honor the ignore_language.
8939 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8941 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8943 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8946 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8948 * lyxtext.h: remove unused (and unimplemented) methods
8950 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8952 * text.C (getVisibleRow): honor background color
8955 * Painter.h: remove default color argument for fillRectangle
8957 * text.C (backgroundColor): new method
8959 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8961 * text.C (getVisibleRow): adjust
8963 * font.[Ch] (rectText): new method, metrics
8964 (buttonText): new method, metrics
8966 * PainterBase.[hC]: make rectText and buttonText always draw and take
8969 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8971 * ToolbarDefaults.C (read):
8972 * MenuBackend.C (read): allow escaping in all strings
8974 * BufferView_pimpl.C (insertAndEditInset): new method.
8975 (Dispatch): use insertAndEditInset whenever appropriate.
8977 * BufferView_pimpl.C (insertNote): removed
8979 * BufferView_pimpl.C (smartQuote): new method, moved from
8980 BufferView; if an insetquote cannot be inserted, insert a '"'
8983 * BufferView2.C: remove insertCorrectQuote();
8985 * lyxfunc.C (getStatus): Add support for all remaingin
8988 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8990 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8991 command (necessary to pass " as parameter of self-insert.
8993 * text.C (selectWordWhenUnderCursor):
8994 (selectWord): add word_location parameter
8995 (selectWordWhenUnderCursor): same + remove special code for word
8997 (selectNextWord): use kind() to guess type of insetspecialchar,
9000 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9001 (insertErtContents): create ert insets as collapsed.
9002 (readInset): better compatibility code for Info inset.
9004 2001-07-20 Juergen Vigna <jug@sad.it>
9006 * lyxfunc.C (dispatch): use always LyXFind now!
9008 * text2.C (init): add a reinit flag so that the LyXText can be
9009 reinited instead of deleted and reallocated (used in InsetText).
9011 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9017 2001-07-18 Juergen Vigna <jug@sad.it>
9019 * text.C (selectNextWord): handle insets inside inset by calling
9020 always the bv->text functions so that we can go up the_locking_inset!
9022 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9023 in strange locations when inside an inset!
9025 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9026 handling to include insets.
9028 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9030 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9032 * LyXAction.C (init):
9034 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9035 LIGATURE_BREAK, since the name is so stupid.
9037 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9039 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9042 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9044 * sp_form.[Ch]: remove.
9046 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9048 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9051 * src/buffer.C (readInset): ditto.
9053 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9055 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9056 menuSeparator(), endOfSentenceDot(), ldots() and
9057 hyphenationPoint(), which are therefore removed.
9058 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9060 * LyXAction.C (init):
9061 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9063 * paragraph.C (getWord): removed.
9065 * BufferView_pimpl.C (Dispatch): use last word or selection for
9066 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9068 * lyx_main.C (queryUserLyXDir): do not ask before creating
9069 user_dir, except if it has been named explicitely.
9071 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9073 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9074 a document of zero size.
9076 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9078 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9079 approriately in the c-tor and in require().
9080 (getPackages): output the appropriate LaTeX for natbib support.
9082 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9083 variables "use_natbib" and "use_numerical_citations" when reading the
9085 (readInset): read the various natbib cite commands.
9086 (validate): white-space change.
9088 * bufferparams.[Ch]: new variables "bool use_natbib" and
9089 "bool use_numerical_citations".
9090 (writeFile): output them in the LyX file.
9092 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9094 * lyxfunc.C (getStatus): add support for all the inset insertion
9097 * text2.C (insertInset):
9098 * paragraph.C (insetAllowed):
9099 * BufferView_pimpl.C (insertInset): update to take in account the
9100 renaming of insertInsetAllowed
9102 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9104 * text2.C (getInset): new method. returns inset at cursor position.
9106 * BufferView_pimpl.C (Dispatch): changes because of this.
9108 * LyXAction.C (init): rename open-stuff to inset-toggle.
9110 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9112 * text2.C (toggleInset): renamed from openStuff; use
9115 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
9117 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9119 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9121 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
9123 * buffer.C (readLyXformat2): Add filename to the error dialog
9125 2001-07-18 Juergen Vigna <jug@sad.it>
9127 * tabular.C (GetCellNumber): put an assert here instead of the check!
9129 2001-07-17 Juergen Vigna <jug@sad.it>
9131 * BufferView_pimpl.C (toggleSelection): adapted too.
9133 * text.C (selectNextWord): adapted for use with insets.
9134 (selectSelectedWord): ditto
9136 2001-07-17 Juergen Vigna <jug@sad.it>
9138 * sp_spell.C (PSpell): fix initialitation order.
9140 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9142 * paragraph.C: spacing
9144 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
9146 * sp_spell.C: repair language selection for pspell
9148 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9150 * lyxfunc.h: change more methods to begin with lower char.
9152 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
9154 * buffer.C (parseSingleLyXformat2Token): Generate error insets
9155 for unknown layouts.
9157 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
9159 * buffer.C (readLyXformat2): Generate an error dialog if there are
9162 2001-07-16 Juergen Vigna <jug@sad.it>
9164 * sp_spell.C: always compile ISpell part.
9166 * lyxrc.C: added use_pspell entry and it's handling.
9168 2001-07-13 Juergen Vigna <jug@sad.it>
9170 * sp_spell.C: removed double includes.
9172 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
9174 Consistent use of Lsstream.h:
9175 * Lsstream.h: added using std::stringstream for consistencies sake.
9177 * buffer.C: removed using std::stringstream
9179 * lyxfont.C (stateText):
9180 * paragraph.C (asString):
9181 * text.C (selectNextWord, selectSelectedWord):
9182 * text2.C (setCounter):
9183 * vspace.C (asString, asLatexString):
9184 std::ostringstream -> ostringstream.
9186 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9188 * LyXAction.C: add LFUN_HELP_ABOUTLYX
9189 * commandtags.h: add LFUN_HELP_ABOUTLYX
9190 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9192 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
9194 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9196 * lyx_gui_misc.C: remove spellchecker
9197 * lyxfunc.C: showSpellchecker
9199 * sp_ispell.h: added
9200 * sp_pspell.h: added
9202 * sp_form.[Ch]: removed
9203 * spellchecker.[Ch]: removed
9205 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
9207 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9209 (simpleTeXSpecialChars): Simply print the input character without
9210 any special translation if pass_thru is set.
9212 * layout.h: Added bool pass_thru to layout class for being able to
9213 implement pass through of a paragraph for Literate Programming.
9215 * layout.C: add LT_PASS_THRU to LayoutTags enum.
9216 * layout.C (LyXLayout): set pass_thru to flase in constructor.
9217 * layout.C (Read): add "passthru" to list of layout tags and add
9218 code to set the pass_thru boolean when it is read.
9220 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
9222 * trans_decl.h: remove allowed from KmodInfo
9224 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9228 * paragraph_pimpl.C (erase): use boost::prior
9230 * Painter.C (text): use data() instead of c_str() when length is
9232 * WorkArea.C (putClipboard): ditto
9233 * font.h (width): ditto
9235 * BufferView2.C: use it-> instead of (*it). for iterators
9237 * paragraph_pimpl.C: ditto
9238 * paragraph.C: ditto
9239 * minibuffer.C: ditto
9244 * converter.C: ditto
9246 * Variables.C: ditto
9247 * TextCache.C: ditto
9248 * MenuBackend.C: ditto
9249 * LyXAction.C: ditto
9251 * FloatList.C: ditto
9253 * ColorHandler.C (LyXColorHandler): ditto
9255 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9257 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9259 * text2.C (openStuff): reintroduce this method (which had been
9260 nuked in NEW_INSETS frenzy).
9262 * lyxfunc.C (Dispatch): when an action has not been handled, use
9263 its name in the error message, not its number.
9265 * paragraph.C (inInset): change method name to begin with lowercase.
9268 * text2.C: updates because of this.
9270 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9272 * ToolbarDefaults.C (add): add spaces in error message
9274 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9276 * buffer.C (readLyXformat2): initialize the ert comp. variables.
9277 (readLyXformat2): rename return_par to first_par, use lyxlex's
9278 pushToken and remove the manual push handling.
9279 (parseSingleLyXformat2Token): add another ert comp. variable:
9280 in_tabular, rename return_par to first_par. handle newlines better
9282 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9284 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9286 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9288 * text2.C (getParFromID): removed
9290 * buffer.C (getParFromID): new method moved form lyxtext.
9291 * BufferView2.C (insertErrors): adjust
9292 (setCursorFromRow): adjust
9293 * BufferView_pimpl.C (restorePosition): adjust
9294 * lyxfunc.C (Dispatch): adjust
9295 * undo_funcs.C (textUndo): adjust
9297 (textHandleUndo): adjust
9298 (textHandleUndo): adjust
9300 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
9302 * buffer.C: up' the LYX_FORMAT
9304 * lyxfont.h: turn NO_LATEX on as default
9306 * buffer.C (insertErtContents): new methods of tex style compability.
9307 (parseSingleLyXformat2Token): use it several places.
9308 * tabular.C (OldFormatRead): and here
9310 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
9312 * text2.C: remove some commented code.
9315 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9316 * trans.C: changes because of the above.
9318 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
9320 * text2.C (setCounter): Fix counters bug with bibliography layout.
9322 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9324 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9325 own member functions
9326 (simpleTeXSpecialChars): ditto
9328 2001-07-06 Juergen Vigna <jug@sad.it>
9330 * a lot of files: changed the access to LyXText::status and the
9331 call of undo-functions.
9333 * undo.[Ch]: added a inset_id to the undo informations.
9335 * undo_funcs.[Ch]: added and moved here all undo functions.
9337 * lyxtext.h: give the status enum a weight, made status_ a private
9338 variable and made accessor functions for it, removed the whole bunch
9339 of undo-functions as they are now in their own file, make some
9340 functions publically available. Added function ownerParagraph with
9343 * paragraph.[Ch]: added "bool same_ids" to the constructor,
9344 made InInset() a const function, added getParFromID() function.
9346 * buffer.[Ch]: added const version for inset_iterator functions,
9347 added getInsetFromID() function.
9349 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9350 changed undo functions for new version.
9352 2001-07-05 Juergen Vigna <jug@sad.it>
9354 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9355 unknow mechanism does not call the proper constructor but only this
9356 one also if I request the other!?
9358 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9360 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9362 * text2.C (LyXText): use initialization lists.
9364 * lyxtext.h (Selection): initialize set_ and mark_
9365 (init): remove method
9367 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
9369 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9371 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9373 * screen.[Ch]: change method names to begin with lowercase
9375 * BufferView_pimpl.C (updateScrollbar): simplify further and
9376 hopefully make it a bit faster.
9378 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9380 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9381 calling directly xforms functions.
9383 * Painter.C (Painter):
9384 * lyx_cb.C (MenuWrite):
9385 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9388 * lyx_gui.C: remove bogus guiruntime extern declaration.
9390 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9392 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9394 (redoDrawingOfParagraph): ditto
9395 (redoParagraphs): ditto
9396 (cutSelection): don't create a object for CutAndPaste use the
9397 static method directly
9398 (pasteSelection): ditto
9400 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9403 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9405 * modifications to some other files because of this.
9407 * Makefile.am (lyx_SOURCES): add XFormsView
9409 * XFormsView.[Ch]: new files
9411 * LyXView.[Ch]: make LyXView a base class for the gui handling for
9412 the main window. Move the gui dependent stuff to XFormsView
9414 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9416 * tabular.C (GetCellInset): update cur_cell also in the row/col
9417 version of this function.
9419 * lyxfunc.C: no need to include figure_form.h here.
9425 * lyxvc.C: no need to include forms.h here.
9427 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9429 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9431 * lyxfunc.C (Dispatch):
9433 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9434 constructor argument.
9436 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9438 * paragraph.C (Paragraph): dont't clear, and just set layout.
9439 (makeSameLayout): use params's copy contructor.
9441 * ParagraphParameters.[Ch] (makeSame): delete method
9443 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
9445 * Variables.[Ch]: fix indentation, rename set to isSet
9447 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9449 * lyxfunc.C (Dispatch): fix typo
9451 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9453 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9456 * bufferlist.C: include assert.h for emergencyWrite().
9458 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9460 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9461 give up at last (bug #425202) !
9463 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
9469 * spellchecker.C: strip spellchecker options and bring up
9470 preferences tab instead
9472 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9474 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9475 the istringstream constructor
9477 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9479 * paragraph.C (getLayout): fix return value
9481 * paragraph.h: do not declare getLayout as inline.
9483 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9485 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9487 * lyxcursor.h (operator<): new func
9488 (operator>): new func
9489 (operator>=): new func
9490 (operator<=): new func
9492 * text.C (changeCase): use selection.start and selection.end
9493 (changeRegionCase): require from to be <= to. Require par to be a
9496 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9498 2001-06-27 Juergen Vigna <jug@sad.it>
9500 * text.C (cursorLeftOneWord): changed to return the cursor and added
9501 overlay with BufferView * parameter which calls this one.
9503 (selectWord): use new getWord function.
9504 (changeCase): renamed from changeWordCase as and extended to work
9507 * lyxtext.h: added enum word_location
9509 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9510 changeCase as this operates now also on selections.
9512 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
9514 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9516 * many files: send debug output to Debug::INFO instead of
9519 * converter.C (View):
9521 (Move): send debug output to Debug::FILES instead of console.
9523 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
9525 * lyxfunc.C (getStatus): use func_status
9527 * func_status.h: new header, describing the results of
9530 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9533 2001-06-25 The LyX Project <jug@sad.it>
9535 * buffer.C (sgmlOpenTag):
9537 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
9539 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9541 * text2.C: remove some dead code
9543 * tabular.C (GetCellInset): store the last cell checked (gotten)
9545 * tabular.h: add the helper for the speedup
9547 * lyxtext.h: remove some dead code
9549 2001-06-26 The LyX Project <Asger>
9551 * paragraph.C: Change export to LaTeX of alignment to
9552 \begin{center} and family for better roundtrip work with reLyX.
9554 * Tune the math drawing a bit.
9556 2001-06-25 The LyX Project <Asger>
9558 * LColor.C (LColor): New color for math background. New color
9561 2001-06-25 The LyX Project <jug@sad.it>
9563 * lyxfunc.C (MenuNew): remove extra check for .lyx file
9566 * bufferlist.C (newFile): do not restrict to files ending with
9569 * BufferView_pimpl.C (MenuInsertLyXFile):
9571 2001-06-24 The LyX Project <jug@sad.it>
9573 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9576 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9578 * lyxtext.h: rename most methods to begin with a small char.
9579 Lots of changes because of this.
9581 * paragraph.C (Paragraph): do not call fitToSize
9582 (erase): call Pimpl::erase
9583 (insertChar): call Pimpl::insertChar
9584 (insertInset): call Pipl::insertInset
9585 (breakParagraph): do not call fitToSize
9586 (breakParagraphConservative): do not call fitToSize
9587 (fitToSize): remove method
9589 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9591 2001-06-24 The LyX Project <Asger>
9593 * Fix Qt compilation^2
9595 2001-06-24 The LyX Project <jug@sad.it>
9597 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9598 depthHook(getDepth()-1).
9601 * ParagraphParameters.h:
9602 * ParameterStruct.h: change type of depth to unsigned int ==
9603 depth_type. Many adaptations to other files before of that.
9605 2001-06-24 The LyX Project <Asger>
9607 * Fix Qt compilation.
9609 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9611 * paragraph.h: renamed several methods to begin with small letter.
9612 several changes to many parts of the code because of this.
9614 2001-06-23 The LyX Project <jug@sad.it>
9616 * text2.C (InsertStringAsLines): renamed from InsertStringA;
9617 rewritten to discard all double spaces when KeepEmpty is off
9618 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9619 to only handle newlines but not fiddle with spaces and friends.
9621 * lyxfunc.C (MenuNew): when doing 'new from template', use
9622 template_path as default directory
9624 2001-06-23 The LyX Project <Asger>
9626 * Clean-up of header file includes all over
9627 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9629 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9631 * paragraph.h: renamed from lyxparagraph.h
9633 2001-06-23 Asger <lyx@violet.home.sad.it>
9635 * Buffer.h: Removed Buffer::resize
9636 * BufferList.h: Removed BufferList::resize
9637 * LyXView.h: Added LyXView::resize. This way, we will only reflow
9638 the document lazily when we change the width, or the font settings.
9640 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9642 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9644 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9646 * buffer.h: remove out of date comment
9648 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
9651 * screen.C: fix "theoretical" GC leak
9653 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9655 * LaTeX.C (scanAuxFile):
9656 (deplog): remove trailing \r when reading stream (useful under
9659 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
9661 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9662 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9663 and BufferView::theLockingInset(Inset*), so should use them and not
9664 access bv_->text->the_locking_inset directly.
9666 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9668 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9671 * tex-defs.h: remove old unused file
9673 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
9675 * BufferView_pimpl.C: fix typo, remove minibuffer message
9676 when buffer has loaded
9678 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
9680 * lyxfunc.C (Dispatch): use stringstream
9681 (MenuNew): use stringstream
9682 (Open): use stringstream
9684 * importer.C (Import): use stringstream
9686 * bufferview_funcs.C (CurrentState): use stringstream
9688 * LaTeX.C (run): use stringstream
9690 * BufferView_pimpl.C (savePosition): use stringstream
9691 (restorePosition): use stringstream
9692 (MenuInsertLyXFile): use stringstream
9694 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
9707 * vspace.C: removed // -*- C++ -*- as first line.
9710 * version.h: added // -*- C++ -*- as first line.
9712 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9714 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9716 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9719 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
9721 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9724 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9726 * gettext.C: include LString.h even when --disable-nls is on.
9728 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
9730 * converter.h (Get): changed argument type from int to
9731 FormatList::size_type to avoid unnecessary conversion.
9733 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9736 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9738 * gettext.h: include LString.h even when --disable-nls is on.
9740 2001-06-07 Juergen Vigna <jug@sad.it>
9742 * text.C (BreakAgain): subst spaces with tabs.
9744 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9745 (resizeInsetsLyXText): set force on resizeLyXText.
9747 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9749 * gettext.h (gettext_init):
9750 (locale_init): use a real definition instead of a macro
9752 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
9754 * Bufferview_pimpl.C:
9756 * LColor.C: further lcolor tidies
9758 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9760 * BufferView_pimpl.C (updateScrollbar): simplify.
9762 * BufferView2.C: don't include insets/insetinfo.h, change
9763 prototype for insertInset and call the Pimpl version. let
9764 updateInset call Pimpl version.
9766 * BufferView.h: move inset_slept to BufferView::Pimpl, move
9767 gotoInset to BufferView::Pimpl
9769 2001-06-01 Juergen Vigna <jug@sad.it>
9771 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9772 inside a LockingInset (is the update needed at all?).
9774 2001-05-31 Juergen Vigna <jug@sad.it>
9776 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9777 here not the old one otherwise how should we compare it afterwards
9780 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9785 * FontInfo.C: bring C functions into global namespace when
9788 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9790 * LString.h: make sure config.h has been loaded before LString.h.
9792 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9793 (one for each char read by EatLine!).
9795 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9798 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
9800 * paragraph.C (BreakParagraph): set the inset_owner in the new par
9801 to the same as the par we break from
9803 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
9805 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9807 * MenuBackend.C (expand): also create menu entries for wide
9808 versions of the floats.
9810 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9812 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9814 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9815 frontends/Makefile.am
9821 * tabular.C (getTokenValue): add std::
9823 * tabular-old.C (getTokenValue): add std::
9824 (getTokenValue): ditto
9825 (getTokenValue): ditto
9827 * screen.C (ToggleSelection): adjust
9829 * lyxtext.h: put selection cursors inside a Selection struct.
9831 * lyxfunc.C (moveCursorUpdate): adjust
9833 * lyxfont.C (latexWriteStartChanges): add std::
9837 * font.h: delete with(char const *, LyXFont const &)
9839 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9841 * FontInfo.C (getFontname): add std::
9843 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9844 (workAreaButtonPress): adjust
9845 (tripleClick): adjust
9847 (moveCursorUpdate): adjust
9850 * BufferView2.C (gotoInset): adjust
9852 2001-05-30 Juergen Vigna <jug@sad.it>
9854 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9855 to check pspell I add this as default as I now have new pspell
9856 libraries and they seem to use this.
9858 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * text2.C (CutSelection): make the cursor valid before the call to
9863 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9865 * kbsequence.C (parse): de-uglify a bit the parsing code, which
9866 relied on 0 terminated strings and other horrors. Bug found due to
9867 the new assert in lyxstring!
9869 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9872 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
9874 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9877 * lyxfunc.C (processKeySym): change method of getting to the
9880 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9881 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9882 * BufferView_pimpl.[Ch]: here as private methods.
9884 2001-05-28 Juergen Vigna <jug@sad.it>
9886 * text.C (SetHeightOfRow): added the update() call again as it is
9887 needed to initialize inset dimensions!
9889 2001-05-16 Juergen Vigna <jug@sad.it>
9891 * text2.C (SetCharFont): Add new function with BufferView * and
9892 bool toggleall parameters for setting insets internal fonts.
9893 (SetFont): Freeze the undo as we may change fonts in Insets and
9894 all this change should be inside only one Undo!
9896 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9897 setting font's in insets as for them we have the SetFont function!
9899 2001-05-15 Juergen Vigna <jug@sad.it>
9901 * text2.C (ClearSelection): to be sure we REALLY don't have any
9904 * tabular.C (TeXCellPreamble): fixed the left border problem for
9907 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
9909 * LaTeX.C (deplog): Make sure that the main .tex file is in the
9912 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
9914 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9915 LFUN_BREAKPARAGRAPH.
9917 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9918 help test to "internal only", similar for LFUN_INSERT_URL
9920 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9921 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9922 auto_region_delete and deadkeys.
9924 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
9927 * LColor.C: remove some dead entries, tidy a little
9929 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9931 * lyxfunc.C (processKeySym): comment the Escape handling, remove
9933 (Dispatch): implement LFUN_ESCAPE
9935 * commandtags.h: add LFUN_ESCAPE
9937 * LyXAction.C (init): add entry for LFUN_ESCAPE
9939 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9940 Remove commented code.
9941 (insertNote): moved here
9942 (open_new_inset): moved here
9944 * BufferView[2].[Ch]: move insertNote and open_new_inset to
9947 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9949 * kbmap.C (findbinding): clean it up and make it work correctly.
9951 * lyx_main.C (init): do not pass argc and argv as parameters
9953 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
9955 * buffer.C: fix path for OS/2 & Win32
9959 * lyx_main.C: Added os:: class.
9961 * os2_defines.h: update
9963 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
9965 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9966 better by trying again with reduced state.
9968 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9970 * lyxrc.C (read): print error about invalid key sequence only when
9971 debugging (because not all latinX keysyms are known to some X
9974 * kbsequence.C (getiso): add a few std:: qualifiers
9975 (getiso): comment out extra return statement.
9977 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
9979 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9981 (Dispatch): enhance the accent inset a bit. (not perfect)
9983 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
9985 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9987 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9989 * bufferlist.C (emergencyWrite): fix assert() call
9991 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
9993 * text.C (InsertChar): Added trivial patch to only send the "you
9994 can not do multiple spaces this way" message once during a
9997 2001-05-08 Baruch Even <baruch@lyx.org>
9999 * Makefile.am: Changed order of libraries to get LyX to link properly
10000 with the gnome frontend.
10002 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10004 * LaTeXFeatures.h: add a std:: qualifier
10006 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10008 * paragraph.C (String): use stringstream
10010 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10012 * paragraph.C (writeFile): remove footflag arg
10014 * buffer.C (makeLaTeXFile): use stringstream
10015 (latexParagraphs): remove footnot gurba
10017 * LaTeXFeatures.C (getPackages): use stringstream
10018 (getMacros): likewise
10019 (getTClassPreamble): likewise
10020 (getFloatDefinitions): new method
10022 * paragraph.C (writeFile): reindent
10025 * WorkArea.h: revert the xpos + etc changes.
10027 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10029 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10031 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10032 (pasteSelection): likewise
10033 * text2.C (CreateUndo): likewise
10035 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10037 * minibuffer.C (peek_event): temporarily reduce the functionality
10038 of the minibuffer (to allow args on lfuns)
10040 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10041 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10043 * buffer.C (readInset): add compability reading of old float
10044 lists, add reading of new style float list.
10045 (readInset): avoid reevaluation of inscmd.getCmdName()
10046 (getLists): reindent
10048 * MenuBackend.C (MenuItem): implement parsing of
10049 md_floatlistinsert and md_floatinsert.
10050 (expand::LastFiles): move initalizaton of iterators out of loop,
10051 avoid reevaluation.
10052 (expand::Documents): introduce typdedef vector<string> Strings,
10054 (expand::ExportFormats): introduce typedef vector<Format const *>
10055 Formats, and use it.
10056 (expand): implement FloatListInsert and FloatInsert.
10058 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10059 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10060 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10062 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10064 (Dispatch::LFUN_FLOAT_LIST): implement
10066 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10068 * LaTeX.C (run): Fix problem with --export code.
10070 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10072 * BufferView.[Ch] (workarea): removed.
10073 (getClipboard) new method; wrapper for workarea()->getClipboard()
10075 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10078 * WorkArea.h (width, height, xpos, ypos): These methods all
10079 returned the dimensions of the work_area sub-area of WorkArea,
10080 resulting in a position error if the WorkArea were resized. Now
10081 return the dimensions of the entire WorkArea.
10083 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10085 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10087 * LaTeX.C (deplog): correct the syntax of regex reg1
10089 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10091 * undo.C: remove !NEW_INSETS cruft
10093 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10095 * text2.C: remove !NEW_INSETS cruft
10097 * text.C: remove !NEW_INSETS cruft
10099 * tabular.C: remove !NEW_INSETS cruft
10101 * spellchecker.C: remove !NEW_INSETS cruft
10103 * lyxtext.h: remove !NEW_INSETS cruft
10105 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10107 * lyxfunc.C: remove !NEW_INSETS cruft
10109 * lyxfind.C: remove !NEW_INSETS cruft
10111 * lyx_cb.C: remove !NEW_INSETS cruft
10113 * figureForm.C: remove !NEW_INSETS cruft
10115 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10117 * buffer.[Ch]: remove !NEW_INSETS cruft
10119 * ToolbarDefaults.C: remove !NEW_INSETS cruft
10121 * CutAndPaste.C: remove !NEW_INSETS cruft
10123 * BufferView_pimpl.C: remove !NEW_INSETS cruft
10125 * BufferView2.C: remove !NEW_INSETS cruft
10127 * BufferView.h: remove !NEW_INSETS cruft
10129 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10131 * Lsstream.h: include LString.h before the sstream headers to
10132 fix problem with gcc 2.95.3 and lyxstring
10134 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10136 * lyx_main.C: add using directives when needed for C functions
10137 declared in std:: namespace.
10139 2001-04-27 Juergen Vigna <jug@sad.it>
10141 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10142 (SetHeightOfRow): comment out the update call should not be needed!
10144 2001-04-13 Juergen Vigna <jug@sad.it>
10146 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10147 (LyXTabular): tried to minimize operator= operations (and realized
10148 hopfully Lars wish).
10150 2001-04-27 Juergen Vigna <jug@sad.it>
10152 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10154 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10156 * lyxfunc.C (Dispatch): hack to make listof algorithm work
10158 * buffer.C (readInset): hack to make listof algorithm work
10160 * BufferView_pimpl.C: hack to make listof algorithm work
10162 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10164 * LyXAction.C: removed all !NEW_INSETS cruft
10165 (init): moved lfun_item in method
10167 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10169 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10171 * BufferView2.C (theLockingInset): white space.
10173 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10175 * minibuffer.C: include <iostream>
10177 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10179 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10181 * commandtags.h: add LFUN_TRANSPOSE_CHARS
10183 * text.[Ch] (TransposeChars): new method
10185 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10187 * call message directly through LyXView instead of through LyXFunc
10188 * BufferView2.C: adjust
10189 * BufferView_pimpl.C: adjust
10190 * FontLoader.C: adjust
10192 * bufferview_funcs.C: adjust
10193 * converter.C: adjust
10194 * figureForm.C: adjust
10195 * importer.C: adjust
10197 * lyx_gui_misc.C: adjust
10198 * lyxfunc.C: adjust
10201 + more files in subdirs
10203 * lyxparagraph.h (size): move up int file
10206 * adjust all uses of Assert to lyx::Assert.
10208 * BufferView2.C (ChangeCitationsIfUnique): adjust for
10209 lyxfunctional in namespace lyx
10210 * layout.C (hasLayout): ditto
10213 (delete_layout): ditto
10214 (NumberOfClass): ditto
10215 * converter.C (GetFormat): ditto
10220 * bufferlist.C (getFileNames): ditto
10221 (emergencyWriteAll): ditto
10224 * MenuBackend.C (hasSubmenu): ditto
10227 * BufferView_pimpl.C (getInsetByCode): ditto
10229 2001-04-18 Juergen Vigna <jug@sad.it>
10231 * vspace.C (asLatexString): fixed the 100% problem.
10233 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10235 * lyxfunc.C (Dispatch):
10237 * minibuffer.h: add a few std:: qualifiers
10239 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10241 * minibuffer.[Ch]: reimplement so that commands is initiated and
10242 run from lyxfunc, simplified som handling, and made the completion
10243 and history code for complete. wip.
10245 * lyxfunc.C (processKeySym): call message
10246 (miniDispatch): new temporary method
10247 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10248 (LFUN_MESSAGE): implement
10249 (LFUN_MESSAGE_PUSH): implement
10250 (LFUN_MESSAGE_POP): implement
10251 (initMiniBuffer): the initial/defualt minibuffer message.
10253 * lyxfont.[Ch]: inline some more getters
10255 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10257 * lyx_gui_misc.[Ch] (WriteStatus): remove method
10259 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10260 (AutoSave): use LFUN_MESSAGE
10261 (Reconfigure): ditto
10263 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10265 * figureForm.C: use LFUN_MESSAGE
10267 * converter.C (runLaTeX): use LFUN_MESSAGE
10269 * bufferview_funcs.C: use LFUN_MESSAGE
10271 (changeDepth): ditto
10273 * bufferparams.h: use boost::
10275 * bufferlist.h: inherit privately from noncopyable
10277 * bufferlist.C (loadLyXFile): remove some commented code.
10279 * buffer.C (runChktex): use LFUN_MESSAGE
10281 * ShareContainer.h: inherit privately from noncopyable
10283 * ParagraphParameters.[hC] (depth): inline it.
10285 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10287 (message): new method
10288 (messagePush): ditto
10289 (messagePop): ditto
10290 (show): init minibuffer
10291 (showState): direct call
10293 * LaTeX.[Ch]: inherit privately from noncopyable
10294 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10295 instead of WriteStatus.
10297 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10299 * BufferView_pimpl.C (buffer): don't init minibuffer
10300 (workAreaButtonPress): use LFUN_MESSAGE
10301 (workAreaButtonRelease): ditto
10302 (savePosition): ditto
10303 (restorePosition): ditto
10304 (MenuInsertLyXFile): ditto
10305 (workAreaExpose): don't init minibuffer
10306 (update): remove commented code, simplify
10308 * BufferView2.C (openStuff): use LFUN_MESSAGE
10309 (toggleFloat): ditto
10312 (copyEnvironment): ditto
10313 (pasteEnvironment): ditto
10318 (updateInset): remove some commented code
10320 * lastfiles.h: inherit privately from noncopyable
10323 * lyx_main.h: ditto
10325 * lyxlex_pimpl.h: ditto
10327 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10328 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10329 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10331 * LyXAction.h: inherit privately from noncopyable, add methods
10332 func_begin, func_end, returning iterators to the func map.
10334 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10335 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10336 (func_begin): new method
10337 (func_end): new method
10339 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10341 (copySelection): ditto
10342 (pasteSelection): ditto
10344 * BufferView.C: whitespace change
10345 * BufferView.h: inherit privately from noncopyable
10347 2001-04-16 Allan Rae <rae@lyx.org>
10349 * tabular-old.C (l_getline):
10350 * spellchecker.C (sc_check_word):
10351 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10352 an unrecognised preprocessor directive. So ensure they're wrapped.
10354 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
10356 * src/exporter.C (Export): Give an error message when path to file
10359 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
10361 * LaTeX.C (deplog): Always check that foundfile exists.
10363 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10366 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10368 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10370 * tabular.[Ch] (getLabelList): implement new method
10372 * minibuffer.h: comment ouf setTiimer
10374 * minibuffer.C (ExecutingCB): constify res
10375 (peek_event): constify s
10376 (Set): constify ntext
10377 (Init): constify nicename
10379 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10381 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10382 (savePosition): use two params to Minibuffer::Set
10383 (restorePosition): ditto
10385 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10387 * lyx_main.C: include language.h
10389 * Makefile.am (lyx_main.o): add language.h
10391 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10397 * CutAndPaste.C: include gettext.h
10399 * lyxfont.h: remove old hack with ON and OFF.
10402 * lyxfont.h: do not include language.h...
10407 * bufferview_funcs.C:
10413 * paragraph.C: ... but do it here instead
10415 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10417 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10419 * tabular.C: small reformat
10421 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10424 (BreakParagraph): ditto
10425 (SetOnlyLayout): ditto
10428 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10431 * lastfiles.C: removed most using decl, add std:: where needed
10433 * buffer.C: ws changes
10435 * MenuBackend.C (class compare_format): put into anon namespace
10436 (expand): constify label, names, action, action2
10439 * text.C (SingleWidth): constify font
10440 (IsBoundary): constify rtl2
10441 (GetVisibleRow): constify ww
10443 * LaTeX.C (deplog): constify logfile
10445 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10447 (workAreaExpose): constify widthChange, heightChange
10449 * lyxrow.C (par): moved
10452 * lyxrow.h: as inlines here
10454 * lyxfont.h (shape): moved from lyxfont.C
10455 (emph): moved from lyxfont.C
10457 * lyxfont.C (LyXFont): use initialization list for all
10459 (shape): move to lyxfont.h as inline
10460 (emph): move to lyxfont.h as inline
10463 2001-04-04 Juergen Vigna <jug@sad.it>
10465 * vspace.C: had to include stdio.h for use of sscanf
10467 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
10470 * BufferView_pimpl.h: remove xforms cruft. Both classes are
10471 independent of xforms.
10473 2001-04-02 Juergen Vigna <jug@sad.it>
10475 * spellchecker.C: fixed namespace placing!
10477 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
10479 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10480 the LyXParagraph * is 0.
10482 2001-03-29 Juergen Vigna <jug@sad.it>
10484 * vspace.C: added support for %, c%, p%, l%.
10485 (stringFromUnit): added helper function.
10486 (asLatexString): changed to give right results for the %-values.
10488 * buffer.C: convert the widthp in a width%.
10490 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
10492 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10495 * figureForm.[Ch]: stripped the FD_from_figure manipulation
10496 code out of lux_cb.[Ch], ready for its (imminent?) removal.
10498 * lyx_cb.[Ch]: see above.
10500 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10504 * lyx.[Ch]: replaced by figure_form.[Ch].
10508 * lyxfunc.C: changed headers associated with above changes.
10510 2001-03-27 Juergen Vigna <jug@sad.it>
10512 * BufferView_pimpl.C: set the temporary cursor right!
10514 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
10516 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10518 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
10520 * LString.h: removed "using std::getline"!
10522 * BufferView_pimpl.C (Dispatch): changes due to changes in
10523 InsetInclude::Params.
10525 * buffer.C (tag_name): removed redundant break statements as they were
10526 producing lots of warnings with my compiler.
10528 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10530 * LString.h: add "using std::getline" when using the real <string>.
10532 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
10534 * buffer.C: removed bitset usage.
10535 PAR_TAG moved to an anonymous name space.
10536 (tag_name): new funtion, also in the anonymous namespace.
10537 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10538 (makeDocBookFile): clean code. Completed transition from string arrays
10540 (SimpleDocBookOnePar): code clean.
10542 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10544 * tabular.C: add some comments.
10546 2001-03-22 Juergen Vigna <jug@sad.it>
10548 * buffer.C (parseSingleLyXformat2Token): redone the minipage
10549 compatibility read a bit and fixed bug with minipage in different
10552 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
10554 * buffer.C (pop_tag): removed.
10555 (push_tag): removed.
10556 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10557 array replaced with vector. Added support for CDATA sections.
10558 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10560 (makeDocBookFile): XML conformant declaration of CDATA section,
10561 fixed bug related to <emphasis> in the first paragraph char.
10562 (sgmlOpenTag): exclude empty tags.
10563 (sgmlCloseTag): ditto.
10565 * buffer.h (pop_tag): removed.
10566 (push_tag): removed.
10568 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
10570 * language.h (Languages): added size_type and size().
10572 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10574 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10575 response on compability reading of minipages. One probliem is that
10576 the old usage of minipages was «flertydig»
10578 * several files here and in subdirs: don't use static at file
10579 scope use anon namespaces instead.
10581 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
10583 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10584 LaTeX output. This is necessary for Literate document
10587 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10589 * buffer.C: insert hfill when needed.
10591 * tabular.C (l_getline): use string::erase, small whitespace change.
10593 * BufferView_pimpl.C: try the anon namespace.
10594 * WorkArea.C: ditto
10596 2001-03-16 Juergen Vigna <jug@sad.it>
10598 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10599 otherwise it won't open options-dialogs.
10601 * buffer.C: honor pextraWidth(p) on converting minipages.
10603 * tabular.C (l_getline): changed the functions to strip trailing \r.
10605 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
10607 * BufferView_pimpl.C:
10608 * minibuffer..C: added "using SigC::slot" declaration.
10610 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10612 * lyxlex_pimpl.h: noncopyable is in namespace boost.
10618 * paragraph.C: ditto
10620 * lyxtext.h: NO_PEXTRA
10622 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10624 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10625 * ParameterStruct.h: ditto
10626 * ParagraphParameters.h: ditto
10627 * lyxparagraph.h: ditto
10629 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10631 * buffer.C: add compability for minipage alignment.
10632 (latexParagraphs): remove unwanted pextra check.
10634 * several files: remove CXX_WORKING_NAMESPACES
10636 * buffer.C (pop_tag): tie is in namespace boost
10638 * BufferView.h: noncopyable is in namespace boost
10640 * lyx_main.h: ditto
10643 * lastfiles.h: ditto
10644 * bufferlist.h: ditto
10645 * ShareContainer.h: ditto
10647 * LyXAction.h: ditto
10650 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10652 * Merging changes from BRANCH_MVC back into HEAD.
10654 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10656 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
10658 * BufferView_pimpl.C: change from intl.C
10662 * Makefile.am: move combox.*
10668 * intl.C: remove dialog (covered by prefs)
10670 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
10672 * lyxfunc.C (Dispatch): removed redundant break statement.
10674 2001-03-14 Juergen Vigna <jug@sad.it>
10676 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10678 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10680 * buffer.C: add hack to fix compability reading of minipages.
10682 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
10684 * buffer.C (getLists): Cleanup.
10686 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10688 * lyxfont.C (update): don't honor toggleall on font size.
10690 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
10694 * Makefile.am: moved to frontends/xforms/
10698 * BufferView_pimpl.C: changes for moved mathpanel
10700 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10702 * gettext.h: fix gettext_init() in --disable-nls
10704 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10706 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10708 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
10711 * lyx.h: strip external form
10713 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10715 * BufferView_pimpl.C: add comment, destroySplash()
10717 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
10719 * BufferView_pimpl.C:
10723 * lyxfunc.C: use re-worked insetinclude
10725 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10727 * buffer.C: add using std::stringstream.
10729 * lyx_cb.C: readd using std::ios.
10731 * buffer.C: add using std::map.
10733 * BufferView_pimpl.C: add using std::vector.
10735 * ShareContainer.h: add std:: to swap.
10737 * buffer.h: add some typedefs
10738 * buffer.C (getLists): use them
10739 (getLists): renamed from getTocList.
10740 add a counter for the different float types and use it in the
10742 (getLists): use the same counter for the NEW_INSETS and the "non"
10745 * lyx_cb.h: remove unused items, includes, using etc.
10747 * ShareContainer.h: remove some commented code, add more comments
10748 and "documentation".
10750 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10752 * buffer.C (getTocList): make the list also when NEW_INSETS is
10755 * buffer.h: remove TocType
10757 * buffer.C (getTocList): change to return a map<string,
10758 vector<TocItem> >, implement for dynamic number of list.
10760 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10761 * text2.C (PasteSelection): adjust
10762 * CutAndPaste.C (pasteSelection): adjust
10764 * FloatList.C (FloatList): update from the new_insets branch.
10765 * Floating.[Ch]: ditto
10766 * LaTeXFeatures.C: ditto
10768 * lyxlex_pimpl.C: ditto
10770 * paragraph.C (Last): remove when NEW_INSETS is defined.
10772 * other file: changes because of the above.
10774 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10776 * lyxparagraph.h: rename next to next_, previous to previous_,
10777 make them private for NEW_INSETS. Rename Next() to next(),
10778 Previous() to previous().
10780 * other files: changes because of the above.
10782 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
10785 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10788 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10790 * main.C (main): pass lyx_localedir to gettext_init().
10792 * gettext.h: remove locale_init and gettext_init macros
10794 * gettext.C (locale_init): new function
10795 (gettext_init): new function
10797 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10800 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
10802 * Moved credits to frontends:
10803 * credits.[Ch]: removed
10804 * credits_form.[Ch]: removed
10805 * lyx_gui_misc.C: remove credits stuff
10808 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10810 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10812 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10813 unneeded destructor.
10815 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10816 a standalone pointer again.
10818 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10820 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
10826 * ToolbarDefaults.C:
10835 * BufferView_pimpl.C: use new file dialog in GUII
10838 * lyx_cb.C: remove LayoutsCB to Toolbar
10840 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10842 * ShareContainer.h (get): add std:: qualifier
10844 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10846 * ShareContainer.h: define a proper ShareContainer::value_type
10847 type (and use typename to please compaq cxx)
10849 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10851 * lyxparagraph.h: move serveral local vars to
10852 ParameterStruct/ParagraphParameters., use ShareContainer in
10853 FontTable., make vars in FontTable private and add getter and
10856 * paragraph.C: changes because of the above.
10858 * lyxfont.h: remove copy constructor and copy assignment. (the
10859 default ones is ok), move number inside FontBits. move inlines to
10862 * lyxfont.C: add number to initializaton of statics, move several
10863 inlines here. constify several local vars. some whitespace
10864 cleanup. Dont hide outerscope variables.
10866 * Spacing.h: add two new constructors to match the set methods.
10868 * ShareContainer.h: new file, will perhaps be moved to support
10870 * ParameterStruct.h: new file
10872 * ParagraphParameters.h: new file
10874 * ParagraphParameters.C: new file
10876 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10877 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10879 * BufferView_pimpl.C: ParagraphParameter changes.
10880 * buffer.C: Likewise.
10881 * bufferview_funcs.C: Likewise.
10882 * text.C: Likewise.
10883 * text2.C: Likewise.
10885 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10887 * lyxfind.C (LyXReplace): do not redefine default argument in
10889 (IsStringInText): ditto
10890 (SearchForward): ditto
10891 (SearchBackward): ditto
10893 2001-03-06 Juergen Vigna <jug@sad.it>
10895 * lyxfind.C (IsStringInText): put parentes around expressions.
10897 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
10899 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10901 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
10903 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10905 * stl_string_fwd.h: add comment
10907 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10910 * tabular.C: remove unused DocBook methods
10916 killed DO_USE_DEFAULT_LANGUAGE
10918 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10920 * lyx_gui.C: do not include language.h.
10922 * bufferview_funcs.C (ToggleAndShow): do not provide optional
10923 arguments in function implementation.
10925 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10927 * BufferView_pimpl.C: add <ctime>
10929 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10931 * BufferView_pimpl.C: add using std::find_if
10933 2001-02-27 José Matos <jamatos@fep.up.pt>
10935 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10938 2001-02-11 José Matos <jamatos@fep.up.pt>
10940 * buffer.C (makeDocBookFile): command styles now have a parameter as
10941 "title" by default.
10943 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
10945 * layout_forms.[Ch]: removed
10946 * lyx_cb.[Ch]: out character
10947 * lyx_gui.C: out character
10948 * lyx_gui_misc.C: out character
10949 * bufferview_funcs.C: : out character,
10950 added toggleall as parameter in ToggleAndShow
10952 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
10954 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10956 * text2.C (SetCurrentFont): Disable number property at boundary.
10958 2001-02-26 Juergen Vigna <jug@sad.it>
10960 * lyxfunc.C (getStatus): added a string argument override function so
10961 that this is correctly called from LyXFunc::Dispatch if it contains a
10962 do_not_use_argument which is used!
10963 (Dispatch): added check for "custom" export and call appropriate func.
10965 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
10967 * lyxrc.C: Add language_command_local, language_use_babel and
10968 language_global_options.
10970 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10972 * buffer.C (makeLaTeXFile): Use language_use_babel and
10973 language_global_options.
10975 2001-02-23 Juergen Vigna <jug@sad.it>
10977 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10978 which works with LyXText and putted it inside BufferView. Here now we
10979 only call for that part the BufferView::Dispatch() function.
10981 * BufferView.C (Dispatch): added.
10983 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10984 functions which needs to use a LyXText over from LyXFunc.
10985 (MenuInsertLyXFile): added
10986 (getInsetByCode): added
10987 (moveCursorUpdate): added
10988 (static TEXT): added
10990 2001-02-22 Juergen Vigna <jug@sad.it>
10992 * BufferView_pimpl.C (update): call a status update to see if LyXText
10995 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
10997 * vc-backend.C (revert): implement for CVS
10998 (getLog): implement for CVS
11000 2001-02-20 Juergen Vigna <jug@sad.it>
11002 * text2.C (ClearSelection): added BufferView param for inset_owner call
11004 * lyxfunc.C (TEXT): added this function and use it instead of
11005 directly owner->view()-text of getLyXText().
11007 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11009 * src/layout_forms.C: out preamble
11010 * src/layout_forms.h: out preamble
11011 * src/lyx_cb.C: out preamble
11012 * src/lyx_cb.h: out preamble
11013 * src/lyx_gui.C: out preamble
11014 * src/lyx_gui_misc.C: out preamble
11015 * src/lyxfunc.C: connect with guii preamble
11017 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11019 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11021 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11023 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11024 whether to run bibtex.
11026 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11028 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11030 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11032 * Makefile.am (lyx_SOURCES): removed bibforms.h
11034 * vspace.h: doxygen
11036 * text.C (GetVisibleRow): make several local vars const
11038 * tabular.C: small cleanup.
11040 * lyxserver.C (callback): use compare instead of strncmp
11042 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11043 inlines to after class or to paragraph.C
11045 * lyxfont.h: remove friend operator!=
11047 * converter.h: move friend bool operator< to non friend and after
11050 * combox.h: small cleanup
11052 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11053 to inlines after class def.
11055 * buffer.C (pop_tag): use string operations instead of strcmp
11057 * bmtable.c: doxygen, small cleanup
11059 * LaTeX.h: remove friend operator==
11061 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11073 * BufferView_pimpl.C:
11074 * BufferView.[Ch]: remove cruft
11076 2001-02-14 Juergen Vigna <jug@sad.it>
11078 * lyxfunc.C: removed #if 0 unused code
11080 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11082 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11084 * text2.C (SetSelection): added a BufferView * parameter
11086 2001-02-13 Juergen Vigna <jug@sad.it>
11088 * lyxfunc.C (Dispatch): fixed protected blank problem.
11089 * BufferView2.C (protectedBlank): added LyxText * parameter.
11091 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11092 (AppendColumn): same as above for column_info.
11094 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11095 (moveCursorUpdate): use a LyXText param for support of InsetText.
11097 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11098 (tripleClick): ditto
11100 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11102 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11104 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11106 * text2.C (SetSelection): set correct update status if inset_owner
11107 (ToggleFree): ditto
11109 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
11111 * tabular.C: remove some commented code.
11113 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
11115 * BufferView_pimpl.C: call hideSplash()
11117 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11120 * bibforms.h: remove
11123 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11124 add LFUN_CHILD_CREATE
11126 * counters.h: fix tiny typo
11131 * lyx.C: move splash to frontends/xforms/
11133 * lyx_gui_misc.C: move Include and Bibform to frontends
11135 * lyxvc.h: clarify comment
11137 * vspace.C: tiny housekeeping
11139 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
11141 * text.C (PrepareToPrint): RTL Fix.
11143 * paragraph.C (GetUChar): New method.
11144 (String): Use GetUChar.
11146 * buffer.C (asciiParagraph): Use GetUChar.
11148 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
11150 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11152 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
11155 * buffer.C: rename to getLogName(), handle
11156 build log / latex log nicely
11158 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11161 * MenuBackend.h: remove support for reference menuitem type.
11163 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
11165 * BufferView_pimpl.C: housekeeping
11166 * BufferView_pimpl.h:
11171 * minibuffer.h: move Timeout GUI-I
11173 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
11175 * lyxrc.C (read): Update converters data-structures.
11177 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
11179 * LaTeX.h (operator!=): add operator != for Aux_Info
11181 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
11183 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11185 * LaTeXLog.C: deleted, useful code moved to Buffer
11188 * buffer.C: new function getLatexLogName()
11194 * lyxfunc.C: use frontends for LaTeX and VC logs
11196 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11198 * LaTeX.h: yet another std:: that Allan forgot.
11200 * Variables.C (set): renamed from isset(), because this clashes
11201 with some HP-UX macros (grr).
11203 2001-02-06 Allan Rae <rae@lyx.org>
11205 * LaTeX.h: Another bug fix. Missing std:: this time.
11207 2001-02-04 Allan Rae <rae@lyx.org>
11209 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11210 floats problem. I've left it commented out because it's not quite
11211 correct. It should also test that the current object is a table or
11212 figure inset. But I haven't gotten around to figuring out how to do
11213 that. I *think* it'll be something like: "table" == inset.type()
11215 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11218 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
11220 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11221 all the citation/databases/styles in the auxilary file.
11222 (run): Rerun latex if there was a babel language error.
11224 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
11226 * text.C (Backspace): Preserve the font when changing newline char
11228 (BreakParagraph): If the cursor is before a space, delete the space.
11230 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11232 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
11234 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11235 new argument (code).
11236 (ChangeCitationsIfUnique): New method.
11238 * paragraph.C (GetPositionOfInset): Handle bibkey.
11240 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11242 * BufferView_pimpl.h: change type of Position::par_pos to
11243 LyXParagraph::size_type.
11245 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
11247 * BufferView_pimpl.C (savePosition, restorePosition): Write
11248 messages to minibuffer.
11250 2001-01-28 José Matos <jamatos@fep.up.pt>
11252 * buffer.C (makeDocBookFile): adds support for document language.
11253 A silly restriction on the name of LatexCommand types where removed.
11254 Added support for CDATA sections, allows to chars unescaped, used
11255 among others in code, to avoid escape < and >.
11257 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11259 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11260 saved positions instrad of a stack. Furthermore, a position is
11261 stored using paragraph id/paragraph position.
11263 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11264 Remove LFUN_REF_BACK.
11266 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
11268 * converter.C (dvipdfm_options): New method.
11270 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
11272 * vspace.C (isValidLength): Fix for empty input string.
11274 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11276 * LyXAction.C (init): change description of LFUN_FIGURE to
11279 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11281 * LaTeX.C: add using directive
11283 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11285 * MenuBackend.C (expand): Fix the sorting of the formats.
11287 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
11289 * lyx_main.C: tiny error message fix
11291 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11293 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11294 calling fl_initialize(). This fixes the problem with ',' as
11295 decimal separator in text files.
11297 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
11299 * trans.C (process): Fix the keymap bug.
11301 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
11303 * LaTeX.C (scanAuxFiles): New method. Provides support for
11304 multiple bibliographies (when using the bibtopic/bibunits pacakges).
11305 (scanLogFile) Scan for "run BibTeX" messages.
11307 * buffer.C (makeLaTeXFile): Do not load the ae package when using
11308 OT1 font encoding. Also, load the aecompl package if the ae
11311 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11313 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11315 * texrow.C (increasePos): turn two error messages into debug
11318 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
11320 * LaTeX.C (scanAux): Handle the \@input macro.
11321 (runBibTeX): Use scanAux().
11323 * language.C (latex_options_): New field.
11325 * LaTeXFeatures.C (getMacros): Add language macros.
11327 * buffer.C (makeLaTeXFile): Small fix.
11329 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11331 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11333 * text2.C: add a using directive.
11335 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
11340 * lyxfunc.C: kill LyXBell.
11342 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
11344 * text.C (IsBoundary): Remove the error message
11346 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11348 * lyxrc.C (setDefaults): Correct initialization value for
11351 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
11353 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11356 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11357 and GotoNextNote().
11359 * src/LyXAction.C: Added reference-next.
11361 * text.C (InsertChar): Use contains instead of strchr.
11363 * lyx_cb.C (MenuInsertLabel): Enable default value code.
11365 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
11367 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11368 alignment commands (when needed).
11370 * text.C (InsertChar): Add ':' to number separator chars.